apeiros changed the topic of #ruby-lang to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
lfox has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
woollyams has joined #ruby-lang
cored has joined #ruby-lang
senj has quit [Quit: Textual IRC Client: www.textualapp.com]
blaz3rz has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
breakingthings has quit []
tenderlove has joined #ruby-lang
blaz3rz has quit [Ping timeout: 265 seconds]
VTLob has quit [Quit: VTLob]
moneydouble has joined #ruby-lang
jvrmaia has joined #ruby-lang
enebo has quit [Quit: enebo]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
anulman has joined #ruby-lang
patricio_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
deens has quit [Remote host closed the connection]
tenderlove has quit [Quit: Leaving...]
iliketurtles has joined #ruby-lang
bantic has quit [Quit: bantic]
iliketurtles has quit [Remote host closed the connection]
bjh13 has quit [Quit: leaving]
workmad3 has quit [Ping timeout: 272 seconds]
woollyams has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
woollyams has joined #ruby-lang
jeff_r has joined #ruby-lang
ender|dktm has quit [Ping timeout: 265 seconds]
anulman has quit [Quit: Leaving.]
anulman has joined #ruby-lang
jeff_r has quit [Ping timeout: 260 seconds]
dik_dak has quit [Ping timeout: 248 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
dik_dak has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
moneydouble has joined #ruby-lang
anulman has quit [Quit: Leaving.]
marr has quit [Ping timeout: 248 seconds]
simoz17 has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby-lang
jeff_r has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blaz3rz has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
robbyoconnor has joined #ruby-lang
moneydouble has joined #ruby-lang
blaz3rz has quit [Ping timeout: 245 seconds]
atmosx has quit [Quit: Lost in trance]
nathanstitt has quit [Quit: I growing sleepy]
jvrmaia has quit []
sepp2k1 has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 264 seconds]
rjrj has joined #ruby-lang
patriciomacadden has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
apeiros has joined #ruby-lang
|jemc| has quit [Ping timeout: 252 seconds]
anulman has joined #ruby-lang
nathanstitt has joined #ruby-lang
RoxasShadowRS has quit [Read error: Connection reset by peer]
anulman has quit [Ping timeout: 252 seconds]
hfp is now known as hfp`away
elliotec has quit [Remote host closed the connection]
lsegal has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
lsegal has joined #ruby-lang
saarinen has quit [Quit: saarinen]
tylersmith has quit [Remote host closed the connection]
jeff_r has quit [Remote host closed the connection]
jeff_r has joined #ruby-lang
clamstar has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jeff_r has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
amcoder has joined #ruby-lang
mykoweb has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
jsullivandigs has quit [Remote host closed the connection]
amcoder has quit [Quit: ZZZzzz…]
anulman has joined #ruby-lang
kalehv has joined #ruby-lang
_tockitj has quit [Ping timeout: 245 seconds]
anulman has quit [Ping timeout: 252 seconds]
DevDoo has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
rsl has quit [Read error: Connection reset by peer]
goatish_mound has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
clamstar has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Quit: I growing sleepy]
blaz3rz has joined #ruby-lang
|jemc| has joined #ruby-lang
havenwood has joined #ruby-lang
blaz3rz has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
mistym has quit [Remote host closed the connection]
anulman has joined #ruby-lang
simoz17 has joined #ruby-lang
simoz18 has joined #ruby-lang
Johz has quit [Quit: Leaving]
knu has quit [Ping timeout: 252 seconds]
vpretzel has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
simoz17 has quit [Ping timeout: 252 seconds]
vpretzel has joined #ruby-lang
danijoo has joined #ruby-lang
anulman has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
yfeldblum has joined #ruby-lang
nathanstitt has joined #ruby-lang
amcoder has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
jsullivandigs has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
DevDoo has quit [Remote host closed the connection]
anulman has joined #ruby-lang
knu has joined #ruby-lang
ric has joined #ruby-lang
nathanstitt has joined #ruby-lang
ric has quit [Client Quit]
jsullivandigs has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
elliotec has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
nathanstitt has quit [Quit: I growing sleepy]
knu has joined #ruby-lang
nathanstitt has joined #ruby-lang
ric has joined #ruby-lang
jeff_r has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
jeff_r has quit [Client Quit]
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
knu has joined #ruby-lang
kalehv has quit [Ping timeout: 272 seconds]
jameswatling has joined #ruby-lang
<jameswatling> Hi guys, how do I get the HTTP status code (ie 404, 503) from a <Net::HTTPOK 200 OK readbody=true> object
<lianj> .code
woollyams has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
<jameswatling> lianj: NoMethodError (undefined method `code' for "#<Net::HTTPOK 200 OK readbody=true>":String):
simoz18 has quit [Ping timeout: 252 seconds]
moneydouble has quit [Quit: Leaving.]
centrx has quit [Quit: Leaving]
<jameswatling> Thanks centrx, made me feel so suilly
knu has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
<zenspider> jameswatling: you called inspect or to_s on your response instance
robbyoconnor has joined #ruby-lang
patriciomacadden has quit [Quit: Textual IRC Client: www.textualapp.com]
hfp`away is now known as hfp
bergin has joined #ruby-lang
moneydouble has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
hahuang65 has joined #ruby-lang
anulman has quit [Quit: Leaving.]
anulman has joined #ruby-lang
blaz3rz has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
bergin has quit []
anulman has quit [Quit: Leaving.]
anulman has joined #ruby-lang
simoz18 has joined #ruby-lang
tylersmith has joined #ruby-lang
simoz19 has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
amcoder has quit [Quit: ZZZzzz…]
simoz18 has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby-lang
saneax_ has joined #ruby-lang
kurko_ has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
eponymi has joined #ruby-lang
eponymi has quit [Client Quit]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
mdub has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
yatish27 has quit [Ping timeout: 265 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
mykoweb has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
yatish27 has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
yatish27 has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
yatish27 has joined #ruby-lang
kurko_ has joined #ruby-lang
bzalasky has joined #ruby-lang
mykoweb has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
yatish27 has quit [Ping timeout: 260 seconds]
17SAAAAA4 has quit [Remote host closed the connection]
aarellano has joined #ruby-lang
aarellan_ has joined #ruby-lang
aarellan_ has quit [Client Quit]
aarellan_ has joined #ruby-lang
Xzyx987X has joined #ruby-lang
hahuang65 has quit [Ping timeout: 245 seconds]
concernedcitizen has quit [Ping timeout: 245 seconds]
blaz3rz has quit [Remote host closed the connection]
hfp has quit [Ping timeout: 264 seconds]
headius has quit [Ping timeout: 245 seconds]
centrx has joined #ruby-lang
concernedcitizen has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Quit: I growing sleepy]
simoz19 has quit [Ping timeout: 265 seconds]
headius has joined #ruby-lang
hfp has joined #ruby-lang
jameswatling has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
vlad_starkov has joined #ruby-lang
blaz3rz has joined #ruby-lang
mistym has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
aarellan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
aarellan_ has joined #ruby-lang
iliketurtles has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
dm78 has quit [Ping timeout: 245 seconds]
elliotec has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
saarinen has quit [Quit: saarinen]
moneydouble has quit [Quit: Leaving.]
goatish_mound has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
anulman has quit [Quit: Leaving.]
vpretzel_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
vpretzel has quit [Ping timeout: 264 seconds]
vpretzel has joined #ruby-lang
vpretzel_ has quit [Ping timeout: 260 seconds]
moneydouble has joined #ruby-lang
knu has joined #ruby-lang
mistym has quit [Remote host closed the connection]
specialblend has joined #ruby-lang
aarellan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsullivandigs has joined #ruby-lang
woollyams has joined #ruby-lang
marcofernandez has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
CJD14 has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
anulman has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
anulman has quit [Read error: Operation timed out]
anulman has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
anulman1 has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
anulman has joined #ruby-lang
anulman1 has quit [Read error: Connection reset by peer]
lfox has quit [Quit: ZZZzzz…]
deens has joined #ruby-lang
jtw has quit []
yfeldblum has joined #ruby-lang
woollyams has joined #ruby-lang
faces has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
jaimef has quit [Ping timeout: 272 seconds]
yfeldblu_ has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
mdub has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
anulman has quit [Ping timeout: 252 seconds]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
Jacky is now known as jacky
deens has quit []
knu has quit [Ping timeout: 252 seconds]
dm78 has quit [Ping timeout: 245 seconds]
hahuang65 has joined #ruby-lang
rjrj has quit [Remote host closed the connection]
knu has joined #ruby-lang
rsl has quit [Read error: Connection reset by peer]
goatish_mound has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 272 seconds]
kitak has joined #ruby-lang
goatish_mound has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
Barrin6 has joined #ruby-lang
phansch has joined #ruby-lang
achru has joined #ruby-lang
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
knu has joined #ruby-lang
mykoweb has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
yatish27 has quit []
anulman has joined #ruby-lang
saneax_ has quit [Quit: leaving]
zlogan has joined #ruby-lang
retro|cz has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
anulman has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
CJD14 has joined #ruby-lang
knu has joined #ruby-lang
phansch_ has joined #ruby-lang
phansch has quit [Read error: Operation timed out]
Fyyr13 has joined #ruby-lang
CJD14 has quit [Ping timeout: 248 seconds]
ender|dktm has joined #ruby-lang
toretore has joined #ruby-lang
arBmind has joined #ruby-lang
anulman has joined #ruby-lang
amcoder has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
vpretzel has joined #ruby-lang
knu has joined #ruby-lang
vpretzel has quit [Read error: Connection reset by peer]
kitak has quit [Remote host closed the connection]
rsl has quit [Read error: Connection reset by peer]
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
vpretzel has joined #ruby-lang
kitak has joined #ruby-lang
rsl has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
CJD14 has joined #ruby-lang
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
kitak has quit [Ping timeout: 245 seconds]
elliotec has joined #ruby-lang
knu has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
specialblend has quit [Quit: specialblend]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heftig has quit [Quit: Quitting]
centrx has quit [Quit: Leaving]
CJD14 has quit [Ping timeout: 240 seconds]
clamstar has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
vpretzel has quit [Read error: Connection reset by peer]
centrx has joined #ruby-lang
vpretzel_ has joined #ruby-lang
kitak has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
vpretzel_ has quit [Read error: Operation timed out]
apeiros has quit [Ping timeout: 248 seconds]
blaz3rz has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
hahuang61 has joined #ruby-lang
yugui_zzz is now known as yugui
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
ender|dktm has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
apeiros has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Fyyr13 has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 252 seconds]
Voker57 has quit [Read error: Connection reset by peer]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
CJD14 has joined #ruby-lang
simoz19 has joined #ruby-lang
mbj has joined #ruby-lang
simoz110 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
clamstar has quit [Quit: Computer has gone to sleep.]
simoz19 has quit [Ping timeout: 264 seconds]
simoz110 has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 252 seconds]
centrx has quit [Quit: Leaving]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
phansch has joined #ruby-lang
phansch_ has quit [Ping timeout: 260 seconds]
simoz110 has joined #ruby-lang
mbj has quit [Quit: Lost terminal]
face has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
vpretzel has joined #ruby-lang
kitak has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
iliketur_ has quit [Excess Flood]
judofyr has joined #ruby-lang
iliketurtles has quit [Ping timeout: 248 seconds]
iliketur_ has joined #ruby-lang
charliesome has joined #ruby-lang
vpretzel has quit [Ping timeout: 272 seconds]
Elico has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
levifig has quit [Read error: Operation timed out]
Elico1 has joined #ruby-lang
levifig has joined #ruby-lang
kitak has joined #ruby-lang
doki_pen_ has quit [Read error: Operation timed out]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
hackeron_ has quit [Read error: Operation timed out]
havenwood has quit [Read error: Connection reset by peer]
hackeron has joined #ruby-lang
gix has quit [Read error: Operation timed out]
llakey has quit [Read error: Operation timed out]
havenwood has joined #ruby-lang
certainty has quit [Read error: Operation timed out]
hagebake has quit [Read error: Operation timed out]
kylo has quit [Ping timeout: 265 seconds]
certainty has joined #ruby-lang
ahf has quit [Read error: Operation timed out]
ahf has joined #ruby-lang
ahf has joined #ruby-lang
ahf has quit [Changing host]
doki_pen has joined #ruby-lang
joonty has quit [Ping timeout: 265 seconds]
amcoder has quit [Quit: ZZZzzz…]
hagabaka has joined #ruby-lang
llakey has joined #ruby-lang
joonty has joined #ruby-lang
kylo has joined #ruby-lang
judofyr has joined #ruby-lang
mistym has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
gix has joined #ruby-lang
Elico1 has quit [Quit: Elico1]
Elico has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
<ljarvis> moin
<judofyr> hi ljarvis
tylersmith has joined #ruby-lang
<ljarvis> hello judofyr
<judofyr> what's up ljarvis
<ljarvis> not much judofyr, just started work, yourself?
<judofyr> ditto
tsou has quit [Quit: off]
elliotec has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 264 seconds]
elliotec has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
<hardy12> Hey all
knu has joined #ruby-lang
tylersmith has quit [Ping timeout: 252 seconds]
yfeldblu_ has quit [Read error: Connection reset by peer]
tsou has joined #ruby-lang
setmeaway has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
iliketurtles has joined #ruby-lang
<judofyr> hey hardy12
<judofyr> nice, Eric Wong got commit access to ruby-core \o/
robbyoconnor has quit [Ping timeout: 264 seconds]
cnivolle has joined #ruby-lang
iliketur_ has quit [Ping timeout: 245 seconds]
clamstar has joined #ruby-lang
cnivolle_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
cnivolle has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
benlovell has joined #ruby-lang
mrgrieves has joined #ruby-lang
elliotec has quit [Ping timeout: 264 seconds]
clamstar has quit [Quit: Computer has gone to sleep.]
rahul_j has joined #ruby-lang
heftig has joined #ruby-lang
<mrgrieves> hi, how can I apply conditionals in ruby so that when a command fails while using the each method the iteration doesn't break? http://pastebin.com/ggbqXcwf
korpz has joined #ruby-lang
<certainty> mrgrieves: rescue the exception
<mrgrieves> certainty:Thanks, how can I do that? What I'm trying to do is to obtain a hash at the end with the directories that were found
robmiller has joined #ruby-lang
<mrgrieves> if a dir is not found I just want to carry on with the iteration
vpretzel has joined #ruby-lang
<certainty> mrgrieves: you can either check if the directory exists before you access it (which probably is prone to a race condition) or just handle thaÃe exception. http://www.rubyist.net/~slagell/ruby/rescue.html
<maloik> Anyone here happen to make heavy use of d3js for stock exchange-like pages ?
<judofyr> mrgrieves: check if File.exist?("#{appdir}/#{comp}/release")
arBmind has joined #ruby-lang
<certainty> still possible that it is deleted between the two operations
vpretzel has quit [Ping timeout: 245 seconds]
joonty has quit [Quit: WeeChat 0.4.2]
jsrn has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
knu has joined #ruby-lang
michd is now known as MichD
elia has joined #ruby-lang
<mrgrieves> thanks guys, I'd like to give rescue a try
phansch has quit [Quit: Leaving]
<mrgrieves> but just trying to assign "NA" to the item if the exception is rescue is giving me syntax errors
francisfish has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
<certainty> mrgrieves: show us the code
mikecmpbll has joined #ruby-lang
havenwood has quit [Ping timeout: 265 seconds]
cnivolle_ has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
joonty has joined #ruby-lang
<certainty> mrgrieves: just do this: rel[comp] = File.readlink("#{appdir}/#{comp}/release") rescue "NA"
CJD14 has quit [Ping timeout: 272 seconds]
RoxasShadowRS has joined #ruby-lang
<mrgrieves> brilliant!
<mrgrieves> what if I just don't want to add that item to the hash at all? any suggestions?
<whitequark> begin rel[comp] = File.readlink(...) rescue end
atmosx has joined #ruby-lang
<mrgrieves> thank you very much guys! I definetly need to do some reading on exception handling and ruby in general
<mrgrieves> thanks again
<yorickpeterse> morning
<judofyr> yorickpeterse: how's your Mongo adventure going?
enkristoffer has joined #ruby-lang
benlovell has quit [Quit: leaving]
<yorickpeterse> I fucking hate it
<yorickpeterse> also I need a new chair at home, any suggestions?
<yorickpeterse> I don't mind racking up a few hundred bucks
simoz110 has quit [Ping timeout: 252 seconds]
bin7me has joined #ruby-lang
yuuki has joined #ruby-lang
tbuehlmann has joined #ruby-lang
enkristoffer has quit [Ping timeout: 240 seconds]
yuuki has quit [Client Quit]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
_tockitj has joined #ruby-lang
<ledestin> yorickpeterse: HEIST cow leather is what I have
atmosx has quit [Quit: Lost in trance]
<ledestin> yorickpeterse: very good
<ledestin> yorickpeterse: I've tried many before I found a decent one
<yorickpeterse> Hm, I fear that my cat will enjoy a leather chair too much though
<yorickpeterse> "Hmmm yes this looks like a nice place to sharpen my claws"
<wnd> I wouldn't mind having a Swopper chair at home, one at the office has really helped with my back
saarinen has joined #ruby-lang
Pupeno_w has joined #ruby-lang
DouweM has quit [Ping timeout: 240 seconds]
<yorickpeterse> I have some shitty 80 bucks Ikea chair at home
marr has joined #ruby-lang
<yorickpeterse> The back is hollow and although that used to be fine the fabric is slowly stretching a bit
<yorickpeterse> meaning it becomes less comfortable
<yorickpeterse> At $WORK we have standard office chairs
mehlah has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
havenn has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
<ledestin> recliner works for me and laptop, but for desktop it's not good
<ledestin> because I have to move it every time I want in or out
jonahR has quit [Quit: jonahR]
<maloik> go to a specialized store
<maloik> there's herman miller lookalikes starting at 350-450 euro
<maloik> I remember trying a super nice one for 450 or so, almost bought it but then decided to save my money
<maloik> you just need to train your cat imo :-)
<ledestin> my chair was $300 NZD
<maloik> ours is several years old, my mom apparently trained it by keeping a water sprayer nearby
<ledestin> 1 euro is about 2 NZD
<maloik> so whenever he did something he wasnt supposed to she'd spray the cat
vpretzel has joined #ruby-lang
<yorickpeterse> maloik: mine is pretty well trained but still an ass
<maloik> now she just needs to pick it up and show it to the cat, and it'll know what's up
<maloik> pretty baller
saarinen has quit [Ping timeout: 264 seconds]
<yorickpeterse> also if I'm going to spend lots of gold on a chair I want the real deal
<yorickpeterse> not some Chinese knock-off
<maloik> they're not knockoffs, just less expensive than real herman millers
<maloik> a real one will set you back 1000 euro if not more
havenwood has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby-lang
workmad3 has joined #ruby-lang
DouweM has joined #ruby-lang
bzalasky has joined #ruby-lang
vpretzel has quit [Ping timeout: 252 seconds]
r0bgleeson has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
saarinen has quit [Quit: saarinen]
rjrj has joined #ruby-lang
dagobah has joined #ruby-lang
phansch has joined #ruby-lang
diegoviola has joined #ruby-lang
rjrj has quit [Remote host closed the connection]
canderson has joined #ruby-lang
kitak has quit [Remote host closed the connection]
mehlah has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
mehlah has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
TvL2386 has joined #ruby-lang
<TvL2386> hi guys, I'm building a gem which has a dependency on 'json'. Because I assumed json was in the standard lib, it does not work on ruby-1.8.7 which it should. How can I fix this? Should I just put 'json' as a dependency and will that work fine with >= 1.9.2?
anulman has quit [Quit: Leaving.]
<yorickpeterse> Save yourself trouble and drop 1.8 support
<yorickpeterse> JSON is both in stdlib as well as a Gem
<yorickpeterse> The Gem version typically is newer
<yorickpeterse> (and in more recent versions it was also faster)
<TvL2386> thanks yorickpeterse, unfortunately dropping 1.8.7 is not yet an option
<ledestin> TvL2386: security support for 1.8 was dropped AFAIK
<yorickpeterse> lol 1.8 support
<yorickpeterse> fuck that shit
<yorickpeterse> However, the JSON gem should work fine on 1.8 as well
<yorickpeterse> There's no harm in simply adding a dep in your Gemspec to it
joonty has quit [Ping timeout: 240 seconds]
joonty has joined #ruby-lang
MichD is now known as michd
yfeldblum has quit [Ping timeout: 260 seconds]
<TvL2386> thanks!
michd is now known as MichD
<r0bgleeson> yorickpeterse: that's usually my reaction too. lol fuck that shit.
<yorickpeterse> yet I still have an REE app in $PROD :<
havenwood has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
<r0bgleeson> at least REE was a better 1.8 :P
<yorickpeterse> it's still a pile of poop
<r0bgleeson> yeah, 1.8 was pretty poor
vpretzel has joined #ruby-lang
<yorickpeterse> how to not parse Dutch dates:
* yorickpeterse facedesk
woollyams has quit [Ping timeout: 252 seconds]
<r0bgleeson> hehe
<yorickpeterse> funny enough it seems to give back "--" in some weird cases
havenwood has quit [Ping timeout: 245 seconds]
<yorickpeterse> would be nice if Date.parse would also include the input date in errors, now I have to manually re-raise things
<r0bgleeson> depends what 'x' is i guess
<yorickpeterse> the input date
<yorickpeterse> as a Dutch date, so "26 januari 2014"
<r0bgleeson> just add, require 'chronic/dutch' to https://github.com/mojombo/chronic ? :P
EngierkO has joined #ruby-lang
<r0bgleeson> that'd be a pretty interesting feature
<yorickpeterse> No, I'll probably be writing a multi-lingual date parser pretty soon
<r0bgleeson> cool
<yorickpeterse> our dictionaries for all these darn month names keeps growing
vpretzel has quit [Ping timeout: 240 seconds]
<yorickpeterse> and I cbf re-implementing the same code over and over
<yorickpeterse> http://hastebin.com/raw/cigafaqigu e.g. this is just for a single website
<yorickpeterse> all of those 3 formats are actually used
<r0bgleeson> décembre: "December"
<r0bgleeson> what's that suppose to be?
<r0bgleeson> i guess some accent gone wrong
<yorickpeterse> eh, that's your browser
<yorickpeterse> shows up fine here
<yorickpeterse> it's décembre
<r0bgleeson> ah
<r0bgleeson> yeah renders fine here
<yorickpeterse> and ugh, darn aws-sdk bugs
<yorickpeterse> apparently when I connect to a queue it randomly throws signature errors
<yorickpeterse> but only on Rbx, never seen this on MRI
<yorickpeterse> suspect a threading issue might be the cause of it
kitak has joined #ruby-lang
Cakey has joined #ruby-lang
relix has joined #ruby-lang
<r0bgleeson> not sure, never used that gem (directly)
<yorickpeterse> it's super weird, it only happens when a thread fails, restarts and tries to reconnect
<yorickpeterse> none of the stuff is shared between threads so it seems to be something in either Rbx or the aws-sdk
mucker has joined #ruby-lang
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
clamstar has joined #ruby-lang
badeball has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby-lang
mikecmpbll has joined #ruby-lang
joonty has quit [Ping timeout: 240 seconds]
joonty has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
clamstar has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> oh neat, a travel website just went down
<yorickpeterse> and we get a nice ASP.NET error page
yfeldblu_ has quit [Ping timeout: 260 seconds]
clamstar has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
ric has quit []
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> yorickpeterse: curious - why do you prefer rbx over mri/jruby?
symm- has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
relix has joined #ruby-lang
clamstar has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> Threading, it's mostly just Ruby, boots up faster than jruby, plus I have commit bit
<yorickpeterse> We'll be using jruby in the future as well though
<yorickpeterse> (we have to talk to some Java libs)
yuuki has joined #ruby-lang
yuuki is now known as yuuki1224
vlad_starkov has joined #ruby-lang
clamstar has joined #ruby-lang
yuuki1224 has quit [Remote host closed the connection]
yuuki1224 has joined #ruby-lang
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby-lang
FiXato|IkkeHer has joined #ruby-lang
yuuki1224 has quit [Ping timeout: 260 seconds]
FiXato|IkkeHer has quit [Client Quit]
FiXato|IkkeHer has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
clamstar has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
soba has joined #ruby-lang
havenwood has joined #ruby-lang
clamstar has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
korpz has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
korpz has joined #ruby-lang
vpretzel has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
havenwood has quit [Ping timeout: 272 seconds]
<r0bgleeson> rubinius is cool sauce, that's why
vpretzel has quit [Ping timeout: 252 seconds]
<yorickpeterse> https://github.com/aws/aws-sdk-ruby/issues/455 awww yiss, actually managed to reproduce it
<yorickpeterse> now waiting for "WONTFIX: herp derp"
vlad_sta_ has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
<r0bgleeson> yorickpeterse: did you try on jruby also?
<yorickpeterse> Early on I did some comparing but not that much
<yorickpeterse> we rely on Process.fork() so jruby isn't (yet) an option
<yorickpeterse> not sure if there are ways around Process.fork()
<yorickpeterse> plus it's mostly java and none of us know Java
<yorickpeterse> Meaning fixing bugs == waiting for someone else to do it
jvrmaia has joined #ruby-lang
<r0bgleeson> java will never support fork
<r0bgleeson> so you will need to change your code
<yorickpeterse> I see that as an issue with Java/JVM since fork() is actually pretty useful
<yorickpeterse> either way, I haven't dug that deep in jruby yet
<r0bgleeson> yeah, the JVM just doesn't handle it, you can't fork another instance of the JVM to a subprocess and expect it to work
<yorickpeterse> there's also a bunch of C-exts that we use which will become problematic in the future when they are no longer supported
<r0bgleeson> i believe the issue is something like that
Cakey has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
<r0bgleeson> objective-c/cocoa also don't let you fork unless you exec() right away
<r0bgleeson> so macruby also can't fork
<r0bgleeson> just rubinius/MRI
<r0bgleeson> annoying problem if you write a lot of code that uses it :))
phansch has quit [Read error: Connection reset by peer]
clamstar has quit [Quit: Textual IRC Client: www.textualapp.com]
korpz has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
phansch has joined #ruby-lang
dannysmith has joined #ruby-lang
CJD14_ has quit [Quit: Connection closed for inactivity]
rahul_j has quit [Quit: rahul_j]
phansch_ has joined #ruby-lang
Cakey has joined #ruby-lang
cored has joined #ruby-lang
ledestin has joined #ruby-lang
phansch has quit [Quit: Leaving]
canderson has quit [Read error: Operation timed out]
<nhmood> Can anyone recommend which of these two hash formats is better in the "ruby" way https://gist.github.com/nhmood/a387d1b05107db9fcf75
<nhmood> Any improvements/other tips are welcome too
<judofyr> r0bgleeson: version 2
<r0bgleeson> judofyr: version 2?
<judofyr> err
<judofyr> tab complete fai
<judofyr> l
<r0bgleeson> ah
<r0bgleeson> no worries
<judofyr> nhmood: I prefer version 2
<nhmood> Is there any particular reason?
<judofyr> nhmood: there's no reason to use String.new or Hash.new
<nhmood> I know that v2 is more concise, but I feel like v1 is more explanatory / clear
<judofyr> (unless you're setting a default value on the Hash)
<nhmood> judofyr: I guess {} and "" are indicative enough
<nhmood> judofyr: in terms of performance, do you know of a difference between "" and String.new?
RubyHead has joined #ruby-lang
<judofyr> nhmood: "" is faster, but it's probably never going to matter
<judofyr> nhmood: "method call 4366622.6 (±4.7%) i/s" vs "literal 5901824.0 (±4.6%) i/s"
yalue has joined #ruby-lang
<nhmood> judofyr: yeah I doubt it would matter I was just curious
<nhmood> judofyr: thanks for the help :)
achru has quit [Remote host closed the connection]
<certainty> interesting
DevDoo has joined #ruby-lang
danijoo has quit [Quit: Leaving...]
soba has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
phansch_ has quit [Ping timeout: 248 seconds]
cnivolle_ has joined #ruby-lang
vpretzel has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
cnivolle has quit [Ping timeout: 252 seconds]
<yorickpeterse> so there's Range#cover? and Range#include?, one of those only checked the start/end values, which one was that?
<yorickpeterse> the other one was slow as balls for lots of valyues
<yorickpeterse> * values
vpretzel has quit [Ping timeout: 252 seconds]
<judofyr> yorickpeterse: #cover? checks for endpoints
<judofyr> #include? uses #succ
<yorickpeterse> so....
DevDoo has quit [Remote host closed the connection]
DouweM has quit [Ping timeout: 252 seconds]
<judofyr> the behavior can be different though
DevDoo has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
<yorickpeterse> >> require 'date'; d1 = Date.new(0, 1, 1); d2 = Date.new(2099, 1, 1); (d1..d2).cover?(Date.today)
<eval-in> yorickpeterse => true (https://eval.in/95671)
<yorickpeterse> >> require 'date'; d1 = Date.new(0, 1, 1); d2 = Date.new(2099, 1, 1); (d1..d2).include?(Date.today)
<eval-in> yorickpeterse => true (https://eval.in/95672)
<yorickpeterse> heh, I expected at least some timeout somewhere
<judofyr> >> ("a".."z").cover?("zz")
<eval-in> judofyr => false (https://eval.in/95673)
<judofyr> >> ("a".."z").include?("zz")
<eval-in> judofyr => false (https://eval.in/95674)
<judofyr> no
<yorickpeterse> basically one of them was slow, I don't want that one
<judofyr> >> ("a".."z").include?("cc")
<judofyr> >> ("a".."z").cover?("cc")
<eval-in> judofyr => true (https://eval.in/95675)
tkuchiki has joined #ruby-lang
<yorickpeterse> Hm, seems Range#cover? is the faster one
<judofyr> yes
<yorickpeterse> ta
cnivolle_ has quit [Ping timeout: 252 seconds]
<judofyr> >> ("aaaaaaa".."zzzzzzz").include?("a")
<eval-in> judofyr => (https://eval.in/95676)
<judofyr> >> ("aaaaaaa".."zzzzzzz").cover?("a")
<eval-in> judofyr => false (https://eval.in/95677)
<judofyr> yorickpeterse: ^
<judofyr> that first one is a timeout
<yorickpeterse> heh
phansch_ has joined #ruby-lang
patriciomacadden has joined #ruby-lang
cnivolle has joined #ruby-lang
phansch_ is now known as phansch
DevDoo has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
smashwilson has joined #ruby-lang
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rahul_j has joined #ruby-lang
DouweM has joined #ruby-lang
mikecmpbll has joined #ruby-lang
ecnalyr has joined #ruby-lang
makoto_ has joined #ruby-lang
mehlah has joined #ruby-lang
canderson has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Squarepy has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
miqui has joined #ruby-lang
mykoweb has joined #ruby-lang
phansch has quit [Quit: Leaving]
phansch has joined #ruby-lang
anulman has joined #ruby-lang
jsrn has quit [Read error: Operation timed out]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnivolle has quit [Remote host closed the connection]
ngw has joined #ruby-lang
patriciomacadden has joined #ruby-lang
cnivolle has joined #ruby-lang
bin7me has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
patriciomacadden has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
jvrmaia has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 245 seconds]
breakingthings has joined #ruby-lang
vpretzel has quit [Ping timeout: 252 seconds]
jvrmaia has quit [Ping timeout: 248 seconds]
brettweavnet has joined #ruby-lang
benlovell has joined #ruby-lang
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
makoto_ has quit [Remote host closed the connection]
bin7me has joined #ruby-lang
vpretzel has joined #ruby-lang
jaimef has joined #ruby-lang
jvrmaia has joined #ruby-lang
phansch has quit [Quit: Leaving]
flip_digits has joined #ruby-lang
jsrn has joined #ruby-lang
enebo has joined #ruby-lang
dm78 has joined #ruby-lang
yfeldblum has joined #ruby-lang
marcofernandez has quit [Read error: Connection reset by peer]
seanlinsley has quit [Quit: …]
feinbergscott has joined #ruby-lang
poor_leno has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
seanlinsley has joined #ruby-lang
ItSANgo has quit [Quit: Leaving...]
ngw has quit [Quit: Linkinus - http://linkinus.com]
amcoder has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
amcoder has quit [Client Quit]
vlad_starkov has joined #ruby-lang
relix has joined #ruby-lang
jsrn has quit [Quit: Leaving]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
nigerianceo has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
havenwood has joined #ruby-lang
ItSANgo has joined #ruby-lang
mrevd has joined #ruby-lang
mucker has quit [Ping timeout: 272 seconds]
marr has quit [Ping timeout: 272 seconds]
GaelanAintAround is now known as Gaelan
arBmind has quit [Quit: Leaving.]
jtw has joined #ruby-lang
davemox has joined #ruby-lang
hardy12 has quit [Ping timeout: 252 seconds]
bradcliffe has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nathanstitt has joined #ruby-lang
hahuang61 has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 252 seconds]
aarellan_ has joined #ruby-lang
tylersmith has joined #ruby-lang
Gaelan is now known as GaelanAintAround
badeball has joined #ruby-lang
aarellan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby-lang
blaz3rz has joined #ruby-lang
rahul_j has joined #ruby-lang
bin7me has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
achru has joined #ruby-lang
seanlinsley has quit [Quit: …]
shinnya has joined #ruby-lang
kitak has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
kitak has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Cakey has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
Cakey has quit [Ping timeout: 248 seconds]
vlad_sta_ has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
brooks has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
alekst has joined #ruby-lang
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
phansch has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 248 seconds]
mistym has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsrn has joined #ruby-lang
dm78 has quit [Ping timeout: 264 seconds]
mattsp1290 has joined #ruby-lang
brooks has quit [Quit: brooks]
MartynKeigher has quit [Remote host closed the connection]
phansch has quit [Remote host closed the connection]
phansch has joined #ruby-lang
bjh13 has joined #ruby-lang
phansch has quit [Remote host closed the connection]
phansch has joined #ruby-lang
mattsp1290 has quit [Quit: mattsp1290]
alekst has quit [Quit: Computer has gone to sleep.]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradcliffe has joined #ruby-lang
cored has quit [Ping timeout: 272 seconds]
cored has joined #ruby-lang
bzalasky has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
brooks has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbj has joined #ruby-lang
MartynKeigher has joined #ruby-lang
havenwood has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
seanlinsley has joined #ruby-lang
retro|cz has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby-lang
cnivolle_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
r0bgleeson has quit [Quit: w0rk]
MrZYX|off is now known as MrZYX
centrx has joined #ruby-lang
cnivolle has quit [Ping timeout: 260 seconds]
alekst has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
rippa has joined #ruby-lang
ender|dktm has joined #ruby-lang
brooks has quit [Quit: brooks]
brooks has joined #ruby-lang
judofyr has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
jmeeuwen has quit [Remote host closed the connection]
jmeeuwen has joined #ruby-lang
moneydouble has joined #ruby-lang
yfeldblum has joined #ruby-lang
judofyr has quit [Ping timeout: 245 seconds]
feinbergscott has quit [Quit: Textual IRC Client: www.textualapp.com]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
mattsp1290 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
patriciomacadden has joined #ruby-lang
Cakey has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 252 seconds]
phansch has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 245 seconds]
ecnalyr has joined #ruby-lang
priodev has joined #ruby-lang
senj has joined #ruby-lang
senj has quit [Changing host]
senj has joined #ruby-lang
feinbergscott has joined #ruby-lang
priodev has quit [Ping timeout: 272 seconds]
moneydouble has quit [Quit: Leaving.]
robbyoconnor has joined #ruby-lang
|jemc| has joined #ruby-lang
feinbergscott has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
priodev has joined #ruby-lang
senj has quit [Quit: Sleep Now]
senj has joined #ruby-lang
havenwood has joined #ruby-lang
jsrn has quit [Quit: Leaving]
guns has joined #ruby-lang
guns has quit [Client Quit]
elliotec has joined #ruby-lang
panpainter has joined #ruby-lang
hahuang61 has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
bantic has joined #ruby-lang
dm78 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
achru has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
priodev has quit [Ping timeout: 272 seconds]
elliotec has joined #ruby-lang
dagobah has quit [Quit: Leaving...]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
cirenyc has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
<yorickpeterse> debugging linux network performance
<yorickpeterse> yay...
__butch__ has joined #ruby-lang
<yorickpeterse> if a roundtrip from Tokyo to Amsterdam is faster than Ireland to Amsterdam (like, a lot faster) then something is really wrong
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
feinbergscott has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsulliva_ has joined #ruby-lang
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
feinbergscott has left #ruby-lang [#ruby-lang]
<whitequark> I once pinged google.com via he.net ipv6 tunnel
<whitequark> and it was faster than just ping google.com via my main connection
<whitequark> by about 10ms
vlad_starkov has quit [Remote host closed the connection]
<MrZYX> I know that phenomenon...
coca_rails has quit [Ping timeout: 240 seconds]
deception has joined #ruby-lang
Lewix has joined #ruby-lang
elia has quit [Ping timeout: 248 seconds]
r0bgleeson has joined #ruby-lang
saarinen has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
priodev has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
<yorickpeterse> nice feature of Yum: install a package, ^C becomes useless during installation
<yorickpeterse> that is, you can hit it whatever you want but when choosing mirrors it refuses to abort
<ljarvis> who the fuck uses yum it's a useless piece of shit
<yorickpeterse> CentOS
<ljarvis> fuck centos
<centrx> Use a deb-based system
<yorickpeterse> Yeah...there's this thing called "out of my control"
<ljarvis> god damn excuses
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
<darix> you could use zypper on centos just fine i think
ender|dktm has quit [Read error: Connection reset by peer]
Cakey has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
retro|cz has joined #ruby-lang
saarinen has quit [Ping timeout: 264 seconds]
<yorickpeterse> ...there's a connection going to tbag.heanet.ie
yfeldblum has quit [Read error: Connection reset by peer]
<yorickpeterse> lawl
moneydouble has joined #ruby-lang
phansch has joined #ruby-lang
anulman has quit [Quit: Leaving.]
saarinen has joined #ruby-lang
ender|dktm has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 253 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
coca_rails has joined #ruby-lang
zlogan has quit [Ping timeout: 252 seconds]
francisfish has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
robmiller has quit [Quit: robmiller]
elliotec has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
FamilyBlom1115 has joined #ruby-lang
shinnya has quit [Ping timeout: 245 seconds]
brooks has quit [Quit: brooks]
FamilyBlom1115 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Eric has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]
Eric is now known as Guest47516
mrevd has quit [Quit: Leaving.]
cirenyc has joined #ruby-lang
Guest47516 has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
saarinen has quit [Read error: Connection reset by peer]
coca_rails has joined #ruby-lang
saarinen has joined #ruby-lang
mrevd has joined #ruby-lang
mrevd has quit [Changing host]
mrevd has joined #ruby-lang
poor_leno has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrevd has quit [Read error: Connection reset by peer]
brooks has joined #ruby-lang
mrevd has joined #ruby-lang
tylersmith has joined #ruby-lang
poor_leno has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
kitak has quit [Remote host closed the connection]
mrevd has joined #ruby-lang
VTLob has joined #ruby-lang
kitak has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
mykoweb has quit [Remote host closed the connection]
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
robbyoconnor has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
mrevd has joined #ruby-lang
yfeldblum has joined #ruby-lang
centrx has quit [Quit: Leaving]
coca_rails has quit [Remote host closed the connection]
judofyr has quit [Client Quit]
coca_rails has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
|jemc| has quit [Read error: Operation timed out]
enebo has joined #ruby-lang
DevDoo has joined #ruby-lang
coca_rails has quit [Ping timeout: 241 seconds]
cirenyc has joined #ruby-lang
elliotec has joined #ruby-lang
Elico has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
gix has quit [Read error: Connection reset by peer]
gix has joined #ruby-lang
mykoweb has joined #ruby-lang
centrx has joined #ruby-lang
elliotec has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 252 seconds]
makoto_ has joined #ruby-lang
Eric has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]
Eric is now known as Guest91217
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
Guest91217 has quit [Client Quit]
makoto_ has quit [Ping timeout: 252 seconds]
tempered has joined #ruby-lang
musty has quit [Changing host]
musty has joined #ruby-lang
CJD14 has joined #ruby-lang
senj has quit [Quit: Sleep Now]
mrevd has quit [Read error: Connection reset by peer]
cirenyc has joined #ruby-lang
mrevd has joined #ruby-lang
mrevd has quit [Changing host]
mrevd has joined #ruby-lang
mrevd has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
znz_jp has quit [Ping timeout: 245 seconds]
mrevd has joined #ruby-lang
soraher has quit [Ping timeout: 272 seconds]
elliotec has quit [Remote host closed the connection]
Elico1 has joined #ruby-lang
znz_jp has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
soraher has joined #ruby-lang
airdisa has joined #ruby-lang
elliotec has joined #ruby-lang
mrevd has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
mrevd has quit [Client Quit]
yfeldblu_ has joined #ruby-lang
mrevd has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 272 seconds]
mrevd has joined #ruby-lang
achru has joined #ruby-lang
marcofernandez has joined #ruby-lang
mbj has left #ruby-lang [#ruby-lang]
Squarepy has quit [Quit: Leaving]
InfoIRCNET has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<InfoIRCNET> Info about IRC http://p.pw/DLV
InfoIRCNET has left #ruby-lang [#ruby-lang]
elliotec has quit [Remote host closed the connection]
<yorickpeterse> Yeah that looks totally legit
<yorickpeterse> let me just click that link
achru has quit [Client Quit]
<yorickpeterse> oh it points to wikipedia
<yorickpeterse> but goes through a tracking link
* yorickpeterse doesn't have +o, 0/10 can't ban :<
senj has joined #ruby-lang
elliotec has joined #ruby-lang
francisfish has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
coca_rails has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
Pupeno_w has quit [Read error: Operation timed out]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
<apeiros> yorickpeterse: he's gone again already
DevDoo has quit [Ping timeout: 245 seconds]
<yorickpeterse> yeah :/
francisfish has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> at least it wasn't some lame porn website
coca_rails has quit [Remote host closed the connection]
<yorickpeterse> though it's a bit odd to post links about IRC on...IRC
<yorickpeterse> "HEY FOLKS, CHECK OUT THIS COOL IRC PROTOCOL. IT'S TOTALL RETRO"
deens has joined #ruby-lang
setmeaway has joined #ruby-lang
elliotec has quit [Ping timeout: 245 seconds]
moneydouble has joined #ruby-lang
heftig has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
MartynKeigher has quit [Write error: Connection reset by peer]
havenwood has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
coca_rails has joined #ruby-lang
Cakey has joined #ruby-lang
kurko_ has joined #ruby-lang
feinbergscott has joined #ruby-lang
<wnd> well, at least it keeps the money flowing. erm, all four dollars of it if he's lucky.
sepp2k has joined #ruby-lang
mykoweb has joined #ruby-lang
MartynKeigher has joined #ruby-lang
makoto_ has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
<Paradox> hahaaha
<Paradox> im dying
<yorickpeterse> ah, the good ol' base class
<Paradox> this makes base even more base-y
<yorickpeterse> the best way is to simply patch Object directly, always
<yorickpeterse> wouldn't be very different from ActiveSupport
vlad_starkov has joined #ruby-lang
davemox has quit [Quit: davemox]
makoto_ has quit [Ping timeout: 260 seconds]
<Paradox> it does make a good PHP simulator though
<Paradox> namespace? wahts that
phansch has quit [Read error: Connection reset by peer]
phansch has joined #ruby-lang
anulman has joined #ruby-lang
francisfish has joined #ruby-lang
cored has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Remote host closed the connection]
plurt has quit [Quit: Computer has gone to sleep.]
jacky is now known as jackyalcine
jvrmaia has quit []
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
yfeldblum has joined #ruby-lang
elliotec has joined #ruby-lang
relix has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
centrx has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
shado has quit [Read error: Connection reset by peer]
simoz110 has joined #ruby-lang
shado has joined #ruby-lang
mrgrieves has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
simoz110 has quit [Read error: Connection reset by peer]
phansch has quit [Quit: Leaving]
mehlah has joined #ruby-lang
|jemc| has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
flip_digits has quit []
Pupeno_w has joined #ruby-lang
hfp has quit [Ping timeout: 245 seconds]
serroft has joined #ruby-lang
Pupeno_w has quit [Ping timeout: 248 seconds]
hfp has joined #ruby-lang
cnivolle has joined #ruby-lang
saarinen has joined #ruby-lang
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
Asher has quit [Quit: Leaving.]
simoz110 has joined #ruby-lang
hfp has quit [Ping timeout: 264 seconds]
brownies has quit [Ping timeout: 264 seconds]
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
makoto_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
aarellan_ has joined #ruby-lang
<yorickpeterse> 21:45, my evening finally starts
<yorickpeterse> today's motto was "Fucking EC2"
makoto_ has quit [Ping timeout: 240 seconds]
aarellan_ has left #ruby-lang [#ruby-lang]
vlad_starkov has joined #ruby-lang
brooks has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby-lang
hfp has joined #ruby-lang
DevDoo has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
Eric has joined #ruby-lang
DevDoo_ has joined #ruby-lang
Eric is now known as Guest88830
jsulliva_ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Johz has joined #ruby-lang
DevDoo has quit [Ping timeout: 272 seconds]
diegoviola has quit [Ping timeout: 252 seconds]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
DevDoo_ has quit [Read error: Connection reset by peer]
lfox has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
hfp has quit [Ping timeout: 245 seconds]
DevDoo has joined #ruby-lang
hfp has joined #ruby-lang
moneydouble has joined #ruby-lang
yfeldblum has joined #ruby-lang
charliesome has joined #ruby-lang
robbyoconnor has joined #ruby-lang
DevDoo has quit [Ping timeout: 272 seconds]
jtw has quit []
vlad_starkov has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
atmosx has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
retro|cz has quit [Ping timeout: 252 seconds]
DevDoo has joined #ruby-lang
atmosx has quit [Client Quit]
phansch has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vpretzel_ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
jtw has joined #ruby-lang
cirenyc has joined #ruby-lang
hfp has quit [Ping timeout: 240 seconds]
vpretzel has quit [Ping timeout: 245 seconds]
jtw has quit [Client Quit]
Guest88830 has quit [Read error: Connection reset by peer]
hfp has joined #ruby-lang
jsullivandigs has joined #ruby-lang
qwebirc24368 has joined #ruby-lang
qwebirc24368 has quit [Client Quit]
toretore has quit [Quit: This computer has gone to sleep]
elliotec has joined #ruby-lang
x0f_ has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
panpainter has quit [Quit: panpainter]
ivanskie has joined #ruby-lang
skade has joined #ruby-lang
moneydouble has joined #ruby-lang
jtw has joined #ruby-lang
lcdhoffman has joined #ruby-lang
mistym has quit [Remote host closed the connection]
MichD is now known as michd
mistym has joined #ruby-lang
deens has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
simoz110 has quit [Ping timeout: 252 seconds]
Eric has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]
Eric is now known as Guest36794
robbyoconnor has quit [Ping timeout: 265 seconds]
elliotec has joined #ruby-lang
makoto_ has joined #ruby-lang
cirenyc has joined #ruby-lang
Guest36794 has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
makoto_ has quit [Ping timeout: 272 seconds]
jvrmaia has quit []
Elico1 has quit [Quit: Elico1]
panpainter has joined #ruby-lang
vpretzel_ is now known as vpretzel
lcdhoffman has quit [Quit: lcdhoffman]
blaz3rz has quit [Remote host closed the connection]
sandbags0 has joined #ruby-lang
aarellan_ has joined #ruby-lang
deception has quit [Quit: Goodbye]
sandbags0 has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
DevDoo has quit [Remote host closed the connection]
simoz110 has joined #ruby-lang
DevDoo has joined #ruby-lang
sandbags has quit [Ping timeout: 245 seconds]
airdisa has quit []
simoz111 has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
simoz110 has quit [Ping timeout: 272 seconds]
francisfish has joined #ruby-lang
CJD14 has quit [Quit: WeeChat 0.4.2]
CJD14 has joined #ruby-lang
symm- has joined #ruby-lang
alekst has quit [Quit: Computer has gone to sleep.]
aarellan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
elliotec has quit [Remote host closed the connection]
dm78 has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
dm78 has joined #ruby-lang
Asher has joined #ruby-lang
hfp has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
hfp has joined #ruby-lang
feinberg_ has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]
feinbergscott has quit [Ping timeout: 245 seconds]
dm78 has quit [Ping timeout: 272 seconds]
<|jemc|> this definitely seems like a weird smell, but does anyone know of a way to assert in a unit test that an object is no longer "reachable" (and is thus free for garbage collection)? Obviously, it would seem the test itself would need to hold a reference to the object to make that assertion, so you would actual be checking that it is reachable from nowhere else...
symm- has quit [Ping timeout: 245 seconds]
<drbrain> |jemc|: there is not such a way
<drbrain> |jemc|: ruby's GC is conservative so there is not a way inside ruby to determine this
<drbrain> the object may be referenced on the stack which ruby can't "see"
<yorickpeterse> woaaah, new Github PR design
<apeiros> |jemc|: you could test whether it has been collected
dm78 has joined #ruby-lang
<apeiros> |jemc|: see WeakRef
<|jemc|> does ObjectSpace.each_object yield only objects "reachable" through normal means?
<apeiros> I doubt it
<yorickpeterse> it yields objects that are currently alive, anywhere
<|jemc|> okay
<|jemc|> I'll try the WeakRef route
<apeiros> I'm not sure whether a manual GC.start ensures collection
<|jemc|> is GC.start still the preferred way to try to instigate garbage collection?
<|jemc|> ah
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
<drbrain> apeiros: if the object is referenced only on the stack it won't be collected so will still be accessible via WeakRef even after GC.start
deens has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
<apeiros> :-/
<apeiros> so indeed no reliable way to tell without patching MRI
<drbrain> it won't be otherwise accessible (because you don't have a reference to it in a variable)
<|jemc|> I'm just trying to figure out the best way to add a spec for a "memory leak" bugfix
<apeiros> GC metrics might help there. not sure about that either, though.
<yorickpeterse> what are you doing that you want to manually trigger a GC run?
<drbrain> yes, GC metrics on an integration test which easily leaks
<yorickpeterse> ah, memory leaks
<yorickpeterse> I'd say doing that and using ObjectSpace is a bit of a hack
<|jemc|> well, it's certainly not elegant
<drbrain> you need to run the leak-generating code enough to be sure that the GC runs
<|jemc|> I'll try drbrain's approach
<|jemc|> thanks folks
<drbrain> and probably a couple times to see if you reach a steady state (no leaks) or have growth (leaks) in object counts
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<|jemc|> yeah
<drbrain> nowadays you can ask ruby how many times the GC has run and how many objects are allocated, so you should be able to avoid false positives
dm78 has quit [Ping timeout: 245 seconds]
<|jemc|> yeah, something like 'do_big_thing until gc_has_run_again'
charliesome has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
<drbrain> ↑ yeah
deens has quit [Remote host closed the connection]
specialblend has joined #ruby-lang
blaz3rz has joined #ruby-lang
phansch_ has joined #ruby-lang
moneydouble has left #ruby-lang [#ruby-lang]
marr has joined #ruby-lang
makoto_ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
phansch has quit [Read error: Operation timed out]
kurko_ has quit [Quit: Computer has gone to sleep.]
phansch_ is now known as phansch
r0bglees0n has joined #ruby-lang
havenwood has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
r0bgleeson has quit [Ping timeout: 260 seconds]
smashwilson has quit [Quit: Leaving]
makoto_ has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
mrevd has quit [Quit: Leaving.]
ohsix has quit [Quit: butt]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby-lang
jsullivandigs has joined #ruby-lang
phansch_ has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
ohsix has joined #ruby-lang
ohsix has quit [Client Quit]
ohsix has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
phansch has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
breakingthings has quit []
panpainter has quit [Quit: panpainter]
mattsp1290 has quit [Remote host closed the connection]
havenwood has quit []
poor_leno has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jvrmaia has joined #ruby-lang
ssb123 has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
mykoweb has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
mykoweb has joined #ruby-lang
dm78 has joined #ruby-lang
shinnya has joined #ruby-lang
bjh13 has quit [Quit: leaving]
feinberg_ has quit [Ping timeout: 265 seconds]
lfox has quit [Quit: ZZZzzz…]
ender|dktm has quit [Quit: Lost terminal]
chouhoulis has joined #ruby-lang
lcdhoffman has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
deens has joined #ruby-lang
elliotec has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.2]
|jemc| has joined #ruby-lang
postmodern has joined #ruby-lang
chouhoulis has quit [Ping timeout: 265 seconds]
airdisa has joined #ruby-lang
Cakey has joined #ruby-lang
mbj has joined #ruby-lang
phansch_ has quit [Quit: Leaving]
jvrmaia has quit []
CaptainJet has joined #ruby-lang
Elico has joined #ruby-lang
gix has quit [Quit: Client exiting]
elia has joined #ruby-lang
airdisa has quit [Client Quit]
GaelanAintAround is now known as Gaelan
jtw has quit []
gix has joined #ruby-lang
dannysmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby-lang
nigerianceo has quit []
deens has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
kinginky has joined #ruby-lang
<kinginky> hello. i am trying to use activerecord in some slightly strange circumstances. first of all, my project is NOT rails-based. im trying to use active record to connect to >1 database. i found lots of info on this through google, for instance, supplying establish_connection in my model
mykoweb has quit [Remote host closed the connection]
<kinginky> anyway, nothing works. i can load everything up, establish the connection through Base, but when i try to call on a model, i get an error saying it could not connect to the MYSQL DB, but it is trying to connect to root@MY-NET-IP (<---- not localhost)
<kinginky> so i dunno whats going on
<kinginky> ive tried to set ActiveRecord::Base.configurations
<kinginky> ive tried including establish_connection in my models... etc.... in other words, im at a loss and hoping IRC can help today
nathanstitt has quit [Quit: I growing sleepy]
<drbrain> kinginky: if nobody answers here, you may want to try #rubyonrails
<drbrain> since activerecord is part of rails
<kinginky> dbrain: not a bad idea.... i noticed there's no activerecord channel, dunno why i didnt think of this
<apeiros> kinginky: iirc when I used AR outside of rails I also had issues
<kinginky> on that note.. know of any good ORMs besides AR, DataMapper, and Sequel?
<apeiros> kinginky: it turned out that it had to do with the hash passed to establish_connection. I don't remember well, I think I assumed it wanted string keys because the database.yml uses string keys, but it wants symbols. or other way round.
<kinginky> ya this project requires a connection to >1 DB which is preventing me from using my natural Squal
<kinginky> Sequel
cnivolle has quit [Remote host closed the connection]
<kinginky> ok, ok thx
<apeiros> huh? Sequel can connect to multiple db's just fine
<kinginky> apeiros: that might be it
<drbrain> kinginky: taps (gem) uses Sequel to connect to multiple DBs
<apeiros> at least I'm pretty sure I've done so
kith has quit [Read error: Connection reset by peer]
<kinginky> god
<kinginky> u guys are so amazing
seanlinsley has quit [Quit: …]
kith has joined #ruby-lang
<kinginky> i think (ok, yeah, i am) that im a ruby expert
<kinginky> but when i come here as a last resort
brettweavnet has quit [Quit: Bye]
<kinginky> jesus
<kinginky> humbles me
<kinginky> thx for the great suggestions, looking into all these things now
<kinginky> ty
<apeiros> hf
<drbrain> \ol
<drbrain> \o/
<kinginky> i will have fun xD
<kinginky> its my life man
<kinginky> more people need to get obsessed w/ computers ;)
<kinginky> the world would be a better place
makoto_ has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
<apeiros> no, no, I think I like it that the local farmers don't obsess with computers… I like my fresh food :)
<kinginky> haha true.. if the whole world consisted of computer experts, well, we'd have no society ;)
<kinginky> anyway... this taps... looks like it has a specific purpose. were you suggesting looking into using taps, or looking into taps' source itself (i.e. since it uses sequel w/ >1 DB)?
dm78 has quit [Remote host closed the connection]
DevDoo has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
dm78 has joined #ruby-lang
dm78 has quit [Read error: Connection reset by peer]
DevDoo has joined #ruby-lang
bantic has quit [Quit: bantic]
workmad3 has quit [Ping timeout: 260 seconds]
dm78 has joined #ruby-lang
<kinginky> apeiros: sorry, forgot to include ur name on the last two messages. hoping u could answer that question for me. thanks again
makoto_ has quit [Ping timeout: 240 seconds]
<apeiros> kinginky: drbrain suggested taps. I haven't used it
<drbrain> kinginky: I suggested taps as an example of a gem that used multiple databases with sequel
<drbrain> kinginky: since you didn't explain your purpose beyond "I need >1 DB" I'm not sure if its suitable for more than looking at
<drbrain> (if you do need to migrate a database to a new machine, it does that quite well!
<kinginky> apeiros: ty
<kinginky> drbrain: ty
<kinginky> drbrain: ill look into the source. if multiple DBs is possible thru Sequel, my life becomes a lot easier
AtnNn has joined #ruby-lang
<drbrain> :D
guns has joined #ruby-lang
DevDoo has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
dm78 has quit [Ping timeout: 248 seconds]
<AtnNn> Hello. Is it possible to make a proc with a fixed arity out of a bloc that has a variable number of arguments?
<drbrain> AtnNn: I think only by wrapping it in a proc
<drbrain> AtnNn: why do you need this?
robbyoconnor has quit [Ping timeout: 252 seconds]
<kinginky> AtnNn: sounds kind of strange. maybe there's a simpler way to do what you're looking for
<kinginky> or maybe im misunderstanding...
<kinginky> give me an example
patriciomacadden has joined #ruby-lang
<AtnNn> drbrain: I'm trying to get a method defined by define_method to work with a function that behaves differently depending on the arity of it's argument
<kinginky> that still doesnt tell me much, personally...
<drbrain> AtnNn: wrapping it is the way to go, then
<kinginky> what is the purpose?
dorei has joined #ruby-lang
<drbrain> AtnNn: making a method behave differently depending on the arity of an argument is rather strange
<kinginky> drbrain: why?
<AtnNn> drbrain: the method gets serialised and sent elsewhere for evluation
<kinginky> lots of popular libraries do this based on opt count or opt presence
<kinginky> how is doing it on arity different?
<AtnNn> if you are curious, it is explained here: http://www.rethinkdb.com/blog/lambda-functions/
<dorei> is there some way for autocurrying on ruby procs/lambdas ?
<drbrain> dorei: there is Proc.curry
<dorei> oh, thanx, i'll take a look at it :)
<kinginky> drbrain: appreciate ur helpfulness and not trying to be an ass, just trying to learn, but why wouldn't you evaluate a function on arity as opposed to say an opt hash
patriciomacadden has quit [Ping timeout: 260 seconds]
<kinginky> or were u just saying it's odd, not that it's unacceptable?
<kinginky> because it is odd, i agree
simoz111 has quit [Ping timeout: 260 seconds]
<drbrain> kinginky: its generally odd to change behavior based on arity, but that may be something beyond AtnNn's control
<drbrain> the link seems to indicate it is beyond AtnNn's control
<kinginky> drbrain: exactly what i was thinking. sounds like he's dealing with more people than himself
<kinginky> but yes, i see the arity oddness point. i thoguht you were saying he SHOULDN'T do it that way, so i was thinking maybe there was a good reason other than that it is against convention
<kinginky> thanks
DEac-_ has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
<AtnNn> I've been thinking about just using eval, but it makes for some ugly code
<kinginky> AtnNn: avoid eval at all costs unless u arent worried about security
elliotec has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
<drbrain> AtnNn: if you have: real_proc = proc do |*a| blah(a) end
<kinginky> not that ive personally had a problem with eval, actually i use it in a few cases (taking regex from DB and "evaling" to regex)
<kinginky> is there a better way to do this?
<drbrain> AtnNn: then you can: wrapper = proc do |arg_1, arg_2| real_proc.call(arg_1, arg_2) end
jerrytgarcia has quit [Quit: WeeChat 0.4.2]