ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
nirix has joined #ruby-lang
m3nd3s has joined #ruby-lang
S1kx has quit [Ping timeout: 264 seconds]
havenn has joined #ruby-lang
yankov has quit [Quit: yankov]
kvirani has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
t75876 has quit [Remote host closed the connection]
t6698 has joined #ruby-lang
s0ra_h is now known as sora_h
ilyam has quit [Quit: ilyam]
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
Dwarf has quit [Quit: i feel shit]
savage- has quit [Ping timeout: 276 seconds]
fgomez has joined #ruby-lang
t6698 has quit [Remote host closed the connection]
t90599 has joined #ruby-lang
Nisstyre_ has quit [Read error: Connection reset by peer]
sora_h is now known as s0ra_h
Nisstyre has quit [Read error: Connection reset by peer]
yours_truly has joined #ruby-lang
Nisstyre_ has joined #ruby-lang
yours_truly has quit [Read error: Connection reset by peer]
yankov has joined #ruby-lang
Nisstyre has joined #ruby-lang
deryl has joined #ruby-lang
t90599 has quit [Remote host closed the connection]
t22791 has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
savage- has joined #ruby-lang
gregmoreno has quit [Ping timeout: 272 seconds]
gregmoreno has joined #ruby-lang
savage- has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
Erlkoenig has quit [Quit: Leaving.]
poga has joined #ruby-lang
s0ra_h is now known as sora_h
t22791 has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
t33322 has joined #ruby-lang
gregmoreno has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby-lang
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
havenn has joined #ruby-lang
charliesome has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
nirix has quit [Quit: Computer has gone to s…zZzZz]
havenn has quit [Ping timeout: 244 seconds]
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
krz has quit [Quit: krz]
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
tgriffin2081 has joined #ruby-lang
khoa has joined #ruby-lang
poga has joined #ruby-lang
rararadar has quit [Remote host closed the connection]
moxiemk1 has joined #ruby-lang
poga has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
dammitradar has joined #ruby-lang
khoa has quit [Quit: khoa]
Asher has quit [Quit: Leaving.]
ezkl has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Ping timeout: 264 seconds]
poga has joined #ruby-lang
reactormonk has joined #ruby-lang
Asher has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
tgriffin2081 has quit [Ping timeout: 260 seconds]
gregmoreno has joined #ruby-lang
savage- has joined #ruby-lang
savage- has quit [Remote host closed the connection]
dammitradar has quit [Ping timeout: 265 seconds]
m3nd3s has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
savage- has joined #ruby-lang
gsav has joined #ruby-lang
r0bby is now known as robbyoconnor
savage- has quit [Remote host closed the connection]
wpaulson has joined #ruby-lang
jscherff has joined #ruby-lang
jscherff has quit [Client Quit]
woollyams has quit [Quit: Computer has gone to sleep.]
Axsuul has quit [Read error: Connection reset by peer]
Z33K|Lux has joined #ruby-lang
Axsuul has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
gmci has quit [Quit: Computer has gone to sleep.]
igotnolegs has joined #ruby-lang
savage- has joined #ruby-lang
wpaulson has joined #ruby-lang
wpaulson has quit [Client Quit]
davidbalbert has quit [Ping timeout: 246 seconds]
davidbalbert has joined #ruby-lang
t33322 has quit [Remote host closed the connection]
t11691 has joined #ruby-lang
khoa has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
khoa has quit [Quit: khoa]
dhruvasagar has quit [Remote host closed the connection]
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
deryl has quit [Quit: deryl]
slyphon has quit [Ping timeout: 245 seconds]
Tearan has joined #ruby-lang
codewrangler has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
guns has joined #ruby-lang
gmci has joined #ruby-lang
naz has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
xsdg has quit [Quit: Reconnecting]
xsdg has joined #ruby-lang
neocoin has joined #ruby-lang
stardiviner has joined #ruby-lang
ddv has quit [Ping timeout: 246 seconds]
ddv has joined #ruby-lang
sepp2k has joined #ruby-lang
moxiemk1 has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
petercooper has quit [Remote host closed the connection]
s0ra_h is now known as sora_h
yats has joined #ruby-lang
sora_h is now known as s0ra_h
heftig has quit [Ping timeout: 245 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 265 seconds]
dhruvasagar has joined #ruby-lang
s1n4 has joined #ruby-lang
r0bby has joined #ruby-lang
macmartine has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
yats has quit [Ping timeout: 260 seconds]
yats has joined #ruby-lang
dc5ala has joined #ruby-lang
havenn has joined #ruby-lang
t11691 has quit [Remote host closed the connection]
t82138 has joined #ruby-lang
naz has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
s0ra_h is now known as sora_h
sora_h is now known as s0ra_h
alex_kira has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasa1ar has quit [Ping timeout: 246 seconds]
rippa has joined #ruby-lang
banisterfiend has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
guns has quit [Quit: guns]
macmartine has quit [Quit: Computer has gone to sleep.]
znake has joined #ruby-lang
havenn has quit [Remote host closed the connection]
justinmcp has quit [Remote host closed the connection]
neocoin has quit [Remote host closed the connection]
areil has joined #ruby-lang
ddv has quit [Changing host]
ddv has joined #ruby-lang
CarlB_the_great has joined #ruby-lang
dhruvasagar has quit [Quit: leaving]
poga has quit [Remote host closed the connection]
solars has joined #ruby-lang
dhruvasagar has joined #ruby-lang
kain has quit [Ping timeout: 246 seconds]
dc5ala has quit [Quit: Ex-Chat]
seanstickle has quit [Quit: seanstickle]
havenn has joined #ruby-lang
s0ra_h is now known as sora_h
poga has joined #ruby-lang
t82138 has quit [Remote host closed the connection]
t31232 has joined #ruby-lang
havenn has quit [Ping timeout: 246 seconds]
poga has quit [Remote host closed the connection]
toretore has joined #ruby-lang
CarlB_the_great has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
Asher has quit [Ping timeout: 248 seconds]
Asher has joined #ruby-lang
eydaimon has quit [Ping timeout: 245 seconds]
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
Kyril has joined #ruby-lang
eydaimon has quit [Ping timeout: 268 seconds]
sora_h is now known as s0ra_h
dhruvasagar has quit [Ping timeout: 272 seconds]
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
heftig has joined #ruby-lang
yats has quit [Ping timeout: 272 seconds]
tbuehlmann has joined #ruby-lang
yats has joined #ruby-lang
heftig has quit [Ping timeout: 260 seconds]
woollyams has joined #ruby-lang
mistym has quit [Remote host closed the connection]
x0F has quit [Quit: Leaving]
eydaimon has quit [Ping timeout: 248 seconds]
tndrbt has joined #ruby-lang
thone has joined #ruby-lang
yankov has quit [Quit: yankov]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
thone_ has quit [Ping timeout: 276 seconds]
s0ra_h is now known as sora_h
jxie has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
poga has joined #ruby-lang
brianpWins has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
zommi has joined #ruby-lang
yxhuvud has joined #ruby-lang
poga has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
heftig has joined #ruby-lang
heftig is now known as Guest94504
Guest94504 has quit [Client Quit]
heftig_ has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
zommi has quit [Remote host closed the connection]
x0F has joined #ruby-lang
justinmcp has joined #ruby-lang
eydaimon has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby-lang
d3vic3 has joined #ruby-lang
Leeky_afk is now known as Leeky
t31232 has quit [Remote host closed the connection]
t63046 has joined #ruby-lang
neocoin has joined #ruby-lang
dhruvasagar has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
s0ra_h is now known as sora_h
yankov has joined #ruby-lang
xyz has joined #ruby-lang
benanne has joined #ruby-lang
Hakon has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
eydaimon has quit [Ping timeout: 246 seconds]
tenderlove has joined #ruby-lang
poga has joined #ruby-lang
yankov has quit [Quit: yankov]
tenderlove has quit [Ping timeout: 264 seconds]
Leeky is now known as Leeky_afk
woollyams has joined #ruby-lang
sora_h is now known as s0ra_h
t63046 has quit [Remote host closed the connection]
t62599 has joined #ruby-lang
poga has quit [Remote host closed the connection]
heftig_ has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
jmeeuwen has quit [Ping timeout: 260 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
justinmcp has quit [Remote host closed the connection]
nibbo has joined #ruby-lang
babinho_ has left #ruby-lang [#ruby-lang]
yankov has joined #ruby-lang
khoa has joined #ruby-lang
cantonic has joined #ruby-lang
khoa has quit [Ping timeout: 240 seconds]
t62599 has quit [Remote host closed the connection]
s0ra_h is now known as sora_h
t82327 has joined #ruby-lang
jmeeuwen has joined #ruby-lang
d3vic3 has quit [Quit: leaving]
Dreamer3 has quit [Quit: Leaving...]
Dreamer3 has joined #ruby-lang
Z33K|Lux has quit [Ping timeout: 240 seconds]
lun__ has quit [Remote host closed the connection]
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
<banisterfiend> hey boys
goshakkk has joined #ruby-lang
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 245 seconds]
zommi has joined #ruby-lang
Asher1 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Asher has quit [Read error: Connection reset by peer]
znake_ has joined #ruby-lang
Kyril has quit [Ping timeout: 272 seconds]
znake_ has quit [Client Quit]
znake has quit [Ping timeout: 245 seconds]
yankov has quit [Quit: yankov]
LanceHaig has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
qwerxy has joined #ruby-lang
woollyams has joined #ruby-lang
foucist has quit [Remote host closed the connection]
stayarrr has joined #ruby-lang
dejongge has joined #ruby-lang
qwerxy has quit [Quit: offski]
goshakkk has quit [Quit: Computer has gone to sleep.]
xyz has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120717181344]]
goshakkk has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
kain has joined #ruby-lang
foucist has joined #ruby-lang
<foucist> what's the best approach to minimize the amount of memory this loop uses? http://pastie.org/4585510
robbin has joined #ruby-lang
<foucist> i'm guessing i need to call image.image.close ?
t82327 has quit [Remote host closed the connection]
t55937 has joined #ruby-lang
<lianj> foucist: right
<foucist> lianj: is that the best approach?
<lianj> not sure how your Image class works. maybe File.open(..., 'rb'){|f| f.read }
<yorickpeterse> foucist: Closing the image handler could work but it depends on the underlying code
<yorickpeterse> chances are it loads the entire thing into memory and doesn't release it afterwards, even when closing the handle
<foucist> well it's paperclip, a rails gem, this is just the seed.rb for seeding the db.. crashes my low memory vps though :)
<foucist> maybe i could also stick in a GC call
woollyams has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> doesn't solve it
<yorickpeterse> keep your hands of the GC
<yorickpeterse> * off
<yorickpeterse> Most likely the problem is that Ruby doesn't know there's memory being wasted, manually running the GC won't solve that
<foucist> it's just a onetime ruby script so it's not mission critical
<foucist> ah
foucist has quit [Remote host closed the connection]
robbin has quit [Remote host closed the connection]
cantonic_ has joined #ruby-lang
jmeeuwen has quit [Remote host closed the connection]
jmeeuwen has joined #ruby-lang
cantonic has quit [Ping timeout: 244 seconds]
cantonic_ is now known as cantonic
foucist has joined #ruby-lang
cantonic has quit [Ping timeout: 244 seconds]
guns has joined #ruby-lang
t55937 has quit [Remote host closed the connection]
t19036 has joined #ruby-lang
heftig has joined #ruby-lang
cantonic has joined #ruby-lang
chessguy has joined #ruby-lang
foucist has quit [Quit: leaving]
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
tommylommykins has quit [Ping timeout: 240 seconds]
tommylommykins has joined #ruby-lang
zommi has quit [Remote host closed the connection]
ricardovaleriano has joined #ruby-lang
zmack has joined #ruby-lang
dous has quit [Remote host closed the connection]
andy7534211 has joined #ruby-lang
ryland_ has quit [Remote host closed the connection]
t19036 has quit [Remote host closed the connection]
tndrbt has quit [Quit: tndrbt]
wmoxam has joined #ruby-lang
t16651 has joined #ruby-lang
ricardovaleriano has quit [Remote host closed the connection]
dejongge has quit [Remote host closed the connection]
Hakon has quit [Quit: Leaving...]
wmoxam has quit [Ping timeout: 240 seconds]
qwerxy has joined #ruby-lang
godfrey999 has joined #ruby-lang
Dreamer3 has quit [Ping timeout: 272 seconds]
Dreamer3 has joined #ruby-lang
petercooper has joined #ruby-lang
qwerxy has quit [Quit: offski]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
woollyams has joined #ruby-lang
tenderlove has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tenderlove has quit [Ping timeout: 246 seconds]
qwerxy has joined #ruby-lang
lun_ has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
yats has quit [Ping timeout: 276 seconds]
yats has joined #ruby-lang
m3nd3s_ has joined #ruby-lang
icooba has quit [Quit: Computer has gone to sleep.]
Asher1 has quit [Ping timeout: 256 seconds]
g0bl1n has joined #ruby-lang
dammitradar has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
kain has quit [Ping timeout: 268 seconds]
g0bl1n has quit [Quit: g0bl1n]
Asher has joined #ruby-lang
t16651 has quit [Remote host closed the connection]
t49967 has joined #ruby-lang
kristofferrr has joined #ruby-lang
cantonic has quit [Quit: cantonic]
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
qwerxy has quit [Quit: offski]
toretore has quit [Quit: This computer has gone to sleep]
vbatts has quit [Ping timeout: 265 seconds]
m3nd3s_ has quit [Remote host closed the connection]
rubarlion has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 276 seconds]
codewrangler has joined #ruby-lang
stayarrr has quit [Quit: Leaving...]
<rubarlion> what should I do after rubykoans
<banisterfiend> rubarlion: suicide
Axsuul has quit [Ping timeout: 240 seconds]
rubarlion has quit [Read error: Connection reset by peer]
t49967 has quit [Remote host closed the connection]
t84929 has joined #ruby-lang
rubarlion has joined #ruby-lang
stayarrr has joined #ruby-lang
jxie has quit [Quit: leaving]
poga has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
rolfb has joined #ruby-lang
seanstickle has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
kain has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
dammitradar has quit [Ping timeout: 276 seconds]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
heftig has quit [Quit: leaving]
pbjorklund has joined #ruby-lang
Axsuul has joined #ruby-lang
s1n4 has quit [Quit: peace out]
bfreeman has quit [Ping timeout: 264 seconds]
bfreeman has joined #ruby-lang
deryl has joined #ruby-lang
gmci has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
t84929 has quit [Remote host closed the connection]
t90487 has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
cantonic has joined #ruby-lang
bfreeman_ has joined #ruby-lang
esad has joined #ruby-lang
yankov has joined #ruby-lang
bfreeman has quit [Ping timeout: 276 seconds]
poga has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
agile has joined #ruby-lang
savage- has quit [Remote host closed the connection]
savage- has joined #ruby-lang
carloslopes has joined #ruby-lang
t90487 has quit [Remote host closed the connection]
t2114 has joined #ruby-lang
Asher has joined #ruby-lang
<Defusal> Hmm
seanstickle has quit [Quit: seanstickle]
judofyr has joined #ruby-lang
<judofyr> steveklabnik: you here?
<Defusal> what environment variables do i need to define if im spawning ruby as root and changing the user to my own user?
<Defusal> i can't require a gem
<judofyr> Defusal: GEM_HOME and GEM_PATH
savage- has quit [Remote host closed the connection]
<Defusal> judofyr, thanks
<judofyr> Defusal: see `gem env`
havenn has joined #ruby-lang
stayarrr has quit [Quit: Linkinus - http://linkinus.com]
<zzak> judofyr: hiya mags
<judofyr> hey zzzzakz
<zzak> guess what im doing next weekend?
goshakkk has quit [Quit: Computer has gone to sleep.]
<judofyr> hm…
<tbuehlmann> a hooker
<zzak> tbuehlmann way off
<judofyr> zzak: two hookers?
<zzak> im goin camping
<judofyr> \o/
<tbuehlmann> that would have been my second guess
<zzak> family camping trip huzzahh
<judofyr> nice
<zzak> in 4kb of life
<erikh> what's all this about hookers?
<erikh> that was MY idea, damnit.
<judofyr> zzak: in a few weeks I'm probably going camping too!
<zzak> yay camping
<erikh> camping would be fun but I don't really have the opportunity right now,.
<judofyr> I'm just waiting for a weekend wher my gf *doesn't* work :/
<judofyr> where*
<zzak> mines going back to school soon :(
<erikh> looking for a new job here, it'd be pretty irresponsible of me to spend money on anything that wasn't absolutely necessary
<zzak> erikh: camping is cheap!
<erikh> not when you have to rent your vehicles to get tehre
<erikh> ENOCAR
<zzak> most national parks are free of charge
<zzak> yah, that could get expensive, unless you take a bus out and hike somewhere
<erikh> eh, if you know of a bus in the states that goes out to the woods... heh
<erikh> maybe through new jersey
<erikh> I could see that since the populated areas are partitioned by a lot of woods
<zzak> i dont know about cali, but in vermont you're always within 10 miles from the woods
<erikh> yeah, the bay area is not like that
<erikh> that's more like where I grew up in southern oregno.
<erikh> oregon too
<yorickpeterse> whitequark: you happen to be around?
<rue> Southern oregano
<zzak> erikh: i would suggest hiking, but you might want to pack some heat if you go in the woods out there
ttilley has quit [Quit: ttilley]
<zzak> mountain lions and bears
<erikh> anyhow, I'm probably going to go visit some friends in LA when I get things locked down and go to big bear or something.
<zzak> and osx snow leopard
<erikh> ha
<erikh> I need a gun for mountain lion
<judofyr> I just need to install it
<erikh> hopefully they patch the fail out of it soon
<erikh> judofyr: I'd hold off, especially if you have a laptop and value battery life.
<judofyr> oh
<erikh> something in ML is definitely eating a lot more battery than lion did
<erikh> like in the order of 2-3 hours less life on my laptop.
<zzak> displays usually eat the most battery life
<judofyr> that's bad :(
<erikh> yeah. I can't speak to what it is, just that it's there.
<zzak> erikh: are you on 10.8.1?
<erikh> yep
<erikh> no fix there reportedly... I no longer have the laptop anymore though.
goshakkk has joined #ruby-lang
<judofyr> didn't you get like 17 minutes more battery life?
<erikh> dunno. a friend timed it, he saw ~5h life still
<judofyr> :/
savage- has joined #ruby-lang
savage- has quit [Remote host closed the connection]
alex_kira has joined #ruby-lang
toretore has joined #ruby-lang
cantonic has quit [Quit: cantonic]
zmack has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
tenderlove has joined #ruby-lang
bfreeman_ has quit [Ping timeout: 246 seconds]
yankov has quit [Quit: yankov]
tenderlove has quit [Ping timeout: 244 seconds]
carloslopes has quit [Quit: Leaving.]
carloslopes has joined #ruby-lang
_soupnazi has joined #ruby-lang
havenn has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
heftig has joined #ruby-lang
holy has joined #ruby-lang
gokul has joined #ruby-lang
dfr|mac has joined #ruby-lang
socket has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
socket has quit [Quit: http://www.iBash.org - Dont lose your best IRC moments]
dfr|mac has joined #ruby-lang
ricardovaleriano has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
petercooper has quit [Remote host closed the connection]
dbussink has quit [Quit: Coyote finally caught me]
andy7534211 has left #ruby-lang [#ruby-lang]
zmack has joined #ruby-lang
dbussink has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
gsav has joined #ruby-lang
Fullmoon has joined #ruby-lang
dejongge has joined #ruby-lang
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
cantonic has quit [Quit: cantonic]
heftig has quit [Ping timeout: 264 seconds]
gokul has quit [Quit: Leaving]
eydaimon has quit [Ping timeout: 252 seconds]
carloslopes has quit [Quit: Leaving.]
poga has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
brianpWins has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
tndrbt has joined #ruby-lang
z33k|Luxx has joined #ruby-lang
voker57 has quit [Read error: Connection reset by peer]
burgestrand has quit [Quit: Leaving.]
yats_ has joined #ruby-lang
yats has quit [Ping timeout: 265 seconds]
redgetan has joined #ruby-lang
sush24 has joined #ruby-lang
<sush24> quick help… in path "Library/blah" i want to remove "Library/"… exact opposite of File.basename .. any function that's help me do this?
<sush24> that'd*
m3nd3s has joined #ruby-lang
ricardovaleriano has quit [Remote host closed the connection]
<drbrain> File.dirname?
m3nd3s has quit [Remote host closed the connection]
<zzak> drbrain: hiya!
<drbrain> … File.basename removes "Library/" leaving "blah"… so I'm not sure if I understand what you're asking
<drbrain> zzak: hi!
<drbrain> zzak: the whitespace + documentation was too much, I had to ask you to split it :?
<drbrain> :/
<zzak> drbrain: i added a new patch for xmlrpc removing the whitespace changes, and just added a new ticket for ripper
<zzak> with patch*
<drbrain> zzak: sweet
<sush24> drbrain, sorry, i mean… if the full path is say … Library/blsk/asd…. i want to remove only "Library/"
<drbrain> sush24: split on File::SEPARATOR, beware the difference between "Library" and "/Library"
<hagabaka> require 'pathname'; Pathname.new('a/b/c/d').relative_path_from(Pathname.new('a')) #=> #<Pathname:b/c/d>
<sush24> drbrain, great! thanks.. I'll look it up
dhruvasagar has quit [Read error: Connection reset by peer]
<zzak> ripper was fun, i got some help from magnus and aoki-san's ruby hacker's guide translation
<drbrain> sush24: hagabaka uses Pathname which I always forget how to use, check it out too
<drbrain> zzak: cool
<sush24> hagabaka, awesome! thanks a lot!
m3nd3s has joined #ruby-lang
<hagabaka> np
<drbrain> the Pathname way is better
setmeaway has quit [Quit: Leaving]
<zzak> drbrain: does rdoc >= 3.0 run on ruby1.8?
<drbrain> yes
<drbrain> 1.8.7
<zzak> great
<drbrain> RDoc 4 will run on 1.8.7 too
dhruvasagar has joined #ruby-lang
<drbrain> I don't think I'll drop 1.8 support until several months after ruby 2.0 is out
<drbrain> … likely another year of 1.8.7 support
z33k|Luxx has quit []
Z33K|Lux has quit []
<drbrain> it depends on ruby 2.0 adoption
<zzak> i think backwards compatibility is a major factor for adoption
<erikh> 1.8 is still pretty entrenched too
<erikh> EOL or not
bfreeman has joined #ruby-lang
<drbrain> erikh: in February it was 50/50
<drbrain> I haven't looked at the rubygems.org logs recently
<zzak> isn't there a stats page?
<drbrain> for individual gem downloads, not overall
<drbrain> we haven't built one, but the data is accumulating in redis
<erikh> sure, but you can't partition that by, say, server installations vs. developer uses
<erikh> one arguably is more critical than the other
<drbrain> erikh: only by correlation
neocoin has quit [Remote host closed the connection]
<drbrain> when I looked in February the majority of installations from 1.8 were also x86-linux
<erikh> yeah, I mean that not as a counter-point but more as an observation
<drbrain> which are likely all server
<erikh> aye
<drbrain> erikh: of course
<drbrain> if you're installing rdoc on hundreds of your servers you're probably doing something a little odd, though
<erikh> right; I just meant in general though
_soupnazi has quit [Ping timeout: 245 seconds]
<drbrain> yeah
<drbrain> for RubyGems dropping 1.8.7 support is a much bigger change
<erikh> yeah
<zzak> ive got rdoc installed on my coffee pot, for anyone who wants to know how to brew it Just Right
goshakkk has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<whitequark> yorickpeterse: redgetan
<whitequark> errr
<whitequark> re
<whitequark> what's up?
<erikh> ok it's time for a nap
<erikh> bbl
<drbrain> zzak: that got far too many chuckles from me
<zzak> erikh: take care
<zzak> drbrain: how many times have i lost count at 5 or 6 scoops
<zzak> the best is when you scoop it before you go to bed while you still remember how to count
<drbrain> but if it's already ground doesn't it oxidize overnight?
<drbrain> I don't know much about coffee, but I know people who care a great deal about such things
<zzak> i think if you get it wet, that could be bad
wpaulson has joined #ruby-lang
<zzak> i have to use fresh cold water on mine tho, so either way im counting
<FiXato> prepackage the right portions in airtight bags, stored refridgerated
<zzak> the water is easy though, just fill it to the top line
<zzak> FiXato: thats actually a good idea, ive got a similar strategy for my meats
<FiXato> you know you can also use icecube bags to portion store gravy for instance?
<FiXato> as well as some herbs or stock
<zzak> ahh the brilliance of rationing
<FiXato> I know plenty of techniques, I just rarely bother to put them in practise ><
rubarlion has joined #ruby-lang
<zzak> FiXato: yah you can definitely go overboard and waste more time than you save
<zzak> im off for the rest of the weekend, bye for now!
t2114 has quit [Remote host closed the connection]
t60970 has joined #ruby-lang
isale-eko has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
workmad3 has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
tndrbt has quit [Quit: tndrbt]
rubarlion has joined #ruby-lang
flak has joined #ruby-lang
flak is now known as Guest18805
qwerxy has joined #ruby-lang
rippa has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby-lang
seanstickle has joined #ruby-lang
sush24 has quit [Ping timeout: 245 seconds]
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
<kristofferrr> I've got a problem with first() not returning the amount of items I pass as an argument, can anyone see what the issue is? http://pastie.org/private/ybklzwvasjohdnd6wopy3w
sush24 has joined #ruby-lang
<drbrain> kristofferrr: try rows = rows.select …; rows = rows.first options[:limit] if options[:limit]; rows.map do … end
isale-eko has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]]
<drbrain> kristofferrr: that'll at least fix the shadowing local variable warning and the complexity of line 28
godfrey999 has quit [Quit: godfrey999]
wallerdev has quit [Quit: wallerdev]
wpaulson has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
<yorickpeterse> whitequark: heh, I already solved my issue. Had a question about an AST structure but for now I'm good with what I have :)
<kristofferrr> Still getting the wrong amount of results.
<kristofferrr> drbrain: ^
Guest18805 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wpaulson has joined #ruby-lang
heftig has joined #ruby-lang
rippa has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
<judofyr> kristofferrr: well, the first code applies the :limit across all types, while in the second it's per type
<judofyr> or, not types
<drbrain> judofyr: the next unless should solve that
rubarlion has joined #ruby-lang
qwerxy has quit [Quit: offski]
t60970 has quit [Remote host closed the connection]
t42683 has joined #ruby-lang
<judofyr> drbrain: huh? yeah, the next unless in the initial code makes the :limit work on all types; there's nothing like that in the refactored code
sush24 has quit [Quit: This computer has gone to sleep]
<judofyr> err, break unless*
<judofyr> :S
* judofyr confused
<drbrain> without data it's hard to characterize
<judofyr> kristofferrr: I think something like this will solve it: http://pastie.org/private/5dipdgpfjeox3wsbu3u8a
Soleone has joined #ruby-lang
<judofyr> drbrain: btw, what exact do GEM_HOME decide? is it only for installation or also for lookup?
<drbrain> judofyr: installation and lookup
<drbrain> GEM_HOME gets added to GEM_PATH automatically
<judofyr> but if you're only doing lookup, do you have to set both HOME+PATH, or is PATH good enough?
areil has quit [Remote host closed the connection]
s1n4 has joined #ruby-lang
<drbrain> so long as PATH includes HOME, only PATH needs to be set
wpaulson_ has joined #ruby-lang
<judofyr> thanks
zigidias has quit [Remote host closed the connection]
wpaulson has quit [Ping timeout: 244 seconds]
wpaulson_ is now known as wpaulson
wpaulson_ has joined #ruby-lang
s1n4 has quit [Quit: peace fuckin out]
Sophen has joined #ruby-lang
sora_h is now known as s0ra_h
wpaulson has quit [Ping timeout: 245 seconds]
wpaulson_ is now known as wpaulson
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
wpaulson_ has joined #ruby-lang
isale-eko has joined #ruby-lang
mistym has quit [Remote host closed the connection]
wpaulson__ has joined #ruby-lang
wpaulson has quit [Ping timeout: 244 seconds]
wpaulson__ is now known as wpaulson
Soleone has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
rubarlion has quit [Read error: Connection reset by peer]
wpaulson_ has quit [Ping timeout: 252 seconds]
<Defusal> hmm
rubarlion has joined #ruby-lang
<Defusal> I need to insert a sql file into a database (schema and/or data), i have been using sequel and splitting the sql into statements on ';', but now i see some of the data contains escaped html such as &amp; which obviously breaks it. ideas?
zmack has quit [Remote host closed the connection]
malev has joined #ruby-lang
havenn has joined #ruby-lang
bytephilia has joined #ruby-lang
<kristofferrr> judofyr: That works, but moving the hash creation outside the flat_map block means I can't pass the type key for each result.
<drbrain> Defusal: why not use the DB's import tool?
<judofyr> oh, right
<Defusal> drbrain, i guess i could spawn a process, it was just easier to use the querying framework i had already built
<drbrain> Defusal: you'll need an SQL parser to find the ';' properly, but can't you dump a whole set of expressions into a single query?
<Defusal> drbrain, going to try that first, i couldn't at the time, but the sequel api has changed and i have to change my code, so maybe it'll work now
t42683 has quit [Remote host closed the connection]
t58869 has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]]
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
brianpWins has quit [Ping timeout: 252 seconds]
holy has quit []
havenn has quit [Remote host closed the connection]
sepp2k1 has quit [Remote host closed the connection]
r0bby is now known as robbyoconnor
brianpWins has joined #ruby-lang
s0ra_h is now known as sora_h
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
Dwarf has joined #ruby-lang
Dwarf has quit [Changing host]
Dwarf has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
tndrbt has joined #ruby-lang
redgetan has quit [Quit: This computer has gone to sleep]
havenn has joined #ruby-lang
havenn_ has joined #ruby-lang
sora_h is now known as s0ra_h
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
redgetan has joined #ruby-lang
rubarlion has joined #ruby-lang
havenn has quit [Remote host closed the connection]
redgetan has quit [Client Quit]
bytephilia has quit [Remote host closed the connection]
dhruvasagar has quit [Remote host closed the connection]
rubarlion has quit [Read error: Connection reset by peer]
pbjorklund has quit [Quit: Computer has gone to sleep.]
bytephilia has joined #ruby-lang
CarlB_the_great has joined #ruby-lang
rubarlion has joined #ruby-lang
chimkan_ has joined #ruby-lang
s0ra_h is now known as sora_h
stardiviner has joined #ruby-lang
redgetan has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
mwjcomputing has joined #ruby-lang
rubarlion has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
rubarlion has quit [Read error: Connection reset by peer]
rubarlion has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
rubarlion has quit [Client Quit]
havenn_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
havenn has joined #ruby-lang
publicvoid__ has joined #ruby-lang
tndrbt has quit [Quit: tndrbt]
m3nd3s_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
havenn has quit [Ping timeout: 244 seconds]
publicvoid_ has quit [Ping timeout: 246 seconds]
bytephilia has quit [Remote host closed the connection]
redgetan has quit [Quit: This computer has gone to sleep]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
m3nd3s has quit [Ping timeout: 276 seconds]
chessguy has quit [Remote host closed the connection]
bytephilia has joined #ruby-lang
CarlB_the_great has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
sora_h is now known as s0ra_h
mwjcomputing has quit [Quit: Leaving]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bytephilia has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
Sophen has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]]
havenn has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
havenn_ has joined #ruby-lang
dfr|mac has joined #ruby-lang
tenderlove has joined #ruby-lang
Dwarf has quit [Quit: Leaving]
robbyoconnor has joined #ruby-lang
havenn_ has quit [Ping timeout: 252 seconds]
tenderlove has quit [Ping timeout: 244 seconds]
toretore has joined #ruby-lang
t58869 has quit [Remote host closed the connection]
t32749 has joined #ruby-lang
s0ra_h is now known as sora_h
chimkan_ has quit [Quit: chimkan_]
Fullmoon has quit [Quit: Fullmoon]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
erichmenge has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
lun_ has joined #ruby-lang
banisterfiend has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
esad has joined #ruby-lang
redgetan has joined #ruby-lang
Criztian has joined #ruby-lang
zmack has joined #ruby-lang
sora_h is now known as s0ra_h
scottj has joined #ruby-lang
tgriffin2081 has joined #ruby-lang
skipper has joined #ruby-lang
havenn has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 276 seconds]
skipper has quit [Ping timeout: 244 seconds]
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
brianpWins has quit [Ping timeout: 244 seconds]
dfr|mac has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
bytephilia has joined #ruby-lang
judofyr has joined #ruby-lang
judofyr_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
esad has quit [Quit: Computer has gone to sleep.]
Criztian has quit [Remote host closed the connection]
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
denysonique has quit [Max SendQ exceeded]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
chimkan has joined #ruby-lang
denysonique has joined #ruby-lang
zmack has quit [Remote host closed the connection]
havenn has joined #ruby-lang
yats_ has quit [Ping timeout: 244 seconds]
qwerxy has joined #ruby-lang
Dreamer3 has joined #ruby-lang
toretore has quit [Quit: Leaving]
s0ra_h is now known as sora_h
kain has quit [Read error: Connection reset by peer]
kain has joined #ruby-lang
chimkan has quit [Quit: chimkan]
redgetan has left #ruby-lang ["Leaving"]
sora_h is now known as s0ra_h
judofyr_ has quit [Remote host closed the connection]
qwerxy has quit [Quit: offski]
burgestrand has joined #ruby-lang
judofyr has joined #ruby-lang
qwerxy has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
t32749 has quit [Remote host closed the connection]
t71540 has joined #ruby-lang
esad has joined #ruby-lang
havenn has joined #ruby-lang
rippa has quit [Ping timeout: 252 seconds]
havenn has quit [Ping timeout: 245 seconds]
burgestrand has quit [Quit: Leaving.]
gmci has quit [Quit: Computer has gone to sleep.]
bytephilia has quit [Quit: Computer has gone to sleep.]
gmci has joined #ruby-lang
malev has quit [Remote host closed the connection]
LanceHaig has quit [Ping timeout: 260 seconds]
dfr|mac has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
gearaholic has joined #ruby-lang
justinmcp has joined #ruby-lang
dfr|mac has joined #ruby-lang
Defusal has quit [Ping timeout: 265 seconds]
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
retro|cz has quit [Ping timeout: 265 seconds]
JackNorris has quit [Ping timeout: 245 seconds]
s0ra_h is now known as sora_h
dfr|mac has quit [Remote host closed the connection]
dfr|mac has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
Torrieri has quit [Ping timeout: 245 seconds]
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
gearaholic has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
<d-snp> hey guys, can I push to an Array in ruby 1.9 without worrying about threadsafety?
<d-snp> as in, will the GIL lock around the operation?
justinseiter has joined #ruby-lang
sora_h is now known as s0ra_h
tallship has quit [Quit: Too Hip gotta go]
solars has quit [Ping timeout: 244 seconds]
<erikh> no
<erikh> if you want queue-like behavior, use a Queue
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby-lang
TorpedoSkyline_ has left #ruby-lang [#ruby-lang]
TorpedoSkyline has joined #ruby-lang
deryl has quit [Quit: deryl]
<heftig> erikh: in MRI, it will, i believe
brianpWins has joined #ruby-lang
<heftig> on other implementations, you'll corrupt the array silently (rbx and jruby) or get exceptions (jruby, sometimes)
<heftig> that said, the queue is still the right choice
kain_ has joined #ruby-lang
kain has quit [Ping timeout: 268 seconds]
brianpWins has quit [Ping timeout: 272 seconds]
justinmcp has quit [Remote host closed the connection]
dejongge has quit [Ping timeout: 256 seconds]
jolasveinninn has joined #ruby-lang
qwerxy has quit [Quit: offski]
gmci has quit [Quit: Computer has gone to sleep.]
chendo has quit [Quit: Leaving...]
tbuehlmann has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang