apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
itissid has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
iamjarvo has joined #ruby
nerium has quit [Quit: nerium]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mehowte has joined #ruby
TheHodge has joined #ruby
<bean> ruby 1.8 is just so old now.
Methylated has quit [Client Quit]
Methylated has joined #ruby
robaman has quit [Ping timeout: 245 seconds]
<gks> bean, yea, i was trying to avoid going out of my way to make things difficult.. i got pretty far but this one is probably a deal breaker… i don't even include any gems in this thing so that i don't have to worry about all of the crap with that
hiroyuki has joined #ruby
reset has joined #ruby
blooberr_ has joined #ruby
<gks> ah well, been at the computer for about 10 hours, time to call it a day i think. thanks for your help all. have a great evening!
jmimi1 has joined #ruby
gks has quit [Quit: Textual IRC Client: www.textualapp.com]
dangerousdave has quit [Ping timeout: 272 seconds]
jmimi has quit [Ping timeout: 260 seconds]
hiroyuki_ has quit [Ping timeout: 268 seconds]
sambao21 has joined #ruby
jokke has quit [Quit: WeeChat 0.4.2]
jmimi1 is now known as jmimi
nutella has joined #ruby
Methylated has quit [Ping timeout: 260 seconds]
nutella is now known as Guest75135
sambao21 has quit [Client Quit]
madhatter has quit [Ping timeout: 245 seconds]
jokke has joined #ruby
robonerd has joined #ruby
madhatter has joined #ruby
mehowte has quit [Ping timeout: 240 seconds]
geoffw8_ has joined #ruby
reset has quit [Ping timeout: 268 seconds]
earthquake has joined #ruby
robonerd has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 246 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
robbyoconnor has quit [Ping timeout: 240 seconds]
robaman has joined #ruby
allaire has joined #ruby
karnowski has joined #ruby
kitak_ has joined #ruby
Shidash has joined #ruby
robonerd- has joined #ruby
stkowski has quit [Quit: stkowski]
MrZYX is now known as MrZYX|off
hiroyuki has quit [Ping timeout: 240 seconds]
robonerd- has quit [Remote host closed the connection]
kitak__ has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
Andrevan has joined #ruby
mojjojo has joined #ruby
flowerhack has joined #ruby
jhulten has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 245 seconds]
robonerd- has joined #ruby
kitak has quit [Ping timeout: 246 seconds]
jhulten has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jhulten has quit [Read error: Connection reset by peer]
robonerd- is now known as robonerd
robonerd has quit [Changing host]
robonerd has joined #ruby
lfox has quit [Quit: ZZZzzz…]
jhulten has joined #ruby
marcdel has joined #ruby
reset has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Guest75135 has quit [Ping timeout: 265 seconds]
ph8 has quit [Ping timeout: 245 seconds]
Naeblis has joined #ruby
robaman has quit [Read error: Operation timed out]
lmickh has quit [Quit: lmickh]
mrsolo has joined #ruby
Beoran_ has joined #ruby
larissa has joined #ruby
[Neurotic] has joined #ruby
robaman has joined #ruby
ph8 has joined #ruby
joshwines has joined #ruby
frustrum has quit [Quit: WeeChat 0.4.2]
ffranz has joined #ruby
Beoran__ has quit [Ping timeout: 272 seconds]
kevind has quit [Quit: kevind]
JoeTheGuest has joined #ruby
r0b0 has joined #ruby
einarj has joined #ruby
dziga has joined #ruby
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has quit [Client Quit]
marr has quit [Ping timeout: 272 seconds]
MiguelGD has quit [Ping timeout: 245 seconds]
ismlages has quit [Read error: Connection reset by peer]
jkhwan has quit [Remote host closed the connection]
Apane has joined #ruby
jkhwan has joined #ruby
jkline has joined #ruby
<Apane> Hey guys, so I have an array of movies and I'd like to be able to sort through them alphebetically.. from a-z. What would be the best way to do this? I'm thinking of case when maybe? or is there a better way.
einarj has quit [Ping timeout: 246 seconds]
<zastern> Any ideas why this keeps looping forever?
johnnyfuchs has quit [Quit: Leaving.]
<zastern> tickets_parsed['next_page'] does eventually become NilClass
<zastern> and prints out as such
<zastern> via the puts tickets_next['next_page'].class
<zastern> and yet it still keeps looping
ffranz has quit [Quit: Leaving]
pel_daniel has left #ruby [#ruby]
bugsinlights has joined #ruby
thams has quit [Quit: thams]
Domon_ has joined #ruby
shawnjgoff has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
r0b0 has quit []
Zespre has joined #ruby
thepumpkin has joined #ruby
<DanBoy> your not doing anything with tickets_parsed[]
iamjarvo has quit [Remote host closed the connection]
<DanBoy> while tickets_parsed['next_page'].is_a? String do
iamjarvo has joined #ruby
`Chris` has quit []
<DanBoy> after that i don't see anything else referencing that array
<DanBoy> so it'll go forever
<zastern> DanBoy: doesn't it do that check before each iteration?
michele2 has joined #ruby
<DanBoy> it does
<DanBoy> try setting that to nil when your done with it
<zastern> does the "while tickets_parsed['next_page'].is_a? String do" not get tested each iteration?
<zastern> it eventually becomes nil
<zastern> right
<zastern> ohh
<DanBoy> but your not changing any value of that
<zastern> hmm
<DanBoy> so it'll always be a String
bigoldrock has quit [Ping timeout: 245 seconds]
r0b0 has joined #ruby
<DanBoy> at least thatas what it looks like
<DanBoy> to me
<zastern> oh crap i need to test tickets_next
<zastern> thats why
thepumpkin has quit [Ping timeout: 268 seconds]
<zastern> I got it now
<zastern> thanks!
<DanBoy> ya cool :P
vlad_starkov has joined #ruby
threesome has joined #ruby
jxf has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
nateberkopec has joined #ruby
jamblack has joined #ruby
tjbiddle has joined #ruby
mansi has joined #ruby
zeade has quit [Quit: Leaving.]
<zastern> alright, it's a loop do now
<zastern> but it should at least work
<zastern> even if it's ugly
Foredoomed has joined #ruby
devoldmx has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
r0b0 has quit []
ravster has joined #ruby
deception has quit [Remote host closed the connection]
zz_karupanerura is now known as karupanerura
mikeg has joined #ruby
<DanBoy> keep it ruby ruby with the do block :P
thams has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mansi_ has joined #ruby
rickruby has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
<zastern> YESSS it works
<zastern> thanks danboy
<DanBoy> ok
Xiti` has joined #ruby
<DanBoy> cool :D
<zastern> @DanBoy garfield fan?
Xiti has quit [Ping timeout: 260 seconds]
<DanBoy> as in the cat?
<zastern> yes
<DanBoy> lol i dunno i haven't seen it in awhile
<DanBoy> since i was a kid
tylersmith has quit [Remote host closed the connection]
<zastern> Garfield's owner has a cousin or something named "something" but he calls him DanBoy
volty has quit [Quit: Konversation terminated!]
<zastern> and he hates it
mansi has joined #ruby
<DanBoy> oh lol
tjbiddle has quit [Quit: tjbiddle]
jonathanwallace2 has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
<DanBoy> i was a massive ghost busters fan as a kid
mikeg has quit [Ping timeout: 260 seconds]
<DanBoy> and jurrasic park
lyanchih has joined #ruby
predator117 has joined #ruby
shawnjgoff has joined #ruby
predator217 has quit [Ping timeout: 245 seconds]
nucatus has joined #ruby
devoldmx3 has joined #ruby
b00stfr3ak has quit [Ping timeout: 246 seconds]
rcdsystems has joined #ruby
jkline has quit [*.net *.split]
ph8 has quit [*.net *.split]
jhulten has quit [*.net *.split]
matchaw has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
silent_root has quit [*.net *.split]
Monie has quit [*.net *.split]
zastern has quit [*.net *.split]
xk_id has quit [*.net *.split]
burlyscudd has quit [*.net *.split]
kobain has quit [*.net *.split]
saarinen has quit [*.net *.split]
NutsEverywhere has quit [*.net *.split]
Targen has quit [*.net *.split]
deegen has quit [*.net *.split]
dayepa has quit [*.net *.split]
the_mentat has quit [*.net *.split]
z has quit [*.net *.split]
jabular_ has quit [*.net *.split]
dzan has quit [*.net *.split]
emdub has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
thomasvs has quit [*.net *.split]
jwest has quit [*.net *.split]
headius has quit [*.net *.split]
Jelco has quit [*.net *.split]
s_e has quit [*.net *.split]
uxp_ has quit [*.net *.split]
Weazy has quit [*.net *.split]
Rylee has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
pdtpatrick has quit [*.net *.split]
Guest31084 has quit [*.net *.split]
darrik has quit [*.net *.split]
monomyth has quit [*.net *.split]
mattias_ has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
Nahra has quit [*.net *.split]
eval-in has quit [*.net *.split]
Niamkik has quit [*.net *.split]
Veejay has quit [*.net *.split]
Elfix has quit [*.net *.split]
jabular has joined #ruby
emdub has joined #ruby
eval-in has joined #ruby
Elfix has joined #ruby
silent_root has joined #ruby
Nahra has joined #ruby
werdnativ has quit [Quit: werdnativ]
matchaw has joined #ruby
uxp has joined #ruby
pdtpatrick has joined #ruby
Nogbit has joined #ruby
DrShoggoth has joined #ruby
Nogbit has left #ruby [#ruby]
kobain has joined #ruby
Niamkik has joined #ruby
darrik has joined #ruby
jhulten has joined #ruby
deegen has joined #ruby
basmoura has joined #ruby
headius has joined #ruby
dzan has joined #ruby
Weazy has joined #ruby
monomyth has joined #ruby
Sp4rKy has joined #ruby
ph8 has joined #ruby
dayepa has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
xk_id has joined #ruby
jwest has joined #ruby
kobain has quit [Changing host]
kobain has joined #ruby
Sp4rKy has quit [Changing host]
xk_id has quit [Changing host]
xk_id has joined #ruby
Sp4rKy has joined #ruby
yosafbridge has joined #ruby
NutsEverywhere has joined #ruby
s_e has joined #ruby
Gnubie_ has joined #ruby
Targen has joined #ruby
tommylommykins has joined #ruby
Veejay has joined #ruby
the_mentat has joined #ruby
z has joined #ruby
Jelco has joined #ruby
ssvo has quit [Ping timeout: 245 seconds]
Naeblis has quit [Ping timeout: 245 seconds]
devoldmx has quit [Ping timeout: 268 seconds]
petey__ has joined #ruby
cfi30 has joined #ruby
mlpinit has quit [Remote host closed the connection]
octarine has quit [Ping timeout: 264 seconds]
cool has quit [Ping timeout: 264 seconds]
Guest85414___ has quit [Ping timeout: 264 seconds]
nucatus has quit [Ping timeout: 245 seconds]
moeSeth has quit [Ping timeout: 245 seconds]
xerxas has quit [Ping timeout: 245 seconds]
mlpinit has joined #ruby
[0x1a]_ has quit [Ping timeout: 245 seconds]
joshwines has quit [Ping timeout: 264 seconds]
heidar has quit [Ping timeout: 245 seconds]
sevenseacat has joined #ruby
heidar has joined #ruby
joshwines has joined #ruby
Rylee has joined #ruby
Rylee has quit [Excess Flood]
moeSeth has joined #ruby
gilesw_ has quit [Ping timeout: 264 seconds]
randym_ has quit [Ping timeout: 264 seconds]
andrewstewart has quit [Ping timeout: 264 seconds]
xerxas has joined #ruby
octarine has joined #ruby
Monie has joined #ruby
lnormous has quit [Ping timeout: 252 seconds]
Rylee has joined #ruby
Naeblis has joined #ruby
cool has joined #ruby
Guest85414___ has joined #ruby
mattias_ has joined #ruby
timonv has joined #ruby
gilesw_ has joined #ruby
tkuchiki has joined #ruby
randym_ has joined #ruby
andrewstewart has joined #ruby
[0x1a]_ has joined #ruby
mojjojo has quit [Quit: Leaving]
burlyscudd has joined #ruby
rcdsystems has quit []
ahawkins has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
freezey has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 253 seconds]
freezey has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
timonv has quit [Ping timeout: 260 seconds]
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
Sc0rp10n has quit [Quit: Leaving]
Guest76482 is now known as denysonique
psyl0n has joined #ruby
El_Dood has quit []
silent_root has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Remote host closed the connection]
psyl0n has quit [Client Quit]
freezey has quit [Ping timeout: 252 seconds]
rcdsystems has joined #ruby
duggiefresh has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
tkuchiki has joined #ruby
<rcdsystems> hello
richard has joined #ruby
richard has quit [Client Quit]
soheil has quit [Remote host closed the connection]
i_s_ has quit []
sepp2k has quit [Quit: Leaving.]
soheil has joined #ruby
bugsinlights has quit [Remote host closed the connection]
Senjai has joined #ruby
angusiguess has joined #ruby
psyl0n has joined #ruby
DonRichie has quit [Ping timeout: 248 seconds]
falood has joined #ruby
soheil has quit [Ping timeout: 246 seconds]
DonRichie has joined #ruby
dhruvasagar has joined #ruby
raphaelivan has joined #ruby
ringtiny has quit [Quit: Leaving]
brianpWins has quit [Quit: brianpWins]
sambao21 has joined #ruby
thomasvs has joined #ruby
thomasvs has quit [Changing host]
thomasvs has joined #ruby
freezey has joined #ruby
tommyvyo_ is now known as tommyvyo
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
jkline has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 240 seconds]
jxf has quit [Ping timeout: 240 seconds]
RORgasm has joined #ruby
lnormous has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
gr33n7007h has quit [Remote host closed the connection]
RORgasm has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
sambao21 has joined #ruby
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
guns has joined #ruby
sambao21 has quit [Client Quit]
sambao21 has joined #ruby
chuk has quit [Quit: This computer has gone to sleep]
freezey_ has joined #ruby
freezey has quit [Ping timeout: 245 seconds]
sambao21 has quit [Client Quit]
Senjai has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 268 seconds]
sambao21 has joined #ruby
iamjarvo has quit [Ping timeout: 252 seconds]
coldmethod has joined #ruby
raphaelivan has quit [Quit: Leaving.]
basmoura has quit [Quit: Textual IRC Client: www.textualapp.com]
freezey_ has quit [Remote host closed the connection]
coldmethod has left #ruby [#ruby]
lewis has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
bugsinlights has joined #ruby
iliketurtles has joined #ruby
devoldmx has joined #ruby
devoldmx3 has quit [Ping timeout: 246 seconds]
Lewix has joined #ruby
lewis has joined #ruby
tomzx_mac has joined #ruby
vlad_starkov has joined #ruby
stringoO has joined #ruby
lukec has quit [Quit: lukec]
Voodoofish430 has quit [Quit: Leaving.]
dhruvasagar has joined #ruby
soheil has joined #ruby
ldnunes has quit [Quit: Leaving]
AlwaysBCoding has joined #ruby
<AlwaysBCoding> anyone know of a good strategy to screenscrape data with Nokogiri from a site that loads its data with javascript?
nstdloop has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
g0bl1n has joined #ruby
jhulten has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 264 seconds]
jhulten has joined #ruby
Mattias has quit [Ping timeout: 245 seconds]
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
RichardBaker has quit [Quit: RichardBaker]
jamblack has quit [Quit: jamblack]
graft_ has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
mikesplain has joined #ruby
mansi has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
TheShaun is now known as TheShaun|AFK
mikesplain has quit [Client Quit]
jmimi has left #ruby [#ruby]
Mattias has joined #ruby
devoldmx has joined #ruby
jonathanwallace2 has quit [Ping timeout: 264 seconds]
<nhmood> I have files that I have packaged in my Ruby gem but when I try to access them from the Ruby app it cannot seem to find the files?
x1337807x has quit [Ping timeout: 246 seconds]
<nhmood> Is there something extra I have to do with the Ruby gem (gemspec?) in order to tell my Ruby app where the packaged files can be found
sambao21 has quit [Quit: Computer has gone to sleep.]
mikesplain has joined #ruby
jhulten has quit [Ping timeout: 245 seconds]
<g0bl1n> I need to use some methods of file b.rb in a new applicaton a.rb. So I created a.rb and required the class in b.rb. The problem is I'm trying to discard method before, but always get an error when requiring the file: "undefined method `before' for Reports:Class (NoMethodError)" http://pastie.org/8455954
nucatus has joined #ruby
lfox has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
pragmatism has quit [Quit: Leaving...]
mary5030 has joined #ruby
silent_root has joined #ruby
idiocrash has joined #ruby
<IcyDragon> g0bl1n: before needs to be a class method
<IcyDragon> change it to: def self.before *args # in a.rb
tylersmith has joined #ruby
mikesplain has quit [Ping timeout: 246 seconds]
<g0bl1n> IcyDragon, done, thanks
<IcyDragon> np
nucatus has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
danshultz has joined #ruby
Xiti` is now known as Xiti
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
bigoldrock has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
tylersmith has quit [Ping timeout: 245 seconds]
nisstyre has joined #ruby
mary5030 has quit [Remote host closed the connection]
jamblack has joined #ruby
mary5030 has joined #ruby
silent_root has quit [Quit: Lost terminal]
silent_root has joined #ruby
Briareos1 has quit [Remote host closed the connection]
stringoO has quit [Quit: stringoO]
bigoldrock has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 268 seconds]
Briareos1 has joined #ruby
devoldmx has joined #ruby
TheShaun|AFK is now known as TheShaun
niklasb_ has quit [Ping timeout: 240 seconds]
TheShaun is now known as TheShaun|AFK
dancinllama_ is now known as dancinllama
fijimunkii has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ixti has quit [Ping timeout: 272 seconds]
devoldmx has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
ericmathison has joined #ruby
goleldar has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
Seich_ has joined #ruby
marcdel has joined #ruby
iamjarvo has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
devoldmx has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
jcromartie has joined #ruby
itissid has quit [Quit: Leaving.]
Anselm has quit []
silent_root has quit [Quit: Lost terminal]
lfox has quit [Ping timeout: 240 seconds]
burgess has joined #ruby
danman has joined #ruby
danman has quit [Client Quit]
mrsolo has quit [Quit: This computer has gone to sleep]
iamjarvo_ has joined #ruby
btanaka has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 268 seconds]
IcyDragon has quit [Quit: Space~~~]
mercwithamouth has quit [Ping timeout: 264 seconds]
cfi30 has left #ruby [#ruby]
iamjarvo has quit [Ping timeout: 240 seconds]
lfox has joined #ruby
araujo has quit [Quit: Leaving]
Targen has quit [Ping timeout: 246 seconds]
varfoo has joined #ruby
lukec has joined #ruby
thepumpkin has joined #ruby
nwertman has quit [Ping timeout: 240 seconds]
mmcdaris has quit [Quit: mmcdaris]
mmitchell has joined #ruby
mrsolo has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
jcarouth has quit [Excess Flood]
jcarouth has joined #ruby
thepumpkin has quit [Ping timeout: 260 seconds]
ravster has left #ruby [#ruby]
vlad_starkov has joined #ruby
codeFiend has joined #ruby
devoldmx3 has joined #ruby
havenwood has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
iamjarvo_ has quit [Remote host closed the connection]
dmiller has joined #ruby
iamjarvo has joined #ruby
mixel has quit [Quit: mixel]
danshultz has quit [Remote host closed the connection]
nwertman has joined #ruby
danshultz has joined #ruby
jkline has quit [Quit: jkline]
bugsinlights has quit [Read error: Connection reset by peer]
bugsinlights has joined #ruby
iliketurtles has joined #ruby
g0bl1n has quit [Ping timeout: 252 seconds]
soheil has quit [Remote host closed the connection]
Parduse has joined #ruby
soheil has joined #ruby
Briareos1 has quit [Remote host closed the connection]
crucify_me has joined #ruby
iamjarvo has quit [Ping timeout: 264 seconds]
DanKnox is now known as DanKnox_away
tommyvyo_ has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
Muz has quit [Ping timeout: 245 seconds]
Muz has joined #ruby
werdnativ has joined #ruby
coca_rails has joined #ruby
TomRone has quit [Ping timeout: 245 seconds]
jamblack has quit [Quit: jamblack]
tylersmith has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
soheil has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
TomRone has joined #ruby
cosjef has joined #ruby
<coca_rails> yo
cosjef is now known as adrock
cads has joined #ruby
banisterfiend has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 268 seconds]
tkuchiki has quit [Remote host closed the connection]
cooldman224 has joined #ruby
adrock has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
mmitchell has quit [Remote host closed the connection]
Seich_ has quit [Ping timeout: 268 seconds]
xk_id has quit [Quit:
robbyoconnor has joined #ruby
burgess has quit [Quit: ^ddd]
tkuchiki has joined #ruby
ZadYree has quit [Ping timeout: 245 seconds]
chiel has quit [Ping timeout: 272 seconds]
rickruby has joined #ruby
chiel has joined #ruby
ZadYree has joined #ruby
Seich_ has joined #ruby
kobain has quit []
coca_rails has quit [Remote host closed the connection]
io_syl has quit []
nucatus has joined #ruby
coca_rails has joined #ruby
adrock has joined #ruby
adrock has left #ruby [#ruby]
lethjakman has quit [Ping timeout: 240 seconds]
polaco is now known as polaco_zZz
coca_rails has quit [Ping timeout: 245 seconds]
nucatus has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby
CreativeEmbassy has joined #ruby
allaire has quit []
vlad_starkov has quit [Read error: Connection reset by peer]
wesside has quit [Quit: Computer has gone to sleep.]
TheShaun|AFK is now known as TheShaun
iamjarvo has joined #ruby
xk_id has joined #ruby
t_p has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
wesside has joined #ruby
bugsinlights has quit [Ping timeout: 245 seconds]
petey___ has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
marcdel has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey__ has quit [Read error: Operation timed out]
Targen has joined #ruby
lewis has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
lnormous has quit [Quit: Leaving]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
pothibo has quit [Quit: pothibo]
mansi has joined #ruby
werdnativ has quit [Quit: werdnativ]
ehc has quit [Quit: ehc]
saarinen has quit [Client Quit]
Seich_ has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
Lewix has quit [Ping timeout: 246 seconds]
Seich_ has joined #ruby
fijimunkii has joined #ruby
RORgasm has joined #ruby
Davey has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RORgasm has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
mynck has joined #ruby
<mynck> thnks
mlpinit has quit [Ping timeout: 252 seconds]
reset has quit [Quit: Leaving...]
reset has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
<mynck> .
saarinen has joined #ruby
icy` has joined #ruby
codeFiend has quit [Quit: codeFiend]
d2dchat has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
radic_ has joined #ruby
radic has quit [Disconnected by services]
iamjarvo has joined #ruby
reset has quit [Ping timeout: 245 seconds]
mynck has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]]
x0nic has quit [Ping timeout: 240 seconds]
dfyuij has joined #ruby
x0nic has joined #ruby
amacgregor has joined #ruby
icy` has quit [Ping timeout: 264 seconds]
amacgregor__ has joined #ruby
vlad_starkov has joined #ruby
wallerdev has joined #ruby
dfyuij has left #ruby [#ruby]
bricker`LA has joined #ruby
kaspergrubbe has quit [Ping timeout: 260 seconds]
icy` has joined #ruby
aaroncm_ has joined #ruby
adrock has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
n88 has quit [Ping timeout: 245 seconds]
tommyvyo_ has quit [Read error: No route to host]
aaroncm has quit [Ping timeout: 245 seconds]
n88 has joined #ruby
jonahR has joined #ruby
rickruby has quit [Remote host closed the connection]
tommyvyo_ has joined #ruby
freerobby has joined #ruby
albioner has left #ruby ["Signing off..."]
Blue_Ice has quit [Ping timeout: 245 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
pu22l3r has joined #ruby
parus has quit [Ping timeout: 245 seconds]
Mr_Wharfsnort has joined #ruby
chiel has quit [Ping timeout: 245 seconds]
jkhwan has quit [Remote host closed the connection]
zeropx has quit [Quit: zeropx]
parus has joined #ruby
jkhwan has joined #ruby
dma_ has quit [Remote host closed the connection]
chiel has joined #ruby
dma_ has joined #ruby
ericmathison has quit [Quit: leaving]
fella6s has joined #ruby
Lewix has joined #ruby
lewis has joined #ruby
Blue_Ice has joined #ruby
platypine has quit [Ping timeout: 245 seconds]
wesside has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
devoldmx3 has quit [Remote host closed the connection]
adrock has quit []
fella7s has quit [Ping timeout: 252 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
petey___ has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
dma_ has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
jkhwan has joined #ruby
cooldman224 has quit [Remote host closed the connection]
Yuyo has joined #ruby
mun has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
cads has quit [Ping timeout: 240 seconds]
OdNairy has joined #ruby
idiocrash has quit []
jrhorn424 is now known as zz_jrhorn424
idiocrash has joined #ruby
bluOxigen has joined #ruby
<Yuyo> can someone point out what I'm doing wrong here? https://gist.github.com/anonymous/7313727
ixti has joined #ruby
crucify_me has quit [Remote host closed the connection]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
petey__ has joined #ruby
pranny has joined #ruby
io_syl has joined #ruby
JohnBat26 has joined #ruby
CreativeEmbassy has joined #ruby
<shevy> Yuyo hard to say because you use things that are not in the file
<shevy> if is_foo?
<shevy> that is a method right?
<shevy> but your file does not show what it does
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
marcdel has joined #ruby
<shevy> bar.get_outputs apparently returns a fixnum
<shevy> and you try to invoke #each on that result
<Yuyo> yeah, do you see how that could happen? where is it returning a fixnum?
<shevy> Yuyo it's hard to say because the code you show here is not complete
<shevy> for example, you do not show how do_something is invoked
vlad_starkov has quit [Read error: Connection reset by peer]
ehc has joined #ruby
yacks has quit [Quit: Leaving]
huttan_ has joined #ruby
huttan has quit [Read error: Connection reset by peer]
<shevy> so when you ask "how that could happen", there is no real way to answer because one looks at a black box without the code that does so
<havenwood> Yuyo: Which one of those #each's is on line 23?
nari has joined #ruby
<shevy> Yuyo, my take is that you pass in a wrong object
<shevy> oh wait
<Yuyo> havenwood: i meant line 23 in the gist
<shevy> the object must be right, but @result must have the wrong part
<shevy> @result << @x
<shevy> I guess you add fixnums to it here
<Yuyo> but @x is an object
<shevy> what is class X
<Yuyo> it's an ActiveRecord model class
hiyosi has quit [Ping timeout: 264 seconds]
ziyadb has quit [Ping timeout: 264 seconds]
<shevy> well can you debug
<shevy> in method def do_something(bar)
<shevy> p bar.class
<shevy> and say what this shows
ziyadb has joined #ruby
shawnjgoff has quit [Ping timeout: 245 seconds]
<shevy> and where from does foos.each do |f| come
<shevy> and what is foos
<shevy> do p foos there inside your class
codeFiend has joined #ruby
Methylated has joined #ruby
<Yuyo> yeah foos is an activerecord has_many association
petey__ has quit [Remote host closed the connection]
earthquake has quit [Quit: earthquake]
pdimitrov has quit [Ping timeout: 245 seconds]
pr0ggie has quit [Ping timeout: 245 seconds]
bootcoder has joined #ruby
pr0ggie has joined #ruby
chiel has quit [Ping timeout: 260 seconds]
chiel has joined #ruby
pdimitrov has joined #ruby
silent_root has joined #ruby
codezomb has joined #ruby
freerobby has quit [Quit: Leaving.]
xk_id has quit [Quit:
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dma_ has joined #ruby
idiocrash has quit []
dma_ has quit [Write error: Connection reset by peer]
dma_ has joined #ruby
rickruby has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
rickruby has quit [Read error: No route to host]
rickruby has joined #ruby
ukd1 has joined #ruby
dma_ has quit [Ping timeout: 252 seconds]
hhyt6654 has joined #ruby
bootcoder has quit [Ping timeout: 245 seconds]
Bosox20051 has joined #ruby
hhyt6654 is now known as bootcoder
derebos has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
dhruvasagar has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
ehc_ has joined #ruby
Mr_Wharfsnort has quit [Quit: Leaving]
Andrevan has joined #ruby
ehc has quit [Ping timeout: 264 seconds]
ehc_ is now known as ehc
ehc has quit [Remote host closed the connection]
<mun> hi
<mun> i've just installed a gem called mongo3 using gem install mongo3, does anyone know how i could run it?
thepumpkin has joined #ruby
<sevenseacat> the docs probably have a clue
<mun> sevenseacat, well...
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
psyl0n has quit [Quit: psyl0n]
<mun> sevenseacat, i'm just very new to ruby. it says 'Launch it. Fires up sinatra and opens up the console'
rclements has quit [Ping timeout: 252 seconds]
<sevenseacat> yes, now read the command it says to use to do that
<mun> bootcoder, yeah i've read that. but do i need to do something like 'ruby mongo3'?
silent_r1ot has joined #ruby
jamblack has joined #ruby
<sevenseacat> also, ew at requiring ruby 1.8
timonv has joined #ruby
silent_r1ot has quit [Client Quit]
<mun> sevenseacat, yeah
Seich_ has quit [Quit: Computer has gone to sleep.]
rclements has joined #ruby
<mun> but how is a gem run?
Seich_ has joined #ruby
mrsolo has quit [Quit: Leaving]
<sevenseacat> mun: read the section that says 'launch it'
thepumpkin has quit [Ping timeout: 240 seconds]
noop has joined #ruby
<sevenseacat> including the commands it says to run
<mun> oh, that > is the command prompt?
<mun> shell
<DanBoy> $
<sevenseacat> yes.
<mun> thought it was some ruby environment prompt
<mun> ok thanks
<mun> i guess my installation failed somehow then
tommyvyo_ has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
<DanBoy> did you use rvm
tommyvyo_ has joined #ruby
vlad_starkov has joined #ruby
bootcoder has left #ruby [#ruby]
<mun> DanBoy, um.. no. i did gem install mongo3
<havenwood> mun: Switch to Ruby 2.0 and modern gems. :P
<sevenseacat> +1
irated has quit [Ping timeout: 252 seconds]
mikeg has joined #ruby
iamjarvo has quit [Remote host closed the connection]
tygator has joined #ruby
<mun> hmm
<DanBoy> ahh dude i dunno
pryorda has joined #ruby
<DanBoy> its windows
timonv has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
<DanBoy> and you didn't use rvm to install ruby
<DanBoy> so i have no idea where your gem is installed
<DanBoy> not being mean or anything just truthful i can't help with windows stuff
saarinen has quit [Quit: saarinen]
DefV has quit [Ping timeout: 252 seconds]
musl_ has quit [Ping timeout: 246 seconds]
Jan_ has joined #ruby
duggiefresh has quit [Remote host closed the connection]
<mun> i'm actually on osx
<DanBoy> oh
<mun> i have no experience in ruby at all
<havenwood> i think `pik` is the windows version of `rvm` or `chruby`
<DanBoy> great then
<DanBoy> your using unix
<mun> i wish the clients weren't in ruby....
duggiefresh has joined #ruby
<DanBoy> what version osx?
<mun> DanBoy, yeah
musl_ has joined #ruby
<mun> DanBoy, 10.8
<DanBoy> then it comes with ruby installed already
<havenwood> mun: Using Homebrew?
<mun> DanBoy, yes it does. v1.8
hiyosi has quit [Ping timeout: 245 seconds]
<mun> but mongo3 wasn't happy with it 'cos it wanted 1.9+
duggiefresh has quit [Read error: Connection reset by peer]
<DanBoy> use that
<mun> havenwood, yep
<mun> i'll just switch to another client
<havenwood> mun: You can `brew install ruby` if you just want to use a single Ruby. Or yeah, RVM. I use ruby-install and chruby on OS X personally.
<DanBoy> theres even #rvm if you have trouble
<mun> .. will wrestle with ruby when i got time
iamjarvo has quit [Ping timeout: 264 seconds]
<mun> havenwood, oh i already have
<mun> havenwood, brew puts it into /usr/local/bin so i've changed my $PATH and all
<DanBoy> i got macports and rvm
funburn has joined #ruby
<havenwood> DanBoy: Was just reading up on FreeBSD and pkg. I've never been a MacPorts user, you like?
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> them switching to pkg, i meanhttps://github.com/freebsd/pkg#readme
funburn has quit [Remote host closed the connection]
funburn has joined #ruby
<havenwood> Since Homebrew refuses to play nice with sudo, MacPorts or Fink would be the only options on a multi-user system. Alas I'm single user and haven't had enough pain brewing to look seriously at non-beaten-path options.
Seich_ has quit [Quit: Computer has gone to sleep.]
Seich_ has joined #ruby
burgess has joined #ruby
<DanBoy> sorry
Seich_ has quit [Ping timeout: 240 seconds]
<DanBoy> was away
<DanBoy> ya dude i like macports its been awhile since i set it up and what not
<DanBoy> just about as simple as the FreeBSD ports
<havenwood> checking it out now, got curious - nice
<DanBoy> port install wget
burlyscudd has quit [Quit: Leaving.]
<DanBoy> stuff like that
<DanBoy> goes into /opt/local
<DanBoy> homebrew is written in ruby right
<havenwood> DanBoy: yup, indeed
<DanBoy> a lot of ruby devs use it
marcdel has joined #ruby
<DanBoy> my friend keeps trying to get me to switch but i already set up macports and i don't see the big idea
<havenwood> DanBoy: yeah, super easy to brew your own packages
<DanBoy> i got my *sql and apache im fine
Seich_ has joined #ruby
<DanBoy> installing stuff is just as simple as apt-get and what not
amritanshu_RnD has joined #ruby
<DanBoy> but i like how it totally isolates itself from the OS
<DanBoy> everything goes into /opt/local
<DanBoy> then + rvm you never use any of the system stuff
<DanBoy> but its been like a year since i set it up
<DanBoy> i think i needed to install xcode and what not
bricker`1A has joined #ruby
<havenwood> DanBoy: yeah, with build tools already installed the macports pkg 'just worked', with the one caveat of putting PATH changes in bash_profile when i'm using zsh :P
jamblack has quit [Quit: jamblack]
bricker`1A is now known as bricker`away
ryanRT_ has quit [Quit: Ex-Chat]
bricker`LA has quit [Disconnected by services]
bricker`away is now known as bricker`LA
rickruby has quit [Remote host closed the connection]
<DanBoy> ya and i believe its not very hard to remove macports as well
yfeldblum has joined #ruby
rickruby has joined #ruby
ZenGuy311 has quit [Ping timeout: 246 seconds]
ahawkins has joined #ruby
nucatus has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<DanBoy> does homebrew aim at other OS's besides osx
burgess has quit [Ping timeout: 240 seconds]
<havenwood> nope
ZenGuy311 has joined #ruby
zigomir has joined #ruby
<DanBoy> cuz normally on an osx box its just you on it
yfeldblum has joined #ruby
mansi has quit [Remote host closed the connection]
<havenwood> Single-user OS X is the only trick in its bag.
iliketurtles has joined #ruby
jkhwan has quit [Remote host closed the connection]
mansi has joined #ruby
jkhwan has joined #ruby
petey__ has joined #ruby
<havenwood> They could deescalate privileges and support sudo, but they choose not to as a (somewhat misguided I think) philosophical choice
rickruby has quit [Ping timeout: 245 seconds]
Sl1nksh0t has joined #ruby
<DanBoy> sudo is being used stupidly now a days
<havenwood> But yeah, in the 99% use-case it just doesn't actually matter I suppose.
rickruby has joined #ruby
<DanBoy> people are afraid of a root account i don't know why
<havenwood> Think of the children!
rezzack has quit [Quit: Leaving.]
<DanBoy> sudo is supposed to be configured to allow certain users certain permissions
<DanBoy> not just full access to the system
nucatus has quit [Ping timeout: 245 seconds]
<DanBoy> but thats OSX so i won't ask any questions ;p
petey__ has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Quit: Leaving...]
vlad_starkov has quit [Read error: Connection reset by peer]
jkhwan has quit [Ping timeout: 272 seconds]
<DanBoy> actually less secure to use sudo in the manner its being used with the newer linux distros
petey__ has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<tygator> any one here care to persuade / dissuade me from Dev Bootcamp? My final application interview is tomorrow and I want to talk to some actual dev's to make sure I'm doing the right thing.
<DanBoy> whats dev bootcamp
merica has joined #ruby
duggiefresh has joined #ruby
<tygator> its a 12 week RoR training program in SF
amacgregor has joined #ruby
amacgregor_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
amacgregor__ has quit [Ping timeout: 245 seconds]
dmiller has quit [Quit: Leaving...]
amacgregor has quit [Read error: No route to host]
Methylated has quit [Quit: Leaving.]
<havenwood> tygator: I've heard really good things from two folks who completed Hacker School in Brooklyn. I've never met anyone who did or is doing Dev Bootcamp, so I can't compare.
<sevenseacat> i dont know why you'd pay a lot of money to learn what you can learn for free
<havenwood> tygator: But +1 for being a Ruby dev! :)
<DanBoy> ya
<DanBoy> just read the books
pu22l3r has quit [Remote host closed the connection]
<havenwood> i think there could be a lot of value in learning in an intensive with access to experts, especially for new beginners depending on learning style
<tygator> Right,I'm terrible with just books. I need to be somewhere I can bounce things off of people to figure out a problem.
<havenwood> Hacker School is free though, not 12k. And not one language/stack.
pu22l3r has joined #ruby
<sevenseacat> i also think there's value in trying to figure it out yourself, doing it wrong for a while, then learning why that way is wrong
<havenwood> But you probably need to be further along to start with.
<sevenseacat> rather than just being force fed the 'right way'
<havenwood> tygator: Know much Ruby or Rails at all yet?
<tygator> As of now I've done codecademy Ruby/html/css/js/jQuery and I went through LRTHW
duggiefresh has quit [Ping timeout: 245 seconds]
jonahR has quit [Quit: jonahR]
Seich_ has quit [Quit: Computer has gone to sleep.]
<havenwood> Seems that if you want to build confidence to get a nice job, and need to just get up to speed quickly, just paying and doing an intensive course should get you there pretty quickly in a structured way makes sense.
Seich_ has joined #ruby
<havenwood> Not how i learned, but i'm kinda jealous of working closely with other people learning.
dma_ has joined #ruby
<tygator> havenwood: yeah I'm looking at it not just as a good learning enviroment, but also a foot in the door to a decent job... Hopefully
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<DanBoy> i've just used books my whole life
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> DanBoy: Books and documentation ftw.
<sevenseacat> i've done all self-studying apart from my university degree, which was admittedly more theoretical
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey__ has quit [Ping timeout: 240 seconds]
RORgasm has joined #ruby
OdNairy has joined #ruby
jaimef has quit [Excess Flood]
dma__ has joined #ruby
<DanBoy> i know people who are all self taught, they went back to school for math degrees rather than sit in intro to C classes
dma_ has quit [Read error: Connection reset by peer]
pu22l3r has quit [Ping timeout: 268 seconds]
jaimef has joined #ruby
<tygator> I think I'll learn languages going forward on my own with books and such. but I want to get the basics down in a stuctured env. What kind of jobs do you guys have?
merica has quit []
<DanBoy> whatever learning structure you like just stick with it
<havenwood> tygator: Get hired in an environment where you can pair and learn. Whatever you need to do to get that. Getting paid to learn is a really nice way.
Seich_ has quit [Ping timeout: 268 seconds]
Apane has quit [Ping timeout: 268 seconds]
justsee has quit [Ping timeout: 246 seconds]
<tygator> Agreed
petey__ has joined #ruby
dhruvasagar has quit [Quit: leaving]
brianpWins has joined #ruby
dhruvasagar has joined #ruby
<tygator> Any pearls for someone looking to get in at a jr dev level. Generaly speaking
RORgasm has quit [Ping timeout: 252 seconds]
lukec has quit [Quit: lukec]
tkuchiki has quit [Remote host closed the connection]
dma__ has quit [Ping timeout: 252 seconds]
ahawkins has quit [Ping timeout: 260 seconds]
justinsc has joined #ruby
araujo has joined #ruby
tkuchiki has joined #ruby
Seich_ has joined #ruby
fritzthecat has joined #ruby
tkuchiki has quit [Remote host closed the connection]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
tygator has left #ruby [#ruby]
Deele has joined #ruby
bugsinlights has joined #ruby
Sl1nksh0t has quit [Remote host closed the connection]
tkuchiki has joined #ruby
vlad_starkov has joined #ruby
DanKnox_away is now known as DanKnox
tommyvyo_ has quit [Read error: No route to host]
freezey has quit [Remote host closed the connection]
hiyosi has joined #ruby
tommyvyo_ has joined #ruby
freezey has joined #ruby
ukd1 has quit [Remote host closed the connection]
kiri has quit [Quit: Leaving]
ukd1 has joined #ruby
marcdel has joined #ruby
soba has joined #ruby
petey__ has quit [Ping timeout: 245 seconds]
hiyosi has quit [Ping timeout: 252 seconds]
freezey has quit [Ping timeout: 264 seconds]
dma_ has joined #ruby
marcdel has quit [Client Quit]
ananthakumaran has joined #ruby
krz has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
ukd1 has quit [Ping timeout: 245 seconds]
Guest30095 has quit [Ping timeout: 245 seconds]
dhilipsiva has joined #ruby
kiri has joined #ruby
lethjakman has joined #ruby
dma_ has quit [Ping timeout: 264 seconds]
eeriegeek has quit [Quit: Leaving.]
huttan_ has quit [Read error: Connection reset by peer]
huttan has joined #ruby
mary5030 has quit [Remote host closed the connection]
Jetchisel has joined #ruby
RichardBaker has joined #ruby
zipper has joined #ruby
Astral_ has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
devyn_ has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
ahawkins has joined #ruby
fritzthecat has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
devyn_ has joined #ruby
<DanBoy> havenwood, bit late but you said you use zsh?
nucatus has joined #ruby
<DanBoy> i just wondering why zsh over bash thats all
mun has left #ruby [#ruby]
apeiros has quit [Remote host closed the connection]
<sevenseacat> i use zsh, but im not a power user of either
<sevenseacat> i like its better completions
<DanBoy> ahh ok
Seich_ has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
ahawkins has quit [Ping timeout: 264 seconds]
larissa has quit [Quit: Leaving]
Seich_ has joined #ruby
ezkl has quit [Quit: QUIT!]
nucatus has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby
ezkl has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
osvico has quit [Ping timeout: 260 seconds]
marcdel has joined #ruby
marcdel has quit [Client Quit]
kaspergrubbe has joined #ruby
earthquake has joined #ruby
mary5030 has joined #ruby
gcds has joined #ruby
lethjakm1 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
lethjakman has quit [Ping timeout: 252 seconds]
thesheff17 has quit [Ping timeout: 240 seconds]
fridim_ has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
gcds has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
amritanshu_RnD has quit [Quit: Leaving]
timonv has joined #ruby
wallerdev has joined #ruby
tagrudev has joined #ruby
Hellcat has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
Hellcat is now known as Guest21227
sevenseacat has quit [Ping timeout: 245 seconds]
Guest21227 has quit [Excess Flood]
Guest21227 has joined #ruby
Guest21227 has quit [Excess Flood]
Guest21227 has joined #ruby
vlad_starkov has joined #ruby
Guest21227 is now known as Shellcat
ahawkins has joined #ruby
thepumpkin has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
shadoi has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
mary5030 has quit [Remote host closed the connection]
TheShaun is now known as TheShaun|AFK
thepumpkin has quit [Ping timeout: 246 seconds]
tommyvyo_ has quit [Read error: No route to host]
tommyvyo_ has joined #ruby
hiyosi has joined #ruby
mikeg has quit [Remote host closed the connection]
AlwaysBCoding has quit [Quit: AlwaysBCoding]
wallerdev has quit [Quit: wallerdev]
sevenseacat has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
dma_ has joined #ruby
nfk has joined #ruby
h_kon has joined #ruby
OdNairy has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
dma_ has quit [Ping timeout: 240 seconds]
bluehavana has quit [Read error: Connection reset by peer]
tjad has quit [Ping timeout: 245 seconds]
bluehavana has joined #ruby
lsmola has joined #ruby
ukd1 has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
dangerousdave has joined #ruby
iliketurtles has joined #ruby
simplex_ has joined #ruby
sayan has joined #ruby
bugsinlights has quit [Remote host closed the connection]
simplex_ has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
colonolGron has joined #ruby
kaspergrubbe has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
jpinnix has quit [Ping timeout: 260 seconds]
jpinnix has joined #ruby
nucatus has joined #ruby
vlad_starkov has joined #ruby
justinsc has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
nucatus has quit [Read error: Operation timed out]
d45h has joined #ruby
rickruby has quit [Ping timeout: 246 seconds]
RichardBaker has quit [Quit: RichardBaker]
Priezt has joined #ruby
n4dir has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
tjad has joined #ruby
marcdel has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
dmyers has quit [Quit: dmyers]
WillAmes has quit [Remote host closed the connection]
ahawkins has quit [Read error: Connection reset by peer]
io_syl has quit []
WillAmes has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
Priezt has quit [Quit: Page closed]
rickmasta has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Ping timeout: 240 seconds]
zipper is now known as zipper|away
tommyvyo has quit [Read error: Connection reset by peer]
forced_request has quit [Ping timeout: 240 seconds]
tommyvyo__ has joined #ruby
ayaz has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Loaft has quit []
dickery has joined #ruby
tonni has quit [Ping timeout: 252 seconds]
Alina-malina has joined #ruby
mostlybadfly has quit [Read error: Connection reset by peer]
mostlybadfly has joined #ruby
derebos has joined #ruby
likemike has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
derebos has quit [Client Quit]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
newton has quit [Ping timeout: 252 seconds]
trusktr has joined #ruby
joost_like_toast has joined #ruby
ukd1 has quit [Remote host closed the connection]
zipper|away has quit [Ping timeout: 246 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<likemike> what's the rails chan ?
jkhwan has quit [Remote host closed the connection]
<sevenseacat> #rails or #rubyonrails
jkhwan has joined #ruby
pipecloud has quit [Read error: Connection reset by peer]
pipecloud has joined #ruby
<trusktr> Hey all, I'm trying to install something with bundle install, but it says "failed to build gem native extension".
<joost_like_toast> what os you one?
<joost_like_toast> *on
forced_request has joined #ruby
rickruby has joined #ruby
<trusktr> It's GitLab that I'm trying to install. The specific command I'm trying to run is "sudo gem install charlock_holmes --version '0.6.9.4'
<trusktr> I'm in Arch Linux
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Quit: Leaving]
Seich_ has quit [Ping timeout: 268 seconds]
<joost_like_toast> ah ok not sure gitlab officially supports arch linux... i assume you have installed build-essentials
SteveBenner9 has joined #ruby
newton has joined #ruby
<trusktr> um. there's no package by that name, but I have make.
aganov has joined #ruby
Seich_ has joined #ruby
DanKnox is now known as DanKnox_away
<sevenseacat> who comes up with these gem names, lol... charlock_holmes?
<joost_like_toast> hehe yeah :P
jkhwan has quit [Ping timeout: 272 seconds]
<sevenseacat> https://github.com/brianmario/charlock_holmes#installing maybe you need to specify the ICU directory
<joost_like_toast> not familiar with arch linux but you can try
zipper|away has joined #ruby
awc737 has quit [Ping timeout: 245 seconds]
<joost_like_toast> btw any specific reason you want gitlab on arch linux instead of ubuntu or debian?
Shellcat has quit [Read error: Connection reset by peer]
<trusktr> I'm installing base-devel to be sure.
tommyvyo_ has quit [Read error: Connection reset by peer]
<trusktr> Also, i do see something about ICU in the error message.
tommyvyo has joined #ruby
tommyvyo__ is now known as tommyvyo_
tonni has joined #ruby
<joost_like_toast> dunno the package for that on arch
joost_like_toast has quit [Quit: Computer has gone to sleep.]
maveonair has joined #ruby
ezkl has quit [Ping timeout: 240 seconds]
<trusktr> is that the international components for unicode library?
n4dir has left #ruby [#ruby]
<sevenseacat> that page says yes
<trusktr> sweet. it worked.
<trusktr> it was the icu package.
<sevenseacat> :)
tonni has quit [Ping timeout: 240 seconds]
brennanMKE has joined #ruby
dagobah has joined #ruby
vlad_starkov has joined #ruby
ahawkins has joined #ruby
tonni has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
hiyosi has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
tonni has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
yfeldblum has joined #ruby
cads has joined #ruby
Seventoes has quit [Ping timeout: 260 seconds]
drumusician has joined #ruby
timonv has joined #ruby
nstdloop has quit [Remote host closed the connection]
jbpros has quit [Client Quit]
bluOxigen has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
wildroman has quit [Remote host closed the connection]
dma_ has joined #ruby
wildroman has joined #ruby
Jetchisel has joined #ruby
marcdel has joined #ruby
jbpros has joined #ruby
tonni has joined #ruby
bluOxigen has quit [Remote host closed the connection]
jbpros has quit [Client Quit]
fbernier has quit [Ping timeout: 264 seconds]
dma_ has quit [Ping timeout: 252 seconds]
chuk has joined #ruby
wildroman has quit [Ping timeout: 260 seconds]
brennanMKE has quit [Ping timeout: 245 seconds]
marcdel has quit [Client Quit]
zigomir has quit [Ping timeout: 246 seconds]
vpretzel has quit [Remote host closed the connection]
Seich_ has quit [Ping timeout: 264 seconds]
rickmasta has joined #ruby
vpretzel has joined #ruby
Soda has quit [Read error: Connection reset by peer]
strandberg has joined #ruby
<strandberg> hello
vpretzel has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
pranny has quit [Quit: Leaving.]
vpretzel has joined #ruby
Seich_ has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
zipper|away is now known as urbanslug
brtdv has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
blueOxigen has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
chuk has quit [Quit: Leaving]
dodosan has joined #ruby
tobago has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
fbernier has joined #ruby
chuk has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
Xeago has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
claymore has joined #ruby
tonni has quit [Read error: Connection reset by peer]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
OdNairy has joined #ruby
blueOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
drumusician has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
gasbakid has joined #ruby
nucatus has joined #ruby
noname001 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
vpretzel has joined #ruby
iliketurtles has joined #ruby
carif has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
colonolGron has quit [Quit: Lost terminal]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
zigomir has joined #ruby
dodosan has quit [Remote host closed the connection]
nucatus has quit [Ping timeout: 264 seconds]
maveonai1 has joined #ruby
Seich_ has quit [Ping timeout: 260 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
Hanmac has joined #ruby
tonni has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Seich_ has joined #ruby
maveonair has quit [Ping timeout: 260 seconds]
vpretzel has quit [Remote host closed the connection]
Macaveli has joined #ruby
guns has quit [Quit: guns]
vpretzel has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
pyrac has joined #ruby
Seich_ is now known as Seich
vpretzel has quit [Read error: Connection reset by peer]
andikr has joined #ruby
vpretzel has joined #ruby
lethjakm1 has quit [Ping timeout: 270 seconds]
dhruvasagar has joined #ruby
Seich has quit [Client Quit]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
noop has quit [Ping timeout: 268 seconds]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vpretzel has quit [Read error: Connection reset by peer]
noop has joined #ruby
jbpros has joined #ruby
vpretzel has joined #ruby
brennanMKE has joined #ruby
anderse has joined #ruby
sectionme has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
carif has joined #ruby
fijimunkii has joined #ruby
gasbakid has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
leonidlm has joined #ruby
burgess has joined #ruby
vpretzel has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
vpretzel has quit [Read error: Connection reset by peer]
brennanMKE has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
<Hanmac> havenwood: … omg i think i get &:to_s.(2).length working ;P and it was easier than i thought ;P
t_p has quit [Ping timeout: 264 seconds]
vpretzel has quit [Read error: Connection reset by peer]
earthquake has quit [Quit: earthquake]
ewnd9 has joined #ruby
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
gasbakid has joined #ruby
sergicles has quit [Quit: sergicles]
funburn has quit [Quit: funburn]
brtdv has quit []
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
brtdv has joined #ruby
relix has joined #ruby
tonni has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
vpretzel_ has quit [Remote host closed the connection]
colonolGron has joined #ruby
vpretzel has joined #ruby
RichardBaker has joined #ruby
burgess has quit [Quit: ^zzz]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
aa47f8 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
ehaliewicz has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
gasbakid has quit [Ping timeout: 264 seconds]
vpretzel has quit [Remote host closed the connection]
marr has joined #ruby
<Hanmac> shevy: huhu
vpretzel has joined #ruby
jhaals has joined #ruby
thepumpkin has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
sayan has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
chinychinchin has joined #ruby
vpretzel has joined #ruby
gasbakid has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
vpretzel has quit [Read error: Connection reset by peer]
joonty_ has joined #ruby
vpretzel has joined #ruby
pranny has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
Asher1 has joined #ruby
thepumpkin has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
nvrch has joined #ruby
vpretzel has joined #ruby
tonni has joined #ruby
dhilipsiva has quit [Quit: Leaving...]
Asher has joined #ruby
joonty has quit [Ping timeout: 248 seconds]
alup has joined #ruby
anderse has quit [Quit: anderse]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
dhilipsiva has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
trusktr has quit [Ping timeout: 260 seconds]
vpretzel has joined #ruby
hiyosi has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
vpretzel has quit [Remote host closed the connection]
lemonsparrow has joined #ruby
Vendethi_ has joined #ruby
vpretzel has joined #ruby
DrCode has quit [Remote host closed the connection]
Vendethi_ has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
DrCode has joined #ruby
gcds has joined #ruby
dhilipsiva has quit [Client Quit]
vpretzel has joined #ruby
<gcds> maybe someone knows how to reuse mongrel ragel http parser?
Macaveli_ has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
marcgg has joined #ruby
dma_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
hiyosi has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
Macaveli has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
Macaveli_ has quit [Read error: Connection reset by peer]
ewnd9 has quit [Ping timeout: 246 seconds]
Vendethi_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
TMM has quit [Quit: Ex-Chat]
Vendethi_ has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
TMM has joined #ruby
vpretzel has joined #ruby
Vendethi_ has joined #ruby
tonni has joined #ruby
TMM has quit [Client Quit]
marcgg_ has quit [Ping timeout: 245 seconds]
TMM has joined #ruby
elaptics`away is now known as elaptics
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
dma_ has quit [Ping timeout: 246 seconds]
vpretzel_ has quit [Read error: Connection reset by peer]
dhilipsiva has joined #ruby
joost_like_toast has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
tonni has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
gasbakid has quit [Ping timeout: 240 seconds]
marcgg_ has joined #ruby
vpretzel has quit [Remote host closed the connection]
rellin has quit [Read error: Connection reset by peer]
hp_ has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
silent_root has quit [Quit: leaving]
dhilipsiva has quit [Client Quit]
TMM has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
sergicles has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
marcgg has quit [Ping timeout: 260 seconds]
Vendethi_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
vpretzel has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
hp_ has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
coderhs has quit [Client Quit]
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
urbanslug is now known as urbanslug|away
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
einarj has joined #ruby
Vendethi_ has joined #ruby
Squarepy has joined #ruby
<Hanmac> _br_: hey
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
joonty_ is now known as joonty
leonidlm has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
rellin has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
vpretzel has quit [Remote host closed the connection]
obs has joined #ruby
Vendethi_ has joined #ruby
vpretzel has joined #ruby
barratt has joined #ruby
ghr has joined #ruby
gasbakid has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has quit [Read error: Connection reset by peer]
LarsSmit has joined #ruby
nucatus has joined #ruby
vpretzel has joined #ruby
<shevy> wat
Vendethi_ has joined #ruby
<Hanmac> shevy look what i have done: https://eval.in/private/1803afd344f279
<shevy> hmm
urbanslug|away is now known as urbanslug
tonni has joined #ruby
<shevy> p [1,2,3,4,5].map(&:to_s.(2).size)
<shevy> ack
mansi has joined #ruby
<shevy> what abomination is that
vpretzel has quit [Read error: Connection reset by peer]
sevenseacat has quit [Quit: Leaving.]
vpretzel has joined #ruby
<Hanmac> its &:symbol … chainable ;P
Vendethi_ has quit [Read error: Connection reset by peer]
tonni has quit [Read error: Connection reset by peer]
thecopy has joined #ruby
Vendethi_ has joined #ruby
nucatus has quit [Read error: Operation timed out]
tonni has joined #ruby
jbpros has quit [Quit: jbpros]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
xjiujiu has joined #ruby
Vendethi_ has joined #ruby
xjiujiu has quit [Read error: Connection reset by peer]
<Hanmac> shevy: or are you more scared about the .(2). ? ;P
iliketurtles has quit [Ping timeout: 245 seconds]
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
ephemerian has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
Vendethi_ has quit [Read error: Connection reset by peer]
<gcds> Hmm how I can include gem extension inside my script like I want include mongrel HttpParser inside my script how to require it?
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
<Hanmac> gcds with "require" ?
<Hanmac> or do you want something like bundle?
<gcds> hanmac: require 'puma' doenst work HttpParser in nil
<gcds> is*
<gcds> uninitialized constant HttpParser (NameError)
<gcds> it's not ruby code it's c extension
<shevy> hanmac yes the .(2) is scary
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
blackmesa has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
vpretzel has quit [Remote host closed the connection]
<Hanmac> gcds you need to require the http parser gem/script
ananthakumaran1 has joined #ruby
<Hanmac> shevy: you can do: :to_s.call(2).size if you like that more
<gcds> hanmac: facepalm ... HttpParser is native extension inside Puma gem
<gcds> Mongrel*
Seich has joined #ruby
blaxter_ has joined #ruby
nomenkun has joined #ruby
Vendeth__ has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
funburn has joined #ruby
yojimbo has joined #ruby
newbiehacker has joined #ruby
Vendeth__ has quit [Remote host closed the connection]
Vendethi_ has quit [Remote host closed the connection]
jpinnix has quit [Ping timeout: 245 seconds]
bartj3 has quit [Ping timeout: 245 seconds]
hp_ has joined #ruby
vpretzel has joined #ruby
<gcds> anyone?
Vendethi_ has joined #ruby
brennanMKE has joined #ruby
pyrac has quit [Quit: pyrac]
leonidlm has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
jpinnix has joined #ruby
einarj has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
hp_ has quit [Client Quit]
einarj has joined #ruby
<Hanmac> shevy: but my current problem is that Symbol Helper inherits from Object and not BasicObject , but BasicObject does not work yet for unknown reason: https://eval.in/private/0b8df02101a54c
vpretzel has joined #ruby
TMM has joined #ruby
<Hanmac> gcds: hm did you try Puma::HttpParser or something similar?
amacgregor has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
Seich has quit [Ping timeout: 259 seconds]
<gcds> yeah no luck :/
Vendethi_ has joined #ruby
vpretzel has joined #ruby
bartj3 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
<Hanmac> gcds: hm from the documentation it should be this: http://rubydoc.info/gems/puma/2.6.0/Puma/HttpParser
Vendethi_ has quit [Remote host closed the connection]
vpretzel has joined #ruby
mengu has joined #ruby
yfeldblum has joined #ruby
mengu has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
<gcds> found gem which wraps http11 ragel parser :)
shaunbaker has joined #ruby
pyrac has joined #ruby
mengu has joined #ruby
brennanMKE has quit [Ping timeout: 268 seconds]
brtdv has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
brtdv has joined #ruby
wildroman2 has joined #ruby
ezkl has joined #ruby
vpretzel has quit [Remote host closed the connection]
Vendethi_ has quit [Write error: Broken pipe]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
aa47f8_ has joined #ruby
aa47f8 has quit [Remote host closed the connection]
Advocation has joined #ruby
RORgasm has joined #ruby
maasha has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
workmad3 has joined #ruby
mrsolo has joined #ruby
adambeynon has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
thecopy has quit [Quit: thecopy]
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
jbpros has joined #ruby
<maasha> Hi
RORgasm has quit [Ping timeout: 246 seconds]
Vendethi_ has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
<maasha> I am trying to use simplecov, but from the resulting report it looks like nothing is tested - which is untrue. I suppose it is setup wrong, but I cant figure out what the problem is.
reset has joined #ruby
banisterfiend has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has quit [Remote host closed the connection]
vpretzel has joined #ruby
reset has quit [Client Quit]
Vendethi_ has joined #ruby
reset has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
NutsEverywhere has quit [Quit: Going offline, see ya! (www.adiirc.com)]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
DrCode has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
brunto_ has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
Andrevan has quit [Ping timeout: 252 seconds]
rickruby has quit [Ping timeout: 268 seconds]
elaptics has quit [Ping timeout: 245 seconds]
Vendethi_ has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
vpretzel_ has joined #ruby
Vendethi_ has joined #ruby
Seich has joined #ruby
elaptics has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
brunto has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
zhouxing has joined #ruby
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
Vendethi_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
<Hanmac> shevy okay i get it working with BasicObject … i was confused because BasicObject does not had #nil? ;P
Vendethi_ has joined #ruby
vpretzel has joined #ruby
Seich has quit [Ping timeout: 260 seconds]
vpretzel has quit [Remote host closed the connection]
<Hanmac> workmad3: do you want do see what i have done? i make &:to_s.(2).size possible ;P
classix has quit [Ping timeout: 240 seconds]
lkba has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
DrCode has joined #ruby
classix has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
popl has joined #ruby
popl has joined #ruby
vpretzel has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Vendethi_ has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 272 seconds]
Vendethi_ has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
vpretzel_ has joined #ruby
dma_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
edasawa has joined #ruby
leonidlm has quit [Ping timeout: 268 seconds]
<edasawa> Can somebody help me?
platypine has joined #ruby
platypine has quit [Changing host]
platypine has joined #ruby
Lewix has quit [Remote host closed the connection]
lewis has quit [Remote host closed the connection]
Vendethi_ has quit [Remote host closed the connection]
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<maasha> edasawa: dont ask to ask - ask!
vpretzel has quit [Read error: Connection reset by peer]
Seventoes has joined #ruby
wildroman has joined #ruby
vpretzel has joined #ruby
jbpros has quit [Client Quit]
mrsolo has quit [Quit: This computer has gone to sleep]
vpretzel has quit [Read error: Connection reset by peer]
krz has quit [Ping timeout: 260 seconds]
wildroman has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
vpretzel has joined #ruby
varfoo has quit [Ping timeout: 264 seconds]
wildroman has joined #ruby
TheShaun|AFK is now known as TheShaun
wildroman has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
Andrevan has joined #ruby
dma_ has quit [Ping timeout: 252 seconds]
ewnd9 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
thecopy has joined #ruby
vpretzel has joined #ruby
wildroman has joined #ruby
platypine has quit [Ping timeout: 260 seconds]
avril14th has joined #ruby
krz has joined #ruby
maveonai1 has quit [Ping timeout: 264 seconds]
achru has joined #ruby
vpretzel_ has joined #ruby
maveonair has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
ct529 has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
sputnik13 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Emmanuel_Chanel_ has joined #ruby
zhouxing has quit [Quit: 暂离]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
jonathanwallace2 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 272 seconds]
maveonair has quit [Quit: Lost terminal]
vpretzel has quit [Remote host closed the connection]
Emmanuel_Chanel_ is now known as Emmanuel_Chanel
vpretzel has joined #ruby
sectionme has quit [Ping timeout: 252 seconds]
sparq_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
* maasha kicks simplecov
vpretzel has joined #ruby
varfoo has joined #ruby
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jgoss has joined #ruby
<workmad3> hanmac: yeah, lets see that :D
reset has quit [Quit: Leaving...]
vpretzel has quit [Read error: Connection reset by peer]
leonidlm has joined #ruby
vpretzel has joined #ruby
<Hanmac> workmad3: https://bugs.ruby-lang.org/issues/9076#note-9 look at my SymbolHelper
Vendethi_ has joined #ruby
mr_red has quit [Quit: Bye :)]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
mr_red has joined #ruby
mansi has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
gasbakid has quit [Ping timeout: 252 seconds]
vpretzel_ has joined #ruby
vpretzel has quit [Write error: Connection reset by peer]
clocKwize has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Ping timeout: 245 seconds]
avril14th has quit [Remote host closed the connection]
kaspergrubbe has quit [Read error: Connection reset by peer]
gasbakid has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
vpretzel has joined #ruby
clocKwize has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
<Hanmac> workmad3: first i had it inherit from Object, but i think that would not be nice enough (because of #class and other fun methods)
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Macaveli has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection reset by peer]
Cork has quit [Ping timeout: 272 seconds]
vpretzel has joined #ruby
kaspergrubbe has joined #ruby
<workmad3> hanmac: nice :)
jbpros has quit [Quit: jbpros]
Macaveli has quit [Remote host closed the connection]
lkba has joined #ruby
vpretzel has quit [Write error: Connection reset by peer]
vpretzel has joined #ruby
<workmad3> hanmac: now extend it to allow blocks to be thrown into the chain? ;)
kaspergr_ has joined #ruby
sectionme has joined #ruby
thams has quit [Quit: thams]
vasilakisFiL has joined #ruby
vpretzel_ has joined #ruby
<Hanmac> hm make me sample code, because currently i dont know what would be the best way for that
vpretzel has quit [Read error: Connection reset by peer]
TMM has quit [Read error: Connection reset by peer]
Cork has joined #ruby
TMM has joined #ruby
TMM has joined #ruby
TMM has quit [Changing host]
<vasilakisFiL> hey where should I store oauth tokens? in an enviroment variable or in a file ?
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
vpretzel has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 240 seconds]
brennanMKE has joined #ruby
jgoss has left #ruby [#ruby]
<Hanmac> the best place would be to store them at the place where the sun does not shine ;P
nisstyre has quit [Ping timeout: 245 seconds]
jonathanwallace2 has quit [Ping timeout: 264 seconds]
vpretzel has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
vpretzel_ has joined #ruby
Squarepy has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
Squarepy has joined #ruby
<vasilakisFiL> yeah I know.. I was thinking to create a file with variables oauth_token, oauth_token_secret etc without the tokens, add it in git and then add the tokens in this file and never commit it to git again. Maybe storing them in environment is more secure but it is not very elegant solution
<vasilakisFiL> what do you think ?
vpretzel has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
amacgregor_ has joined #ruby
<workmad3> hanmac: well, I just got it working with '&:any?.(){|i| i.even?}'
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
amacgregor__ has joined #ruby
<Hanmac> … i dont know if its a good idea to commit secret token stuff into git … (when you store them into files inside the project dir, add the files to .gitignore
brennanMKE has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
<Hanmac> workmad3: AH ok but when i do i do it like &:any?.(&:even?) ;D
<workmad3> hanmac: also works :)
amacgregor has quit [Ping timeout: 245 seconds]
<Hanmac> i do it later today in my launch time
vpretzel has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
<workmad3> hanmac: I just had to add &blk to the Symbol#call, SymbolHelper#initialize, SymbolHelper#method_missing
<workmad3> hanmac: and then pass it through in the .new calls and in the public_send
urbanslug is now known as i_jizz_in_my_soc
<Hanmac> yeah and **kargs too
<workmad3> oh, and stored it in @blk in the initialize :)
vpretzel has quit [Read error: Connection reset by peer]
<workmad3> vasilakisFiL: environment is a nice place
vpretzel has joined #ruby
<workmad3> vasilakisFiL: so is storing them in a file on the production server and copying into place as part of your capistrano deploy
Aryasam has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
<workmad3> vasilakisFiL: having them in a file that has a stub that you intend to never commit to git again... not so much... it's way too easy to accidentally commit it :)
i_jizz_in_my_soc has quit [Quit: leaving]
<workmad3> vasilakisFiL: the more common practice is to have a keys.whatever.sample file that contains a stub, and your real keys are in keys.whatever that is .gitignored and never goes into the repo
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
h_kon has quit [Remote host closed the connection]
vpretzel_ has quit [Remote host closed the connection]
vpretzel has joined #ruby
<vasilakisFiL> hmmm ok
<vasilakisFiL> thanks!
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
shanlar- has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
<Hanmac> workmad3: i added blk https://bugs.ruby-lang.org/issues/9076#note-9 … but keyargs dont want to work yet, i need to test later
vpretzel_ has quit [Read error: Connection reset by peer]
shanlar has quit [Ping timeout: 264 seconds]
vpretzel has joined #ruby
nari has quit [Ping timeout: 245 seconds]
zipper has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
thepumpkin has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
zipper has quit [Read error: Connection reset by peer]
ct529 has quit [Ping timeout: 240 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
skaflem has joined #ruby
ldnunes has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
eregon has quit [Quit: No Ping reply in 180 seconds.]
zipper has joined #ruby
eregon_ has joined #ruby
iliketurtles has joined #ruby
hogeo has joined #ruby
Seich has joined #ruby
thepumpkin has quit [Ping timeout: 245 seconds]
nvrch has quit [Read error: Operation timed out]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
tjad is now known as tjadc
tjadc has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tjad has joined #ruby
nvrch has joined #ruby
tjad is now known as tjadc
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
vpretzel has quit [Remote host closed the connection]
xk_id has joined #ruby
r060 has joined #ruby
hiyosi has joined #ruby
vpretzel has joined #ruby
r060 is now known as r0b0
Seich has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
d45h has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
vpretzel has joined #ruby
imadalin_ has joined #ruby
nerium has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
dma_ has joined #ruby
h_kon has joined #ruby
mengu has quit [Remote host closed the connection]
<Hanmac> banisterfiend: what do you think about &:any?.(&:even?) ;P
Azulinho has joined #ruby
sayan has joined #ruby
vpretzel_ has quit [Remote host closed the connection]
thecopy has quit [Quit: thecopy]
vpretzel has joined #ruby
bassclef has joined #ruby
bassclef is now known as Guest91816
vpretzel has quit [Read error: Connection reset by peer]
wildroman2 has quit [Ping timeout: 260 seconds]
vpretzel has joined #ruby
d45h has joined #ruby
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
dma_ has quit [Ping timeout: 246 seconds]
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
zipper has quit [Quit: leaving]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
ewnd9 has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
lyanchih has joined #ruby
leonidlm has quit [Ping timeout: 245 seconds]
vpretzel has quit [Remote host closed the connection]
graydot has joined #ruby
pranny has quit [Remote host closed the connection]
vpretzel has joined #ruby
vpretzel has quit [Remote host closed the connection]
AndChat- has joined #ruby
vpretzel has joined #ruby
hogeo has quit [Remote host closed the connection]
<maasha> Is there a ruby license-adder that will add some license to relevant source files for you?
vpretzel has quit [Remote host closed the connection]
reset has joined #ruby
pranny has joined #ruby
vpretzel has joined #ruby
pranny1 has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
<maasha> There is this thing: https://code.google.com/p/license-adder/ but I was hoping for something more ruby centric that could be put in a Rakefile
hogeo has joined #ruby
vpretzel has quit [Remote host closed the connection]
<maasha> Hm, there is a gem called copyright-header
vpretzel has joined #ruby
Vendethi_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
pranny has quit [Ping timeout: 246 seconds]
vpretzel has joined #ruby
Hanmac has quit [Quit: Leaving.]
Vendethi_ has quit [Read error: Connection reset by peer]
nucatus has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
mansi has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
jamblack has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
iliketurtles has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
justsee has quit [Ping timeout: 268 seconds]
nucatus has quit [Ping timeout: 260 seconds]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
leonidlm has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
simplex_ has joined #ruby
Vendethi_ has joined #ruby
vpretzel has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
derebos has joined #ruby
vpretzel has joined #ruby
dancinllama has quit [Ping timeout: 243 seconds]
Vendethi_ has quit [Write error: Connection reset by peer]
dancinllama_ has joined #ruby
bricker`LA has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
kitak__ has quit [Remote host closed the connection]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
relix has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: Computer has gone to sleep.]
nari has joined #ruby
basmoura has joined #ruby
vpretzel has joined #ruby
brennanMKE has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
thecopy has joined #ruby
r0b0 has quit []
vpretzel has quit [Read error: Connection reset by peer]
itissid has joined #ruby
pyrac has quit [Quit: pyrac]
vpretzel has joined #ruby
dflurker has quit [Remote host closed the connection]
Stygia has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
ItSANgo_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
ismlages has joined #ruby
thecopy has quit [Client Quit]
ahawkins has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
banisterfiend has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
<bnagy> maasha: I just use sed
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
vpretzel has joined #ruby
camilasan has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
camilasan has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Ben_Dobell has joined #ruby
Ben_Dobell has quit [Client Quit]
Vendethi_ has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection reset by peer]
Ben_Dobell has joined #ruby
RORgasm has quit [Ping timeout: 252 seconds]
<Hanmac> maasha: depends how you want to use copyright, add it for each script file or as a single COPYRIGHT file?
Aryasam has quit [Ping timeout: 264 seconds]
vpretzel has joined #ruby
niklasb_ has joined #ruby
Azulinho has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby
fijimunkii has quit [Ping timeout: 260 seconds]
<Ben_Dobell> I'm going a bit insane at the moment trying to work out how to reliably call bundler i.e. "bundle exec <blah>" within a shell (bash) script. The problem is "bundle" is not a command. Which is presumably because the ruby environment isn't setup in the script. I'm using chruby and have chruby (and auto chruby's ruby selection) in my .bashrc. Does anyone have any idea what is going on?
fijimunkii has joined #ruby
<bnagy> hanmac: .(2)??
<Hanmac> Ben_Dobell: did you try #bundler ?
vpretzel has quit [Read error: Connection reset by peer]
<bnagy> that is barfy, imho
vpretzel has joined #ruby
<Hanmac> bnagy yeah its .call(2) … do you have a better yeah without adding new syntax? ;P
<Ben_Dobell> hanmac: It's not a bundler issue specifically, because other ruby binaries aren't in my PATH. I'll try chruby though.
<bnagy> I would be happy with just [1,2,3].map &:to_s, 2
<bnagy> chainable is just shooting for the moon / writing a different language :P
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
justsee has joined #ruby
<Hanmac> bnagy, hm ok i dont think that would work because &:to_s, 2 then the 2 is not connected to the proc or to the symbol (and #map need to support that)
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Ben_Dobell has left #ruby [#ruby]
simplex_ has quit [Quit: simplex_]
<Hanmac> bnagy: yeah the ticket maker used &.sym in Crystal http://crystal-lang.org/2013/09/15/to-proc.html which is similar to ruby … i try to get it working in ruby without needing new syntax
fijimunkii has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
edasawa has quit [Ping timeout: 245 seconds]
vpretzel has quit [Remote host closed the connection]
<bnagy> well it's a cool hack.. but I could never get behind that syntactic construction :/
psyl0n has joined #ruby
vpretzel has joined #ruby
Seich has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
thecopy has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
zipper has joined #ruby
iliketurtles has joined #ruby
fijimunkii has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
MrZYX|off is now known as MrZYX
thomasxie has quit [Ping timeout: 246 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
AlwaysBCoding has joined #ruby
MrZYX is now known as MrZYX|off
vx9r has quit [Ping timeout: 260 seconds]
vpretzel has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
codenapper has joined #ruby
vpretzel has joined #ruby
leonidlm has quit [Ping timeout: 246 seconds]
<clocKwize> busy here today..
Vendethi_ has quit [Read error: Connection reset by peer]
Seich has quit [Ping timeout: 268 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
relix has joined #ruby
gasbakid_ has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
pranny1 has quit [Quit: Leaving.]
vpretzel has joined #ruby
eka has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
dma_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
gasbakid has quit [Ping timeout: 252 seconds]
vpretzel has joined #ruby
ixti has quit [Ping timeout: 268 seconds]
thyagobr has joined #ruby
vpretzel has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
<Hanmac> clocKwize: if you want some fun you can look at https://bugs.ruby-lang.org/issues/9076#note-9
vpretzel has joined #ruby
vx9r has joined #ruby
dzan has quit [Read error: No route to host]
gasbakid_ has quit [Ping timeout: 240 seconds]
Vendethi_ has quit [Remote host closed the connection]
dzan has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
Azulinho has joined #ruby
vpretzel_ has joined #ruby
ahawkins has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
dzan has quit [Remote host closed the connection]
vpretzel has joined #ruby
<clocKwize> hanmac: yes I'd like that feature, it'd be handy.. its very annoying having to use a block when you can see a way to make it work without that isn't supporte
dma_ has quit [Ping timeout: 268 seconds]
dzan has joined #ruby
vpretzel has quit [Remote host closed the connection]
banisterfiend has quit [Quit: Computer has gone to sleep.]
vpretzel has joined #ruby
<clocKwize> I'd also like [1,2,3].map(&other_object.method) instead of [1, 2, 3].map { |x| other_object.method(x) }
<Hanmac> did you see the samples of my work like map(&any?.(&:even?)) ;P
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
leonidlm has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
mansi has joined #ruby
vpretzel_ has joined #ruby
pyrac has joined #ruby
Vendethi_ has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
maasha has quit [Ping timeout: 250 seconds]
<clocKwize> hanmac: yeah, but as commented, its extra slow down for pretty syntax :(
Vendethi_ has quit [Remote host closed the connection]
<Hanmac> hm yeah … but written in C it may be faster
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
<clocKwize> true
banisterfiend has joined #ruby
<clocKwize> powerful I admit :)
<clocKwize> love how extensible ruby is
d45h has quit [Ping timeout: 246 seconds]
lyanchih has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
vpretzel has joined #ruby
Vendethi_ has joined #ruby
mansi has joined #ruby
dyyylan has joined #ruby
dma_ has joined #ruby
danshult_ has joined #ruby
vpretzel has quit [Remote host closed the connection]
dyyylan has quit [Client Quit]
jonathanwallace2 has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
blackmes1 has joined #ruby
blackmesa has quit [Remote host closed the connection]
<matti> ;]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<zipper> Is ruby 2.0 code backwards compatible?
jcromartie has joined #ruby
Vendethi_ has joined #ruby
d45h has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
bastienl__ has joined #ruby
Vendethi_ has quit [Read error: Connection reset by peer]
<bastienl__> hello
mansi has quit [Ping timeout: 245 seconds]
mercwithamouth has joined #ruby
vpretzel has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
<bastienl__> I am trying to install Rails on Arch Linux
<bastienl__> I get this error when running bundle install: Errno::ENOENT: No such file or directory - /usr/lib/ruby/gems/2.0.0/build_info/i18n-0.6.1.info
vpretzel has quit [Read error: Connection reset by peer]
<bastienl__> the build_info directory doesn't exist at all
danshult_ has quit [Ping timeout: 268 seconds]
dma_ has quit [Ping timeout: 268 seconds]
<bastienl__> does anybody know how this happened?
vpretzel has joined #ruby
vlad_starkov has joined #ruby
<andrewvos> Maybe you need sudo or something
<bastienl__> I tried installing with gem install and pacgem
iliketurtles has quit [Ping timeout: 246 seconds]
<andrewvos> How have you installed ruby?
<bastienl__> yeah I installed with the package manager
<andrewvos> Oh
<bastienl__> Ruby*
<bastienl__> that's the problem?
<andrewvos> Well that sucks for you, as far as I know
vpretzel has quit [Remote host closed the connection]
dickery has left #ruby [#ruby]
<andrewvos> You need sudo I guess
<andrewvos> But I don't know if bundler works with sudo
<andrewvos> Maybe it does
vpretzel has joined #ruby
<bastienl__> why do I need sudo?
<zipper> never heard of "bundler"
<andrewvos> bastienl__: Actually on closer inspection you shouldn't need sudo
bamdad has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
<clocKwize> I tend not to use packages to install ruby, they all seem to have problems of some sort (missing ssl support, etc..)..
soba_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
<bastienl__> do you use gem install?
DrCode has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
<clocKwize> not to install ruby
Hanmac has quit [Quit: Leaving.]
vpretzel has quit [Remote host closed the connection]
soba has quit [Ping timeout: 268 seconds]
Kneferilis has joined #ruby
vpretzel has joined #ruby
<workmad3> bastienl__: try doing 'export GEM_HOME=$HOME/.gems/ruby/2.0.0
<bastienl__> where should the build_info come from anyway? Should it come with the gem?
<bastienl__> build_info directory*
Hanmac has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
<workmad3> bastienl__: it's where gem build info goes
thecopy has quit [Quit: thecopy]
vpretzel has joined #ruby
thecopy has joined #ruby
Vendethi_ has joined #ruby
<workmad3> bastienl__: so it gets managed by rubygems... but it looks like your bundle install is trying to use the system gem repo as your GEM_HOME (which would require sudo to install) rather than a user repo
<bastienl__> that seems to work
<bastienl__> thanks a lot!
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
<workmad3> it looks like the arch linux ruby package is reasonably sane btw :)
udoprog has quit [Ping timeout: 245 seconds]
Vendethi_ has quit [Read error: Connection reset by peer]
relix has joined #ruby
joshua_Bishop has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
joshua_Bishop has left #ruby [#ruby]
<workmad3> bastienl__: https://wiki.archlinux.org/index.php/ruby <-- found that btw, it also has some stuff you may need to consider with you $PATH
<workmad3> *your
vpretzel has joined #ruby
tvw has joined #ruby
ct529 has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: Computer has gone to sleep.]
vpretzel has joined #ruby
brennanMKE has joined #ruby
zz_michael_mbp is now known as michael_mbp
D4T has joined #ruby
vlad_sta_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
AlwaysBCoding has quit [Quit: AlwaysBCoding]
vpretzel_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vpretzel_ has quit [Read error: Connection reset by peer]
artm has joined #ruby
<gcds> is webrick proxy server good for production use?
vpretzel has joined #ruby
<artm> is capistrano 3's DSL documented anywhere?
joost_like_toast has quit [Ping timeout: 268 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
drumusician has quit [Ping timeout: 246 seconds]
vpretzel has quit [Read error: Connection reset by peer]
<heftig> gcds: no, it's a slow server just for development
vpretzel has joined #ruby
<gcds> Hmm, I need something for production :(
CreativeEmbassy has joined #ruby
Guest87056 has quit [Ping timeout: 246 seconds]
reset has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
<heftig> gcds: nginx as web server + unicorn as app server?
vpretzel_ has joined #ruby
<gcds> heftig: I am making http proxy server :(
Vendethi_ has joined #ruby
<gcds> which modifies stream
vpretzel_ has quit [Read error: Connection reset by peer]
raar has joined #ruby
<Hanmac> heftig: did you already lol'd about this? https://bugs.ruby-lang.org/issues/9076#note-9
raar is now known as Guest22459
Vendethi_ has quit [Read error: Connection reset by peer]
Vendethi_ has joined #ruby
DrCode has joined #ruby
vpretzel has joined #ruby
relix has joined #ruby
pothibo has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 245 seconds]
_reset has joined #ruby
vpretzel has joined #ruby
pranny has joined #ruby
<gcds> Is ruby good for high demand proxy server?
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gcds> with filtering options ?
vpretzel has quit [Remote host closed the connection]
jamblack has quit [Quit: jamblack]
leonidlm has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
jamblack has joined #ruby
<heftig> hanmac: looks painful
relix has quit [Client Quit]
vpretzel has quit [Read error: Connection reset by peer]
<Hanmac> maybe but its also funy ;P
vpretzel has joined #ruby
DrCode has quit [Excess Flood]
<bnagy> gcds: the reason you'd do it in ruby would be for the expressiveness of the filtering / modification plugins, not speed
ct529 has quit [Remote host closed the connection]
<gcds> bnagy: I need to filter some html and cookies to requests
<bnagy> but for http you don't really need much performance, unless you want to sit in at the wire somewhere
vpretzel has quit [Read error: Connection reset by peer]
<gcds> bnagy: thinking about ~100 users
<bnagy> for a fiddling proxy on a single client connection it would be fiiiine
vpretzel has joined #ruby
<bnagy> users don't matter, it's the total bandwidth
jkamenik has joined #ruby
basmoura has quit [Ping timeout: 245 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gcds> bnagy: the first thing proxy will do all authentication on external server then return cookie less responses and save them on eg redis
<gcds> but also will download huge files through it :D
DrCode has joined #ruby
thepumpkin has joined #ruby
kil0byte has joined #ruby
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
thyagobr has quit [Ping timeout: 245 seconds]
_reset has quit [Ping timeout: 264 seconds]
funburn has quit [Quit: funburn]
vlad_sta_ has quit [Remote host closed the connection]
<bnagy> again, it's not the size, it's the throughput
<heftig> uh, what?
<heftig> it filters out cookies?
relix has joined #ruby
<bnagy> but I would be amazed if even MRI couldn't keep up unless your filters are insane
vpretzel_ has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
vpretzel has joined #ruby
<Hanmac> it eats the cookies like the blue thing from the Sesame-Street ;P
bamdad has quit [Quit: bamdad]
fixl has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
<heftig> messing with the cookies will play merry hell with javascript depending on them
vlad_starkov has joined #ruby
bamdad has joined #ruby
vpretzel has quit [Remote host closed the connection]
thepumpkin has quit [Ping timeout: 240 seconds]
basmoura has joined #ruby
vpretzel has joined #ruby
Seich has joined #ruby
bamdad has quit [Client Quit]
vlad_starkov has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection reset by peer]
bamdad has joined #ruby
vpretzel has joined #ruby
ahawkins_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
soba has joined #ruby
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
bamdad has quit [Client Quit]
vpretzel has joined #ruby
ahawkins has quit [Ping timeout: 260 seconds]
Kneferilis has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
bamdad has joined #ruby
Kneferilis has joined #ruby
vpretzel has quit [Remote host closed the connection]
TheShaun is now known as TheShaun|AFK
vpretzel has joined #ruby
Seich has quit [Ping timeout: 264 seconds]
bamdad has quit [Client Quit]
JesseH has joined #ruby
soba_ has quit [Ping timeout: 264 seconds]
vpretzel has quit [Remote host closed the connection]
keen__ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
bamdad has joined #ruby
mark_locklear has joined #ruby
kil0byte has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
keen__ has joined #ruby
vpretzel has joined #ruby
ct529 has joined #ruby
bamdad has quit [Client Quit]
hiyosi has quit [Ping timeout: 240 seconds]
bamdad has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
OdNairy has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
jamblack has quit [Quit: jamblack]
vpretzel has joined #ruby
bamdad has quit [Client Quit]
vpretzel_ has quit [Read error: Connection reset by peer]
jalcine has quit [Excess Flood]
vpretzel has quit [Read error: Connection reset by peer]
bamdad has joined #ruby
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
bamdad has quit [Client Quit]
nerium has quit [Quit: nerium]
vpretzel_ has quit [Read error: Connection reset by peer]
pyrac has quit [Quit: pyrac]
vpretzel has joined #ruby
pranny has quit [Quit: Leaving.]
bamdad has joined #ruby
nerium has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
bamdad has quit [Client Quit]
xk_id has quit [Quit:
AndChat| has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
bamdad has joined #ruby
shredding has joined #ruby
vpretzel has joined #ruby
Jan_ is now known as DefV
Bira has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
OdNairy has quit [Ping timeout: 240 seconds]
vpretzel has joined #ruby
bamdad has quit [Client Quit]
ffranz has joined #ruby
bamdad has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
bastienl` has joined #ruby
shredding_ has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
bamdad has quit [Client Quit]
vpretzel has joined #ruby
yalue has joined #ruby
shredding has quit [Ping timeout: 260 seconds]
shredding_ is now known as shredding
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
bamdad has joined #ruby
bricker`LA has joined #ruby
breakingthings has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
maycon has joined #ruby
maycon has quit [Changing host]
maycon has joined #ruby
vpretzel has joined #ruby
banisterfiend has joined #ruby
mercwithamouth has joined #ruby
OdNairy has joined #ruby
soba has quit [Ping timeout: 264 seconds]
bamdad has quit [Client Quit]
bastienl__ has quit [Ping timeout: 245 seconds]
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
bamdad has joined #ruby
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
Azulinho has quit [Ping timeout: 268 seconds]
bamdad has quit [Client Quit]
zipper is now known as mental_flatulenc
blackmes1 has quit [Quit: WeeChat 0.4.2]
mental_flatulenc is now known as mentalFlatulence
bricker`LA has quit [Ping timeout: 245 seconds]
bamdad has joined #ruby
vpretzel_ has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
nucatus has joined #ruby
flops has joined #ruby
sectionme has quit [Ping timeout: 264 seconds]
vpretzel_ has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
iliketurtles has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
bamdad has quit [Client Quit]
jxf has joined #ruby
fijimunkii has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
drumusician has joined #ruby
bamdad has joined #ruby
vpretzel has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
Vendethi_ has joined #ruby
timonv has joined #ruby
Apane has joined #ruby
bamdad has quit [Client Quit]
Vendethi_ has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
fritzthecat has joined #ruby
nucatus has quit [Ping timeout: 268 seconds]
Apane has quit [Client Quit]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bamdad has joined #ruby
fritzthecat has quit [Client Quit]
OdNairy has joined #ruby
vt102 has quit [Remote host closed the connection]
jonathanwallace2 has quit [Ping timeout: 240 seconds]
drumusician has quit [Remote host closed the connection]
bamdad has quit [Client Quit]
madb055 has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
Vendethi_ has joined #ruby
fritzthecat has joined #ruby
fritzthecat has quit [Client Quit]
timonv has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
jalcine has joined #ruby
ravster has joined #ruby
Vendethi_ has quit [Read error: No route to host]
sevenseacat has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
timonv has joined #ruby
drumusician has joined #ruby
psyl0n has quit [Quit: psyl0n]
brennanMKE has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
arietis has joined #ruby
psyl0n has joined #ruby
mrfoto has joined #ruby
obs has quit [Ping timeout: 246 seconds]
phuh has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
<phuh> guys, i'm serious. checkout out Julia (julialang.org) this will replace Ruby!
vlad_starkov has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 240 seconds]
RORgasm has joined #ruby
banisterfiend has joined #ruby
shaunbak_ has joined #ruby
ewnd9 has joined #ruby
mephux has quit [Ping timeout: 245 seconds]
Aryasam has joined #ruby
xk_id has joined #ruby
jkamenik has quit [Quit: Leaving.]
mansi has joined #ruby
mephux has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
ct529 has quit [Remote host closed the connection]
stringoO has joined #ruby
RORgasm has quit [Ping timeout: 268 seconds]
shredding has quit [Ping timeout: 240 seconds]
shaunbaker has quit [Ping timeout: 260 seconds]
stringoO has quit [Client Quit]
mark_locklear has quit [Quit: Leaving]
reset has joined #ruby
shredding has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simplex_ has joined #ruby
relix has joined #ruby
polaco_zZz is now known as polaco
IceDragon has quit [Ping timeout: 268 seconds]
IcyDragon has joined #ruby
<Hanmac> phuh: i dont think so that julia can touch ruby
sectionme has joined #ruby
vlad_starkov has joined #ruby
tkuchiki has quit [Remote host closed the connection]
reset has quit [Ping timeout: 240 seconds]
falood has quit [Remote host closed the connection]
danshultz has joined #ruby
tkuchiki has joined #ruby
kaldrenon has joined #ruby
m8 has joined #ruby
platzhirsch has quit [Quit: Leaving.]
CreativeEmbassy has joined #ruby
Aryasam has quit [Ping timeout: 252 seconds]
allaire has joined #ruby
iliketurtles has joined #ruby
Advocation has quit [Quit: Advocation]
cody-- has joined #ruby
sectionme has quit [Ping timeout: 245 seconds]
Advocation has joined #ruby
Advocation has quit [Client Quit]
Seich has joined #ruby
tkuchiki has quit [Ping timeout: 268 seconds]
g0bl1n has joined #ruby
Azulinho has joined #ruby
g0bl1n_ has joined #ruby
hashpuppy has joined #ruby
danshultz has quit []
Seich has quit [Read error: Connection reset by peer]
Seich has joined #ruby
ixti has joined #ruby
mengu has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 252 seconds]
thesheff17 has joined #ruby
vlad_sta_ has joined #ruby
buscon has joined #ruby
Seich has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
cwarner has joined #ruby
stunthamster has joined #ruby
ravster has quit [Quit: Leaving.]
jerius has joined #ruby
NutsEverywhere has joined #ruby
RaCx_ has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
nipnop has joined #ruby
bpgoldsb has quit [Ping timeout: 246 seconds]
RaCx has quit [Ping timeout: 252 seconds]
RaCx_ is now known as RaCx
bastienl` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
NutsEverywhere has quit [Client Quit]
bluenemo has quit [Remote host closed the connection]
bpgoldsb has joined #ruby
ohcibi_ has joined #ruby
NutsEverywhere has joined #ruby
<_br_> phuh: The last time I heared that was with IO.
snappy has quit [Read error: Connection reset by peer]
nipnop is now known as snappy
snappy has quit [Changing host]
snappy has joined #ruby
ohcibi has quit [Ping timeout: 246 seconds]
Sammael has quit [Ping timeout: 246 seconds]
Olipro has quit [Ping timeout: 246 seconds]
lele has quit [Ping timeout: 246 seconds]
<phuh> _br_: what's IO?
ohcibi_ is now known as ohcibi
<phuh> hanmac: why not?
nvrch_ has joined #ruby
byprdct has joined #ruby
gcds_ has joined #ruby
<sevenseacat> ugly syntax
cpruitt has joined #ruby
<sevenseacat> though ive seen a lot worse
nvrch has quit [Ping timeout: 264 seconds]
nvrch_ is now known as nvrch
lele has joined #ruby
jonathanwallace2 has joined #ruby
sectionme has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
Uranio has joined #ruby
Olipro has joined #ruby
deception has joined #ruby
dangerousdave has quit [Ping timeout: 245 seconds]
Aryasam has joined #ruby
Advocation has joined #ruby
jbpros has joined #ruby
sevenseacat has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 245 seconds]
<Hanmac> phuh for sample julia does not have encoding … or enumerators and most of the stuff does not fit into the ruby mentality
fijimunkii has joined #ruby
h_kon has quit [Remote host closed the connection]
larissa has joined #ruby
devoldmx has joined #ruby
<phuh> Seventoes hanmac yeah i must agree it's more like python than ruby
lstefani has joined #ruby
<Hanmac> phuhother samples: julia does not support singleton methods for objects, (that means you may cant use extend) other things are bad so that only true and false are allowed in if that prevents you from using str.upcase! ? "changed" : "not changed"
<phuh> but it's worth noting their performance, numerical computing features, and syntactic sugar and core lib design borrowed from existing popular languages.
byprdct has quit [Ping timeout: 245 seconds]
Aryasam has quit [Ping timeout: 268 seconds]
mikee has quit [Ping timeout: 246 seconds]
_maes_ has joined #ruby
<_br_> I wonder what makes or breaks certain languages. Why do they at some point take off or die down into obscurity.
Soda has joined #ruby
<phuh> _br_: never seen this before. but this doesn't seem to have a great selling point compared to julia to consider switching to new language
<Hanmac> phuh no key arguments as far as i see
<_br_> phuh: Oh, IO has alot of interesting features.
mikee has joined #ruby
Aryasam has joined #ruby
starchild_ has joined #ruby
<waxjar> isn't julia a niche language like R and matlab?
<_br_> yep
<havenwood> _br_: cargo culting prolly largely responsible
Bira has quit [Remote host closed the connection]
thesheff17 has quit [Read error: Connection reset by peer]
<havenwood> _br_: for the swings, they don't seem to be based in rationality
<_br_> waxjar: Though matlab is at least in tiobe (if that means something)
vpretzel has left #ruby ["Adios!"]
vpretzel has joined #ruby
nucatus has joined #ruby
<_br_> havenwood: Cargo cult, yeah probably, but doesn't it make more impact if a large corporation is pushing it or not?
<Hanmac> _br_ R is Rank 21th
iliketurtles has quit [Ping timeout: 245 seconds]
<phuh> _br_: waxjar: i think right now they just focused and marketted in that position but the language offers much more than that as far as i learned from their docs
<havenwood> _br_: Tiobe is the most insane of the rankings. Really, really bad imho. Looking at stuff like counting number of Google results with pathetic attempts to normalize for false positives.
<_br_> havenwood: They are all bad. Just trust the statistic you forged yourself.
<havenwood> _br_: I'd trust RedMonk over Tiobe by a large degree, at least it is measuring *something* related to the language: http://redmonk.com/sogrady/2013/02/28/language-rankings-1-13/
<Hanmac> _br_ the problem is that for each stuff i do for ruby i only increase the C++ section ;P …
yfeldblum has quit [Remote host closed the connection]
<phuh> it may be missing some things hanmac pointed out but considering it's only 1.5 yr old language it does a pretty good job already offerig good parts from other languages
<_br_> havenwood: Yeah, its another interesting one
ephemerian has quit [Quit: Leaving.]
<havenwood> If a bunch of 'PHP sucks and isn't useable!' posts go up, PHP just got more popular accd to Tiobe.
freezey has joined #ruby
<_br_> hanmac: hehe C++11 ? :)
yfeldblum has joined #ruby
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
<Hanmac> _br_ for some things yes (because one gem has an optional require for a c++11 lib)
<_br_> php is everywhere.. though to be fair the php parser is insane.
SirFunk has quit [Quit: ZNC - http://znc.in]
<havenwood> Matlab and R are particularly high for number of SO questions, not quite so high on Github projects.
<phuh> havenwood: interesting
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Client Quit]
maasha has joined #ruby
nucatus has quit [Ping timeout: 268 seconds]
cody-- has quit [Quit: derp]
<_br_> havenwood: I worked alot with R, S-Plus, SPSS, OCaml. In certain circles its quite popular, but very statistics heavy hence maybe the increased discussion on SO
<maasha> hey, this boilerplate stuff in the top of python files - what can it do? how was it made? https://gist.github.com/maasha/a42bf5e5c740bf3756bb
<maasha> it it useful - and is there a ruby way?
nateberkopec has joined #ruby
<_br_> assigning global variables? oh yeah, its very useful.
<maasha> I have been looking at the copyright-header gem but it has way too many dependencies
<maasha> _br_ it looks like info inserted programatically at releases.
drag00n has joined #ruby
<Hanmac> maasha? let me guess: the copyright-header gem requires bundler and rails? ;P
devoldmx has quit [Ping timeout: 245 seconds]
<_br_> yeah I guess some build systems do that for you
<_br_> coming back to our initial discussion though, I guess Rails was one of the important milestones for Ruby?
basmoura has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
<Hanmac> _br_ yes … it shows many new ones how to "not" write code ;P
<_br_> hehe, namespace pollution to the MAX!
<maasha> hanmac: no, actually not
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
wallerdev has joined #ruby
larissa has quit [Quit: Leaving]
mengu has joined #ruby
<maasha> hanmac: but libicu-devel and that was a bitch to get in my dysfunctional mac.
tomzx_mac has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
phuh has left #ruby [#ruby]
carif has quit [Quit: Ex-Chat]
cpruitt has joined #ruby
nucatus has joined #ruby
obs has joined #ruby
* Hanmac point and laugh about all operating systems without package management system
<_br_> doesn't rails have now, #forty_two even?
carif has joined #ruby
gcds_ has quit [Quit: gcds_]
brennanMKE has joined #ruby
tjaco has joined #ruby
dmyers has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<_br_> ah DHH, always predictable in terms of Namespace pollution :)
gcds_ has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
<krz> err
sambao21 has joined #ruby
<krz> whats the opposite of include Module?
<krz> brain clusterfucked right now
brennanMKE has quit [Ping timeout: 245 seconds]
lukec has joined #ruby
JRizzle has joined #ruby
<Hanmac> krz: you can extend or prepend a module too, but i think you are looking for inheriting a class
<krz> ty
interactionjaxsn has joined #ruby
obs has quit [Quit: ChatZilla 0.9.87 [Iceape 2.7.12/20130119095535]]
diegoviola has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
SirFunk has joined #ruby
yfeldblum has quit [Remote host closed the connection]
SirFunk has quit [Client Quit]
<_br_> hanmac: haha awesome
ewnd9 has quit [Ping timeout: 245 seconds]
freezey has quit [Remote host closed the connection]
gcds_ has quit [Quit: gcds_]
freezey has joined #ruby
SirFunk has joined #ruby
freezey has quit [Read error: Connection reset by peer]
freezey_ has joined #ruby
reset has joined #ruby
vpretzel has quit [Quit: Adios!]
joonty has quit [Read error: Connection reset by peer]
jcromart_ has joined #ruby
maycon has quit [Ping timeout: 268 seconds]
simplex_ has quit [Quit: simplex_]
colonolGron has quit [Ping timeout: 268 seconds]
vt102 has joined #ruby
io_syl has joined #ruby
duggiefresh has joined #ruby
xk_id has quit [Quit:
byprdct has joined #ruby
tkuchiki has joined #ruby
ravster has joined #ruby
Aryasam has quit [Ping timeout: 268 seconds]
vpretzel has joined #ruby
joonty has joined #ruby
Aryasam has joined #ruby
SirFunk has quit [Remote host closed the connection]
thepumpkin has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
shaunbak_ has quit [Remote host closed the connection]
reset has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
shaunbaker has joined #ruby
ph8 has quit [Ping timeout: 264 seconds]
jonathanwallace2 has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
jbpros has quit [Quit: jbpros]
Bira has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
aapzak has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
bluOxigen has joined #ruby
SirFunk has joined #ruby
vlad_starkov has joined #ruby
thepumpkin has quit [Ping timeout: 264 seconds]
shaunbaker has quit [Ping timeout: 245 seconds]
aapzak has joined #ruby
xk_id has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bira has quit [Ping timeout: 264 seconds]
Seich has joined #ruby
tobago has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_sta_ has joined #ruby
shaunbaker has joined #ruby
ce_afk is now known as cescalante
SirFunk has quit [Client Quit]
Bira has joined #ruby
petey__ has joined #ruby
OdNairy has joined #ruby
OdNairy has quit [Client Quit]
vlad_starkov has quit [Read error: Connection reset by peer]
<_br_> hanmac: There is even a 101 version! http://www.umop.com/rps.htm
ph8 has joined #ruby
momomomomo has joined #ruby
jbpros has joined #ruby
raphaelivan1 has joined #ruby
mentalFlatulence has quit [Quit: smurfs are calling]
Seich has quit [Ping timeout: 252 seconds]
<sec_> who is ruby master ?
<sec_> :D
<sebastianb> you are!
jlast has joined #ruby
xcfox has joined #ruby
<sebastianb> goo goo goo!
<sebastianb> who's a good boy?
cescalante is now known as ce_afk
<sebastianb> ;)
dEPy has joined #ruby
SirFunk has joined #ruby
sbos99 has joined #ruby
shaunbaker has quit [Remote host closed the connection]
BigBlueBacon has joined #ruby
SirFunk has quit [Remote host closed the connection]
pyrac has joined #ruby
colonolGron has joined #ruby
io_syl has quit []
bricker`LA has joined #ruby
RTG` has quit [Read error: Connection reset by peer]
SirFunk has joined #ruby
RTG` has joined #ruby
mmitchell has joined #ruby
ewnd9 has joined #ruby
teoric has joined #ruby
lukec has quit [Quit: lukec]
burlyscudd has joined #ruby
lukec has joined #ruby
lukec has quit [Client Quit]
graydot has quit [Quit: graydot]
malkomalko has joined #ruby
malkomalko has quit [Remote host closed the connection]
wildroman has quit [Remote host closed the connection]
lfox has joined #ruby
Aryasam has quit [Ping timeout: 246 seconds]
stringoO has joined #ruby
wildroman has joined #ruby
kaldrenon has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 240 seconds]
kaldrenon has joined #ruby
raphaelivan1 has quit [Remote host closed the connection]
pu22l3r has joined #ruby
Aryasam has joined #ruby
workmad3 is now known as workmad4
Ox6abe has joined #ruby
workmad4 is now known as workmad3
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
<shevy> in my ruby classes
mark_locklear has joined #ruby
<shevy> I seem to have constantly the same pattern
<shevy> (1) they all need some @ivars
rcdsystems has quit []
<shevy> (2) I initialize my object by feeding dataset into the proper @ivars
<shevy> all of this before I can start to work with my objects
<shevy> that is tedious :(
arietis has quit [Quit: Computer has gone to sleep.]
simoz has joined #ruby
wildroman has quit [Ping timeout: 245 seconds]
Sammael has joined #ruby
simplex_ has joined #ruby
lukec has joined #ruby
<shevy> it's like the boilerplate in java... less so in ruby, but still existing
DanBoy has quit [Remote host closed the connection]
itissid has quit [Quit: Leaving.]
linoj has quit [Quit: linoj]
Ox6abe has quit [Client Quit]
JohnBat26 has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
verto has joined #ruby
reset has joined #ruby
lord1234 has joined #ruby
<lord1234> any thoguhts what is causing the error about FFI, given my gem list? http://pastie.org/8457251
wildroman has joined #ruby
chinychinchin has quit [Read error: Connection reset by peer]
chinychinchin has joined #ruby
AlwaysBCoding has joined #ruby
blaxter_ is now known as blaxter
jamblack has joined #ruby
AlwaysBCoding has left #ruby [#ruby]
rippa has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
Advocation has quit [Quit: Advocation]
Aryasam has joined #ruby
bean__ has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
hornairs has joined #ruby
reset has quit [Ping timeout: 268 seconds]
jonathanwallace2 has joined #ruby
mrsolo has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
sbos99 has quit [Quit: Leaving]
iliketurtles has quit [Ping timeout: 240 seconds]
<Hanmac> shevy if rock-paper-scissors is not interesting enough: http://www.ohmz.net/wp-content/uploads/2012/10/rps101.jpg
<lord1234> hanmac: any thoughts on my issue?
dhruvasagar has quit [Ping timeout: 246 seconds]
atmosx has joined #ruby
kevind has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
<workmad3> hanmac: I have a suspicion that he may be overstating how hard it was to 'find' the correct chart with those outcomes :)
<_br_> shevy: Sounds like you are missing some decent Abstract Data Type (ADT) to be consumed by your classes.
Aryasam has joined #ruby
<Hanmac> lord1234: bundler is the problem: > #bundler
phantummm has joined #ruby
graydot has joined #ruby
mary5030 has joined #ruby
thepumpkin has joined #ruby
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
<_br_> yeah something like that :)
RaCx has quit [Ping timeout: 268 seconds]
<havenwood> sec_: Ruby masters are named `hanma` in this channel. A letter is put on the end, to show which master they are. So like `hanmaa` is the first.
<_br_> hehe
kevinykchan has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
<havenwood> hanmac: :P
g0bl1n_ has quit [Ping timeout: 245 seconds]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
tomzx_mac has quit [Ping timeout: 240 seconds]
<Hanmac> havenwood: so you mean i am only allowed to do C-Rank and Lower missions? ;P
<havenwood> lawl
<_br_> :D
Czupa has joined #ruby
<shevy> _br_ hehe
<shevy> the more code my classes need to make use of, the tighter the coupling, the more I'd have to distribute to others too :(
jxf has quit [Quit: Leaving]
<shevy> it's why I gave up on "monkey patching" too
alekst has joined #ruby
claymore has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
lewis has joined #ruby
<_br_> I thought ninja patching is the new hotness ;)
* Hanmac uses Summon Jutsu: "summon Monkey Patching" ;P
<_br_> well, sometimes a good ADT can really cut down on code complexity shevy
kobain has joined #ruby
CaptainKnots has joined #ruby
<_br_> hanmac: Too ... much ... naruto :D
boboc_ has joined #ruby
<havenwood> hanmac: oh, nice, just saw your updated &:method.()
Seventoes has left #ruby [#ruby]
blackmesa has joined #ruby
<havenwood> chaining ftw
thepumpkin has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
<havenwood> hanmac: methID, why are there headless camels rampaging about?!?
<havenwood> :P
tagrudev has quit [Remote host closed the connection]
<Hanmac> havenwood: yeah the ruby forum topic is outdated … use https://bugs.ruby-lang.org/issues/9076#note-9
tommyvyo has joined #ruby
failshell has joined #ruby
OdNairy has joined #ruby
<havenwood> hanmac: ah, nice - i didn't even know bugs.ruby-lang.org was a thing. >.> thanks
brennanMKE has joined #ruby
babinho has quit [Ping timeout: 260 seconds]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<Hanmac> havenwood: it has symbol chaining with blocks ;P (currently i had a problem to get key args working .. but i think someday i can mangage that )
vlad_sta_ has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
vlad_starkov has joined #ruby
lmickh has joined #ruby
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
brennanMKE has quit [Ping timeout: 245 seconds]
thams has joined #ruby
mansi has joined #ruby
<Hanmac> shevy & havenwood do you want something to laugh? Adobe used 3DES for the passwords of the user accounts ;P
<havenwood> hanmac: Well, that is *military grade encryption*!! Wait, hold on, the 80's are calling and want their cipher back.
taion809 is now known as zzz_taion809
babinho has joined #ruby
RORgasm_ has joined #ruby
dhruvasagar has joined #ruby
brennanMKE has joined #ruby
<Hanmac> and the passwords are already cracked ;P http://xkcd.com/1286/
<lord1234> hanmac they are?
<lord1234> where?
cascalheira has joined #ruby
CaptainKnots has quit [Quit: bazinga!]
teoric has quit [Quit: WeeChat 0.4.1]
deception has quit [Quit: Goodbye]
Guest7285 has joined #ruby
<havenwood> welp, `123456` beat `password` handily...
<atmosx> When you dev a web application, you write the entire backed first and then you design the front end or you do both in parallel?
Guest7285 is now known as diegoviola
Seich has joined #ruby
<havenwood> `qwerty`...
sayan has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 246 seconds]
<_br_> 3des that obsolete? when did NIST retire it? like 15 years ago?
Aryasam has quit [Ping timeout: 260 seconds]
<momomomomo> I like that "fuckyou" is #51
fridim_ has joined #ruby
<havenwood> _br_: hrm, DES is 1976, what is 3DES like early 2000's?
cody-- has joined #ruby
tkuchiki has quit [Remote host closed the connection]
krz has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d45h has quit []
pyrac has quit [Quit: pyrac]
Aryasam has joined #ruby
<_br_> havenwood: yeah though so...
tkuchiki has joined #ruby
tonni has quit [Remote host closed the connection]
<havenwood> chain 3 DES with different keys
vlad_sta_ has joined #ruby
tonni has joined #ruby
<Hanmac> hm wasn't 3DES marked 2000 as dead and to replace with AES ?
<havenwood> i guess security through 2^112 operations is the name of that game
CaptainKnots has joined #ruby
<Hanmac> havenwood: the cracker says they used "ECB mode"
vlad_starkov has quit [Read error: Connection reset by peer]
<_br_> well stream mode makes hardly sense here.
_maes_ has joined #ruby
<_br_> maybe they started the whole project like 10-15 years ago and its legacy mess?
<havenwood> _br_: But CBC or CTR mode and they wouldn't have this "same password" problem
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
eeriegeek has joined #ruby
<havenwood> ECB mode should just *always* be avoided imho.
mansi has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
<havenwood> CBC with a public IV, no prob.
<Hanmac> its still curious why they used an symetric system for that oO
mansi has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
<_br_> what kind of data is stored there, username, password, ... credit cards too ?
<havenwood> hanmac: Guess they didn't know what they were doing. Looks like at some point they switched to a proper AES with sane cipher, and these are just the older ones?
tonni has quit [Ping timeout: 264 seconds]
lord1234 has left #ruby [#ruby]
Monie has joined #ruby
graydot has quit [Quit: graydot]
<havenwood> you gotta expect related key attacks in this case, at least they weren't stored in plaintext??
ixti has quit [Ping timeout: 240 seconds]
dEPy has joined #ruby
redhat_ has joined #ruby
icecandy has joined #ruby
<Hanmac> havenwood: like "forgive them because they did not know what they do" ? ;P
aryaching has joined #ruby
<havenwood> indeed >.>, except i'm not advocating forgiveness :
<Hanmac> xD
<_br_> hehe
mrsolo has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
CaptainKnots has quit [Quit: bazinga!]
redhat_ has quit [Client Quit]
CaptainKnots has joined #ruby
Aryasam has quit [Quit: Bye]
Liquid-- has joined #ruby
RaCx has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
nerium has quit [Quit: nerium]
jonathanwallace2 has quit [Ping timeout: 245 seconds]
gcds has quit [Quit: gcds]
DouweM has quit [Ping timeout: 260 seconds]
<_br_> reminds me a bit of the Sony mess, though that was even more nuts.
mansi has joined #ruby
iliketurtles has joined #ruby
<havenwood> the ATT mess was i think even sadder
atmosx has quit [Quit: Lost in trance]
<Hanmac> _br_ user info, "encrypted" password and from some ones the credit card records … and they get the Source Code of some Photoshop products … (and some joked, that while they had access, the hacker did fix the flash player)
thesheff17 has joined #ruby
<havenwood> publicly exposing consumer info on a REST API, then encourage criminal charges for the guy who discovered it
jbpros has quit [Quit: jbpros]
<_br_> hanmac: credit cards too ? Wow, fun.
lewis has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
lewis has joined #ruby
<Hanmac> _br_ http://krebsonsecurity.com/2013/10/adobe-breach-impacted-at-least-38-million-users/ "Adobe said hackers had stolen nearly 3 million encrypted customer credit card records"
<_br_> havenwood: Didn't know about ATT, thanks for the link
graydot has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
arietis has joined #ruby
<_br_> havenwood: Yeah, its a default mode of corporations. Lets sue the people who actually maybe try to help.
<Hanmac> some person in forum joked: "lets make a new SI unit, we call it 1Sony, it is for messoring how many secruity shit an company did do … and he says: Adobe was 1.3 Sony" ;P
krz has joined #ruby
<_br_> hahaha nice
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
lewis_ has joined #ruby
lewis has quit [Read error: No route to host]
Seich has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
<Hanmac> _br_ http://krebsonsecurity.com/2013/10/adobe-breach-impacted-at-least-38-million-users/ "As many readers have pointed out in comments on previous KrebsOnSecurity posts, Adobe has offered a year’s worth of credit monitoring to customers whose encrypted credit card data was stolen in the breach. " oO
Seich has joined #ruby
hornairs has quit [Remote host closed the connection]
<_br_> wtf.
hornairs has joined #ruby
<Hanmac> "Credit monitoring" oO that smells like an NSA-gate like fail
<havenwood> _br_: He just iterated over potentially valid ICC-IDs until he hit one the API returned. For that, 3 years in prison. Our system in that regard is failing miserably.
<_br_> havenwood: 3 years. Three?!?!
tjadc has quit [Ping timeout: 245 seconds]
<havenwood> _br_: They got him on the CFAA, which I know I violate weekly, but who doesn't?
<_br_> Speechless....
alecs has joined #ruby
<havenwood> _br_: Guys is a douche, but sets a terrible precedent and shows what a non-technical jury of your 'peers' results in
<alecs> hello!
<havenwood> _br_: A jury of his actually peers would have acquitted so fast it'd make your head spin.
<deepy> What is credit monitoring?
<havenwood> alecs: Helloo.
<havenwood> deepy: They let you know when someone screws your credit. Thanks Adobe, great....
mengu has quit []
byprdct has quit [Read error: Connection reset by peer]
<_br_> havenwood: Yes, that is the point.
<alecs> i am running /bin/bash -l -c /path/to/my/vendor/cli/messages_handler.rb and i get this error, even if all my file is commented ... any ideeas ?
<alecs> (LoadError)h file or directory --
BizarreCake has joined #ruby
<havenwood> _br_: Absurdity level OVER 9000.
brtdv has quit []
Seich has quit [Ping timeout: 245 seconds]
newbiehacker_ has joined #ruby
* Hanmac is in conspiracy mode … Adobe is a phantom company from the NSA
<havenwood> alecs: Ruby Ruby scripts with Ruby not Bash.
* _br_ power level scouter on his face explodes
mrfoto has quit []
bricker`LA has joined #ruby
tboerger has left #ruby [#ruby]
<havenwood> alecs: Then saith he unto them, Render therefore unto Bash the things which are Bash's; and unto Ruby the things that are Ruby's.
<_br_> speaking of nsa hanmac, did you see this ? http://www.kickstarter.com/projects/ladar/lavabits-dark-mail-initiative
ixti has joined #ruby
<havenwood> alecs: A good place to expect Ruby: /usr/env ruby
Czupa has quit [Remote host closed the connection]
newbiehacker has quit [Ping timeout: 252 seconds]
<alecs> havenwood: thanks ... i am actually using : $(which ruby) /path/to/my/vendor/cli/messages_handler.rb
<havenwood> ** /usr/bin/env ruby
mdst3 has joined #ruby
<havenwood> alecs: $(which ruby) is `/bin/bash -l -c`??
<havenwood> alecs: How about plain ole: ruby your_file.rb
<alecs> havenwood: thanks :) is simpler
Advocation has joined #ruby
<Hanmac> _br_ i heard about but i didnt see the kickstarter page yet … from the current it has twice that much that is needed yet (i mean for the days already passed)
Soda has quit [Ping timeout: 252 seconds]
pitzips has joined #ruby
Soda has joined #ruby
<_br_> hanmac: yeah, maybe something interesting will come from it, lets see
greenrose has joined #ruby
acrussell has joined #ruby
d45h has joined #ruby
Ripp__ has joined #ruby
greenrose1 has quit [Ping timeout: 272 seconds]
DaniG2k has joined #ruby
freezey has joined #ruby
andikr has quit [Remote host closed the connection]
Theravadan has quit [Quit: Ex-Chat]
thecopy has quit [Quit: thecopy]
arietis has quit [Quit: Computer has gone to sleep.]
thesheff17 has quit [Remote host closed the connection]
pyrac has joined #ruby
icecandy has quit [Quit: Going offline, see ya! (www.adiirc.com)]
freezey_ has quit [Ping timeout: 245 seconds]
thesheff17 has joined #ruby
Soda has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
reset has joined #ruby
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`1A has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
silent_root has joined #ruby
gcds has joined #ruby
alecs has left #ruby [#ruby]
ixti has quit [Ping timeout: 245 seconds]
ReachingFarr has joined #ruby
gwillickers has joined #ruby
lethjakm1 has joined #ruby
tonni has joined #ruby
ahawkins_ has quit [Ping timeout: 246 seconds]
mikesplain has joined #ruby
dhruvasagar has joined #ruby
simplex_ has quit [Quit: simplex_]
aganov has quit [Remote host closed the connection]
tesuji has quit [Ping timeout: 246 seconds]
reset has quit [Ping timeout: 240 seconds]
TheMoonMaster has quit [Excess Flood]
gwillickers has left #ruby [#ruby]
TheMoonMaster has joined #ruby
thecopy has joined #ruby
wald0 has joined #ruby
<wald0> what is exactly attr_accessor for? i have not quite understand it
Liquid-- has quit [Quit: Computer has gone to sleep.]
achru has quit [Write error: Broken pipe]
ixti has joined #ruby
<wald0> ri says that it also creates a method, how i can print the body of a class to view "what has made on it" ?
codeFiend has quit [Quit: codeFiend]
alup has quit [Quit: Leaving]
<havenwood> wald0: It is syntactic sugar to create an instance_variable and getter/setter methods of the same name.
<havenwood> wald0: I like to use Pry to look into classes.
<havenwood> wald0: http://pryrepl.org/
Guest91816 has quit [Ping timeout: 240 seconds]
maasha has quit [Ping timeout: 250 seconds]
RaCx_ has joined #ruby
<ravster> hey all
<havenwood> wald0: gem install pry && pry -e help
<havenwood> ravster: hey
<NutsEverywhere> ravster: hey
RaCx has quit [Read error: Connection reset by peer]
<ravster> How do I rescue from a CSV::MalformedCSVError? There are a few lines in my data that just don't work.
RaCx_ is now known as RaCx
<wald0> havenwood: im using pry, but i have not learned yet how to use it good, I have do "cd Pet" then "ls" to view it and it shows me :
<wald0> Pet#methods: lenght lenght=
<wald0> what is the = one exactly?
<DaniG2k> wald0: assignment?
Liquid-- has joined #ruby
baroquebobcat has joined #ruby
Soda has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> wald0: Syntactic sugar again. Allows you to `length = this`.
bean__ has quit [Remote host closed the connection]
<wald0> yeah, but i have a "lenght" and a "lenght=" here
<Hanmac> havenwood: interesting is that attr_accessor :abc makes the "abc" and the "abc=" method but creates only the symbols "abc" and "@abc" … very curios ;P
itissid has joined #ruby
noop has quit [Read error: Operation timed out]
<havenwood> >> def setter= this; @setter = this end; setter = 'got set'; setter
<eval-in> havenwood => "got set" (https://eval.in/60537)
<havenwood> wald0: ^
Seich has joined #ruby
zigomir has quit [Quit: zigomir]
<workmad3> havenwood: you know that you didn't call setter= there, right? :P
<Hanmac> havenwood: you get fooled ;P
<havenwood> workmad3: yeah, just re-read it
<havenwood> i need more coffee
<havenwood> ivars and barewords oh my
<havenwood> >.>
tylersmith has quit [Remote host closed the connection]
<havenwood> wald0: my example was so absolutely terribad, plz disregard, lol - just trying to point out you can make your own method= methods
sputnik13 has joined #ruby
larissa has joined #ruby
<wald0> ok
<wald0> maybe i dont know what means the "=" after the word
* wald0 thinks that has not read about this yet
<workmad3> wald0: it's just part of the method name
<workmad3> wald0: 'def length=(foo); @foo = foo; end' defines a method called 'length='
gcds has quit [Quit: gcds]
lewis_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
<Hanmac> ! and ? can be part of the method name too
<wald0> mmh, and why not "lenght" only, without = ? or in fact, attr_accessor seems to set both
<havenwood> wald0: Syntactic sugar. The #length= method can be called normally like `o.length= ...` or the sugar way like `o.length = ...`
<workmad3> wald0: the ruby interpreter just has a bit of syntax sugar where it'll essentially rewrite 'obj.length = 30' into 'obj.length=(30)'
Seich has quit [Ping timeout: 246 seconds]
lewis has joined #ruby
<wald0> ah, mh
Soda has quit [Remote host closed the connection]
<wald0> ruby is full of sugar i think
<havenwood> `o.length = ()` (with omitted parens) just reads nicer than `o.length=()`
ryanRT has joined #ruby
hornairs_ has joined #ruby
tlewin has joined #ruby
jamblack has quit [Quit: jamblack]
<workmad3> wald0: the confusion comes in when you omit the 'obj.' in that and try 'length = 30'... the interpreter treats that as a local variable definition
<workmad3> wald0: which is what havenwood just managed to do :)
pu22l3r_ has joined #ruby
hornairs has quit [Read error: Connection reset by peer]
LMolr has joined #ruby
catphish has joined #ruby
pyrac has quit [Ping timeout: 245 seconds]
jamblack has joined #ruby
pu22l3r_ has quit [Read error: Connection reset by peer]
lewis has quit [Ping timeout: 268 seconds]
pu22l3r_ has joined #ruby
yfeldblum has joined #ruby
bean__ has joined #ruby
pu22l3r has quit [Ping timeout: 268 seconds]
ylluminate has quit [Quit: Bye!]
itissid has quit [Quit: Leaving.]
noname001 has quit [Excess Flood]
noop has joined #ruby
noname001 has joined #ruby
aspires has joined #ruby
Geniack_ has joined #ruby
failshel_ has joined #ruby
g0bl1n_ has joined #ruby
<wald0> why there's manuals for ruby? i feel that is more easy to "just try it" than "memorize how things needs to be set" lol
coderhs has joined #ruby
freezey_ has joined #ruby
DropsOfSerenity has joined #ruby
shredding has quit [Quit: shredding]
hornairs_ has quit [Quit: hornairs_]
Schmidt has quit [Quit: WeeChat 0.3.5]
coderhs has quit [Client Quit]
failshel_ has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 252 seconds]
failshel_ has joined #ruby
<DaniG2k> wald0: there's an API
itissid has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
freezey has quit [Ping timeout: 268 seconds]
hornairs has joined #ruby
hornairs has quit [Client Quit]
Yuyo has quit [Quit: Page closed]
ssvo has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 252 seconds]
<stringoO> Is there a method to get the first 10 characters of a string? or is string[0,10] etc. the best?
nutella has joined #ruby
aetaric has quit [Ping timeout: 245 seconds]
nutella is now known as Guest10049
sambao21 has quit [Ping timeout: 259 seconds]
vlad_starkov has joined #ruby
aetaric has joined #ruby
<_br_> stringoO: The best? Not sure what that means. But if you don't like [] syntax you can also use #slice
<stringoO> thanks _br_!
<wald0> stringoO: puts foo.match("^..........")
whunt has joined #ruby
sectionme has quit [Ping timeout: 260 seconds]
vlad_sta_ has quit [Ping timeout: 245 seconds]
ahawkins has joined #ruby
sambao21 has joined #ruby
* wald0 wonders if this is a good answer, but it works
arietis has joined #ruby
RaCx_ has joined #ruby
DropsOfSerenity has quit [Quit: Peace.]
<wald0> >> foo = "123456789012345" ; puts foo.match("^..........")
RaCx has quit [Ping timeout: 268 seconds]
RaCx_ is now known as RaCx
<eval-in> wald0 => 1234567890 ... (https://eval.in/60554)
<Mon_Ouie> It doesn't return a string
<Mon_Ouie> >> "foobareainestauinesta".match("^..........").class
<eval-in> Mon_Ouie => MatchData (https://eval.in/60555)
<_br_> Nice, seems we are doing "TMTOWTDI-golf" now :)
<wald0> >> foo = "123456789012345" ; puts foo.match("^..........").to_s
<eval-in> wald0 => 1234567890 ... (https://eval.in/60556)
<wald0> like this ?
<Mon_Ouie> Yeah
<havenwood> #first(10)
<_br_> hehe
<wald0> good to know :)
<Mon_Ouie> havenwood: No first method for strings
<Hanmac> havenwood: does not work, string does not have first anymore
vlad_starkov has quit [Ping timeout: 245 seconds]
<stringoO> :(
<havenwood> hanmac: the horror! okay, that's it, i'm making coffee
<Mon_Ouie> And I think it only had it back when it was an Enumerable, and would thus return the first ten _lines_
<_br_> happy brewing
vlad_starkov has joined #ruby
<stringoO> thanks for the help everyone, I'ma go with string[..] and slice ;p
<tlewin> class String; def first(num); self.slice(0,num); end; end
<havenwood> >> '123456789'.chars.first 3
<havenwood> meh
<eval-in> havenwood => ["1", "2", "3"] (https://eval.in/60557)
<Mon_Ouie> You need to #join then
<havenwood> i'm kinda sad about String#first, dunno why but i thought it existed
<havenwood> my just in a cascading spiral of wrong today
vlad_sta_ has joined #ruby
<havenwood> s/my/i'm
<wald0> >> foo = "123456789012345" ; puts foo.slice(0,10).to_s
<eval-in> wald0 => 1234567890 ... (https://eval.in/60558)
<havenwood> wald0: no need for the .to_s there
<wald0> >> foo = "123456789012345" ; puts foo.slice(0,10).class
<eval-in> wald0 => String ... (https://eval.in/60559)
noname001 has quit [Ping timeout: 245 seconds]
<Mon_Ouie> The initial foo[0,10] is still how I would write it
<wald0> mmh, i wonder if is better to "always put it" just for reliability or to remove it for bencharmking lol
iamjarvo has quit [Remote host closed the connection]
jkhwan has joined #ruby
<Mon_Ouie> slice(0, x) will reliably return a string, always
<wald0> Mon_Ouie: nice, it works too
vlad_starkov has quit [Read error: Connection reset by peer]
* wald0 notes
iamjarvo has joined #ruby
<wald0> Mon_Ouie: yeah but you know it because you are familiarized with slice, me, just discovered slice today :)
vlad_sta_ has quit [Remote host closed the connection]
<Hanmac> foo[0…10] is posbile too
<havenwood> >> class String; def first n = 1; self[0, n] end end; '12345'.first 2
<eval-in> havenwood => "12" (https://eval.in/60560)
LarsSmit has quit [Quit: Leaving.]
boboc_ has quit []
duggiefresh has quit [Remote host closed the connection]
ravster has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
Liquid-- has quit [Quit: Computer has gone to sleep.]
<Hanmac> havenwood is breaking 1.8 code and nobody cares, ruby trunk add a new string suffix and everyone lose there mind ;P
tonni_ has joined #ruby
tonni has quit [Remote host closed the connection]
<havenwood> bye bye 1.8!
pel_daniel has joined #ruby
iamjarvo has quit [Ping timeout: 268 seconds]
<_br_> kill it, kill it with fire
lethjakm1 has quit [Ping timeout: 264 seconds]
<havenwood> >> RUBY_VERSION
<eval-in> havenwood => "2.0.0" (https://eval.in/60561)
LMolr has quit [Quit: Leaving]
timonv has quit [Remote host closed the connection]
<havenwood> _br_: Hope they take the suggestion to switch from "meh"f to "meh".freeze
TMM has quit [Quit: Ex-Chat]
<havenwood> seems viable and a lot nicer
itissid has quit [Quit: Leaving.]
timonv has joined #ruby
<Hanmac> havenwood: no … i want more ;D … like "öü"b ;P
tlewin has quit [Quit: ruby]
<_br_> havenwood: crossing fingers on that one
<havenwood> ah
kaspergr_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
dagobah has quit [Remote host closed the connection]
<Hanmac> havenwood: https://github.com/ruby/ruby/blob/trunk/parse.y#L8557-L8561 there is a "str"b option … but its https://github.com/ruby/ruby/blob/trunk/parse.y#L537 currently disabled
tonni_ has quit [Ping timeout: 252 seconds]
ahawkins has quit [Ping timeout: 259 seconds]
<DaniG2k> wow there are so many ruby haters out there
<havenwood> hanmac: ah, saw it mentioned before but wasn't sure on the status - in this morning's tradition of being wrong, i though we were talking f not b
<_br_> DaniG2k: ?
<havenwood> **of me being wrong
<havenwood> DaniG2k: Who's hat'n?
digital-ghost has joined #ruby
vlad_starkov has joined #ruby
<Hanmac> havenwood: when there is one option/suffix there will be more (and more)
mrsolo has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
simoz has quit [Ping timeout: 264 seconds]
vlad_sta_ has joined #ruby
Voodoofish430 has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lukec has joined #ruby
fightback has joined #ruby
kevinfagan has joined #ruby
<DaniG2k> havenwood _br_ was just reading some things online
* Hanmac tries to summon charliesome … but it was not effective
vlad_starkov has quit [Read error: Connection reset by peer]
Guest10049 has quit [Ping timeout: 264 seconds]
moted has quit [Quit: moted]
moted has joined #ruby
reset has joined #ruby
<_br_> DaniG2k: yeah, just ignore it, mostly trolling people
jamblack has quit [Quit: jamblack]
TomRone has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
Monie has quit [Ping timeout: 264 seconds]
<wald0> im trying to write a small reference, but i dont quite understand what is useful for, the "self" thing
RaCx has quit [Quit: Computer has gone to sleep.]
dancinllama_ is now known as fourq_
<Hanmac> wald0: you need self when you are inside an object and want to call some methods wich are not so easy accessable, like []=
duggiefresh has joined #ruby
reset has quit [Ping timeout: 268 seconds]
fourq_ is now known as SaIesforceWizard
lfox has quit [Quit: ZZZzzz…]
SaIesforceWizard has left #ruby [#ruby]
<wald0> i should define all my methods inside classes with self. ?
TomRone has joined #ruby
bklane has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
Lean_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 268 seconds]
ravster has joined #ruby
vlad_starkov has joined #ruby
timonv_ has quit [Remote host closed the connection]
earthquake has joined #ruby
<Hanmac> wald0 no, that are class methods
timonv has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
RaCx has joined #ruby
stunthamster has quit [Quit: Linkinus - http://linkinus.com]
dma has joined #ruby
Stygia has quit [Ping timeout: 268 seconds]
maletor has joined #ruby
dma is now known as Guest9444
camilasan has quit []
carif has quit [Ping timeout: 254 seconds]
codeFiend has joined #ruby
Xeago has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
tjad has joined #ruby
<wald0> hanmac: so when i want to create methods only for the classes and not instance objects, i should use self.something ?
timonv has quit [Ping timeout: 245 seconds]
Seich has joined #ruby
colonolGron has joined #ruby
brtdv has joined #ruby
dhruvasagar has joined #ruby
JMcAfreak has joined #ruby
niklasb_ has quit [Ping timeout: 264 seconds]
<wald0> the difference between private and protected is that protected allows to communicate objects of the same class themselves?
<Hanmac> yes to both
<bklane> I am pulling my hair out trying to get ruby working on maverick. After downloading maverick tried to download 2.0 (been working in 1.9.3) and then all hell broke loose. Now i have 1.9.3 reinstalled but it keeps breaking when trying to bundle install libv8 or rubyracer, any ideas?
choobie has left #ruby [#ruby]
newbiehacker` has joined #ruby
DaniG2k has quit [Quit: leaving]
<_br_> bklane: Pastie with error messages?
lethjakm1 has joined #ruby
DanKnox_away is now known as DanKnox
<Hanmac> bklane: try to understand why the stuff breaks for 2.0 and seems to work for 1.9.3 … imo that looks like a serious bug for me
codenapper has quit [Quit: codenapper]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
newbiehacker` has quit [Client Quit]
ghr has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby
tonni has joined #ruby
hiroyuki has joined #ruby
fightback has quit [Quit: blackbagged]
yfeldblum has quit [Remote host closed the connection]
<bklane> it breaks for both...I just cant use ruby at all now, uninstalled 2.0 hanmac
mdst3 has quit [Ping timeout: 240 seconds]
<Hanmac> bklane what does "clang -v" returns for you? ;P
<nhmood> Do I need to append dirs to my load path in every lib/appname/{files}.rb or does adding it at the lib/appname.rb file carry through all the files?
tris has quit [Excess Flood]
Tuxist has joined #ruby
kevinykchan has joined #ruby
<bklane> Barnetts-MacBook-Pro:r9 bklane$ clang -v
<bklane> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
<bklane> Thread model: posix
<bklane> Target: x86_64-apple-darwin13.0.0
newbiehacker_ has quit [Ping timeout: 268 seconds]
<Hanmac> hm should be current enougth … mom i test it on my mace
tris has joined #ruby
jcromart_ has joined #ruby
<bklane> ya like i went through all the possible soutions on stack overflow, command line tools, uninstall/reinstall and always coming back to this
vlad_starkov has quit [Remote host closed the connection]
<bklane> at first it was libv8 but got that good now i believe
tylersmith has joined #ruby
bigoldrock has joined #ruby
<_br_> did you check issues list ? https://github.com/cowboyd/therubyracer/issues
Lewix has joined #ruby
lewis has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
krz has quit [Quit: krz]
vlad_starkov has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
thecopy has quit [Quit: thecopy]
nvrch has quit [Quit: nvrch]
IceDragon_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
IcyDragon has quit [Ping timeout: 245 seconds]
zarubin has joined #ruby
<Hanmac> hm i use non maverik but it works on my version … i have ruby 2.1
voodoofish has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
barratt has quit [Ping timeout: 257 seconds]
Advocation has quit [Quit: Advocation]
Advocation has joined #ruby
Advocation has quit [Client Quit]
vlad_starkov has joined #ruby
Advocation has joined #ruby
pothibo has quit [Quit: pothibo]
johnnyfuchs has joined #ruby
<Hanmac> bklane: you can also try to build your ruby against an real gcc version (like 4.7+), for testing i have two rubies, one build against real-gcc and one against clang
Advocation has quit [Client Quit]
jonathanwallace has quit [Remote host closed the connection]
D4T has left #ruby ["Textual IRC Client: www.textualapp.com"]
burlyscudd1 has joined #ruby
falood has joined #ruby
CreativeEmbassy has joined #ruby
rumi has joined #ruby
lukec has quit [Quit: lukec]
vlad_starkov has quit [Remote host closed the connection]
zigomir has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
Advocation has joined #ruby
pyrac has joined #ruby
bootcoder has joined #ruby
lethjakm1 has quit [Quit: WeeChat 0.4.0]
kevind_ has joined #ruby
Monie has joined #ruby
Advocation has quit [Client Quit]
btanaka has joined #ruby
chinychinchin has quit [Quit: Konversation terminated!]
pu22l3r has joined #ruby
<havenwood> bklane: Building 1.9 works on Mavericks with GCC 4.4-4.8.
chinychinchin has joined #ruby
saarinen has joined #ruby
xibalba has joined #ruby
falood has quit [Ping timeout: 240 seconds]
<havenwood> bklane: 2.0+ work without that limitation.
pu22l3r has quit [Read error: Connection reset by peer]
Targen has quit [Ping timeout: 245 seconds]
asobrasil has joined #ruby
ananthakumaran1 has joined #ruby
<havenwood> ^ example of using GCC 4.8 to build 1.9.3 latest with ruby-install
kevind has quit [Ping timeout: 272 seconds]
kevind_ is now known as kevind
<bklane> havenwood: thank you, trying it now
brianpWins has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
petey__ has quit [Remote host closed the connection]
<wald0> anybody knows if i can edit (modify) something that i have defined in pry ? for example to change a specific line of a defined class
lfox has joined #ruby
petey has joined #ruby
pu22l3r has joined #ruby
voodoofish has joined #ruby
pu22l3r_ has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Remote host closed the connection]
NutsEverywhere has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* Hanmac opens the pit to hell and summons banisterfiend
saarinen has quit [Quit: saarinen]
Spami has joined #ruby
<havenwood> wald0: For example, to edit line 1: edit -l 1
brianpWins has quit [Client Quit]
fgh has joined #ruby
rubdud has joined #ruby
BigBlueBacon has quit [Read error: Operation timed out]
<rubdud> i'm a little confused on some iterator tutorials, anyone have a succinct explaination?
BigBlueBacon has joined #ruby
fgh has quit [Client Quit]
saarinen has joined #ruby
petey has quit [Ping timeout: 245 seconds]
chinychinchin has quit [Ping timeout: 252 seconds]
petey has joined #ruby
<Hanmac> havenwood: http://youtu.be/GDwOi7HpHtQ << cuttlefish science ;P
jlebrech has quit [Quit: Konversation terminated!]
<havenwood> hanmac: seen it, lawl
Bira has quit [Remote host closed the connection]
cody-- has quit [Quit: derp]
<Hanmac> rubdud show us the code that confuses you, then we can help you
TurkALurk has joined #ruby
failshell has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
<Hanmac> havenwood: "can mimic millions of colors, is itself colorblind" — haha fooled by evolution ;P
vlad_starkov has joined #ruby
xcfox has quit [Write error: Broken pipe]
codenapper has joined #ruby
Seich has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
Seich has joined #ruby
codenapper has quit [Client Quit]
<_br_> yeah that one is awesome :)
mark_locklear has quit [Ping timeout: 245 seconds]
kindjal has joined #ruby
<Hanmac> that fishy one can SEE with its skin .. ;P
<_br_> rubdud: Can you be a bit more specific?
jamblack has joined #ruby
kpshek has joined #ruby
vlad_sta_ has joined #ruby
failshel_ has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
Seich_ has joined #ruby
chinychinchin has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
a1ph4g33k has joined #ruby
Azulinho has quit [Ping timeout: 245 seconds]
larissa has quit [Quit: Leaving]
Bira has joined #ruby
Seich has quit [Ping timeout: 264 seconds]
jcromart_ has quit [Quit: Textual IRC Client: www.textualapp.com]
arietis has quit [Quit: Computer has gone to sleep.]
lfox has quit [Quit: ZZZzzz…]
lukec has joined #ruby
kevinfagan has quit [Ping timeout: 264 seconds]
<wald0> havenwood: seems like i need to work with "files" ? i use pry actually for just do tests learning ruby, so no files at all, just testing classes and similar things, but sometimes i want to modify them, i cannot scroll up to change the code :/
<Hanmac> havenwood: thats what i like … users that says: "i want help" and we answer :"yes we want to help you" and then they says nothing and disappear later …
diegoviola has quit [Ping timeout: 246 seconds]
<a1ph4g33k> Good morning all.
kadoo has joined #ruby
<havenwood> hanmac: Key is come back later and paste same question, repeat! :P
Guest9444 has quit [Remote host closed the connection]
<havenwood> a1ph4g33k: g'morn
vlad_sta_ has quit [Remote host closed the connection]
stkowski has joined #ruby
<a1ph4g33k> any interesting challenges this mornign ?
<a1ph4g33k> s/gn/ng/
dma has joined #ruby
mansi has quit [Read error: Connection reset by peer]
bean__ has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv has joined #ruby
dma is now known as Guest22780
<Hanmac> a1ph4g33k: are you interested in how i can make this? [[1,2,3],[1,3],[],[2]].map(&:any?.(&:even?)) #=> [true, false, false, true]
<wald0> a1ph4g33k: skype not works good because MS bought it, challenge is to destroy MS from the earth
mansi has joined #ruby
arietis has joined #ruby
brianpWins has joined #ruby
<a1ph4g33k> ... the first I can look at ... the second ... meh.
chinychinchin has quit [Ping timeout: 245 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
coca_rails has joined #ruby
<wald0> :( ms puts a lot of pain on this world
<Hanmac> a1ph4g33k: look at this: https://bugs.ruby-lang.org/issues/9076#note-9
<a1ph4g33k> not any more.
c0rn has joined #ruby
<wald0> bad beast never dies
tjaco has quit [Read error: Connection reset by peer]
bean__ has joined #ruby
lfox has joined #ruby
carif_ has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
drumusician has joined #ruby
<a1ph4g33k> hanmac, so you've already got it working ?
near89 has joined #ruby
<near89> hi
Seich_ has quit [Quit: Computer has gone to sleep.]
<near89> im having a lot of trouble with a mysql prepared statement
<near89> if I use something like this
<near89> check_otp.execute "#{otp}"
<near89> and otp = "222"
<near89> it wont work
<near89> using execute otp
<near89> will not work
<wald0> havenwood: i cannot simply edit manually-added classes in pry ? i need to use files ?
Seich_ has joined #ruby
<near89> but using execute "222"
pragmatism has joined #ruby
<near89> will work
<Hanmac> a1ph4g33k: yeah, keyargs are not working yet, but i can fix that later
<near89> any ideas?
lnormous has joined #ruby
<havenwood> wald0: You can edit lines, or methods, or whatever you want from Pry.
<havenwood> wald0: Read the wiki?
Guest22780 has quit [Ping timeout: 291 seconds]
arietis has quit [Client Quit]
ahawkins has joined #ruby
<Hanmac> near89 it looks more like an sql error, show more of your code in a gist or pastie
Monie has joined #ruby
<havenwood> near89: Just curious, but what is?: otp.class?
coca_rails has quit [Ping timeout: 245 seconds]
jhulten has joined #ruby
<havenwood> wald0: Or in Pry type: help edit
rumi has quit [Quit: Textual IRC Client: www.textualapp.com]
dangerousdave has joined #ruby
madb055 has joined #ruby
aspiers has joined #ruby
reset has joined #ruby
coca_rails has joined #ruby
eeriegeek has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
<wald0> havenwood: yeah, but i was unable to do it, seems like after i created an object i cannot reach the class editing info
noop has quit [Ping timeout: 260 seconds]
noop has joined #ruby
<a1ph4g33k> hanmac, that syntax is pretty evil.
Seich_ has quit [Ping timeout: 272 seconds]
<havenwood> wald0: Did you read?: help edit
<havenwood> wald0: Shows how
codeFiend has quit [Quit: codeFiend]
aapzak has quit [Ping timeout: 253 seconds]
dhruvasagar has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
d45h has quit []
<havenwood> I can't explain more concisely, rtfm. :P
aapzak has joined #ruby
<Hanmac> a1ph4g33k: yeah i tryed to make i more evil but i failed ;P
coca_rails has quit [Remote host closed the connection]
<nhmood> So I'm printing out my load path [ p($:) ] and I see the directory (file under it) I am trying to access listed but my app can't seem to find the file, any ideas?
nucatus has quit []
iamjarvo has joined #ruby
jkline has joined #ruby
<nhmood> mydir/filename, mydir is in the load path, I am trying to File.open(filename)
<Hanmac> nhmood: File.open does not care about load path
derebos has quit [Ping timeout: 264 seconds]
<Hanmac> it only cares about current directory
<nhmood> Ahhh I see
<a1ph4g33k> hanmac, I would think that modifying the behavior of map would be more appropriate ... as in ... currently it accepts no args & a block or no block ... wouldn't be hard to add a new behavior based on the list of passed in arguments ...
<a1ph4g33k> would be kinda cool actually ...
Mitchellvanw has joined #ruby
nhhagen has joined #ruby
<nhmood> So then I can't get an absolute dir using File either then?
burlyscudd1 has quit [Quit: Leaving.]
<nhmood> path*
<a1ph4g33k> pass in a list of procs to perform and they are handled in order ...
<havenwood> nhmood: Dir.pwd and __dir__
jaimef has quit [Excess Flood]
huttan has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby
thesheff17 has quit [Remote host closed the connection]
reset has quit [Ping timeout: 272 seconds]
buscon has quit [Quit: Leaving]
burlyscudd has joined #ruby
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby
<nhmood> havenwood: But those return the path to the current directory?
<nhmood> In order to use File I need the absolute path to my file no?
silent_root has quit [Quit: Lost terminal]
<havenwood> nhmood: They differ. `Dir.pwd` is the current working directory, and `__dir__` is path to where the method was called.
<nhmood> Ohh I see, let me try that out
catphish has quit [Quit: Leaving]
<Hanmac> a1ph4g33k: the most interesting part is thar my stuff is chainable, like you can see in the sample (its interesting for lazyness)
<havenwood> nhmood: Before Ruby 2.0, `__dir__` was commonly written as something like: File.dirname(File.realpath(__FILE__))
mark_locklear has joined #ruby
<havenwood> nhmood: Still do that for 1.9 compat or to work in irb/pry.
workmad3 has quit [Ping timeout: 245 seconds]
<nhmood> I see
krz has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
kirun has joined #ruby
d45h has joined #ruby
freerobby has quit [Quit: Leaving.]
<nhmood> So if my file is in assets/myFile and I'm calling it from lib/myapp/app.rb theres no easy way, I have to use that __dir__ and then slice off until I get to the top directory
tris has quit [Excess Flood]
jaimef has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
carraroj has joined #ruby
<nhmood> I guess I could use basename since I know it is under lib/myapp/__FILE__
tris has joined #ruby
Ziarkaen has joined #ruby
mansi has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
Mitchellvanw has quit [Quit: Dozing off...]
mansi has joined #ruby
carif_ has quit [Ping timeout: 272 seconds]
tvw has quit []
petey has quit [Remote host closed the connection]
petey has joined #ruby
cody-- has joined #ruby
dEPy has quit [Remote host closed the connection]
motto has joined #ruby
dEPy has joined #ruby
Liquid-- has joined #ruby
btanaka has quit [Write error: Broken pipe]
<bklane> havenwood: did the installing of gcc48 take a while? mine has been on the 'make bootstrap' step for 30-40
krz has quit [Ping timeout: 245 seconds]
<havenwood> bklane: a surprisingly long time, indeed
<bklane> havenwood: oh fun! thanks
jkline has joined #ruby
ewnd9 has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 246 seconds]
m8 has quit [Ping timeout: 256 seconds]
dasdas has joined #ruby
yfeldblum has joined #ruby
rubdud has quit [Quit: i <3 pork (http://dev.ojnk.net)]
dasdas has quit [Client Quit]
petey has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
silent_root has joined #ruby
BraddPitt has quit [Read error: Connection reset by peer]
mansi has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
aspires has quit [Quit: sudo making a sandwich]
BraddPitt has joined #ruby
aspires has joined #ruby
<_br_> well, depends on how many cores you have... make -j x .. ; for x = 2*cpu+1
RaCx_ has joined #ruby
sepp2k has joined #ruby
jonathanwallace has joined #ruby
soheil has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heidi has quit [Quit: Leaving.]
bean__ has joined #ruby
TurkALurk has quit [Ping timeout: 250 seconds]
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
sayan has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
zipper has joined #ruby
bean__ has quit [Read error: Operation timed out]
sayan has quit [Read error: Connection reset by peer]
Methylated has joined #ruby
<a1ph4g33k> more my style ... could be added to make multi-part filters as well.
BraddPitt has quit [Ping timeout: 260 seconds]
heidi has joined #ruby
colonolGron has joined #ruby
Soda has joined #ruby
<sweeper> hmm. I'm in a situation where we need to migrate from one ORM/DB to another, and we want to be able to do it class by class. Is there a way I can have an instance of a class delegate all methods to another class depending on a condition?
jojosch has joined #ruby
<Hanmac> a1ph4g33k: first, Method and Proc can be handld in the same when, UnboundMethod is wrong it need to be bind(i).call … otherwise it its totaly different from mine, because my supports lazyness, yours doesnt that much
MrZYX|off is now known as MrZYX
nhhagen has quit [Remote host closed the connection]
krz has joined #ruby
<sweeper> I'd like to do something along the lines of "unless account.migrated?('this_model_name') call(ThisOtherModel.my_method)"
BizarreCake has quit [Ping timeout: 246 seconds]
<a1ph4g33k> hanmac, yep, I was just fixing the unbound method, and I know that Method & Proc *could* be handled the same, but I wasn't sure I wanted to.
<a1ph4g33k> and that's completely true, but I don't do much lazy processing.
staafl has quit [Ping timeout: 245 seconds]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
jamblack has quit [Quit: jamblack]
SirFunk_ has joined #ruby
<a1ph4g33k> the next step would be to wrap up transform to return an enumerable when no block is passed, or handle a block.
<krz> basically i need all three singleton methods to access and set a varibales value
kaspergrubbe has joined #ruby
<krz> can this be done via a class var?
jamblack has joined #ruby
<krz> or other
thesheff17 has joined #ruby
<krz> ?
jojosch has quit [Client Quit]
jonathanwallace has quit [Ping timeout: 264 seconds]
jkhwan_ has joined #ruby
preller has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
jkhwan has quit [Read error: Connection reset by peer]
thesheff17 has quit [Max SendQ exceeded]
goodeveningmiss has joined #ruby
SirFunk_ has quit [Remote host closed the connection]
timonv has joined #ruby
gcds has joined #ruby
<a1ph4g33k> krz, yes you can define singleton methods with access to a class variable.
<a1ph4g33k> >> class Foo ; def self.get_a ; @a ; end ; def self.set_a( new_value ) ; @a = new_value ; end ; end ; puts Foo.get_a ; Foo.set_a 3 ; puts Foo.get_a
gcds has quit [Read error: Connection reset by peer]
<eval-in> a1ph4g33k => ... (https://eval.in/60597)
reset has joined #ruby
<krz> @a is an instance var though
<krz> not a class var
<a1ph4g33k> within a self. method its an instance variable of the class Foo.
<a1ph4g33k> not an instance method of an object of type Foo.
SirFunk_ has joined #ruby
gcds has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
mikesplain has joined #ruby
<Hanmac> a1ph4g33k: its a class instance variable … totaly different ;P
niklasb_ has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
<droptone> what does the operator ||= mean in ruby?
rylev has joined #ruby
<a1ph4g33k> ... or to word that more correctly ... When you define a self. method ... you are adding methods to the instance of Class that you have defined ( in this case Foo ) ... therefore instance variables are within that instance of Class ...
<a1ph4g33k> isnt' that what I just said ;) ?
jamesnelson has joined #ruby
<a1ph4g33k> droptone, a ||= b means a = a || b
<droptone> gotcha, thank you
<Hanmac> droptone: but it does magic when the variable does not exist yet
<prophile> droptone: that's not quite true
<prophile> I think it behaves more like a || a = b
alvaro_o has joined #ruby
sayan has joined #ruby
<jamesnelson> I'm having a problem implementing the Workflow gem off an abstract class
<a1ph4g33k> prophile, so a += b is a + a = b ?
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jblack> there was a post about || on reddit not long ago
<a1ph4g33k> no.
d45h has quit []
<a1ph4g33k> it's a concatenation of a logical comparison and an assignment.
<jamesnelson> I'm trying to load configs per class from the db, and I'm getting a 'undefined method assign_workflow' error
reset has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
madb055 has quit [Ping timeout: 240 seconds]
<prophile> a1ph4g33k: yes, but it isn't
<prophile> because ruby
<a1ph4g33k> so a ||= b is the result of a || b being assigned back to a.
bigoldrock has quit [Ping timeout: 240 seconds]
<a1ph4g33k> if a is falsy ... then b gets used.
<a1ph4g33k> undefined/nil == falsy.
<prophile> yes, but from what I recall the assignment doesn't actually happen if a is not falsy
<Hanmac> a1ph4g33k: like for sample when you have obj[key] ||= val its like obj[key] || (obj[key] = val) so it does not call the []= method when the position already exists
<prophile> ^
freakazoid0223 has quit [Read error: Connection reset by peer]
<jblack> irb(main):014:0> a,b=nil,true; a||=b; a
<jblack> => true
tris has quit [Excess Flood]
tris has joined #ruby
mansi has quit [Remote host closed the connection]
d45h has joined #ruby
larissa has joined #ruby
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
Fire-Dragon-DoL has joined #ruby
samfisher has joined #ruby
<samfisher> hi. How can I extract from here: http://www.infovalutar.com/index.xml the value for the first Bank, USD?
mansi has joined #ruby
codenapper has joined #ruby
<samfisher> i find it so hard to use nokogiri
sayan has quit [Ping timeout: 246 seconds]
larissa has quit [Client Quit]
<jblack> samfisher: Nokogiri is worth learning.
zarubin has quit [Ping timeout: 240 seconds]
nhmood has quit [Remote host closed the connection]
<jblack> I'll write you a scraper real quick, sam
Ripp__ has quit []
<samfisher> jblack: yes, but I need some help, cause I do not understand
<jblack> Oh, ok. sorry then
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mva3212 has joined #ruby
reset has joined #ruby
devbox_ has joined #ruby
BigBlueBacon has quit []
mikesplain1 has joined #ruby
mva3212 has quit [Client Quit]
devbox_ has quit [Read error: Connection reset by peer]
<Hanmac> samfisher: Nokogiri::XML(open("http://www.infovalutar.com/index.xml")).xpath("*/banca/cod").first.text
iliketurtles has joined #ruby
<_br_> Nokogiri? I thought all the cool kidz these days use Ox gem ?
<Hanmac> _br_ that are only hipsters
mva3212 has joined #ruby
<_br_> ohhhh :D
devbox_ has joined #ruby
mva3212 has quit [Client Quit]
<samfisher> hanmac: thank you so much!
devbox_ is now known as mva3212
kadoo has joined #ruby
kadoo has quit [Client Quit]
brtdv has quit []
d45h has quit []
RaCx has quit [Ping timeout: 246 seconds]
mva3212 is now known as mva1
mikesplain has quit [Ping timeout: 272 seconds]
mva3212 has joined #ruby
kadoo has joined #ruby
amacgregor__ has quit [Read error: Connection reset by peer]
Schuy13r has left #ruby ["WeeChat 0.4.0"]
<samfisher> hanmac: and if I want to define a specific code?
<samfisher> or <cod>
<godd2> Is there any go-to 'must learn these gems' list when picking up Ruby?
mva3212 has quit [Client Quit]
mva1 has quit [Client Quit]
brtdv has joined #ruby
RaCx has joined #ruby
<Hanmac> samfisher: better xpath go get the first cod: .xpath("*/banca[1]/cod").text
<Hanmac> the [1] can be used as index
nhhagen has joined #ruby
<_br_> xpath is a bit confusing at first, but its quite worth learning actually
TMM has joined #ruby
BraddPitt has joined #ruby
Hellcat has joined #ruby
<_br_> not so its retarted cousin wsdl.
<samfisher> hanmac: thank you, but I wanted to choose another <cod> not the first
Hellcat is now known as Guest53708
<_br_> or xslt for that matter...
Parduse has quit [Read error: Connection reset by peer]
<Hanmac> samfisher: depends, use different index or something like that: .xpath("*/banca[nume='Royal Bank of Scotland']/cod").text
_HolyCow1 is now known as _HolyCow
jbpros has quit [Quit: jbpros]
<Hanmac> _br_ i dont want to sound cruel but wsdl should have been killed before birth … :(
Parduse has joined #ruby
Guest53708 has quit [Excess Flood]
artm has quit [Ping timeout: 264 seconds]
<_br_> hanmac, I don't think it would be cruel. Would be some mercy killing.
petey has joined #ruby
Guest53708 has joined #ruby
Guest53708 is now known as Shellcat
bean__ has joined #ruby
<_br_> Wrote a fun little lib for that long ago, took nearly my sanity.
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Targen has joined #ruby
sayan has joined #ruby
<Hanmac> _br_ a long time ago i did an funny clock like image in svg … and then i need to did it in wsml too because of IE are to dumb to display svg (was that fixed yet?) … as you can think i was failed because wsml didnt work like svg
drumusician has quit [Ping timeout: 245 seconds]
kadoo has quit [Quit: Textual IRC Client: www.textualapp.com]
<_br_> IE ? No clue. I so don't care about that browser.
<Hanmac> ahh IE9 can do svg ;P
i_s has joined #ruby
<_br_> hehe
RaCx has quit [Quit: Computer has gone to sleep.]
<Hanmac> for a moment i thought that lynx get earlier svg support than IE
Apane has joined #ruby
thecopy has joined #ruby
<bklane> havenwood: what would be the max time ya think? im at an hour and a half
SirFunk has quit [Read error: Connection reset by peer]
StFS has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<Hanmac> bklane: oO is it realy still building? it sounds like it is hanging … (i already builded gcc48 a few minutes ago and it didnt take that long oO )
kaspergrubbe has joined #ruby
<StFS> Hi. I have a ruby script that seems to be flushing stdout rather rarely. Can anybody tell me if I can force flushing without changing the ruby program? For example using some environment variable or something?
<godd2> StFS: Does this answer your question? http://www.ruby-doc.org/core-2.0.0/IO.html#method-i-flush
misutowolf has joined #ruby
<bklane> hanmac: ya...what ya think I should do, stop and retry?
interactionjaxsn has quit [Ping timeout: 264 seconds]
<a1ph4g33k> hanmac, prophile, jblack ... I tested it ... it may short circuit, but it is calling all of the methods during the cycle ...
<a1ph4g33k> going to post a gist.
<Hanmac> bklane: how do you did build it? i used macports for that and it was handy
<StFS> godd2: thanks for the answer but no... I can't change the ruby script itself... I need to do this somehow outside of it
<bklane> hanmac: i have homebrew
<Hanmac> i dont have exp with that
<bklane> havenwood: ya still around?
apathor has joined #ruby
<a1ph4g33k> hanmac, prophile, jblack ... https://gist.github.com/a1ph4g33k/7324529
bricker_ has joined #ruby
<samfisher> hanmac: thank you, but I wanted to choose another <cod> not the first
RaCx has joined #ruby
Seich_ has joined #ruby
interactionjaxsn has joined #ruby
SirFunk has joined #ruby
kaspergrubbe has quit [Ping timeout: 260 seconds]
bigoldrock has joined #ruby
<a1ph4g33k> so ... looking at the output ( lines 40 through 43 ) ... yes, it pulls the value and doesn't redo the assignment.
Clooth has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
<StFS> hanmac: well I can't change the ruby program... so I was hoping this could be done with some flag to the ruby interpreter
<Hanmac> samfisher: then use another nume, depending on what you want
bricker_ is now known as bricker`work
bricker has quit [Disconnected by services]
<prophile> a1ph4g33k: I feel like putting a puts in []= would have made that simpler :)
dma has joined #ruby
<a1ph4g33k> StFS ... you can add a -r and add a small script that forces flushing.
<a1ph4g33k> I wanted to see down into the underlying interpreter.
dma is now known as Guest80868
<prophile> fair
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
iamjarvo has joined #ruby
Apane has quit []
kindjal has quit [Quit: Computer has gone to sleep.]
earthquake has quit [Quit: earthquake]
nkts has joined #ruby
Apane has joined #ruby
nkts has quit [Max SendQ exceeded]
<Hanmac> StFS i dont think so, but you can add it into an little script file that got required before the code of the program is runing
nkts has joined #ruby
nkts has quit [Max SendQ exceeded]
Seich_ has quit [Ping timeout: 240 seconds]
<StFS> ok, thanks for the help guys
maurogoncalo has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nkts has joined #ruby
nkts has quit [Max SendQ exceeded]
nkts has joined #ruby
lsmola has quit [Ping timeout: 245 seconds]
Bira has quit [Remote host closed the connection]
Guest80868 has quit [Ping timeout: 272 seconds]
CreativeEmbassy has joined #ruby
graydog has joined #ruby
drumusician has joined #ruby
graydot has quit [Ping timeout: 240 seconds]
graydog is now known as graydot
coca_rails has joined #ruby
ghr has joined #ruby
coca_rails has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
havenwood has joined #ruby
harumph has joined #ruby
c0rn has quit [Ping timeout: 245 seconds]
p8952 has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<harumph> this is a long-shot, but i need to work with Garmin GPS .gdb files. Anyone know of a gem?
mikesplain1 has quit [Quit: WeeChat 0.4.2]
apathor has left #ruby [#ruby]
heidi is now known as heidi-ramen
vlad_starkov has joined #ruby
mikesplain has joined #ruby
pu22l3r_ has joined #ruby
<jamesnelson> Anyone around tried to load a Workflow config from the db? I can't get the assign_workflow() function to load
c0rn has joined #ruby
<bklane> hanmac: can you have macports and brew installed, or does that cause issues?
p8952 has joined #ruby
<jamesnelson> it keeps saying it's an undefined method
simoz has joined #ruby
pothibo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<maurogoncalo> kinda new to this. can someone point me to some kind of tutorial involving the development og a gem until its publication?
choobie has joined #ruby
havenwood has quit [Ping timeout: 265 seconds]
jamblack has quit [Quit: jamblack]
<Hanmac> bklane: i dont think that this should cause problems
nateberkopec has quit [Quit: Leaving...]
<a1ph4g33k> digging through the source st.c ... st_update ( will ignore updates that are the existing value. )
RichardBaker has joined #ruby
thesheff17 has joined #ruby
pu22l3r__ has joined #ruby
<_br_> heidi-ramen: -ramen? No, try prefixing it with klaus- you'll get an apartment for free http://www.youtube.com/watch?v=TL1bc32t3fU
pu22l3r has quit [Ping timeout: 268 seconds]
iliketurtles has quit [Quit: zzzzz…..]
theRoUS has joined #ruby
theRoUS has joined #ruby
pu22l3r_ has quit [Read error: Connection reset by peer]
theRoUS has quit [Changing host]
iliketurtles has joined #ruby
Banistergalaxy has joined #ruby
fuzzyhorns has joined #ruby
Bira has joined #ruby
<Banistergalaxy> What is env in a rails controller?
<fuzzyhorns> very often i am doing something like this:
lsmola has joined #ruby
<Hanmac> Banistergalaxy: an Offtopic in the wrong channel? #rubyonrails
cascalheira has quit [Quit: Leaving...]
<fuzzyhorns> hash = {}; something.each {|e| hash.merge!({e.1 => e.2})}
havenwood has joined #ruby
<fuzzyhorns> i feel like there must be a better way to do this
<a1ph4g33k> so ... there is an optimization but the form stands true *= means x = x * y
aspires has quit [Quit: sudo making a sandwich]
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
<a1ph4g33k> ... droptone to be completely specific, when folks use ||= they normally ( mentally ) translate "a ||= b" to be "a = b unless a"
RaCx has quit [Quit: Computer has gone to sleep.]
wald0 has quit [Quit: Lost terminal]
<Hanmac> fuzzyhorns: did you try Hash[something.map {|e| [e.1,e.2]}]
c0rn has joined #ruby
lsmola has quit [Ping timeout: 240 seconds]
tjad has quit [Ping timeout: 240 seconds]
lsmola has joined #ruby
<fuzzyhorns> no i will try hanmac
f0ster has joined #ruby
norm has left #ruby [#ruby]
tonni has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
<fuzzyhorns> hanmac: whoo!! thanks
<fuzzyhorns> i knew there must be a way to do it
<fuzzyhorns> :)
rylev has quit [Ping timeout: 272 seconds]
bklane has quit [Write error: Broken pipe]
yfeldblum has quit [Remote host closed the connection]
Kneferilis has quit [Killed (herbert.freenode.net (Nickname regained by services))]
yfeldblum has joined #ruby
nhhagen has quit [Remote host closed the connection]
freakazoid0223 has joined #ruby
nhhagen has joined #ruby
gcds has quit [Quit: gcds]
timonv has joined #ruby
misutowolf has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 272 seconds]
El_Dood has joined #ruby
krz has quit [Quit: krz]
tjaco has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
rocketeer has left #ruby ["Read Error: Connection popped out of its socket."]
earthquake has joined #ruby
rezzack has joined #ruby
Monie has joined #ruby
SevenWolf has joined #ruby
rocketeer has joined #ruby
aapzak has quit [Ping timeout: 240 seconds]
drumusician has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 245 seconds]
reset has quit [Quit: Leaving...]
Bira has quit [Remote host closed the connection]
shredding has joined #ruby
StFS has left #ruby [#ruby]
aapzak has joined #ruby
robustus has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
reset has joined #ruby
Tr_OLL has joined #ruby
elux has joined #ruby
<Tr_OLL> Hello
<Tr_OLL> I'm a troll.
<bootcoder> hi troll
robbyoconnor has joined #ruby
<Tr_OLL> bootcoder: Hello
mansi has quit [Remote host closed the connection]
<Tr_OLL> how can i do my best trolling job but do not get kicked out of this channel?
<yxhuvud> hanmac: they are still not even close to the amount of public cameras per capita that UK have.
mansi has joined #ruby
huttan has joined #ruby
<bootcoder> My final interview with Dev Bootcamp is toady. Anyone care to persuade / dissaude on the merits of going to such a school...
jhulten has quit [Remote host closed the connection]
xk_id has quit [Quit:
<Tr_OLL> bootcoder: it's today not toady
jcromart_ has joined #ruby
<Spitfire> bootcoder, do you get a recognised qualification from them?
<jblack> How much is it, bootcooder?
<bootcoder> Spitfire: no they do not offer any kind of degree. but claim a 90% job placement in jr level
<Tr_OLL> bootcoder: yes that's right i would say that's 1 point for me
<jblack> I don't trust those kinds of schools.
jhulten has joined #ruby
<Tr_OLL> i'm a good troll though
<Spitfire> lol
noop has joined #ruby
gcds has joined #ruby
<bootcoder> Tr_OLL: troll success
<Spitfire> jblack, $12,200 I believe.
divi_ has joined #ruby
<jblack> Maybe it is toady....
<Tr_OLL> not a bad guy
decoponio has quit [Quit: Leaving...]
<bootcoder> jblack: whys that?
pu22l3r__ has quit [Remote host closed the connection]
<jblack> They might help if you need to be spoonfed information, but you're in the wrong field if you need to be spoonfed.
<Tr_OLL> bootcoder: because i am a troll.
<AntelopeSalad> ruby devs seem to have a good knack for naming things, how would you guys label an html table column that contains both an icon + name of something that would be technically described as a class or model but in less technical wording?
<bootcoder> i mean I can teach myself but it will take wayyy longer. And I'll have a harder time getting a job
mansi has quit [Ping timeout: 272 seconds]
pu22l3r has joined #ruby
<jamesnelson> I've hired people from coding schools before - they're no better prepared than someone who just bit the bullet and pitched in on an open source project or two
<jblack> A good way to get recognition is to work on free software.
pothibo has quit [Quit: pothibo]
RichardBaker has quit [Quit: RichardBaker]
<Tr_OLL> or become a troll like me.
<jamesnelson> I cut my teeth doing linux kernel stuff
SHyx0rmZ has joined #ruby
<jamesnelson> that got enough published work out to get me my first paying gig
maletor has quit [Quit: Computer has gone to sleep.]
<Spitfire> jamesnelson is a man of many talents.
<Tr_OLL> jamesnelson: shame on you
<jblack> One problem is that that schools like that tend to focus on older technologies. It takes time to build a curriculim. Our field moves faster than that.
drPoggs has quit [Ping timeout: 243 seconds]
<Spitfire> dentistry... music...
jhulten has quit [Read error: Connection reset by peer]
jhulten_ has joined #ruby
drPoggs has joined #ruby
qz has quit [Ping timeout: 264 seconds]
skaflem has quit [Quit: Leaving]
qz has joined #ruby
qz has joined #ruby
qz has quit [Changing host]
<bootcoder> The curriculim is heavy RoR and JS
<Tr_OLL> bootcoder: sounds good to me
xk_id has joined #ruby
<jblack> Also, they usually have very little impact upon hiring. A lot of the people that come out of short tech schools (<= 6 months) are usually more trouble than they're worth.
brtdv has quit []
<jblack> They think they know more than they do, they can be stubborn and arrogant. I'm sure you're an exception, but it's a bias you'll have to deal with from others.
jkamenik has joined #ruby
<Tr_OLL> i at least admin i'm a troll
RaCx has joined #ruby
<jblack> Wow, you're a troll admin? There's a position for that?
Bira has joined #ruby
noop has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
<bootcoder> so save the money and just learn on my own... whats a realistic timeline to go from noob to paid dev
<Lewix> bootcoder: I did it in two months
<jblack> That's highly dependent upon your intelligence, dedication, commitment and memory
brtdv has joined #ruby
pu22l3r has quit [Ping timeout: 268 seconds]
<Spitfire> bootcoder, if you were looking at RoR/JS, I'm guessing you want to do web dev?
<Tr_OLL> bootcoder: take his advice or join me to become the next generation of trolls
<bootcoder> so far i worked through Learn Ruby the hard way as well everything on codecademy.com
jkline has quit [Quit: jkline]
<jblack> If you learn quickly, study 3-4 hours a day, get involved in free software projects, about 6 months.
<Tr_OLL> Spitfire: bad assumption. the two languages go way farther than just web
<jblack> Six months to enter the field on the low end, mind you.
<Lewix> There are a lot of factors involved , you cannot really put a timeframe on that.
<bootcoder> there seems to be alot of job demand in web development so yes. im not really tied to anything, I need a new line of work and I think this would be a good one
<Hanmac> bootcoder: was the curriculim named "rails" or something similar in the name or in the discription? if no, that it is not fair to ask rails questions … its like asking an pilot how to drive a submarine
<Spitfire> Tr_OLL, hence asking. Hush now, the adults are talking.
<jblack> It takes about a decade of solid work to become a solid programmer.
<jblack> A solid, well rounded, has all the bases covered one.
<Lewix> bootcoder: If it's just for work and you don't actually enjoy it, the learning curve is gonna be higher for sure
<Tr_OLL> Spitfire: this is what i do, and why i am here. take it as free entertainment service.
<jamesnelson> yep - I've got 7 years of professional experience, and about 4 years of OSS work before that
* Hanmac pings apeiros
<Spitfire> bootcoder, you can make a bit of money on the side while learning, by doing odd jobs for people. People are often looking for a web dev to do a one-off project/small bit of work.
<Spitfire> That also makes your CV look better when you come around to applying for positions.
<Tr_OLL> give him some real examples of work when you say that
<Tr_OLL> help the poor soul
<jblack> Yeah. I'd take on someone with lots of minor contributions to free software over a trade school any day of the week.
<jblack> It's not even close
simplex_ has joined #ruby
<bootcoder> I think I will enjoy it. I like what ive done so far. although i dont have any practical knowledge just yet. so I cant really build things. I think I will like it much more once I cross a threshhold of being able to produce useful code
<Tr_OLL> jblack: don;t be a d to young man
<Lewix> Spitfire: odd jobs?
gcds has quit [Quit: gcds]
<jblack> Sure, use it as a way to get started. =)
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jblack> Tr_OLL: I'm not. He asked. =)
<jamesnelson> do documentation - it's thankless but a real learning experience
<jblack> oh man, that's a wide open field there...
<jblack> That's excellent advice jn is giving you, bootcoder
<Tr_OLL> jblack: i think you're way too harsh on him. give him some break
nomenkun has joined #ruby
tjaco has quit [Ping timeout: 260 seconds]
gcds has joined #ruby
pu22l3r has joined #ruby
<bootcoder> How about job happiness. Do you guys have it? How long have you been in?
mmcdaris has joined #ruby
<Tr_OLL> no one has life
yvemath has quit [Quit: ZNC - http://znc.in]
ldnunes has quit [Quit: Leaving]
<jamesnelson> you can find my email address in the linux kernel documentation in a few places still fromwork I did 7 years ago
<Tr_OLL> whoever's in this channel got no life bootcoder
<jamesnelson> my new job is awesome, but it took a few years of crap jobs to get there
ukd1 has joined #ruby
maletor has joined #ruby
simplex_ has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
<jblack> bootcoder: yeah, sometimes you get stuck with a lemon client for a while, but once you've broken through, it's a good life.
<bootcoder> crap job == debugging || crap job == bad workplace
lfox has quit [Quit: ZZZzzz…]
<jblack> if you think debugging is a crap job.....
<bootcoder> idk what make a crap job
<Tr_OLL> bootcoder: you need to take 101 again. you're missing quotations
Targen has quit [Quit: No Ping reply in 180 seconds.]
<jamesnelson> crap jobs are ones with tyrant bosses, unrealistic expectations, unpaid overtime, death marches to reach artificial goals, working without specs, no surce control system, no QA team
<jblack> bootcoder: lack of empowerment. lack of respect.
kindjal has joined #ruby
Targen has joined #ruby
<Tr_OLL> better be a troll than having a crap job
fuzzyhorns1 has joined #ruby
<bootcoder> so its more a function of where you work thenur job as to the quality of y
fuzzyhorns has quit [Ping timeout: 240 seconds]
kevinfagan has joined #ruby
<Tr_OLL> write that question in code bootcoder
<bootcoder> *so its more a function of where you work then as to the quality of your job
<Tr_OLL> write it in ruby or js
<jblack> bootcoder: Who you deal with is definitely a bit part of the metric
<jblack> s/bit/big
mark_locklear has quit [Ping timeout: 264 seconds]
jamblack has joined #ruby
<Spitfire> apeiros, yo?
end_guy has quit [Ping timeout: 240 seconds]
<maurogoncalo> By the way, where should we look for odd jobs to do on the side?
<jblack> You don't want to work for a micromanaging detail oriented boss. Steve Jobs may gotten some nifty things into the market, but he was a borderline slaver.
Soda has quit [Read error: Connection reset by peer]
<Tr_OLL> jblack: that's it? no more insane advice from you?
RaCx has joined #ruby
end_guy has joined #ruby
tonni has joined #ruby
<bootcoder> jblack: thanks
<jblack> maurogoncalo: Most of my work comes from references
codenapper has quit [Read error: Connection reset by peer]
randomnick_ has joined #ruby
codenapper has joined #ruby
<jblack> What they say about not burning bridges is true.
<jamesnelson> Craigslist can get you some work, but it's full of "ideas men" who think they're the next Steve Jobs, just need a programmer to implement their big ideas
<Spitfire> sepp2k, you around?
<Spitfire> jamesnelson, lol, I know so many people like that, heh.
<jamesnelson> avoid them like the plague - I earned an ulcer working for one of them
<sweeper> and they will usually want to pay with equity or some other monopoly money >.>
robwilliamsuk has quit [Quit: http://www.youtube.com/watch?v=z99iVXJ8OtA]
<jblack> Oh god not ideamen.
<Spitfire> and they'll probably blame you when their idea doesn't take off like they expected.
robwilliamsuk has joined #ruby
<bootcoder> pitch for amc's new show
<jblack> Idea men that have no coding experience at all..
<jamesnelson> or even better, were "java programmers" during the .com era
nhmood has joined #ruby
<jblack> "What do you mean we can't just scrape every secretary of state website for every business in america this weekend?"
colonolGron has quit [Read error: Operation timed out]
<jblack> "It's a great idea!I can see the businesses right there and it's all free!!!"
<Tr_OLL> stop it
<sepp2k> Spitfire: Yeah, what's up?
<Spitfire> sepp2k, could you deal with Tr_OLL please.
test___ has joined #ruby
<jblack> Yes, please.
<bootcoder> Tr_OLL: bye
<jblack> You're not even a particularly talented troll. You're just acting obnoxious
funburn has joined #ruby
Tr_OLL is now known as rubylover
<rubylover> what have i done?
<rubylover> i love ruby
<bootcoder> mildly funny
<bootcoder> just the last bit though
earthquake has quit [Quit: earthquake]
<rubylover> "practice makes perfect"
mansi has joined #ruby
Speed has joined #ruby
rubylover is now known as bookcoder
<apeiros> bookcoder: please leave
IceDragon_ is now known as IceDragon
<bootcoder> I'm thinking I am going to do the school still. It's a great way to jumpstart the transition into development in a group environment. Pricey yes, but if it lands me a decent entrylevel gig by this time next year I will be happy.
<jamesnelson> just be prepared to do side work
pu22l3r has quit [Remote host closed the connection]
joelroa has joined #ruby
<jamesnelson> most schools leave you with blind spots
<bookcoder> let me tell you where you get the real freelancer job
<bookcoder> oDesk.com
pu22l3r has joined #ruby
<jamesnelson> I got interviewed for a Google SRE job, and they specifically were loking for self-taught programmers because of the problems you can run into with institutional blind spots
bassclef has joined #ruby
bassclef is now known as Guest66421
<bookcoder> bootcoder: what school do you go to?
<banisterfiend> jamesnelson not as large as the blind-spots of self-taught programmers, IMO ;)
<banisterfiend> jamesnelson specifically: Math, and algorithms
<bootcoder> I know its not all inclusive but if i can get into the feild and start learning as I go.... I live in a small town, so there's no access to ruby meetups ect.
<jamesnelson> true - that's why they put you through the interview grinder
<bean__> *shrug* you dont really need a ruby meetup.
Soda has joined #ruby
<jamesnelson> my math is crap - that's why I'm a webdork
<bean__> we live in the age of the internet broski
RaCx has quit [Quit: Computer has gone to sleep.]
brtdv has quit []
<banisterfiend> bootcoder have you checked out private schools like general assembly etc
timonv has quit [Remote host closed the connection]
colonolGron has joined #ruby
<bookcoder> ruby meetups have absolutely zero value
<bootcoder> im looking at dev bootcamp or the flatiron school in NYC
<banisterfiend> bootcoder General assembly is based in NYC too
niklasb_ has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
<bookcoder> youtube and books are your best resources
<bootcoder> what would make GA a better choice?
pu22l3r has quit [Ping timeout: 268 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<bookcoder> I think GA is a bitch
<banisterfiend> bootcoder i didn't say it was a better choice necessarily, but toss it into the pile for your consideration
<banisterfiend> bootcoder how come?
<bookcoder> no thanks
<bootcoder> any exp. with them?
<banisterfiend> err bookcoder i meant, why are they a bitch? just curious
<banisterfiend> (dang, u guys have almost exactly the same nick)
<bootcoder> why Dev bootcamp? well they were the first in the feild. they have been doing these classes now for three years with good results. Seems to me they have ironed out alot of the bugs in the system...
bootcoder is now known as HunterT
<HunterT> fixed
theRoUS has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
llort was kicked from #ruby by apeiros [stay away]
llort has joined #ruby
llort was kicked from #ruby by apeiros [stay away]
<goodeveningmiss> lol are you repeatedly kicking the wrong person?
<apeiros> 3 tries… srsly…
<apeiros> goodeveningmiss: no.
<s2013> just ban the ip
RaCx has joined #ruby
<goodeveningmiss> oh okay. I have no idea what that is.
<apeiros> I may fail at setting the right banmask, I don't fail at recognizing the ip
<Hanmac> s2013: data["commits"].map {|h|h.values_at("message","sha")}
<goodeveningmiss> I mean, whatever those lines mean
pedda has joined #ruby
heidi-ramen is now known as heidi
<apeiros> goodeveningmiss: check the IP.
timonv has joined #ruby
<s2013> apeiros, /ban *!*@*/ip.69.165.153.77
<s2013> something like that
pedda has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
<s2013> hanmac, thanks let me try that
<apeiros> s2013: the last one was correct
<apeiros> /mode #ruby +b *!*@*ip.69.165.153.77
<goodeveningmiss> anyways, bootcoder: https://www.hackerschool.com might be something you're interested in?
<s2013> cool yea
kaspergrubbe has joined #ruby
<bootcoder> ok I will check it out
<Hanmac> apeiros: hm shount you unban the first two wrong ones?
<s2013> hanmac, its the same thing essentially
<bootcoder> there seem to be a ton of these schools poping up
<s2013> bootcoder, what are you asking about? im familiar with tehse 'schools'
<s2013> hanmac, no implicit conversion of String into Integer
<bootcoder> I'm applying to devbootcamp in SF just wanted some input from actual dev's
<bootcoder> 12k is alot to drop without research
lfox has joined #ruby
<s2013> nvm. got it now hanmac thanks
<s2013> bootcoder, what is your end goal?
pragmatism has quit [Quit: Leaving...]
<bootcoder> new path in life. hopefully something I will enjoy as well as pays the bills. I've been in print for the last 7 years and I have to get out
coca_rails has joined #ruby
yfeldblum has joined #ruby
<s2013> i didnt need philosophical answer.. is it to get a job?
<s2013> or just learn for fun
<bootcoder> yes to get a job hopefully a decent one
<sweeper> 12k is enough to live on for several months....
<s2013> do you have a degree?
<s2013> sweeper, its 12k for a course
<bootcoder> no
<s2013> not pay
<s2013> but yeah if you are good, you should get some entry level jobs
<sweeper> s2013: right. what I'm saying is, he could not pay, and eat ramen, and code something awesome on his own
kaspergrubbe has quit [Ping timeout: 264 seconds]
<s2013> but he has to pay
<s2013> sweeper, true, sorry misunderstood
jcromart_ has joined #ruby
ReachingFarr has quit [Ping timeout: 245 seconds]
<bootcoder> right now im not good. I have a basic knowledge of the language but no practical knowledge whatsoever
<s2013> bootcoder, if you work hard you can learn good enough from those bootcamps
<s2013> to get an entry level job
<s2013> but if you can be selftaught then you can learn yourself, hire a tutor to come in once a week
<s2013> and save like 75%
<sweeper> or if there's a local ruby group, pay nothing :3
<s2013> plus once you get over the basic hump then stuff becomes easier to understand and debug
<s2013> plus this channel would help too
imadalin_ has quit [Quit: Hard work pays off in the future, laziness pays off now]
<bootcoder> how difficult is it for a self taught to get an entry level position?
<sweeper> find a project you can be passionate about, that many people would find useful
<sweeper> bootcoder: not at all
<s2013> bootcoder, depends on many factors
<s2013> im stupid and i have a six figure income
<s2013> so if i can do it, anyone can
<sweeper> if you're a heavy GH contributor, you can get an entry level job
<bootcoder> what do you do? and how did you get there?
<bootcoder> havnt used gh at all yet
staafl has joined #ruby
<s2013> i started my own company while in college
<sweeper> k you need to learn that stat
<s2013> but i decided to get a job at a startup
<bootcoder> just finishing LRTHW
<s2013> to tr to accelerate my learning
coca_rails has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
<s2013> learn ruby the hard way?
<bootcoder> yes
ringtiny has joined #ruby
<bootcoder> made it through with little trouble. although test::unit is a bit difficult
<near89> hi
iliketurtles has quit [Quit: zzzzz…..]
aetaric has quit [Ping timeout: 264 seconds]
<near89> im creating ruby prepared statements
<near89> i do "check_resource = con.prepare "SELECT user,clave from resource..."
Clooth has quit [Quit: Leaving...]
Naoe-Kanno has joined #ruby
<s2013> bootcoder, yeah contribute to some open source stuff
pushpak has joined #ruby
<near89> then I do check_resource.execute params..
elux has quit [Quit: Leaving...]
<s2013> work on your own projects
<s2013> and publish it
<near89> is there a way to have the real query string ?
<sweeper> bootcoder: you can contrib to my project, it's pretty easy
simplex_ has joined #ruby
<near89> like check_resource.explain
funburn has quit [Quit: funburn]
<sweeper> could use some maintenance work :#
bigoldrock has quit [Ping timeout: 260 seconds]
mmcdaris has quit [Quit: mmcdaris]
earthquake has joined #ruby
<sweeper> it's pretty stinking simple
leynos has joined #ruby
<s2013> bootcoder, i went from knowing nothing about ruby/rails to winning first place in an international competition
<s2013> for ror/ruby
SHyx0rmZ has quit [Ping timeout: 240 seconds]
<near89> does anyone know?
<bootcoder> well I apprciate the input guys. My interview is in an hour so I'm going to review on codecademy for a bit... I will be back with acutal ruby questions soon. Wish me luck
<sweeper> near89: ask the people who make the driver you're using
<s2013> good luck
<sweeper> bootcoder: good luck \o
<sweeper> may the farce be with you
Clooth has joined #ruby
<bootcoder> Thanks
bootcoder has left #ruby [#ruby]
failshell has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 265 seconds]
jamesnelson has left #ruby [#ruby]
failshell has joined #ruby
banjara has joined #ruby
cody-- has quit [Quit: derp]
aetaric has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
<near89> so you dont know?
<near89> i thought it was simple
<near89> nobody uses the mysql-client driver for ruby ?
kpshek has quit []
<near89> require 'mysql'
funburn has joined #ruby
ringtiny1 has joined #ruby
goodeveningmiss has left #ruby [#ruby]
mark_locklear has joined #ruby
<Hanmac> near89 i dont know one who uses mysql-client directly … most users are using ORM like stuff where the db-driver can be easily replaced
ukd1 has quit [Remote host closed the connection]
whomp has joined #ruby
ukd1 has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
wildroman has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
<whomp> what's the nicest way to cut a smaller 2-d array out of a larger 2-d array? my best atm is array[(i-1)..(i+1)].map{ |row| row[(j-1)..(j+1)] }
r0bby_ has joined #ruby
wildroman has joined #ruby
Seich_ has joined #ruby
kpshek has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 264 seconds]
ReachingFarr has joined #ruby
frustrum has joined #ruby
pragmatism has joined #ruby
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frustrum has quit [Client Quit]
ringtiny has quit [Ping timeout: 264 seconds]
zzz_taion809 is now known as taion809
whunt has joined #ruby
<whomp> anyone?
<whomp> bueller?
tbrock_ has joined #ruby
gcds has quit [Read error: Connection reset by peer]
yalue has quit [Quit: Leaving]
<MrZYX> hm, I don't think you can get better than this
<Hanmac> whomp you can try this (change the "…" into 3x".", stuipd mac shit ) array.each_with_index.lazy.select {|_,idx| (i-1)…i === idx}.map {|row| row[(j-1)…j] }.force
ukd1 has quit [Ping timeout: 265 seconds]
greenrose1 has joined #ruby
wildroman has quit [Ping timeout: 272 seconds]
tonni has quit [Read error: Connection reset by peer]
gcds has joined #ruby
<whomp> what are some advantages of that?
<s2013> are there good linear algebra libraries in ruby
<s2013> similar to numpy?
kaspergrubbe has joined #ruby
<apeiros> a...b
greenrose has quit [Ping timeout: 240 seconds]
<apeiros> hanmac: seems to be a setting of your irc client to turn ... into a proper ellipsis
<apeiros> (usually a good thing - not for us ruby coders, though)
elux has joined #ruby
CaptainKnots has quit [Quit: bazinga!]
<lnormous> Anyone got any experience with rgeo?
jkamenik has quit [Quit: Leaving.]
timonv has quit [Remote host closed the connection]
CaptainKnots has joined #ruby
<Hanmac> apeiros: did you know that all this shittty mac programs does NOT support "paste as simple plain text" ? … i mean i download gedit do get something where i can pastie my stuff into without the text getting formated …
sambao21 has joined #ruby
timonv has joined #ruby
<apeiros> hanmac: no idea what you're talking about - I've never had troubles getting my text copy & pasted
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michele2 is now known as ycy
ehc has joined #ruby
Bira has quit [Remote host closed the connection]
<apeiros> I don't use gedit, though
bigoldrock has joined #ruby
sambao21 has quit [Client Quit]
funburn has quit [Quit: funburn]
Tuxist has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
<Hanmac> hm maybe its only a problem of the irc client … when i copy something that has a <a> element inside, it does does not print the text, but it does print the link
divi_ has joined #ruby
Bira has joined #ruby
simplex_ has quit [Quit: simplex_]
<apeiros> hanmac: osx copy & paste is multi-format capable. it can have the same thing in different representations. the application getting the paste command decides which format to use.
timonv has quit [Ping timeout: 260 seconds]
<apeiros> maybe your irc client provides a html and a plaintext version
pr0ggie has quit [Ping timeout: 240 seconds]
Jetchisel has joined #ruby
pr0ggie has joined #ruby
pdimitrov has quit [Ping timeout: 268 seconds]
zarubin has joined #ruby
pdimitrov has joined #ruby
tonni has joined #ruby
silent_root has quit [Ping timeout: 246 seconds]
iamjarvo_ has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
leynos has quit [Quit: Off to dreams of Laserdiscs and Neo-Geos]
iamjarvo_ has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
iamjarvo has quit [Read error: Connection reset by peer]
Catie has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
jbpros has joined #ruby
funburn has joined #ruby
gcds has joined #ruby
<Hanmac> apeiros: yeah it does, but unlike pidgin, this "clone" does not differ between them … so you cant choose "pastie as plaintext version"
kaspergrubbe has quit [Remote host closed the connection]
Catie has joined #ruby
Seich_ has quit [Quit: Computer has gone to sleep.]
banjara has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
Seich_ has joined #ruby
brtdv has joined #ruby
funburn has quit [Client Quit]
banjara has joined #ruby
nateberkopec has joined #ruby
bigoldrock has quit [Ping timeout: 272 seconds]
ukd1 has joined #ruby
banjara has quit [Client Quit]
jibi has joined #ruby
freezey_ has quit [Read error: Connection reset by peer]
<s2013> damn. i need to convert an array of hash into a hash
banjara has joined #ruby
freezey has joined #ruby
jbpros has quit [Client Quit]
adambeynon has joined #ruby
samfisher has quit [Quit: exit error code 434]
gcds has quit [Read error: Connection reset by peer]
Seich_ has quit [Ping timeout: 260 seconds]
kaspergrubbe has quit [Ping timeout: 260 seconds]
kevinfagan has quit []
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Seich_ has joined #ruby
gcds has joined #ruby
pyrac has quit [Quit: pyrac]
cody-- has joined #ruby
timonv has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
drumusician has joined #ruby
VTLob has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
<bricker`work> s2013: array.inject { |hash, cumulative| cumulative.merge(hash) }
einarj has quit [Ping timeout: 240 seconds]
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
gcds has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
einarj has joined #ruby
sepp2k1 has quit [Read error: Connection timed out]
<s2013> thanks bricker`work letm e chekit
gcds has joined #ruby
sepp2k has joined #ruby
Bira has quit [Remote host closed the connection]
einarj has quit [Client Quit]
<mjc_> anyone going to rubyconf this weekend?
Deele has quit [Ping timeout: 260 seconds]
simoz has quit [Ping timeout: 264 seconds]
gcds has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
banjara has quit [Client Quit]
Shidash has quit [Ping timeout: 246 seconds]
danshultz has joined #ruby
gcds has joined #ruby
banjara has joined #ruby
iliketurtles has joined #ruby
banjara has quit [Client Quit]
<a1ph4g33k> mjc_, I wish.
asobrasil has left #ruby [#ruby]
aa47f8_ has quit [Quit: aa47f8_]
<mjc_> I'm a local, so it's a no brainer
<mjc_> curious who else will be there
banjara has joined #ruby
jaimef has quit [Excess Flood]
banjara has quit [Client Quit]
timonv has quit [Remote host closed the connection]
kevinfagan has joined #ruby
verto has quit [Ping timeout: 268 seconds]
timonv has joined #ruby
banjara has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
benzrf has joined #ruby
<benzrf> hello
gcds has quit [Client Quit]
<TorpedoSkyline> hello benzrf
<benzrf> how does `a, b = 1, 2` work if `1, 2` by itself is not a valid expr?
<jrhorn424> What's the idiom for inspecting the methods of an object and that objects' direct ancestor only? so `class Foo < Bar; end`, I want to see methods only from Foo and Bar.
kaspergrubbe has joined #ruby
<Hanmac> benzrf: black magic
<benzrf> hanmac: so it is special syntax
<TorpedoSkyline> lol hanmac =P
gcds has joined #ruby
<benzrf> in general, 'foo, bar' on the rhs of assignment magically becomes an array?
<Hanmac> benzrf: it is even more funy when you have something like a,*b, c = *1..4
nemesit|znc has quit [Ping timeout: 240 seconds]
<benzrf> god dammit
<benzrf> why does ruby have so much magic
r0bby_ has quit [Read error: Operation timed out]
<benzrf> at this rate im just gonna stick with my DECIDEDLY NONMAGICAL python
<jrhorn424> benzrf: cuz it's pretty
allaire has quit []
Bira has joined #ruby
<TorpedoSkyline> benzrf you don't have to use it you know ;P
<jrhorn424> well, with an attitude like that... ;)
<benzrf> i kid
<TorpedoSkyline> it == magic aspects
<jrhorn424> benzrf: wait, was that a dig at python? :)
<benzrf> no
<benzrf> but
<benzrf> non-shitty HOFs are too nice to not have
timonv has quit [Ping timeout: 246 seconds]
<Hanmac> just image how much magic you as a scripter can add without breaking the syntax …
<benzrf> eh
<Hanmac> like for sample obj.() is valid ruby ;P
<benzrf> i feel like ruby is more messy than python
<benzrf> but otoh python is a little too clean sometimes
kpshek has quit []
simplex_ has joined #ruby
jaimef has joined #ruby
<a1ph4g33k> jrhorn424, you could do Foo.methods( false ) + Bar.methods( false )
harumph has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
simplex_ has quit [Client Quit]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
nemesit|znc has joined #ruby
TMM has quit [Quit: Ex-Chat]
<benzrf> does ruby have well-defined nonmagical protocols for things like unpacking
<jrhorn424> a1ph4g33k: awesome. i haven't used + for arrays. neat!
<Hanmac> benzrf: for fun: SomeClass.instance_method(some_func).bind(some_object).call(some_args) with that you can bypass the ancestor chain ;P
<benzrf> hanmac: well that is hardly magical
<apeiros> benzrf: any sufficiently analyzed magic is undistinguishable from science
<jrhorn424> hanmac: that sounds like something I'd want to do... for performance?
<Hanmac> jhorn424 arrays also support ^ for xor and & for and and | for or
<benzrf> hanmac: that's just unpleasantly introspective
<jrhorn424> nice!
<benzrf> hanmac: for that matter I can do this in python:
<Hanmac> apeiros: *Terry Pratchett reader detected*
<benzrf> oh wait one sec
<apeiros> hanmac: Girl Genius reader
elux has quit [Quit: Leaving...]
<Hanmac> is the same
Xicor has joined #ruby
<apeiros> though, Terry Pratchet is on my list of readers
<benzrf> apeiros: do you not read pratchett
<apeiros> *writers
<apeiros> +to read
<apeiros> f*ck, why am I so tired? :-|
<Hanmac> you should begin … before he writes "yetAnotherBook" ;P
<benzrf> alright
<benzrf> magic != horrific evil abuse of internals
<benzrf> for example i can do this in python
<benzrf> but thats not magic
Xicor has quit [Client Quit]
<apeiros> so much __, so wow
<benzrf> oh wait
<benzrf> that's a console log
<benzrf> crud
<benzrf> -.-
<Hanmac> benzrf: you want to see horrific evil abuse? https://github.com/yugui/evil-ruby/blob/master/lib/evil.rb <<
<apeiros> and string.join(array) will probably never cease to amaze me
<Hanmac> benzrf: with that you can change the INTERNAL class of objects ;P
<benzrf> apeiros: you can use any iterable with that
<benzrf> apeiros: whereas iterable.join would require separate stuff
pel_daniel1 has joined #ruby
<apeiros> benzrf: ruby simply puts it into Enumerable
<benzrf> hanmac: christ
<benzrf> apeiros: makes sense
<apeiros> bam, anything which has each can have it.
<apeiros> and usually if you have each, you have Enumerable
<Hanmac> and if you have <=> you have Comparable ;P
<benzrf> neat
<jrhorn424> not sure that's what I want, hanmac and a1ph4g33k. https://eval.in/60649
* Hanmac wanted to write an script that automatic includes Enumerable and Comparable into classes where each and/or <=> are defined
<benzrf> hanmac: use haskell
rylev has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
<Hanmac> jrhorn424: hm oyu need instance_methods
<jrhorn424> hanmac and a1ph4g33k n/m
pel_daniel has quit [Ping timeout: 245 seconds]
<jrhorn424> yes! :)
<jrhorn424> thanks
dEPy has joined #ruby
<benzrf> hanmac: muh typeclasses
<a1ph4g33k> jrhorn424, try instance_methods instead of methods
burgess has joined #ruby
<benzrf> ok here is a proper paste:
<benzrf> not that it is useful, but could you do this in ruby?
<benzrf> jw
rylev has quit [Remote host closed the connection]
<benzrf> and if not what is the equally horrific feat you could accomplish
mrsolo has quit [Quit: This computer has gone to sleep]
<apeiros> sure
<Hanmac> benzrf: look what kind of script i did today: https://bugs.ruby-lang.org/issues/9076#note-9
<apeiros> see Object#method_missing and #instance_eval
<benzrf> apeiros: ok
sergicles has quit [Quit: sergicles]
<benzrf> regular vars are entirely separate from attrs, right?
wchun has quit [Quit: Leaving]
test___ has quit [Quit: Page closed]
Lean_ has quit [Quit: Saliendo]
<a1ph4g33k> jrhorn424, instance_methods worked more appropriately.
<Hanmac> benzrf: PS when you see method_missing look at its "younger" brother respond_to_missing?
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
nhmood has quit [Quit: alice.]
<apeiros> benzrf: define attrs
dEPy has quit [Ping timeout: 246 seconds]
<apeiros> benzrf: attr_* defines new methods, which access instance variables
RaCx has quit [Quit: Computer has gone to sleep.]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
<benzrf> @foo
TripleDES has joined #ruby
<Hanmac> with attr and its siblilings ruby code will get "meta" ;P
<benzrf> i am aware of the basic workings of attr_foo
vlad_starkov has joined #ruby
<benzrf> mostly
angusiguess has quit [Ping timeout: 245 seconds]
maurogoncalo has quit [Quit: Leaving...]
ringtiny has joined #ruby
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
m4rcu5 has quit [Ping timeout: 260 seconds]
TripleDES has quit [Client Quit]
<benzrf> bbl
benzrf has left #ruby [#ruby]
<Hanmac> first you write code with meta functions, then you write meta functions, and later you write functions that generate meta functions … and then later you writing C macros because you can and no one did stop you
carraroj has quit [Quit: Konversation terminated!]
carif_ has joined #ruby
ehaliewicz has joined #ruby
nomenkun has quit [Ping timeout: 272 seconds]
<Apane> My ruby fellows, any idea what's happening here? https://gist.github.com/anonymous/62ba0c84567add9b3a3d
<Apane> not quite sure how to fix'er
ringtiny has quit [Client Quit]
claymore has quit [Quit: Leaving]
<Hanmac> Apane: make a pastie of the extconf.rb script
thecopy has quit [Quit: thecopy]
ringtiny1 has quit [Ping timeout: 265 seconds]
<Apane> hanmac, alright
nhmood has joined #ruby
m4rcu5 has joined #ruby
ccolorado has joined #ruby
cascalheira has joined #ruby
nhmood has quit [Client Quit]
nhmood has joined #ruby
breakingthings has quit []
postmodern has joined #ruby
joshu has quit [Ping timeout: 264 seconds]
TripleDES has joined #ruby
lsmola has quit [Ping timeout: 260 seconds]
simplex_ has joined #ruby
xtristan has joined #ruby
jberlinsky has joined #ruby
c0rn has joined #ruby
<banisterfiend> hanmac and then the good people come out and haul u away
coca_rails has joined #ruby
fijimunkii has quit [Ping timeout: 245 seconds]
<xtristan> I'm using Sinatra to create an interface to an SSH tunnel to pass commands over (iptables, tc, other QA-tools) and need to keep the SSH-master session alive. How can I keep an object from getting garbage collected after a route block is complete? Basically, I think I want to pass my SSH connection object to a global variable.
Kamuela has joined #ruby
<Kamuela> What's the best way to learn Ruby 2.0?
kaspergrubbe has quit [Remote host closed the connection]
joshu has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
kaspergrubbe has joined #ruby
dhruvasagar has quit [Ping timeout: 265 seconds]
<godd2> Kamuela: depends on how you learn. Also, are you trying to learn Ruby from scratch or from a previous version?
Bosox20051 has quit [Read error: Connection reset by peer]
zipper has quit [Ping timeout: 264 seconds]
hashpuppy has quit [Quit: Computer has gone to sleep.]
drumusician has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
<s2013> if i have an array of objects and i want to get all the unique values of array.foo for example
<s2013> whats the best way to do it?
vlad_starkov has joined #ruby
hashpuppy has joined #ruby
<xtristan> array_name.uniq
<Hanmac> s2013: there is a uniq method
ukd1 has quit [Quit: Leaving...]
<godd2> Array#uniq will return an array with uniq values, but leave the array you called it on untouched
<xtristan> also likely the first thing you google
<godd2> Array#uniq! will modify the array that called the method
maurogoncalo has joined #ruby
<apeiros> never forget: #uniq! may return nil
<s2013> hanmac, yeah i know
<s2013> this is what i ended up doing
<Kamuela> godd2: skratcchhhhhh
jamblack has quit [Quit: jamblack]
<s2013> array.map { |x| x.foo }.uniq!
<s2013> but im not sure thats the best way
<apeiros> s2013: it's not.
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
hiyosi has joined #ruby
<apeiros> use uniq not uniq! there.
reset has quit [Quit: Leaving...]
<s2013> okay well uniq
<apeiros> since - as I said - uniq! can return nil
<s2013> right
<s2013> i did use uniq actually. just put uniq! to show i saved it
<s2013> but i mean is there another way
<godd2> Kamuela: There are quite a few resources for learning Ruby, and I'd recommend looking at each of them to decide. Rubymonk.com and codecademy.com are interactive language learning websites.
iamjarvo has quit [Ping timeout: 273 seconds]
<apeiros> other than that, it looks good
<s2013> k cool
frustrum has joined #ruby
<Hanmac> s2013: look also at array.uniq {|x| x.foo }
<godd2> Kamuela: as for books, there's the seminole Pickaxe book from the Pragmatic Programmers, and many other books
<s2013> k let me try that
kaspergrubbe has quit [Ping timeout: 272 seconds]
<s2013> hanmac, that returns the objects
<s2013> not the values
<godd2> Kamuela: as for video tutorials, although it costs money to watch them, I love the Lynda.com video tutorials. That's how I learned
yfeldblum has quit [Remote host closed the connection]
havenwood has joined #ruby
dma has joined #ruby
<Hanmac> s2013: yeah, but maybe you wanted that later for something else
<Apane> hanmac, appears to be an empty doc?
yfeldblum has joined #ruby
Clooth has quit [Quit: Leaving...]
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dma is now known as Guest14134
<s2013> thanks hanmac
mmcdaris has joined #ruby
simplex_ has quit [Quit: simplex_]
<Kamuela> godd2: do they teach ruby 2 from scratch?
catphish has joined #ruby
aaroncm_ has quit [Remote host closed the connection]
<Hanmac> Apane, that shouldnt be … maybe you did something wrong?
<godd2> Kamuela: the majority of what you'll learn is good for all the most recent versions of Ruby
<godd2> and for everything else, there's changelogs
<Kamuela> is 2.0 deep stuff? or is it some fundamental stuff?
hiyosi has quit [Ping timeout: 245 seconds]
fijimunkii has joined #ruby
mansi has quit [Remote host closed the connection]
<near89> hi
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<near89> i have a question about how to design a program in ruby
<godd2> Kamuela: what programming languages are you familiar with? Or would this be your first one?
mansi has joined #ruby
<near89> how would you setup a program that would only be able to execute once per client
soheil has quit [Remote host closed the connection]
<Kamuela> godd2: python a bit, and a lot of C-based stuff
soheil has joined #ruby
drag00n has quit [Ping timeout: 264 seconds]
<catphish> could anyone point me in the direction of how to automatically generate instance methods, i want to create something similar to attr_accessor that automatically generates a series of identical getter / setter methods
<shevy> Kamuela ruby and python are rather similar in some ways
<shevy> Kamuela the biggest difference is in regards to philosophy
* Hanmac things that ruby is pythons evil twin sister ;P
colonolGron has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
<Kamuela> shevy: what's that philosophy?
<s2013> hmm how do i add values to a hash key if the values are arrays
<s2013> so { "key" => [[array], [array2]] etc
<s2013> }
duggiefresh has quit [Remote host closed the connection]
<shevy> Kamuela well, ruby tends to impose less rules on the developers
<s2013> if i do hash["key"] = array2 for example it just overwrites it
<shevy> Kamuela you can do cat.meow or cat.meow()
<Kamuela> shevy: doesn't that go against convention over configuration?
duggiefresh has joined #ruby
reset has joined #ruby
mmcdaris has quit [Read error: Operation timed out]
<s2013> cat.send(meow) as wellr ight
<Hanmac> s2013: use << or += []
flops has quit [Quit: leaving]
<shevy> Kamuela everywhere ruby encourages one to use objects
einarj has joined #ruby
lfox has quit [Quit: ZZZzzz…]
freerobby1 has joined #ruby
<shevy> Kamuela that sounds like rails philosophy.
<s2013> ok hanmac let me try. thanks
<Kamuela> shevy: that is, and ok i'm learning it's not the same lol
gcds has quit [Read error: Connection reset by peer]
colonolGron has joined #ruby
<lnormous> s2013: So each key should point to an array of arrays?
<shevy> Kamuela I started with ruby when rails did not exist :D
<near89> anyone?
mva3212 has joined #ruby
devbox_ has joined #ruby
<s2013> trying to get it looking omething similar to that
devbox_ has quit [Client Quit]
zigomir has quit [Ping timeout: 268 seconds]
<godd2> catphish: perhaps object.instance_variable_set and object.instance_variable_get can help?
<shevy> near89 one idea - write into a file to keep track of whether it is running or not. on exit, clean up that file
testing has joined #ruby
bw__ has joined #ruby
bw__ has quit [Client Quit]
testing has quit [Client Quit]
mansi has quit [Ping timeout: 264 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Kamuela> shevy: in learn python the hard way, he really stresses typing the code over and over just to get used to it, and reading code over and over to get used to it
stringoO has quit [Quit: stringoO]
<near89> shevy, that won't work... its like this
pZYchO has joined #ruby
<catphish> i think define_method might be what i want
<Kamuela> shevy: so i guess i'll be doing a lot of that, just wondering what the best code to "get used to" would be
<shevy> Kamuela well, the author of that left ruby years ago. I would not recommend reading from him
<s2013> << would work except if the key has no value
<near89> I need several programs to ask my 1 program about users and passwords
pZYchO has quit [Client Quit]
<near89> this program of mine MUST ask for the password to another service in order
<lnormous> s2013: So like hanmac said, you can just do hash["key"] += []
failshel_ has joined #ruby
<lnormous> Just make sure it's already a 2d array
<near89> if it messes up and ends up writing an old token as a new one, it will stop to work
<s2013> yeah but if the key doesnt exist it throws an error
<s2013> so i guess i need to use conditional
gcds has joined #ruby
<godd2> catphish: if you'd like a quick overview on some nice metaprogramming in ruby, try this: https://rubymonk.com/learning/books/2-metaprogramming-ruby/chapters/25-dynamic-methods/lessons/72-define-method
<Hanmac> s2013: you need to tame your Hash to has a default value or a default proc
<shevy> hehe
kevinfagan has quit []
<shevy> taming a hash :D
coca_rails has quit [Remote host closed the connection]
<Hanmac> the difference: << does not work with default value currectly
<s2013> += just flattens the array
<Hanmac> and default proc makes an hash un-dumpable
<s2013> << adds the array
<s2013> so i think id go with <<
duggiefresh has quit [Ping timeout: 272 seconds]
<s2013> ok let me get it working then i can refactor. thanks a lot
acrussell has quit [Quit: Leaving.]
<near89> any ideas of where to start looking ?
Monie has joined #ruby
Monie has quit [Client Quit]
failshell has quit [Ping timeout: 245 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
near89 has quit [Changing host]
near89 has joined #ruby
near89 has joined #ruby
<xtristan> Solution to my issue was to declare a const and give it a map, then assign the object instantiation to a symbol in the const
tris has quit [Excess Flood]
failshel_ has quit [Ping timeout: 240 seconds]
bw__ has joined #ruby
brtdv has quit []
tris has joined #ruby
colonolGron has quit [Read error: Operation timed out]
dangerousdave has quit [Quit: Leaving...]
jerius has quit [Read error: Operation timed out]
linoj has joined #ruby
niklasb_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
danshultz has quit []
interactionjaxsn has quit [Remote host closed the connection]
bw__ is now known as bw_
interactionjaxsn has joined #ruby
JRizzle has quit [Quit: Leaving]
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TigerWolf has joined #ruby
whomp has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
mark_locklear has quit [Quit: Leaving]
iliketurtles has joined #ruby
platypine has joined #ruby
freerobby1 has quit [Quit: Leaving.]
Monie has joined #ruby
divi_ has joined #ruby
apeiros has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
solars has quit [Ping timeout: 240 seconds]
mmitchell has quit [Read error: Operation timed out]
interactionjaxsn has quit [Ping timeout: 260 seconds]
linojon has joined #ruby
bean__ has joined #ruby
gcds has quit [Quit: gcds]
Bosox20051 has joined #ruby
justsee has joined #ruby
banisterfiend has joined #ruby
allaire has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
gcds has joined #ruby
gcds has quit [Client Quit]
freakazoid0223 has quit [Ping timeout: 245 seconds]
cody-- has quit [Quit: derp]
mixel has joined #ruby
<catphish> if i use define_method to create an instance method, how to i access the instance, self seems to reference the class
<catphish> no, ignore me, it works fine
joelroa has quit [Quit: Computer has gone to sleep.]
TheShaun|AFK is now known as TheShaun
whomp has joined #ruby
whomp has quit [Client Quit]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
ffranz has quit [Quit: Leaving]
banisterfiend has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
freerobby has joined #ruby
Bira has quit [Remote host closed the connection]
jbpros has joined #ruby
Apane has quit [Ping timeout: 272 seconds]
ephemerian has joined #ruby
RichardBaker has joined #ruby
bigoldrock has joined #ruby
Seich_ has quit [Ping timeout: 260 seconds]
theRoUS has joined #ruby
eeriegeek has joined #ruby
<s2013> whats the best way to make sure that a hash with a key is always on top?
<s2013> or is that even possible
<xtristan> what do you mean
<banisterfiend> s2013 merge that hash in last
<s2013> so lets say i have hash with keys abc, xzy, foo, bar and i want bar to be the first one when its being displayed
<banisterfiend> s2013 then write your own display function
<s2013> cause i think by default it sorts it in alphabetical order
<banisterfiend> no
<banisterfiend> by default it's insertion order
thams has quit [Quit: thams]
<s2013> are you sure?
jbpros has quit [Quit: jbpros]
<banisterfiend> Yeah
<s2013> cause right now its displaying in alphabetical order
<banisterfiend> unless you're on ruby 1.8 in which case it's random order
ccolorado has left #ruby [#ruby]
<s2013> and i didnt do any sort of sort on it
<s2013> no 1.9
<s2013> actually 2
fuzzyhorns1 has quit [Quit: Leaving.]
jrhorn424 is now known as zz_jrhorn424
workmad3 has joined #ruby
freakazoid0223 has joined #ruby
codenapper has quit [Quit: codenapper]
near89 has quit [Ping timeout: 250 seconds]
<s2013> hmm ok
funburn has joined #ruby
<s2013> maybe cause rails is displaying them in sorted order or somehting. oh well
allaire has quit []
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
sailias1 is now known as sailias
Bosox20051 has quit [Ping timeout: 246 seconds]
fschuindt has joined #ruby
<xtristan> s2013: bigger question: why do you care about display order on a hash?
ReachingFarr has quit [Quit: ReachingFarr]
<xtristan> sort on presentation to whatever criteria you want
<s2013> so im doing a dropdown select
ReachingFarr has joined #ruby
<s2013> and its using hash as the menu
Bosox20051 has joined #ruby
<nhmood> I've seen the following ($:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])) in various ruby gems for adding the lib directory to the load path, but can anyone suggest where it should be added?
<s2013> so we need to show something as the first group if that makes sense
MrZYX is now known as MrZYX|off
yfeldblum has quit [Remote host closed the connection]
<xtristan> first group where alphabetical?
<s2013> no not alphabetical
<s2013> the label is "master"
<s2013> ill ask int eh rails channel. thanks
Bira has joined #ruby
nwertman_ has joined #ruby
<nhmood> I think that the $:.unshift is behaving badly with the spec.require_paths of my gemspec
<Hanmac> nhmood: it was used to get sripts working for 1.8 and 1.9+ but 1.8 is long dead
catphish has left #ruby ["Leaving"]
kitak has joined #ruby
wildroman2 has joined #ruby
sailias has quit [Ping timeout: 260 seconds]
Apane has joined #ruby
<nhmood> Oh I see, thanks for the info
tomzx_mac has joined #ruby
<Hanmac> nhmood: you should use require_relative which is much more safe
joelteon has joined #ruby
<joelteon> if I run irb somefile.rb how do I make irb not exit after evaluating somefile.rb?
<nhmood> require_relative is relative from the calling file?
<banisterfiend> joelteon use irb -r instead
mrsolo has joined #ruby
<nhmood> So then my lib/myapp.rb requires would all be the same but replace require with require_relative
<nhmood> aka instead of require myapp/command --> require_relative myapp/command
<joelteon> oh thanks banisterfiend
joelteon has left #ruby ["bye"]
yfeldblum has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
nhhagen has quit [Remote host closed the connection]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bira has quit [Remote host closed the connection]
whunt has joined #ruby
freerobby has quit [Quit: Leaving.]
jonathanwallace has quit [Ping timeout: 272 seconds]
ner0x has joined #ruby
hiyosi has joined #ruby
Monie has quit [Ping timeout: 265 seconds]
justsee has quit [Ping timeout: 245 seconds]
Seich_ has joined #ruby
wildroman2 has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
mary5030 has quit [Read error: Operation timed out]
joelteon has joined #ruby
mansi has joined #ruby
<joelteon> can I prevent popen from printing the result of the invocation?
mansi has quit [Remote host closed the connection]
yojimbo is now known as yojimbo_
mansi has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
xtristan has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 240 seconds]
<joelteon> more specifically, i'm trying to write to and read from "osascript"
<joelteon> if I popen it as "r+", write to it, then read from it, the read call blocks
randomdrake has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
VTLob has quit [Quit: VTLob]
justsee has joined #ruby
mansi has quit [Ping timeout: 260 seconds]
einarj has quit [Remote host closed the connection]
hiroyuki has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
<joelteon> .sync = true isn't doing it
petey has quit []
tbrock_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Liothen has quit [Quit: System of a down……]
johnnyfuchs has quit [Quit: Leaving.]
<joelteon> nor is pipe.flush
randomdrake has quit [Ping timeout: 264 seconds]
sergicles has joined #ruby
ssvo has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
<Hanmac> joelteon: you can try the open4 gem
<joelteon> ok
RedNifre has joined #ruby
<RedNifre> Hey there!
hiyosi has joined #ruby
Bira has joined #ruby
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
<joelteon> that doesn't work either, I must be doing something wrong
<RedNifre> I'm a ruby beginner and so far I got the impression that many things that look like syntactic sugar at first turn out to be implemented in ruby itself. So now I wonder if I can write something like an "if" statement like syntax myself, I mean something that takes two blocks easily.
allaire has joined #ruby
whunt has quit [Ping timeout: 256 seconds]
<banisterfiend> RedNifre i did that kind of thing: https://github.com/banister/custom_boolean
<RedNifre> the use case is a network call that needs to run async because it takes so long and whether or not it succeeded, two different pieces of code should do something with the result.
timonv has quit [Ping timeout: 240 seconds]
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
<RedNifre> that's fantastic and seems to be exactly what I need :) Thank you very much.
kirun has quit [Quit: Client exiting]
whunt has joined #ruby
<Hanmac> banisterfiend did you already commit what i did there? https://bugs.ruby-lang.org/issues/9076#note-9
sailias has joined #ruby
mansi has joined #ruby
fuzzyhorns has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
fuzzyhorns has left #ruby [#ruby]
<banisterfiend> RedNifre bare in mind i wrote that a few years ago, so i don't necessarily like/condone any of the code in it ;)
lmickh has quit [Ping timeout: 245 seconds]
<RedNifre> I'm not sure if I'm ready for that type of code yet, but is {} always syntactic sugar for a proc object and you added an "else" method to Proc?
<banisterfiend> hanmac cool!
<banisterfiend> RedNifre no
<banisterfiend> RedNifre i didn't do that ;) a_method { } doesn't return a Proc, it returns whatever a_method returns
<banisterfiend> in my case it returned some kind of CustomBoolean object
sailias has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
<RedNifre> oh, I was confused about the order, I thought that .else puts another Proc into the first one and the first one goes into a_method and if a_method calls the single proc with false, the proc yields the other proc or something...
BLUE_FIN_TUNA has joined #ruby
<RedNifre> Anyway, so the "if" syntax of having a block end with "else" which also starts a new, separate block that ends with "end" is a special case that can't be implemented directly?
drag00n has joined #ruby
<RedNifre> but maybe I'm thinking in the wrong direction altogether, what's the "ruby" way of doing "I want to fetch something big from the net, if I get it I want to do this code, if it fails I want to do this other code"?
<banisterfiend> RedNifre promises?
<banisterfiend> though promises aren't used much in ruby
nateberkopec has quit [Quit: Leaving...]
<banisterfiend> >> ruby -v
<eval-in> banisterfiend => undefined local variable or method `v' for main:Object (NameError) ... (https://eval.in/60687)
djbender has joined #ruby
<RedNifre> Haven't heard of it, will google it, in the mean time this is the pseudocode I have in my head at the moment, what is the closest valid ruby to this?: https://gist.github.com/anonymous/7328407
mansi has quit [Remote host closed the connection]
failshell has joined #ruby
failshell has quit [Remote host closed the connection]
dEPy has joined #ruby
<ravster> hey all. I have a module that has a function. This module is included in a class. Is there a way for me to have the class have a function of the same name and call the module's function, but with an optional argument? So that a call to Class.new.foo will call Module.foo(type: :json)
djbender has left #ruby [#ruby]
indigo has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby
coca_rails has quit [Read error: Connection reset by peer]
sailias has joined #ruby
Bira has quit [Remote host closed the connection]
coca_rails has joined #ruby
Bira has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
dEPy has quit [Ping timeout: 245 seconds]
<RedNifre> I found a "Programming Ruby 1.9" book, how outdated is it? Should I read it? :)
<banisterfiend> RedNifre that's basically promises syntax
f0ster has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby
b00stfr3ak has quit [Ping timeout: 245 seconds]
<banisterfiend> RedNifre but it looks like: blahblah(xxx).done ->(result) { }.fail ->(error) { }
<banisterfiend> RedNifre or: blahblah(xx).then ->(result) { }, ->(error) { }
larissa has joined #ruby
benzrf has joined #ruby
benzrf has left #ruby [#ruby]
benzrf has joined #ruby
<benzrf> hey, is there a universally-available method that just returns self?
sailias has quit [Ping timeout: 265 seconds]
<banisterfiend> benzrf tap, but it requires a block
burgess has quit [Quit: ^zzz]
<benzrf> hm
<benzrf> what does it do?
<banisterfiend> benzrf i agree it would be cool if we had one
<benzrf> why does it need a block
<banisterfiend> benzrf it yields self to the block
<benzrf> ah
<benzrf> ...
<banisterfiend> benzrf i use it in situations like this: array.tap(&:pop)
<benzrf> that seems mildly pointless, can I know the use case which will probably seem obvious in retrospect
<benzrf> wait what does &:foo do
<benzrf> wait nvm
<benzrf> i recall
<benzrf> why not just array.pop?
<banisterfiend> benzrf because pop returns the item popped
<banisterfiend> array.tap(&:pop) returns the array (self)
<benzrf> ohcibi:
<benzrf> *oh
<benzrf> seems like an unnecessarily fancy way to save a line
<benzrf> I LIKE IT