apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
subbyyy_ has quit [Ping timeout: 240 seconds]
Dovid has quit [Ping timeout: 264 seconds]
kitak_ has joined #ruby
<noob101> What method can I use the index of a variable in an array?
<noob101> What method can I use to get the index of a variable in an array?*
cescalante is now known as ce_afk
Bira has joined #ruby
<apeiros> there are only objects in an array. and Array#index and #rindex would do that
aiguu has joined #ruby
<noob101> apeiros: so if I push a variable card in an array and I did, card.rindex, I would get the index?
<apeiros> no
<csmrfx> >> [2,6,8,9].index(6)
<apeiros> you do array.rindex(object_to_find)
<eval-in__> csmrfx => 1 (https://eval.in/153191)
<apeiros> and not object_to_find.rindex.
<noob101> Ok, thank you very much. I will try that.
ziyadb_ has quit [Quit: Connection closed for inactivity]
<csmrfx> noob101: you got irb?
<noob101> csmrfx: Why you ask?
<csmrfx> irb also has help which shows same as ri
<csmrfx> noob101: because like ri, irb is good help
<noob101> csmrfx: ok
trhodes_ has quit [Ping timeout: 264 seconds]
Bira has quit [Ping timeout: 240 seconds]
MatthewsFace has joined #ruby
sambao21 has joined #ruby
Cache_Money has joined #ruby
mweshi has quit [Quit: mweshi]
maoko has joined #ruby
teddyp1cker has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
andrewlio has joined #ruby
MatthewsFace has quit [Ping timeout: 255 seconds]
JasmeetQA has joined #ruby
ridget has joined #ruby
trhodes_ has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
andrewlio has quit [Client Quit]
teddyp1cker has quit [Ping timeout: 265 seconds]
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
moritzschaefer has joined #ruby
meatherly has quit [Remote host closed the connection]
<shevy> noob101 what is your OS?
JasmeetQA1 has joined #ruby
gtc has joined #ruby
JasmeetQA has quit [Ping timeout: 258 seconds]
ddv has joined #ruby
fflush has joined #ruby
neilrios has joined #ruby
moritzs has quit [Ping timeout: 258 seconds]
mjs2600 has joined #ruby
chipotle has quit [Quit: cya]
subbyyy_ has joined #ruby
toky has quit [Remote host closed the connection]
marr has quit []
nisstyre has quit [Quit: WeeChat 0.4.3]
nisstyre has joined #ruby
Bira has joined #ruby
franzip has quit [Quit: ...]
pen has joined #ruby
oo_ has joined #ruby
jlast has joined #ruby
Bira_ has joined #ruby
zz_karupa is now known as karupa
chipotle has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Remote host closed the connection]
Tentra has joined #ruby
jlast has quit [Ping timeout: 255 seconds]
chrisja has quit [Quit: leaving]
apeiros has quit [Remote host closed the connection]
t0rc has quit [Quit: WeeChat 0.4.3]
apeiros has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
fflush has quit [Quit: fflush]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
nfk has quit [Quit: yawn]
pen has quit [Remote host closed the connection]
EatMulti has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
abstrakt has joined #ruby
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
EatMulti has quit [Client Quit]
adamnbowen has quit [Quit: Computer has gone to sleep.]
EatMulti has joined #ruby
fflush has joined #ruby
orthos has joined #ruby
pen has joined #ruby
fflush has quit [Client Quit]
JasmeetQA has joined #ruby
JasmeetQA1 has quit [Ping timeout: 264 seconds]
mikepack has quit [Ping timeout: 264 seconds]
WishBoy- has joined #ruby
fflush has joined #ruby
fflush has joined #ruby
fflush has quit [Changing host]
pen has quit [Ping timeout: 252 seconds]
WishBoy has quit [Ping timeout: 252 seconds]
Bira has joined #ruby
phoo1234567 has quit [Quit: Leaving]
oo_ has joined #ruby
KAO has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
WishBoy has joined #ruby
oo_ has joined #ruby
WishBoy- has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 258 seconds]
nari_ has joined #ruby
Bira_ has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
fflush has quit [Quit: fflush]
EatMulti has quit [Quit: leaving]
EatMulti has joined #ruby
ce_afk is now known as cescalante
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
Arkaniad has quit [Remote host closed the connection]
Arkaniad has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Arkaniad|Laptop has joined #ruby
alpha123 has joined #ruby
sambao21 has joined #ruby
tkuchiki has joined #ruby
KAO has quit [Quit: leaving]
moritzschaefer has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
mjs2600 has quit [Remote host closed the connection]
dorei has quit []
<shevy> benzrf whatcha working on lately
jmurray has joined #ruby
shenkz has quit [Remote host closed the connection]
<benzrf> shevy: mostly haskell stuff
<benzrf> :^O
orthos has quit [Quit: orthos]
<shevy> hmm
pen has joined #ruby
Bira has joined #ruby
Bumptious has joined #ruby
sski has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Bumptious has quit [Remote host closed the connection]
sski has joined #ruby
Bumptious has joined #ruby
cescalante is now known as ce_afk
Bira has quit [Ping timeout: 252 seconds]
pen has quit [Ping timeout: 264 seconds]
sski has quit [Ping timeout: 240 seconds]
moritzschaefer has joined #ruby
Zimsky has left #ruby [#ruby]
Hanmac has quit [Ping timeout: 258 seconds]
robustus has quit [Ping timeout: 252 seconds]
upsell5 has joined #ruby
ascarter has joined #ruby
robustus has joined #ruby
alpha123 has quit [Ping timeout: 265 seconds]
MatthewsFace has joined #ruby
mweshi has joined #ruby
jmurray has quit [Quit: jmurray]
<shevy> cats should become programmers
jlast has joined #ruby
x1337807x has joined #ruby
amclain has quit [Quit: Leaving]
<VinDH> programmers should become cats
Avahey_ has joined #ruby
<arrubin> I would be happy if they did anything useful at all.
<yakko> hey guys, is there any better way to check a bcrypt other than rescueing an error? BCrypt::Password.new(password_digest) == plain_text_password rescue BCrypt::Errors::InvalidHash false
<VinDH> don't insult us cats arrubin. Meow.
Slarv has joined #ruby
Hanmac has joined #ruby
charliesome has joined #ruby
Bira has joined #ruby
Tentra has quit [Ping timeout: 265 seconds]
Wapitidou has quit [Quit: WeeChat 0.4.3]
andrewjanssen has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
Quadlex has joined #ruby
moritzschaefer has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 240 seconds]
fluve has quit []
krazh has joined #ruby
nari_ has quit [Ping timeout: 265 seconds]
ce_afk is now known as cescalante
<shevy> arrubin they catch mice
oo_ has quit [Remote host closed the connection]
<arrubin> shevy: I have no mice.
taiar has joined #ruby
<shevy> arrubin and rats
taiar has left #ruby [#ruby]
<arrubin> No rodents of any kind.
<shevy> your town has no rodents?!
<shevy> good job done by cats :)
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
<shevy> we have those mice stinkers hiding everywhere
pen has joined #ruby
<shevy> like the tiny ones seem like miniature field mice (though they dwell in the town), the larger ones appear like rats (but are more mouse-sized)... I've never seen fat black rats nearby so far
andrewjanssen has joined #ruby
andrewjanssen has quit [Client Quit]
sski has joined #ruby
timonv has joined #ruby
andrewjanssen has joined #ruby
Royalb15 has quit [Ping timeout: 240 seconds]
<shevy> now if rodents were programmers ...
senayar_ has joined #ruby
<benzrf> mow
senayar_ has quit [Client Quit]
oo_ has joined #ruby
<arrubin> shevy: My building has no rodents.
senayar has quit [Ping timeout: 240 seconds]
<arrubin> Or at least my unit does not.
<arrubin> There are a lot of stray cats in the neighborhood...
Royalb15 has joined #ruby
cescalante is now known as ce_afk
<noob101> shevy, windows and sorry I was taking a shower.
timonv has quit [Ping timeout: 276 seconds]
neilrios has quit []
rOOb has quit [Excess Flood]
rOOb has joined #ruby
Bira has joined #ruby
wereHamster has quit [Remote host closed the connection]
<shevy> stray cats to eat those mice
<arrubin> I just wish that my cats would clean up after themselves.
<arrubin> That is all that I ask.
<Quadlex> arrubin: Get long haired cats and spray them with cleaner
<arrubin> Quadlex: I was referring more to their litter box.
<arrubin> And long-haired cats are even messier.
ph8 has quit [Ping timeout: 240 seconds]
<arrubin> Most cats will take care of their hair.
moritzschaefer has joined #ruby
sski has quit [Remote host closed the connection]
<Quadlex> So, weirdo question
bluehavana has joined #ruby
sski has joined #ruby
mikepack has quit [Remote host closed the connection]
<Quadlex> Would any of the North Americans be interested in a talk about how the Ruby community in Australia differs from that in North America?
pu22l3r has joined #ruby
mikepack has joined #ruby
<arrubin> Quadlex: I am not convinced that anyone could speak authoritatively about either.
<arrubin> There is not one community in NA.
nari_ has joined #ruby
sdwrage has joined #ruby
thomasxie has joined #ruby
max__ has joined #ruby
jimbow has left #ruby [#ruby]
max__ is now known as Guest7706
<csmrfx> who are these trolls suggesting ketogenic diet as treatment for lymes disease in #nutrition
sski has quit [Ping timeout: 240 seconds]
Guest7706 is now known as Synthead
<Quadlex> arrubin: Yeah, that's my reason for not pitching it yet. I think it'd be interesting to talk about the differences *I* see, but they'd be anecdata
centrx has joined #ruby
ph8 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
<arrubin> Quadlex: I do not think that it would make an interesting talk unless you were able to offer something that the local audience can consider applying.
notepro has joined #ruby
<notepro> hi if i have a hash called "pages"
<notepro> how can i print all the keys from that hash
<notepro> puts _______
larissa has joined #ruby
rOOb has quit [Ping timeout: 255 seconds]
<joelteon> pages.keys
hamakn has quit [Remote host closed the connection]
krz has joined #ruby
sski has joined #ruby
darmou has quit [Quit: darmou]
ftj has joined #ruby
redondos has quit [Excess Flood]
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
teddyp1cker has joined #ruby
jamesaanderson has joined #ruby
rOOb has joined #ruby
rOOb has joined #ruby
rOOb has quit [Changing host]
dsdeiz has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
jlast has quit [Remote host closed the connection]
felixjet has quit [Ping timeout: 252 seconds]
upsell5 has quit [Quit: upsell5]
<noob101> I need help. :[
ce_afk is now known as cescalante
<noob101> So basically I am trying to create a block of code(each loop) that would compare if the cards that user has is the same as the cards in the deck. If it's the same then the card in the deck would be delete meaning it's not in the deck but in use. Please check out my code and give me suggestions please.
hamakn has joined #ruby
<noob101> From lines 26 - 32, I created without much help but I keep getting a NoMethodError, I don't know why.
<csmrfx> ok
<csmrfx> first
<csmrfx> you dont need a loop
Bruno_ has quit [Ping timeout: 258 seconds]
<csmrfx> sort the cards in the two arrays, then just
Bumptious has quit [Remote host closed the connection]
<noob101> csmrfx: I want to use one though, this is what I was told to do.
<csmrfx> >> [3,4,5,6]-[1,4,5,8]
<eval-in__> csmrfx => [3, 6] (https://eval.in/153221)
<noob101> csmrfx: fif you check out my code?
Bumptious has joined #ruby
<csmrfx> so, to compare two arrays in ruby, you can just substract
JasmeetQA has quit [Read error: Connection reset by peer]
<csmrfx> whats the error?
<csmrfx> 21 looks like its incorrect
<csmrfx> 24, too
SegFaultAX has quit [Excess Flood]
raspberryfan has joined #ruby
<noob101> YES IT WORKS! csmrfx you just made me one step closer to finishing my project, thank you so so much.
<noob101> I was over thinking it, I was using rindex and pop but it didn't work.
abstrakt has quit [Quit: Leaving]
<noob101> All I had to do was subtract arrays lol..
SegFaultAX has joined #ruby
<csmrfx> looks like youre not taking top card on line 21 and 24
x1337807x has joined #ruby
mjsmith2 has joined #ruby
radic has quit [Ping timeout: 240 seconds]
Bumptious has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
pen has joined #ruby
radic has joined #ruby
mercwithamouth has joined #ruby
<noob101> csmrfx: How do you scramble the elements indexes so each object gets an entirely different index?
felixjet has joined #ruby
<csmrfx> well
<Quadlex> Argh so many CFPs
<csmrfx> maybe you dont need to
<csmrfx> you could randomly insert them after some random index in the deck
<csmrfx> after all, you are looping there in line 10
pen has quit [Ping timeout: 258 seconds]
<krazh> noob101 the suffle array method a.shuffle is maybe wat you want
<noob101> csmrfx: I want to though.
northfurr has left #ruby [#ruby]
<noob101> krazh: Thank you, I will try using that method and I hope everything in the deck array gets shuffled!
<csmrfx> ri Array.shuffle looks fine
<csmrfx> >> [1,2,3,4,5,6,7,8,9,0].shuffle(Random.new(1))
<eval-in__> csmrfx => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/153223)
bean_ has joined #ruby
<csmrfx> >> [1,2,3,4,5,6,7,8,9,0].shuffle(random: Random.new(1))
<eval-in__> csmrfx => [3, 0, 7, 5, 1, 4, 2, 8, 9, 6] (https://eval.in/153224)
<csmrfx> >> [1,2,3,4,5,6,7,8,9,0].shuffle(random: Random.new(1))
<eval-in__> csmrfx => [3, 0, 7, 5, 1, 4, 2, 8, 9, 6] (https://eval.in/153225)
<csmrfx> haha
<centrx> yup that's some randomness for you
<krazh> lol they are the same
e^0 has joined #ruby
ixti has quit [Ping timeout: 265 seconds]
<noob101> krazh: Thank you, it works well
<centrx> >> [1,2,3,4,5,6,7,8,9,0].shuffle
<eval-in__> centrx => [0, 1, 9, 7, 2, 8, 3, 4, 6, 5] (https://eval.in/153226)
julian-delphiki has quit [Ping timeout: 255 seconds]
<krazh> >> [1,2,3,4,5,6,7,8,9,0].shuffle
<csmrfx> in irb it gives you random every time
<krazh> how i do the irb
sdwrage has quit [Quit: Leaving]
<noob101> >> a = [1,2,3,4,5,6,7,8].shuffle!
<eval-in__> noob101 => [1, 8, 2, 4, 7, 6, 3, 5] (https://eval.in/153227)
<noob101> >> a
<eval-in__> noob101 => undefined local variable or method `a' for main:Object (NameError) ... (https://eval.in/153228)
<noob101> aw
<krazh> [1,2,3,4,5,6,7,8,9,0].shuffle
<csmrfx> try it twice to see if it is random
cescalante is now known as ce_afk
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> krazh: it is defo >>
<EatMulti> >> [1,2].shuffle
<csmrfx> centrx must have been sleeping
<csmrfx> uh, not centrx, eval-in__
<centrx> >> [].shuffle
<eval-in__> centrx => [] (https://eval.in/153229)
<centrx> >> [01].shuffle
<eval-in__> centrx => [1] (https://eval.in/153230)
<centrx> >> [{}, [], :":';';"].shuffle
<eval-in__> centrx => [[], {}, :":';';"] (https://eval.in/153231)
<csmrfx> >> [[1,2,3,4],[5,6,7,8]].shuffle
<eval-in__> csmrfx => [[1, 2, 3, 4], [5, 6, 7, 8]] (https://eval.in/153232)
klysium has joined #ruby
<krazh> >> [1,2,3,4,5,6,7,8,9,0].shuffle
<eval-in__> krazh => [9, 6, 0, 5, 3, 8, 1, 2, 7, 4] (https://eval.in/153233)
<EatMulti> >> [1,2].shuffle
<eval-in__> EatMulti => [2, 1] (https://eval.in/153234)
<noob101> Aw dang it, I forgot how to be able to interact with a ruby file while in irb, what is the command? I forgot.
<centrx> >> [{{{{}}}}, [[[[].shuffle].shuffle].shuffle].shuffle, :":';';shuffle:"].shuffle
<eval-in__> centrx => /tmp/execpad-ba8f5b327bff/source-ba8f5b327bff:2: syntax error, unexpected '}', expecting => ... (https://eval.in/153235)
<csmrfx> noob101: ri File
<csmrfx> noob101: also ri IO
<csmrfx> noob101: you know .methods?
<csmrfx> >> IO.methods
<eval-in__> csmrfx => [:new, :open, :sysopen, :for_fd, :popen, :foreach, :readlines, :read, :binread, :write, :binwrite, :select, :pipe, :try_convert, :copy_stream, :allocate, :superclass, :freeze, :===, :==, :<=>, :<, :<=, ... (https://eval.in/153236)
<csmrfx> >> Array.methods
<eval-in__> csmrfx => [:[], :try_convert, :allocate, :new, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_metho ... (https://eval.in/153237)
JumpMast3r has joined #ruby
CodeBunny has quit [Quit: CodeBunny needs a carrot. Be back later.]
<noob101> what does IO mean? input Output?
jamesaanderson has joined #ruby
CodeBunny has joined #ruby
<joelteon> yes
mikepack_ has joined #ruby
cibs has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
EatMulti has quit [Quit: leaving]
<csmrfx> .read and .write
freerobby has joined #ruby
simono has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Es0teric has joined #ruby
NukePuppy has joined #ruby
pu22l3r has quit [Remote host closed the connection]
supermarin has joined #ruby
simono has quit [Client Quit]
Shidash has quit [Ping timeout: 252 seconds]
Shidash has joined #ruby
klysium has left #ruby [#ruby]
Slarv has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yokel has quit [Ping timeout: 240 seconds]
notepro has quit [Quit: Page closed]
AlecTaylor has joined #ruby
<AlecTaylor> hi
<AlecTaylor> What's the most efficient way of exposing Python libraries to other languages (incl. Ruby)? - http://stackoverflow.com/q/23728935
yfeldblu_ has joined #ruby
pen has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
nathancahill has joined #ruby
rOOb has quit [Quit: Bye]
Es0teric has quit [Quit: Computer has gone to sleep.]
<RubyPanther> does python have a C interface?
<RubyPanther> C won the Glue Wars.
braincrash has quit [Quit: bye bye]
pu22l3r has joined #ruby
diegoviola has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
eka has joined #ruby
<AlecTaylor> mmm
eka has quit [Client Quit]
braincrash has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
JumpMast3r has quit [Quit: JumpMast3r]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
rOOb has joined #ruby
rOOb has quit [Excess Flood]
rOOb has joined #ruby
danshultz has quit [Ping timeout: 265 seconds]
freerobby has quit [Quit: Leaving.]
sski has quit [Remote host closed the connection]
sski has joined #ruby
xcesariox has joined #ruby
stylus has joined #ruby
RyanV has joined #ruby
JBreit has left #ruby ["Leaving"]
<shevy> and python won the ruby war
atraylen has quit [Ping timeout: 264 seconds]
sski has quit [Ping timeout: 264 seconds]
VinDH has quit [Remote host closed the connection]
<csmrfx> for now
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
rOOb has quit [Ping timeout: 265 seconds]
orthos has joined #ruby
benzrf is now known as benzrf|offline
Tentra has joined #ruby
agarie has quit [Quit: Leaving...]
WishBoy- has joined #ruby
rOOb has joined #ruby
jamesaanderson has joined #ruby
WishBoy has quit [Read error: Connection reset by peer]
ce_afk is now known as cescalante
dopie has quit [Ping timeout: 264 seconds]
orthos has quit [Quit: leaving]
jimmyhoughjr has joined #ruby
<jimmyhoughjr> so these ruby koans are pretty cool
rOOb has quit [Ping timeout: 240 seconds]
upsell5 has joined #ruby
michael_lee has joined #ruby
Bira has quit [Remote host closed the connection]
timonv has joined #ruby
simono has joined #ruby
abstrakt has joined #ruby
jimmyhoughjr has quit [Quit: jimmyhoughjr]
timonv has quit [Ping timeout: 265 seconds]
e^0 has quit [Ping timeout: 255 seconds]
mj12albert has joined #ruby
tjr9898_ has joined #ruby
supermarin has quit [Quit: Computer has gone to sleep.]
mj12albert has quit [Client Quit]
Arkaniad|Laptop has quit [Ping timeout: 265 seconds]
Arkaniad has quit [Ping timeout: 265 seconds]
supermarin has joined #ruby
vee has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
supermarin has quit [Ping timeout: 258 seconds]
cescalante is now known as ce_afk
rOOb has joined #ruby
rOOb has quit [Excess Flood]
omosoj has quit [Quit: Leaving]
rOOb has joined #ruby
omosoj has joined #ruby
crazymykl has joined #ruby
alwaysfresh1 has joined #ruby
WishBoy- has quit [Remote host closed the connection]
WishBoy has joined #ruby
Arkaniad has joined #ruby
Arkaniad|Laptop has joined #ruby
closures999 has joined #ruby
benzrf|offline is now known as benzrf
mweshi has quit [Quit: mweshi]
arquebus has joined #ruby
sepp2k has quit [Quit: Leaving.]
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Synthead has quit [Ping timeout: 255 seconds]
arquebus has quit [Quit: Konversation terminated!]
alwaysfresh1 has quit [Quit: Page closed]
tkuchiki_ has joined #ruby
<shevy> csmrfx now that it takes python3 so long to rise up over python2, ruby should use that downtime of python more seriously
s2013 has joined #ruby
Steve21 has joined #ruby
<Steve21> Is there a way to activesupport to get a listing of all timezones or all avaliable offsets?
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlecTaylor has quit [Ping timeout: 240 seconds]
jamesaanderson has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
x1337807x has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
bradhe has quit [Remote host closed the connection]
Bira has joined #ruby
bradhe has joined #ruby
ftj has joined #ruby
x1337807x has joined #ruby
g0bl1n has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 276 seconds]
anaeem1_ has joined #ruby
x1337807x has quit [Ping timeout: 265 seconds]
atraylen has joined #ruby
mikepack_ has quit [Remote host closed the connection]
duncannz has joined #ruby
teddyp1cker has joined #ruby
x1337807x has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
YellowStream has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
AlecTaylor has joined #ruby
AlecTaylor has quit [Changing host]
AlecTaylor has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807x has quit [Ping timeout: 252 seconds]
tjr9898 has joined #ruby
ce_afk is now known as cescalante
YellowStream has quit [Remote host closed the connection]
Cache_Money has joined #ruby
x1337807x has joined #ruby
tjr9898_ has quit [Ping timeout: 252 seconds]
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
jamesaanderson has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 265 seconds]
yacks has joined #ruby
rOOb has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Client Quit]
Alina-malina has quit [Ping timeout: 276 seconds]
sptx00 has quit [Quit: Ex-Chat]
northfurr has joined #ruby
Bumptious has joined #ruby
Alina-malina has joined #ruby
nanoyak has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
s2013 has joined #ruby
mary5030 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
larissa has quit [Quit: Leaving]
benzrf is now known as benzrf|offline
rshetty has joined #ruby
SCommette has joined #ruby
<havenwood> Steve21: might try #rubyonrails
rOOb has joined #ruby
<Steve21> figured it out: ActiveSupport::TimeZone.all
upsell5 has quit [Quit: upsell5]
<Steve21> also needed to explicitly require 'active_support/core_ext/time/zones'
<havenwood> Steve21: aha
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<havenwood> 146 tz, wow
zcreative has joined #ruby
mikepack_ has joined #ruby
mikepack_ has quit [Remote host closed the connection]
mikepack_ has joined #ruby
bradhe has quit [Remote host closed the connection]
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cescalante is now known as ce_afk
ce_afk is now known as cescalante
mikepack_ has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
Burgestrand has quit [Client Quit]
x1337807x has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
CodeBunny has quit [Quit: CodeBunny needs a carrot. Be back later.]
phansch has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
andrewjanssen has quit [Quit: Leaving...]
Arkaniad has quit [Remote host closed the connection]
Arkaniad|Laptop has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 258 seconds]
etqqkoiflwhb_ has joined #ruby
cescalante is now known as ce_afk
mary5030 has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
closures999 has quit []
jamesaanderson has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
raspberryfan has quit [Remote host closed the connection]
etqqkoiflwhb_ has joined #ruby
raspberryfan has joined #ruby
freerobby has joined #ruby
teddyp1cker has joined #ruby
aganov has joined #ruby
marcdel has quit []
andrewjanssen has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
SCommette has quit [Quit: SCommette]
etqqkoiflwhb_ has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Client Quit]
freerobby has quit [Ping timeout: 276 seconds]
s2013 has quit [Ping timeout: 258 seconds]
andrewjanssen has quit [Client Quit]
KanKava_ has joined #ruby
Dr3amc0d3r|away has joined #ruby
KanKava has quit [Ping timeout: 258 seconds]
bahar has quit [Ping timeout: 276 seconds]
mekajfire has joined #ruby
redondos has quit [Excess Flood]
mekajfire has quit [Client Quit]
redondos has joined #ruby
mekajfire has joined #ruby
subbyyy_ has quit [Ping timeout: 265 seconds]
bahar has joined #ruby
mekajfire has quit [Client Quit]
NukePuppy has quit [Ping timeout: 252 seconds]
NukePuppy has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
RyanV has quit [Quit: Computer has gone to sleep.]
mekajfire has joined #ruby
Solnse has quit [Quit: Leaving.]
thomasxie has quit [Remote host closed the connection]
nathancahill has quit [Quit: nathancahill]
mekajfire has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
tjr9898 has joined #ruby
arrubin has quit [Quit: Textual IRC Client: www.textualapp.com]
NukePuppy has quit [Ping timeout: 240 seconds]
fantazo has quit [Quit: Verlassend]
charliesome_ has joined #ruby
timonv has joined #ruby
charliesome has quit [Ping timeout: 258 seconds]
justinxreese has quit [Ping timeout: 246 seconds]
timonv has quit [Ping timeout: 265 seconds]
amundj has joined #ruby
lxsameer has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 276 seconds]
raspberryfan has quit [Ping timeout: 240 seconds]
RyanV has joined #ruby
crocket has joined #ruby
heftig has quit [Quit: Quitting]
<crocket> Does ruby have good test frameworks that can drive selenium webdriver?
Tentra_ has joined #ruby
Tentra has quit [Ping timeout: 252 seconds]
r0ok has quit [Ping timeout: 264 seconds]
<crocket> I was almost about to decide on javascript, but I wanted to investigate further.
fluve has joined #ruby
supermarin has joined #ruby
robbyoconnor has joined #ruby
wallerdev has joined #ruby
marcdel has joined #ruby
justinxreese has joined #ruby
raspberryfan has joined #ruby
memorozovm has joined #ruby
rm_ has quit [Remote host closed the connection]
davedev24 has quit [Remote host closed the connection]
dumdedum has joined #ruby
davedev24 has joined #ruby
Devanon has quit [Quit: WeeChat 0.4.3]
timonv has joined #ruby
bradhe has joined #ruby
kitak_ has quit [Remote host closed the connection]
charliesome_ has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trhodes_ has quit [Ping timeout: 264 seconds]
toroidalcode has joined #ruby
charliesome has joined #ruby
kitak_ has joined #ruby
tobago has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
zcreative has quit [Quit: Computer has gone to sleep.]
marcdel has quit []
zcreative has joined #ruby
tagrudev has joined #ruby
<ra4king> oh man
<ra4king> learning ruby
<ra4king> I'm in love
<ra4king> this is so much fun
nikolavp has joined #ruby
whitedawg has joined #ruby
toroidalcode has left #ruby [#ruby]
JasmeetQA has joined #ruby
Steve21 has quit [Quit: Steve21]
tobago has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 240 seconds]
Rahul_Roy has joined #ruby
voodoofish has quit [Quit: Leaving.]
jamesaanderson has joined #ruby
zcreative has quit [Client Quit]
trhodes_ has joined #ruby
davedev24 has joined #ruby
Gooder has quit [Remote host closed the connection]
Burgestrand has joined #ruby
tobago has joined #ruby
Gooder has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
e^0 has joined #ruby
Synthead has joined #ruby
charliesome has joined #ruby
dseitz has joined #ruby
mekajfire has joined #ruby
charliesome has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
freerobby has joined #ruby
gruz0[russia] has joined #ruby
ndrei has joined #ruby
<gruz0[russia]> hi
<gruz0[russia]> i need help with gem radiustar :)
<gruz0[russia]> can't decode User-Password with shared-key
alexju has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
bal has joined #ruby
Megtastique has quit []
mary5030 has joined #ruby
omosoj has quit [Ping timeout: 240 seconds]
AlecTaylor has quit [Quit: Leaving]
elementz has joined #ruby
supermarin has quit [Quit: Computer has gone to sleep.]
supermarin has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
supermarin has quit [Read error: Connection reset by peer]
supermarin_ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noop has joined #ruby
nnu has joined #ruby
<nnu> Hi! I need a good book about ruby. To be more precise ruby on rails.
BWStearn1 has quit [Ping timeout: 252 seconds]
<jimbauds> If I declare : apples = Fruit.get_apples # => get_apples must be a Class method of Fruit?
justinxreese has quit [Ping timeout: 246 seconds]
toastynerd has quit [Remote host closed the connection]
abstrakt has quit [Quit: Leaving]
Tentra_ has quit []
relix has joined #ruby
pen has quit [Remote host closed the connection]
mengu has joined #ruby
justinxreese has joined #ruby
e^0 has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
frogssgy has joined #ruby
<wallerdev> jimbauds: yeahhhh
anidear has joined #ruby
justinxreese has quit [Ping timeout: 246 seconds]
justinxreese has joined #ruby
frosgy has quit [Ping timeout: 255 seconds]
tacos1de has quit [Ping timeout: 272 seconds]
<jimbauds> cool! I understand class vs instance methods.. at least the principle!
combusean has quit [Ping timeout: 276 seconds]
<wallerdev> sick dude
tacos1de has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
<jimbauds> haha!
duncannz has quit [Ping timeout: 264 seconds]
elico has quit [Quit: Leaving.]
<jimbauds> Next patch for ruby will be my next pull request! haha! ;)
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wallerdev> nice
<wallerdev> i wishh i could do pull requests
<pontiki> anyone can do them
<jimbauds> I don't but maybe you .. I don't know you. Maybe you are one of the core dev!
<pontiki> whether they get accepted is something else
<jimbauds> pontiki: +1
rm_ has joined #ruby
Cutegirl1990 has joined #ruby
subraminion has joined #ruby
klaut has joined #ruby
Cutegirl1990 has quit [Excess Flood]
bigkevmcd has joined #ruby
e^0 has joined #ruby
akonny has joined #ruby
alem0lars has joined #ruby
subraminion has quit [Remote host closed the connection]
kitak_ has quit [Remote host closed the connection]
toastynerd has joined #ruby
subraminion has joined #ruby
toastynerd has quit [Remote host closed the connection]
supermarin_ has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby
supermarin_ has joined #ruby
combusean has joined #ruby
hamakn has quit [Ping timeout: 276 seconds]
Port3M5[Work] has joined #ruby
krazh has quit []
Matix has joined #ruby
duncannz has joined #ruby
roolo has joined #ruby
jimmyhoughjr has joined #ruby
rm_ has quit [Remote host closed the connection]
agjacome has joined #ruby
nnu has quit [Ping timeout: 265 seconds]
supermarin_ has quit [Ping timeout: 255 seconds]
Matip has quit [Ping timeout: 264 seconds]
Bumptious has quit [Remote host closed the connection]
hamakn has joined #ruby
Bumptious has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
duncannz has quit [Ping timeout: 255 seconds]
pen has joined #ruby
kitak_ has joined #ruby
memorozo_ has joined #ruby
YellowStream has joined #ruby
mengu has quit [Remote host closed the connection]
pencilcheck has joined #ruby
chipotle has quit [Quit: cya]
memorozovm has quit [Ping timeout: 276 seconds]
pen has quit [Ping timeout: 240 seconds]
memorozovm has joined #ruby
bakflash has joined #ruby
<jimbauds> wallerdev: thank you by the way
<Quadlex> A'ight. Pitch nearly done.
<Quadlex> Monkey Patching Standards
memorozo_ has quit [Ping timeout: 252 seconds]
<wallerdev> youre very welcome
freerobby has joined #ruby
nnu has joined #ruby
etqqkoiflwhb_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 240 seconds]
anarang has joined #ruby
BWStearns has joined #ruby
timonv has quit [Remote host closed the connection]
Synthead has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
zigomir has joined #ruby
akonny has quit [Quit: akonny]
setra has joined #ruby
supermarin_ has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
andikr has joined #ruby
supermarin_ has quit [Read error: Connection reset by peer]
supermarin_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
combusean has joined #ruby
george2 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
tesuji has joined #ruby
roolo has quit [Quit: Leaving...]
jack_rabbit has quit [Quit: SIGSEGV (core dumped)]
claymore has joined #ruby
yfeldblum has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
george2 has joined #ruby
duncannz has joined #ruby
alex88 has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
jprovazn has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
<duncannz> the return statement is optional? http://pastebin.com/1x0ki05x that confuses me..
<duncannz> it returns "bar". but what if it was meant to return foo()?
apeiros has quit [Remote host closed the connection]
<duncannz> s/foo()/"foo"
etqqkoiflwhb_ has joined #ruby
apeiros has joined #ruby
Morkel has joined #ruby
<duncannz> also, manually writing `return foo()` works as expected. so wouldn't it be a good practice to explicitly write `return` always? or is there some rule
_tpavel has joined #ruby
eataix_ has quit []
eataix_ has joined #ruby
toastynerd has joined #ruby
eataix_ has quit [Client Quit]
<jle`> duncannz: it always returns the last statement
<jle`> so it's not really ambiguous, normally
elaptics`away is now known as elaptics
<duncannz> jle`: then what about if foo ; "x" ; end ; "y"; that returns "y" but that logically should return "x"
<jle`> what do you mean logically?
<duncannz> I guess im just trying to get over my way of thinking
<duncannz> but this is one thing about ruby i find especially odd
<jle`> if your function has an if statement in it, then it should return what's in the if statement, even if there are values after it?
<jle`> i'm not sure what sort of intuition you are trying to describe :)
shemerey has joined #ruby
<duncannz> well if foo; return "x"; end; return "y" does what I want (returns "x")
<duncannz> if foo is true
timonv has joined #ruby
<jle`> `"x" if foo` is just a statement that evaluates to a value
<jimbauds> if foo the method is going to return x otherwise the method is going to return y
<jle`> `return "x" if foo` is a control flow thing
<jle`> er my ruby semantics are a bit rusty
shemerey has quit [Client Quit]
supermarin_ has quit [Ping timeout: 264 seconds]
subbyyy_ has quit [Remote host closed the connection]
<jimbauds> a return statement exit the method
subbyyy has joined #ruby
<duncannz> in every other language I know if true{return 'x'} return 'y' returns 'x'. and in ruby it does if I use `return` but returns 'y' otherwise. which seems confusing since "return" is optional but it actually behaves differently
Deele has joined #ruby
<jimbauds> a return statement exit the method
bluOxigen has joined #ruby
<jle`> you can think of return as just 'exit here now'
<duncannz> ok so basically 'y' on its own sets the return value, then if you don't write `return` then it automatically returns what thereturn value was last set to. is that one way to put it?
<apeiros> duncannz: as it already has been stated - without explicit return, the last evaluated value is returned
duper has joined #ruby
<duncannz> yep ok thats making more sense
<apeiros> duncannz: so it's unambiguously returning 'y' if you do: if true; 'x'; end; 'y'
<jle`> if there is no return, then by default, whatever the last statement is is returned
<jle`> you can use an explicit return to jump and exit out early
<jimbauds> you can ommmit the word return .. it's caled sugar code
<duncannz> jle`: i see
<duncannz> yep thanks
<apeiros> duncannz: so `if true{return 'x'} return 'y'` is not the same as `if true; 'x'; end; 'y' `
<jle`> it's a bit similar if you've used blocks
<jle`> arr.map { |x| ... }
<jle`> er
<jle`> arr.map do | x|
<jle`> ...
<apeiros> if true; 'x'; else 'y' end # this would be equivalent
<jle`> normally the last value in your block is returned
<jle`> as the value of the block
<jle`> i think if you've used blocks, this is sort of natural
<jle`> arr.map { |x| x*2 }
<jle`> you expect it to just be x*2
magri has joined #ruby
<jle`> without an explicit "return" keyword
<jle`> but if you need to "exit" early, you can use the `next` keyword
combusean has joined #ruby
justinxreese has quit [Ping timeout: 246 seconds]
justinxreese has joined #ruby
<jle`> arr.map { |x| if x.even then next x^2 else next x+3 }
<jle`> um my ruby syntax is rusty
<jle`> that's probably not valid ruby, but you get the point :)
LiohAu has joined #ruby
<pontiki> it's not
<apeiros> it's missing an `end`
<pontiki> the x^2 and x+3 are very confusing
<apeiros> and .even?, not .even
shemerey has joined #ruby
Dovid has joined #ruby
<jle`> ty
shemerey has quit [Client Quit]
ddv has joined #ruby
ddv has quit [Changing host]
setra has quit [Ping timeout: 264 seconds]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
toastynerd has quit []
timonv has quit [Remote host closed the connection]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
moritzschaefer has quit [Ping timeout: 265 seconds]
vjt has quit [Ping timeout: 265 seconds]
vjt has joined #ruby
e^0 has quit [Quit: WeeChat 0.4.3]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
ikaros has joined #ruby
shime has joined #ruby
kaspergrubbe has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
bluOxigen has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
freerobby has joined #ruby
shime has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
claymore has quit [Ping timeout: 265 seconds]
tjr9898 has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
shemerey has joined #ruby
tjr9898 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
subraminion has joined #ruby
mercerist has joined #ruby
etqqkoiflwhb_ has joined #ruby
bahar has quit [Ping timeout: 258 seconds]
nvrch has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
bahar has joined #ruby
olivier_bK has joined #ruby
einarj has joined #ruby
eka has joined #ruby
mikepack has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
Dude007 has quit [Remote host closed the connection]
ghr has joined #ruby
Dude007 has joined #ruby
sk87 has joined #ruby
Lemur has quit [Ping timeout: 265 seconds]
ghr has quit [Read error: Connection reset by peer]
eka has quit [Ping timeout: 255 seconds]
jack_rabbit has joined #ruby
fluve has quit []
mikepack has quit [Ping timeout: 252 seconds]
Dude007 has quit [Ping timeout: 255 seconds]
ridget has joined #ruby
joonty has quit [Quit: WeeChat 0.4.2]
nvrch has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
rshetty has quit [Remote host closed the connection]
KanKava_ is now known as KanKava
klaut has quit [Remote host closed the connection]
rshetty has joined #ruby
nvrch has joined #ruby
supermarin_ has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
mmochan_ has joined #ruby
kitak_ has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 252 seconds]
YellowStream has quit [Remote host closed the connection]
bmcorser has joined #ruby
rshetty has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
shime has joined #ruby
roolo has joined #ruby
supermarin_ has quit [Ping timeout: 240 seconds]
Dovid2 has joined #ruby
kitak_ has joined #ruby
bakflash has quit [Ping timeout: 252 seconds]
keen___ has joined #ruby
Dovid has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
keen__ has quit [Ping timeout: 265 seconds]
dsdeiz has quit [Ping timeout: 240 seconds]
shvelo has joined #ruby
rdark has joined #ruby
Squarepy has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
shevy has quit [Ping timeout: 258 seconds]
rm_ has joined #ruby
rshetty has joined #ruby
bahar has quit [Ping timeout: 240 seconds]
Squarepy has quit [Quit: Leaving]
akonny has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bahar has joined #ruby
monkegjinni has joined #ruby
sk87 has joined #ruby
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davedev24 has quit [Remote host closed the connection]
davedev24 has joined #ruby
shashin has joined #ruby
bbloom has quit [Ping timeout: 240 seconds]
bbloom has joined #ruby
mehlah has joined #ruby
agjacome has quit [Quit: leaving]
ghr has quit [Ping timeout: 265 seconds]
davedev24 has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
todor has joined #ruby
shevy has joined #ruby
ridget has joined #ruby
freerobby has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
rm_ has quit [Remote host closed the connection]
ghr has quit [Read error: Connection reset by peer]
klaut has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
ktun has joined #ruby
moritzschaefer has joined #ruby
DyoKo has joined #ruby
davedev24 has joined #ruby
Dude007 has joined #ruby
canton7-mac has joined #ruby
davedev24 has quit [Remote host closed the connection]
Doppp has quit [Quit: leaving]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
Doppp has joined #ruby
vjt has quit [Remote host closed the connection]
alem0lars has quit [Quit: Going AFK...]
bahar has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
<shvelo> ჰაი shevy
akonny has quit [Quit: akonny]
lxsameer has quit [Quit: Leaving]
bahar has joined #ruby
olivier_bK has quit [Quit: Quitte]
crocket has left #ruby ["Leaving"]
supermarin_ has joined #ruby
olivier_bK has joined #ruby
rm_ has joined #ruby
olivier_bK has quit [Remote host closed the connection]
chipotle has joined #ruby
olivier_bK has joined #ruby
canton7-mac has quit [Remote host closed the connection]
canton7-mac has joined #ruby
alem0lars has joined #ruby
toretore has joined #ruby
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
andrewlio has joined #ruby
supermarin_ has quit [Ping timeout: 252 seconds]
davedev24 has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
jambolina has joined #ruby
ghr has joined #ruby
nfk has joined #ruby
jambolina has quit [Remote host closed the connection]
r00ster_ has joined #ruby
r00ster_ has left #ruby [#ruby]
mikepack has joined #ruby
r00ster has joined #ruby
jambolina has joined #ruby
nari_ has quit [Ping timeout: 245 seconds]
rm_ has quit [Remote host closed the connection]
Morkel has quit [Ping timeout: 240 seconds]
ridget has joined #ruby
spider-mario has joined #ruby
shvelo has joined #ruby
shvelo has quit [Client Quit]
mikepack has quit [Ping timeout: 276 seconds]
<GlenK> anyone catch game of thrones?
<GlenK> best episode ever
jack_rabbit has quit [Ping timeout: 255 seconds]
anidear has quit [Remote host closed the connection]
ziyadb_ has joined #ruby
ziyadb_ has quit [Changing host]
ziyadb_ has joined #ruby
ziyadb_ has quit [Changing host]
ziyadb_ has joined #ruby
tziOm has joined #ruby
fflush has joined #ruby
chipotle has quit [Quit: cya]
fflush has quit [Changing host]
fflush has joined #ruby
etqqkoiflwhb_ has joined #ruby
ghr has quit []
anidear has joined #ruby
oo_ has quit [Remote host closed the connection]
rm_ has joined #ruby
chipotle has joined #ruby
Dovid2 has quit [Ping timeout: 240 seconds]
chipotle has quit [Client Quit]
marr has joined #ruby
DyoKo has quit [Quit: Leaving.]
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
lsmola has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
rm_ has quit [Remote host closed the connection]
Dude007 has joined #ruby
rm_ has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
jimmyhoughjr has quit [Quit: jimmyhoughjr]
timonv has joined #ruby
fflush has quit [Quit: fflush]
wald0 has joined #ruby
VTLob has joined #ruby
moritzschaefer has quit [Ping timeout: 240 seconds]
fflush has joined #ruby
fflush has joined #ruby
fflush has quit [Changing host]
timonv_ has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
fflush has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
olivier_bK has quit [Remote host closed the connection]
oo_ has joined #ruby
freerobby has joined #ruby
bahar has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 252 seconds]
timonv_ has quit [Remote host closed the connection]
bahar has joined #ruby
sk87 has joined #ruby
olivier_bK has joined #ruby
<noob101> good morning
<tagrudev> certainty, ping
postmodern has quit [Quit: Leaving]
Matix has quit [Quit: Leaving]
fabrice31 has quit [Remote host closed the connection]
alem0lars has quit [Quit: alem0lars]
michael_lee has quit [Quit: Ex-Chat]
heftig has joined #ruby
rawmeat has quit [Quit: leaving]
jambolina has quit [Quit: Nettalk6 - www.ntalk.de]
bahar has quit [Ping timeout: 240 seconds]
jimmyhoughjr has joined #ruby
rm_ has quit [Remote host closed the connection]
bahar has joined #ruby
supermarin_ has joined #ruby
oo_ has quit [Remote host closed the connection]
chipotle has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
upsell5 has joined #ruby
supermarin_ has quit [Ping timeout: 240 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
<GlenK> hi
chipotle has quit [Client Quit]
chipotle has joined #ruby
sski has joined #ruby
fflush has joined #ruby
<GlenK> ha, so you people know me. or not. I've been off and on hanging around a bit recently
chipotle has quit [Client Quit]
<GlenK> ruby, well, it makes sense in a lot of ways
User458764 has joined #ruby
<GlenK> but then ocaml, where things are explictly typed, that makes sense too
<GlenK> and performance is in the back of my head, so ocam
<GlenK> ocaml rather
ascarter has joined #ruby
<GlenK> then there's J. which lets me do weird stuff like make primitive matricies that just work with primitive arrays or vectors perhaps and I have no idea how it works in all cases
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
ltdl has joined #ruby
<GlenK> argh, then ruby seems harmful in that I just end up doing a weird combination of c/java and am still not sure how blocks work, hell, not sure how if's work
<GlenK> if end? if {}? throw an else in there? put it all on one line seems more readable in some cases
roolo has quit [Quit: Leaving...]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GlenK> gah, i I put some craziness if on one like then I'm the crazy
<GlenK> flip
<GlenK> I do need to really learn ruby and then ocaml and then J for a frame of reference
<GlenK> and then I'll be 80 and where does it all end?
r00ster has left #ruby [#ruby]
rshetty_ has joined #ruby
spider-mario has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
rshetty has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7-mac> it ends with you having a broad and substantial base, and being able to earn money as a competant programmer ;)
danijoo has joined #ruby
jambolina2 has joined #ruby
r00ster has joined #ruby
lkba has joined #ruby
rm_ has joined #ruby
rshetty has joined #ruby
rshetty_ has quit [Ping timeout: 240 seconds]
<GlenK> canton7-mac: well, in this world, feeling overwhelmed can't be foreign
mengu__ has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
<GlenK> but yes. earning money may be one way to put it, being useful could be another.
<canton7-mac> sounds like the beginning of any new project, yes
<canton7-mac> I was just answering your rhetorical question :P
nvrch has quit [Quit: nvrch]
<GlenK> I know
<GlenK> fair enough. suppose I'm mostly talking to myself
r00ster has quit [Client Quit]
Bira has joined #ruby
<GlenK> eh, I was hoping some magical guy would step in and say, whilst ocaml has this and that ruby has this and that, and C and Scala and go and multiply my child
r00ster has joined #ruby
<GlenK> ha, my ruby skills always feel bad I guess is the jist
ephemerian has joined #ruby
<shevy> get better man GlenK
<shevy> GlenK you can combine crazinesses
<shevy> if game_over?
<shevy> run_cleanup
<shevy> end unless is_this_valid?
<GlenK> haha
<shevy> but it also gets harder to read
<GlenK> you I've always liked
<shevy> so there is a tradeoff
<shevy> the worse example I know of is in stdlib, optparse
<GlenK> but nah, I just need more practice. it sucks needing so much pratice though
<shevy> end.parse! ARGV
frobrob has joined #ruby
<shevy> when I see it, kittens die
<GlenK> hey, what. you're not talking about that thing I pasted earlier are you?
<shevy> I just woke up
<shevy> I didnt scroll up
<shevy> I am literally not even fully awake as of yet
Bira has quit [Ping timeout: 255 seconds]
<GlenK> oh, no. that was hours ago. when I think you were functional.
fflush has quit [Read error: Connection reset by peer]
<GlenK> I am looking to get more rubyish
<shevy> I never read anything from you in my life before!
<shevy> don't get so rubbish!!!
fflush has joined #ruby
<GlenK> I'm going to paste it again
fflush has quit [Changing host]
fflush has joined #ruby
<shevy> ack
<GlenK> ack is right
<GlenK> and maybe I never pasted it to begin with
karupa is now known as zz_karupa
rm_ has quit [Remote host closed the connection]
<GlenK> but I am a neophyte and it took me a long time to get where I got and it still feels sucky compared to something like "for method a do a.improve" or whatever
roolo has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> ack ack
agjacome has joined #ruby
moritzschaefer has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> <canton7-mac> it ends with you having a broad and substantial base, and being able to earn money as a competant programmer
<shevy> there you go GlenK
<shevy> (1) write more and more code
<shevy> (2) ???
<shevy> (3) profit
tesuji has quit [Ping timeout: 240 seconds]
duncannz has quit [Ping timeout: 265 seconds]
<canton7-mac> you never stop learning, or being overwhelmed ;)
<canton7-mac> s/you never stop/you *should* never stop/
<canton7-mac> if you do stop, that's when you stagnate
gruz0[russia] has quit [Quit: Leaving]
mostlybadfly has joined #ruby
<GlenK> I somewhat posted this earlier. but it was embarrasing as my print was off by one and I was confused
<GlenK> well, maybe my off by one error is at least not silly now?
<GlenK> anyhow, if some rubyish improvements could be suggested. that would be sweet
anidear has quit [Quit: Leaving]
<shevy> I dont even know what that code is trying to convey
<canton7-mac> GlenK, if you see a #each + manipulation of some variable outside of that #each, that's an indication that there may be a better alternative
<shevy> stringData.each {|item| item.chomp!}
<GlenK> oh, and currying. is that the scheme type anonymous function thing?
<canton7-mac> GlenK, in this case, #count might be better
<shevy> stringData.map(&:chomp!)
<shevy> erm
<canton7-mac> meh, I'm no fan of that ^^
<shevy> stringData.map!(&:chomp)
Shidash has joined #ruby
<GlenK> shevy: well yeah, my algorithm miight be screwy given it's for an algorithm class
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> I still wouldn't know what that is
<shevy> I think it helps if you start to use one line # comment to explain what this is supposed to do!
<GlenK> so please take it easy in those regards as opposed to just being rubyish
<shevy> damn I just realize, I need to leave home here soon and buy groceries and crap, but I am tired :(
<GlenK> shevy: I guess I should clarify. I have trouble deciding whther or not to use {
<GlenK> as opposed to if end
RaptorJesus has quit [Ping timeout: 272 seconds]
rm_ has joined #ruby
<GlenK> and then really confused when one doesn't work and having to switch to the other.
<GlenK> gah
<GlenK> I should just go back to experimenting now
<GlenK> right
<csmrfx> do emd
<shevy> wait a moment
omegahm has left #ruby ["Textual IRC Client: www.textualapp.com"]
<shevy> how is if end equal to { anything
<shevy> or did you mean do end
<shevy> what is do emd csmrfx
<shevy> are you guys all sleepy here
<csmrfx> I am
<shevy> no coffee no booze
<shevy> you guys can't program like that!
<csmrfx> I'm just waiting for my teach
<shevy> GlenK ok did you mean do/end ?
<csmrfx> after that, I can sleep
<shevy> your teeth?
mehlah has quit [Quit: Leaving...]
<shevy> sleep sounds good :)
<GlenK> isn't "if foo bar else foo2" the same as if foo {bar} else {foo2}
<GlenK> ??
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
fflush has quit [Quit: fflush]
<csmrfx> I meant do end, which is diff from if end, which is diff from a block
<shevy> no
<GlenK> see, what do I know
timonv has joined #ruby
<shevy> that is not the same at all in any way GlenK
<shevy> you should stand in the corner now and be ashamed
charliesome has joined #ruby
<csmrfx> ruby is not C-syntax
fflush has joined #ruby
fflush has joined #ruby
fflush has quit [Changing host]
<GlenK> haha, thought I was already standing in the corner being ashamed. but you told me to hang on and be more ashamed
<shevy> GlenK first you need to get the basics right
<shevy> GlenK do/end is almost the same as {} for a method invocation
<shevy> def foobar; end
<shevy> foobar do; end;
<shevy> foobar {}
<shevy> in both cases you pass a block to your method invocation
shime has quit [Ping timeout: 276 seconds]
<shevy> ignore the second ; above
etqqkoiflwhb_ has joined #ruby
<ddv> GlenK: just read a couple of books
<shevy> foobar do; end
etqqkoiflwhb_ has quit [Read error: Connection reset by peer]
<GlenK> so yeah, I know. any time my conditionals or whatever get confusing I do an jerk do it end
<csmrfx> >> {}.type
<eval-in__> csmrfx => undefined method `type' for {}:Hash (NoMethodError) ... (https://eval.in/153354)
etqqkoiflwhb_ has joined #ruby
<shevy> GlenK ok you write conditionals, but do/end, how do you use them as conditionals?
<csmrfx> lel
<GlenK> wow. that makes no sense to the layman glenk neophyte. but yeah, I'm still working on blocks I guess. it makes no sense still
<ddv> GlenK: do you know what closures are?
<GlenK> if foo bar
<GlenK> does that make sense?
freerobby has joined #ruby
<shevy> perhaps
fabrice31 has joined #ruby
<csmrfx> > if 1 2
<shevy> what do you think this is GlenK
<csmrfx> >> if 1 2
<eval-in__> csmrfx => /tmp/execpad-5a0f2e437a03/source-5a0f2e437a03:2: syntax error, unexpected tINTEGER, expecting keyword_then or ';' or '\n' (https://eval.in/153356)
chipotle has joined #ruby
rixius has quit [Ping timeout: 264 seconds]
<shevy> I mean when you see if foo bar, surely you would assume this to be and do something specific
<GlenK> ddv: sorta, but not by name. but sorta as sicp is a thing with me
<GlenK> shevy: evaluate foo, if it's true then return bar
<GlenK> fine, I guess ruby always has to return something?
chipotle has quit [Client Quit]
nihils has joined #ruby
sski has quit [Remote host closed the connection]
nihils has quit [Client Quit]
sski has joined #ruby
<GlenK> so I need an else? or just a default? that's it?
<shevy> wtf
chipotle has joined #ruby
<GlenK> I need to match the signature?
<GlenK> no? way off
<shevy> man
<GlenK> wtf wtf?
<shevy> that was the weirdest thing I ever had to read here
rm_ has quit [Remote host closed the connection]
<shevy> why would it return bar
<GlenK> if (foo) then bar
<GlenK> if foo is true then return bar
<shevy> no that is not how the ruby parser sees it
<shevy> it will see if foo bar as this:
<GlenK> how is that weird?
<shevy> if foo(bar)
<shevy> in most cases
<GlenK> argh
<shevy> and if you dont understand that
<shevy> then you must use ()
chipotle has quit [Client Quit]
<shevy> because your brain didn't understand it yet!
<GlenK> that's why I though I liked ruby. I don't have to be so explicit
<shevy> that is fine
<GlenK> ok, fine, I'll be more explicit
freerobby has quit [Ping timeout: 258 seconds]
<shevy> but your brain must understand what is happening
<shevy> because ruby is expressive, it means it tries to figure out stuff
chipotle has joined #ruby
shemerey has joined #ruby
<shevy> if foo bar: :yo
<shevy> what is this doing GlenK you see
<GlenK> bah, no
<GlenK> no
<GlenK> that makes no sense
rm_ has joined #ruby
fflush has quit [Ping timeout: 252 seconds]
<shevy> >> def foo(i); return true; end; puts 'OK' if foo bar: :yo
<eval-in__> shevy => OK ... (https://eval.in/153363)
<GlenK> if foo is: 1 == 1 then how is ruby going to misinterpret that
<shevy> it makes sense if you start to see it how the ruby parser sees it
bmcorser has quit [Quit: Connection closed for inactivity]
<shevy> misinterprete where
chipotle has quit [Client Quit]
sski has quit [Ping timeout: 255 seconds]
<GlenK> ok, you're adamant about this. so I'm obviously wrong. so let me back up and we'll go from there
<GlenK> I'll apologize. we'll go to japan and get women
<GlenK> golden
chipotle has joined #ruby
okinomo has quit [Changing host]
okinomo has joined #ruby
<GlenK> wait, so is ; a thing?
ktun has joined #ruby
chipotle has quit [Client Quit]
ktun has quit [Client Quit]
<shevy> well you can use it in ruby scripts
<shevy> to put stuff on the same line
danshultz has joined #ruby
<apeiros> GlenK: ; is treated like a newline in most places
blackmesa has joined #ruby
<GlenK> argh. I should not mix languages
<GlenK> haha. I should just go away and hang my head in shame. but I'm stubborn, so I will figure out where I'm going wrong
<GlenK> so if I do leave, next time you see me tell me "I told you faggot"
<GlenK> or something less vulgar
Lutece has joined #ruby
sski has joined #ruby
<GlenK> C has ruined me. See. its not my fault
yfeldblum has joined #ruby
mercerist has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 240 seconds]
User458764 is now known as User458764_NotHe
rm_ has quit [Remote host closed the connection]
atraylen has quit [Ping timeout: 240 seconds]
<GlenK> flip. I definitely have to revisit this
<shevy> well C is rather inflexible in its syntax
<shevy> try to get what foo bar: :yo is in ruby
<GlenK> in my defense. the madness I pasted works somehow
<shevy> you mean your iterating thing
<GlenK> yeah
<shevy> that is good
noob101 has quit [Ping timeout: 240 seconds]
<shevy> when it works, you can improve it
<GlenK> and that makes it tail recursive!
<GlenK> no?
<shevy> what do I know, ask a programmer
rm_ has joined #ruby
mikepack has joined #ruby
flops has joined #ruby
<GlenK> because if you call your own junk and that's it then it's not going to go crazy on the stack
<shevy> what stack
<GlenK> good question
<shevy> do you mean the garbage collector in ruby
yfeldblum has quit [Ping timeout: 255 seconds]
<GlenK> I was under the assumption ruby did some remember some stuff when you call a function if remembering stuff needs to be a thing
supermarin_ has joined #ruby
phoo1234567 has joined #ruby
rixius has joined #ruby
<GlenK> I honestly have no idea, but was under the impression that the remember the stuff that needs it area is called the stack
User458764_NotHe has quit [Ping timeout: 264 seconds]
<GlenK> this is bad news I suppose given I'm a guy that figures he should just go with electrical engineering.
<GlenK> should that not be a big thing in EE?
mercerist has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
raspberryfan has quit []
ndrei has quit [Ping timeout: 276 seconds]
supermarin_ has quit [Ping timeout: 258 seconds]
rixius_ has joined #ruby
subraminion has quit [Read error: Connection reset by peer]
rixius has quit [Ping timeout: 264 seconds]
subraminion has joined #ruby
simono has joined #ruby
shime has joined #ruby
timonv has quit [Remote host closed the connection]
<GlenK> argh. my ruby still sucks. fine.
<GlenK> it seems like just going with project euler or code abbey or whatever is just going to reinforce my bad habits though
<GlenK> I tend to just work fast towards the right anwser
rixius_ has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
rm_ has quit [Remote host closed the connection]
<GlenK> damn it. I'm pretty sure there's no easy way at this point.
<GlenK> or no standard way
<GlenK> just do it and do it and do it and you might get better
kirun has joined #ruby
<GlenK> fair enough
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
rm_ has joined #ruby
simono has quit [Ping timeout: 240 seconds]
rm_ has quit [Remote host closed the connection]
mengu__ has quit [Ping timeout: 276 seconds]
rshetty has quit [Remote host closed the connection]
<GlenK> haha. no love for the glenk
fella5s has joined #ruby
rshetty has joined #ruby
flops has quit [Read error: Connection reset by peer]
flops has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
flops has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
kaspergrubbe has joined #ruby
whowantstolivefo has joined #ruby
User458764 has joined #ruby
whowantstolivefo has left #ruby [#ruby]
rshetty has quit [Ping timeout: 265 seconds]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
flops has joined #ruby
sski has quit []
sski has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<shevy> I wasn't paying attention
<shevy> I was writing shit
<shevy> now I am back
<shevy> GlenK> I was under the assumption
banister has joined #ruby
<shevy> <GlenK> if foo bar
<shevy> <GlenK> if (foo) then bar
<shevy> GlenK, you need to be careful with assumptions, your brain is trying to trick you
rshetty has joined #ruby
<csmrfx> >> foo = true; bar = 0; if foo bar
<eval-in__> csmrfx => /tmp/execpad-0a9d30122e9a/source-0a9d30122e9a:3: syntax error, unexpected keyword_rescue ... (https://eval.in/153382)
<csmrfx> >> foo = true; bar = 0; if (foo) then bar
<eval-in__> csmrfx => /tmp/execpad-c52e5a31ef97/source-c52e5a31ef97:3: syntax error, unexpected keyword_rescue, expecting keyword_end ... (https://eval.in/153383)
<csmrfx> >> foo = true; bar = 0; if (foo) do; bar;
<csmrfx> >> foo = true; bar = 0; if (foo) do; bar; end;
<eval-in__> csmrfx => /tmp/execpad-25a7bbbd4eb3/source-25a7bbbd4eb3:2: syntax error, unexpected keyword_do, expecting keyword_then or ';' or '\n' ... (https://eval.in/153384)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac1> >> foo = true; bar = 0; if (foo); bar; end
<eval-in__> Hanmac1 => 0 (https://eval.in/153386)
<csmrfx> ;)
alex88_ has joined #ruby
<GlenK> haha. I should be sleeping
RaptorJesus has joined #ruby
<csmrfx> me too!
Bruno_ has joined #ruby
Bumptious has quit [Remote host closed the connection]
<csmrfx> goes to show what sleepy brain is capable of...
Bumptious has joined #ruby
<GlenK> but you jerks seem to know something about something. given I'm a C/java jerko. give me a book title? website? code acadey and koans and some other junk have unlearned me nothing.
<csmrfx> read the flanagan & matsumoto ruby book
danshultz has joined #ruby
<csmrfx> you can read parts on ggl books
<csmrfx> aand, I doubt you've done all the koans
<GlenK> you can check my github. 100% on koans
<GlenK> koans is easy easy
User458764 is now known as User458764_NotHe
<GlenK> ruby monk is a thing
AlexRussia has joined #ruby
<GlenK> ruby monk is easy
whitedawg has quit [Quit: Leaving.]
<GlenK> code academy is easy
<GlenK> and here I sit knowing C and thats about it
<csmrfx> what are you after then?
<csmrfx> MRI is written in C
<csmrfx> you done your koans
<GlenK> spose I'd be good at diving in to a real world project. but too bad kde doesn't do that
<GlenK> as in kde isn't ruby
<csmrfx> is there something you dont already know, or cannot read from the sources?
<csmrfx> just start a project already!
tvw has quit [Ping timeout: 240 seconds]
<GlenK> of course. I can't say, yo. here's a filesystem design that I thought up, this is way better than X filesystem be cause a b c
<GlenK> of course there's crap I don't know
<csmrfx> hmm, you don't suggest it, you make it as POC and then people either get excited or not
DaniG2k has joined #ruby
dangerousdave has joined #ruby
timonv has joined #ruby
<GlenK> hell, I thought I just pasted some basic stuff and it's like dude, I did it, but I have nowhere to begin starting to optimize it or make it better
<DaniG2k> guys i tried to install the latest ruby with RVM on my mac but it only seems to have 2.1.1 as the lastest
<csmrfx> well are you familiar with testing?
<csmrfx> test first
<DaniG2k> has anyone been able to get 2.1.2 with RVM on a Mac?
knightwrestle has joined #ruby
LekeFly has joined #ruby
<csmrfx> also, metrics (as in, benchmarking your code for ram and cpu use + optimizations)
Brian520 has quit []
<GlenK> DaniG2k: I'm the wrong guy to ask. but I'd say start with a package manager for mac? I know that's thing for linux type junk
User458764_NotHe has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
<apeiros> DaniG2k: sure, on day one
<GlenK> DaniG2k: but see, I'm the wrong guy to ask, so don't do that and go with gem install foo or whatever
<DaniG2k> GlenK: I have homebrew, but I think RVM sould be able to install ruby by default
<apeiros> DaniG2k: just rvm install 2.1.2
<DaniG2k> apeiros: maybe its considered unstable which is why --stable still shows 2.1.1
<DaniG2k> apeiros: ah ok yea that was it
<GlenK> DaniG2k: oh wait, what. this is a case of your distro not having ruby 39.399.1000? bah
<apeiros> DaniG2k: did you update your rvm before doing --stable?
chipotle has quit [Client Quit]
<DaniG2k> apeiros: yes
chipotle has joined #ruby
malcolmva has quit [Ping timeout: 276 seconds]
JasmeetQA has quit [Read error: Connection reset by peer]
<GlenK> I'm starting to see the light on having gem or whatever control software versions
upsell5 has quit [Quit: upsell5]
<GlenK> from a sysadmin standpoint die die die
<GlenK> from a dev standpoint, I like it. you control software versions. it's great
<apeiros> if package managers didn't suck balls, those things wouldn't be necessary
subraminion has quit [Quit: Computer has gone to sleep.]
chipotle has quit [Client Quit]
<csmrfx> I was just about to write: "from a debian perspective, you're still in ruby 1.9.1"
<GlenK> from a sysadmin standpoint, well, like always outdated software is going to be the thing. but it beats everyone crying?
ndrei has quit [Ping timeout: 252 seconds]
<workmad3> csmrfx: or ubuntu, where ruby 1.9.3 is a package alias for ruby 1.9.1, which installs ruby 1.9.3...
freerobby has joined #ruby
rixius has joined #ruby
<GlenK> sbt is sweet
<GlenK> just saying
chipotle has joined #ruby
<GlenK> gem or whatever, I haven't messed with anything too much really
<csmrfx> sbt?
aiguu has quit [Ping timeout: 276 seconds]
<GlenK> but sbt can pull in whatever versio of whatever it needs and it all works and it's golden
<workmad3> sbt is the thing used a lot in scala instead of maven, isn't it?
<GlenK> sbt, some java thing
wald0 has quit [Quit: Lost terminal]
<GlenK> yeah, scala, java, same thing
<workmad3> GlenK: not particularly :P
<csmrfx> java rake?
chipotle has quit [Client Quit]
eka has joined #ruby
<workmad3> GlenK: have you encountered bundler yet? that's a nice balance, IMO, between keeping things stable and being able to pull in the versions you need
<GlenK> eh. I'm just trying to complain, and maybe help out some weird way with my complaints, in that gems are way suckier
<GlenK> workmad3: nope. will give it a shot
<workmad3> GlenK: bundler keeps track of the exact versions of all direct and transitive dependencies in a lock file, and then when you install from the Gemfile, you get exactly those versions
mengu has quit [Ping timeout: 258 seconds]
subraminion has joined #ruby
setra has joined #ruby
<GlenK> as I say, I'm pretty much sold on trying to keep the dev environment doing what it's doing
subraminion has quit [Remote host closed the connection]
<GlenK> haha, but it still still bugs me with my sysadmin hat
subraminion has joined #ruby
<GlenK> bugs are meant to be fixed damn it
freerobby has quit [Ping timeout: 258 seconds]
KanKava has quit [Ping timeout: 252 seconds]
<workmad3> GlenK: :)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<GlenK> stupid devs should be doing regression testing or something
KanKava has joined #ruby
<workmad3> GlenK: IMO, the bigger crimes that devs commit are to be stupid with exposing hooks for logging and configuration ;)
<workmad3> 'oh, I always run this on the console... therefore 'puts' is a perfectly suitable logger' DIE DIE DIE!!!
danshultz has quit []
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<workmad3> 'on my machine, my mongo database ID is always 1... so I'll hardcode that and not make it configurable' *sob*
irrcsi has joined #ruby
ndrei has joined #ruby
<GlenK> well yeah
<apeiros> workmad3: puts is an awesome logger!
<GlenK> but then I'm glad my fellow computer jerks are lazy as all get out
<apeiros> I wrote a library which hijacks puts and logs it wherever you want :)
<workmad3> GlenK: and I've encountered much worse issues with dependencies on servers with java than ruby... at least since bundler came along :)
<apeiros> ruby ftw
<workmad3> apeiros: heh :) does it provide formatting options too?
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 255 seconds]
<GlenK> , but then you'd never make [progress if dudes weren't lazy
<apeiros> workmad3: OF COURSE!
<shevy> the world belongs to the lazy
<apeiros> workmad3: you can also funnel proper LogMessage entries through puts
<shevy> why else do we have robots
<shevy> I want logs in my pants
<workmad3> shevy: the only problem with robots is that we don't have enough of them :(
<shevy> workmad3 well soon we can 3D print them
<apeiros> which have all the attributes a log message should have (time, severity, flags, message, origin, category)
<workmad3> did anyone else see that the UN is going to debate 'the use of killer robots'...
<shevy> lol
<workmad3> I saw that and thought 'the use is pretty obvious, isn't it?'
<GlenK> you guys are almost as good as freenode fortran dudes
<shevy> the UN is a good debate club
<GlenK> if you can make my irc client beep, then you win
<apeiros> I love killer robots
<shevy> AND member states have to pay for being part of the debate club
<apeiros> they're easily defeated
<workmad3> "I have a killer robot... I'm going to use it for flower arranging!...
<GlenK> I'll give up #fortran forever
<apeiros> just send wave after wave of men after them until they hit their kill limit
<shevy> GlenK ok so your brain is fortran damaged
irrcsi has quit [Client Quit]
<GlenK> not that I have3n't given up fortran, lurch is gone. everyone is gone
<workmad3> apeiros: I code all my killer robots with Bignum kill limits
<shevy> GlenK you need to think of ruby less as programming and more like an attempt at poetry
<apeiros> workmad3: still a limit!
malcolmva has joined #ruby
<GlenK> shevy: haha, fortran is object oriented these days. ha.
chipotle has joined #ruby
<shevy> well what does that even mean
<GlenK> haha, oh, and you don't have to type in caps and indent all weird
mjsmith2 has joined #ruby
<shevy> it's like an umbrella term
leonardorb has joined #ruby
<GlenK> I have no idea to be honest. because variable names like a and b and c make my head hurt to this day
<shevy> what did alan kay say about object oriented!!!
chipotle has quit [Client Quit]
<shevy> that's fine GlenK
<shevy> I use _ in ruby
<GlenK> and I'm just happy fortran made it so you can use pointers
Macaveli has joined #ruby
<shevy> C has pointers
<GlenK> fortran 95 is way advanced
<shevy> according to http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html C is the most searched for language
chipotle has joined #ruby
mercwithamouth has joined #ruby
<GlenK> yo, seriously, no hating on fortran. random number generators aside, like my last job, high performance stuff and to this day fortran rocks
yfeldblum has joined #ruby
<workmad3> apeiros: I also reset to 0 every gazillion kills ;)
<GlenK> fortran 95 is way advanced though and has pointers or something? 64 bit pointers is it? hell, I wasn't even born when fortran was invented
chipotle has quit [Client Quit]
<apeiros> workmad3: that's unfortunate. I hope you don't delete the logs. so we can just wait for logfile overflow.
<workmad3> apeiros: I log remotely
tvw has joined #ruby
<workmad3> apeiros: even if my log server overflows, it won't take down my robots :P
chipotle has joined #ruby
<apeiros> oooh, great. that's a weakness. interrupt the signal and the bot dies. hahaa
<workmad3> apeiros: nope... I code my robots to prefer losing logs rather than stopping the slaughter ;)
Wapitidou has joined #ruby
<workmad3> apeiros: just as long as no one uses my personal foible of evalling the log-server response in order to get into the robots and get them to change targets...
chipotle has quit [Client Quit]
mjsmith2 has quit [Remote host closed the connection]
chipotle has joined #ruby
paulfm has joined #ruby
<Hanmac1> hey what do you guys think about Float#next_float ? ;P
rshetty_ has joined #ruby
<GlenK> as long as noone uses my code to make robots.
thesheff17 has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
supermarin_ has joined #ruby
chipotle has quit [Client Quit]
alex88_ has quit [Quit: Leaving...]
ltdl has quit [Ping timeout: 240 seconds]
<GlenK> Hanmac1: I think stop showing off. that's fortran 2005? it's not even indented
piqure has joined #ruby
chipotle has joined #ruby
<GlenK> sorry sorry
piqure has left #ruby ["niko"]
<GlenK> I'll go watch...
<GlenK> help me out here
<Hanmac1> GlenK: ruby trunk code 2.0.next_float #=> 2.0000000000000004
<GlenK> I'll go watch...?
Hanmac1 is now known as Hanmac
<GlenK> Hanmac: is that a bbc show?
rshetty has quit [Ping timeout: 240 seconds]
davedev24 has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
<shevy> Hanmac of course it could not possibly work
justinxreese has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
chipotle has joined #ruby
justinxreese has joined #ruby
supermarin_ has quit [Ping timeout: 255 seconds]
gruz0[russia] has joined #ruby
mehlah has joined #ruby
leonardorb has quit []
rethus has joined #ruby
chipotle has quit [Client Quit]
kitak_ has quit [Remote host closed the connection]
<shevy> - if (len > UINT16_MAX) {
<shevy> + if (len > (UINT16_MAX-1)) { /* UINT16_MAX is reverved */
r00ster has quit [Quit: Leave a message]
<shevy> Hanmac, look! matz comments!!!
chipotle has joined #ruby
<shevy> I am unsure what reverved means
<shevy> but at least I can acknowledge the effort
mark_locklear has joined #ruby
lolmaus has quit [Ping timeout: 265 seconds]
<rethus> I'm not familar with ruby. I got this message, while trying to install a redmine plugin: Could not find gem 'acts_as_votable (~> 0.4.0) ruby' in the gems available on this machine.
<rethus> what can i do
aganov has quit [Ping timeout: 264 seconds]
<apeiros> rethus: gem install acts_as_votable
benzrf|offline is now known as benzrf
<rethus> gem install acts_as_votable result in http://pastebin.com/CqPWjTYt
davedev24 has quit [Ping timeout: 252 seconds]
chipotle has quit [Client Quit]
<rethus> but same message if i try to install the plugin
<apeiros> yeah, that's too new
<apeiros> ~> 0.4.0 is >= 0.4.0 && < 0.5.0
<rethus> how can i install such an old one?
sumark has quit [Quit: Lost terminal]
justinxreese has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
<apeiros> you specify the version explicitly. not sure the install command accepts ~> in the spec. but you can try
justinxreese has joined #ruby
<rethus> gem install acts_as_votable ~> 0.4.0
<rethus> ERROR: Could not find a valid gem '/root' (>= 0) in any repository
sumark has joined #ruby
nvrch has joined #ruby
<apeiros> heh, not like that. `gem help install` shows you the options. you want -v flag
<apeiros> gem install acts_as_votable -v '~> 0.4.0'
chipotle has quit [Client Quit]
vpretzel has joined #ruby
<apeiros> if that doesn't work, gem search -ra acts_as_votable - install the highest 0.4.x version
chipotle has joined #ruby
<rethus> k, seems i got the right syntax: gem install acts_as_votable --version "0.4.0"
<rethus> now the pc install some stuff
chipotle has quit [Client Quit]
jackneill has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
chipotle has joined #ruby
frobrob has quit [Remote host closed the connection]
sambao21 has joined #ruby
yosafbridge has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
chipotle has quit [Client Quit]
chipotle has joined #ruby
<Hanmac> interesting that it wants 0.4 but 0.9 is recent ... i think some software should be updated
chipotle has quit [Client Quit]
AlexRussia has joined #ruby
chipotle has joined #ruby
mjs2600 has joined #ruby
_tpavel has quit [Quit: Leaving]
davedev24 has joined #ruby
yosafbridge has joined #ruby
chipotle has quit [Client Quit]
linojon has joined #ruby
<rethus> thanks apeiros: but now i got this message: http://privatepaste.com/b7fbadf8b3
mjs2600 has quit [Remote host closed the connection]
chipotle has joined #ruby
relix has joined #ruby
pu22l3r has joined #ruby
daniel_v has joined #ruby
Bruno_ has quit [Quit: Fui embora]
<apeiros> rethus: did you read what it says?
sski has quit []
sandy has joined #ruby
sski has joined #ruby
chipotle has quit [Client Quit]
<rethus> i have found the gemfile.lock.
sandy is now known as Guest34984
<rethus> now see which permissions are needed
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
mehlah has quit [Ping timeout: 240 seconds]
Guest34984 is now known as mehlah
krz has quit [Quit: WeeChat 0.4.3]
chipotle has quit [Client Quit]
chipotle has joined #ruby
Lutece has quit [Ping timeout: 272 seconds]
mjs2600 has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
koderok has joined #ruby
flops has quit [Quit: leaving]
jottr has joined #ruby
chipotle has quit [Client Quit]
Dude007 has quit [Remote host closed the connection]
chipotle has joined #ruby
sk87 has joined #ruby
elementz has quit [Ping timeout: 255 seconds]
chipotle has quit [Client Quit]
lolmaus has joined #ruby
pu22l3r has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
chipotle has joined #ruby
<rethus> k. this work now, but i have still an error :
<rethus> I have execute this : bundle exec rake redmine:plugins NAME=redmine_questions RAILS_ENV=production
<rethus> And got this message:
<rethus> rake aborted!
<rethus> Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter`
<rethus> k, i have do it with:
<rethus> gem install activerecord-mysql2-adapter
pu22l3r has joined #ruby
<rethus> and run bundle install after this
chipotle has quit [Client Quit]
duggiefresh has joined #ruby
<rethus> but if i do the same commend "bunlde exec..." the same error appear
<rethus> any idea, why
chipotle has joined #ruby
<rethus> gem list give : mysql2 (0.3.15, 0.3.13)
AlexRussia has quit [Ping timeout: 255 seconds]
chipotle has quit [Client Quit]
<rethus> on bundle show, mysql not appear in the list
chipotle has joined #ruby
<Hanmac> rethus: did you try at #bundler ?
shemerey has joined #ruby
<rethus> is that an own irc for ruby bundles?
pu22l3r has quit [Ping timeout: 255 seconds]
chipotle has quit [Client Quit]
etqqkoiflwhb_ has joined #ruby
chipotle has joined #ruby
AlexRussia has joined #ruby
chipotle has quit [Client Quit]
pu22l3r has joined #ruby
chipotle has joined #ruby
freerobby has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
kpshek has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
duggiefresh has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
AlexRussia has quit [Remote host closed the connection]
chipotle has joined #ruby
pu22l3r has quit [Remote host closed the connection]
northfurr has joined #ruby
AlexRussia has joined #ruby
pliniker has quit [Quit: Ex-Chat]
tvw has quit [Remote host closed the connection]
kitak_ has joined #ruby
chipotle has quit [Client Quit]
pu22l3r has joined #ruby
nnu has quit [Quit: May the Force be with you.]
freerobby has quit [Ping timeout: 255 seconds]
SCommette has joined #ruby
noop has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
mikepack has joined #ruby
Dude007 has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
jonno11 has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
<jambolina2> can anyone reccomend some resources to get started with ruby?
pu22l3r has quit [Ping timeout: 252 seconds]
brontos has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
kaspergr_ has joined #ruby
momomomomo has joined #ruby
mary5030 has joined #ruby
Bira_ has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
<benzrf> join ##electronics
<benzrf> wut
mary5030 has quit [Remote host closed the connection]
jambolina2 is now known as jambolina
kaspergrubbe has quit [Ping timeout: 265 seconds]
snath has quit [Ping timeout: 276 seconds]
qwyeth has joined #ruby
mehlah has quit [Ping timeout: 252 seconds]
ixti has joined #ruby
tvw has quit []
yfeldblum has joined #ruby
niharvey has joined #ruby
<alex88> lol
<alex88> benzrf: that seemed the correct answer for the question right above :D
<GlenK> I'll be a non jerk
<GlenK> why's poigniant guide to ruby
dblessing has joined #ruby
aganov has joined #ruby
<GlenK> ha, that's probably the jerk answer
<GlenK> it's still awsomeness
tvw has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
nari_ has joined #ruby
rm_ has joined #ruby
<GlenK> hmm, ok, there's this guide to design patterns thing that's free online
<GlenK> some professor dude somewhere
yfeldblum has quit [Ping timeout: 252 seconds]
<GlenK> it's actually really really cool because you cant just do a recursive wget on it or it will say you jerk, no sucky stuff
supermarin_ has joined #ruby
tvw has quit [Client Quit]
mehlah has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
ndrei has quit [Ping timeout: 276 seconds]
Jake232 has joined #ruby
jmurray has joined #ruby
ConstantineXVI has quit [Quit: ZNC - http://znc.in]
mercwithamouth has quit [Ping timeout: 240 seconds]
brontos has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
supermarin_ has quit [Ping timeout: 252 seconds]
Shidash has quit [Quit: Leaving.]
brontos has quit [Client Quit]
urbanmonk has joined #ruby
mary5030 has joined #ruby
ktkh has joined #ruby
mary5030 has quit [Remote host closed the connection]
urbanmonk has left #ruby [#ruby]
jambolina2 has joined #ruby
jambolina has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
LekeFly has quit [Ping timeout: 240 seconds]
duggiefresh has joined #ruby
diegoviola has joined #ruby
<shevy> how many methods should a project have at maximum
<shevy> GlenK _why left ruby some years ago
<ddv> shevy: does it matter?
<apeiros> shevy: 4294967296
<shevy> ddv yeah
<ddv> shevy: why?
<shevy> ddv after all it is said methods should not be too long
Dude007 has quit []
<GlenK> sure, that doesn't mean the legacy was lost
<shevy> GlenK ok but it's living in the past :(
<shevy> nobody will draw those foxes any longer
<GlenK> shevy: lies. that's like saying watching office space is living in the past.
pu22l3r has joined #ruby
<shevy> and rails has transformed the ruby folks into uncreative beasts :>
<ddv> shevy: you mean the number of lines a method consists of?
phutchins has joined #ruby
<shevy> ddv yeah
<ddv> shevy: or the actual method name length?
<shevy> ddv nono, def foo or def foo_with_sugar is same in this context
<ddv> shevy: 10-15 lines
koderok has quit [Ping timeout: 240 seconds]
thejoecarroll has quit [Ping timeout: 240 seconds]
<ddv> shevy: maybe 10 is already too long
mary5030 has quit [Remote host closed the connection]
<GlenK> I blame you guys. nobody gave me any feedback on my madness, apparently it was too sucky to even try and understand though
kazundo has joined #ruby
alexju has joined #ruby
<GlenK> hell, I woulda been happy hearing "jerk, that's no way to read a file".
<GlenK> I like being called a jerk
<shevy> GlenK well it's just different in different programming languages
SCommette has quit [Quit: SCommette]
<shevy> GlenK I mean, how many C guys do you know will use C for web-related hacking stuff
<shevy> and how many folks actually know fortran
<GlenK> ouch. the anwser is too many
<shevy> not according to TIOBE!!!
blackmesa has quit [Ping timeout: 240 seconds]
* Hanmac could use C for web-related hacking stuff ;P
<ddv> you can make big bucks if you know COBOL
<ddv> all those legacy financial systems still run on COBOL
<GlenK> some jerk was calling it cobalt on his stupid blog
oo_ has quit [Remote host closed the connection]
atu has joined #ruby
<GlenK> I wanted to murder him
<shevy> ironically around here, all the bank corporations use just about only Java
<GlenK> because if you're going to talk crap about cobol, at least get the name right
<kazundo> Hello there.
<shevy> COBOL must be some US-bank thing
twar59 has joined #ruby
<ddv> I knew some guy past his fifties who was proud of being a COBOL programmer
<shevy> GlenK do you know where from the word cobalt originates?
<GlenK> nah, cobol is dead. apl had to be the big banking thing from my limited understanding
pu22l3r has quit [Ping timeout: 252 seconds]
<kazundo> Can anybody write a code only for clicking a banner?
<GlenK> J, and then K are then kings now, king is dead long live the king
mjs2600 has quit []
justinxreese has quit [Ping timeout: 246 seconds]
rizzatti has joined #ruby
<Hanmac> shevy: so you say that cobol is older than most cobalt's ? ;P
justinxreese has joined #ruby
<shevy> "Miners had long used the name kobold ore (German for goblin ore)"
<shevy> it's a goblin ore!!!
daniel_v has quit [Quit: Leaving...]
<Hanmac> shevy: yeah haemoglobin = iron goblins ;P
<shevy> kazundo you have to use javascript!
<GlenK> shevy: I just know at this point you're probably going to tell me cobalt is the actual name? nah, can't be. cobol and dudes spouting off on blogs?
<kazundo> I would like to work with web programmer!
<shevy> Hanmac but iron should be ferrum, not haeme...
<Hanmac> hm somehow it still is both
<kazundo> Is ruby suitable for that? shevy
<kazundo> or Javascript?
<GlenK> perl
<kazundo> Perl !?
<GlenK> ha
<shevy> kazundo not really, I mean, you need an action that gets triggered when a user in your browser does an action, and this you can do only if the browser supports that, and javascript has a near monopoly there
momomomomo has quit [Quit: momomomomo]
<shevy> in *their browser
<shevy> better to mix up the browsers than the pants
knightwrestle has quit [Quit: knightwrestle]
<GlenK> so wait, what? I hear this thing that the next iteration of perl is supposed to leap frog every other scripting language. anyone have any idea why that would even be a statement?
<Hanmac> PS: shevy as a german i need to say that imo Kobold & goblin are different kinds ... ( even http://www.woerterbuch.info/?query=kobold&s=dict&l=en might still list Kobold => Goblin, but imo Imp might be more suitable)
AlexRussia has quit [Ping timeout: 240 seconds]
rostam has quit [Remote host closed the connection]
<shevy> yeah you are right Hanmac
<shevy> kobolds are mischievous cave dwellers
<shevy> and would seem even smaller than goblins
mikesplain has joined #ruby
<tobiasvl> GlenK: perl6 is pretty nice (and also it is still perl)
rostam has joined #ruby
<shevy> they aren't hobgoblins either
<GlenK> tobiasvl: wait, so is it just perl 6 I've been hearing about? odd.
<Hanmac> shevy: hm arnt that dwaves?
<shevy> GlenK perl is stuck in an evolution cycle
<shevy> Hanmac nono
<shevy> dwarves have beards
<dangerousdave> I just happened on a way of making lots of money from a loophole online. Not illegal, just a bit scary really, $500 in 20 minutes
<shevy> they are also thicker and more durable, did you watch the Hobbit? some dwarves were crap but the singing one of the misty mountains was cool haha
<dangerousdave> ruby is surly a powerful tool
zz_jrhorn424 is now known as jrhorn424
<tobiasvl> GlenK: yes, they've ramped up their PR department on selling perl 6 (which is still not completely finished as an implementation, although the language has been done for some time=
<dangerousdave> and i realise that sound a bit like a spam advert
<GlenK> I think perl has a bad rep because jerks always do one liners that involve regular expressions.
<shevy> dangerousdave REALLY WHY WOULD YOU THINK SO
jambolina has joined #ruby
<kazundo> I am looking for a excellent student who can write web clicking program. While I cannot nor I don't have enough time to write them and fix them work.
<Hanmac> shevy yeah but you said that Kobolds are cave dwellers too (imo i dont think that they go so deep)
northfurr has quit [Quit: northfurr]
<kazundo> Where shall I find such a person?
<shevy> Hanmac then where do they live??
<tobiasvl> kazundo: how much can you pay?
mehlah has quit [Read error: Connection reset by peer]
<Hanmac> kazundo: are you looking for this? http://rubygems.org/gems/mechanize
<ddv> kazundo: define 'web clicking program'
<kazundo> I check it up.
tkuchiki_ has joined #ruby
<GlenK> ok, it's decided then. I will now sleep. and then at some point become a ruby language lawyer
<GlenK> except for the last part
<GlenK> or maybe
<GlenK> cheers
<kazundo> Kind of mechanize.
jambolina2 has quit [Ping timeout: 240 seconds]
<dangerousdave> shevy, yeah, I really am not joking though, just wrestling with the ethics of it.
<shevy> dangerousdave sure sure sure I believe ya!!!!
GlenK has quit [Quit: Konversation terminated!]
<kazundo> In fact, my friend is really requires a automatic click program.
Zenigor has joined #ruby
<kazundo> ddv: He wants to buy some old cameras before they would be sold out.
<shevy> "Sawyer X is one of the core developers on Dancer, a Perl web framework inspired by Ruby's Sinatra."
<shevy> wheeeee
<ddv> kazundo: capybara?
<shevy> ruby now even inspires perl copycats
<kazundo> ddv: capybara? no.
<ddv> kazundo: no what?
phutchin1 has joined #ruby
<kazundo> He needs thousands of cameras.
<shevy> get '/' => sub { "Hello World!" };
tkuchiki has quit [Ping timeout: 258 seconds]
<shevy> thousands of cameras
<shevy> what is he doing, monitoring metropolis?
<kazundo> for his business so that he might need to click to buy them all. ddv.
<benzrf> d-dwarves
<kazundo> He is a trader.
<ddv> kazundo: pro tip: enter 1000 as a quantity :P
<ddv> done
<oddmunds> haha
tkuchiki_ has quit [Ping timeout: 264 seconds]
<kazundo> No kidding, to buy one camera he needs to login and make a procedure.
<ddv> maybe sould contact the seller
<kazundo> It matters.
<ddv> he* should
<dangerousdave> shevy, i would love to share it with someone, it's quite clever if I do say so myself, problem is they could easily cut me out the loop. Also as it stands, the process is only 50% automated, and I think i need to route it through proxy servers because if the powers that be catch on, they will plug it quick.
<shevy> dangerousdave no you don't want to share it
paulfm has quit []
phutchins has quit [Ping timeout: 258 seconds]
<dangerousdave> shevy, well, i feel quite pleased with myself, and the wife won't understand the beauty of it
<kazundo> Anybody candidate to join us?
mjsmith2 has joined #ruby
cina has joined #ruby
<ddv> kazundo: for free?
<kazundo> No way!
<kazundo> We pay a lot.
<ddv> kazundo: Like?
<shevy> Hanmac, why do the more recent gcc versions make so many stupid warnings?
Hobogrammer has joined #ruby
jamesaanderson has joined #ruby
<Hanmac> dont know
<shevy> "warning: 'gtk_dialog_set_alternative_button_order' is deprecated"
ffranz has joined #ruby
<kazundo> 500 dollars at least.
<oddmunds> an hour?
dik_dak has joined #ruby
<Hanmac> shevy thats not the problem with gcc, its a problem with gtk (let me guess, ruby-gnome2 problem?)
<kazundo> No, for completion.
<shevy> Hanmac it was just an example let me give you another one in a moment
paulfm has joined #ruby
<shevy> argmatch.c:59:23: warning: incompatible implicit declaration of built-in function 'exit'
t0rc has joined #ruby
AlexRussia has joined #ruby
<kazundo> How is it? 500 dollars a product.
<ddv> kazundo: I think you want to start at 5K
chipotle has joined #ruby
<shevy> kazundo do you just randomly throw your money away
<ddv> because shevvy will .collect
<shevy> if I would have time perhaps!
ndrei has joined #ruby
cina has quit [Ping timeout: 265 seconds]
chipotle has quit [Client Quit]
<kazundo> It is not my money, but is my friend's investment and business.
<ddv> kazundo: shevy will do it for 5K
darmou has joined #ruby
<kazundo> shevy: really?
cina has joined #ruby
<kazundo> My friend is ready to buy it.
<ddv> not sure how expensive she is :P
benzrf is now known as benzrf|offline
rshetty_ has quit [Ping timeout: 258 seconds]
troulouliou_dev has joined #ruby
<kazundo> shevy: are you serious? We are of coure serious
<kazundo> * course
Macaveli has joined #ruby
<kazundo> shevy: are you alright?
Macaveli has quit [Remote host closed the connection]
meatherly has joined #ruby
<kazundo> shevy?
kevind has joined #ruby
Jake232 has quit [Ping timeout: 276 seconds]
<kazundo> 50K dollars is not enough?
chipotle has joined #ruby
<ddv> depends on project size
LekeFly has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
<kazundo> I told that go to a specified website, and type ID and passphrase, click and buy. over
aganov has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
ndrei has joined #ruby
<kazundo> I guess it is very short program for exercise for excellent students. Though I cannot have skill for that.
<ddv> i'm sure even dumb 'students' can manage that
<kazundo> True. ddv
<kazundo> We are not programmers, but we need it.
<kazundo> Do you join us?
etqqkoiflwhb_ has joined #ruby
mclee has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
t0rc has quit [Quit: WeeChat 0.4.3]
mclee has joined #ruby
t0rc has joined #ruby
workmad3 has joined #ruby
<kazundo> If you are considering about it, I will send you my skype ID.
<jimmyhoughjr> morning all
rm_ has quit [Remote host closed the connection]
lxsameer has quit [Read error: Connection reset by peer]
mattstratton has joined #ruby
Lutece has joined #ruby
rm_ has joined #ruby
fuzzyhorns has joined #ruby
Shidash has joined #ruby
<kazundo> If you don't mind, I want to talk with you. ddv .
baweaver has joined #ruby
rm_ has quit [Client Quit]
<shevy> kazundo as I don't have time it simply does not matter
<shevy> kazundo and you should not allow others talk for anyone else
NukePuppy has joined #ruby
SCommette has joined #ruby
upsell5 has joined #ruby
mehlah has joined #ruby
<kazundo> I see. shevy.
<ddv> :)
omosoj has joined #ruby
<shevy> ddv has a tiny ... uhm ...
<shevy> car
mary5030 has joined #ruby
<kazundo> How about it? shevy?
<ddv> shevy: lies
<shevy> kazundo is that even a sentence
<jimmyhoughjr> so ruby koans are awesome
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
<kazundo> Pardon me?
<shevy> <kazundo> How about it? shevy?
<shevy> kazundo How about that? kazundo?
neosoro_ has left #ruby [#ruby]
AlexRussia has quit [Ping timeout: 258 seconds]
rm_ has joined #ruby
<kazundo> I am Japanese, not good at English.
<jimmyhoughjr> it, that very close
<kazundo> In conclusion, who joins us?
<ddv> kazundo: I love Japan.
chipotle has joined #ruby
<kazundo> Thank you.
fuzzyhorns has left #ruby [#ruby]
<shevy> I love japanese bboys
<ddv> kazundo: Except the areas that are full of radiation
<shevy> and ninjas
<kazundo> Ninja does not exist.
mehlah has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
<shevy> :(
<ddv> shevy: really?
<ddv> shevy: they have small cars
<ddv> :P
<ddv> and you know what else
yfeldblum has joined #ruby
<ddv> haha
<shevy> hmm
<shevy> shinobi
<kazundo> I want to talk to you about our business.
<jimmyhoughjr> seems some are more serious here than others…
mercerist has joined #ruby
mary5030 has quit [Remote host closed the connection]
subraminion has joined #ruby
supermarin_ has joined #ruby
<kazundo> I'm serious.
<shevy> Hiroyuki Sanada http://www.imdb.com/name/nm0760796/ was the coolest ninja when he was in his early 20ies
mary5030 has joined #ruby
subraminion has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subraminion has joined #ruby
<havenwood> jimmyhoughjr: i did enjoy going through the koans, neat idea to meditate on code
<kazundo> Alright, I would like to give any books, articles, comics and ninja series as you like. Then how about our business?
<shevy> here was the best fighting scene https://www.youtube.com/watch?v=esH0fwn_FU8
zybi1 has joined #ruby
<jimmyhoughjr> havenwood: I think its a great way to dive into a lang
<jimmyhoughjr> I know TDD fairly well, but I’m an objective-c / cocoa programmer
ce_afk is now known as cescalante
yalue has joined #ruby
<jimmyhoughjr> I gleaned a little bit of ruby from using frank-cucumber to do iOS UATs
<kazundo> I'm afraid I am certainly busy. I don't know ancient Japanese mysteries and stories.
tesuji has quit [Ping timeout: 255 seconds]
<shevy> kazundo hehehe
<jimmyhoughjr> and since I got laid off, I thought beefing up on ruby to help with backend solutions might be good
jobewan has joined #ruby
<shevy> jimmyhoughjr what job was that? a ruby related one?
<ddv> -off
<theRoUS> in yard, is there truly no way to link to arbitrary labels within the current document? for example, adding a heading with '===' (rdoc mode, HTML output) results in a target prefixed with 'label-' -- but i don't see that there's any way to link to that
<jimmyhoughjr> no I was doing iOS development for a consulting firm, worked there for almost a year and a half
yfeldblum has quit [Ping timeout: 252 seconds]
<kazundo> Hey? If you don't care about our business, I quit this room.
s2013 has joined #ruby
setra has quit [Ping timeout: 252 seconds]
t0rc has quit [Quit: WeeChat 0.4.3]
<kazundo> This is his business seriously. He and I cannot write a code!
nowthatsamatt has joined #ruby
<jimmyhoughjr> so what is going on kazundo?
freerobby has joined #ruby
<kazundo> I am looking for a programmer and hire him
<jimmyhoughjr> a ruby progrmmer I assume?
<shevy> kazundo matz can program in ruby, I can, and so you can too if you learn it
<kazundo> I don't concern languages.
Hanmac1 has joined #ruby
<jimmyhoughjr> you might have better luck with a site like elance.com
atraylen has joined #ruby
mehlah has joined #ruby
<kazundo> I cannot. shevy .
BWStearns has quit [Ping timeout: 240 seconds]
<kazundo> I mean I want to hire some programmer.
<jimmyhoughjr> irc isnt really the place to forge business relationships
<shevy> yea
<DefV> whynot
<workmad3> kazundo: what salary are you willing to pay? :P
<jimmyhoughjr> elance.com is a site that helps people who need programmers find programmers
<kazundo> I know but I have no place to ask for
<kazundo> 50K
<jimmyhoughjr> and helps make sure people get paid, and the services are rendered
Hanmac has quit [Ping timeout: 240 seconds]
<DefV> 50K a month
<DefV> that's nice
<workmad3> kazundo: USD?
<ddv> no japanese yen
<ddv> LOL
<workmad3> ddv: :D
Maple__ has quit [Ping timeout: 265 seconds]
<kazundo> USD, 50,000 dollars.
<jimmyhoughjr> what type of work do you need done? I do iOS.
mikepack has joined #ruby
<kazundo> Sorry, 500 dollars..
<kazundo> sorry...
<jimmyhoughjr> I know a bit of other platforms, but I’m most productive on iOS
<workmad3> kazundo: that had better be an hourly rate :P
<jimmyhoughjr> sounds like a perfect job for elance, goto thats site, sign up and post your job
<kazundo> $500 after the coding is done.
<jimmyhoughjr> then you can see bids from porgrammers intersted in the job
<jimmyhoughjr> and decide which one you want to work with
<jimmyhoughjr> www.elance.com
axilla has joined #ruby
<workmad3> jimmyhoughjr: wow, you're being generous... calling the people bidding on elance 'programmers'...
<jimmyhoughjr> hehe
<havenwood> ninjas*
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jimmyhoughjr> i hate elance, i neve could get a job from there
troulouliou_dev has quit [Quit: Leaving]
<jimmyhoughjr> but it is a better place to find soemone at his price point
* workmad3 is pretty sure that elance is just a re-rendering of clientsfromhell
dsdeiz has joined #ruby
<ddv> You won't find anyone for 500 US dollars
<axilla> what is ||= in ruby
DaniG2k has quit [Quit: leaving]
ixti has quit [Ping timeout: 240 seconds]
troyready has quit [Quit: Leaving]
<jimmyhoughjr> on elance you can
charliesome has joined #ruby
<workmad3> axilla: equivalent to 'a || a = b'
<jimmyhoughjr> the tighty whity operator!
<axilla> thx
dangerousdave has quit [Ping timeout: 252 seconds]
thejoecarroll has joined #ruby
<kazundo> Okay, ddv
Hanmac has joined #ruby
NukePuppy has quit [Read error: Connection reset by peer]
<workmad3> jimmyhoughjr: I think ddv meant 'You won't find anyone even barely competent for $500'
NukePuppy has joined #ruby
<ddv> exactly
<workmad3> unless it really is about 2-3 hours of scripting or similar
mehlah has quit [Read error: Connection reset by peer]
<jimmyhoughjr> true, but i guess enough ppl are happy with that since thats all I saw there was people wanting way too mcuh stuff for the price
Macaveli has joined #ruby
<jimmyhoughjr> like and android, ios and website all for 500
<jimmyhoughjr> or “a simple game for android and iOS”
<shevy> jimmyhoughjr people sometimes even buy whole corporations for $1
Hanmac1 has quit [Ping timeout: 252 seconds]
<axilla> that's because youre competing against the indians
<jimmyhoughjr> like Smith-Corona
<axilla> who will work for peanuts.
<jimmyhoughjr> I know
<workmad3> jimmyhoughjr: a lot of people on elance are from countries with really low living expenses that also have really poor international contract enforcement :)
<jimmyhoughjr> thats why I was so glad to have FTE
<axilla> i did a bunch of freelancing through odesk
charliesome has quit [Client Quit]
<axilla> and i was able to get my price up to $35/hr
<axilla> that's the highest i've ever gottan accepted at, and I have a good portfolio with 5* ratings
<jimmyhoughjr> thats more than I made FTE, but seems low for contracting, at least for iOS
<kazundo> How much in common?
<shevy> axilla you use the past tense here?
ikaros has quit [Read error: Connection reset by peer]
<axilla> yes, I have a good full time job now where I dev and don't feel like doing it at night too
<shevy> I see
<jimmyhoughjr> most of the iOS contractors i know bill between 75-120 / hr
<axilla> when I was freelancing i was working a management job and still had that desire to write code.
ikaros has joined #ruby
<workmad3> axilla: I do some evening work... but for about 4 times that an hour
<axilla> workmad3: do you get it through odesk?
<workmad3> axilla: no, I've never touched anything like odesk
<jimmyhoughjr> i got burned out a little, but i got my groove back even before i got laid off
andrewlio has quit [Quit: Leaving.]
jxf has joined #ruby
<axilla> yea, its hard to get a good price on those sites.
<axilla> it benefits 3rd world workers
<shevy> more power and money to them! ;P
<jimmyhoughjr> im trying to see why a test is failing
<axilla> they will work for $3-4/hr and some of them are decently good.
<kazundo> I misread his price, 50K is correct.
<shevy> cool
<jimmyhoughjr> its been quite a conundrum
<shevy> $3 per hour
<workmad3> kazundo: 50k an hour? awesome :D
<kazundo> No, 50k for finishinig up
tagrudev has quit [Remote host closed the connection]
<kazundo> * It's done then we pay 50k.
<jimmyhoughjr> I’ve stepped through and seen the expected messages being sent, but the mock fails verifivation
<jimmyhoughjr> what type of work is it kazundo ?
darmou has quit [Quit: darmou]
<kazundo> For a moment please.
bline79_ has quit [Quit: leaving]
<kazundo> Sorry, 500 USD is correct.
<kazundo> He says.
s2013 has quit [Ping timeout: 265 seconds]
<apeiros> you seem to be switching between 500 and 50'000 USD
bklane has joined #ruby
<kazundo> Web cruising and automatic typing and clicking.
<apeiros> I know it's only two zeroes difference… still :)
<kazundo> Sorry about that , apeiros
<bklane> I am getting requests that are with a .php at the end...how would I still render those to the regular page without .php?
<bklane> (Client recently switched over from php site to rails)
<Lutece> Sounds like you are after a survay bot or something similar?
<havenwood> bklane: in your nginx or apache conf?
<apeiros> bklane: with apache, write a redirect rule
jamesaanderson has joined #ruby
treehug88 has joined #ruby
<benzrf> i enjoy haskell's methods of error handling
<apeiros> don't forget to add the relocated header
devdazed has joined #ruby
<bklane> havenwood: apeiros: using Heroku Cedar
<benzrf> it's like a pleasant cross between error codes and exceptions
<kazundo> Nobody want $500?
<benzrf> kazundo: i could go with 500$
<benzrf> *go for
<benzrf> sup
omosoj has quit [Ping timeout: 240 seconds]
<kazundo> Okay.
<benzrf> what do u want
<kazundo> I am going to send my skype ID. I detail the price, and etc... in skype, please.
<benzrf> no thx
<benzrf> i dont like skype
<benzrf> and i dont have it on this chromebook
<kazundo> What else?
<benzrf> irc
<shevy> benzrf is too shy to show his moustache
<benzrf> which we are already in
dANOKELOFF has joined #ruby
<benzrf> shevy: sadly i appear to be completely incapable of growing facial hairyhenderson
<benzrf> *hair
jamesaanderson has quit [Client Quit]
<shevy> man I would not want to grow hairyhenderson on my face either, that guy is dirty I tell ya
<benzrf> :-D
<shevy> <3 tab completion
troyready has joined #ruby
omosoj has joined #ruby
<benzrf> sadly tab completion does not <3 you back
<benzrf> =[
jamesaanderson has joined #ruby
<axilla> hairy and the hendersons was an epic movie when i was a kid.
<havenwood> bklane: .htaccess file
<benzrf> :t (#.)
<benzrf> oops wc
<kazundo> Cruise a web, and we choose specified products, type ID, password, over.
<shevy> axilla wasn't there some group
<shevy> the hendersons or something...
<shevy> that did only one good song, then died as a group
Dreamer3 has joined #ruby
<Lutece> Automated product reviewer?
<shevy> oh the hansons
<shevy> not the hendersons
Dreamer3 has quit [Max SendQ exceeded]
<kazundo> Hey? How is it? benzrf
shime has quit [Ping timeout: 255 seconds]
Dreamer3 has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb_ has joined #ruby
combusean has joined #ruby
<bklane> havenwood: I've never used .htaccess before...How would I only grab php requests?
eka has joined #ruby
jamesaanderson has quit [Client Quit]
solars has joined #ruby
<solars> hey, whats the "right" way to do a do..while loop in ruby?
jcarouth has joined #ruby
<kazundo> Nobody comes?
<shevy> solars while works too
rm_ has quit []
<havenwood> bklane: ##php would prolly be more familiar
<kazundo> Nobody joins us? Okay?
<benzrf> kazundo: what is it you want
dangerousdave has joined #ruby
<benzrf> kazundo: sorry im having a hard time understanding you
<benzrf> kazundo: are you using a translation program?
<kazundo> Automatic typing and surfing and clicking bot!
supermarin_ has quit [Quit: Computer has gone to sleep.]
<benzrf> kazundo: like a web spider?
aiguu has joined #ruby
<kazundo> Automatic purchasing system.
supermarin_ has joined #ruby
lmickh has joined #ruby
<kazundo> Iteratively!
etqqkoiflwhb_ has quit [Ping timeout: 264 seconds]
subraminion has quit [Ping timeout: 252 seconds]
C0deMaver1ck has joined #ruby
EagleDelta has joined #ruby
mehlah has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jespada has joined #ruby
<kazundo> benzrf, can I call you?
<benzrf> kazundo: sorry no
<benzrf> but you can pm me
<kazundo> Okay.
rm_ has joined #ruby
aiguu has quit [Ping timeout: 240 seconds]
supermarin_ has quit [Ping timeout: 252 seconds]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
segfalt has joined #ruby
nnu has joined #ruby
supermarin_ has joined #ruby
<kazundo> Nobody wants to join us?
lolmaus has joined #ruby
B1n4r10 has joined #ruby
<toretore> lol
<kazundo> Then I leave here. Thanks.
<workmad3> kazundo: o/
endash has joined #ruby
kazundo has left #ruby [#ruby]
<shevy> \o/
mjsmith2 has quit []
<shevy> workmad3 and shevy do: \o/\o/
bal has quit [Quit: bal]
MatthewsFace has quit [Quit: This computer has gone to sleep]
mjsmith2 has joined #ruby
MatthewsFace has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
<nwkr> heheh
bamyojo14335 has joined #ruby
<Hanmac> for some new company i need an acc on microsoftonline for office365 ... the fun? i tryed to use a password with "ö" but it says i cant use passwords with "<>" ... => the interface used a different keyboard layout oO
danman has joined #ruby
bakflash has joined #ruby
mordocai has joined #ruby
zcreative has joined #ruby
zcreative has quit [Client Quit]
blackmesa has joined #ruby
jjbohn has joined #ruby
WishBoy- has joined #ruby
WishBoy has quit [Read error: Connection reset by peer]
moted has joined #ruby
Tamae has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
geggam has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
MohamedAlaa has joined #ruby
fabrice31 has quit [Remote host closed the connection]
zB0hs has joined #ruby
andrewjanssen has joined #ruby
solars has quit [Ping timeout: 255 seconds]
kevind has quit [Quit: kevind]
MatthewsFace has quit [Quit: This computer has gone to sleep]
BWStearns has joined #ruby
Wapitidou has quit [Ping timeout: 255 seconds]
bklane has quit [Quit: Leaving...]
VinDH has joined #ruby
Wapitidou has joined #ruby
anarang has quit [Quit: Leaving]
hamakn has joined #ruby
acrussell has joined #ruby
Xeago has quit [Remote host closed the connection]
pu22l3r has joined #ruby
memorozovm has quit [Remote host closed the connection]
shemerey has joined #ruby
todor has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
Wapitidou has quit [Ping timeout: 258 seconds]
sski has joined #ruby
Wapitidou has joined #ruby
jjbohn has quit [Quit: Leaving...]
dima_ has joined #ruby
dima_ has quit [Client Quit]
dima_ has joined #ruby
dima_ has quit [Client Quit]
JumpMast3r has joined #ruby
memorozovm has joined #ruby
bogeyd6 has joined #ruby
sski has quit [Ping timeout: 276 seconds]
rizzatti has quit [Quit: Leaving...]
mg^afk is now known as mg^
danijoo has quit [Read error: Connection reset by peer]
claymore has quit [Ping timeout: 264 seconds]
danijoo has joined #ruby
claymore has joined #ruby
JumpMast3r has quit [Client Quit]
b00stfr3ak has joined #ruby
acrussell has quit [Quit: Leaving.]
chrisseaton has joined #ruby
cescalante is now known as ce_afk
ce_afk is now known as cescalante
<Lutece> Can someone help me with an RVM error, trying to go from one env to another, getting this error:
<Lutece> RVM is not a function, selecting rubies with 'rvm use ...' will not work.
Wapitidou has quit [Quit: WeeChat 0.4.3]
atu has quit [Quit: Page closed]
crocket has joined #ruby
<crocket> What is Net::OpenTimeout ?
<crocket> How can I solve it?
<Lutece> crocket, solve it?
<crocket> I want to remove the cause of Net::OpenTimeout
<crocket> "OpenTimeout, a subclass of Timeout::Error, is raised if a connection cannot be created within the open_timeout."
<crocket> huh
paulfm has quit []
<Lutece> Ah its an expetion, it means the server you are opening a connection to was taking too long
<crocket> hell
<Lutece> are you sure the address is right?
supermarin_ has quit [Quit: Computer has gone to sleep.]
claymore has quit [Ping timeout: 240 seconds]
Maple__ has joined #ruby
aiguu has joined #ruby
supermarin_ has joined #ruby
<Lutece> you may need to remove http:// and www. if you are using it
WishBoy has joined #ruby
<crocket> Lutece, I use "http://smail.synap.co.kr:3240" as the address.
WishBoy- has quit [Read error: Connection reset by peer]
<crocket> It used to work well until days ago.
<Lutece> remove http://
<crocket> hell
<crocket> Lutece, Why did it work before?
bamyojo14335 has quit [Quit: bamyojo14335]
dANOKELOFF has quit []
<Lutece> Probably had some DNS stuff change
<crocket> Lutece, If I remove http://, I can't add a webhook to gitlab.
Xeago has joined #ruby
claymore has joined #ruby
<Lutece> hu
<Lutece> you want to paste me the code?
<Lutece> Also i just checked
<Lutece> the port is closed
<Lutece> wait one sec
paulfm has joined #ruby
jimmyhoughjr has quit [Quit: jimmyhoughjr]
combusean has quit [Ping timeout: 276 seconds]
supermarin_ has quit [Ping timeout: 252 seconds]
<Lutece> wait no it is open
olivier_bK has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
Jake232 has joined #ruby
pu22l3r has joined #ruby
acrussell has joined #ruby
<Lutece> Yeah ok paste the code im curious
<Lutece> in a paste bin
phinfonet has joined #ruby
pel_daniel has joined #ruby
etqqkoiflwhb_ has joined #ruby
rizzatti has joined #ruby
g0bl1n has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
olivier_bK has joined #ruby
dik_dak has quit [Ping timeout: 265 seconds]
memorozovm has quit [Remote host closed the connection]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
jiriki has joined #ruby
<crocket> I can't really paste code, but I reported https://github.com/gitlabhq/gitlabhq/issues/6997
dumdedum has quit [Quit: foo]
rippa has joined #ruby
ktkh has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
Es0teric has joined #ruby
andrewjanssen has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
djbkd has joined #ruby
andikr has quit [Remote host closed the connection]
zB0hs has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak_ has quit [Remote host closed the connection]
andrewjanssen has quit [Quit: Leaving...]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
centrx has joined #ruby
enebo has joined #ruby
mengu has quit [Ping timeout: 276 seconds]
ryanleesipes has joined #ruby
Megtastique has joined #ruby
<gregf_> print str_replace(array("{name}","{greet}"),array("ted", "hello"), "<h1>{greet}{name}</h1>");
Es0teric has quit [Quit: Computer has gone to sleep.]
<gregf_> bah , sorry :/
<gregf_> wrong chat :/
qmfnp has joined #ruby
<apeiros> ack, php!
* apeiros gets eyebleach
qmfnp is now known as Fiveways
dik_dak has joined #ruby
Fiveways is now known as fiveways
JasmeetQA has joined #ruby
jerrett has quit [Quit: leaving]
snath has joined #ruby
combusean has joined #ruby
s2013 has joined #ruby
jhulten has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhulten_ has joined #ruby
gheegh has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
Zenigor has quit [Remote host closed the connection]
<Hanmac> gregf_ look, even this is better in ruby:
<Hanmac> >> "<h1>{greet} {name}</h1>".gsub(/\{\w+\}/, "{name}" => "ted", "{greet}" => "hello")
<eval-in__> Hanmac => "<h1>hello ted</h1>" (https://eval.in/153557)
jhulten has quit [Read error: Connection reset by peer]
diegoviola has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
MohamedAlaa has quit []
Xeago has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
<xybre> "<h1>%{greet} %{name}</h1>" % {name: "ted", greet: "hello"}
<Hanmac> yeah! or like that
lkba has quit [Ping timeout: 240 seconds]
Es0teric has joined #ruby
<xybre> The gsub hash trick is pretty great though, I've only needed it a few times but its really handy.
jambolina has quit [Ping timeout: 240 seconds]
heftig has quit [Quit: Quitting]
combusean has quit [Ping timeout: 252 seconds]
pietr0 has joined #ruby
dfedde has quit [Quit: leaving]
crocket has left #ruby ["Leaving"]
olivier_bK has quit [Remote host closed the connection]
Zenigor has joined #ruby
sambao21 has joined #ruby
olivier_bK has joined #ruby
aspires has joined #ruby
dfedde has joined #ruby
benzrf is now known as benzrf|offline
s2013_ has joined #ruby
cina has quit [Remote host closed the connection]
SilverKey has joined #ruby
SilverKey has quit [Max SendQ exceeded]
bradhe has joined #ruby
<gregf_> %h = qw/ name ted greet hello/;local $_ = "<h1>{greet} {name}</h1>";s/\{(\w+)\}/$h{$1}/g;print; <== in perl
<gregf_> but ruby is cool ;)
cina has joined #ruby
<xybre> Did a cat run across your keyboard?
<xybre> And Perl 5 you could define a gramamr for it and make it easy to reuse and generate replacements based on local variables from where the gramamr is called.
s2013 has quit [Ping timeout: 252 seconds]
timonv has quit [Remote host closed the connection]
<xybre> Sorry, perl 6
yfeldblum has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
anidear has joined #ruby
mengu has joined #ruby
eka has joined #ruby
kitak has quit [Remote host closed the connection]
rizzatti has quit [Quit: Leaving...]
kitak has joined #ruby
kaspergrubbe has joined #ruby
i_s has joined #ruby
lkba has joined #ruby
kpshek has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
dfedde has quit [Quit: leaving]
supermarin_ has joined #ruby
nathancahill has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yokel has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
s2013_ is now known as s2013
redondos has quit [Excess Flood]
sambao21 has quit [Quit: Computer has gone to sleep.]
User458764 has joined #ruby
mengu__ has joined #ruby
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
lmickh has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
dfedde has joined #ruby
jherbst has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
mengu has quit [Ping timeout: 240 seconds]
gener1c has quit [Remote host closed the connection]
Xeago has joined #ruby
akonny has joined #ruby
the_f0ster has joined #ruby
zigomir has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
benzrf has quit [Killed (idoru (Spam is off topic on freenode.))]
<eam> gregf_: the ruby equiv is a bit uglier imo: h = Hash[*%w{name ted greet hello}]; $_ = "<h1>{greet} {name}</h1>"; $_.gsub!(/{(\w+)}/){h[$1]}; puts $_
vee has quit [Changing host]
vee has joined #ruby
<eam> more weird magic symbols than perl, which is saying something
supermarin_ has quit [Ping timeout: 255 seconds]
SilverKey has joined #ruby
Fire-Dragon-DoL has joined #ruby
<shevy> hmmmmm
<centrx> that's only one way to do it
binaryhat has joined #ruby
Xeago has quit [Remote host closed the connection]
<eam> both languages can write more clearly in the non-one-liner case :)
<shevy> I haven't even parsed what is going on
ephemerian has quit [Quit: Leaving.]
<shevy> but
<shevy> %h = qw/ name ted greet hello/
<shevy> if that makes a hash then that is indeed short
<eam> it's quote-word array to hash keys; then interpolate key into value when matched in {key} templates in a string
<shevy> why don't we have a % in ruby to create hashes?
<hoelzro> % doesn't create a hash; it declares a hash variable
<eam> shevy: I'd prefer if to_h worked for a flat array, honestly
<workmad3> eam: I quite like h = {name: "ted", greet: "hello"}; "<h1>%{greet} %{name}</h1>" % h
nvrch has quit [Quit: nvrch]
<hoelzro> you can have $h @h and %h in Perl; they're distinct variables
<eam> h = %w{foo bar}.to_h # seems quite clean
<centrx> except {name: ted, greet: hello} is shorter
<centrx> that's the Ruby way to make a hash
<shevy> hoelzro please don't confuse me man! :(
<eam> to_h expects this crazy nested structure of [[k,v],[k2,v2]] which is nuts
<shevy> {"name"=>"ted", "greet"=>"hello"}
<shevy> >> {name: ted, greet: hello}
<eval-in__> shevy => undefined local variable or method `ted' for main:Object (NameError) ... (https://eval.in/153573)
<shevy> centrx man
<workmad3> >> h = {name: "ted", greet: "hello"}; "<h1>%{greet} %{name}</h1>" % h
<eval-in__> workmad3 => "<h1>hello ted</h1>" (https://eval.in/153574)
<centrx> h = { name: :ted, greet: :hello }
<upsell5> i know its bad practise, but can create a variable inside of a .erb file?
<shevy> >> h = { name: :ted, greet: :hello }; h
<eval-in__> shevy => {:name=>:ted, :greet=>:hello} (https://eval.in/153575)
<havenwood> eam: why's that nuts?
toastynerd has joined #ruby
goleldar has joined #ruby
<shevy> but those are symbols not strings
<havenwood> eam: seems sensical to me
<eam> havenwood: it's just not useful, who the heck has that structure?
<eam> the common case is "I have an ordered list of pairs"
<havenwood> eam: anything you #each_slice(2) :P
<eam> not "I have an unordered list of tuples"
<centrx> a pair is a tuple
<eam> centrx: no I mean implicit pairs
<havenwood> trouble with tribbles, er tuples
<eam> eg %w{k v}
<kke> hmm how to test something that uses redis with LUA?
<shevy> eam what is that there
<shevy> >> %w{k v}
<eval-in__> shevy => ["k", "v"] (https://eval.in/153576)
canton7-mac has quit [Remote host closed the connection]
<shevy> oh yes... an array
<centrx> I've never had a real use for that, it's only useful in this contrived case
<eam> in perl, you can translate hashes into arrays and back very easily, it's suuuuper useful
<eam> and used very frequently
<shevy> that is fine, we can't let perl get away with literal hash creation syntax
<havenwood> >> %i{name ted greet hello}.each_slice(2).to_h
<eval-in__> havenwood => {:name=>:ted, :greet=>:hello} (https://eval.in/153577)
<eam> shevy: it's not limited to literals
<eam> it's generic
<eam> eg "turn ARGV into a hash"
<shevy> is that now making it worse or better
<workmad3> eam: Hash[*ARGV]
<shevy> hehehe
<shevy> yes
<eam> workmad3: yes, see my code above with the lamentation of it being more magic/ugly than perl :)
<shevy> workmad3 but qw/ name ted greet hello/
<eam> h = ARGV.to_h # why not this?
<workmad3> eam: it's not magic though... * turns an array into a parameter list
<workmad3> eam: and Hash[] is just a method
<eam> workmad3: sure sure, and % $ and @ aren't magic in perl either
ktun has joined #ruby
benlieb has joined #ruby
<workmad3> eam: you could class the '*' bit as magic I guess, as you can't change what that means and it's somewhat arcane (but I think it's a perlism anyway :) )
<eam> but when we talk about ugly symbols and syntax that make perl ugly, well, a lot of that exists in ruby too
djbkd has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
<centrx> Who said Perl is ugly
<workmad3> eam: Hash[] as a method for turning a list of parameters into a hash though... I don't see how that's ugly
<kke> maybe i try fakeredis
s2013_ has joined #ruby
<havenwood> kke: real redis!
echevemaster has joined #ruby
ktun has quit [Client Quit]
<eam> workmad3: I'm not sure I should try to explain Hash[] vs #to_h in terms of aesthetics. I guess you either get it or you don't
<eam> consistent ways of operating on objects is pretty important for readability
<havenwood> kke: You mean how to test Lua from Ruby or Lua from Lua?
michaeldeol has joined #ruby
rizzatti has joined #ruby
bkparso has joined #ruby
lolmaus has joined #ruby
anidear has quit [Remote host closed the connection]
<shevy> hey
ktun has joined #ruby
<shevy> qw/ name ted greet hello/
<shevy> I want this now
<eam> shevy: %w//
<shevy> aaaaah
mengu__ has quit [Ping timeout: 252 seconds]
<shevy> this is just an array? :(
<eam> yes
<havenwood> shevy: qw?
<shevy> noooooooo
jonno11 has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> I want a hash!
<shevy> who stole my hash
<eam> shevy: that's what we're discussing, in perl it's very natural to transition between hashes and arrays
s2013 has quit [Ping timeout: 276 seconds]
<shevy> havenwood hehe I thought it makes a hash
mercerist has quit [Quit: Computer has gone to sleep.]
<shevy> ok
<shevy> how do you turn this into a hash in perl then?
<hoelzro> qw makes a list
<eam> %hash = @list
<hoelzro> assigning it to a hash makes it a hash
<eam> is how it works in perl
djbkd has joined #ruby
<shevy> eam huh
<shevy> you just change one character?
<eam> shevy: think hash = array.to_h
<shevy> yes, this I can understand
<shevy> but you used % and @
ktun has quit [Client Quit]
<shevy> aaah
<eam> the $ % and @ in perl are sort of like compiler-typed hungarian notation
<kke> havenwood: my gem uses a couple of lua things, maybe i can just stub/mock/something those methods and use fakeredis for the rest of it
<eam> so @foo is only anarray object
<shevy> hoelzro so perl kinda tries to automatically decide?
<eam> and %h is only a hash object
<hoelzro> %hash is *always* a hash
<kke> like mock redis.eval
timonv has joined #ruby
<shevy> aha, I think I understand
<hoelzro> if you assign a list to a hash variable (ie. any variable with a leading %), the list is processed as a list of kv pairs and inserted into that hash
<eam> $ in perl means scalar, which is essentially like any ruby object (a VALUE)
memorozovm has joined #ruby
b00stfr3ak has quit [Ping timeout: 265 seconds]
<hoelzro> and in Perl 5.20 (which is due out tomorrow), you can do this with a hash slice too
<eam> and *splat in ruby approximates the natural behavior of @array or %hash
<hoelzro> although I'm not sure you can actually assign to a hash slice, now that I think of it...
<cout> perl5 is still under development?
<cout> what happened to perl6?
<eam> cout: heck yes
<kke> 5.2? i thought perl 6 has been on the works for like 20 years
<hoelzro> cout: both are still going
<cout> people need to just move on
<cout> kke: 20, not 2
<hoelzro> cout: there are lot of people (myself among them) who really like writing in Perl
<hoelzro> I don't feel a need to "move on"
<xybre> Perl 6 is pretty awesome.
<cout> hoelzro: you mean really like writing perl5?
<eam> cout: I do
<hoelzro> cout: yes
<eam> I enjoy it substantially more than ruby
dpswireless has quit [Remote host closed the connection]
<cout> hoelzro: just get over it. perl6 is way better.
b00stfr3ak has joined #ruby
<hoelzro> I like writing Perl 6 as well
<xybre> Perl 6's reimagining of "regex" is really ground breaking.
<eam> it's unfortunate that perl6 has the name "perl"
wallerdev has quit [Quit: wallerdev]
<cout> xybre: yes
Hobogrammer has joined #ruby
<xybre> It's unfortunate that people still want to use Perl 5 out of habit.
roolo has quit [Quit: Leaving...]
<xybre> the Perl 6 community is great too.
<workmad3> eam: btw, Hash[array] and array.to_h work exactly the same... they both require an array of [k,v] elements
<hoelzro> there's a lot to like about Perl [56]
<shevy> hoelzro which perl version do you use? both?
<havenwood> perl11
<workmad3> eam: but Hash[arg1, arg2, arg3, arg4] (which is not the same) will construct a hash from each pair of parameters ;)
<hoelzro> shevy: I do work in both
<xybre> Oh yeah and they homogenized variable type distinctions in perl 6 also, so the silly @ thing makes sense now. It's still perl so everythign is very context sensetive, but its better.
<hoelzro> more in 5, though
<LiohAu> guys, is this a ruby error : VerboseError: Unable to write to preferences ?
<shevy> LiohAu not from main ruby I think, by the way do I know you?
<xybre> LiohAu: It's not a Ruby core error.
memorozovm has quit [Ping timeout: 265 seconds]
ktun has joined #ruby
<LiohAu> shevy: I already asked few questions here ^^
<LiohAu> thx anyway, I don’t know where is this logged from ^^
<xybre> Looks liek a "verboseError" might be in node.js.
<shevy> LiohAu hmm not I meant from years ago ... probably there was only someone with a similar nick from #ruby-de or something
Hobogrammer has quit [Client Quit]
ktun has quit [Client Quit]
b00stfr3ak has quit [Read error: Connection reset by peer]
tobago has quit [Remote host closed the connection]
<havenwood> Javascript is meant to raise VerboseError, working as intended. :P
<eam> workmad3: yeah - I wish #to_h would work with a single []
sambao21 has joined #ruby
<workmad3> eam: it would be nice... but as I said, to_h is exactly equivalent to Hash[array] :)
shashin has quit [Quit: shashin]
<workmad3> eam: well, almost equivalent... Hash[] is more forgiving and gives you back an empty array
saarinen has joined #ruby
sambao21 has quit [Client Quit]
WishBoy- has joined #ruby
roolo has joined #ruby
papercode has joined #ruby
<shevy> it does not crash ?
<shevy> hmm
<workmad3> *hash
EvanR has joined #ruby
<shevy> >> Hash[*w( abc def ghi jkl mno )]
<eval-in__> shevy => /tmp/execpad-8e45a2c626a8/source-8e45a2c626a8:2: syntax error, unexpected tIDENTIFIER, expecting ';' or '\n' ... (https://eval.in/153593)
ktun has joined #ruby
<shevy> it cries like a baby!
<shevy> it broke like my car
<EvanR> does anyone know of a tool to detect misspelled variables statically
<workmad3> >> Hash[*%w( abc def ghi jkl mno )]
<eval-in__> workmad3 => odd number of arguments for Hash (ArgumentError) ... (https://eval.in/153594)
<eam> workmad3: sure, but I can't #to_h on a splat :D
<workmad3> >> Hash[*%w( abc def ghi jkl mno pqr )]
<eval-in__> workmad3 => {"abc"=>"def", "ghi"=>"jkl", "mno"=>"pqr"} (https://eval.in/153595)
<workmad3> >> Hash[%w( abc def ghi jkl mno pqr )]
<eval-in__> workmad3 => /tmp/execpad-6e675925fe8c/source-6e675925fe8c:2: warning: wrong element type String at 0 (expected array) ... (https://eval.in/153596)
<havenwood> eam: each_slice(2)
jambolina has joined #ruby
b00stfr3ak has joined #ruby
WishBoy has quit [Read error: Connection reset by peer]
<shevy> huh
fantazo has joined #ruby
<workmad3> shevy: you did * not %
<shevy> hehe
<workmad3> shevy: so you had an automatic syntax error ;)
<eam> havenwood: I mean, I know how to do it, I just want to do it as easily as I can in perl :)
<eam> shouldn't need a ton of chained methods, especially stuff like each_slice(2) which is going to be much slower runtime
AlexRussia has joined #ruby
SCommette has quit [Quit: SCommette]
<eam> ideally you're letting the interpreter know to do a list -> hash conversion and it can be fast
cina has quit [Ping timeout: 276 seconds]
<eam> without wrapping in custom business logic
roolo has quit [Client Quit]
* havenwood goes back to slicing.
ktkh has joined #ruby
erikruthven has joined #ruby
e^0 has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<RubyPanther> sigils in Perl create a context, %foo = @foo is like in Ruby if you could write foo.to_h = foo.to_a
<hoelzro> except that %foo and @foo are completely separate variables
jambolina has quit [Ping timeout: 252 seconds]
<RubyPanther> well, sortof
Spami has joined #ruby
jambolina has joined #ruby
<eam> RubyPanther: no sortof, they are
<RubyPanther> it _would_be_ foo.to_h = foo.to_a in Ruby if we supported the behavior
<RubyPanther> pointing out irrelevant details of Perl doesn't change that
einarj has quit [Remote host closed the connection]
e^0 has quit [Client Quit]
ktkh has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
einarj has joined #ruby
<hoelzro> I would argue that your example is more like %{$foo} = @{$foo}
<hoelzro> (which wouldn't work)
lolmaus has quit [Ping timeout: 240 seconds]
jimbow has joined #ruby
<eam> foo.to_h = bar.to_a # everyone can be happy with this example
<hoelzro> agreed!
Spami has quit [Client Quit]
<jimbow> how do we get the hang of test driven development
cjsarette has quit [Ping timeout: 240 seconds]
<jimbow> is it a good idea to start right off the bat with tdd for a complete neophyte?
jottr_ has joined #ruby
<hoelzro> lunch &
<xybre> I'm not entirely sure what the semantic meaning of foo.to_h = foo.to_a.
Hobogrammer has joined #ruby
<xybre> In Perl variables are containers which can be typed, it is an orthogonal concer to the contents of those containers.
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tacos1de has quit [Ping timeout: 272 seconds]
frank_____ has joined #ruby
markmarkmark has left #ruby ["WeeChat 0.4.3"]
<eam> xybre: it's not a good fit in ruby, the ruby way would be a cleaner #to_h probably
<RubyPanther> and Ruby explicitly rejects ideological orthogonality.
<eam> which could operate directly on single Array objects
<eam> (vs nested structures)
benlieb has quit [Quit: benlieb]
tacos1de has joined #ruby
jimbow has quit [Client Quit]
<eam> h = a.to_h # would be great, if it worked
tjr9898 has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 240 seconds]
<xybre> Ruby lacks a concept of array cursors. Which is funny, it was one of the very first questions I asked about in #ruby, and I explained what I was looking for poorly so no one had any idea what I was talking about.
anidear has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
<Hanmac> xybre: you mean like Enumerators ?
icebourg has joined #ruby
<xybre> No
Es0teric has quit [Quit: Computer has gone to sleep.]
<RubyPanther> arr.to_h works fine if it has the correct values
<xybre> Very much no
ktun has joined #ruby
michaeldeol is now known as butters
paulfm has quit [Read error: Connection reset by peer]
butters is now known as Guest94795
klaut has quit [Remote host closed the connection]
<RubyPanther> >> %w/ one two buckle my shoe /.zip(0..99).to_h
<eval-in__> RubyPanther => {"one"=>0, "two"=>1, "buckle"=>2, "my"=>3, "shoe"=>4} (https://eval.in/153597)
paulfm has joined #ruby
<eam> RubyPanther: that's another way of saying "it doesn't do it" :)
<xybre> While .each and Enumerable are nice, they are a completely different concept.
<RubyPanther> No, that's another way of saying, "we do it but only cleanly"
Guest94795 is now known as michaeldeol
<eam> RubyPanther: we can agree to disagree
Zenigor has quit [Remote host closed the connection]
tjr9898 has joined #ruby
_pingu has joined #ruby
<RubyPanther> I was a Perl hacker for something like 8+ years before (after waiting 5 years for Perl 6) I switched to Ruby. That was 10 years ago.
<xybre> I still ocassionally consider writing a cursoring gem, but even though Enumerable isn't the same thing, it's usually good enough.
jimmyhoughjr has joined #ruby
Advocation has joined #ruby
<Hanmac> xybre: i mean this:
<Hanmac> >> e = [1,2,3].each; p e.next; e.next; p e.next
<eval-in__> Hanmac => 1 ... (https://eval.in/153598)
Spami has joined #ruby
<RubyPanther> So I can tell the difference between something easier in Perl, and something bad in Perl that we Do Not Want and don't have because Matz chose not to have it
<Hanmac> itsnt that cursor like enough?
<xybre> Ah you mean the enumerator object itself, which is more of a stream.
<eam> RubyPanther: we have similar backgrounds; you may be reading far too much into the decision to only accept a nested Array struture vs a flat Array in #to_h
<eam> on the upside, it's trivial to add
<RubyPanther> eam: how can you argue from ignorance that I must be reading too much into it? Perhaps you're reading too little into it.
<eam> oh please let's not do this
Burgestrand has quit [Quit: Burgestrand]
<RubyPanther> My example with zip shows how easy it is to format the array if it is not well-formed for hash conversion
<yxhuvud> I wouldn't mind matz stealing builtin support for CFGs from perl6. (though I'd wish tehy choose a more powerful implementation)
<_pingu> how do I uninstall ruby 1.8.7 on suse 11?
<xybre> I mean seriously you can't even move backwards with Enumerator. Only rewind to the begining like an IO stream, but with a slightly different interface for some reason.
<jxf> _pingu: how did you install it?
<eam> RubyPanther: which has substantial runtime impact
<xybre> _pingu: consult SUSE's documentation for uninstalling anything else.
cina has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
<wallerdev> hi
<RubyPanther> in Ruby it is assumed to be harmful to "cast" things. We don't cast. We create a representation. If it is not well formed as a hash-shaped-array, we want explicit work to go into creating a well-formed version. It should have a #to_a method.
<eam> the elephant in the room when it comes to ruby idioms is what it actually makes the interpreter do
sambao21 has joined #ruby
<_pingu> jxf: somebody else installed it. can i find that out?
axl_ has quit [Quit: axl_]
<RubyPanther> We're expected to write classes when we need new behavior, and not to just shoehorn everything into the base types like is done in Perl, and like you're wanting to do with in this case
subbyyy has joined #ruby
combusean has joined #ruby
Lucky_ has joined #ruby
<jxf> _pingu: if it's a system package, uninstall it like you would anything else; if it's a user-specific Ruby, like the kind you'd get from ruby-install or rvm, then use that tool to uninstall it
sambao21 has quit [Client Quit]
<xybre> RubyPanther++
<Hanmac> xybre: yeah you are right, ruby might need special enumerators that support prev ;P
dpswireless has joined #ruby
<RubyPanther> eam: No, that isn't called an elephant, that is called worrying excessively about the implementation, aka "premature optimization." Please don't imagine it is some mistake that Ruby makes, and not an intentional decision.
AlexRussia has quit [Ping timeout: 240 seconds]
<eam> RubyPanther: you're confused, no one's talking about new behavior, just critiquing the existing behavior
<RubyPanther> You can't understand Ruby as a pile of mistakes, because it isn't
<eam> #to_h is existing functionality
<xybre> Hanmac: Nah, its an issue with the underly implementation. Anything we end up doing would be a higher level abstraction on top of Array, rather than being closer to the lower level implementation that cursoring typically is.
<apeiros> popcorn anyone?
<RubyPanther> eam: What do you call a critique with no attempt at understanding?
<centrx> a robot!
thumpba_ has quit [Ping timeout: 240 seconds]
happytux has joined #ruby
<eam> RubyPanther: I'd rather not follow you to the ugly place you're taking this conversation
<xybre> Hanmac: It's clearly not impossible, but it would be bolting on functionality that is porrly suited to Ruby.
combusean has quit [Client Quit]
<RubyPanther> Ruby is not an "ugly place." It is a place where we wear Ruby slippers, and step with clear, careful steps.
<happytux> This is frustrating... I try to install a ruby version using rbenv (but the problem occurs also with rvm) and it fails without further information: Installing ruby-1.9.3-p194...BUILD FAILED
combusean has joined #ruby
sambao21 has joined #ruby
<RubyPanther> We don't running off through the fields trying to express ourselves uninhibited.
eynj has joined #ruby
<RubyPanther> [go]
<jxf> happytux: is this on OSX?
<banister> RubyPanther how is married life
<_pingu> jxf: rpm -qa --last show 3 matches: rubygems, ruby and ruby-devel.
<Hanmac> happytux: what isyour os, did you try newer ruby version?
BHensley has joined #ruby
<happytux> jxf / Hanmac: Debian Wheezy, I have to use this specific version.
<happytux> jxf / Hanmac: Application is tested and locked to that version.
robbyoconnor has quit [Excess Flood]
<jxf> happytux: when you say "fails without further information", is the last line literally "BUILD FAILED"?
gregf has quit [Quit: WeeChat 0.4.3]
robbyoconnor has joined #ruby
<mg^> Probably missing a dependent library.
<mg^> or headers
<jxf> happytux: you don't see, e.g., a bunch of lines that say "compiling ..." or "linking ..."?
papercode has quit [Quit: WeeChat 0.4.4-dev]
momomomomo has joined #ruby
pencilcheck has quit [Remote host closed the connection]
Es0teric has joined #ruby
BHensley has quit [Client Quit]
<happytux> right
<happytux> I will post a link to a pastebin
BHensley has joined #ruby
blackmesa has joined #ruby
jambolina2 has joined #ruby
<jxf> happytux: if you're using rbenv try adding --verbose
<jxf> happytux: that should make it noisier and hopefully point out the issue
<happytux> jxf: much better
Cork has quit [Ping timeout: 252 seconds]
<happytux> jxf: thanks
ktun has joined #ruby
sambao21 has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
<jxf> happytux: np
SCommette has joined #ruby
mehlah has quit [Quit: Leaving...]
nanoyak has quit [Client Quit]
jambolina has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
alex88 has quit [Quit: Leaving...]
lethjakman has joined #ruby
ktun has quit [Client Quit]
poguez_ has joined #ruby
supermarin_ has joined #ruby
Xeago has joined #ruby
jambolina2 has quit [Ping timeout: 258 seconds]
Bumptious has quit [Remote host closed the connection]
thumpba has quit []
ldnunes has joined #ruby
AlexRussia has quit [Ping timeout: 255 seconds]
ziyadb_ has quit [Quit: Connection closed for inactivity]
AlexRussia has joined #ruby
vpretzel is now known as vpretzel|1642
yfeldblum has joined #ruby
supermarin_ has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shemerey has joined #ruby
SegFaultAX has quit [Excess Flood]
gregf_ has quit [Remote host closed the connection]
lolmaus has joined #ruby
shemerey has quit [Max SendQ exceeded]
ascarter has joined #ruby
chrisseaton has quit []
duggiefresh has joined #ruby
shemerey has joined #ruby
shemerey has quit [Max SendQ exceeded]
chrisseaton has joined #ruby
shemerey has joined #ruby
SegFaultAX has joined #ruby
pushpak has joined #ruby
akonny has quit [Quit: akonny]
shemerey has quit [Client Quit]
jambolina has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
duggiefresh has quit [Client Quit]
ixti has joined #ruby
duggiefresh has joined #ruby
pu22l3r_ has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
<mordof> frameworks.. they're always so strange
shemerey has joined #ruby
shemerey has quit [Client Quit]
pen has joined #ruby
codeurge has joined #ruby
thumpba has joined #ruby
dpswirel_ has joined #ruby
<RubyPanther> class Array ; def new_to_h;zip([]*size).orig_to_h end ; alias :orig_to_h :to_h; def safe_to_h; orig_to_h rescue new_to_h; end ; alias :to_h :safe_to_h ; end ; %w( one two buckle X.X ).to_h
<RubyPanther> >> class Array ; def new_to_h;zip([]*size).orig_to_h end ; alias :orig_to_h :to_h; def safe_to_h; orig_to_h rescue new_to_h; end ; alias :to_h :safe_to_h ; end ; %w( one two buckle X.X ).to_h
<eval-in__> RubyPanther => {"one"=>nil, "two"=>nil, "buckle"=>nil, "X.X"=>nil} (https://eval.in/153619)
nanoyak has joined #ruby
gheegh has joined #ruby
shemerey has joined #ruby
<wallerdev> that is too much for one line
<happytux> jxf / mg^: OK, so this is what I get with --verbose: https://gist.github.com/mechanicalduck/0301f05abadea5dfe401
noop has joined #ruby
chipotle has quit [Quit: cya]
rizzatti has quit [Quit: Linkinus - http://linkinus.com]
eynj has left #ruby [#ruby]
blandflakes has joined #ruby
<happytux> jxf / mg^: How can I find out why it actually failed to build?
<wallerdev> looks like you need to openssl
lolmaus has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Ping timeout: 276 seconds]
jambolina has quit [Ping timeout: 265 seconds]
dpswireless has quit [Ping timeout: 252 seconds]
_pingu has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0/20140428193838]]
<happytux> oh, ok
<happytux> wallerdev: how did you find this out?
moritzschaefer has quit [Ping timeout: 258 seconds]
jambolina has joined #ruby
_djbkd has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
<wallerdev> ^
<jxf> happytux: grep "error" :)
gsvolt has quit [Read error: Connection reset by peer]
SilverKey has quit [Ping timeout: 240 seconds]
<happytux> oh
<jxf> happytux: it looks like it might have been building multithreaded, so some of the log lines are criss-cross a bit
<happytux> jxf: yes, all cores are used by gcc
<jxf> happytux: that's probably why it was a little hard to find, you have to scroll up to the point where the most recent error is
chrisseaton has quit []
<happytux> jxf: ah, of course, the console print is concurrent, too, then
gsvolt has joined #ruby
<jxf> happytux: correct
workmad3 has quit [Ping timeout: 255 seconds]
djbkd has quit [Ping timeout: 276 seconds]
benlieb has joined #ruby
saarinen has quit [Quit: saarinen]
blandflakes_ has joined #ruby
blandflakes has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
magri has quit [Read error: Connection reset by peer]
<happytux> OK, now using export MAKEFLAGS="-j1" to get a linear log.
gheegh has quit [Quit: Zzzzzz]
relix has joined #ruby
saarinen has joined #ruby
danman has quit [Ping timeout: 255 seconds]
blandflakes_ is now known as blandflakes
benlieb has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zenigor has joined #ruby
momomomomo has quit [Quit: momomomomo]
testcore has joined #ruby
testcore has quit [Quit: BitchX: No wardrobe malfunctions here!]
fiveways has quit [Quit: Textual IRC Client: www.textualapp.com]
pu22l3r has joined #ruby
testcore has joined #ruby
<happytux> jxf, mg^, wallerdev, Hanmac: OK, openssl dependencies should be installed, it still fails with this error.
robbyoconnor has quit [Ping timeout: 265 seconds]
<happytux> SSL_OP_MSIE_SSLV2_RSA_PADDING undeclared (first use in this function)
chipotle has joined #ruby
Advocation has quit [Quit: Advocation]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
tris has quit [Read error: No route to host]
pu22l3r_ has quit [Ping timeout: 252 seconds]
chrisseaton has joined #ruby
<happytux> damn damn damn
<jxf> happytux: that should have been fixed in a relatively-recent-ish openssl version iirc
<happytux> seems to be constant missed to be cleaned up
andrewjanssen has joined #ruby
<happytux> jxf: I have to use the one provided by Debian Wheezy (stable).
<havenwood> ruby-build doesn't use system openssl
<havenwood> ruby-install does
<jxf> havenwood: he's using rbenv iirc
Megtastique has quit []
<havenwood> jxf: with ruby-build, right?
tris has joined #ruby
<happytux> oh
<jxf> havenwood: I wasn't clear
<happytux> does it use ruby-install instead of ruby-build?
<happytux> how is this possible?
<havenwood> jxf: you can install Ruby for rbenv with ruby-install as well
<jxf> havenwood: ah
tvw has joined #ruby
<havenwood> happytux: ruby-install doesn't care what ruby switcher you use
pu22l3r has quit [Remote host closed the connection]
jhulten_ has quit [Remote host closed the connection]
vpretzel|1642 is now known as vpretzel|1379
<havenwood> happytux: ruby-install --rubies-dir ~/.rbenv/versions ruby 1.9.3-p194
pu22l3r has joined #ruby
lolmaus has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<havenwood> happytux: but if you're using ruby-build, you're using the openssl they download not system
mven_ has joined #ruby
danman has joined #ruby
rixius has quit [Ping timeout: 264 seconds]
<havenwood> yaml as well, etc
mr_snowf1ake has joined #ruby
jambolina has quit [Ping timeout: 276 seconds]
<havenwood> tsk tsk
<happytux> oh
<happytux> ok, because I installed always using ruby-build, not ruby-install and it succeeded.
cina has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
<happytux> hm, chruby again uses ruby-install instead.
<happytux> I should switch to chruby.
jhulten has joined #ruby
nanoyak has joined #ruby
<happytux> (although this hasn't anything to do with building the rubies, I know)
chrisseaton has quit []
treehug88 has quit [Read error: Connection reset by peer]
Cork has joined #ruby
treehug88 has joined #ruby
Cork is now known as Guest91855
anaeem1 has joined #ruby
chrisseaton has joined #ruby
nanoyak has quit [Client Quit]
<havenwood> oh, looks like ruby-build doesn't do openssl for 1.9.3-p194 for some reason, dunno: https://github.com/sstephenson/ruby-build/blob/master/share/ruby-build/1.9.3-p194
cina has joined #ruby
<happytux> great
<havenwood> i guess they do for 2.0+ but not 1.9-
<happytux> but why did it work before? oh, was the openssl Debian package upgraded?
rizzatti has joined #ruby
smathieu has joined #ruby
rdark has quit [Quit: leaving]
<RubyPanther> The old rubies didn't work with newer openssl, and the newer rubies don't work with the older openssl
timonv_ has joined #ruby
<havenwood> >.>
<RubyPanther> a sad fact of life, sometimes you have to make sure you have the right one :(
anidear has quit [Quit: Leaving]
jambolina has joined #ruby
troulouliou_dev has joined #ruby
erikruthven has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<happytux> version locking is best practice :(
<havenwood> happytux: can you use 1.9.3-p547 if you must use 1.9?
<happytux> havenwood: hm, this could work
nari_ has quit [Ping timeout: 240 seconds]
<havenwood> happytux: ruby-install ruby 1.9.3-p547
<happytux> havenwood: I _should_ use the same ruby as the puppet system package uses
<havenwood> happytux: do eet
ndrei has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
<havenwood> happytux: a different patch version that works is better than the same that wont compile though
<havenwood> happytux: or you could apply the patch from p547 to a previous patch release if you have the time
Jake232 has quit [Ping timeout: 265 seconds]
<RubyPanther> also don't be afraid to ./configure and make yourself, you just have to copy the flags from ruby-build or whatever. It is probably in the log what flags it used. Then you can choose what openssl to use
<happytux> ok
agdv has joined #ruby
supermarin_ has joined #ruby
spyderman4g63 has joined #ruby
queequeg1 has quit [Quit: leaving]
benzrf has joined #ruby
<benzrf> >> 0b1011010
<eval-in__> benzrf => 90 (https://eval.in/153626)
benzrf has left #ruby [#ruby]
momomomomo has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
noop has quit [Ping timeout: 252 seconds]
upsell5 has quit [Quit: upsell5]
andrewjanssen has quit [Ping timeout: 252 seconds]
mr_snowf1ake has quit [Quit: Leaving]
supermarin_ has quit [Ping timeout: 252 seconds]
mgomezch has joined #ruby
erikruthven has joined #ruby
erikruthven has quit [Max SendQ exceeded]
papercode has joined #ruby
gheegh has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Remote host closed the connection]
shaileshg has joined #ruby
frosgy has joined #ruby
x1337807x has joined #ruby
tkuchiki has quit [Remote host closed the connection]
agdv has quit [Quit: Konversation terminated!]
<happytux> havenwood: no, still the same error, also for 1.9.3-p547
<happytux> havenwood: oh no
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
arrubin has joined #ruby
<happytux> pain :(
Megtastique has joined #ruby
upsell5 has joined #ruby
aspires has quit []
frogssgy has quit [Ping timeout: 258 seconds]
<happytux> And I can't downgrade to the older openssl library because it contains the heartblead bug.
aspires has joined #ruby
alvaro_o has joined #ruby
linojon has quit [Ping timeout: 240 seconds]
<happytux> ruby-install also fails
<happytux> both, ruby-build and ruby-install fail.
linojon has joined #ruby
<RubyPanther> You can't use old software and also avoid heartbleed in all cases. There are lots of cases where you need to go back to a pre-heartbleed openssl
mgomezch_ has joined #ruby
mgomezch has quit [Ping timeout: 255 seconds]
<happytux> hm
<happytux> oh
<happytux> What does he mean with the command: rvm --skip-autoreconf pkg install openssl
<RubyPanther> I haven't looked at the specific version numbers for Ruby, but lots of software should expect to have abandoned versions if they had adopted any new features and weren't backwards compatible
<happytux> I don't use rvm, I use rbenv
<happytux> What does --skip-autoreconf pkg install openssl? Can I do that myself without rbenv/rvm?
<RubyPanther> happytux: presumably it avoid running autoconf to regenerate the ./configure script
ukd1 has joined #ruby
<RubyPanther> for a normal OS you would never re-run the autoconf
blackmesa has joined #ruby
vpretzel|1379 is now known as vpretzel|1642
noop has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<happytux> RubyPanther: so this would solve the problem he writes
<happytux> RubyPanther: but can I do the same with rbenv?
<RubyPanther> by "autoconf" I mean "autogen.sh"
aspires has quit [Ping timeout: 258 seconds]
roolo has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 265 seconds]
<happytux> RubyPanther: ok, so when I invoke rbenv install 1.9.3-p547 --verbose or rbenv install 1.9.3-p194 --verbose how can I let it call autoconf/autogen.sh ?
<RubyPanther> happytux: No, that is just a flag that is useful on rvm. The only reason it would be different is that rvm has a different way of managing openssl (I don't remember how it does it)
kenneth has joined #ruby
djbkd has joined #ruby
ascarter has joined #ruby
<happytux> RubyPanther: so rvm doesn't use the system libraries but uses separate native libraries instead?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<RubyPanther> years ago I think it checked and used its own if you didn't have them
mordocai has quit [Remote host closed the connection]
treehug8_ has joined #ruby
axl_ has joined #ruby
Atrumx has quit [Quit: Exit]
treehug8_ has quit [Max SendQ exceeded]
smathieu has quit [Remote host closed the connection]
<RubyPanther> happytux: you normally would never run autogen.sh and running it won't help anything, it is the ./configure that finds the libs to use. autogen is setting up the platform stuff
jhulten has quit [Remote host closed the connection]
alex88 has joined #ruby
aspires has joined #ruby
smathieu has joined #ruby
treehug8_ has joined #ruby
<RubyPanther> for example the _only_ time I ever run autogen.sh is when it is pre-release software that doesn't have a configure script checked into the source
treehug88 has quit [Ping timeout: 240 seconds]
<happytux> ok
maestrojed has joined #ruby
<happytux> RubyPanther: so rbenv (ruby-build) accepts a patch file. Is there a patch for the Ruby 1.9.3 series which solves this openssl problem?
SHyx0rmZ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moritzschaefer has joined #ruby
<RubyPanther> happytux: IMO you should focus on getting the app updated and re-locked to a post-heartbleed version. I think the worst internet security problem _ever_ probably warrants an update. ;)
<happytux> ok
funktor has joined #ruby
memorozovm has joined #ruby
<happytux> The point is that Puppet uses a system package provided Ruby and it is 1.9.1 on Debian stable. I want to use the same version when testing Puppet modules.
funktor has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
<RubyPanther> happytux: is there a reason to worry about heartbleed if you're just needing an old version for running tests?
erikruthven has joined #ruby
papercode has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
papercode has joined #ruby
<RubyPanther> happytux: also see: (under Solutions) https://www.ruby-lang.org/en/news/2014/04/10/severe-openssl-vulnerability/
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
memorozovm has quit [Ping timeout: 240 seconds]
<RubyPanther> I'd probably just build it myself and use whatever --configure options that ruby-build passes for setting the prefix and bin dir and whatever it sets. It is probably only 1-3 things.
<happytux> RubyPanther: and how to make it available to rbenv?
<RubyPanther> happytux: You just set the prefix so it goes into the versions dir, rbenv doesn't use any special magic
jhulten has joined #ruby
jrunning has joined #ruby
<RubyPanther> you might need to "rbenv rehash"
<happytux> RubyPanther: so the different ruby environments are just in different directories in rbenv root dir?
<RubyPanther> yeah
<RubyPanther> but you need the bin dir set correctly too I think, so that gem binaries go in the right place
aspires has quit []
<RubyPanther> not sure on that, but the ruby-build log should show the options it gave to ./configure
troulouliou_dev has quit [Quit: Leaving]
<RubyPanther> "Alternatively to the install command, you can download and compile Ruby manually as a subdirectory of ~/.rbenv/versions/. An entry in that directory can also be a symlink to a Ruby version installed elsewhere on the filesystem. rbenv doesn't care; it will simply treat any entry in the versions/ directory as a separate Ruby version."
WishBoy has joined #ruby
<RubyPanther> You might not even need any options
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
<Hanmac> shevy how to destroy harddrives: http://frank.geekheim.de/?p=2423
_Andres has joined #ruby
<happytux> RubyPanther: but why does building ruby manually work and using ruby-install/ruby-build fails for 1.9.1
monkegjinni has quit [Remote host closed the connection]
bklane has joined #ruby
WishBoy- has quit [Ping timeout: 276 seconds]
pen has quit [Ping timeout: 252 seconds]
replay has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<RubyPanther> happytux: Presumably because the tools don't have extensive mappings of what openssl versions work best with each historical Ruby version, and they try to use a newer version because that is usually the right thing to do
s2013_ is now known as s2013
<RubyPanther> probably old versions get less use and bugs can creep in without many people hitting them
<happytux> RubyPanther: ok, so I just get the source for Ruby 1.9.1 and ./configure; make and then put / symlink it into the rbenv versions directory?
<RubyPanther> also openssl made API changes and instead of breaking compatibility completely with a new major version, they left it mostly-backwards-compatible. So most libs would have done somehting like "gtk2" "gtk3" "openssl1" but they didn't do that
hrs has joined #ruby
pen has joined #ruby
monkegjinni has joined #ruby
<RubyPanther> openssl, in one of their many... unusual... development practices decided to push that complexity into the apps that use it instead of having to manage 2 versions themselves (or having to restrict themselves to a stable API)
<shevy> Hanmac some people simply have too much free time
jimbauds has quit [Ping timeout: 252 seconds]
replay_ has quit [Ping timeout: 258 seconds]
pel_daniel has left #ruby [#ruby]
<RubyPanther> happytux: If you just unpack it into the versions dir you won't need a symlink, and won't have to remember not to delete it :)
replay has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
replay has joined #ruby
banister has joined #ruby
<RubyPanther> happytux: You can also do it this way so that you don't end up keeping all the build stuff around: http://passionatedevelopment.com/blog/2012/05/06/install-ruby-manually/ then you can just delete the build dir.
bradhe has quit [Remote host closed the connection]
linojon has quit [Ping timeout: 240 seconds]
kpshek has joined #ruby
gregf has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<Hanmac> havenwood: DoctorWho?
Shidash has quit [Ping timeout: 240 seconds]
<happytux> wahh
<happytux> I get this problem also with newest ruby
aiguu has quit [Ping timeout: 264 seconds]
<happytux> ossl_ssl.c:2194:5: error: âSSL_OP_MSIE_SSLV2_RSA_PADDINGâ undeclared (first use in this function)
<havenwood> Hanmac: i'm afraid no progress to report :O
<happytux> MSIE, the damn Internet Explorer again...
<happytux> even in linux one isn't safe from this crap
memorozovm has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Megtastique has quit []
rippa has joined #ruby
noop has quit [Read error: Connection reset by peer]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
<happytux> this seems to be a deeper rooted problem...
rezzack has joined #ruby
<xybre> the NSA?
<happytux> no
<happytux> xybre: :)
<happytux> but it is the IE again
<happytux> they added extra constants, just for addressing IE related bugs
<happytux> ah, this seems to be a regression in last ruby: https://groups.google.com/forum/#!topic/ruby-core-google/deZRpt_67ng
alem0lars has joined #ruby
shvelo has joined #ruby
dik_dak has quit [Ping timeout: 255 seconds]
<shvelo> I was writing some Javascript today
<shvelo> when I expected function to implicitly return the last expression
<shvelo> and wondered why it didn't work
<shevy> hahaha
<shevy> ruby made you lazy
Xeago has quit [Remote host closed the connection]
<kke> i made a gem https://github.com/kke/lockistics if someone wants to have redis based mutex type of locking + statistics of locking durations, invocations and what not
toastynerd has quit [Remote host closed the connection]
<shvelo> shevy, laziness is the key trait of a developer
MetalHead77 has joined #ruby
<MetalHead77> Anyone know if it is possible to extract sponsored ads from facebook's newsfeed into your application?
<happytux> right and of a mathematician
<MetalHead77> Ads such as http://prntscr.com/3k5e4f
ziyadb_ has joined #ruby
linojon has joined #ruby
bkparso has quit [Quit: bkparso]
<shvelo> MetalHead77, wht=y
<shvelo> why
djbkd has joined #ruby
ziyadb_ has quit [Changing host]
ziyadb_ has joined #ruby
ziyadb_ has quit [Changing host]
ziyadb_ has joined #ruby
djbkd has quit [Remote host closed the connection]
zigomir has joined #ruby
<MetalHead77> shvelo: Working for a client
djbkd has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
ukd1 has quit [Quit: Leaving...]
hrs has quit [Quit: Textual IRC Client: www.textualapp.com]
<shvelo> oh btw I quit my "job" as a Ruby developer
<shvelo> the company sucked
icebourg has quit [Ping timeout: 240 seconds]
<shevy> shvelo hehe
hrs has joined #ruby
badhatter has quit [Ping timeout: 265 seconds]
hrs has quit [Remote host closed the connection]
ndrei has joined #ruby
enebo has quit [Quit: enebo]
smathieu has quit [Remote host closed the connection]
<banister> shvelo where were you working? :)
shelling has joined #ruby
WishBoy- has joined #ruby
smathieu has joined #ruby
akonny has joined #ruby
Sawbones has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
bradhe has joined #ruby
Guest91855 has quit [Changing host]
Guest91855 has joined #ruby
ra4king1 has joined #ruby
Guest91855 is now known as Cork
freerobby has quit [Quit: Leaving.]
WishBoy has quit [Ping timeout: 276 seconds]
supermarin_ has joined #ruby
workmad3 has joined #ruby
freerobby has joined #ruby
combusean has quit [Ping timeout: 252 seconds]
anaeem1 has joined #ruby
dik_dak has joined #ruby
obscured has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ra4king has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
cina has quit [Remote host closed the connection]
CorpusCallosum has joined #ruby
memorozovm has quit []
dpswirel_ has quit [Remote host closed the connection]
supermarin_ has quit [Ping timeout: 264 seconds]
raja has joined #ruby
vpretzel|1642 is now known as vpretzel|1429
queequeg1 has joined #ruby
raja is now known as Guest24029
phutchin1 has quit [Ping timeout: 265 seconds]
noop has joined #ruby
zigomir has quit [Ping timeout: 265 seconds]
rgiscard has joined #ruby
<rgiscard> /join #rubyonrails
<rgiscard>
zigomir has joined #ruby
<rgiscard> *sigh*
<toretore> how embarassing
<wallerdev> youve been outted
<wallerdev> lol
shime has joined #ruby
cina has joined #ruby
<happytux> Something just died in my when building that damn ruby. :(
rizzatti has quit [Quit: Leaving...]
erikruthven has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akonny has quit [Quit: akonny]
sepp2k has joined #ruby
s2013_ has joined #ruby
decoponio has quit [Quit: Leaving...]
<happytux> Tested on a clean system: Build still fails.
<happytux> Damn, build fails with older and latest ruby.
Xeago has quit [Remote host closed the connection]
paulfm has quit []
s2013 has quit [Ping timeout: 240 seconds]
<Hanmac> happytux: "apt-get build-dep ruby" does this install anything?
jamesaanderson has joined #ruby
paulfm has joined #ruby
troulouliou_dev has joined #ruby
wallerdev has quit [Quit: wallerdev]
BHensley has quit [Remote host closed the connection]
akonny has joined #ruby
BHensley has joined #ruby
kilk_ has joined #ruby
<shevy> happytux what precisely fails and what version
<shevy> I can no longer compile 1.8.7x on modern platforms
<shevy> and a default debianb based system is never clean initially :D
dpswireless has joined #ruby
EagleDel_ has joined #ruby
BWStearns has quit [Quit: Lost terminal]
LACP has quit [Ping timeout: 240 seconds]
bluenemo has joined #ruby
<happytux> shevy: the last stable ruby cannot be build, too
workmad3 has quit [Ping timeout: 240 seconds]
<centrx> shevy, You use OpenBSD?
<happytux> shevy: same openssl error during compiling
bradhe has quit [Remote host closed the connection]
badhatter has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<happytux> Hanmac: I will try this out now.
<shevy> centrx the BSDs are even worse than debian
<shevy> though PC-BSD has the right initial impetus at least
EagleDelta has quit [Ping timeout: 240 seconds]
<centrx> shevy, What do you use then?
<shevy> centrx just the sources and of course the linux kernel from http://www.kernel.org/pub/linux/kernel/
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
<shevy> and the glibc here is still a slackware leftover
carlyle has joined #ruby
<centrx> Doesn't that take a lot of maintenance time?
<shevy> centrx yeah :(
<Hanmac> shevy: newest debian trunk (experimental does have ruby2.1* as default)
thomas_janhonen has joined #ruby
<shevy> I mean, when everything compiles fine it is no real problem, but the moment something fails, and you have to investigate, it sucks away way too much time
<shevy> Hanmac \o/
<happytux> shevy: exactly, and this is what I fear most
noop has quit [Ping timeout: 264 seconds]
<centrx> Hanmac, testing/unstable have 2.1 as default now too
<shevy> the worst are problems for when there are no solutions available ;) and no patches either hahaha
thomas_janhonen has quit [Client Quit]
Zenigor has quit [Remote host closed the connection]
yfeldblum has joined #ruby
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
jamesaanderson has joined #ruby
axilla has quit [Ping timeout: 252 seconds]
<happytux> shevy: yes
<shevy> happytux the good thing is that you can kinda peek at projects like homebrew
<happytux> Or if you spend a lot of time getting something right and then you find out there is already some project which does this for you.
<happytux> shevy: homebrew is not apt, right?
<shevy> they are much faster than I am so if I can wait a day or two I just read up on what they do
<shevy> no, apt is debian and I believe perl (and C?), homewbrew is ruby and osx
<happytux> shevy: I use debian
kilk_ has quit [Quit: kilk_]
<shevy> hmm apt has gzip.cc
<shevy> is that c++?
axilla has joined #ruby
<shevy> / -*- mode: cpp; mode: fold -*-
<shevy> seems to be
<shevy> so apt must be in C++ then
<shvelo> apt sucks imo
yfeldblum has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Client Quit]
<shvelo> also I thought it was Python
bradhe has joined #ruby
aspires has joined #ruby
<shevy> apt-pkg/contrib/fileutl.h:/* Define this for python-apt */
<hoelzro> you may be thinking of emerge
<hoelzro> or yum
<hoelzro> or zypper
<shevy> seems as if it would have python bindings, but it most definitely is .cc files in apt shvelo
klaut has joined #ruby
Bumptious has joined #ruby
mojo619 has joined #ruby
timonv_ has quit [Remote host closed the connection]
<shevy> shvelo dpkg however has perl stuff
jambolina has quit [Ping timeout: 240 seconds]
<shevy> dpkg-1.17.9/src/t/dpkg_divert.t:#!/usr/bin/perl
gheegh has quit [Remote host closed the connection]
kitak_ has joined #ruby
cescalante is now known as ce_afk
RaptorJesus_ has joined #ruby
jamesaanderson has joined #ruby
<hoelzro> that's just a test
andrewcarter has quit [Ping timeout: 245 seconds]
<shevy> hehe
thumpba_ has joined #ruby
omosoj has quit [Ping timeout: 240 seconds]
<shevy> dpkg-1.17.9/dselect/mkcurkeys.pl
Azure has quit [Ping timeout: 240 seconds]
lectrick has quit [Ping timeout: 252 seconds]
jprovazn has quit [Quit: Odcházím]
shvelo has quit [Ping timeout: 240 seconds]
RandyT has quit [Ping timeout: 245 seconds]
pusewicz__ has quit [Ping timeout: 245 seconds]
parduse has quit [Remote host closed the connection]
akosednar has quit [Ping timeout: 252 seconds]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
im0b has quit [Ping timeout: 240 seconds]
nifty has quit [Ping timeout: 240 seconds]
ceej has quit [Ping timeout: 245 seconds]
hl has quit [Ping timeout: 245 seconds]
Davey has quit [Ping timeout: 245 seconds]
nopc0de has quit [Ping timeout: 264 seconds]
dioms_ has quit [Ping timeout: 252 seconds]
knigitz has quit [Ping timeout: 252 seconds]
frode15243 has quit [Ping timeout: 252 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
axilla has quit [Ping timeout: 255 seconds]
philtr has quit [Ping timeout: 240 seconds]
Striki has quit [Ping timeout: 240 seconds]
verto has quit [Ping timeout: 240 seconds]
jimeh has quit [Ping timeout: 240 seconds]
weeb1e has joined #ruby
arrubin has quit [Ping timeout: 265 seconds]
zybi1 has quit [Remote host closed the connection]
Igneous has quit [Ping timeout: 245 seconds]
dmoe_____ has quit [Ping timeout: 245 seconds]
xybre has quit [Ping timeout: 245 seconds]
Rickmasta has quit [Ping timeout: 245 seconds]
hfp has quit [Ping timeout: 245 seconds]
jgrevich has quit [Ping timeout: 245 seconds]
end_guy has quit [Ping timeout: 272 seconds]
bricker has quit [Ping timeout: 252 seconds]
olleromo_ has quit [Ping timeout: 252 seconds]
quantsini has quit [Ping timeout: 252 seconds]
jso has quit [Ping timeout: 252 seconds]
rippa has quit [Write error: Connection reset by peer]
onewheelskyward has quit [Ping timeout: 252 seconds]
cuppscakes has quit [Ping timeout: 252 seconds]
mikesplain has quit [Ping timeout: 264 seconds]
Spleeze has quit [Ping timeout: 240 seconds]
sn0wb1rd has quit [Ping timeout: 240 seconds]
camilasann has quit [Remote host closed the connection]
im0b has joined #ruby
nifty has joined #ruby
thumpba has quit [Ping timeout: 252 seconds]
pipework has quit [Ping timeout: 252 seconds]
Riking has quit [Ping timeout: 252 seconds]
joast has quit [Ping timeout: 245 seconds]
clamstar has quit [Ping timeout: 245 seconds]
wuest has quit [Ping timeout: 245 seconds]
gf3 has quit [Ping timeout: 245 seconds]
Todd has quit [Ping timeout: 265 seconds]
camilasan has joined #ruby
treehug8_ has quit [Ping timeout: 240 seconds]
everett has quit [Ping timeout: 240 seconds]
nomadic has quit [Ping timeout: 258 seconds]
spacemud has quit [Ping timeout: 258 seconds]
RaptorJesus has quit [Ping timeout: 272 seconds]
St_Marx has quit [Ping timeout: 272 seconds]
behzad_ has joined #ruby
mesamoo has quit [Ping timeout: 252 seconds]
mistergibson has quit [Ping timeout: 252 seconds]
akonny has quit [Quit: akonny]
sindork has quit [Ping timeout: 245 seconds]
robert_ has quit [Ping timeout: 245 seconds]
Senjai has quit [Ping timeout: 240 seconds]
ndngvr has quit [Ping timeout: 240 seconds]
knigitz has joined #ruby
Zenigor has joined #ruby
lectrick has joined #ruby
ejnahc has quit [Ping timeout: 240 seconds]
kitak_ has quit [Ping timeout: 240 seconds]
ktun has joined #ruby
axilla has joined #ruby
akosednar has joined #ruby
wmoxam has quit [Ping timeout: 240 seconds]
ejnahc has joined #ruby
verto has joined #ruby
markour has quit [Ping timeout: 255 seconds]
Igneous has joined #ruby
bricker has joined #ruby
spacemud has joined #ruby
end_guy has joined #ruby
sindork has joined #ruby
Advocation has joined #ruby
philtr has joined #ruby
nopc0de has joined #ruby
Igneous is now known as Guest62262
wmoxam has joined #ruby
Cork has quit [Ping timeout: 240 seconds]
jso has joined #ruby
Davey has joined #ruby
Azure has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
olleromo_ has joined #ruby
tubuliferous has quit [Ping timeout: 252 seconds]
cuppscakes has joined #ruby
mistergibson has joined #ruby
pipework has joined #ruby
Striki has joined #ruby
nomadic has joined #ruby
RandyT has joined #ruby
dmoe_____ has joined #ruby
ndngvr has joined #ruby
vitorbaptista has quit [Ping timeout: 240 seconds]
<happytux> shevy: so sometimes I ask myself if a source distribution wouldn't be better anyway.
arrubin has joined #ruby
dioms_ has joined #ruby
jericon has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> well you will trade one set of problems with another one
BHensley has quit [Remote host closed the connection]
wuest has joined #ruby
erikruthven has joined #ruby
akonny has joined #ruby
<happytux> right
ceej has joined #ruby
binaryhat has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
dylannorthrup has quit [Ping timeout: 240 seconds]
<happytux> there is no magic bullet / free digital lunch :)
frode15243 has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
<shevy> I can't easily revert because I need the option to have appdirs integrate into a package manager
ascarter has joined #ruby
sn0wb1rd has joined #ruby
mozzarella has quit [Ping timeout: 265 seconds]
behzad_ has left #ruby [#ruby]
Zespre has quit [Ping timeout: 252 seconds]
JoeJulian has quit [Ping timeout: 245 seconds]
Senjai has joined #ruby
chipotle has quit [Quit: cya]
clamstar has joined #ruby
Zespre has joined #ruby
mary5030 has quit [Remote host closed the connection]
Spleeze has joined #ruby
BHensley has joined #ruby
Cork has joined #ruby
gf3 has joined #ruby
yfeldblum has joined #ruby
quantsini has joined #ruby
jimeh has joined #ruby
jgrevich has joined #ruby
x1337807x has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nexus_x1 has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
treehug88 has joined #ruby
Brando753 has quit [Ping timeout: 252 seconds]
Riking has joined #ruby
sambao21 has joined #ruby
tubuliferous has joined #ruby
jericon has joined #ruby
shemerey has joined #ruby
Rickmasta has joined #ruby
vitorbaptista has joined #ruby
Todd_ has joined #ruby
mary5030 has joined #ruby
axilla has quit [Ping timeout: 258 seconds]
JoeJulian has joined #ruby
alex88 has quit [Quit: Leaving...]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
hl has joined #ruby
<banister> apeiros yo
andrewcarter has joined #ruby
enebo has joined #ruby
Brando753 has joined #ruby
axilla has joined #ruby
drizz has joined #ruby
mozzarella has joined #ruby
michaeldeol has joined #ruby
lw has joined #ruby
mehlah has quit [Ping timeout: 255 seconds]
xybre has joined #ruby
pusewicz__ has joined #ruby
St_Marx has joined #ruby
havenwood has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
acrussell has quit [Quit: Leaving.]
wallerdev has joined #ruby
Spami has joined #ruby
dylannorthrup has joined #ruby
omosoj has joined #ruby
elaptics is now known as elaptics`away
Xeago has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister is now known as banisterfiend
troulouliou_dev has quit [Quit: Leaving]
nanoyak has joined #ruby
bklane has quit [Quit: Leaving...]
joast has joined #ruby
dangerou_ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
supermarin_ has joined #ruby
dangerousdave has quit [Ping timeout: 255 seconds]
axilla has quit [Ping timeout: 258 seconds]
pu22l3r has joined #ruby
benlieb has joined #ruby
rizzatti has joined #ruby
axilla has joined #ruby
mehlah has joined #ruby
andrewlio has joined #ruby
joast has quit [Ping timeout: 240 seconds]
justinxreese has quit [Ping timeout: 246 seconds]
Es0teric has joined #ruby
justinxreese has joined #ruby
yalue has quit [Quit: Leaving]
<jrunning> is there a kind of minitest assertion that won't halt the test case?
supermarin_ has quit [Ping timeout: 255 seconds]
Bira_ has quit [Remote host closed the connection]
chipotle has joined #ruby
agent_white has joined #ruby
bluenemo has quit [Quit: Verlassend]
<agent_white> Afternoon folks
Es0teric has quit [Ping timeout: 240 seconds]
<agent_white> .ws
axilla has quit [Ping timeout: 252 seconds]
ra4king1 is now known as ra4king
<jrunning> i have a test case with a few hundred assertions, and if a bunch are failing, i'd rather see all the failures at once than see them one at a time. does minitest support nonfatal assertion failures?
Xeago_ has joined #ruby
axilla has joined #ruby
Guest62262 is now known as Igneous
lw has quit [Quit: s]
toastynerd has joined #ruby
terrell_t has joined #ruby
robbyoconnor has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
terrellt_ has joined #ruby
Xeago has joined #ruby
<wallerdev> usually you want to keep your test cases specific to testing one thing, otherwise you would use separate test cases right?
joast has joined #ruby
havenwood has quit []
subbyyy has quit [Quit: none 0.4.3]
subbyyy has joined #ruby
terrellt has quit [Ping timeout: 245 seconds]
Zenigor has quit [Remote host closed the connection]
terrell_t has quit [Ping timeout: 240 seconds]
Advocation has quit [Quit: Advocation]
magicien has joined #ruby
combusean has joined #ruby
Xeago__ has joined #ruby
mjsmith2 has joined #ruby
Megtastique has joined #ruby
shvelo has joined #ruby
Xeago_ has quit [Ping timeout: 276 seconds]
Zenigor has joined #ruby
kaspergr_ has joined #ruby
Proshot has joined #ruby
nfk has quit [Quit: yawn]
Xeago has quit [Ping timeout: 252 seconds]
Deele has quit [Ping timeout: 255 seconds]
<apeiros> hi banisterfiend
xibalba has joined #ruby
dangerou_ has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Ping timeout: 258 seconds]
kaspergrubbe has joined #ruby
Arkaniad|Laptop has joined #ruby
Arkaniad has joined #ruby
Arkaniad|Laptop has quit [Read error: Connection reset by peer]
Arkaniad|Away has joined #ruby
<jrunning> wallerdev: i suppose i could do that. i'm just used to the google test framework for c++, which has both ASSERT_* statements for fatal failures, and EXPECT_* statements for non-fatal failures, and i'm surprised that minitest doesn't seem to have an equivalent
Arkaniad has quit [Read error: Connection reset by peer]
vpretzel|1429 is now known as vpretzel
Bira has joined #ruby
moritzschaefer has quit [Ping timeout: 252 seconds]
Bira has quit [Remote host closed the connection]
kaspergr_ has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
s2013_ is now known as s2013
Megtastique has quit []
moritzschaefer has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
terrellt_ has quit [Remote host closed the connection]
robbyoconnor has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 255 seconds]
jhulten has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
terrellt has joined #ruby
g0bl1n has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akonny has quit [Quit: akonny]
gigetoo has joined #ruby
jhulten has joined #ruby
troyready has quit [Quit: Leaving]
x1337807x has joined #ruby
toastynerd has joined #ruby
onewheelskyward has joined #ruby
testcore has quit [Quit: Bitchx: Better than peer]
Es0teric has joined #ruby
cina has quit [Ping timeout: 240 seconds]
<RubyPanther> jrunning: having failures that don't fail would generally be seen as a misfeature in Ruby. In Ruby we don't want to agree to make sacrifices, and complexity is not seen as being pragmatic. The use cases, such as having a test that does a lot of different things, are assumed to have simpler solutions, like not doing as many things.
magicien has quit [Quit: leaving]
Bumptious has quit [Remote host closed the connection]
ridget has joined #ruby
hfp has joined #ruby
<RubyPanther> it shouldn't be surprising that we don't have it, because failures that don't fail are themselves inherently surprising.
happytux has quit [Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145]]
troyready has joined #ruby
magicien has joined #ruby
<RubyPanther> and we don't want surprises that require a bunch of knowledge that wouldn't be attainable outside of the REPL
axilla has quit [Ping timeout: 264 seconds]
cina has joined #ruby
axilla has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
mary5030 has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
erikruthven has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 is now known as User458764_NotHe
claymore has quit [Quit: Leaving]
rgiscard has quit [Read error: Connection reset by peer]
rgiscard has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
rOOb has quit [Ping timeout: 252 seconds]
dblessing has quit [Quit: dblessing]
BHensley has quit [Remote host closed the connection]
haroldwu has quit [Ping timeout: 252 seconds]
haroldwu has joined #ruby
io_syl has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
rOOb has joined #ruby
blandflakes has quit [Quit: Page closed]
<jrunning> RubyPanther: thanks for the input. I'll factor down my tests and see how that goes
Shidash has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Bumptious has joined #ruby
User458764_NotHe has quit [Ping timeout: 276 seconds]
dsdeiz has quit [Ping timeout: 252 seconds]
axilla has quit [Ping timeout: 264 seconds]
fantazo has quit [Ping timeout: 255 seconds]
Bumptiou_ has joined #ruby
Xeago has joined #ruby
rgiscard has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
axilla has joined #ruby
erikruthven has joined #ruby
NukePuppy has quit [Ping timeout: 255 seconds]
erikruthven has quit [Max SendQ exceeded]
jackneill has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 255 seconds]
Xeago__ has quit [Ping timeout: 240 seconds]
Bumptious has quit [Ping timeout: 264 seconds]
testcore has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bamyojo14335 has joined #ruby
sambao21 has joined #ruby
phansch has quit [Quit: WeeChat 0.4.3]
kyb3r_ has joined #ruby
supermarin_ has joined #ruby
sambao21 has quit [Ping timeout: 252 seconds]
gheegh has joined #ruby
ldnunes has quit [Quit: Leaving]
mary5030 has joined #ruby
codeurge has quit [Quit: Quit.]
s2013_ has joined #ruby
testcore has quit [Quit: BitchX: often imitated, never duplicated!]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
supermarin_ has quit [Ping timeout: 264 seconds]
NukePuppy has joined #ruby
jespada has quit [Quit: Leaving]
Martxel has joined #ruby
s2013 has quit [Ping timeout: 276 seconds]
axilla has quit [Ping timeout: 265 seconds]
axilla has joined #ruby
omosoj has quit [Ping timeout: 240 seconds]
ridget has quit [Quit: Textual IRC Client: www.textualapp.com]
shelling has quit [Quit: Connection closed for inactivity]
Geo has joined #ruby
rgiscard has joined #ruby
tvw has quit []
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
marcdel has joined #ruby
NukePuppy has quit [Ping timeout: 252 seconds]
marcdel has quit [Max SendQ exceeded]
<MetalHead77> Willing to pay anyone that knows how to extract sponsored ads from facebook's news feed. Ads such as http://prntscr.com/3k5e4f. I aslo have a test facebook account already setup for testing.
marcdel has joined #ruby
andrewjanssen has joined #ruby
Zenigor has quit [Remote host closed the connection]
dangerousdave has joined #ruby
<apeiros> MetalHead77: you pay for knowing? So I don't have to actually write any code? :-)
<apeiros> </smartypants>
<shevy> didn't we hear that before MetalHead77
testcore has joined #ruby
<terrellt> I think I just heard something that might get me sued.
<shevy> the smartypants thing terrellt?
<lethjakman> is there a way to grab [2] out of a .match only if it exists?
<lethjakman> otherwise return nil?
<shevy> </dirty_knickers>
qwyeth has quit [Quit: Leaving]
chrisseaton has quit [Ping timeout: 255 seconds]
bamyojo14335 has quit [Quit: bamyojo14335]
pu22l3r has quit [Ping timeout: 276 seconds]
<shevy> lethjakman won't that already default to nil if it can not be foun?
<lethjakman> shevy: ooo
<lethjakman> yes
<lethjakman> yes it will
<lethjakman> duh
bamyojo14335 has joined #ruby
<lethjakman> dumb
<terrellt> Lol.
<shevy> >> "abc".match(/./)[2]
<eval-in__> shevy => nil (https://eval.in/153690)
enebo has joined #ruby
<lethjakman> I think I was thinking JS.
<lethjakman> maybe.
<lethjakman> not sure
<shevy> javascript is killing ruby
zigomir has quit [Ping timeout: 240 seconds]
goleldar has quit []
<baweaver> hush you
<terrellt> It's all about yavascript.
<baweaver> no language is killing any other language
<apeiros> enderlang kills all other languages
<baweaver> perpetuating that leads to dangerous amounts of zealotry and close-mindedness that cripples programmers
<Nilium> Clearly C# is killing all other languages. Clearly
Kan_ has joined #ruby
oniMaker has joined #ruby
michaeldeol has joined #ruby
<baweaver> every language has its' use case
obscured has quit [Quit: leaving]
<Nilium> *its
<baweaver> js doesn't delve into the sysadmin world
Bira has joined #ruby
treehug88 has quit []
Kan_ has left #ruby [#ruby]
dreamchaser has quit [Ping timeout: 258 seconds]
LiohAu has quit [Quit: LiohAu]
<shevy> baweaver according to TIOBE ruby is dropping like crazy http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
<Nilium> I'd just pick a language you like and use it when it makes sense and find another language you like when it doesn't.
<Nilium> Which is why I mainly use C++.
<baweaver> TIOBE doesn't mean jack
Geo has quit [Ping timeout: 240 seconds]
<Nilium> What he said.
<Nilium> She? It.
<Nilium> What it said.
<shevy> javascript has dethroned ruby in 2013 at github http://adambard.com/blog/top-github-languages-for-2013-so-far/
<Nilium> GitHub statistics also don't count for much since GitHub might as well be a pastebin for projects.
mattstratton has quit [Ping timeout: 240 seconds]
<baweaver> statistics are not the be all to end all
<baweaver> especially on languages used.
<baweaver> People have been saying Java is dead on Hackernews forever
<shevy> Nilium hey
sambao21 has joined #ruby
freerobby has quit [Quit: Leaving.]
<Nilium> Just pick one that you like that works well for what you're doing.
<Nilium> End o' story.
<shevy> Nilium ruby has good github statistics, if we want statistics from other sites, you'll only make ruby users depressed :(
<shevy> vice versa!
<shevy> no wait
Bira has quit [Ping timeout: 252 seconds]
<shevy> github has good ruby statistics. yeah.
<baweaver> I don't care how popular a language is
oniMaker has left #ruby [#ruby]
<shevy> now it makes sense
<baweaver> I care how useful it is
<Nilium> Ruby has bad github statistics because it's rails users and they're all scum
<Nilium> SCUM
* Nilium spits to his right.
<shevy> that too
<shevy> ruby without rails would be significantly smaller
<Nilium> Or was I suppose to spit to the left? Or some other direction..
Sawbones has quit [Remote host closed the connection]
<shevy> baweaver java has the backing of big companies
<shevy> tiobe says it is the second best language
<shevy> then comes objective-c which also has the backing of a big company
<shevy> I think you guys just hate tiobe
duggiefresh has joined #ruby
Bumptiou_ has quit [Remote host closed the connection]
Bumptious has joined #ruby
<baweaver> I question its' absolute authority and relevance
bamyojo14335 has quit [Ping timeout: 255 seconds]
Lucky_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
<shevy> JavaScript number one
yacks has quit [Ping timeout: 258 seconds]
<baweaver> Justin Bieber was also number one in music at a time in certain indexes. Does that make him good?
<baweaver> depends on the person
shaileshg has quit [Quit: Connection closed for inactivity]
wallerdev has quit [Quit: wallerdev]
<shevy> is that a programming language
<baweaver> don't put faith in those rankings
spider-mario has quit [Read error: Connection reset by peer]
Guest24029 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bumptious has quit [Ping timeout: 264 seconds]
<Nilium> "tiobe says it is the second best" ⇐ Hold on
<Nilium> TIOBE says nothing about quality
<Nilium> The mountains of people using node.js are evidence enough that quality is not a factor
aiguu has joined #ruby
<Nilium> The other thing to keep in mind is that we've got a metric ton of websites out there. There's almost guaranteed to be more Javascript in use than any other language on the planet just because of that.
Megtastique has joined #ruby
momomomomo has quit [Quit: momomomomo]
bamyojo14335 has joined #ruby
Lucky_ has joined #ruby
wallerdev has joined #ruby
rgiscard has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
omosoj has joined #ruby
Lucky_ has quit [Client Quit]
gheegh has quit [Quit: Zzzzzz]
<baweaver> Wait until the next fad wave
<baweaver> rails -> scala -> node
<baweaver> who knows where it goes.
<Nilium> Was Scala a fad?
<Nilium> I got into using it last year as a Java replacement. It's been nice enough.
<baweaver> circa twitter changing rails to scala
Lucky_ has joined #ruby
devyn has quit [Read error: Connection reset by peer]
<Nilium> Reminds me a lot of early C++ though -- fair bit of code bloat
mercerist has joined #ruby
<Nilium> i.e., you'll do something and not realize, oh, it just generated a ton of code to do that thing
Megtastique has quit [Ping timeout: 240 seconds]
Vivekananda has quit [Remote host closed the connection]
<baweaver> elixir and go look to be the up and coming ones
momomomomo has joined #ruby
devyn has joined #ruby
mercwithamouth has joined #ruby
aspires has quit []
upsell5 has quit [Ping timeout: 255 seconds]
<baweaver> remember, you're a programmer
<Nilium> I think Go's sort of peaking in terms of popularity right now
<baweaver> that means not tying yourself to a language
<baweaver> perhaps, but it has some momentum behind it
Lucky_ has quit [Client Quit]
<baweaver> elixir/erlang got back in from whatsapp and fb chat.
<Nilium> The concurrency stuff is neat, anyway, so I had some fun writing a few tools in it
Lucky_ has joined #ruby
<Nilium> It's useless for what I normally do though
<baweaver> Clojure is the dark horse
upsell5 has joined #ruby
<Nilium> I don't think anyone could get me on the Clojure train
Dr3amc0d3r|away has joined #ruby
<baweaver> It may take off, or it may suffer the lisp curse
kitak_ has joined #ruby
<baweaver> paredit
<baweaver> look it up
aspires has joined #ruby
<baweaver> lighttable as well
<Nilium> JVM startup time and all that makes it too painful for me to even touch
<Nilium> I also hate Lighttable.
<Nilium> Really unpleasant editor.
duggiefresh has quit [Remote host closed the connection]
<Nilium> As for paredit, that's emacs, and just no.
<baweaver> With Java like it is, and big data rising, I see it taking off a bit
<baweaver> vim as well
pu22l3r has joined #ruby
<Nilium> I do game dev and other high-performance realtime things, so Clojure's mostly dead to me already.
everett has joined #ruby
<baweaver> rust and julia are coming up as well
<Nilium> If I want a lisp, I'll use Gambit Scheme.
dangerousdave has quit [Ping timeout: 240 seconds]
<Nilium> I'm not meaning to say Clojure is bad, by the way. Hopefully that's not what's coming across.
keppy has joined #ruby
<baweaver> depends on the person and the field
<baweaver> for me in big data, it's good
<baweaver> considering most of it is in Java
<baweaver> and Java is a nightmare...
ascarter has joined #ruby
<lethjakman> hmmm, I want a regex that matches from the beginning or the first % to either to the last ? OR end
<baweaver> I lose track of how many languages I know anymore, it just stops being important
<lethjakman> this is what I have: (%|^)(.*)\??
<lethjakman> but it seems to always match to the end
<Nilium> Also, speaking of Gambit Scheme, I really need to play around with embedding its generated code in stuff.
<lethjakman> I also tried...(%|^)(.*)(\?|$)
<lethjakman> trying to get it in the second register
<Beoran> "The most notable aspect of Julia's implementation is its speed, which is often within a factor of two of fully optimized C code."
<xibalba> baweaver, do you find that being an issue if you go to interview for another job and you dont know the particular language/framework they're working with?
catsbot has joined #ruby
<lethjakman> but it seems to always go tot he end.
<Beoran> that makes me smirk
<Beoran> they STIL can't beat c, after all these years... :)
<lethjakman> anyone have any ideas?
michaeldeol is now known as butters
<Nilium> I know enough that learning new ones, aside from those like Haskell and Erlang, should be fairly simple.
<keppy> give catsbot a tequila shot
* catsbot takes the tequila shot and POWERS UP!(BAC is 0.2)
<baweaver> I can fake things easily if that's the case
<Beoran> I'd rather use ruby, thank you, at least I get convenience for my loss of performance
andrewjanssen has quit [Remote host closed the connection]
jottr_ has joined #ruby
<Beoran> vget mruby
<baweaver> fortran beats it
butters is now known as Guest65496
<Beoran> write in C and embed mruby
<Beoran> baweaver, for math yes, for io, no
SilkFox_ has joined #ruby
* combusean did not enjoy his foray into fortran very much
terrell_t has joined #ruby
<Nilium> Haskell and Erlang would both require me to learn a bunch of new stuff, which would be fun if I could find a use for them
aiguu_ has joined #ruby
Guest65496 is now known as reverend
<lethjakman> Beoran: it's pretty close to machine code...it's kinda hard to beat that.
<baweaver> to be fair, I decided I wanted a job in rails, learned it in a few weeks, and got a job within the month
<combusean> my last shop used erlang
momomomomo has quit [Quit: momomomomo]
rgiscard has joined #ruby
<Beoran> show me a contemporary OS kernel written in Fortran and I'l be impresssed if it's as fast as a C kernel
reverend is now known as rev
<baweaver> I'm not a masochist though
<Beoran> lethjakman, I rest my case :)
<keppy> wat
jimmyhoughjr has quit [Quit: jimmyhoughjr]
rev is now known as michaeldeol
aiguu__ has joined #ruby
meatherly has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
Bumptious has joined #ruby
<baweaver> off I go
ndrei has quit [Ping timeout: 255 seconds]
baweaver has quit [Remote host closed the connection]
ryanleesipes has quit [Quit: Leaving]
benzrf has joined #ruby
michaeldeol is now known as reverend_butt
terrellt has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
<keppy> give catsbot a geobeer
* catsbot should not drive but gets in his car anyway!
* catsbot drinks a geobeer, (BAC is 0.21)
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Beoran> and you'll ssee the fortran compiler is most likely implemented... in C
jobewan has quit [Ping timeout: 255 seconds]
aiguu has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Ping timeout: 276 seconds]
<Beoran> as is Ruby and mruby
<Beoran> C is brilliant in it's (relative) simplicity and speed
<Beoran> ruby is brilliant in it's convenience
<benzrf> *irs
<benzrf> **its
<Beoran> C + mruby is awesome (or ruby + c extensions)
<Beoran> benzrf, my bad
axl_ has quit [Quit: axl_]
markour has joined #ruby
<keppy> benzrf OED editor
<shevy> note that benzrf even had to typo to correct you
<benzrf> keppy: :-)
<keppy> give catsbot a tequila shot
* catsbot should not drive but gets in his car anyway!
* catsbot takes the tequila shot and POWERS UP!(BAC is 0.41)
kevind has joined #ruby
aiguu_ has quit [Ping timeout: 255 seconds]
reverend_butt has quit [Quit: Textual IRC Client: www.textualapp.com]
terrell_t has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 252 seconds]
bamyojo14335 has quit [Ping timeout: 240 seconds]
<Nilium> I don't think I'd want to use mruby as a scripting language.
michaeldeol has joined #ruby
<Nilium> I'd probably just pick Lua.
ce_afk is now known as cescalante
<Nilium> Since my own isn't anywhere near ready-to-use status
sambao21 has joined #ruby
<keppy> I hear dogescript is fresh right now for scripting.
upsell5 has quit [Quit: upsell5]
<shevy> that just shows that you don't love ruby Nilium
toastynerd has joined #ruby
<Nilium> I hope that doesn't actually exist.
cina has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
<shevy> why did you have to ask... WHY ...
<Nilium> I love C++14.
* Nilium files an issue: "This shouldn't fucking exist."
mollitz has joined #ruby
bamyojo14335 has joined #ruby
<Nilium> Ah, I see, it's not actually a scripting language.
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
moritzschaefer has quit [Ping timeout: 240 seconds]
<Nilium> It's just another *->js compiler. Because that's what the world needs.
<Nilium> Reminds me of when someone posted that iGo thing on Hacker News and all I could think was how bad an idea it was.
michaeldeol has quit [Remote host closed the connection]
kpshek has quit []
michaeldeol has joined #ruby
<mozzarella> "npm wow"
<mozzarella> rofl
SilkFox_ has joined #ruby
mattstratton has joined #ruby
<Nilium> There's a venn diagram of people who like npm and people who huff jenkem somewhere. It's a circle.
GGMethos has quit [Quit: WeeChat 0.4.3]
tzorvas has joined #ruby
<keppy> I tend to agree except for https://github.com/jbr/sibilant which makes me give a kindhearted smile and nod.
Zenigor has joined #ruby
marcdel has quit []
<Nilium> I suppose the upside to dogescript is I now have this gif saved for future use: http://i.imgur.com/Zj3rcJE.gif
havenwood has joined #ruby
<shevy> omg
cina has joined #ruby
<shevy> now I understand why javascript populates github
<shevy> fake projects
<Nilium> Neat, except I have gambit scheme which is the superior Lisp.
<Beoran> it's very, very cool
* Nilium shanks Beoran
<Nilium> YES WE GET IT
KillerFox has quit [Ping timeout: 252 seconds]
<Beoran> Nilium, no, you were praising Lua before
<havenwood> shevy: with a simple bot Ruby could become the most popular lang? ;P
nanoyak has quit [Quit: Computer has gone to sleep.]
<tzorvas> is there any way to do something like [*array]
<Nilium> You like mruby. Okay. Good. Put your hand down.
<Nilium> Resume class.
<mozzarella> wow, there is a standard for ruby?
<keppy> give catsbot a tequila shot
* catsbot should not drive but gets in his car anyway!
* catsbot takes the tequila shot and POWERS UP!(BAC is 0.61)
<tzorvas> to pass this in a method which accepts an array
terrellt has joined #ruby
mattstratton has quit [Client Quit]
<Nilium> tzorvas: what?
kitak_ has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
supermarin_ has joined #ruby
<benzrf> Beoran: learn haskell instead
<benzrf> it dont got macros but it do got functors
<benzrf> B)
rizzatti has quit [Quit: Linkinus - http://linkinus.com]
jottr_ has quit [Ping timeout: 264 seconds]
<tzorvas> Nilium: now that i see it again it doesn't make much sense, i'm trying to refactor this : http://dpaste.com/3TZB0KS/ (line 5) into something sorter in method args
axilla has quit [Ping timeout: 264 seconds]
ktun has joined #ruby
RaptorJesus has joined #ruby
supermarin_ has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
axilla has joined #ruby
tacos1de has quit [Ping timeout: 272 seconds]
geggam has quit [Quit: commute]
SCommette_ has joined #ruby
RaptorJesus_ has quit [Ping timeout: 272 seconds]
SCommette has quit [Ping timeout: 240 seconds]
SCommette_ is now known as SCommette
GGMethos has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tacos1de has joined #ruby
Martxel has quit [Read error: Connection reset by peer]
<Nilium> tzorvas: Shorter?
Lucky_ has joined #ruby
<Nilium> 'Cause I guess that's shorter but the mental overhead is greater.
Biohazard has quit [Ping timeout: 245 seconds]
<wallerdev> lol
axilla has quit [Ping timeout: 240 seconds]
hfp has quit [Remote host closed the connection]
<Nilium> My advice: just chop the line.
alem0lars has quit [Quit: alem0lars]
<wallerdev> its barely any code idk why you need to make it shorter
<wallerdev> its just long variable names
enebo has quit [Quit: enebo]
<wallerdev> my advice: dont use class methods
<Nilium> Updated it to include what I mean by chopping your lines.
axilla has joined #ruby
<Nilium> I'm guessing it might be part of a module rather than a class
cescalante is now known as ce_afk
<wallerdev> then theres even less reason to use self
Vivekananda has joined #ruby
klaut has quit [Remote host closed the connection]
<tzorvas> Nilium: yes, this, thanks! I was wrongly called map with method
EagleDel_ has quit []
<tzorvas> i also did change tournament[0..1].map to simple tournament.map
replay_ has joined #ruby
andrewjanssen has joined #ruby
Biohazard has joined #ruby
axilla has quit [Ping timeout: 258 seconds]
tzorvas has quit [Quit: Lost terminal]
replay has quit [Ping timeout: 255 seconds]
axilla has joined #ruby
tylerkern has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tzorvas has joined #ruby
kitak has quit [Remote host closed the connection]
klaut has joined #ruby
kitak has joined #ruby
bakflash has quit [Ping timeout: 252 seconds]
andrewjanssen has quit [Remote host closed the connection]
ascarter has joined #ruby
nopc0de is now known as zz_nopc0de
mercwithamouth has quit [Ping timeout: 240 seconds]
zz_nopc0de is now known as nopc0de
toretore has quit [Quit: This computer has gone to sleep]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
nanoyak has joined #ruby
Biohazard has quit [Ping timeout: 252 seconds]
nopc0de is now known as zz_nopc0de
klaut has quit [Ping timeout: 255 seconds]
Biohazard has joined #ruby
terrellt has quit [Remote host closed the connection]
alpha123 has joined #ruby
terrellt has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
SCommette has quit [Quit: SCommette]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwithamouth has joined #ruby
Lemur has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
jjbohn has joined #ruby
jjbohn has quit [Client Quit]
lw has joined #ruby
duggiefresh has joined #ruby
tylerkern has joined #ruby
duggiefresh has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
gigetoo has quit [Remote host closed the connection]
benzrf has quit [Ping timeout: 265 seconds]
maletor has joined #ruby
Xeago has joined #ruby
carlyle has joined #ruby
dangerousdave has joined #ruby
x1337807x has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_NetZ has joined #ruby
gigetoo has joined #ruby
alpha123 has quit [Ping timeout: 240 seconds]
<The_NetZ> Hey, is there some ruby command one could use to determine which system type its running on? EG, linux/windows/cygwin
chipotle has joined #ruby
s2013_ has quit [Ping timeout: 258 seconds]
Bumptious has quit [Remote host closed the connection]
<eam> The_NetZ: the RUBY_PLATFORM constant
<havenwood> The_NetZ: RbConfig::CONFIG['host_os']
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
<The_NetZ> eam, ah, so like puts #{RUBY_PLATFORM} or something?
Bumptious has joined #ruby
shime has quit [Quit: Lost terminal]
<eam> just puts RUBY_PLATFORM, it's a string
<The_NetZ> ah cool. thanks
<havenwood> The_NetZ: For implementations like JRuby the RUBY_PLATFORM will be "java", etc.
VTLob has quit [Quit: VTLob]
<havenwood> The_NetZ: Even if you're on Windows.
<havenwood> The_NetZ: But RbConfig will be mswin..
treehug88 has joined #ruby
carlyle has quit [Ping timeout: 255 seconds]
<The_NetZ> havenwood, yeah, I get that. Just want to identify whether a particular application with an embedded ruby interpreter is true mswin or cygwin
Xeago has quit [Ping timeout: 255 seconds]
<The_NetZ> >> puts RUBY_PLATFORM
<eval-in__> The_NetZ => i686-linux ... (https://eval.in/153766)
<The_NetZ> hehe, nice.
<havenwood> >> RbConfig::CONFIG['host_os']
<eval-in__> havenwood => "linux-gnu" (https://eval.in/153767)
phoo1234567 has quit [Remote host closed the connection]
darmou has joined #ruby
<The_NetZ> very good. Not sure if RbConfig is available on this application, but thanks.
Biohazard has quit [Ping timeout: 252 seconds]
benzrf has joined #ruby
<The_NetZ> havenwood, eam, many thanks folks.
benzrf is now known as Guest26204
enebo has joined #ruby
The_NetZ has quit [Quit: Leaving]
omosoj has quit [Ping timeout: 240 seconds]
Biohazard has joined #ruby
KillerFox has joined #ruby
enebo has quit [Client Quit]
gstamp has joined #ruby
Guest26204 is now known as benzrf
dangerousdave has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
marcdel has joined #ruby
katlogic has quit [Ping timeout: 240 seconds]
treehug88 has quit []
tkuchiki has joined #ruby
combusean has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 258 seconds]
katlogic has joined #ruby
b00stfr3ak has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
hfp has joined #ruby
ixti has joined #ruby
zz_nopc0de is now known as nopc0de
g0bl1n has joined #ruby
baweaver has quit [Ping timeout: 264 seconds]
supermarin_ has joined #ruby
replay has joined #ruby
chrisseaton has joined #ruby
combusean has joined #ruby
elaptics is now known as elaptics`away
mjsmith2 has joined #ruby
kitak has quit [Remote host closed the connection]
danman has quit [Quit: danman]
catsbot has quit [Remote host closed the connection]
catsbot has joined #ruby
kitak has joined #ruby
replay_ has quit [Ping timeout: 255 seconds]
supermarin_ has quit [Ping timeout: 252 seconds]
benzrf has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Remote host closed the connection]
carlyle has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
mjsmith2 has quit [Ping timeout: 240 seconds]
Lobosque has joined #ruby
lagweezle has left #ruby [#ruby]
nopc0de is now known as zz_nopc0de
roolo has quit [Quit: Leaving...]
catsbot has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 240 seconds]
catsbot has joined #ruby
<Lobosque> when doing a http request, what else do I need to do in order to use https? I am settings use_ssl to true, but the request is still going out as http (checked in wireshark)
marcdel has joined #ruby
benzrf has joined #ruby
benzrf is now known as Guest8994
catsbot has quit [Killed (idoru (Spam is off topic on freenode.))]
keppy has quit [K-Lined]
blackmesa has quit [Ping timeout: 252 seconds]
<wallerdev> access a https:// url
<wallerdev> require 'net/https'
cina has quit [Remote host closed the connection]
<wallerdev> oh nvm you dont need to do that anymore
<wallerdev> i guess it depends what ruby youre on
carlyle has quit [Ping timeout: 255 seconds]
chrisseaton has quit [Ping timeout: 252 seconds]
jrhe has joined #ruby
<Dreamer3> is there a way to write a hash key symbol with a . in it using the new hash syntax?
<Dreamer3> "blah.blah" => 1 ... what : 1
<Lobosque> wallervdev I am on 1.9.1, i tried that and it didn' t work, but the manual say it is not needed anymore
Royalb15 has quit [Read error: Connection reset by peer]
hfp has quit [Remote host closed the connection]
gheegh has joined #ruby
maletor has quit [Read error: Connection reset by peer]
maletor_ has joined #ruby
Royalb15 has joined #ruby
hfp has joined #ruby
<wallerdev> Dreamer3: i dont think there is
<wallerdev> you can always use the old synta
<wallerdev> x
happytux has joined #ruby
dik_dak has quit [Quit: Leaving]
predator117 has quit [Ping timeout: 276 seconds]
hfp has quit [Remote host closed the connection]
<Guest8994> sadly you cannot make quoted symbols like `"foo": bar'
<Guest8994> =[
<happytux> hi
Es0teric has joined #ruby
<happytux> Interesting question: Ruby needs ruby for building. How is it bootstrapped? What was the first ruby building it?
Guest8994 is now known as benzrf
<happytux> Or it is more for convenience? Could one also build it without ruby?
codeurge has joined #ruby
predator117 has joined #ruby
kenneth__ has joined #ruby
kenneth has quit [Ping timeout: 255 seconds]
ffranz has quit [Quit: Leaving]
aspires has quit []
aspires has joined #ruby
mollitz has quit [Ping timeout: 240 seconds]
omosoj has joined #ruby
linojon has quit [Quit: linojon]
joonty has quit [Ping timeout: 240 seconds]
<havenwood> happytux: What do you mean? How's Ruby required to compile Ruby?
<havenwood> happytux: For Rubinius sure.
charliesome has joined #ruby
<havenwood> happytux: But MRI doesn't require Ruby to build.
kitak has joined #ruby
VinDH has quit [Remote host closed the connection]
<happytux> havenwood: but when I clone ruby from github and try make, it requires an available ruby
<Lobosque> wallerdev setting port to 443 did the trick :)
nowthatsamatt has quit [Quit: nowthatsamatt]
Megtastique has joined #ruby
toastynerd has quit [Remote host closed the connection]
<wallerdev> interesting haha
<Lobosque> wallerdev I realised my mistake while writing a question in stackoverflow
<wallerdev> was it not an https link?
redondos has quit [Excess Flood]
redondos has joined #ruby
<wallerdev> seems liek the port would automatically be set haha
<Lobosque> ruby http module is weird, you have to set the port AND tell you want to use a secure connection
<Lobosque> anyway thanks for the help
<Lobosque> see ya!
<wallerdev> later gator
<happytux> executable host ruby is required. use --with-baseruby option.; false -C ./tool get-config_files config.guess
<happytux> so I have to provide an existing ruby installation
<happytux> or do I have to tell make that I only want MRI ruby?
shvelo has quit [Ping timeout: 240 seconds]
end_guy has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
bamyojo14335 has quit [Quit: bamyojo14335]
jjbohn has joined #ruby
monkegjinni has joined #ruby
maletor_ has quit [Ping timeout: 276 seconds]
<havenwood> happytux: if you want to clone from Github follow the README.md instructions, or just download: wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
aiguu__ has quit [Ping timeout: 240 seconds]
<havenwood> happytux: but no, there's no selecting involved
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<happytux> ok
mjsmith2 has joined #ruby
<havenwood> happytux: did you? ./configure
<happytux> yes
<happytux> alright
andrewlio has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
<happytux> I solved the problem I had some hours before with ruby 1.9.3 and openssl.
joonty has joined #ruby
<happytux> ruby-install accepts arguments to be passed to the build script
agjacome has quit [Ping timeout: 240 seconds]
<happytux> notably --with-openssl-dir
toastynerd has joined #ruby
bamyojo14335 has joined #ruby
tylerkern has joined #ruby
mjsmith2_ has joined #ruby
afex has joined #ruby
carlyle has joined #ruby
maletor has joined #ruby
t0rc has joined #ruby
testcore has quit [Quit: BitchX: it's what's for lunch]
omosoj has quit [Ping timeout: 240 seconds]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
mjsmith2 has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
mjsmith2_ has quit [Ping timeout: 240 seconds]
kevind has quit [Quit: kevind]
mehlah has quit [Quit: Leaving...]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has joined #ruby
rgiscard has quit [Ping timeout: 240 seconds]
bamyojo14335 has quit [Quit: bamyojo14335]
<lethjakman> what do I have to do to make a method only used for instantiating a method?
emanu has joined #ruby
linojon has joined #ruby
<wallerdev> lethjakman: make it private?
<wallerdev> not sure how you instantiate a method though