Radar changed the topic of #ruby to: Can't talk? Register/identify with Nickserv first! || http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
baroquebobcat has joined #ruby
nullset68 has joined #ruby
vikaton has quit []
sankaber has joined #ruby
CaptainCibai has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
nick has joined #ruby
nick is now known as Guest99239
Guest99239 has left #ruby [#ruby]
Soda has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
hambonep4u has left #ruby ["Textual IRC Client: www.textualapp.com"]
_blizzy_ has quit [Ping timeout: 256 seconds]
hardlin3r has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SubjectiveBias has joined #ruby
Papierkorb has quit [Ping timeout: 252 seconds]
tuelz has joined #ruby
tuelz has quit [Client Quit]
davedev24_ has quit [Ping timeout: 256 seconds]
yeukhon has joined #ruby
davedev24_ has joined #ruby
zzxc has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
zzxc has quit [Changing host]
zzxc has joined #ruby
quimrstorres has joined #ruby
asmodlol has joined #ruby
lkba_ has joined #ruby
dented42 has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
millerti has joined #ruby
j0n3 has quit [Read error: Connection reset by peer]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyfighter has joined #ruby
TDJACR has joined #ruby
marr has quit []
jimmybee52 has joined #ruby
doodlehaus has joined #ruby
jimmybee52 has left #ruby [#ruby]
baweaver has joined #ruby
vmatiyko has quit [Ping timeout: 265 seconds]
quimrstorres has quit [Ping timeout: 256 seconds]
Pupeno has joined #ruby
tyfighter has quit [Client Quit]
doodlehaus has quit [Remote host closed the connection]
Jonah11_ has quit []
iasoon has quit [Ping timeout: 252 seconds]
JDiPierro has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
rahult is now known as rahult_
doritostains has quit [Quit: WeeChat 1.0.1]
tyfighter has joined #ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SubjectiveBias has quit [Ping timeout: 264 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bayed has quit [Quit: Connection closed for inactivity]
_blizzy_ has joined #ruby
zzing has joined #ruby
wipeout has joined #ruby
zzing has quit [Client Quit]
nii236 has joined #ruby
wolfleemeta___ has quit [Remote host closed the connection]
wolfleemeta___ has joined #ruby
axsuul has joined #ruby
taiansu has joined #ruby
wipeout has quit []
swgillespie has joined #ruby
oo_ has joined #ruby
shock_one has joined #ruby
Rickmasta has joined #ruby
rahult has joined #ruby
slawrence00 has joined #ruby
vikaton has joined #ruby
rahult has quit [Client Quit]
vickleton has quit [Ping timeout: 244 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
DEA7TH has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 246 seconds]
matu has quit [Ping timeout: 256 seconds]
thatslifeson has joined #ruby
JDiPierro has joined #ruby
thatslif_ has joined #ruby
thatslifeson has quit [Read error: Connection reset by peer]
jgt1 has joined #ruby
bahar has quit [Ping timeout: 265 seconds]
<Aeyrix> Windows keyboard on a Macbook
<Aeyrix> ugh
asmodlol has quit [Ping timeout: 240 seconds]
<Aeyrix> What do people even map the super key to in Linux?
<sevenseacat> the windows key, typically
taiansu has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 256 seconds]
taiansu has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
asmodlol has joined #ruby
taiansu has quit [Read error: Connection reset by peer]
taiansu has joined #ruby
taiansu has quit [Remote host closed the connection]
taiansu has joined #ruby
shuber_ has joined #ruby
bahar has joined #ruby
TuxOtaku has joined #ruby
Jandre has joined #ruby
Asher has quit [Read error: No route to host]
fedexo has joined #ruby
JDiPierro has quit [Remote host closed the connection]
TuxOtak__ has joined #ruby
TuxOtak__ has quit [Client Quit]
Asher has joined #ruby
Asher has quit [Remote host closed the connection]
Asher has joined #ruby
taiansu has quit [Remote host closed the connection]
TuxOtaku_ has quit [Ping timeout: 246 seconds]
taiansu has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Ping timeout: 255 seconds]
xjstin has quit [Read error: Connection reset by peer]
RTG` has quit [Ping timeout: 272 seconds]
failshell has joined #ruby
justinxr- has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
HotCoder has joined #ruby
Pathfinder has quit [Remote host closed the connection]
taiansu has quit [Ping timeout: 256 seconds]
doodlehaus has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
RTG` has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
Sawbones has joined #ruby
iteratorP has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
asmodlol has joined #ruby
nii236 has quit [Ping timeout: 245 seconds]
zzxc has quit [Ping timeout: 258 seconds]
tubuliferous_ has joined #ruby
d34th4ck3r has joined #ruby
tubuliferous has quit [Ping timeout: 265 seconds]
doodlehaus has quit [Remote host closed the connection]
michaeldeol has joined #ruby
Spleeze has joined #ruby
hewenhong has joined #ruby
taiansu has joined #ruby
charliesome has joined #ruby
tubuliferous_ has quit [Ping timeout: 265 seconds]
Sawbones has quit [Remote host closed the connection]
doodlehaus has joined #ruby
_djbkd has joined #ruby
crazydiamond has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
tkuchiki has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
starless has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SubjectiveBias has joined #ruby
snockerton has joined #ruby
bootstrappm has left #ruby [#ruby]
CloCkWeRX has left #ruby [#ruby]
doodlehaus has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
Juanchito has quit [Quit: Connection closed for inactivity]
charliesome has joined #ruby
Pupeno has quit [Quit: Leaving...]
nux443 has quit [Ping timeout: 246 seconds]
nahtnam has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ixti has quit [Ping timeout: 255 seconds]
phutchins has quit [Ping timeout: 256 seconds]
michaeldeol has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
<pontiki> hi
mitsubishievo8 has joined #ruby
<xxneolithicxx> hi
mitsubishievo8 has left #ruby [#ruby]
SubjectiveBias has quit [Ping timeout: 244 seconds]
casadei has joined #ruby
Sawbones has quit [Remote host closed the connection]
rbennacer has joined #ruby
ballpointcarrot has joined #ruby
Sawbones has joined #ruby
ghr has joined #ruby
icebourg has joined #ruby
postmodern has quit [Quit: Leaving]
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
xMopxShell has quit [Quit: ZNC - http://znc.in]
icebourg has joined #ruby
shuber_ has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Sawbones has quit [Remote host closed the connection]
bruno- has joined #ruby
rawrmons_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Ping timeout: 276 seconds]
failshell has joined #ruby
simpyll has joined #ruby
scripore has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
casadei has quit [Remote host closed the connection]
hewenhong has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
nullset68 has quit [Quit: WeeChat 0.4.2]
Sawbones has joined #ruby
casadei has joined #ruby
hewenhong has joined #ruby
lovecraft has joined #ruby
zzing has joined #ruby
lovecraft is now known as Guest25128
yeukhon has quit [Quit: Leaving.]
Rollabunna has quit [Ping timeout: 240 seconds]
Sawbones has quit [Remote host closed the connection]
xMopxShell has joined #ruby
claptor has quit [Quit: this channel is bakas]
_djbkd has quit [Remote host closed the connection]
arescorpio has joined #ruby
bahar has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
casadei has quit [Remote host closed the connection]
Feyn has joined #ruby
thatslif_ has quit [Read error: Connection reset by peer]
nii236 has joined #ruby
thatslifeson has joined #ruby
keen_____ has joined #ruby
scripore has quit [Ping timeout: 265 seconds]
scripore has joined #ruby
bitri has joined #ruby
bahar has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
keen____ has quit [Ping timeout: 272 seconds]
nii236 has quit [Ping timeout: 258 seconds]
baweaver has quit [Remote host closed the connection]
swgillespie has joined #ruby
Jandre has quit [Ping timeout: 272 seconds]
Jandre has joined #ruby
Jandre is now known as Guest21115
hewenhong has quit []
Xiti has joined #ruby
dorei has quit []
baweaver has joined #ruby
<HotCoder> i ordered a rasp pi
<HotCoder> about a week agooooo
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
mkultras has joined #ruby
zcm has joined #ruby
slucx has joined #ruby
devoldmx_ has joined #ruby
havenwood has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mkultras has quit [Ping timeout: 240 seconds]
<pontiki> cool :)
j4d has joined #ruby
<Aeyrix> sevenseacat: I kinda forget what it does by default in Linux.
<Aeyrix> Anything?
<Aeyrix> I think I used it for screenshots.
<Aeyrix> (I had to take a lot, for evidence)
<sevenseacat> act as the super key.
<sevenseacat> in ubuntu, anyway
Terracatta has joined #ruby
j4d has quit [Remote host closed the connection]
<Aeyrix> That's almost helpful.
<Aeyrix> "What does the super key do?"
<Aeyrix> "Act as the super key."
<sevenseacat> oh, i misinterpreted your vague question as 'what does the windows key do by default'
<Aeyrix> Ah.
<pontiki> it's another modifier key, like shift, control, alt, meta, etc
<sevenseacat> the super key just acts as a modifier
<havenwood> there's a "super" key?
<Aeyrix> WinKey.
<Aeyrix> On Linux.
<sevenseacat> yep, like osx has a command key
<Aeyrix> pontiki: Yeah but does it do anything by default?
<pontiki> super has been in the linux keymap set since .. a long time
<pontiki> Aeyrix: does shift do anything by default?
<sevenseacat> do anything by itself? no.
<Aeyrix> pontiki: Yes.
<sevenseacat> its a modifier key.
veduardo has joined #ruby
<pontiki> ?????
<Aeyrix> It allows an individual to type capitalised letters.
<Aeyrix> Super+D
<havenwood> ⌘
<sevenseacat> Aeyrix: stop trolling.
<Aeyrix> sevenseacat: I'm actually not.
<Aeyrix> I'm asking whether or not it has a default funciton.
<Aeyrix> s/cit/cti/
<pontiki> ah, i see what you're asking
<sevenseacat> it does not, like all of the modifier keys.
<Aeyrix> ...
<Aeyrix> ?
<pontiki> it very much depends on how the OS you're using maps it
Soda has quit [Remote host closed the connection]
<sevenseacat> your OS determines what function the modifer key has when combined with other keys
<pontiki> Super-D in windows shows you the desktop
<sevenseacat> there is no 'default'
<pontiki> Super-R runs cmd.exe, i think?
<Aeyrix> Yeah.
<Aeyrix> That sort of thing is what I was asking, sevenseacat.
<Aeyrix> I forget whether or not Super+D works in Linux, for instance.
<sevenseacat> you should really work on the way you word questions.
<sevenseacat> linux sis not one OS.
<sevenseacat> *is
<pontiki> but in, say OS/X, it would do different things, and in, say Ubuntu, it is often application dependent
<pontiki> Super-L in Emacs runs the goto-line function. I don't know what it would do in other apps
sinkensabe has joined #ruby
<Aeyrix> idk the way i look at it is
<Aeyrix> super should be for OS-level stuff
<Aeyrix> just like command is in OS X, and super/winkey is in Windows
<pontiki> command is not at all just OS-related things in OS/X
<sevenseacat> definitely not
<pontiki> it's also very much application dependent, except for some very very well-known combinations
<Aeyrix> I'm trying to think of any.
<pontiki> but applications can override those
<pontiki> e.g.: Cmd-H is mostly "hide application" but there are apps that remap that
<sevenseacat> cmd+t, for a basic example
<sevenseacat> most of the time it's 'new tab', but not always
shuber_ has joined #ruby
Xiti has quit [Quit: Xiti]
alderamin has joined #ruby
sinkensabe has quit [Ping timeout: 265 seconds]
pardusf has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Terracatta has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 244 seconds]
GriffinHeart has joined #ruby
tubuliferous has joined #ruby
braincrash has quit [Quit: bye bye]
navs_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<navs_> hey guys: http://pastebin.com/5KQe9ypL is this an insane way to use rake
<ruboto> navs_, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/43e68a881c86acba7764
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<navs_> thanks bud
zcm has quit [Quit: WeeChat 0.3.2]
<navs_> loaded pretty fast for you tho bot
tubuliferous has quit [Ping timeout: 276 seconds]
oo_ has joined #ruby
<navs_> anyway if im not insane i'd just continue setting up subtasks in each report's namespace like that
<navs_> for other files that belong
braincrash has joined #ruby
<pontiki> i don't know if that's insane or not, but FileList is pretty powerful
zcm has joined #ruby
<navs_> yea i mean is there any downside to generating a shit ton of tasks like that
<navs_> or is there a better way to do it
Gh0strider244 has left #ruby [#ruby]
<pontiki> false positive matches might be a problem with that
<navs_> i dont really know ruby too well ive just been through like 4 other build systems and rake was by far the easiest/cleanest to express that in
<pontiki> but doing that isn't wrong, by any means
<navs_> false positive how
<pontiki> say you had a file that matched X*Y* that you did NOT want in the build list
<navs_> oh yea
<navs_> i wont its a directory of git submodules
odlox_ has joined #ruby
<pontiki> yeah, i'm just saying it's a potential *sort* of problem, not a specific one
<navs_> yea for sure
odlox_ has quit [Client Quit]
<navs_> i could definitely add a sanity check before i add the namespace, like check if the directory contains something or w/e
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
yeukhon has joined #ruby
yeukhon has quit [Client Quit]
n008f4g_ has quit [Ping timeout: 240 seconds]
<navs_> alright cool, im gonna keep down this path
<pontiki> navs_: rake also has make-like composition rules for files
<navs_> any specific doc i should check out?
bitri has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> i guess start here: http://docs.seattlerb.org/rake/
jgt1 has quit [Ping timeout: 256 seconds]
<navs_> cool ty
<navs_> ill checkout that 'rule' statement might make things easier that making individual tasks
<pontiki> dunno if this is of interest, but avdi grimm is working on the rake field manual, though i have seen much progress lately: http://www.rakefieldmanual.com/
<pontiki> there's some free chapters online
kenndel has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
SubjectiveBias has joined #ruby
hololeap has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
snockerton has quit [Quit: Leaving.]
threh has joined #ruby
affenhoden has joined #ruby
Cache_Money has joined #ruby
charliesome has joined #ruby
zzxc has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
shock_one has joined #ruby
baroquebobcat has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
thinkswan has joined #ruby
SubjectiveBias has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
psy_ has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
_thinkswan has joined #ruby
thinkswan has quit [Read error: Connection reset by peer]
_thinkswan is now known as thinkswan
tkuchiki_ has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
robustus has joined #ruby
sinkensabe has joined #ruby
oo_ has joined #ruby
shuber_ has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
towski_ has joined #ruby
d34th4ck3r has quit [Quit: zzz]
sinkensabe has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
shuber_ has quit [Ping timeout: 246 seconds]
snockerton has joined #ruby
ascarter has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
bronson has quit [Ping timeout: 240 seconds]
zzxc has quit [Ping timeout: 256 seconds]
Rollabunna has joined #ruby
scripore has joined #ruby
bootstrappm has joined #ruby
anaeem1_ has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
<bootstrappm> does require go by file system or module class?
_thinkswan has joined #ruby
neworder has joined #ruby
<neworder> I read this in the Ruby style guide
<neworder> Avoid methods longer than 10 LOC (lines of code).
thinkswan has quit [Read error: Connection reset by peer]
<neworder> But it's quite impossible for my algorithm to be below 10 lines!
_thinkswan is now known as thinkswan
<bootstrappm> if i have sitemap_generator/adapters/s3_adapter.rb as file hierarchy but module Sitemap; class S3Adapter; end; end .... do I require 'sitemap_generator/adapters/s3_adapter'?
<neworder> What can I possibly do
<bootstrappm> neworder split it up into other functions / methods
Rollabunna has quit [Ping timeout: 258 seconds]
<neworder> I see
<neworder> But isn't 10 a bit too few linse
<neworder> lines*
<bootstrappm> its a recommendation
<bootstrappm> and no, 10 is plenty, read some of the more popular gems source
<bootstrappm> or rails innards
<baweaver> post your algorithm
anaeem1_ has quit [Remote host closed the connection]
<baweaver> I'm willing to bet you're using some odd style
<bootstrappm> and I'd change that to statements not lines
<bootstrappm> just in case you split it up over many lines
anaeem1 has joined #ruby
<baweaver> Treat Ruby more like a functional language
<baweaver> One function does one thing
<neworder> Hmm I see
<neworder> Let me paste it
<baweaver> not in here
<baweaver> gist
rawrmonstar has joined #ruby
<baweaver> Why are you doing a bubble sort?
<neworder> Lol
<neworder> For practice
<neworder> Purely academic
<pontiki> good practice!
<baweaver> it's also really inefficient
<baweaver> better to practice quick or merge
<neworder> alright =)
<baweaver> selection if it's less than 1000 elements
<neworder> For now
<pontiki> do them all
<pontiki> compare them
<neworder> What do you suggest
<pontiki> analyze them!
<neworder> Is there anyway I can shorten that
<pontiki> 10 lines ia a guideline
<pontiki> that's only 14
<baweaver> Just a sec
<pontiki> it's fine, really
<neworder> =)
<bootstrappm> agreed
<bootstrappm> if you insist on having less lines break out that swap logic into its own helpers
<bootstrappm> helper*
<pontiki> rather than using an arbitrary number of lines from the style guide, find out a practical and pragmatic reason to shorten it, such as inefficiencies, DRY, LoD, and so on
<neworder> Thought of that but swapping is already just one line
<bootstrappm> well, no, its 4. from the if to the end
<neworder> it's 2 lines including swapped = true
<baweaver> The best way to get familiar with Ruby is to read through Enumerable
<bootstrappm> break out the whole if into the helper and have the helper return true or false
<pontiki> baweaver++
bronson has joined #ruby
<pontiki> read, and then re-read Enumerable
<baweaver> Oi, this is Ruby, it's += 1 here ;)
<pontiki> hahah
<pontiki> baweaver.succ
<baweaver> or next
<baweaver> yeah
<bootstrappm> hahah
veduardo has quit [Ping timeout: 250 seconds]
<neworder> haha
<neworder> Alright
Channel6 has joined #ruby
<baweaver> Honestly I prefer to reimplement the Haskell or Scala versions rather than ones from C or Java
<neworder> bubblesort2! is good
<neworder> I mean compact
_thinkswan has joined #ruby
thinkswan has quit [Read error: Connection reset by peer]
<neworder> baweaver: Maybe you can add your implementation inside =)
<baweaver> I could, but some algorithms I just see very little reason to bother with
_thinkswan is now known as thinkswan
<baweaver> Now if you want a really fun one to sharpen your teeth on
<neworder> Is functional programming encouraged in Ruby's code
<baweaver> Somewhat
<baweaver> Note that Ruby doesn't have tail recursion so be careful using it too heavily
<baweaver> Knowing how to use map, reduce, and select will seriously improve your code though
<baweaver> (1..10).map { |x| x * 2 } # Map applies a function to every element of a list
<baweaver> >> (1..10).map { |x| x * 2 } # Map applies a function to every element of a list
<ruboto> baweaver # => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] (https://eval.in/366558)
<baweaver> >> (1..5).reduce { |accumulator, x| accumulator + x } # reduce reduces a list to one item using a function
<ruboto> baweaver # => 15 (https://eval.in/366559)
<neworder> I see
<baweaver> >> (1..5).select { |x| x % 2 == 0 } # Select filters a list by a function returning true
<ruboto> baweaver # => [2, 4] (https://eval.in/366560)
<baweaver> Though in that case you could just
<neworder> Thanks for the site, looks good
<baweaver> >> (1..5).select(&:even?)
<ruboto> baweaver # => [2, 4] (https://eval.in/366561)
<baweaver> or for reduce
<baweaver> (1..5).reduce(:+)
<baweaver> ...
<baweaver> >> (1..5).reduce(:+)
<ruboto> baweaver # => 15 (https://eval.in/366562)
<neworder> Cool
<neworder> Reduce is like fold in Haskell right
<baweaver> yeah
<baweaver> FoldL
slawrence00 has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx has joined #ruby
nii236 has joined #ruby
neohunter has joined #ruby
charliesome has quit [Quit: zzz]
<neworder> Looks like there are not many Rubyists on Code Review
jayeshsolanki has joined #ruby
<baweaver> Didn't even know CodeReview was a thing
cashnguns has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crdpink has quit [Quit: q term]
<neworder> It's still in Beta
charliesome has joined #ruby
krz has joined #ruby
crdpink has joined #ruby
thinkswan has quit [Read error: Connection reset by peer]
neohunter has quit [Ping timeout: 272 seconds]
tkuchiki_ has quit [Remote host closed the connection]
Jarboe has quit []
tkuchiki has joined #ruby
snockerton has quit [Quit: Leaving.]
snockerton has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
ponga has joined #ruby
shock_one has joined #ruby
bluOxigen has joined #ruby
sigurding has joined #ruby
davedev2_ has quit []
tubuliferous has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
swgillespie has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
shock_one has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
<Aeyrix> >can't get internet at my new house
<Aeyrix> help me #ruby
codecop has joined #ruby
tubuliferous_ has joined #ruby
_havenn has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kwd has quit [Remote host closed the connection]
neworder has left #ruby [#ruby]
neohunter has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
avahey has quit [Quit: Connection closed for inactivity]
havenwood has quit [Ping timeout: 256 seconds]
sigurding has quit [Quit: sigurding]
SouL_|_ has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
bronson has quit [Remote host closed the connection]
last_staff has joined #ruby
shuber_ has joined #ruby
nii236 has quit [Ping timeout: 255 seconds]
d34th4ck3r has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
tubuliferous has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Ping timeout: 245 seconds]
icebourg has quit []
baroquebobcat has quit [Ping timeout: 244 seconds]
shuber_ has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
oo_ has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
affenhoden has quit [Quit: leaving]
braincra- has joined #ruby
bootstrappm has left #ruby [#ruby]
ponga has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 264 seconds]
iteratorP has quit [Remote host closed the connection]
Rickmasta has joined #ruby
rippa has joined #ruby
GaryOak_ has joined #ruby
A205B064 has quit [Ping timeout: 276 seconds]
Channel6 has quit [Quit: Leaving]
snockerton has quit [Quit: Leaving.]
Sawbones has joined #ruby
iteratorP has joined #ruby
swgillespie has joined #ruby
GaryOak_ has quit [Ping timeout: 244 seconds]
Cache_Money has quit [Quit: Cache_Money]
Mongey has joined #ruby
ponga has joined #ruby
djbkd_ has joined #ruby
lidenskap has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
jbomo has quit []
chipotle has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
weemsledeux has joined #ruby
shock_one has joined #ruby
djbkd_ has quit [Client Quit]
nii236 has joined #ruby
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neohunter has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
chipotle has joined #ruby
ponga has quit [Quit: Leaving...]
aganov has joined #ruby
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kp666 has joined #ruby
mistermocha has quit [Remote host closed the connection]
chipotle_ has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
Pathfinder has joined #ruby
chipotle has quit [Ping timeout: 256 seconds]
neohunter has joined #ruby
hanmac1 has joined #ruby
last_staff has quit [Ping timeout: 258 seconds]
shock_one has quit [Read error: No route to host]
shock_one has joined #ruby
Guest25128 has quit [Quit: Leaving]
SubjectiveBias has joined #ruby
ScriptGeek has joined #ruby
<ScriptGeek> Is Ruby the best language for web development?
<sevenseacat> there is no 'best' language.
<ScriptGeek> well, what's the point in bothering then?
<ScriptGeek> Let's just do everything in C
<sevenseacat> in bothering with what? programming?
Oka has quit [Quit: さようなら]
<ScriptGeek> sure
<sevenseacat> you'll be hard-pressed finding a web framework in C, but I'm sure one likely exists somewhere.
<ScriptGeek> wouldn't that be fun?
<ScriptGeek> I made a simplistic web server in C
* hanmac1 did once wrote a website/webserver in C as part as my education as programmer
<Pathfinder> ScriptGeek: Best is relative
failshell has joined #ruby
zotherstupidguy has joined #ruby
<ScriptGeek> I've been kind of stuck in a cave for a long time, messing only with C#, and I recently decided to poke my head out and look around at the forest of other languages.
<sevenseacat> there sure is a lot of them
ballpointcarrot has quit [Ping timeout: 265 seconds]
Senjai has quit [Ping timeout: 255 seconds]
<ScriptGeek> So I started learning some Ruby, like yesterday
<sevenseacat> ruby is a great choice for web development, lots of frameworks around for it
<zotherstupidguy> is it possible to write assembly code in ruby program?
<Pathfinder> it kinda summarises the philosophies behind most languages in a nutshell
<ScriptGeek> awesome, thanks
Renich has joined #ruby
<ScriptGeek> I want to get a programming job, so I figured I'd learn some more programming languages. Seems to be a lot of web development job openings.
mooe has joined #ruby
<sevenseacat> is it just me that thinks that web development is moving way too freaking fast these days
failshell has quit [Ping timeout: 244 seconds]
<ScriptGeek> I was looking at all the new languages & web frameworks I've never heard of before and feeling bewildered, I have some doubts about this insanity.
oo_ has joined #ruby
<sevenseacat> it is insane, but its all legitimate
GriffinHeart has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 256 seconds]
adaedra has quit [Ping timeout: 276 seconds]
nii236 has quit [Ping timeout: 256 seconds]
asmodlol has joined #ruby
adaedra has joined #ruby
<ScriptGeek> With all the technological divergence, how is it possible to find a job in such a field?
<pontiki> the equally insane amount of demand?
A124 has quit [Remote host closed the connection]
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
<sevenseacat> ^
riotjones has joined #ruby
<sevenseacat> you're not expected to know all of it. you're expected to know a subset of it.
riotjones has quit [Read error: Connection reset by peer]
A124 has joined #ruby
Senjai has joined #ruby
<ScriptGeek> How does one know what they need to learn?
riotjones has joined #ruby
<pontiki> how would you answer that for anything?
<sevenseacat> learn what you need to know to do what you want to do.
SubjectiveBias has quit [Ping timeout: 258 seconds]
<ScriptGeek> I guess it's backend development
<pontiki> there is no formula to becoming a web developer
exile-bot-2 has quit [Remote host closed the connection]
<Radar> ScriptGeek: Why are you leaving C#? I've heard a lot of people looking for a change out of C# recently and I don't understand why now.
<ScriptGeek> Radar: Just broadening my horizons
<Radar> ScriptGeek: You're not the only one.
<sevenseacat> people dont want to stagnate
<Radar> It's like there's been some kind of cataclysmic event in C# and now there's all these people looking to learn Ruby.
<Radar> And all asking along the same lines
<Radar> "how do i become great at this?"
paradisaeidae has joined #ruby
<sevenseacat> or its the same person asking under five different names >_>
bronson has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
<ScriptGeek> It wasn't me, honest
towski__ has joined #ruby
chipotle_ has quit [Remote host closed the connection]
<ScriptGeek> Radar: Are you great at this?
noonius has joined #ruby
<Radar> ScriptGeek: Define great.
towski___ has joined #ruby
<Radar> :)
<ScriptGeek> Like Darth Vader great
bluOxigen has quit []
bluOxigen has joined #ruby
<sevenseacat> not sure that will help
chipotle has joined #ruby
shuber_ has joined #ruby
* baweaver watches amusedly from the corner
shock_one has quit [Remote host closed the connection]
BlackGear has joined #ruby
shock_one has joined #ruby
<baweaver> C# is actually a fairly good language though
towski_ has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 244 seconds]
towski__ has quit [Ping timeout: 240 seconds]
<ScriptGeek> So if you learn something good then stay with it forever and never learn anything new?
<sevenseacat> good luck with that
<baweaver> Not necessarily
<baweaver> Good is incredibly subjective
s2013 has joined #ruby
<certainty> moin
<baweaver> Ruby is great for scripting and system administration
<pontiki> i would absolutely have hated a career where i only knew how to do one thing
<flughafen> moring sevenseacat certainty shevy
<baweaver> Rails is great for rapid web development
<flughafen> certainty: did you taka 3 day weekend/
<certainty> flughafen: o/
<flughafen> 4*
<certainty> flughafen: nope been working on friday
<flughafen> cool
<flughafen> i took it off
shuber_ has quit [Ping timeout: 256 seconds]
<flughafen> top of the morning to you sevenseacat
<ScriptGeek> I went to a job interview once, had C# on my resume.. They asked me how long it would take for me to learn Ruby on Rails. I was like idfk.
<baweaver> Though Rails almost requires you know Javascript as well
<sevenseacat> flughafen: guten Tag
<certainty> yeah many did. I should have done that too in retrospective, flughafen
BlackGear has quit [Ping timeout: 240 seconds]
<Radar> ScriptGeek: It's taken me 9 years to get to where I am now with Ruby/Rails and I'll let you know when I finish learning it.
<sevenseacat> flughafen: landed any planes today?
<baweaver> ScriptGeek: Learn one MVC framework and you have a good start on all of them
<certainty> ScriptGeek: that's a strange question btw.
<baweaver> The same as knowing Python or Perl helps significantly with Ruby.
<pontiki> my response would have been "how long has it taken you?"
<flughafen> sevenseacat: no. you stealing any treasure?
<baweaver> or C# helps with Java
<pontiki> and probably walked out
<sevenseacat> not yet, but the day is young.
shock_one has quit [Ping timeout: 246 seconds]
ych_ has joined #ruby
<ScriptGeek> pontiki: has the walkout strategy worked? I would like to use that some time. Job interviews seem to be like meat market.
<pontiki> yes, i have not been employed by idiots very often
Rollabunna has joined #ruby
dented42 has joined #ruby
diegoviola has joined #ruby
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
<wasamasa> lol
<ScriptGeek> I had HTML/CSS/Javascript with JQuery and MooTools listed on my resume and they were telling me that was impressive.. I figured I must have made a poor 1st impression and they realized maybe I was lying? I don't understand why the lady said that, big deal, it's not like that stuff is difficult.
d34th4ck3r has quit [Quit: zzz]
* sevenseacat raises eyebrow
<ScriptGeek> Javascript is more of a PITA with web standards
sinkensabe has joined #ruby
* sevenseacat 's bullshit detector is now going off
<pontiki> if they're the sort of place that worries about my ability to work in a specific technology that i do not have on my resume, then they're not likely going to be a place that understands development
<ScriptGeek> pontiki: I agree
<zotherstupidguy> ScriptGeek javascript is a mistake child that we need to takecare of for the rest of our lives.
wolfleemeta____ has joined #ruby
<wasamasa> one man's unwanted child is another man's treasure
wolfleemeta___ has quit [Read error: Connection reset by peer]
<ScriptGeek> zotherstupidguy: true, it's deformed and crippled, but being caretakers for such a difficult invalid provides job security
<baweaver> It's not that bad.
BlackGear has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
SouL_|_ has joined #ruby
chinmay_dd has joined #ruby
zipace has joined #ruby
tagrudev has joined #ruby
giuseppesolinas has joined #ruby
<baweaver> and most of its issues are solved with post-process languages anyways.
<ScriptGeek> Radar: would you consider yourself an expert with Ruby?
<baweaver> I'm still a Livescript lover myself.
<eam> baweaver: whenever someone complains about javascript I just think "man, you must've been born in the 90s"
riotjones has joined #ruby
arturaz has joined #ruby
<baweaver> eam: I was though :D
<eam> bwahaha
<sevenseacat> kids these days
<baweaver> 1990 exactly
<flughafen> eam i think javascript sucks and i was born in the 80s
<eam> flughafen: oh I think it sucks, sure
<flughafen> i still liven to cassette tapes
* sevenseacat also an 80s child
<eam> but it's pretty far from the worst language I've used
finnnnnnnnnnn has joined #ruby
<baweaver> That's more of a hipster thing there flughafen
<baweaver> I've used RPG and COBOL in production before. Javascript is a soft little kitten in comparison.
<zotherstupidguy> who is 86?
<flughafen> sevenseacat and flughafen are the voices of wisdom in here
<ScriptGeek> javascript isn't that bad, per se, it's more of a failed adoption of web standards that makes it suck
User458764 has joined #ruby
threh has quit [Quit: Leaving]
<ScriptGeek> and with web standard fails follows HTML and CSS sucking, too
<baweaver> I'm the voice of chaos and bad puns
<eam> lucky me I've managed to avoid the browser my entire career
<wasamasa> you didn't ever read ruby docs in one?
<zotherstupidguy> eam really lucky!!!
<eam> wasamasa: well, with javascript enabled?
<baweaver> They mean develops for
<wasamasa> eam: disabling javascript is like a terror statement these days
<wasamasa> eam: if you look at the share of popular websites just not working anymore
<eam> well call me al qaeda
<certainty> yeah kids of the 80s :)
* baweaver missed out by 6 months
<certainty> 70s?
<baweaver> 90s
<certainty> 90s were good music wise. I guess that's also true people wise
<sevenseacat> arr, baweaver is the same age as my kid sister. *peers down nose*
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
<zotherstupidguy> 90s was backstreetboys and teenage britteny spears...
<baweaver> 24, 25 next month
<flughafen> dont't get any funny ideas baweaver
<baweaver> About sevenseacat's sister?
<sevenseacat> lol
<flughafen> baweaver: yes
<baweaver> Y'know I may well be gay right?
<certainty> zotherstupidguy: yeah on one side the spectrum, but also nirvana, the smashing pumpkins and pearl jam
<flughafen> then don't get funny ideas about he brother
<flughafen> her*
<Radar> ScriptGeek: Yes I would definitely consider myself an expert.
<baweaver> Oh, so know you assume she has a brother
<baweaver> tsk tsk
* baweaver isn't gay, but thinks it's funny to bring that up on occasion
emilkarl has joined #ruby
<sevenseacat> just another case of people making assumptions.
<ScriptGeek> I'm a Ruby Nooby
<baweaver> I'm more apathetic to be honest. I'm next to completely uninterested in dating, tech is too much fun for right now.
<certainty> also if robotics keep to progress at that pace ... :p
bahar has quit [Ping timeout: 256 seconds]
<baweaver> In which someone who knows much about a subject believes they know little, and one who knows little believe they know much.
mistermocha has joined #ruby
<ScriptGeek> dating is lame anyways, guy buys all the stuff, girl pretends not to be interested and in the end girl gets free entertainment watching guy be an idiot
<sevenseacat> o.O
<baweaver> ScriptGeek: Might have crossed a few lines there.
<wasamasa> this is very telling
<zotherstupidguy> baweaver you are not that cool :P
<Radar> well this is turning out to be a fun conversation. I'm going to avoid the lake of fire and go back to work :)
<baweaver> zotherstupidguy: Mate, I'm a grade S nerd. I care little about that.
<ScriptGeek> baweaver: I'm suffering from Dunning Kruger effect... no wait, if I knew that then I can't be... ohh the lame paradoxes of science
<sevenseacat> Radar: spoken like a true married man. *runs*
<baweaver> Psychology, but anyways.
asmodlol has quit [Ping timeout: 272 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clauswitt has joined #ruby
vickleton has joined #ruby
lxsameer has joined #ruby
<zotherstupidguy> baweaver have you ever heard of github art?
weemsledeux has quit [Remote host closed the connection]
asmodlol has joined #ruby
<baweaver> explain further
<baweaver> not offhand
bahar has joined #ruby
marr has joined #ruby
<zotherstupidguy> well, the idea is to make penis shape using your github contribution color blocks, it will only take a year to finish it through selected commits
* baweaver sighs
<baweaver> well with that I think it's time for bed.
<ScriptGeek> gnite, baweaver
<zotherstupidguy> night baweaver :)
<sevenseacat> see ya baweaver
<sevenseacat> zotherstupidguy: don't be silly.
clauswitt has quit [Max SendQ exceeded]
<zotherstupidguy> sevenseacat its a game like any other
bigsky has quit [Ping timeout: 264 seconds]
clauswitt has joined #ruby
surs has joined #ruby
<zotherstupidguy> actually its a good gamification dynamic from github to put those little color blocks, its only a matter of time so that ppl start playing with it
vickleton has quit [Ping timeout: 244 seconds]
konsolebox has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
towski___ has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
<ScriptGeek> hey guys, I juts realized something that I must confess
<zotherstupidguy> sevenseacat lol nice find!
giuseppesolinas has quit [Quit: This computer has gone to sleep]
ahmetkapikiran has joined #ruby
<zotherstupidguy> so the only thing that reamins is a wikipedia entery and we just invinted the github art game
<ScriptGeek> is there some kind of message in the tiles that I can't see?
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
<sevenseacat> no
turtil has joined #ruby
giuseppesolinas has joined #ruby
ta has joined #ruby
<ScriptGeek> so it's just a random picture somebody thought would be odd to take?
<sevenseacat> the joke is that it looks like a github contribution graph, eg. like on this page https://github.com/tenderlove
wolfleemeta____ has quit [Remote host closed the connection]
<flughafen> sevenseacat: how was your weekend?
surs has quit [Changing host]
surs has joined #ruby
wolfleemeta____ has joined #ruby
noonius has quit [Quit: noonius]
<sevenseacat> flughafen: pretty productive, i decided to start learning elixir
<flughafen> sevenseacat: how was that?
<sevenseacat> i like it :)
<flughafen> no eso?
andikr has joined #ruby
<ScriptGeek> sevenseacat: ah yes, I see the resemblance now. thanks
<sevenseacat> a little ESO, plus I got my fiance playing it as well
<sevenseacat> in related news, I'm going to be virtually single for the next year or two
tubuliferous_ has joined #ruby
diegoviola has quit [Remote host closed the connection]
<zotherstupidguy> sevenseacat virtually single?
kaspernj has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zotherstupidguy> is there a way to write asm in ruby file?
<wasamasa> well...
<flughafen> they getting married irl, but divorced in eso
<zotherstupidguy> lol
<wasamasa> it's one of the examples
<zotherstupidguy> tenderlove makes me laugh everytime lol
baweaver has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
oo_ has quit [Remote host closed the connection]
<sevenseacat> wasamasa: this is awesome
<sevenseacat> the yoda test framework
<wasamasa> zotherstupidguy: there's a factoid on another channel I'm on about no stupid idea being so original nobody else came up with it before you
oo_ has joined #ruby
<zotherstupidguy> wasamasa i can't find the video of the talk, any ideas?
<wasamasa> just read
<zotherstupidguy> got it, thanks
Guest24 is now known as lele
<sevenseacat> am genuinely laughing out loud at 'wank'
<zotherstupidguy> tenderlove talks are better than sitcoms :)
oo_ has quit [Remote host closed the connection]
konsolebox has joined #ruby
fabrice31 has joined #ruby
oo_ has joined #ruby
parduse has joined #ruby
oo_ has quit [Remote host closed the connection]
<flughafen> is there a youtube link or somethign?
timonv has joined #ruby
<zotherstupidguy> flughafen the youtube link doesnt work, i found anothe at confreaks turns out also not working, i am still searchin
Macaveli has joined #ruby
<flughafen> thanks
<zotherstupidguy> its a bit old!
<sevenseacat> 2009
<zotherstupidguy> i wish i can get a torrent of all the ruby talks
<zotherstupidguy> sevenseacat this video is lost! i can't find it
xjstin has joined #ruby
ta has quit [Remote host closed the connection]
SpicyMagpie has joined #ruby
d34th4ck3r has joined #ruby
justinxr- has quit [Ping timeout: 252 seconds]
haxrbyte has quit [Ping timeout: 256 seconds]
msgodf has joined #ruby
gagrio has joined #ruby
last_staff has joined #ruby
arup_r has joined #ruby
shuber_ has joined #ruby
zzxc has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
zzxc has quit [Ping timeout: 256 seconds]
platzhirsch has joined #ruby
gert7 has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Joufflu has quit [Read error: Connection reset by peer]
thatslifeson has quit [Remote host closed the connection]
anisha has joined #ruby
aspiers has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
haxrbyte has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<shevy> sevenseacat you abandon ruby for elixir :(
<sevenseacat> shevy: nope
platzhirsch has quit [Quit: Leaving.]
<SpicyMagpie> there are similarities between ruby and elixir, and it is always good to be open to new things.
<sevenseacat> a lot of the syntax is quite similar, yeah.
platzhirsch has joined #ruby
User458764 has quit [Ping timeout: 246 seconds]
turtil has quit [Ping timeout: 276 seconds]
<SpicyMagpie> i would love to learn it, but my doctor said i must not :/
hanmac has quit [Ping timeout: 265 seconds]
User458764 has joined #ruby
<shevy> your ruby doctor rules!
bruno- has joined #ruby
kwd has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jenrzzz has joined #ruby
rdark has joined #ruby
unshadow has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
craigp has joined #ruby
hardlin3r has joined #ruby
bigkevmcd has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
antgel has joined #ruby
<zotherstupidguy> sevenseacat why elixir is cool?
<zotherstupidguy> and for wht?
tyfighter has quit [Quit: tyfighter]
failshell has joined #ruby
ahmetkapikiran has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 265 seconds]
<Jelvena> sevenseacat, Is Elixir new?
varunwachaspati has joined #ruby
<sevenseacat> relatively.
livathinos has joined #ruby
hanmac has joined #ruby
jenrzzz has joined #ruby
<Jelvena> I see they having a web framework, Phoenix. Have you tried it?
<sevenseacat> not yet.
haxrbyte has quit [Remote host closed the connection]
<aawe> it is based on the erlang vm. erlang is cool: https://www.youtube.com/watch?v=xrIjfIjssLE
AxonetBE has joined #ruby
jenrzzz has quit [Client Quit]
oo_ has joined #ruby
<Aeyrix> I can't get in to Erlang.
<Aeyrix> I've tried, I don't know what I dislike about it.
jenrzzz has joined #ruby
diegoviola has quit [Quit: WeeChat 1.2]
SubjectiveBias has joined #ruby
Hirzu_ has joined #ruby
<Aeyrix> Atm I'm trying to get into the Go kool-aid.
Hirzu has quit [Ping timeout: 252 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
sinkensabe has joined #ruby
<shevy> I knew what I disliked about erlang
<shevy> the syntax
parduse has quit [Ping timeout: 264 seconds]
<Aeyrix> shevy: The '.' at the end or in general?
<zotherstupidguy> Aeyrix how it going ?
<Aeyrix> The only syntax I truly enjoy is Ruby's. Everything else is just to get by.
<Aeyrix> zotherstupidguy: u wot
<Jelvena> " Relationship between Elixir and Erlang is unique, with Elixir being often semantically very close to Erlang, but extending the original concept further by borrowing approaches from various other languages."
sinkensabe has quit [Remote host closed the connection]
<Aeyrix> That entire sentence literally says nothing.
<Aeyrix> "It's kind of semantically close, but also kind of not."
<Aeyrix> Elixir is Erlang for Rubyists yeah?
<Aeyrix> Why would anyone do that? Does it offer performance benefits?
<Aeyrix> Oh, apparently yes
<zotherstupidguy> the guy who created rspec went for erlang after ruby, right?
<Jelvena> No, that's not true.
<Jelvena> Elixir is not Erlang for Ruby, it clearly says that.
<Aeyrix> Oh.
<Aeyrix> To clarify, I don't have the website open.
<Aeyrix> I'm busy baneposting on /int/.
<Aeyrix> GLAD TO SEE THAT THE ERLANG WEB FRAMEWORK IS WORKING
noonius has joined #ruby
<Aeyrix> Jelvena: I assume you mean on the Wikipedia article? It's not on the main elixir page.
sinkensabe has joined #ruby
fedexo has quit [Ping timeout: 256 seconds]
<Jelvena> Aeyrix, Read the article from the founders, look it up.
<Aeyrix> http://www.sitepoint.com/elixir-love-child-ruby-erlang/ -- Idk it seems to get a lot of talk about it being a combination-ish of the two languages.
<Jelvena> sevenseacat, I don't know if these numbers are biased, but elixir being 2-70x faster than Ruby? Must be some bs.
<Aeyrix> Why?
<sevenseacat> well its a compiled language
<Aeyrix> Elixir relies on the Erlang VM yo.
ta has joined #ruby
<aawe> ruby is not a very fast language
<Aeyrix> sevenseacat: Do you use Elixir in any capacity?
<aawe> not very hard to compete against
<sevenseacat> so i'd expect it to be a shit-ton faster automatically
ohaibbq has quit [Quit: Leaving...]
marr has quit []
<sevenseacat> that and ruby really is slow, comparitive to other languages.
<shevy> Aeyrix I dunno, I disliked everything related to syntax there. I think ruby spoiled me
<Aeyrix> shevy: I totally agree.
<aawe> you get used to the syntax
<shevy> I was one of those weird dudes who, a few months after writing some perl code, did not understand what I was doing
<Aeyrix> That's kind of defined behaviour for perl programmers.
BlackGear has quit [Remote host closed the connection]
<shevy> yeah that's usually what people say, also in lisp. but even in perl, I so often forgot the trailing ';' char
<Jelvena> I see. sevenseacat do you know anything about the community and it's growth? For it to being 3 years old only.
<SpicyMagpie> shevy: what is weird about it... besides that you write Perl?
neohunter has quit [Ping timeout: 264 seconds]
<sevenseacat> Jelvena: nope.
<Aeyrix> Perl is used solely for code golf and to prove that you can write something in perl.
<shevy> spicymagpie it was my first language on linux actually
BlackGear has joined #ruby
<Aeyrix> I read that as "my first language was linux"
<SpicyMagpie> Perl, like C and its derivatives, is called a write-only code.
<Aeyrix> "????"
<Aeyrix> Eh I can write readable C.
<Aeyrix> I force myself to, because I'm spoiled by the readability of Ruby.
marr has joined #ruby
<Aeyrix> I can't read Python anymore though, without block-end denotion.
<zotherstupidguy> Aeyrix perl got the best regex engine!
<Aeyrix> zotherstupidguy: Actually yeah, and that.
<shevy> I actually like that you can omit "end-statements" in python
<SpicyMagpie> Aeyrix: I learned COBOL, then C. I can write readable code too... but for that you should spend some time writing readable code.
<shevy> I hate that you must indent mandatory AND have to use a ':' character
<Aeyrix> Why though, shevy? I like it, just like I like { and }.
<Aeyrix> (My first language was C#, I'm so sorry)
<shevy> you usually use 'end' in ruby
<Aeyrix> Uh, PHP, then C#.
<shevy> you may end up with things like:
<zotherstupidguy> shevy i hate the fact that python is famous and all the smart uni kids have to do their work using it
<shevy> end
<shevy> end
_seanc_ has quit [Quit: _seanc_]
<shevy> end
<shevy> end
<Aeyrix> #kickedforspam
<Jelvena> Smart uni kids do Python?
<Jelvena> No it's the other way around.
<Jelvena> Python is for everyone.
<shevy> #demonstrationForPower
<SpicyMagpie> Aeyrix: PHP is not a language, it is a template manager, like erb for rails.
* SpicyMagpie ducks and runs.
<Aeyrix> Jelvena: Python is like the standard for entry-level programming university courses now.
<Aeyrix> spicymagpie: Hah, truth.
<shevy> spicymagpie that's kinda true... PHP is more like a "thing" than a programming language
<aawe> Which is a shame. Python is hard
<Jelvena> Python is not hard.
<jokke> aawe: not here
<Aeyrix> I disagree entirely.
<aawe> it's unintuitive
<Jelvena> If you find Python hard, I feel sorry.
<aawe> has a bad stdlib wrt documentation and separation of concerns
<SpicyMagpie> I also disagree, here I teach JavaScript to first-year students.
<Aeyrix> If I could take Python's way of importing things, and probably 3/4 of the Zen of Python, into Ruby, you'd have a perfect language for me (except for speed).
<zotherstupidguy> JElvena what is this ___DDD___
<Aeyrix> aawe: Holy shit absolutely. Python's stdlib is actually atrocious
<shevy> what part of the zen of python?
<Aeyrix> zotherstupidguy: That's an internal method.
<aawe> Aeyrix: which makes it hard to learn
<sevenseacat> I created a monster.
<Aeyrix> aawe: Yeah I agree with you there, actually.
<Aeyrix> urllib2, anyone?
<zotherstupidguy> Aeyrix will it grow wings and fly?
<shevy> haha yeah sevenseacat
<Aeyrix> The fact that `requests` isn't in stdlib, anyone?
ta has quit [Remote host closed the connection]
<SpicyMagpie> sevenseacat: run now that you can.
<Aeyrix> shevy: sec
<shevy> do you have to read up first :D
* SpicyMagpie sits down with the popcorn bag
<Jelvena> zotherstupidguy, What is, int j = 1; (&main + (&exit - &main)*(j/1000))(j+1); ?
<aawe> python the language is not just the simple syntax, it includes the stdlib. if the stdlib is bad, the language overall is hard to learn. python is hard to learn for this reason, even though the syntax is easy to understand
SubjectiveBias has quit [Ping timeout: 244 seconds]
ta has joined #ruby
<aawe> you might learn "hello world" fast, but learning to write "good" python code takes a long time
<shevy> how long does it take to write good perl code
<SpicyMagpie> shevy: 75 years.
<Jelvena> A language being hard to learn does not imply the documentations are bad.
<shevy> haha
<Jelvena> Python is not a hard language.
greenbagels has quit [Quit: Leaving]
<aawe> Jelvena: just disregard everything I wrote, eh?
jgt1 has joined #ruby
<Jelvena> Mastering a language is something different tho.
Zai00 has joined #ruby
bronson has joined #ruby
platzhirsch has quit [Quit: Leaving.]
<Aeyrix> sorry for shit link, my linkbin doesn't handle text properly. Gotta fix that.
_havenn has quit [Ping timeout: 255 seconds]
<shevy> oh man
<SpicyMagpie> aawe, Jelvena, Aeyrix, shevy: what do you think about Ruby refinements? I mean, this is #ruby, right?
<Aeyrix> shevy: Those are the ones I like.
<Aeyrix> spicymagpie: Look at the link I just posted.
<Aeyrix> Ruby needs Python's import system.
<Aeyrix> And that's pretty much it.
<shevy> yeah
<shevy> but what is written there...
<shevy> "Now is better than never."
<shevy> I mean what the
<Aeyrix> Yeah.
<Aeyrix> Implement something now, instead of not at all.
<shevy> "Being alive is better than being dead."
<Aeyrix> But don't force it and rush it.
<shevy> "Having food is better than starving."
<zotherstupidguy> what is special about python's import sys?
<Jelvena> Huh?
<Aeyrix> zotherstupidguy: It doesn't basically just run eval($file).
<shevy> zotherstupidguy it's more flexible
<Jelvena> import from Python is not same as require in Ruby.
<Aeyrix> Which is more or less what Ruby does.
<Aeyrix> Jelvena: I know.
<Aeyrix> Ruby should have an import yo.
<shevy> zotherstupidguy I often in ruby want to re-shuffle namespaces
<Jelvena> Nonsense.
<Aeyrix> Choo choo!
<shevy> like the BORG... you will be assimilated into my namespace (when your code resides in plain toplevel namespace)
<Aeyrix> Here comes the subjectivity train!
<Aeyrix> Last stop is you, Jelvena!
<shevy> Jelvena is a good name for train
<Aeyrix> I'm not the only one to have ever said it should have Python's import system.
<shevy> it comes right before Nirvana!
dumdedum has joined #ruby
<zotherstupidguy> one can make the argument that lack of import keeps your files smaller in size?
<Jelvena> So what? Many say C++ should not have header files.
<Jelvena> That says nothing.
<Aeyrix> Why would you not want to have header files?
<shevy> Many say C++ was an atrocity.
<SpicyMagpie> I do, actually.
<Aeyrix> C++ header files actually make sense.
oo_ has quit [Remote host closed the connection]
<shevy> I dislike the old header files being hardcoded locations though
<Jelvena> Aeyrix, No. And the future plan is to remove header files.
<gert7> C++ makes object files, Java makes class files
<Aeyrix> Jelvena: And come up with a better solution.
<Aeyrix> Jelvena: The better solution to a glorified `eval($file)`
<Aeyrix> is object-based importation.
<Jelvena> What???
shuber_ has joined #ruby
<Aeyrix> To be fair Python can just pull the whole file in too.
wildroman2 has joined #ruby
<SpicyMagpie> where is the plus in this goddamn keyboard!
<shevy> spicymagpie borrow mine -> +
ta has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
<Aeyrix> I have a few spare too: + + + ++
bronson has quit [Ping timeout: 258 seconds]
<SpicyMagpie> where is the mouse in this goddamn computer, so I can copy the plus!
<shevy> haha
<zotherstupidguy> in C you do import the whole file?
<Aeyrix> Yes, actually.
livathinos has quit [Ping timeout: 255 seconds]
<gert7> in C you #include it
<SpicyMagpie> zotherstupidguy: depends on the compiler but most do.
<gert7> it just copies the whole thing in, and its #includes as well
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Jelvena> #include means to run the file.
<Aeyrix> #include means to include the contents of that file into the file, not to run it.
havenwood has joined #ruby
<adaedra> #include means copy paste the content of the file
<adaedra> but I thought this were #ruby?
<adaedra> hello anyway
<Aeyrix> Ruby's `require` is pretty much #include.
<Aeyrix> Which I think is sub-par.
<SpicyMagpie> refinements!
parduse has joined #ruby
<shevy> adaedra hello
oo_ has joined #ruby
<Aeyrix> Granted, I have no expertise in the field of improving Ruby, otherwise I'd take a stab.
<shevy> improving ruby is easy
<Aeyrix> So easy even people who can't program can do it!
<Jelvena> Stop talking nonsense. #include tells the C preprocessor include the file in the input stream, which is running the file.
chinmay_dd has quit [Remote host closed the connection]
<Aeyrix> Jelvena: wat
<shevy> then you write "Nobu, please add this feature:"
<Aeyrix> Dude...
<Aeyrix> Are you okay?
alex88 has joined #ruby
<adaedra> compiling != running in C
<Aeyrix> I can't tell if you're being a contrarian for the sake of it, or what.
<Jelvena> Aeyrix, I'm a C developer for years, you really want to go there?
<gert7> #include is for structures and function cdecl definitions, they refer to object files
<adaedra> and there's usually no "runnable" code in C headers anyway
<Aeyrix> Jelvena: Yes, actually.
<SpicyMagpie> you dont know anything about compilers, right?
<Aeyrix> Because clearly in all those years you have no fucking clue about #include.
<Jelvena> Aeyrix, You have no idea what the hell you are talking about.
<Aeyrix> Prove it, please.
<Aeyrix> You've got a bunch of people telling you that you're incorrect.
<adaedra> OR
<adaedra> you go debate about this in ##c
<Aeyrix> adaedra: It was related to Ruby.
<sevenseacat> adaedra: good idea!
<Jelvena> Huh? Come to #c :)
<Aeyrix> Did you join after I was talking about `require` versus Python's `import`?
shuber_ has quit [Ping timeout: 244 seconds]
<adaedra> Aeyrix: it's getting away pretty quick it seems
<Jelvena> Aeyrix, I'm well know in the #c channel, idiot.
<sevenseacat> Jelvena: no name calling, please.
parduse is now known as Guest74214
<shevy> :>
<Jelvena> sevenseacat, sure.
<Aeyrix> Jelvena: ...Did you seriously just state your claim to fame as being "well known" in a Freenode IRC channel?
<SpicyMagpie> man, that escalated quickly.
<Aeyrix> I... okay?
<Aeyrix> Good work champ, I'm proud of you.
<adaedra> What if I told you
<sevenseacat> Aeyrix: Jelvena: both of you settle down.
ndrei has quit [Ping timeout: 256 seconds]
<Aeyrix> Can we get back on topic?
<adaedra> No one cares?
code1o6 has quit [Ping timeout: 250 seconds]
<Aeyrix> ^
<shevy> don't anger the cat, she can kickban you
<Aeyrix> Is there any reason Ruby doesn't have a Python-esque import?
<heftig> file-based code loading sucks, don't i know it
<Aeyrix> Like, has it been talked about by core devs before?
<Jelvena> Stop talking nonsense then if you don't know the language. Now you will tell me, that the register keyword is a hint to the compiler.
<Jelvena> And I will burst out laughing :)
<adaedra> Then go do it somewhere else
Rollabunna has joined #ruby
<Aeyrix> Jelvena: Actually, no. Now I will just stop talking to you because not only are you spouting nonsense, you're doing it antagonistically.
<shevy> Aeyrix dunno. I guess require will stay as it is, but they added require_relative some time ago so I would not see why they could not want to add a more sophisticated way to load up ruby files
<Aeyrix> Be quiet. Go be a #c "king" or whatever yo.
joonty has joined #ruby
TheHodge has joined #ruby
<adaedra> Aeyrix: stop feeding
<Aeyrix> shevy: Didn't require_relative do basically the same as requirE?
gizmore has quit [Ping timeout: 245 seconds]
Guest74214 has quit [Ping timeout: 265 seconds]
<Aeyrix> I remember seeing some blog post laughing about how it was literally the same thing.
<shevy> it's twice as long!
<Aeyrix> LOL
gizmore has joined #ruby
<shevy> they removed ./ from the default search path
<aawe> I too get the feeling Jelvena is trying to antagonize
<Aeyrix> Yeah that's all it does.
<Aeyrix> I just checked the source.
ych_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<zotherstupidguy> i can't remmer the diff between load, require, require_relative.
<Aeyrix> require_relative: return rb_require_safe(rb_file_absolute_path(fname, base), rb_safe_level());
Hounddog has joined #ruby
thatslifeson has joined #ruby
<Aeyrix> require: return rb_require_safe(fname, rb_safe_level());
<zotherstupidguy> i use require_relative all the time
<shevy> zotherstupidguy load you can call several times, like at run-time to reload code and get new behaviour
<adaedra> I never use require_relative
<Aeyrix> Also, has anyone written a plugin system that allows reloadable stuff, in Ruby?
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<shevy> I also never use require_relative... because I am not sure when I need it
<Aeyrix> I can write that all day in Python but that's hard in Ruby. You have to forcefully unload it from memory.
<Aeyrix> shevy: You need it when you want to strip './' for whatever reason'
<shevy> since require already works for gem-structured projects
<adaedra> Depends on what you do, Aeyrix, `load` may be sufficient
* Aeyrix [ RUBYDOC VIEWING INTENSIFIES ]
<shevy> Aeyrix oh yeah... restoring to a tabula rasa state in ruby was an afterthought
<zotherstupidguy> require kept getting me loading erros, so i kept using require_relative
<shevy> just like the "monkey" patching - you can modify everything, but restoring to the earlier status quo is hard. how to uninclude a module?
<Aeyrix> How does load work?
<shevy> eval perhaps :D
<Aeyrix> Ping @sevenseacat because you seem to know a lot about Ruby.
<shevy> know... she is an elixir cat now... :(
<Aeyrix> load: rb_load_internal(path, RTEST(wrap));
<sevenseacat> hello. i dont know that much. i'm more a rails type of person.
<adaedra> It's like require, but without checking if the file has been already required
<Aeyrix> sevenseacat: o ok
<Aeyrix> adaedra: ... oh
<Aeyrix> Does that overwrite?
<SpicyMagpie> nono, load is more like opening the file and importing whatever is on it.
<adaedra> Not exactly
<heftig> class_eval the code in an anonymous module
Rollabunna has quit [Ping timeout: 244 seconds]
<heftig> a = Module.new; a.class_eval(File.read("foo.rb"))
<adaedra> It will re-read the file, overwriting things the way you do when reopening a class
<heftig> a.const_get("Foo")
roshanavand has joined #ruby
sigurding has joined #ruby
<zotherstupidguy> can we collect ruby conf videos in a torrent? like the defcon guys do?
einarj has joined #ruby
thatslifeson has quit [Ping timeout: 272 seconds]
ki0 has joined #ruby
<heftig> hm, though you might also need to reset the loaded features ($") after unloading by throwing away a
charliesome has quit [Quit: zzz]
DEA7TH has joined #ruby
taiansu has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
mistermocha has joined #ruby
Nieralyte has quit [Quit: Nieralyte]
<SpicyMagpie> oh, my Ruby env disappeared!
<gert7> i wrote a gem last night
<Darkwater> good job
Igorshp has joined #ruby
devoldmx has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
hardlin3r has quit [Quit: Leaving]
d34th4ck3r has quit [Quit: zzz]
mistermocha has quit [Ping timeout: 265 seconds]
<izzol> There is any good tutoria/doc where I can check how to create a versioning in ruby/sinatra REST API ?
parduse has joined #ruby
vtunka has joined #ruby
lkba has joined #ruby
ghr has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba_ has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
tubuliferous_ has joined #ruby
parduse has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 272 seconds]
varunwachaspati has quit [Ping timeout: 256 seconds]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
haxrbyte has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
chinmay_dd has joined #ruby
<shevy> how to update all .gem files that are installed locally?
countryHick has quit [Ping timeout: 276 seconds]
hellschreiber has quit [Ping timeout: 276 seconds]
<shevy> hmm is it "gem update" ? or is there some catch
<gert7> with bundle update?
<gert7> if you're on a Gemfile
<shevy> without bundler though
<shevy> I need to assume that not every user knows that above command, in installation-instructions
_xCept has quit [Ping timeout: 252 seconds]
jmcc has quit [Ping timeout: 276 seconds]
n1ftyn8 has quit [Ping timeout: 276 seconds]
_xCept has joined #ruby
hellschreiber has joined #ruby
<gert7> should be gem update
sevenseacat has quit [Quit: Me dun like you no more.]
Zekka has quit [Ping timeout: 276 seconds]
haxrbyte has quit [Ping timeout: 256 seconds]
n1ftyn8 has joined #ruby
Zekka has joined #ruby
countryHick has joined #ruby
terlar has joined #ruby
jmcc has joined #ruby
sigurding has joined #ruby
Obfuscate has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
<Aeyrix> heftig: Yeah
<Aeyrix> You do have to
cstrahan has quit [Ping timeout: 276 seconds]
Heero has quit [Ping timeout: 276 seconds]
noonius has quit [Quit: noonius]
_xCept has quit [Ping timeout: 264 seconds]
parduse has quit [Read error: Connection reset by peer]
Obfuscate has joined #ruby
akitada has quit [Ping timeout: 276 seconds]
vmatiyko has joined #ruby
Heero has joined #ruby
cstrahan has joined #ruby
nii236 has quit [Ping timeout: 250 seconds]
taiansu has joined #ruby
countryHick has quit [Ping timeout: 276 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bluOxigen has joined #ruby
_xCept has joined #ruby
dukedave has quit [Ping timeout: 276 seconds]
countryHick has joined #ruby
dukedave has joined #ruby
TheMoonMaster has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
chrisseaton has quit [Ping timeout: 276 seconds]
akitada has joined #ruby
giuseppesolinas has joined #ruby
chrisseaton has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
TheMoonMaster has joined #ruby
ta has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
lidenskap has quit [Remote host closed the connection]
incomprehensibly has quit [Ping timeout: 276 seconds]
<gert7> i need some input on a gem i wrote, i don't know if it's useful
astrobunny has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
astrobunny has joined #ruby
mdw has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
RegulationD has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
exadeci has joined #ruby
gluten_hell has joined #ruby
RegulationD has joined #ruby
lessless has joined #ruby
incomprehensibly has joined #ruby
bmn has quit [Ping timeout: 256 seconds]
mooe has quit [Quit: Connection closed for inactivity]
yeticry has quit [Ping timeout: 244 seconds]
shock_one has joined #ruby
bmn has joined #ruby
yeticry has joined #ruby
lele is now known as Guest24
<zotherstupidguy> shevy is you are building a gem locally, you can just gem build over the existing gem
d34th4ck3r has joined #ruby
decoponio has joined #ruby
fabrice31_ has joined #ruby
OrbitalKitten has joined #ruby
duncannz has joined #ruby
shuber_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
duncannz has quit [Max SendQ exceeded]
SouL_|_ has quit [Ping timeout: 256 seconds]
speakingcode has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
speakingcode has joined #ruby
havenwood has quit []
duncannz has quit [Max SendQ exceeded]
quimrstorres has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
c0m0 has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
CamonZ has joined #ruby
arup_r has quit [Remote host closed the connection]
thatslifeson has joined #ruby
huddy has joined #ruby
sigurding has joined #ruby
byprdct has joined #ruby
shock_one has quit []
TheHodge has quit [Ping timeout: 276 seconds]
parduse has quit [Ping timeout: 244 seconds]
TheHodge has joined #ruby
thatslifeson has quit [Ping timeout: 264 seconds]
roshanavand has quit [Quit: Konversation terminated!]
failshell has joined #ruby
roshanavand has joined #ruby
doertedev has joined #ruby
jayeshsolanki has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<St1gma> izzol: use git
<St1gma> damn just realized when that was asked :p
failshell has quit [Ping timeout: 240 seconds]
leafybasil has quit [Remote host closed the connection]
workmad3 has joined #ruby
fgo has quit [Quit: WeeChat 1.1.1]
crus has quit [Remote host closed the connection]
crus has joined #ruby
<izzol> St1gma: what do you mean git? ;-)
<St1gma> You said you wanted to keep versioning of your REST API that you are building?
<St1gma> git would be good for keeping track of changes in the code. (maybe I misunderstood your question?)
<izzol> St1gma: yes, that's correct. So I can simply change the version of my API to the clients.
kaspergrubbe has quit [Ping timeout: 255 seconds]
kaspergrubbe has joined #ruby
<St1gma> There are many ways of creating versions in git, some people might disagree with what I'm going to say here. But what I've done in the past is keep the "master" branch with the latest changes once I'm satisfied I create a new branch with the name "version-XX.YY". I tell people they can get that branch for that specific version or "master" for bleeding edge.
idafyaid has quit [Ping timeout: 272 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
<St1gma> you can join #git and ask more questions on how that works
<izzol> St1gma: hmm, I was thinking about the keeping version of my API in the url.
<izzol> and get them from the headers (for example).
<gert7> would that involve backwards compatibility?
<izzol> I'm not really sure what is the best way that's why I'm looking answers :)
<izzol> gert7: yes
<gert7> ahh
d34th4ck3r has quit [Quit: Ciao]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<izzol> but of course there is nothing about (how to do this) :)
clauswitt has quit [Ping timeout: 256 seconds]
<izzol> so I'm trying to do it by myself in Sinatra.
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gert7> Steam api does v=0001 v=0002 for instance
<St1gma> so you will have to create a route that contains the path's that you accept
GriffinHeart has quit [Remote host closed the connection]
haxrbyte has joined #ruby
<gert7> backwards compatibility = accept all routes of each supported version
<gert7> preferably with explicit versioning from day 1
<izzol> I guess the best will to send the version in headers right?
<gert7> yes
<izzol> So they will ask the same "path" but will have different output.
<zotherstupidguy> izzol, no, in the path
arup_r has joined #ruby
<zotherstupidguy> izzol there are two ways the restful way and the pragrammatic way.
<St1gma> you could do version in URI it doesn't matter, most vendors do URI
<gert7> steam has v=0001 in the url
timonv has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
<gert7> it's simple and convenient
roshanavand has joined #ruby
<zotherstupidguy> izzol please watch this, it will save you tons of work https://www.youtube.com/watch?v=QpAhXa12xvU
<gert7> the first thing you look at is the version, then route everything else to a version handler
haxrbyte has quit [Remote host closed the connection]
<izzol> zotherstupidguy: ok, let me check :-)
railsForDaiz has joined #ruby
<St1gma> in sinatra you can do something like this
<St1gma> get '/api/:version/:params' do
<St1gma> then whatever code you want
leafybasil has joined #ruby
leafybasil has quit [Remote host closed the connection]
<St1gma> probably a case statement to load the right libraries for the right version
hectortrope has joined #ruby
leafybasil has joined #ruby
turtil has joined #ruby
Papierkorb has joined #ruby
railsForDaiz has quit [Client Quit]
atom3_ is now known as atom3
Papierkorb has quit [Remote host closed the connection]
railsForDaiz has joined #ruby
* zotherstupidguy "It's enough for me to be sure that you and I exist at this moment" ― Gabriel Garcí­a Márquez, One Hundred Years of Solitude
Papierkorb has joined #ruby
SubjectiveBias has joined #ruby
varunwachaspati has joined #ruby
zarubin1 has joined #ruby
ponga has joined #ruby
zipace has quit [Ping timeout: 244 seconds]
ponga has quit [Changing host]
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
SpicyMagpie has quit [Quit: to the uni]
<gert7> i wrote an actor gem and want to know if it's any good :3
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
parduse has joined #ruby
zarubin1 has quit [Client Quit]
Deele has joined #ruby
terlar has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
mdw has joined #ruby
zarubin has quit [Quit: Leaving.]
ahmetkapikiran has joined #ruby
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
<zotherstupidguy> gret7 whats an actor gem?
<gert7> mine is a mixin module that involves redis
craigp has quit [Ping timeout: 244 seconds]
livathinos has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
parduse has quit [Ping timeout: 255 seconds]
<zotherstupidguy> gret7 ok, what does it do exactly?
anaeem___ has joined #ruby
<gert7> you write threadsafe methods with it
anaeem___ has quit [Remote host closed the connection]
<zotherstupidguy> oh, i c
<gert7> and it doesn't require running a worker or anything like that
<Aeyrix> gert7: have you linked it yet?
<Aeyrix> you asked like an hour+ ago
<zotherstupidguy> i am too stupid to understand threading and concurency its beyond me, no matter how much i try :)
<Aeyrix> when i was heading home
anaeem1 has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
<Aeyrix> >last commit is 'overhaul'
<Aeyrix> people who use git like that make me sad ;_;
<gert7> i wrote it last night
<gert7> ;)
<zotherstupidguy> gret7 you can always rebase
<Aeyrix> Any time you stop to test, you should commit.
parduse has joined #ruby
<zotherstupidguy> before the test or after?
<Aeyrix> After, if it passes.
SubjectiveBias has quit [Ping timeout: 246 seconds]
<Aeyrix> Specifically, every time you test a specific functionality.
slucx has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
neworder has joined #ruby
parduse is now known as Guest28109
Guest28109 has quit [Read error: Connection reset by peer]
sigurding has quit [Quit: sigurding]
pardusf has joined #ruby
shuber_ has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
emilkarl has quit [Quit: emilkarl]
iteratorP has quit [Remote host closed the connection]
iteratorP has joined #ruby
<gert7> you write some code and think "this will work fine with multiple rails threads" and a few months later you realize why it WON'T work
ych_ has joined #ruby
taiansu has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 258 seconds]
Rollabunna has joined #ruby
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
iteratorP has quit [Ping timeout: 264 seconds]
bMalum has joined #ruby
bruno- has joined #ruby
websoftwarez has joined #ruby
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
sdothum has joined #ruby
Rollabunna has quit [Ping timeout: 272 seconds]
bMalum has quit [Ping timeout: 265 seconds]
pPop has joined #ruby
iasoon has joined #ruby
<neworder> I want to find all the indexes of an element occurring in an array
mistermocha has quit [Ping timeout: 256 seconds]
Rickmasta has joined #ruby
<neworder> Is that possible?
<neworder> with any in built methods
sigurding has joined #ruby
noonius has joined #ruby
tubuliferous has joined #ruby
<Darkwater> neworder: Enumerable#find_all ?
<Darkwater> hm, never mind
<Darkwater> let's see
hectortrope has quit [Quit: WeeChat 0.4.2]
tvw has joined #ruby
vmatiyko has quit [Ping timeout: 272 seconds]
<neworder> find_all returns the elements right
<zotherstupidguy> gret7 ever heard of pthreads?
tvw has quit [Client Quit]
tvw has joined #ruby
<gert7> it's designed to avoid threads :x
<gert7> (assuming that's worth something)
tubuliferous has quit [Ping timeout: 256 seconds]
<Darkwater> neworder: yeah
<Darkwater> there's find_index for a single item
<neworder> I see
<neworder> so to find the index of the second occurrence
<neworder> what's the best way
bMalum has joined #ruby
<neworder> a = [0,34,1,29,0]
haxrbyte has joined #ruby
<Darkwater> I guess you'll have to use each_with_index
<Darkwater> then do some logic yourself
<neworder> I see
<Darkwater> there might be something you're looking for though
<Darkwater> I just don't know of any such function
<neworder> ok thanks
ndrei has joined #ruby
<toretore> >> [0,34,1,29,0].each_with_index.each_with_object([]){|(e,i),a| a << i if e == 0 }
<ruboto> toretore # => [0, 4] (https://eval.in/366729)
<zotherstupidguy> >> x = [1,2,3,4,5,4,4].select {|a| a == 4}
phutchins has joined #ruby
<ruboto> zotherstupidguy # => [4, 4, 4] (https://eval.in/366730)
<zotherstupidguy> neworder maybe select
workmad3 has quit [Quit: Lost terminal]
fabrice31_ has quit [Remote host closed the connection]
<Darkwater> toretore: that's some serious shit lol
pPop has quit []
<adaedra> zotherstupidguy: that gives the elements, not the indexes
<Darkwater> in which case grep would be fine'
emilkarl has joined #ruby
<canton7> what's wrong with each_with_index + select + map?
TuxOtaku_ has joined #ruby
<jhass> nothing
senayar has quit [Remote host closed the connection]
<jhass> >> [1, 2, 3, 4, 5, 6].each_with_index.select {|e, _| e.even? }.map(&:last)
<ruboto> jhass # => [1, 3, 5] (https://eval.in/366737)
anaeem1 has joined #ruby
senayar has joined #ruby
hectortrope has joined #ruby
<gregf_> >> [0,34,1,29,0].each_with_index.select { |a| a.first == 0 }.map(&:last)
<ruboto> gregf_ # => [0, 4] (https://eval.in/366739)
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has quit [Read error: Connection reset by peer]
hectortrope has quit [Changing host]
hectortrope has joined #ruby
<gert7> https://celluloid.io/ is an actor model for ruby, but i didn't want to use that because it's threaded
* zotherstupidguy “There is always something left to love.” ― Gabriel Garcí­a Márquez, One Hundred Years of Solitude
anaeem1 has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
hectortrope has quit [Client Quit]
<zotherstupidguy> gert7 pthreads stands POSIX threads, so i read. is this somthing you are familiar with?
jenrzzz has quit [Ping timeout: 264 seconds]
<gert7> i know threads, i know locking
GaryOak_ has joined #ruby
serivich has joined #ruby
workmad3 has joined #ruby
varunwachaspati has quit [Ping timeout: 272 seconds]
Guest21115 has quit [Ping timeout: 272 seconds]
<gert7> i wanted a really dumb approach that works correctly
GaryOak_ has quit [Ping timeout: 255 seconds]
emilkarl has quit [Quit: emilkarl]
roshanavand has quit [Quit: Konversation terminated!]
oo_ has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
oo_ has joined #ruby
<neworder> I'm stuck at this question
<neworder> Just a min, lemme post what I've got
turtil has quit [Ping timeout: 245 seconds]
vmatiyko has joined #ruby
* zotherstupidguy “Then he made one last effort to search in his heart for the place where his affection had rotted away, and he could not find it.” ― Gabriel Garcí­a Márquez, One Hundred Years of Solitude
chinmay_dd has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
Rollabunna has joined #ruby
Rollabunna has quit [Read error: No route to host]
Rollabunna has joined #ruby
fabrice31 has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
neohunter has joined #ruby
_blizzy_ has joined #ruby
bigsky_ has joined #ruby
bMalum has quit [Quit: bMalum]
Dreamer3 has quit [Ping timeout: 245 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
varunwachaspati has joined #ruby
SubjectiveBias has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
iasoon has quit [Ping timeout: 276 seconds]
haxrbyte has joined #ruby
bluOxigen has joined #ruby
noonius has quit [Quit: noonius]
bMalum has joined #ruby
chinmay_dd has joined #ruby
neworder has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
thatslifeson has joined #ruby
haxrbyte_ has quit [Ping timeout: 272 seconds]
duncannz has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
TuxOtaku_ has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
doodlehaus has joined #ruby
thatslifeson has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Remote host closed the connection]
failshell has joined #ruby
iasoon has joined #ruby
shuber_ has joined #ruby
bahar has quit [Ping timeout: 272 seconds]
jayeshsolanki has joined #ruby
AlphaAtom has joined #ruby
vmatiyko has quit [Quit: leaving]
failshell has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 272 seconds]
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
neohunter has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
ta has quit [Read error: Connection reset by peer]
selu has joined #ruby
ta has joined #ruby
SubjectiveBias has quit [Ping timeout: 258 seconds]
noonius has joined #ruby
Musashi007 has joined #ruby
doodlehaus has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Jandre has joined #ruby
Jandre is now known as Guest47033
finnnnnnnnnnn has joined #ruby
finnnnnnnnnnn has quit [Client Quit]
scripore has joined #ruby
reinaldob has joined #ruby
kp666 has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
platzhirsch has joined #ruby
millerti has joined #ruby
oo__ has joined #ruby
noonius has quit [Quit: noonius]
neworder has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
noonius has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
ldnunes has joined #ruby
aberator has joined #ruby
Guest47033 has quit [Ping timeout: 272 seconds]
aberator has left #ruby ["Textual IRC Client: www.textualapp.com"]
senayar has quit [Remote host closed the connection]
Gadgetoid has quit [Ping timeout: 245 seconds]
Gadgetoid has joined #ruby
senayar has joined #ruby
haxrbyte has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
<certainty> ok
doodlehaus has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
laurentide has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
AlphaAtom has joined #ruby
slawrence00 has joined #ruby
DaniG2k has joined #ruby
haxrbyte has joined #ruby
Ropeney has joined #ruby
mdw has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
n008f4g_ has quit [Ping timeout: 256 seconds]
DexterLB has joined #ruby
lessless has joined #ruby
haxrbyte has quit [Ping timeout: 244 seconds]
pontiki has joined #ruby
doodlehaus has joined #ruby
haxrbyte has joined #ruby
unshadow has quit [Quit: leaving]
jenrzzz has joined #ruby
<pontiki> g'morning
selu has quit [Max SendQ exceeded]
_blizzy_ has quit [Ping timeout: 265 seconds]
<Darkwater> o/
lessless has quit [Max SendQ exceeded]
<apeiros> moin
vtunka has quit [Quit: Leaving]
haxrbyte has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
haxrbyte has joined #ruby
selu has joined #ruby
Pathfinder has quit [Ping timeout: 256 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
doodlehaus has quit [Remote host closed the connection]
gagrio has quit [Ping timeout: 255 seconds]
krz has quit [Ping timeout: 256 seconds]
nfk has joined #ruby
gluten_hell has quit [Quit: Computer has gone to sleep.]
thatslifeson has joined #ruby
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
Ropeney has quit [Max SendQ exceeded]
mistermocha has joined #ruby
senayar has quit [Remote host closed the connection]
Pathfinder has joined #ruby
ta has quit [Remote host closed the connection]
thatslifeson has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
failshell has joined #ruby
shuber_ has joined #ruby
icebourg has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
tubuliferous has joined #ruby
icebourg has quit [Max SendQ exceeded]
mistermocha has quit [Ping timeout: 264 seconds]
c0m0 has quit [Ping timeout: 272 seconds]
but3k4 has joined #ruby
noonius has quit [Quit: noonius]
vtunka has joined #ruby
juanpaucar has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
kartouch_ is now known as kartouch
apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
shuber_ has quit [Ping timeout: 246 seconds]
tubuliferous has quit [Ping timeout: 250 seconds]
<gert7> The Actor model doesn't provide concurrency or parallelism, it wraps around a piece of shared data and becomes its agent
<gert7> and executes every command in the message box one after another - it's inherently and forcefully single-threaded
dANO has joined #ruby
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
Dreamer3 has joined #ruby
finnnnnnnnnnn has joined #ruby
juanpaucar has quit [Remote host closed the connection]
juanpaucar has joined #ruby
gluten_hell_ has joined #ruby
gagrio has joined #ruby
dANO has quit [Client Quit]
slash_nick has joined #ruby
c0m0 has joined #ruby
platzhirsch has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 258 seconds]
neworder_ has joined #ruby
sigurding has quit [Quit: sigurding]
neworder_ has quit [Client Quit]
rodferso1 has joined #ruby
sgambino has joined #ruby
neworder has quit [Ping timeout: 265 seconds]
varunwachaspati has quit [Ping timeout: 252 seconds]
rodfersou has quit [Ping timeout: 272 seconds]
sigurding has joined #ruby
SubjectiveBias has joined #ruby
n80 has joined #ruby
maoko has joined #ruby
unshadow has joined #ruby
flap has quit [Remote host closed the connection]
yaw has joined #ruby
yaw has left #ruby [#ruby]
varunwachaspati has joined #ruby
n80 has quit [Client Quit]
SouL_|_ has joined #ruby
Renich has quit [Quit: leaving]
pardusf has quit [Ping timeout: 244 seconds]
taiansu has joined #ruby
hoov has joined #ruby
parduse has joined #ruby
shredding has joined #ruby
kubunto has joined #ruby
sankaber has joined #ruby
noonius has joined #ruby
terlar has joined #ruby
thatslifeson has joined #ruby
felixjet__ has quit [Read error: Connection reset by peer]
noonius has quit [Client Quit]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
kubunto has quit [Quit: Anyone who thinks the Large Hadron Collider will destroy the world is a twat]
felixjet has joined #ruby
shazaum has joined #ruby
scripore has joined #ruby
shazaum has joined #ruby
shazaum has quit [Changing host]
felixjet has quit [Client Quit]
pgunnars has joined #ruby
bMalum has quit [Quit: bMalum]
quimrstorres has quit [Remote host closed the connection]
<pgunnars> does ruby have some special path env? claims it cant load a file which is definitely in path
davedev24_ has joined #ruby
centrx has joined #ruby
felixjet has joined #ruby
zack6849 has quit [Ping timeout: 276 seconds]
<hanmac1> pgunnars: your ruby version?
vtunka has quit [Quit: Leaving]
taiansu has quit [Remote host closed the connection]
icebourg has joined #ruby
zzxc has joined #ruby
taiansu has joined #ruby
anaeem1 has quit [Remote host closed the connection]
varunwachaspati has quit [Remote host closed the connection]
JDiPierro has joined #ruby
sanguisdex has quit [Quit: Leaving.]
DaniG2k has quit [Ping timeout: 272 seconds]
anaeem1_ has joined #ruby
<Pathfinder> pgunnars: Are you using RVM to manage ruby versions...if so .. do rvm list and check if you are using the correct version of ruby or that the PATH is being loaded
<hanmac1> pgunnars: and did you use 1.8 before? if yes you need require_relative because "." is not in PATH anymore
senayar has quit [Remote host closed the connection]
some_user has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
sanguisdex has joined #ruby
vtunka has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
<jhass> ^ s/PATH/$LOAD_PATH/
sanguisdex has left #ruby [#ruby]
<jhass> not to be confused with ENV['PATH']
taiansu has quit [Ping timeout: 256 seconds]
taiansu has joined #ruby
anaeem1_ has quit [Ping timeout: 246 seconds]
fabrice31_ has quit [Remote host closed the connection]
nii236 has joined #ruby
fabrice31 has joined #ruby
iamninja_ has joined #ruby
gagrio has quit [Ping timeout: 255 seconds]
PierreRambaud has joined #ruby
conta has joined #ruby
oo__ has quit [Remote host closed the connection]
ta has joined #ruby
gagrio has joined #ruby
noonius has joined #ruby
noonius has quit [Client Quit]
noonius has joined #ruby
<hanmac1> jhass: hm yeah but it seams
<hanmac1> that pgunnars itself doesnt know which path ruby means
zzxc has quit [Ping timeout: 245 seconds]
unshadow has quit [Quit: leaving]
bmurt has joined #ruby
Soda has joined #ruby
noonius has quit [Ping timeout: 245 seconds]
icebourg has quit []
gilmour has joined #ruby
griffindy has joined #ruby
jerius has joined #ruby
Ropeney has joined #ruby
thebatu1_ has joined #ruby
dblessing has joined #ruby
[k- has joined #ruby
<thebatu1_> hello, being new to Ruby and RoR I saw this piece of code that I do not understand. if pk.is_a?(Array) what is the functionality of (Array) here? and is it different from (array) ?
<aawe> thebatu1_: Array is a class name
<hanmac1> thebatu1_: Array is the class of all arrays ... with is_a?(Array) it does check if pk is an Array and no other kind of object
hectortrope has joined #ruby
<[k-> Array can be a class name or Kernel#Array o_O
<gert7> Array is literally a class there. Array.class() returns the Class class
idafyaid has joined #ruby
idafyaid has joined #ruby
<thebatu1_> But the use of is_a? is enough to check if it is an array why add (Array)
<thebatu1_> ?
<apeiros> [k-: methods starting with an uppercase letter must be used in an unambiguous way. that is one of a) having explicit receiver, b) having parens, c) having a param passed
<hanmac1> thebatu1_: no, is_a is not enough
<gert7> pk.is_a? doesn't do anything
<apeiros> i.e. `Foo` is always the constant. `Foo()`, `x.Foo` and `Foo 1` are always the method call.
Oka has joined #ruby
<[k-> oh, that makes it clear
User458764 has joined #ruby
alderamin has quit []
tcrypt has quit [Remote host closed the connection]
<gert7> i believe Hello() silently tries to call the 'static' method Hello#call
zzxc has joined #ruby
zzxc has joined #ruby
<hanmac1> gert7: no you mean Hello.()
vikaton has quit [Quit: Connection closed for inactivity]
<gert7> or Hello::call?
<Mon_Ouie> No, Hello() calls #Hello on self
<[k-> thebatu1_: pk can be an Array, Hash, TCPSocket or anything
<[k-> so you must tell .is_a? what to check for
<apeiros> gert7: that's invoking 'call' on the constant 'Hello'
workmad3 has joined #ruby
<[k-> .is_a? should be a BasicObject method i think
<Mon_Ouie> >> def Hello(); puts "hi, I am #{self}"; end; Hello()
<ruboto> Mon_Ouie # => hi, I am main ...check link for more (https://eval.in/366809)
<thebatu1_> in java when I do (Array) it like type casting
<apeiros> it is also you getting spanked for using :: to invoke methods :-p
<thebatu1_> thats why I am confused
ghr has quit []
<apeiros> thebatu1_: the () are parens of the method call
<Darkwater> in java you can also do something.method(ClassName)
<apeiros> they are not part of Array
<apeiros> it's not (Array). it's some_method()
<apeiros> and some_method(some_arg)
polysics has joined #ruby
<thebatu1_> ok so here I am checking if pk is an array and only an array. got it
gambl0re has quit [Ping timeout: 250 seconds]
<Darkwater> literally, it calls .is_a? on pk with Array as argument
<apeiros> well, is_a? also allows subclasses of Array
<Darkwater> s/\.//
airdisa has joined #ruby
<hanmac1> apeiros: x::Foo "can" also be an constant access if x is a module or class
<thebatu1_> apeiros: oh ok so is_a? takes the parameter (Array)
akrgn has joined #ruby
<Darkwater> Array*
<Darkwater> not (Array), the parentheses are part of the syntax
<Darkwater> the argument you're passing is Array
roshanavand has quit [Quit: Konversation terminated!]
yeticry has quit [Ping timeout: 245 seconds]
<Mon_Ouie> 'x::Foo' (with no arguments, etc.) is a constant access no matter what. If x is not a module, that means an exception is raised.
<Mon_Ouie> >> 3::Foo
<ruboto> Mon_Ouie # => 3 is not a class/module (TypeError) ...check link for more (https://eval.in/366810)
<apeiros> hanmac1: that's back at "must be unambiguous". there's no "can".
<centrx> The 'a' in #is_a? does not stand for Array, unlike the 'a' in #to_a
<apeiros> hanmac1: x::Foo is *always* a constant
akrgn has quit [Client Quit]
<hanmac1> apeiros: yeah i was wrong
websoftwarez has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
<apeiros> the only place where ruby allows shadowing methods through variables is with locals
yeticry has joined #ruby
<thebatu1_> what now I am confused too many answers. which one is the right one ?
<hanmac1> but x::Foo() does work too ;P (but thats bad style and even i wouldnt do it)
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> thebatu1_: about all of them say about the same
<apeiros> thebatu1_: so: "all of them" :-)
<thebatu1_> apeiros: lol
<apeiros> hanmac1: x::Foo() otoh can never be a constant
<apeiros> as said, it's unambiguous
scripore has joined #ruby
<hanmac1> thebatu1_: in ruby everything (except false and nil) is true ;P
<thebatu1_> hanmac1: how to make life easier :p
noonius has joined #ruby
<Sebastia1Thorn> how do I set the width for pp ? pp(data, :width => 159) was what i thought
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has quit [Read error: Connection reset by peer]
fabrice31 has quit [Remote host closed the connection]
<apeiros> Sebastia1Thorn: afaik, pp doesn't accept any options. it'll pretty print all objects you pass.
fabrice31 has joined #ruby
<apeiros> Sebastia1Thorn: check PrettyPrint and its methods. maybe there's a way.
<[k-> thebatu1_: Array is a class, just like how you call Time.new
<Sebastia1Thorn> http://ruby-doc.org/stdlib-2.0/libdoc/pp/rdoc/PP.html thats the one i figured, it has something @maxwidth=79
<Mon_Ouie> PP.pp(obj, output_stream, width)
sevenseacat has joined #ruby
gagrio has quit [Ping timeout: 252 seconds]
Feyn has quit [Quit: Leaving]
marr has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
<Sebastia1Thorn> Mon_Ouie: works, ty
Sebastia1Thorn is now known as SebastianThorn
<SebastianThorn> but i dont understand the difference between pp() and PP.pp()
fabrice31_ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
bluOxigen has joined #ruby
<Mon_Ouie> Kernel#pp is a method that iterates over its arguments and prints them using PP.pp. PP.pp just pretty prints one object.
<apeiros> well, one is Kernel#pp, the other is PP::pp
hectortrope has quit [Quit: WeeChat 0.4.2]
doodlehaus has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
<SebastianThorn> Mon_Ouie: ok, now i understand
<SebastianThorn> ty :)
platzhirsch has joined #ruby
rbennacer has joined #ruby
momomomomo has joined #ruby
psy has joined #ruby
platzhirsch has left #ruby [#ruby]
CustosLimen has quit [Ping timeout: 246 seconds]
twistedpixels is now known as zz_twistedpixels
arup_r has quit [Remote host closed the connection]
gagrio has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
gsd has joined #ruby
gsd has quit [Max SendQ exceeded]
nii236 has quit [Ping timeout: 265 seconds]
anaeem1 has joined #ruby
gsd has joined #ruby
danman has joined #ruby
Rickmasta has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
krz has joined #ruby
Pathfinder has quit [Ping timeout: 276 seconds]
Hirzu_ has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
Hirzu has joined #ruby
quimrstorres has joined #ruby
momomomomo_ has joined #ruby
DaniG2k has joined #ruby
justinxr- has joined #ruby
rodferso1 has quit [Quit: leaving]
rodfersou has joined #ruby
momomomomo has quit [Ping timeout: 264 seconds]
momomomomo_ is now known as momomomomo
chinmay_dd has quit [Ping timeout: 258 seconds]
mistermocha has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
senayar has quit [Remote host closed the connection]
xjstin has quit [Ping timeout: 252 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
Juanchito has joined #ruby
senayar has joined #ruby
failshell has joined #ruby
paulcsmith has joined #ruby
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
tubuliferous_ has joined #ruby
CustosLimen has joined #ruby
slash_nick has quit [Ping timeout: 246 seconds]
mistermocha has quit [Ping timeout: 265 seconds]
zzing has joined #ruby
failshell has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
<pgunnars> Pathfinder: rvm list shows im using the correct ruby version
noonius has quit [Quit: noonius]
<pgunnars> jhass: could you explain further please
tubuliferous_ has quit [Ping timeout: 244 seconds]
mrdmi has quit [Ping timeout: 272 seconds]
quimrstorres has joined #ruby
<jhass> pgunnars: could you first show your error and detail exactly how you produce it?
DerisiveLogic has joined #ruby
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
zz_twistedpixels is now known as twistedpixels
CustosLimen has quit [Ping timeout: 255 seconds]
<jhass> pgunnars: gem list lists sqlite3 though?
JDiPierro has joined #ruby
<pgunnars> jhass: nope, apparantly not.
<pgunnars> jhass: total noob at ruby
<jhass> then run gem install sqlite3
tubuliferous has joined #ruby
adaedra has quit [Quit: ZNC - http://znc.in]
<pgunnars> thanks
adaedra has joined #ruby
<dudedudeman> i installed a gem once. hated it.
* dudedudeman abides
craigp has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
andikr has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<jhass> pgunnars: btw require "rubygems" is implicitly done for you since Ruby 1.9
lxsameer has quit [Ping timeout: 256 seconds]
mtakkman has joined #ruby
mary5030 has joined #ruby
mrdmi has joined #ruby
werelivinginthef has joined #ruby
iamninja_ has quit [Ping timeout: 276 seconds]
werelivi_ has joined #ruby
<TheBrayn> which jsonrpc-client can you recommend?
shuber_ has joined #ruby
anaeem1 has quit [Remote host closed the connection]
fmcgeough has joined #ruby
varunwachaspati has joined #ruby
aganov has quit [Quit: Leaving]
werelivinginthef has quit [Ping timeout: 264 seconds]
slash_nick has joined #ruby
tubuliferous_ has joined #ruby
danman has quit [Quit: danman]
tvw has quit [Ping timeout: 255 seconds]
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Ping timeout: 256 seconds]
Fluent has joined #ruby
vtunka has quit [Quit: Leaving]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<Fluent> I was wondering. How does one go about connecting to flash based content with Ruby? Say a flash based chat room.
aryaching has joined #ruby
danman has joined #ruby
The_Phoenix has joined #ruby
arietis has joined #ruby
riotjones has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
<arietis> hello guys
danman has quit [Client Quit]
<arietis> is anyone here using RubyMine?
The_Phoenix has joined #ruby
<arietis> i'm getting issues with ruby-debug-ide gem :(
<Fluent> No, sorry.
mrdmi has quit [Ping timeout: 265 seconds]
ahmetkapikiran has joined #ruby
ahmetkapikiran has quit [Remote host closed the connection]
<jhass> I just use pry + pry-byebug + pry-stack_explorer for debugging
<dudedudeman> jhass: would you recommend pry to a newer user to ruby?
<Fluent> pry is nice
<jhass> yes
<Fluent> Why not?
Illusioneer has joined #ruby
<dudedudeman> word
<dudedudeman> and i mean, it's just one more thing to learn and get used to
<Fluent> I need to figure out how to do this
<dudedudeman> not that that is a bad thing
vtunka has joined #ruby
al2o3-cr has quit [Ping timeout: 258 seconds]
bMalum has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
<Fluent> I guess I would need to figure out a way to get Ruby compatible with flash for this to work.
<Fluent> Another reason to hate flash content.
<gert7> wait
bluOxigen has joined #ruby
bronson has joined #ruby
<gert7> depends on where the data is stored for the chatroom
mikecmpbll has joined #ruby
<Fluent> Well, I'm not seeing any data in the source code
<Fluent> Not entirely sure where it's being placed really. I think it works all client side?
<Fluent> I will dig deeper as I should; I suppose.
<gert7> the interface between the chatroom and the database/peers
mrdmi has joined #ruby
<gert7> somewhere there is a socket, and that's where the data is transferred across the network
<Fluent> Hrmmm, yes.
<Fluent> But can you receive that content without having flash there?
goodcodeguy has joined #ruby
<[k-> so you are implying to intercept the data?
gizmore has quit [Ping timeout: 244 seconds]
<Fluent> The flash plugin.
tubuliferous_ has quit [Ping timeout: 256 seconds]
<[k-> (gert7)
<gert7> intercept the data with wireshark or something :0
<Fluent> I don't think you can do it like that
<[k-> :o another shark
tubuliferous_ has joined #ruby
<Fluent> Well you could if you have flash enabled and on the site to be able to receive the data
<[k-> a shark died this year. the music service grooveshark
<Fluent> :p
<gert7> flash is clientside
bronson has quit [Ping timeout: 264 seconds]
<Fluent> Yeah
<Fluent> I'm making connections to said website with Ruby
<Fluent> And Mechanize
<Fluent> I wonder if I can get it to use a flash plugin
<gert7> it's closer to your screen than the network hardware that it runs through - which you can intercept with wireshark, and maybe understand how it works
downwithbender has joined #ruby
<Fluent> Yeah, that's a good idea for seeing how it works. Good advice, I'll do that.
hoov has quit [Ping timeout: 240 seconds]
railsForDaiz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
Cache_Money has joined #ruby
bMalum has quit [Quit: bMalum]
vikaton has joined #ruby
thiagovsk has joined #ruby
ixti has joined #ruby
zz_barkerd427 is now known as barkerd427
tagrudev has quit [Remote host closed the connection]
axl_ has joined #ruby
njs126 has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mtakkman has quit [Ping timeout: 256 seconds]
hanmac1 has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
Rollabunna has quit [Quit: Leaving...]
shredding has quit [Ping timeout: 276 seconds]
noonius has joined #ruby
mrdmi has quit [Ping timeout: 276 seconds]
downwithbender is now known as hoov
EagleDelta has joined #ruby
gizmore has joined #ruby
shazaum has quit [Read error: Connection reset by peer]
noonius has quit [Client Quit]
davedev24_ has quit [Ping timeout: 256 seconds]
gert7 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Xeago has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<Illusioneer> has anybody worked with em-socket, I am curious how it stacks up against node's socket.io in terms of peformance
momomomomo has quit [Quit: momomomomo]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
treehug88 has joined #ruby
icebourg has joined #ruby
al2o3-cr has joined #ruby
momomomomo has joined #ruby
BlackGear has joined #ruby
noonius has joined #ruby
mrdmi has joined #ruby
noonius has quit [Client Quit]
snockerton has joined #ruby
BlackGear has quit [Max SendQ exceeded]
BlackGear has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
_blizzy_ has joined #ruby
s2013 has joined #ruby
senayar has quit [Remote host closed the connection]
BlackGear has quit [Max SendQ exceeded]
GaryOak_ has joined #ruby
unshadow has joined #ruby
thatslifeson has quit [Remote host closed the connection]
BlackGear has joined #ruby
Rickmasta has joined #ruby
BlackGear has quit [Max SendQ exceeded]
senayar has joined #ruby
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
BlackGear has joined #ruby
tjohnson has joined #ruby
BlackGear has quit [Max SendQ exceeded]
tcrypt has joined #ruby
<toretore> Illusioneer: you mean em-websocket?
anaeem1_ has quit [Remote host closed the connection]
pdoherty has joined #ruby
BlackGear has joined #ruby
anaeem1 has joined #ruby
<toretore> (i don't know much about the performance of either)
<Illusioneer> yes
BlackGear has quit [Max SendQ exceeded]
momomomomo has quit [Ping timeout: 276 seconds]
<Illusioneer> Yeah I like both but for a production app I'm going to get the question of which is better suited
Cache_Money has quit [Quit: Cache_Money]
Fluent has quit [Quit: Leaving]
BlackGear has joined #ruby
anisha has quit [Quit: Leaving]
BlackGear has quit [Max SendQ exceeded]
chinmay_dd has joined #ruby
yfeldblum has joined #ruby
BlackGear has joined #ruby
That1Guy has joined #ruby
AxonetBE has quit [Ping timeout: 258 seconds]
BlackGear has quit [Max SendQ exceeded]
BlackGear has joined #ruby
juanpaucar has quit [Remote host closed the connection]
<toretore> "better suited" involves a lot more than just performance, whichever way you define that
BlackGear has quit [Max SendQ exceeded]
arturaz has quit [Ping timeout: 245 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_blizzy_ has quit [Ping timeout: 265 seconds]
BlackGear has joined #ruby
anaeem1 has quit [Ping timeout: 256 seconds]
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
giuseppesolinas has quit [Remote host closed the connection]
BlackGear has quit [Max SendQ exceeded]
juanpaucar has joined #ruby
downwithbender has joined #ruby
MasterPiece has joined #ruby
dfinninger has joined #ruby
BlackGear has joined #ruby
hoov has quit [Ping timeout: 258 seconds]
BlackGear has quit [Max SendQ exceeded]
someguy has joined #ruby
momomomomo has joined #ruby
senayar has quit [Remote host closed the connection]
tvw has joined #ruby
psy has quit [Quit: Leaving]
senayar has joined #ruby
senayar has joined #ruby
sigurding has quit [Quit: sigurding]
lavros has joined #ruby
vtunka has quit [Quit: Leaving]
casadei has joined #ruby
That1Guy has quit [Ping timeout: 256 seconds]
BlackGear has joined #ruby
mtakkman has joined #ruby
Fluent has joined #ruby
BlackGear has quit [Max SendQ exceeded]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
sevenseacat has quit [Quit: Me dun like you no more.]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
withnale_ has joined #ruby
shuber_ has joined #ruby
tjbiddle has joined #ruby
BlackGear has joined #ruby
BlackGear has quit [Client Quit]
Obfuscate has quit [Ping timeout: 264 seconds]
SubjectiveBias has quit [Quit: leaving]
fabrice31_ has quit [Remote host closed the connection]
a13x212 has left #ruby [#ruby]
yfeldblum has quit [Remote host closed the connection]
huddy has quit [Quit: Connection closed for inactivity]
fabrice31 has joined #ruby
airdisa has quit []
<[k-> do you mean at the end or jit-compiler
rbennacer has quit [Read error: Connection reset by peer]
juanpaucar has quit [Remote host closed the connection]
dstarh has joined #ruby
<unshadow> jit-compiler, did any student picked to do it ?
scripore has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
umgrosscol has joined #ruby
shuber_ has quit [Ping timeout: 264 seconds]
malcolmva has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
thatslifeson has joined #ruby
scripore has quit [Client Quit]
<[k-> A lot of mentors and students hang out at the #rubygsoc channel on Bundler's Slack account. You can join in by filling your email in on this page.
<[k-> you could try asking there
<[k-> i have no idea
<[k-> there is also a list here
scripore has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
<[k-> there is a student
User458764 has joined #ruby
<[k-> it's just a framework tho
<[k-> not a real one
BlackGear has joined #ruby
taiansu has quit [Remote host closed the connection]
riotjones has joined #ruby
<unshadow> yeha... I was really hoping for the JIT or the Fine Graind locking (removing the GIL) to get in
taiansu has joined #ruby
mandarinkin has joined #ruby
<chrisseaton> Asking a GSOC student to produce a JIT is a pretty big ask
<unshadow> thats true
Illusioneer has quit [Ping timeout: 255 seconds]
devoldmx has joined #ruby
Bira has joined #ruby
nii236 has joined #ruby
Soda has quit [Remote host closed the connection]
riotjones has quit [Read error: No route to host]
<unshadow> Well, I'll keep my hopes in Rubinius and Crystal for better performance :)
sent1nel has joined #ruby
aspiers has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
banister has joined #ruby
msgodf has quit [Ping timeout: 255 seconds]
kaspernj has quit [Remote host closed the connection]
mtakkman has quit [Ping timeout: 244 seconds]
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
taiansu has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
<chrisseaton> unshadow: give Truffle a look as well
wpp has joined #ruby
nii236 has quit [Ping timeout: 276 seconds]
ascarter_ has joined #ruby
<chrisseaton> unshadow: for 43 benchmarks we run regularly we're generally an order of magnitude faster than Rubinius http://jruby.org/bench9000/
tubuliferous_ has quit [Ping timeout: 256 seconds]
malcolmva has joined #ruby
momomomomo has quit [Quit: momomomomo]
phexydelic has joined #ruby
centrx has joined #ruby
centrx has quit [Client Quit]
hectortrope has joined #ruby
momomomomo has joined #ruby
<atmosx> morning
thebatu1_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<atmosx> hm evening I meant.
<atmosx> anyway
livathinos has quit []
jackjackdripper has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
woodennails has joined #ruby
<woodennails> Hey guys, can any of you reccomend a book to get started learning Ruby?
yfeldblum has joined #ruby
<woodennails> if it helps i am already a front end Javascript developer
CloCkWeRX has joined #ruby
varunwachaspati has quit [Ping timeout: 256 seconds]
<toretore> woodennails: http://phrogz.net/programmingruby/
<GaryOak_> woodennails: do you want full on ruby or mostly rails?
<atmosx> woodennails: I was very pleased with "beginning ruby" second edition, but I think it's old now. Didn't get an update.
<woodennails> I think i would like to start with Ruby before I get into rails
<woodennails> would that be a good idea?
<GaryOak_> yeah!
<atmosx> woodennails: yes
charliesome has quit [Quit: zzz]
<woodennails> I am going for a job interview to become a ruby developer, They are aware i dont know Ruby and are willing to skill me up on it but thought I'd better get a head start
<adaedra> COngrats
<adaedra> s/O/o/
Illusioneer has joined #ruby
<atmosx> woodennails: ruby not rails? or by ruby you rails?
<adaedra> did you a word?
<woodennails> Nope, its a pure Ruby role, i asked them the same thing
gagrio has quit [Ping timeout: 264 seconds]
<atmosx> woodennails: rails is a framework full of methods (functions in ruby-world are called methods) to perform tasks that ruby doesn't have. On the other hand, by understanding how ruby 'works' it will be easy to get up to speed with rails and understand how inheritence, encapsulation, scopes and classes and instances work in rails.
arietis has quit [Quit: Leaving.]
conta has quit [Ping timeout: 250 seconds]
<atmosx> woodennails: hm, okay. I'd say, since you're going to be a pro, better buy the PickAxe book, latest edition.
Papierkorb has joined #ruby
<woodennails> Im just a little sick of doing front-end development, id rather worry about the data rather than the presentation
<atmosx> woodennails: it's not easy-to-follow book but it's a sort of a bible/reference. Also pretty much cryptic in some instances (I might add)
ReachingFarr has joined #ruby
<GaryOak_> woodennails: if you are more a visual learner, I'd try working through the book and work on a small project at the same time
* atmosx is the other way around
<atmosx> lol
<woodennails> ruby is a backend language right?
<woodennails> haha
einarj has quit [Remote host closed the connection]
<adaedra> there's opal :>
<GaryOak_> woodennails: also if you are familiar with OOP, that's a big hurdle out of the way
BlackGear has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<unshadow> chrisseaton, thanks ! i'll give it a try :)
<woodennails> I am, i dont get all the concepts, and sometimes i think it makes things more complicated but i have done it a lot yes
<izzol> Anyone is using Sinatra?
failshell has joined #ruby
<GaryOak_> izzol: yep
<ReachingFarr> I'm trying to write some unit tests for a tutorial. Each tutorial chapter re-defines some of the same classes and methods. This causes problems with Minitest as the old definitions are still visible when the test for a new chapter are started. Is there a way to solve this? Perhaps by having Minitest run each test case in a separate Ruby process?
<atmosx> ReachingFarr: isn't that a 'naming' issue? can't you rename your classes in order not to be re-defined? (by adding modules)
mistermocha has joined #ruby
<atmosx> izzol: yeah
<woodennails> So beginning ruby would be a good book yeah?
<woodennails> im looking for tutorials really to get up to scrath
<izzol> GaryOak_: I'm getting "no implicit conversion of Array into String" because of: address = params[:address]. I'm sending this to my gem which accepts only strings. I figure out that this params returns an array or strings. But when I change it to: address = params[:address].first I'm getting: undefined method `first'. So now I'm not sure what is wrong :P
mistermo_ has joined #ruby
Franciman has joined #ruby
<Franciman> Hi all
<atmosx> woodennails: it's good for non-programmers. For you, maybe this one https://pragprog.com/book/ruby4/programming-ruby-1-9-2-0 is better
<ReachingFarr> atmosx: That's an option, but I think it would decrease the clarity of the tutorials.
<Franciman> Where can I ask some questions about rugged library?
oldbones has quit [Ping timeout: 264 seconds]
oldbones has joined #ruby
failshell has quit [Ping timeout: 264 seconds]
<ReachingFarr> atmosx: It would also require a non-trivial amount of refactoring. I was hoping there was just a way to modify my Rakefile and get the desired behaviour.
slash_ni1k has joined #ruby
The_Phoenix has quit [Ping timeout: 255 seconds]
sigurding has joined #ruby
slash_ni1k has quit [Changing host]
slash_ni1k has joined #ruby
xjstin has joined #ruby
slash_nick has quit [Disconnected by services]
<atmosx> ReachingFarr: might be, I'm not sure. Try the ruby-ml if you don't find any answers here.
slash_ni1k is now known as slash_nick
justinxr- has quit [Ping timeout: 252 seconds]
xxneolithicxx has quit [Ping timeout: 255 seconds]
mandarinkin has quit [Ping timeout: 250 seconds]
mistermo_ has quit [Ping timeout: 272 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<izzol> GaryOak_: ok I fixed it. The problem was with the return :-)
yfeldblum has quit [Remote host closed the connection]
taiansu has joined #ruby
<GaryOak_> izzol: haha good, I was gone!
workmad3 has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
AxonetBE has joined #ruby
The_Phoenix has joined #ruby
Pathfinder has joined #ruby
Pathfinder has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
mandarinkin has joined #ruby
<Encapsulation> atmosx, we meet again xD
taiansu has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<GaryOak_> atmosx: you'd better learn Encapsulation or it will haunt you forever
ejnahc has quit [Ping timeout: 244 seconds]
The_Phoenix has joined #ruby
<adaedra> .
Hounddog has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
ejnahc has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Hounddog has joined #ruby
peteykun has joined #ruby
marr has joined #ruby
mandarinkin has quit [Ping timeout: 265 seconds]
The_Phoenix has joined #ruby
<atmosx> haha
The_Phoenix has quit [Max SendQ exceeded]
<shevy> adaedra are you spamming dots again
<adaedra> I'm not spamming
<adaedra> period.
terlar has quit [Ping timeout: 252 seconds]
<atmosx> izzol: params[:address].class
The_Phoenix has joined #ruby
yetone has joined #ruby
yetone has quit [Remote host closed the connection]
<atmosx> izzol: find out what kind of object your params[:address] is...
<zotherstupidguy> i never quite understood ||= , anyone care to explain this commit https://github.com/rack/rack/pull/834/files
bootstrappm has joined #ruby
alex88 has quit []
<shevy> ||= is also a shortcut
<shevy> x = y || z
<jhass> it makes sure that repeated calls to call call to_app only once
AxonetBE has quit [Quit: AxonetBE]
<shevy> repeated calls to call call!
momomomomo has quit [Quit: momomomomo]
<wpp> mostly used when to_app is "expensive"
<shevy> someone is calling jhass
some_user has quit [Ping timeout: 246 seconds]
<woodennails> Just a quick question for you guys too. Cant seem to find any new or recent tutorials on creating a rails api?
<zotherstupidguy> jhass so its a singleton object now?
ag4ve has quit [Ping timeout: 248 seconds]
<jhass> no
<atmosx> woodennails: API, like REST API?
<woodennails> Yeah
<woodennails> is that what Rails is mostly used for?
<zotherstupidguy> woodennails #rails
<woodennails> ah nice
<woodennails> thanks :D
<atmosx> woodennails: it's extremely easy, all you have to do is create a few roots (and set up some permissions... if needed)
paulcsmith has quit [Quit: Be back later ...]
<jhass> woodennails: #RubyOnRails actually
<atmosx> woodennails: it's easy to do with Sinatra too.
<atmosx> oh c'mon it was easy...
<woodennails> do you guys work doing ruby for a living then?
<atmosx> jhass knew the answer.
<woodennails> it seems to be quite niche
<woodennails> but i kinda like that
<atmosx> woodennails: I'm a pharmacist.
<atmosx> I don't code for a living. shevy is a kick-ass world-famous biologist. You can ask him about biomes, bacterias, yeasts...
<zotherstupidguy> woodennails: i'm a dancer
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* atmosx is looking a display for his RPi project for 2 days.
<woodennails> ah right
conta has joined #ruby
<woodennails> i assumed you would all do ruby for a living
<adaedra> I am the dancing queen ♪
<adaedra> er, oops
<adaedra> :)
mdarby has joined #ruby
<atmosx> woodennails: I get job offers to do that pretty regularaly (almost 1 every 3 to 4 months).
<atmosx> regularly..
thomcom has joined #ruby
<zotherstupidguy> atmosx please pass one of those offers, i am also a single-mom
<woodennails> ah nice, the reason i ask is, like im pretty sick of my front-end Javascript role, I find it much better doing backend stuff like API's... but i dont really know much about SQL and DB stuff.... so im kinda stuck between a rock and a hard place. At work they use php on the backend which i dont really like either
<atmosx> zotherstupidguy: easy, create a github repo. Put some code in it (preferably that doesn't suck too much) and you'reall set. If you create alinked profile I think you might conquer the world overnight.
Hijiri has quit [Quit: WeeChat 1.0.1]
<adaedra> It's so simple?
<atmosx> zotherstupidguy: the last one I've had was trying to recruit someone in Berlin
<atmosx> relocate..
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<zotherstupidguy> atmosx i dont knw rails.
Pathfinder has joined #ruby
<atmosx> adaedra: trutgh to be told, no idea. I never accepted any of them to really know *if* it's like the say it will.
<GaryOak_> I need to relocate, there are no jobs here!
<zotherstupidguy> atmosx its hard for single-moms who doesnt do rails
<adaedra> Note: put some (more) code on GitHub
<thomcom> hehe well learn rails
withnale_ has quit [Ping timeout: 272 seconds]
<GaryOak_> There's 4 universities in my area, and all the jobs in the city are for webdev!
<zotherstupidguy> thomcom i have dignity, i am not going to raise my child using such a huge codebase, i want my child to live in a world where simplicity and minimalism is key to happiness.
<thomcom> hahaha
<thomcom> I like you zotherstupidguy
<zotherstupidguy> thomcom ;)
conta has quit [Ping timeout: 256 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> 4 universities?
<adaedra> wow.
joonty has quit [Quit: joonty]
shuber_ has joined #ruby
maletor has joined #ruby
pdoherty has quit [Ping timeout: 265 seconds]
<atmosx> GaryOak_: then why dont' you do web0dev?
jenrzzz has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
rbennacer has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 244 seconds]
<GaryOak_> It's all front-end or using .NET!
icebourg has quit [Ping timeout: 264 seconds]
woodennails has quit [Quit: Textual IRC Client: www.textualapp.com]
momomomomo has joined #ruby
someguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
maletor has quit [Client Quit]
shuber_ has quit [Ping timeout: 272 seconds]
zzxc has quit [Ping timeout: 256 seconds]
maletor has joined #ruby
jmignault has joined #ruby
toretore has quit [Read error: Connection reset by peer]
toretore has joined #ruby
That1Guy has joined #ruby
_seanc_ has joined #ruby
momomomomo_ has joined #ruby
sent1nel has quit [Remote host closed the connection]
baweaver has joined #ruby
mandarinkin has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
phexydelic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xxneolithicxx has joined #ruby
zzxc has joined #ruby
peteykun has quit [Quit: Leaving]
Spami has joined #ruby
jmignault has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
towski_ has joined #ruby
gert7 has joined #ruby
Hounddog has quit [Read error: Connection reset by peer]
DEA7TH has quit [Ping timeout: 244 seconds]
mandarinkin has quit [Ping timeout: 252 seconds]
bricker has joined #ruby
JDiPierro has quit [Remote host closed the connection]
DEA7TH has joined #ruby
zzxc has quit [Ping timeout: 264 seconds]
zzxc_ has joined #ruby
TuxOtaku_ has joined #ruby
DaniG2k has quit [Quit: leaving]
_djbkd has joined #ruby
_seanc_ has quit [Quit: _seanc_]
rbennacer has joined #ruby
mdarby has quit [Remote host closed the connection]
troyready has joined #ruby
mdarby has joined #ruby
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TuxOtaku_ has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Ping timeout: 256 seconds]
airdisa has joined #ruby
enigma_ has joined #ruby
<enigma_> hi
<dudedudeman> hello
<enigma_> how is everyone
<enigma_> any uk ppl in here
wpp has quit []
kobain has joined #ruby
<dudedudeman> i can be from the UK if you need me to be
<dudedudeman> ayy, gon' get me some fish and chips mate
<enigma_> rofl
<shevy> no
shazaum has joined #ruby
<shevy> you must sing a song:
<enigma_> i get you 8 incher if you like that in your gob lol
<adaedra> dudedudeman: how's the rain?
<dudedudeman> "Ayyyyyy gon' get me fish and chippppssssss, mate"
<enigma_> ok
<enigma_> nee bother
<dudedudeman> lol
<dudedudeman> i wish i was from teh UK to help. you looking for rubyists over there?
<dudedudeman> i'm sure there are some in here, i just have no clue who
<atmosx> workmad3:
<atmosx> is from the UK
<enigma_> im from newcastle man
<enigma_> uk
<atmosx> enigma_: good for you
<adaedra> For assistance, dial 0118 999 881 99 9119 7253
<dudedudeman> YES
<dudedudeman> oh my god
* dudedudeman thinks adaedra is the best person ever
<enigma_> lol
<dudedudeman> ....3
<adaedra> so enigma_, got a ruby issue?
<enigma_> no my satelite system ok thank you
<Pathfinder> Lol...Anyone from Kenya?
<shevy> Pathfinder I don't think there are many hackers from Africa in general; there used to be a very few from south africa some years ago
c0m0 has quit [Ping timeout: 276 seconds]
rkazak_ has quit [Ping timeout: 240 seconds]
enigma_ has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
<GaryOak_> There's a lot of cool SMS based stuff from Africa
failshell has joined #ruby
MasterPiece has quit [Quit: Leaving]
<Pathfinder> shevy: There are A LOT of hackers in Kenya..more than SA in fact ...you should check out stuff like MPESA, USHAHIDI, BRCK etc
Brando753 has quit [Ping timeout: 265 seconds]
<Pathfinder> GaryOak_: yeah.....mostly USSD and Mobile Dev stuff is done here
mjmac has quit [Ping timeout: 265 seconds]
CorySimmons has joined #ruby
maletor has quit [Read error: Connection reset by peer]
<Pathfinder> then there is my most favourite local meetup https://nairobilug.or.ke/
senayar has quit []
mikecmpbll has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
kizzx2 has joined #ruby
polysics has quit []
Brando753 has joined #ruby
mjmac has joined #ruby
<GaryOak_> That's awesome, I need to go to the LUG in my city, but it's mostly old people talking about Slackware
<adaedra> Go there and ask what is their favorite systemd feature.
failshell has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
The_Phoenix has quit [Ping timeout: 256 seconds]
<Pathfinder> adaedra: is the question directed to me or GaryOak_
last_staff has quit [Quit: last_staff]
<adaedra> It's not a question, merely a joke, and it's directed to GaryOak_.
<adaedra> :)
<Pathfinder> Hahahaha....sorry about that ...cool thing is that almost all programmers here are below 35
<GaryOak_> It's mostly old white men talking about slackware, and I'm a young white man talking about Mint
The_Phoenix has joined #ruby
<adaedra> below 35?
<adaedra> seems fitting
The_Phoenix has quit [Max SendQ exceeded]
<adaedra> as long as they're over 13
<zotherstupidguy> hey, remmber a while back wanted to know who is in africa in here?
jmignault has joined #ruby
paulcsmith has joined #ruby
<adaedra> that's wascist.
<Pathfinder> adaedra: Hahahahaha
<Pathfinder> zotherstupidguy: where are you from?
claw has quit [Ping timeout: 265 seconds]
<adaedra> Pathfinder: mmh?
rbennacer has quit [Remote host closed the connection]
claw_ has joined #ruby
<zotherstupidguy> a place with pyramids
[k- has quit [Quit: Lingo: www.lingoirc.com]
<adaedra> The Louvre?
The_Phoenix has joined #ruby
<zotherstupidguy> lol, too glassy
<Pathfinder> Egypt
<zotherstupidguy> with help from a unix beerd i got this script workin https://gist.github.com/zotherstupidguy/766e4a2c0103a05af6c3
<zotherstupidguy> yup
<adaedra> Did you know the pyramids are bases for alien ships to land?
<zotherstupidguy> i am an alien
<adaedra> enjoying the place?
<zotherstupidguy> i am here for irc mostly
<adaedra> not a good reception from space I take?
arietis has joined #ruby
<zotherstupidguy> hey, so this script gets the ips, now using ruby we can geo locate them and using js we show a nice map with no of users and but it on the channel website, what you think?
<zotherstupidguy> put*
<Pathfinder> zotherstupidguy: BRILLIANT
<zotherstupidguy> i went this path as i was sad that there was no ruby conf in africa as fas i can tell!
<zotherstupidguy> wanna connect with more ruby devs nearby, israil is hot but its kinda difficult to go
<adaedra> There should be some of the at the other side of the Mediterranea
momomomomo_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<Pathfinder> zotherstupidguy: lol..but the data would be quite inaccurate based on guys who don't log in from their local computer and use vpns and remote vms
<adaedra> or however you write that in English
<Pathfinder> There was a rubyconf in kenya last week..though it was kind of a disappointment
<zotherstupidguy> Pathfinder ofcourse! but its jsut a figure
Illusioneer has quit [Ping timeout: 276 seconds]
<zotherstupidguy> stats always helpful even if not 100% accurate
<adaedra> Time to go get the train
scripore has joined #ruby
momomomomo has quit [Ping timeout: 272 seconds]
momomomomo_ is now known as momomomomo
<zotherstupidguy> nice!
<Pathfinder> adaedra: see yah...it's raining so bad here...flooded roads
<zotherstupidguy> Pathfinder so you are from kenya?
<adaedra> :/
<Pathfinder> zotherstupidguy: Yeah..Nairobi, Kenya
StevenXL has joined #ruby
<zotherstupidguy> Pathfinder nice meeting you :)
<Pathfinder> Nice to meet you too zotherstupidguy ..... lol... that Nick though :D
<zotherstupidguy> thx :)
Prysm has joined #ruby
Hijiri has joined #ruby
cjim_ has joined #ruby
mistermo_ has joined #ruby
fabrice31 has joined #ruby
mdarby has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
Zai00 has quit [Quit: Zai00]
DerisiveLogic has quit [Ping timeout: 272 seconds]
hectortrope has quit [Quit: WeeChat 0.4.2]
ag4ve_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
psy has joined #ruby
simpyll has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
conta has joined #ruby
krz has quit [Ping timeout: 256 seconds]
JDiPierro has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
twistedpixels is now known as zz_twistedpixels
juanpaucar has quit [Ping timeout: 256 seconds]
billy_ran_away has quit [Ping timeout: 256 seconds]
downwithbender is now known as hoov
varunwachaspati has joined #ruby
n008f4g_ has joined #ruby
zz_twistedpixels is now known as twistedpixels
bb010g has quit [Quit: Connection closed for inactivity]
mistermo_ has quit [Ping timeout: 264 seconds]
GaryOak_ has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
nii236 has joined #ruby
Rixius has joined #ruby
conta has quit [Ping timeout: 256 seconds]
moted has quit [Ping timeout: 246 seconds]
ki0_ has joined #ruby
jayeshsolanki has quit [Quit: bye!]
Illusioneer has joined #ruby
varunwachaspati has quit [Ping timeout: 256 seconds]
zzxc_ has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
shuber_ has joined #ruby
Stalkr_ has joined #ruby
iceden has joined #ruby
phexydelic has joined #ruby
mandarinkin has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
nii236 has quit [Ping timeout: 265 seconds]
ki0 has quit [Ping timeout: 272 seconds]
sent1nel has joined #ruby
ki0_ has quit [Ping timeout: 244 seconds]
NiVanc has joined #ruby
leafybas_ has joined #ruby
billy_ran_away has joined #ruby
shuber_ has quit [Ping timeout: 276 seconds]
mandarinkin has quit [Ping timeout: 258 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
andikr has joined #ruby
pgunnars has quit [Ping timeout: 246 seconds]
I has joined #ruby
leafybasil has quit [Ping timeout: 240 seconds]
I is now known as Guest75216
teflonton1985 has joined #ruby
Guest75216 has quit [Client Quit]
kirun has joined #ruby
dopiee has joined #ruby
leafybas_ has quit [Ping timeout: 250 seconds]
pdoherty has joined #ruby
tvw has quit [Remote host closed the connection]
phexydelic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chinmay_dd has quit []
dfinninger has quit [Remote host closed the connection]
hectortrope has joined #ruby
Eiam has joined #ruby
scripore has joined #ruby
arietis has quit [Quit: Leaving.]
scripore has quit [Client Quit]
billy_ran_away has quit [Ping timeout: 272 seconds]
tubuliferous has quit [Quit: ZNC - http://znc.in]
m8 has joined #ruby
noonius has joined #ruby
shuber_ has joined #ruby
dseitz has joined #ruby
_djbkd has quit [Remote host closed the connection]
mandarinkin has joined #ruby
TuxOtaku has quit [Read error: Connection reset by peer]
slash_ni1k has joined #ruby
rrichardsr3 has joined #ruby
ag4ve_ has quit [Quit: Lost terminal]
zzxc has joined #ruby
_djbkd has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.1.1]
dopiee has left #ruby ["Leaving"]
dopiee has joined #ruby
dopiee has left #ruby [#ruby]
arietis has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dopie has joined #ruby
dumdedum has quit [Quit: foo]
thumpba has joined #ruby
rbennacer has joined #ruby
lxsameer has joined #ruby
j0n3 has joined #ruby
luksaur has joined #ruby
CorySimmons has quit [Quit: Bye!]
User458764 has joined #ruby
justinxr- has joined #ruby
kinduff has joined #ruby
xjstin has quit [Ping timeout: 252 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
bluOxigen has left #ruby [#ruby]
thumpba has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
zacts has joined #ruby
noonius has quit [Quit: noonius]
kizzx2 has quit [Quit: Leaving.]
thumpba_ has joined #ruby
sinkensabe has joined #ruby
workerB has joined #ruby
teflonton1985 has quit [Ping timeout: 244 seconds]
finnnnnnnnnnn has joined #ruby
kalusn has joined #ruby
thumpba has quit [Ping timeout: 264 seconds]
lavros has quit [Quit: leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Eiam_ has joined #ruby
iamninja_ has joined #ruby
sent1nel has quit [Remote host closed the connection]
mdw has quit [Ping timeout: 256 seconds]
dfinninger has joined #ruby
quimrstorres has quit [Remote host closed the connection]
jerius has quit [Quit: /quit]
zotherstupidguy has left #ruby [#ruby]
zotherstupidguy has joined #ruby
scripore has joined #ruby
jerius has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Remote host closed the connection]
snockerton has quit [Quit: Leaving.]
scripore has quit [Client Quit]
thatslifeson has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
iamninja_ has quit [Ping timeout: 246 seconds]
tyfighter has joined #ruby
sent1nel has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
snockerton has joined #ruby
scripore has joined #ruby
sinkensabe has joined #ruby
scripore has quit [Client Quit]
Encapsulation has quit [Ping timeout: 265 seconds]
konsolebox has quit [Quit: Leaving]
sinkensabe has quit [Remote host closed the connection]
mistermo_ has joined #ruby
A205B064 has joined #ruby
djellemah has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
qwertme has joined #ruby
scripore has joined #ruby
tomatoooo has joined #ruby
tvw has joined #ruby
Hijiri has joined #ruby
nii236 has joined #ruby
mistermo_ has quit [Ping timeout: 256 seconds]
Igorshp has quit [Remote host closed the connection]
Encapsulation has joined #ruby
aspiers has joined #ruby
baweaver has joined #ruby
nii236 has quit [Ping timeout: 255 seconds]
SuperTaz_ has joined #ruby
SuperTaz has quit [Ping timeout: 256 seconds]
sigurding has joined #ruby
jgt1 has quit [Ping timeout: 276 seconds]
wildroman2 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
barkerd427 is now known as zz_barkerd427
baroquebobcat has joined #ruby
ane_ has joined #ruby
tomatoooo has left #ruby ["Leaving"]
vickleton has joined #ruby
Spami has joined #ruby
vickleton has quit [Read error: Connection reset by peer]
vickleton has joined #ruby
Illusioneer has quit [Ping timeout: 245 seconds]
pwattstbd has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
rdark has quit [Quit: leaving]
daynaskully has quit [Quit: quit]
slash_ni1k has quit [Changing host]
slash_ni1k has joined #ruby
slash_nick has quit [Disconnected by services]
slash_ni1k is now known as slash_nick
rawrmonstar has joined #ruby
nateberkopec has joined #ruby
The_Phoenix has quit [Ping timeout: 250 seconds]
timonv has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
gluten_hell_ has joined #ruby
pwattstbd has quit [Client Quit]
sinkensabe has joined #ruby
digifiv5e has joined #ruby
joelataylor has joined #ruby
mwlang has joined #ruby
cwro has joined #ruby
blackmesa has joined #ruby
itouchthings has joined #ruby
failshell has joined #ruby
mandarinkin has quit [Ping timeout: 276 seconds]
tyfighter has quit [Quit: tyfighter]
grixis has joined #ruby
<grixis> Do you know what “regex do |var|” means?
sinkensabe has quit [Remote host closed the connection]
bMalum has joined #ruby
<Fluent> regex.each ?
<Fluent> or just regex
itouchthings has quit [Ping timeout: 272 seconds]
Nieralyte has joined #ruby
AxonetBE has joined #ruby
<Fluent> Probably just iterates a list of regular expressions
<Fluent> Using that to filter/find some content
failshell has quit [Ping timeout: 256 seconds]
<grixis> There is no .each
<grixis> Given /^I load(?: the)? "([^"]*)" level$/ do |name|
Illusioneer has joined #ruby
ebbflowgo has joined #ruby
<GaryOak_> grixis: that's in the context of cucumber tests
<grixis> Correct, I’m trying to understand what it does
<GaryOak_> well with cucumber, it looks in your feature for a matching scenario and will run that scenario
yeticry has quit [Quit: leaving]
<grixis> what does “do |var|” do?
<Fluent> Probably what is sounds like it does
<Xeago> grixis: do starts a block
momomomomo has quit [Quit: momomomomo]
andikr has quit [Ping timeout: 245 seconds]
<Xeago> || denotes arguments and var is the first argument the block receives
baweaver has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
zzing has joined #ruby
doodlehaus has joined #ruby
<grixis> Ah thanks
creakybones has joined #ruby
Xeago has joined #ruby
grixis has quit [Quit: grixis]
pdoherty has joined #ruby
<Fluent> => /force/.match('force-field') { |r| puts r }
andikr has joined #ruby
hololeap has joined #ruby
justinweiss has quit [Ping timeout: 252 seconds]
<hololeap> >> false ? nil : puts 'foo'
<ruboto> hololeap # => /tmp/execpad-ac2d553fafbf/source-ac2d553fafbf:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/366872)
bMalum has quit [Quit: bMalum]
justinweiss has joined #ruby
<hololeap> could someone please explain to me why this needs to be written like `false ? nil : puts('foo')` ?
<jhass> because precedence rules
sinkensabe has joined #ruby
<Fluent> >> puts false ? nil : 'foo'
<ruboto> Fluent # => foo ...check link for more (https://eval.in/366873)
_blizzy_ has joined #ruby
<Fluent> It doesn't really
<jhass> this looks like control flow with ternary, don't, use a full if/else
jmignault has quit [Quit: Textual IRC Client: www.textualapp.com]
<toretore> it is parsed as (false ? nil : puts) 'foo'
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leafybasil has joined #ruby
<hololeap> it's just an example to make my point
<hololeap> toretore: ok that makes sense
Mohan_ has joined #ruby
sent1nel has quit [Remote host closed the connection]
bMalum has joined #ruby
<hololeap> i'm looking at a table of operator precedence and it says its evaluated right-to-left, so i figured that anything to the left of : would be taken as a single statement
ane_ has left #ruby ["Leaving"]
<hololeap> but obviously that's not true
digifiv5e is now known as daynaskully
<Fluent> please excuse my dear aunt sally
postmodern has joined #ruby
<hololeap> sometimes its confusing having the option to put a space instead of parenthesis
<postmodern> what is the defacto library for promises/futures?
kinduff has quit [Ping timeout: 256 seconds]
SuperTaz_ has quit [Read error: Connection reset by peer]
<toretore> there isn't any
That1Guy has joined #ruby
SuperTaz_ has joined #ruby
<GaryOak_> postmodern: if you need a bunch of it, you can use celluloid or eventmachine
mistermocha has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
<GaryOak_> I was gonna ask the same question, trying to return a function before a thread inside of it finishes
juanpaucar has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
nfk|laptop has joined #ruby
ArchRogem has joined #ruby
MasterPiece has joined #ruby
sinkensabe has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 256 seconds]
shazaum_ has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
al2o3-cr has joined #ruby
sandelius has joined #ruby
sinkensabe has joined #ruby
arietis1 has joined #ruby
renanoronfle has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
ArchRogem has quit [Client Quit]
shazaum has quit [Ping timeout: 272 seconds]
RegulationD has quit [Remote host closed the connection]
emilkarl has joined #ruby
juanpaucar has quit [Ping timeout: 276 seconds]
duderonomy has joined #ruby
arietis has quit [Ping timeout: 258 seconds]
<Eiam> hmm, is there a way to have thin listen on multiple ports at once?
<Eiam> like from the same bundle exec thin start <port1> <port2>
<jhass> oO the TCP socket is your bottleneck?
snockerton has quit [Read error: Connection reset by peer]
snockerton has joined #ruby
<hololeap> Eiam: you could use firewall rules for that
<Eiam> jhass: no, requests that come in via a different port need a slight pre-process to them is all
AxonetBE has quit [Quit: AxonetBE]
<Eiam> and I'd rather not just spin up another instance in the proc file just for that minor difference
<toretore> hololeap: re: syntax; when in doubt, add parentheses
blackmesa has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<jhass> mh, unicorn can listen to multiple sockets, don't see anything for that in thin, maybe you can multiple of these in the same process: https://github.com/macournoyer/thin/blob/master/lib/thin/server.rb#L34
sinkensabe has quit [Remote host closed the connection]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> but I'd consider a middleware/reverse proxy as separate process personally
<jhass> that normalizes one into the other
krz has joined #ruby
<hololeap> toretore: i'm reading up on operator precedence, and i see that any operator takes precedence over a method call (without spaces). that is going to help me a lot in the future
That1Guy has joined #ruby
<hololeap> *without parentheses
<toretore> hololeap: i don't even bother learning about the less obvious stuff, i just add parens
doertedev has quit [Ping timeout: 272 seconds]
<hololeap> still, it's good to know
<Eiam> jhass: hmm. right now I have rack middleware do the pre procesing
<toretore> even for arithmetic operators
<Eiam> jhass: but the reverse proxy won't let certain requests into the middleware unless they are authenticated first, and my whole thing is I've setup another listener to bypass the auth check on the outer wall
<Eiam> hrm
<Eiam> guess ill have to just setup another instance
hoov has quit []
baweaver has joined #ruby
<jhass> Eiam: how about you let your reverse proxy set a custom header that your rack middleware detects?
kirun has quit [Quit: Client exiting]
<Eiam> yeah thats effectively what im after
<jhass> if the other connection is trusted
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
Cust0sLim3n has joined #ruby
conta has joined #ruby
<Eiam> hmm. seeing if thats possible. (I don't control the reverse proxy, im just behind it)
bb010g has joined #ruby
krz has quit [Ping timeout: 246 seconds]
swgillespie has joined #ruby
<jhass> or you check client ip?
slash_nick has quit [Ping timeout: 250 seconds]
Franciman has quit [Ping timeout: 272 seconds]
<arietis1> hey guys, anyone wants to help me figure out what's wrong with this issue? https://github.com/tenderlove/dnssd/issues/18
arietis1 is now known as arietis
slash_nick has joined #ruby
greenbagels has joined #ruby
conta has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
ki0 has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
aryaching_ has joined #ruby
d10n-work has joined #ruby
<arietis> here at line 152 it looks like always true, no? https://github.com/tenderlove/dnssd/blob/master/lib/dnssd/service.rb
<postmodern> GaryOak_, yeah not doing full on concurrency, just multi-threaded logic where one thread needs the return value from another thread
jerius has quit [Quit: /quit]
<GaryOak_> postmodern: ah if that's the case you might be able to do a simple thread join
aryaching has quit [Ping timeout: 246 seconds]
<GaryOak_> eh maybe not lol
serivich has joined #ruby
jerius has joined #ruby
<toretore> no, exactly that
<toretore> it's what it's for
<toretore> or #value that is
ki0 has quit [Ping timeout: 258 seconds]
<toretore> class Promise; def initialize(t); @t=t; end; def value; t.value; end; end
_djbkd has quit [Remote host closed the connection]
Bira has quit []
<toretore> def async_method; Promise.new(Thread.new{ do_some_work }); end
slash_nick has quit [Ping timeout: 256 seconds]
<toretore> or just return the thread
shortdudey123 has quit [Max SendQ exceeded]
al2o3-cr has quit [Quit: WeeChat 1.1.1]
shortdudey123 has joined #ruby
al2o3-cr has joined #ruby
<GaryOak_> toretore: that's not really a promise, although returning the thread would be a promise, and then calling join on the thread somewhere else
djbkd_ has joined #ruby
<Eiam> hmm; where do resque workers start, like path wise?
<GaryOak_> but I don't know if ruby would kill the thread once the function is over
<postmodern> toretore, neat!
<Eiam> having odd problems with specifying paths in dev vs production
<jhass> Eiam: you mean what working directory they get?
<Eiam> yeah
<GaryOak_> Eiam: they start where you start them from
<jhass> then ^
<Eiam> worker: TERM_CHILD=1 bundle exec resque-pool
<jhass> whatever the process working directory is that spawns them
<GaryOak_> Eiam: you have to pass a path into them or setup a conf for resque to specify another path
<toretore> GaryOak_: what's the difference? it's exatly the same thing
<Eiam> okay; whats the default then?
<Eiam> (I didn't specify anything?)
scripore has joined #ruby
baweaver has joined #ruby
cosmicexplorer has joined #ruby
<jhass> Eiam: read up, whatever the working directory of the process is that spawns them
Jonah11_ has joined #ruby
<GaryOak_> toretore: ahh sweet I didn't know about the value function
P1RATEZ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<Eiam> I see
<Eiam> thanks GaryOak_, jhass
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baroquebobcat has quit [Ping timeout: 245 seconds]
mistermocha has joined #ruby
endash has joined #ruby
itouchthings has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
willgorman is now known as willgorman|away
al2o3-cr has quit [Quit: WeeChat 1.2]
kinduff has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
Nieralyte has quit [Quit: Nieralyte]
sent1nel has joined #ruby
al2o3-cr has joined #ruby
sinkensabe has joined #ruby
chipotle has joined #ruby
coppolgat has joined #ruby
<coppolgat> #multisala
mistermocha has quit [Ping timeout: 256 seconds]
<jhass> ?
itouchthings has quit [Ping timeout: 276 seconds]
frem has joined #ruby
redlegion has joined #ruby
<mwlang> wow, where the heck has gitlab been hiding? This is a nice suite of tools for self-hosting git repos and doing continuous integration!
thargor has joined #ruby
thargor is now known as alb_thargor
serivich has quit [Ping timeout: 255 seconds]
<zotherstupidguy> mwlang it been around for a long time!
banister has joined #ruby
greenbagels has quit [Quit: Leaving]
sinkensabe has quit [Remote host closed the connection]
<Eiam> yep
<Eiam> I use it every day, super happy with it
<mwlang> zotherstupidguy: yeah, I saw from the commit history…I think I probably checked it out 3 or 4 years ago but it was too rough around the corners back then.
momomomomo has joined #ruby
OrbitalKitten has joined #ruby
<Eiam> actually once even used gitlab comments & issues as a backing database for a moderately sized project; worked surprisingly well
yfeldblum has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
havenwood has joined #ruby
<zotherstupidguy> Eiam thats creative, git can be abused in a number of ways! its a well-built tool
* zotherstupidguy chillin with https://www.youtube.com/watch?v=2gwmTOdga24 waiting for food
sinkensabe has joined #ruby
<mwlang> I was able to set up a server, ci, and runner all one one box and experiment a bit this morning. the idea of a backing database of issues, comments, and even wiki is what got me looking at it because I want to make my consulting website more client oriented and give them an all in one place view on their projects and work progress.
sinkensabe has quit [Remote host closed the connection]
<toretore> wow, i didn't expect it to be such a blatant knockoff of github
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zotherstupidguy> github setup a lot of conventions :)
<coppolgat> !lista
<jhass> coppolgat: can we help you in any way?
That1Guy has joined #ruby
bMalum has quit [Quit: bMalum]
willgorman|away is now known as willgorman
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has joined #ruby
kinduff has quit [Ping timeout: 255 seconds]
<GaryOak_> coppolgat: let us help you!
<mwlang> one thing about gitlab is they did the whole “omnibus installation” thing extremely well and it was something I was looking for an exemplar example of how to do such for firewall management app I’m working on (think shorewall on steroids)
sinkensabe has joined #ruby
jtdowney_ has joined #ruby
<mwlang> not crazy excited about seeing chef as I want to use ansible, but the general organization and flow of it all is spot on.
<alb_thargor> Hi, I would expect the following to be trivial in ruby, but haven't found a solution yet
<alb_thargor> how can I check if a name is defined in ruby and circumvent "NameError: undefined local variable or method" (context: rails, active_admin, sometimes the name is provided by the framework sometimes not)
<hoelzro> alb_thargor: defined
jtdowney has quit [Disconnected by services]
<hoelzro> er, defined?
jtdowney_ is now known as jtdowney
sinkensabe has quit [Remote host closed the connection]
bMalum has joined #ruby
<GaryOak_> hoelzro: defined? lol
<hoelzro> GaryOak_: what's funny about defined?
<jhass> alb_thargor: so it's in a template?
<GaryOak_> hoelzro: nothing
treehug88 has quit [Ping timeout: 272 seconds]
<alb_thargor> hoelzpro: jhass: wow thanks for the fast repsonses
<alb_thargor> just for my understanding, method_missing x is only called if defined? x is false?
treehug88 has joined #ruby
kadoppe has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
kadoppe has joined #ruby
<cosmicfires> is it possible to make a hash containing hases?
redlegion has quit [Ping timeout: 276 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
jackjackdripper has quit [Quit: Leaving.]
bMalum has quit [Quit: bMalum]
<toretore> a hash can contain any object that responds to "hash"
<toretore> which includes instances of Hash
<cosmicfires> thanks
andikr has quit [Remote host closed the connection]
michaeldeol has joined #ruby
<hoelzro> alb_thargor: I believe it's respond_to?
<yxhuvud> toretore: hmm. what are the objects that doesn't?
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<toretore> yxhuvud: not sure, BasicObject maybe?
bMalum has joined #ruby
quimrstorres has joined #ruby
<toretore> nope, it too has a #hash
sinkensabe has quit [Ping timeout: 252 seconds]
<yxhuvud> the class has, not instances of it
sinkensabe has joined #ruby
<toretore> looks like it's aliased
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
<yxhuvud> >> BasicObject.new.hash
<ruboto> yxhuvud # => undefined method `hash' for #<BasicObject:0x40504340> (NoMethodError) ...check link for more (https://eval.in/366886)
<toretore> hm
<toretore> i guess you're right, rdoc is wrong
<baweaver> How's that relevant to the initial question though?
<baweaver> >> {a: {b: {c: 1}}}
<ruboto> baweaver # => {:a=>{:b=>{:c=>1}}} (https://eval.in/366887)
<toretore> it's not
<baweaver> >> {a: {b: {c: BasicObject.new}}}
<ruboto> baweaver # => /tmp/execpad-a83bc6e40e9f/source-a83bc6e40e9f:1:in `inspect': undefined method `inspect' for #<Basic ...check link for more (https://eval.in/366888)
sinkensabe has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
<yxhuvud> >> {BasicObject.new => 42}
<ruboto> yxhuvud # => undefined method `hash' for #<BasicObject:0x40ea0214> (NoMethodError) ...check link for more (https://eval.in/366889)
momomomomo_ has joined #ruby
<alb_thargor> hoelzro: so defined? is for checking if a name is defined in the scope and respond_to? is used to check if there is a defined method?
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
<toretore> alb_thargor: you should specify what it is you're trying to achieve
Obfuscate has joined #ruby
<toretore> as you've noticed, "checking if a name is defined" can mean many things
mistermo_ has joined #ruby
<alb_thargor> toretore: I already achieved what I wanted with defined?, now I am just trying to understand the different methods better
<jhass> alb_thargor: first of all, do you check for a variable or a method?
<jhass> and where? in a template? in a subclass? in ...?
kinduff has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
<alb_thargor> currently in a block
<toretore> this is the information superhighway, we expect some information
iamjarvo has joined #ruby
<alb_thargor> and I don't know whether it is a variable or a method (although I could look it up)
phexydelic has joined #ruby
nii236 has joined #ruby
phexydelic has quit [Client Quit]
<alb_thargor> Is there any good reference that explains both method and scope resolution in ruby?
<toretore> unless you're doing something weird, it's a method
Hijiri has joined #ruby
<toretore> if it's a variable, you'll see it written in your cod
<toretore> e
<toretore> *local variable
mistermo_ has quit [Ping timeout: 256 seconds]
blaines has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxrbyte has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 256 seconds]
bigmac has quit [Ping timeout: 246 seconds]
nii236 has quit [Ping timeout: 272 seconds]
kinduff has quit [Ping timeout: 258 seconds]
haxrbyte has joined #ruby
<joelataylor> quick question: string interpolation vs sprintf - reasons why one way is better than the other?
Guest24 is now known as lele
sent1nel has quit [Remote host closed the connection]
<toretore> they have different uses
<waxjar> jolataylor they're not equivalent, sprintf does a lot more
<waxjar> if you need string interpolation, use string interpolation
<waxjar> if you need fancy sprintf stuff, use sprintf
iasoon has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
dorei has joined #ruby
cosmicexplorer has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
turtil has joined #ruby
wallerdev has joined #ruby
cosmicexplorer has joined #ruby
turtil has quit [Client Quit]
rrichardsr3 has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
<shevy> waxjar let's marry
gert7 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
yqt has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
arietis has quit [Quit: Leaving.]
jgt1 has joined #ruby
nym has joined #ruby
sinkensabe has joined #ruby
momomomomo has quit [Quit: momomomomo]
creakybones has quit [Changing host]
creakybones has joined #ruby
baweaver has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Zai00 has joined #ruby
failshell has joined #ruby
itouchthings has joined #ruby
<zenspider> rawr
* jhass still prefers String#% over sprintf
nunayerBeezwax has joined #ruby
sinkensabe has quit [Remote host closed the connection]
devramen has joined #ruby
<waxjar> shevy: only if you promise to stop mentioning php so much :p
<zenspider> idgi. sprintf isn't even comparable to String#% (or interpolation)
reinaldob has quit [Remote host closed the connection]
<zenspider> n/m. I need coffee...
fmcgeough has quit [Quit: fmcgeough]
HotCoder has quit [Ping timeout: 256 seconds]
<zenspider> wow. I need coffee.
<havenwood> Coffee! \o/
<adaedra> zenspider % coffee
<zenspider> => NoMethodError
mistermocha has joined #ruby
sigurding has quit [Quit: sigurding]
<adaedra> :I
turtil has joined #ruby
<zenspider> apparently my brain isn't reading "s"s, even if I type them
itouchthings has quit [Ping timeout: 244 seconds]
<jhass> def zenspider.%(*args); ZenspiderIntrinsics.mouth(*args); end;
<zenspider> may brain: "idgi. printf isn't even comparable to String#% (or interpolation)"
failshell has quit [Ping timeout: 265 seconds]
<zenspider> may -> my. damnit
<zenspider> ok. another double shot. brb
<shevy> may brain... july brain... june brain ... wake up brain!
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: emilkarl]
<shevy> june comes before july, so my order is also wrong :\
codecop has quit [Remote host closed the connection]
yeticry has joined #ruby
Synthead has quit [Ping timeout: 244 seconds]
<zenspider> we'll see if that helps
thebastl has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
JoshGlzBrk has joined #ruby
agent_white has joined #ruby
qwertme has joined #ruby
spider-mario has joined #ruby
sinkensabe has joined #ruby
coppolgat has quit [Quit: AndroidIrc Disconnecting]
aryaching_ has quit [Ping timeout: 265 seconds]
whatupyo has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jonah11_ has quit [Remote host closed the connection]
HotCoder has joined #ruby
Beamed has joined #ruby
haxrbyte_ has joined #ruby
fabrice31 has joined #ruby
juanpaucar has joined #ruby
phutchins has joined #ruby
cosmicexplorer has quit [Remote host closed the connection]
slash_nick has joined #ruby
haxrbyte has quit [Ping timeout: 255 seconds]
goodcodeguy has joined #ruby
NiVanc has quit [Ping timeout: 265 seconds]
dpatel has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
Mia has quit [Read error: Connection reset by peer]
juanpaucar has quit [Ping timeout: 272 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
superscott[8] has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 250 seconds]
iamninja_ has joined #ruby
zz_barkerd427 is now known as barkerd427
x1337807x has joined #ruby
Beamed is now known as beamed_down
iasoon has joined #ruby
multi_io has quit [Ping timeout: 258 seconds]
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
bMalum has quit [Quit: bMalum]
multi_io has joined #ruby
bMalum has joined #ruby
maletor has joined #ruby
workmad3 has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
jenrzzz has joined #ruby
quimrstorres has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
gizless has joined #ruby
GaryOak_ has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
shazaum_ has quit [Quit: Leaving]
quimrstorres has joined #ruby
JDiPierro has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xjstin has joined #ruby
speakingcode has quit [Ping timeout: 272 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
justinxr- has quit [Ping timeout: 252 seconds]
speakingcode has joined #ruby
Hijiri has joined #ruby
bmurt has quit []
quimrstorres has quit [Ping timeout: 276 seconds]
timonv has quit [Ping timeout: 252 seconds]
zotherstupidguy has quit [Ping timeout: 272 seconds]
conta has joined #ruby
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
zotherstupidguy has joined #ruby
wildroman2 has quit [Remote host closed the connection]
endash has quit [Quit: endash]
quimrstorres has joined #ruby
dpatel has quit [Quit: dpatel]
decoponio has quit [Quit: Leaving...]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has quit [Quit: Leaving]
conta has quit [Ping timeout: 255 seconds]
<Senjai> Good day #ruby
<havenwood> Senjai: g'day
antgel has quit [Ping timeout: 276 seconds]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pathfinder has quit [Ping timeout: 256 seconds]
noonius has joined #ruby
<dudedudeman> aloha
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has joined #ruby
<GaryOak_> Guten Tag
<adaedra> Bonjour
ravenreborn has joined #ruby
deric_skibotn has joined #ruby
<GaryOak_> Muy Bien
rbennacer has quit [Ping timeout: 250 seconds]
failshell has joined #ruby
<dudedudeman> hello
swgillespie has joined #ruby
<shevy> I am confused
<shevy> can I fetch the official ruby-source (in a .tar.xz) and compile this on windows?
ELLIOTTCABLE is now known as ec
pandaant has quit [Remote host closed the connection]
Rickmasta has joined #ruby
<adaedra> I think so
ravenreborn is now known as anarcode
Jonah11_ has joined #ruby
sent1nel has quit [Ping timeout: 258 seconds]
bMalum has quit [Quit: bMalum]
agent_white has quit [Quit: be back later]
<wasamasa> not like you'd want to
anarcode is now known as thedoctor
<dudedudeman> vm that junk
thedoctor is now known as firebird
meph has joined #ruby
firebird is now known as Guest67252
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest67252 is now known as anarcode
mahlon_ is now known as mahlon
failshell has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
sent1nel has joined #ruby
<anarcode> Hi guys. I'm doing an on site interview with a company that uses Ruby on Rails. I have a degree in Comp Sci. What's the best way to learn Ruby for theis purpose?
<zenspider> write code
<dudedudeman> make sure you go hang out with the #rubyonrails guys!
<zenspider> lots of it
JaTochNietDan has quit [Ping timeout: 272 seconds]
<GaryOak_> and lots of it
<dudedudeman> anarcode: do you know anyone who could maybe sit down and do a mock interview with you?
<anarcode> Well I've already passed the fizz buzz and higher technical stages. I'd just like to prepare my knowledge of their stack because I'm getting to the point where I might become a member of their team.
<hoelzro> anarcode: you should probably think of how you can demonstrate that you know how to reason about problems and can learn new things than trying to cram learn Rails
<dudedudeman> a personal project would be good for that
haxrbyte_ has quit [Read error: Connection reset by peer]
jerius has quit [Quit: /quit]
<anarcode> How about a graphical 2048 solver (better than brute force)? Would that be an appropriate project?
blackmesa has joined #ruby
<anarcode> I mean, not exactly what the company does, but I feel like it would give me a pretty good intro to Ruby on Rails
mrj has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noonius has quit [Quit: noonius]
That1Guy has quit [Remote host closed the connection]
<adaedra> That'd be a lot of front-side code, no?
<havenwood> anarcode: Is it more important for you to show Ruby or Rails proficiency? Both?
JaTochNietDan has joined #ruby
DEA7TH has quit [Ping timeout: 272 seconds]
<dudedudeman> i mean, yeah, you could do that, and use rails to build a web framework around it and make it a web app. if you like front-end stuff as well
ych_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
That1Guy has joined #ruby
<anarcode> havenwood: I thought Rails was just an MVC framework for Ruby?
slash_nick has quit [Ping timeout: 258 seconds]
<shevy> havenwood thanks
Jonah11_ has quit []
FernandoBasso has joined #ruby
werelivi_ has quit [Remote host closed the connection]
Renich has joined #ruby
<anarcode> Well so it's a web framework as well. I'm going to look more into the specifics of these tools. I guess I'm still not sure how their stack fits together.
quimrstorres has joined #ruby
sent1nel has quit [Ping timeout: 244 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SouL_|_ has quit [Ping timeout: 264 seconds]
<havenwood> anarcode: Rails is by far the most monolithic of the Rack adapters so it covers a lot, see: https://dgosxlrnzhofi.cloudfront.net/custom_page_images/64/page_images/Rails_Competencies.png?1386276348
<shevy> you could use ruby without rails too :>
<zenspider> ARGh. anyone have experience debugging drb issues on the server side?
HotCoder has quit [Ping timeout: 272 seconds]
<zenspider> my client is blowing up with `DRb::DRbConnError: DRb::DRbServerNotFound` which is a lie
rickybobby88 has joined #ruby
rickybobby88 has left #ruby [#ruby]
mary5030 has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
doodlehaus has quit [Remote host closed the connection]
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
anew has joined #ruby
rawrmonstar has joined #ruby
<anew> i installed ruby with gem bundle install
<anew> but when i do rails s
<anew> i get an error
maciejczyzewski has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
maciejczyzewski has quit [Client Quit]
<jhass> bin/rails s / bundle exec rails s
<GaryOak_> zenspider: did you have the server running?
iamjarvo has quit [Client Quit]
<anarcode> havenwood: that territory covered by that graphic is vast. I have a good chunk of it under my belt.
<havenwood> anarcode: Nice, then you'll probably be in good shape.
arietis has joined #ruby
<anarcode> Seeing as how they also have AngularJS listed on their stack I'm going to try and jump in with this tutorial: http://angular-rails.com/
turtil has quit [Quit: WeeChat 1.2]
marlon_ has joined #ruby
<marlon_> hello everyone
<marlon_> i'm getting this error
<ruboto> marlon_, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/1af2462bcf6b73294011
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
ebbflowgo has joined #ruby
<marlon_> any idea how to go about fixing it?
<jhass> marlon_: do you have a Gemfile?
<anew> please can anyone help
arietis has quit [Client Quit]
<jhass> anew: scroll up, I answered you already
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has joined #ruby
<marlon_> yes
<marlon_> one second
<jhass> marlon_: no need to show it
<jhass> marlon_: try bundle exec knife google
turkeylegs has joined #ruby
* GaryOak_ declares jhass King of the `bundle exec`
<jhass> I totally am
turkeylegs has left #ruby [#ruby]
<marlon_> ok
<marlon_> one second
<marlon_> jhass: holy crap that worked
nii236 has joined #ruby
<marlon_> jhass: can you please explain how this all gets together here
workmad3 has quit [Ping timeout: 255 seconds]
<marlon_> jhass: and how I can get to knife google without this nightmare?
<jhass> bundler modifies Ruby's $LOAD_PATH so it contains only gems specified by your Gemfile (well, the .lock)
bigsky_ has quit [Read error: Connection reset by peer]
<havenwood> Mm, that reminds me I still need to pull request this proposed update o the Bundler logo: https://i.imgur.com/9P4SpWl.png
<marlon_> jhass: how do I fix this?
benlieb has quit [Quit: Leaving]
<jhass> marlon_: alias bknife="bundle exec knife" and be done with it
<baweaver> havenwood: SFW?
<havenwood> baweaver: yes
<marlon_> jhass: seriously?
<jhass> marlon_: by using bundle exec, it's the proper solution
rawrmonstar has joined #ruby
DerisiveLogic has joined #ruby
<anew> jhass permission denied with that, i cant sudo on this
<jhass> anew: why would you ever sudo rails s anyway
<jhass> ?root
<ruboto> General advise in system administration: do not and that means never use sudo or root to "fix" things. Only use it if you exactly know why it would work and why it wouldn't work under any circumstances as normal user. Or if you're told to do it.
<GaryOak_> Is there a python virtualenv style solution for ruby, or did everyone decide that was bad?
<havenwood> GaryOak_: We just use chruby.
<adaedra> Good night #ruby, have sweet dreams
<jhass> GaryOak_: and bundler
alb_thargor has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
<anew> jhass i dont have permission do that
<GaryOak_> lol that's what I use
<jhass> anew: to do what anyway?
marlon_ has left #ruby ["Leaving"]
lxsameer has quit [Quit: Leaving]
<anew> bin/rails s / bundle exec rails s
<anew> 'permission denied'
<zenspider> GaryOak_: yes, running. I think I just figured it out. it was trying to send across an exception that was holding an exception that was holding an array of bindings... that last part causes serialization to blow up
nii236 has quit [Ping timeout: 250 seconds]
<jhass> anew: is that the full output?
<anew> -bash: bin/rails: Permission denied
<GaryOak_> zenspider: woah!
<jhass> anew: and for the other one?
reinaldob has joined #ruby
<baweaver> Assuming they didn't copy/paste that entire line as one command
<jhass> that's where my doubts come from atm ;D
<anew> i thought there was only one?
<jhass> no, two alternatives to try
<jhass> bin/rails s
yaw has joined #ruby
<jhass> or
<jhass> bundle exec rails s
cjim_ has quit [Quit: (null)]
freerobby has quit [Quit: Leaving.]
<baweaver> anew: Two commands
vickleton has quit [Quit: Ex-Chat]
vickleton has joined #ruby
EagleDelta has quit [Remote host closed the connection]
wildroman2 has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<anew> Could not find rake-10.4.2 in any of the sources
slash_nick has joined #ruby
<anew> Run `bundle install` to install missing gems.
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
<anew> but i did run gem bundle install
<jhass> literally? that should have thrown an error
<jhass> and it's not what the message says
ReachingFarr has quit [Quit: ReachingFarr]
<zenspider> gem bundle install != bundle install
YngwieMalware has joined #ruby
cjim_ has joined #ruby
<zenspider> anew: `gem source`
cats has quit [Read error: Connection reset by peer]
<jhass> let's wait until they confirmed they ran the correct command
kke_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
swgillespie has joined #ruby
qwertme has joined #ruby
vickleton has quit [Ping timeout: 244 seconds]
<zenspider> should probably be https... but sholud still work
baweaver has quit [Remote host closed the connection]
RegulationD has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
endash has joined #ruby
RegulationD has joined #ruby
acarpe has joined #ruby
endash has quit [Client Quit]
<zenspider> GaryOak_: yeah. I map it down to arrays of strings (exception class name, exception message, backtrace)... that's fixed _this_ error, but I suspect I have 2 going on
yaw has quit [Ping timeout: 265 seconds]
cjim_ has quit [Client Quit]
slash_nick has quit [Ping timeout: 256 seconds]
<GaryOak_> zenspider: That's a fun a serialization bug
gluten_hell_ has joined #ruby
<anew> which one should i run now ?
Stalkr^ has joined #ruby
<jhass> bundle install
jtdowney has quit [Ping timeout: 256 seconds]
Spami has quit [Quit: This computer has gone to sleep]
axl_ has quit [Quit: axl_]
<anew> ok installing
Hijiri has quit [Ping timeout: 272 seconds]
<anew> is it normal to take a while?
<anew> ah there we go
Stalkr_ has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
YngwieMalware has quit [Quit: piss]
gluten_hell_ has quit [Ping timeout: 255 seconds]
<zenspider> Gem::InstallError: byebug requires Ruby version >= 2.0.0.
<zenspider> that's on you
<anew> on me?
<zenspider> `ruby -v`
<anew> ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux]
<zenspider> exactly
quimrstorres has quit [Remote host closed the connection]
Spami has joined #ruby
<zenspider> 1.9.3 >= 2.0.0 == false
<shevy> anew that gem requires of you to have a ruby version of at least 2.0.0 or higher
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<anew> right, ok i need to check my hosting, i hate this hoster
<anew> brb
<havenwood> anew: Ruby 1.9.3 is past end-of-life. Use Ruby 2.1 or better yet Ruby 2.2.
mrj has left #ruby [#ruby]
mistergibson has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
Synthead has joined #ruby
Zai00 has quit [Quit: Zai00]
RegulationD has quit []
serivich has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
rawrmonstar has joined #ruby
<GaryOak_> zenspider: in the Marshal docs it mentions you can't dump a Binding
<shevy> anew come to the new side of ruby, join us!
<shevy> bump a Dinding?
<zenspider> GaryOak_: yup. exactly. the exception was holding onto too much shit
momomomomo has joined #ruby
<zenspider> strip it down and it works fine
That1Guy has joined #ruby
<GaryOak_> Cool, Drb looks pretty wild
StuporTaz has joined #ruby
riotjone_ has joined #ruby
taz has joined #ruby
noonius has joined #ruby
SuperTaz_ has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
<GaryOak_> I didn't even know what a binding was until today
Prysm has quit [Quit: Leaving]
<jhass> never used binding.pry? :o
Ropeney has joined #ruby
riotjones has quit [Ping timeout: 276 seconds]
<zenspider> what's the remote pairing tooling du jour?
idafyaid has quit [Ping timeout: 244 seconds]
StuporTaz has quit [Ping timeout: 248 seconds]
<zenspider> jhass: knowing you have to call `binding.pry` doesn't mean you know what a binding is
<zenspider> just that there is a magic incantation
<jhass> yeah, I guess I'm the type that hates those and looks them up ;)
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
<GaryOak_> haha I never really thought about it, now it makes sense what it's doing, generating an IRB instance with the current binding
umgrosscol has quit [Remote host closed the connection]
failshell has joined #ruby
idafyaid has joined #ruby
superscott[8] has quit []
<havenwood> zenspider: OS X on both ends or cross platform?
Alina-malina has quit [Ping timeout: 246 seconds]
<zenspider> havenwood: mmmm... I assume OSX on both ends
<havenwood> zenspider: For OS X I really like that Screenhero gives both parties a mouse. It's worked well for me.
<zenspider> what's a mouse? :P
<havenwood> zenspider: hehe
Igorshp has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
failshell has quit [Ping timeout: 255 seconds]
swgillespie has joined #ruby
baweaver has quit [Remote host closed the connection]
swgillespie has quit [Client Quit]
fabrice31 has joined #ruby
jenrzzz has joined #ruby
juanpaucar has joined #ruby
<anew> ok which version of ruby should i install?
<havenwood> anew: 2.2.2
Jarboe has joined #ruby
momomomomo has quit [Quit: momomomomo]
fabrice31 has quit [Ping timeout: 272 seconds]
P1RATEZ has quit [Read error: Connection reset by peer]
scripore has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
pandaant has joined #ruby
Eiam has quit [Ping timeout: 276 seconds]
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.xz
<anew> shevy to install 2.2.2?
<shevy> sure
airdisa has quit []
<havenwood> anew: What distro are you on?
<shevy> if you have an up-to-date linux distribution then you can probably install that one too
<anew> this machine i'm on is crap it's by bluehost
<anew> you cant do anything on it
<shevy> like in a prison!
creakybones has quit [Quit: Leaving]
<zenspider> why aren't you working on the machine you're on?
<anew> the hosting providor is bluehost
x1337807x has joined #ruby
Rickmasta has joined #ruby
creakybones has joined #ruby
thomcom_ has joined #ruby
Alina-malina has joined #ruby
<zenspider> that didn't answer my question
creakybones has quit [Changing host]
creakybones has joined #ruby
<anew> what do you mean why am i not working on the machine i'm on ?
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> shevy: :( didn't we have this discussion before? suggesting that to newbies is so harmful
baweaver has joined #ruby
<anew> shevy how can i open that once i wget it ?
<jhass> anew: ignore it
<anew> jhass i think that might be the only way
yqt has quit [Ping timeout: 252 seconds]
<jhass> anew: no
<jhass> anew: I'll suggest you a good way, but you need to answer two questions
<anew> yes please
<jhass> what distro? do you have root rights?
sinkensabe has quit [Remote host closed the connection]
thomcom has quit [Ping timeout: 256 seconds]
<havenwood> anew: Show us the output for?: uname -a
<havenwood> anew: if you don't know
thebastl has quit [Quit: Leaving...]
<jhass> so it's shared hosting? not a VPS?
blackmesa has quit [Quit: WeeChat 1.1.1]
<anew> shared yes
<jhass> what does gcc -v say?
<shevy> jhass it is perfectly viable to make a suggestion
thomcom_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> shevy: I'm not going to reiterate, it's harmful if you don't know what you're doing, thus suggesting it to clear newbies is harmful. Period.
<jhass> anew: what's your goal of installing ruby & rails there?
<shevy> jhass I understand that you have a different opinion, you can iterate it as often as you want to but this does not make your statement anymore valid. Compiling from source is done all the time, every time
acarpe has quit [Quit: acarpe]
<anew> my goal? i need to write something in ruby...
<jhass> anew: why do you use a shared hosting environment to develop for ruby?
teflonton1985 has joined #ruby
<jhass> opposed to your local machine/a local VM
<anew> what?
<anew> for a website?
Igorshp has quit [Remote host closed the connection]
<jhass> yes?
<anew> it's for a website
<anew> i need to host it on the shared hosting
<jhass> developing a website != hosting a website
<anew> well when i'm done developing i need to put it on here
zzxc has quit [Ping timeout: 250 seconds]
Igorshp has joined #ruby
bogdanteleaga has quit [Ping timeout: 276 seconds]
<zenspider> jhass: good luck. I already went down this route
<jhass> how does that shared hosting allow to host Ruby applications? Passenger or can you configure a reverse proxy to your own application server?
<anew> does shared hosting not allow ruby apps ?
<jhass> zenspider: I think I got them to actually answer questions now ;)
noonius has quit [Quit: noonius]
<jhass> anew: shared hosting is not clearly enough defined for that assertion, some do, in some way, others don't
<zenspider> shevy: I'm gonna have to agree with jhass... if they haven't shown the experience necessary to take your advice and just run with it, it's a bad suggestion. "Compiling from source is done all the time, every time" is a false assertion
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<anew> ok well i am trying to install it on this shared hosting to host the app
<zenspider> it most obviously is NOT done "all the time, every time"
wildroman3 has joined #ruby
<zenspider> and certainly NOT by complete newbs. we want them to succeed. not walk away in frustrated disgust
<jhass> anew: try to find the answer to my last question, if the answer is neither your goal is not achievable
sepp2k has quit [Quit: Leaving.]
<zenspider> yes, they need to learn this at some point, but what's wrong with keeping the bar as low as possible?
noonius has joined #ruby
<anew> i dont evne understand what your asking
vikaton has quit []
<anew> ruby is for making apps
<anew> i need to put this app on the shared hosting
<anew> i dont see what is the problem with that
<anew> or what is abnormal with that
<shevy> I thought you were going to help him jhass
<zenspider> the problem is that you chose an app (which I assume you didn't develop) that requires a version of ruby that your shared host doesn't have... and doesn't give you the power to upgrade
<jhass> Ruby web applications are run in a couple of different ways, all of them need some support by the shared hosting environment
<anew> what i'm trying to do is make that upgrade zenspider
noonius has quit [Client Quit]
Igorshp has quit [Ping timeout: 246 seconds]
<zenspider> if you're not actually developing the app, just putting some code up somewhere... then our questions about why you're not developing locally are moot
<jhass> anew: and I'm trying to figure out if you're even able to in that environment (there's a good chance you aren't)
<anew> ok so how can i figure out if i can in this environment
Channel6 has joined #ruby
<jhass> by figuring out if and if so how that host supports hosting ruby web applications
wildroman2 has quit [Ping timeout: 264 seconds]
<anew> it says here i should be able to run gem install rails -v 3.0.11 --no-rdoc --no-ri
jenrzzz has quit [Ping timeout: 255 seconds]
<anew> to install 3.0.11
<anew> but it does not
reinaldob has quit [Remote host closed the connection]
bogdanteleaga has joined #ruby
<anew> after running this and checking ruby version it's still 1.9.3
<jhass> rails != ruby
<zenspider> ruby 1.9.3... rails 3.0.11... they're different things
<jhass> rails is a framework for web applications written in Ruby
<zenspider> shevy: instead of trolling jhass... try answering my questions/concerns
<shevy> zenspider what for?
<anew> hmmm
paulcsmith has joined #ruby
<anew> ruby gems = ruby ?
<jhass> gems are libraries for ruby
<zenspider> for starters, to show that you're not just being a trolling ass? or so we can understand your viewpoint better? or just to distract you so jhass has a better chance of making headway with anew?
paulcsmith has quit [Client Quit]
<shevy> zenspider ah name calling. Let's see if the policy applies to you as well
x1337807x has joined #ruby
<anew> would this work ?
<jhass> zenspider: yeah, please stay objective :)
mistermo_ has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zenspider> shevy: if the policy applies to me, then it certainly applies to this: "<shevy> I thought you were going to help him jhass" -- that's just antagonistic, plain and simple
<shevy> zenspider ok so you compare "antagonistic" to "trolling ass"?
<zenspider> I asked legitimate questions of you and shot down your points... you chose not to address any of that. with "what for?"
zzxc has joined #ruby
<zenspider> have fun with that. I'm done with you
<shevy> You did nothing but sidestep the issue. And I was answering to jhass' question, not your question.
speakingcode has quit [Ping timeout: 264 seconds]
zz_Outlastsheep has quit [Read error: Connection reset by peer]
<zenspider> anew: byebug is a ruby debugger... it isn't needed for a rails deploy
<zenspider> it is only needed for rails development
<zenspider> what are you trying to deploy?
glcx has quit [Ping timeout: 256 seconds]
ravenreborn_ has joined #ruby
glcx has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
_ixti_ has joined #ruby
v0n has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
<jhass> anew: I don't think this changes the Ruby version passenger (which would actually run your site) would use, so you can't change the Ruby version over there
<anew> i'm following it now
<anew> i think it will work
swgillespie has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
<jhass> it'll work for the stuff you run over the shell, I have strong doubts it'll change the Ruby version passenger will use to run your site
<zenspider> jhass: part 2 of that blog says how to switch passenger over
Alina-malina has joined #ruby
<zenspider> it's a lot of work tho :)
<jhass> zenspider: I skimmed through part 2 three times now, can't see where it switches
ixti has quit [Ping timeout: 272 seconds]
graydot has joined #ruby
anarcode has quit [Ping timeout: 252 seconds]
<jhass> and I have my doubts it'll read the PATH from a users .bashrc
<zenspider> oh. I just assumed it was PassengerAppRoot /home/username/names and it running `rails s` using the version of ruby specified in the gemfile
<zenspider> ie, the binstubs
ebbflowgo has quit [Quit: ebbflowgo]
renanoronfle has joined #ruby
<jhass> nope, passenger is an application server, not a process manager & reverse proxy
baweaver has quit [Remote host closed the connection]
<jhass> and only Passenger 4 introduced multiple Ruby version support at all
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider> *nod* yeah. I don't see the glue either
<zenspider> their output implies it is working, but doesn't actually show that passenger uses the right thing at all
thatslifeson has quit [Remote host closed the connection]
<jhass> yeah
<zenspider> tho the first comment implies otherwise
<zenspider> "I followed your directions and was able to get ruby 2.1.1 and Rails 4.1.0 installed on my server."
conta has joined #ruby
<jhass> tbh they might even think they're running that with that configuration
<zenspider> hah. and the 3rd (4th?) says it doesn't work. so who knows
jackjackdripper has quit [Quit: Leaving.]
<zenspider> Your Ruby version is 1.9.3, but your Gemfile specified 2.1.2 (Bundler::RubyVersionMismatch)
<zenspider>
<zenspider>
<zenspider> yeah. I think it is screwed
jackjackdripper has joined #ruby
zotherstupidguy has quit [Ping timeout: 276 seconds]
qwertme has joined #ruby
mistermo_ has quit [Read error: Connection timed out]
<anew> argh
<anew> bluehost sucks
SuperTaz has joined #ruby
nunayerBeezwax has quit []
taz has quit [Ping timeout: 248 seconds]
mistermo_ has joined #ruby
conta has quit [Ping timeout: 250 seconds]
CloCkWeRX has left #ruby [#ruby]
<zenspider> ok. I'm confuzored... I'm still trying to fix my DRb error... I have an exception wrapping an exception that has an ivar of bindings. bindings aren't serializable so it goes boom
<GaryOak_> Is there a way to spawn off a thread, and not worry about what happens to it, and return from the function before the Thread finishes?
jackjackdripper1 has joined #ruby
<zenspider> so... my first thought was to map it over to arrays of strings
<jhass> anew: so, if you still want to proceed with bluehost, try undoing what that guide suggested and remove byebug from the Gemfile
jackjackdripper has quit [Read error: Connection reset by peer]
<zenspider> GaryOak_: very much so
<zenspider> it doesn't guarantee that it'll finish before the process does
<jhass> and keep in mind that you're working with outdated possibly unsupported stuff
<zenspider> 1.9.3 is officially unsupported
<zenspider> my next thought was to map the errors over, and where I have one of these to replace it with a new RuntimeError w/ the message and backtrace
<zenspider> but... voodoo seems to occur
<zenspider> the ivar seems to have jumped from the old exception to the new RuntimeError
<jhass> GaryOak_: only issue might be your main thread exiting too early
<anew> ~/.bashrc well i get here and get permission denied
<anew> so i guess this is not possible on bluehost
<zenspider> :@bindings -- as if by magic, is on my new RuntimeError
<anew> argh
jenrzzz has joined #ruby
<GaryOak_> jhass: it's hits a wait, eventually so that's not an issue
<GaryOak_> will ruby only kill the child thread if the main thread gets killed?
<zenspider> r.failures.map(&:exception).map(&:instance_variables) => [[:@bindings]]
<anew> oh wait
<anew> says it's 2.1.1 now
nii236 has joined #ruby
<zenspider> GaryOak_: generally I put them in a collection of threads and before I exit I call join on all of them
<zenspider> threads.each(&:join)
<jhass> anew: yes, for your shell. Your application will still run with 1.9.3
ebbflowgo has joined #ruby
<zenspider> this ensures 1) a reference to the thread, and 2) that each one finishes
lele is now known as Guest24
starless has joined #ruby
tvw has quit []
dfinninger has quit [Remote host closed the connection]
<zenspider> WTF?!?!?!?! r.failures.map(&:exception).map(&:class) => [Minitest::ServerReporter::WTFError]
<zenspider> that's the new class that I JUST introduced... yet it has this @bindings on it
<jhass> monkey patch?
<zenspider> argh. I think it is set_backtrace... I need to dig into C
<jhass> somewhere doing it for some base class?
nii236 has quit [Ping timeout: 244 seconds]
ebbflowgo has quit [Client Quit]
baweaver has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
umby24|offline is now known as umby24
MasterPiece has quit [Ping timeout: 255 seconds]
wildroman3 has quit [Ping timeout: 245 seconds]
MasterPiece has joined #ruby
Guest24 has quit [Ping timeout: 245 seconds]
<zenspider> wow. this is totally stumping me
<zenspider> magic ivar is magic
thumpba_ has quit [Ping timeout: 264 seconds]
<zenspider> ARGH. I think it is pry
<zenspider> fuck fuck fuck what a horrible waste of time
iasoon has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
v0n has joined #ruby
<anew> yeah
<anew> this doesnt work
<anew> pain in the ass
<anew> thanks everyone
rrichardsr3 has joined #ruby
<jhass> anew: hope you'll not give up on ruby just because shitty shared hosting is shitty though :)
<GaryOak_> shared hosting is usually not great
Jandre has joined #ruby
<jhass> uberspace is pretty decent. If you speak german
<zenspider> anew: try pushing your app to heroku
AlphaAtom has joined #ruby
<zenspider> and it is uber
Jandre is now known as Guest15880
sankaber has joined #ruby
<GaryOak_> everyone says bad things about Heroku, but everyone also says it's useful? What's the deal with that?
<jhass> the new free plan of heroku is a lot less attractive though
Sawbones has joined #ruby
<zenspider> I thought it was better in some ways
aspiers has joined #ruby
<anew> yeah shared sucks but it's cheap
<jhass> that's what they say
<jhass> of course it is
<anew> otherwise i havd eto gowith something like linode and their cheapest option is $20 a month i cant pay that
<jhass> uh, it's $10
<GaryOak_> digital ocean is $10 too
<jhass> wonder if you can run a thin rails site on lowendspirit.com boxes :D
Rickmasta has joined #ruby
<jhass> lowendboxes.com in general if you don't need high performance and availability
<jhass> most offers are just fine for personal stuff
bb010g has quit [Quit: Connection closed for inactivity]
<Aeyrix> Just buy a RamNode.
<Aeyrix> Disclaimer: Ex-RN staff. Flawless though.
<al2o3-cr> c9.io ftw
<GaryOak_> Just get a neocities.org domain ;)
Sawbones has quit [Remote host closed the connection]
vikaton has joined #ruby
<GaryOak_> Here's mine http://corndogs.neocities.org/
<GaryOak_> It's SFW
Channel6 has quit [Remote host closed the connection]
AlphaAtom has quit [Ping timeout: 272 seconds]
<wallerdev> lol
thatslif_ has joined #ruby
marr has quit [Ping timeout: 265 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deric_skibotn has quit [Ping timeout: 244 seconds]
xelkarin has joined #ruby
xelkarin has quit [Quit: WeeChat 1.1.1]
dented42 has quit [Ping timeout: 265 seconds]
<zenspider> web-console is monkeypatching Exception's initialize or something
<zenspider> RamNode sounds like a tasty deep-fried mountain treat
KrzaQ has quit [Remote host closed the connection]
dented42 has joined #ruby
<zenspider> I still sorta want Oryx & Crake's concept of chicky-bobs (sp?)
KrzaQ has joined #ruby
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
pwattstbd has joined #ruby
bmurt has joined #ruby
<anew> $10
<anew> but still i pay bluehost for multiple domains
<anew> hmm i thought it was 20
<anew> yeah you're right only 10
rrichardsr3 has joined #ruby
Sawbones has joined #ruby
dented42 has quit [Ping timeout: 244 seconds]
sevenseacat has joined #ruby
<anew> so when i run ruby s
<anew> i now get this
<sevenseacat> thats from running `rails s`, not `ruby s`
<sevenseacat> and now you need to install a JS runtime