apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
jeff_r has quit [Ping timeout: 256 seconds]
mmorga has joined #ruby-lang
jeff_r has joined #ruby-lang
eponymi has joined #ruby-lang
<zzak> drbrain: <3
<drbrain> zzak: awww
<zzak> :D
fragamus has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 245 seconds]
fragamus has quit [Client Quit]
saarinen has quit [Quit: saarinen]
fragamus has joined #ruby-lang
chendo has quit [Quit: .]
stamina has quit [Ping timeout: 256 seconds]
amerine has quit [Quit: Computer has gone to sleep.]
jsullivandigs has quit [Remote host closed the connection]
ThinkSocrates has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
digs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
fragamus has quit [Quit: Computer has gone to sleep.]
digs is now known as Guest26902
bantic has quit [Quit: bantic]
retro|cz has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby-lang
pkrnj has joined #ruby-lang
cads has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
malev has quit [Remote host closed the connection]
mistym has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 245 seconds]
jewing has quit [Remote host closed the connection]
jeff_r has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
jeff_r has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
kitak has quit [Ping timeout: 246 seconds]
kitak_ has quit [Remote host closed the connection]
jeff_r has quit [Ping timeout: 248 seconds]
kitak has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
kitak_ has joined #ruby-lang
kitak has quit [Read error: Connection reset by peer]
jrobeson has quit [Ping timeout: 245 seconds]
Oloryn_lt2 has joined #ruby-lang
tomzx_mac has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
mistym has joined #ruby-lang
jrobeson has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
hahuang61 has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
bzalasky has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
jeff_r has joined #ruby-lang
fosky has quit [Ping timeout: 246 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
jonog has joined #ruby-lang
bzalasky has quit [Ping timeout: 264 seconds]
GeissT has joined #ruby-lang
mdedetrich has joined #ruby-lang
jinslee has joined #ruby-lang
pr0ton has joined #ruby-lang
fijimunkii has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
jeff_r has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
nevill has joined #ruby-lang
lfox has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jonog has quit [Quit: Konversation terminated!]
kenta_ has joined #ruby-lang
fosky has joined #ruby-lang
tkuchiki has joined #ruby-lang
sevvie has joined #ruby-lang
jeff_r has joined #ruby-lang
kenta_ has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
ThinkSocrates has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
nathanstitt has quit [Quit: I growing sleepy]
kireevco_ has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
nathanstitt has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
eponymi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
kireevco_ has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 264 seconds]
eponymi has joined #ruby-lang
eponymi has quit [Client Quit]
ThinkSocrates has quit [Remote host closed the connection]
gyutyuglf has joined #ruby-lang
mucker has joined #ruby-lang
Guest26902 has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
<imperator> jruby 1.7.5 is out btw
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
yuroyoro has joined #ruby-lang
yuroyoro has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
flip_digits has joined #ruby-lang
lsegal has quit [Client Quit]
lsegal has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
gyutyuglf has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Ping timeout: 268 seconds]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
micalexander has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
dmitrykorotkov has quit [Read error: Connection reset by peer]
chendo has joined #ruby-lang
hramrach has joined #ruby-lang
soba has joined #ruby-lang
mistym has quit [Remote host closed the connection]
pr0ton has quit [Ping timeout: 245 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby-lang
* imperator thinks his ffi/solaris problem can be solved using info from http://www.elabs.se/blog/61-advanced-topics-in-ruby-ffi
fijimunkii has joined #ruby-lang
tarebyte has joined #ruby-lang
tarebyte has quit [Remote host closed the connection]
tarebyte has joined #ruby-lang
io_syl_ has quit [Ping timeout: 248 seconds]
CoreData has quit [Read error: Connection reset by peer]
CoreData has joined #ruby-lang
qba73 has joined #ruby-lang
yxhuvud has quit [Ping timeout: 240 seconds]
pkrnj has joined #ruby-lang
jbsan has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Quit: I growing sleepy]
sevvie has quit [Ping timeout: 245 seconds]
micalexander has joined #ruby-lang
kenta_ has joined #ruby-lang
sevvie has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
kireevco_ has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
cads has quit [Read error: Operation timed out]
jonahR has joined #ruby-lang
Oloryn_lt2 has quit [Quit: Leaving.]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Oloryn_lt2 has joined #ruby-lang
firestarman has joined #ruby-lang
jonahR has quit [Ping timeout: 248 seconds]
jonahR has joined #ruby-lang
io_syl has joined #ruby-lang
<firestarman> Anyone wanna help with a small issue i'm having parsing an xml file using nokogiri?
<firestarman> I'm new to trying to parsing files =/
yxhuvud has joined #ruby-lang
sevvie has quit [Ping timeout: 248 seconds]
jbsan has joined #ruby-lang
mdedetrich has joined #ruby-lang
kireevco_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
tarebyte has quit [Remote host closed the connection]
imperator has left #ruby-lang ["Leaving"]
scottstamp has joined #ruby-lang
r0bby_ has joined #ruby-lang
cads has joined #ruby-lang
saarinen has quit [Quit: saarinen]
havenwood has quit [Ping timeout: 246 seconds]
<eam> How do I close a file opened with IO.sysopen?
dhruvasagar has quit [Ping timeout: 256 seconds]
<eam> there's no IO.sysclose
<eam> oh, I see I can IO.open it again ...
jsullivandigs has joined #ruby-lang
<heftig> eam: IO.new(fd).close
<eam> IO.open(fd).close seems to work, same thing?
pkrnj has quit [Ping timeout: 268 seconds]
bastilian has quit [Quit: Leaving...]
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
pkrnj has joined #ruby-lang
Cakey has joined #ruby-lang
havenwood has joined #ruby-lang
Cakey has left #ruby-lang [#ruby-lang]
mucker has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
mucker has joined #ruby-lang
kenta_ has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby-lang
amerine has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
mucker has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
lfox has joined #ruby-lang
<eam> ok new problem, how do I call File#flock on a IO.sysopen'd file?
<eam> I don't see any way to mint a File instance from a numeric fd
<eam> or from any fd for that matter
<eam> man why can't language just implement the normal api
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
jithu has joined #ruby-lang
<eam> is there any way to convert an IO object into a File object?
sevvie has quit [Ping timeout: 241 seconds]
nevill has quit [Quit: nevill]
RickHull1 has quit [Quit: Leaving.]
lfox has quit [Quit: ZZZzzz…]
mistym has joined #ruby-lang
<xybre> eam: File.sysopen doesn't work?
sevvie has joined #ruby-lang
saarinen has joined #ruby-lang
<eam> xybre: that returns an Integer
<eam> xybre: turns out File.open() takes an integer, even though the docs say otherwise ...
scottstamp is now known as zz_scottstamp
<eam> not happy with the state of ruby documentation
nofxx1 has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
<xybre> eam: Are you using the same version of Ruby that the documentation is?
mossplix has joined #ruby-lang
<heftig> IO.method(:new).unbind.bind(File).call(fd)
<heftig> pile of hack
sevvie has quit [Read error: Connection reset by peer]
<eam> xybre: I am
<eam> heftig: hah
zz_scottstamp is now known as scottstamp
<heftig> oh, just noticed File.new works too, heh.
<eam> heftig: that's good to know
<eam> but yeah my mistake was reading the doc and not just trying it
bootcamp_student has joined #ruby-lang
scottstamp is now known as zz_scottstamp
<xybre> I almost always look at the source too, sometimes it gives valuable insight.
fuhgeddaboudit has joined #ruby-lang
sevvie has joined #ruby-lang
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby-lang
hahuang61 has quit [Ping timeout: 248 seconds]
sandroqz has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
micalexa_ has joined #ruby-lang
mossplix has quit [Read error: Connection reset by peer]
<eam> I am not used to such difficulty in figuring out how to invoke basic posix-ish function =/
kurko_ has quit [Quit: Computer has gone to sleep.]
sandroqz has quit [Client Quit]
<heftig> eam: why do you need sysopen, anyway?
ledestin has quit [Ping timeout: 268 seconds]
bungoman has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
mossplix has joined #ruby-lang
<micalexa_> Does mysql2 allow you to dump databases?
mistym has quit [Remote host closed the connection]
<eam> heftig: O_EXCL
momomomomo has joined #ruby-lang
<micalexa_> Is anyone familiar with mysql2?
<eam> I'm interacting with another application which has particular lockfile handling semantics
bungoman has quit [Ping timeout: 248 seconds]
hramrach has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
<heftig> eam: f = File.new("Foo", IO::WRONLY | IO::CREAT | IO::EXCL)
hramrach has joined #ruby-lang
micalexa_ has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
sevvie has quit [Read error: Connection reset by peer]
sevvie has joined #ruby-lang
nevill has joined #ruby-lang
faces has quit [Ping timeout: 245 seconds]
nevill has quit [Client Quit]
nevill has joined #ruby-lang
jithu has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
sevvie has quit [Read error: Connection reset by peer]
jinslee has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Ping timeout: 248 seconds]
jonahR has left #ruby-lang [#ruby-lang]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
qba73_ has joined #ruby-lang
bootcamp_student has quit [Ping timeout: 250 seconds]
nneko001__ has joined #ruby-lang
mossplix has quit [Quit: mossplix]
qba73 has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby-lang
dhruvasagar has joined #ruby-lang
FastJack_ has quit [Quit: leaving]
FastJack has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
hahuang61 has joined #ruby-lang
qba73_ has quit [Remote host closed the connection]
jonathanmarvens has quit [Ping timeout: 246 seconds]
nevill has quit [Quit: nevill]
JohnBat26 has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
jithu has joined #ruby-lang
jithu has quit [Client Quit]
diegoviola has joined #ruby-lang
jithu has joined #ruby-lang
arBmind has joined #ruby-lang
brianpWins has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
brianpWins has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
firestarman has quit [Ping timeout: 250 seconds]
kireevco_ has quit [Read error: Operation timed out]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
Senjai has quit [Ping timeout: 245 seconds]
jefflyne has joined #ruby-lang
jefflyne_ has quit [Ping timeout: 264 seconds]
crazynuxer has joined #ruby-lang
sevvie has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
nofxx1 has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
arup_rakshi87 has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
tbuehlmann has joined #ruby-lang
mistym has joined #ruby-lang
tonni has joined #ruby-lang
soba has quit [Read error: Connection reset by peer]
soba has joined #ruby-lang
nisstyre has quit [Read error: Connection timed out]
iliketurtles has quit [Ping timeout: 240 seconds]
nisstyre has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
CoreData has quit [Quit: CoreData]
sevvie has quit [Quit: leaving]
fosky_ has joined #ruby-lang
dagobah has joined #ruby-lang
<eam> heftig: hm, why does sysopen exist, then?
<heftig> it's mainly used internally, i think
<eam> leftover from copying perl's stdlib?
<eam> well rad, I'd rather use open if it allows me those flags
jsaak has joined #ruby-lang
fosky has quit [Ping timeout: 268 seconds]
arup_rakshi87 has quit [Ping timeout: 250 seconds]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Client Quit]
CoreData has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tonni has joined #ruby-lang
tonni is now known as ta
stevepsharpe has joined #ruby-lang
Coincidental has quit [Ping timeout: 264 seconds]
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
dhruvasagar has quit [Read error: Connection reset by peer]
stevepsharpe has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
[spoiler] has joined #ruby-lang
toretore has joined #ruby-lang
KM|2 has joined #ruby-lang
gnufied has quit [Ping timeout: 245 seconds]
eval-in_ has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
Muz_ has joined #ruby-lang
ozzloy_ has joined #ruby-lang
drakkhen_ has joined #ruby-lang
crankhar1er has joined #ruby-lang
apeiros has joined #ruby-lang
iliketurtles has joined #ruby-lang
ta has joined #ruby-lang
yeltzooo6 has joined #ruby-lang
gnufied has joined #ruby-lang
ingof has joined #ruby-lang
shtirlic_ has joined #ruby-lang
toertore has quit [*.net *.split]
franckverrot has quit [*.net *.split]
KM has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
drakkhen has quit [*.net *.split]
shtirlic has quit [*.net *.split]
crankharder has quit [*.net *.split]
Muz has quit [*.net *.split]
brixen has quit [*.net *.split]
akahn has quit [*.net *.split]
chickenflu has quit [*.net *.split]
kitallis-cloud has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
eval-in has quit [*.net *.split]
sluukkonen has quit [*.net *.split]
ozzloy has quit [*.net *.split]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
arBmind has quit [Quit: Leaving.]
brixen_ has joined #ruby-lang
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
h_kon has joined #ruby-lang
stevepsharpe has joined #ruby-lang
coffeejunk has joined #ruby-lang
sluukkonen has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
mucker has quit [Ping timeout: 245 seconds]
nofxx has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
mnngfltg has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
<maloik> morning o/
<[spoiler]> maloik, morning!
jefflyne has quit [Ping timeout: 264 seconds]
ingof has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
ta has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
rolfb has joined #ruby-lang
ta has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<Silex> [spoiler]: yeah it kinda matter, I remember some gem being isntalled about rvm
<Silex> I just want someone to paste me the output of "rvm gemset use global; gem list"
<Silex> it probably doens't matter for anything serious, but for my curiosity and "things are like defaults" it matters :)
<[spoiler]> o: Hello
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
<[spoiler]> Well, hold on, let me check
<maloik> Just called 'Rudy' 'Ruby'
<maloik> brilliant
<Silex> [spoiler]: hum, maybe I should mention that I'm answering yesterday's question :)
[dmp] has quit [Quit: Changing server]
dmp_ has joined #ruby-lang
<[spoiler]> Silex: I figured :P
dmp_ is now known as [dmp]
supergeek has joined #ruby-lang
amerine has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
hhatch has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
<[spoiler]> Weird. These are the global gems on my RVM: https://gist.github.com/anonymous/eea51f175970cbc9a64e
knu has quit [Ping timeout: 248 seconds]
<[spoiler]> (on Windows, only installed sinatra and sass, which I removed from the list): https://gist.github.com/anonymous/5ae788ec38aa896077cd
relix has joined #ruby-lang
benlovell has joined #ruby-lang
<maloik> on windows? but it shows ubuntu as your hostname? :o
<maloik> minitest comes with ruby so not sure if that would display at all
<Silex> [spoiler]: thank you very much!
benlovell has quit [Client Quit]
benlovell has joined #ruby-lang
ta has joined #ruby-lang
mucker has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
kitallis-cloud has joined #ruby-lang
ged has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
tsou has joined #ruby-lang
<yorickpeterse> morning
mdedetrich has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
<rolfb> morning yorickpeterse
kek has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
supergeek has quit [Quit: Leaving]
hahuang61 has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
<gnufied> Morning folks.
RickHull1 has joined #ruby-lang
RickHull1 has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
hahuang61 has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
mdedetrich has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
<ljarvis> moin
mdedetrich has joined #ruby-lang
hahuang61 has joined #ruby-lang
<maloik> Anyone here happen to know about how to install stuff using homebrew but using a different gcc ?
<maloik> I get the feeling that's what's causing mongodb install to fail :/
workmad3 has joined #ruby-lang
adambeynon has joined #ruby-lang
<maloik> ddfreyne: are you ddefrenne on twitter or is that a different person? :D
<yorickpeterse> "different gcc"?
<yorickpeterse> maloik: https://twitter.com/ddfreyne this is the right one
elia has joined #ruby-lang
<maloik> aha gotcha... confusing :D
fosky_ has quit [Ping timeout: 268 seconds]
io_syl has quit []
<yorickpeterse> You can tell it's the right one by the "danger" part
<maloik> lol
<maloik> also, different gcc... something to do with c libs or whatever :/ I'm currently reinstalling all packages it's complaining about because of https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries
<maloik> cumbersome to say the lease
face has joined #ruby-lang
<yorickpeterse> wat
<yorickpeterse> heh lol Apple
Ahti333 has joined #ruby-lang
gyutyuglf has joined #ruby-lang
<maloik> balls. mongo really refusing to install
<yorickpeterse> If I had a penny for every time I had issues with Mongo I'd probably have about 10 euros now
<DefV> euro's don't have pennys
<DefV> so that's kind of a blank statement
<DefV> because everything depends on conversion rate
<DefV> when did you have the issues, and did you immediatly convert to euros
<yorickpeterse> oh shut up already
<yorickpeterse> FINE
<DefV> :-)
<yorickpeterse> If I had a cent for every time I had issues with Mongo [etc]
chickenflu has joined #ruby-lang
akahn has joined #ruby-lang
franckverrot has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
ledestin has joined #ruby-lang
fosky_ has joined #ruby-lang
sjltaylo_ has joined #ruby-lang
sjltaylo_ has quit [Remote host closed the connection]
sjltaylo_ has joined #ruby-lang
jerrytgarcia has quit [Ping timeout: 268 seconds]
sjltaylo_ has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
Muz_ is now known as Muz
dhruvasagar has quit [Read error: Connection reset by peer]
<[spoiler]> maloik: I posted two gists, first one was from ubuntu, the second one from windows :-)
dhruvasagar has joined #ruby-lang
<yorickpeterse> how to spot people not paying attention: http://downloads.yorickpeterse.com/images/screenshot_081013_11%3a37%3a41.png
<yorickpeterse> granted we *really* need to put validation in there
mucker has quit [Remote host closed the connection]
poison has joined #ruby-lang
<[spoiler]> yorickpeterse, not sure what I am looking at :o
<yorickpeterse> people not setting up the right stuff
<yorickpeterse> basically it's a config for pulling data from website A but it points to website B
<yorickpeterse> which has an entirely different output format (A uses an API, B doesn't)
mucker has joined #ruby-lang
<yorickpeterse> so now it's trying to parse HTML as JSON
benlovell has quit [Ping timeout: 245 seconds]
tbuehlmann has quit [Ping timeout: 264 seconds]
<yorickpeterse> another interesting thing you learn from, euh, "website aggregation": lots of them have terrible uptimes
<yorickpeterse> as in, seriously terrible
mucker has quit [Ping timeout: 264 seconds]
<[spoiler]> Oh God, why would people do that
<yorickpeterse> there's this one website which has at least 2000 connection timeouts a day
<yorickpeterse> as in, for a minute or two it's just not working
<[spoiler]> I usually don't run into those websites. I probably ran into 1-2 of them in the 20 years I was ont his planet
<[spoiler]> I was born on this planet, fyi
<yorickpeterse> scraping industry is an interesting one
<yorickpeterse> also lolol Pry in production
<[spoiler]> That sstatements sounds weird now
<yorickpeterse> You were born on this planet?!?!
<yorickpeterse> what are you, a human?
<yorickpeterse> ok so the connect timeout is apparently 20 seconds
<[spoiler]> No, I am a cat!
<yorickpeterse> so for multiple times a day this site just doesn't work for 20 seconds or so
<[spoiler]> Why do they not fix it, though?
<yorickpeterse> Most of these holiday booking websites and what not are hastly put together
<yorickpeterse> e.g. we have one that randomly breaks, including for browsers
<yorickpeterse> (as in, the layout just thrashes randomly)
<yorickpeterse> it's gotten so bad that I can tell what site it is by just looking at the exception message in Rollbar
<yorickpeterse> "Oh, that's site X"
<[spoiler]> LOL
<yorickpeterse> sadly we don't track response times yet
hahuang61 has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby-lang
<maloik> I need to figure out how to set up a highlight window in irssi
tbuehlmann has joined #ruby-lang
<[spoiler]> I just use HexChat (on windows), and it's pretty cool
jithu_ has joined #ruby-lang
jithu has quit [Ping timeout: 248 seconds]
jerrytgarcia has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
knu has joined #ruby-lang
ged has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
<TCMSLP> What is this an example of? on :something, do
<TCMSLP> It looks like it's catching an exception
<TCMSLP> Only, I can't find any reference to 'on' in the ruby docs
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
kitak has joined #ruby-lang
stamina has joined #ruby-lang
kitak_ has quit [Read error: Connection reset by peer]
<tbuehlmann> TCMSLP, um, a method call? to me it looks like an DSL where you can define callbacks that run on the :something event
<[spoiler]> it's probably some library's DSL
<[spoiler]> what tbuehlmann said
fosky_ has quit [Ping timeout: 240 seconds]
<TCMSLP> Yes, I've just found it defined in the gem. I looked yesterday but missed it.
<tbuehlmann> lemme guess: it's either an IRC or websocket library? :)
<[spoiler]> TCMSLP, also, to catch an exception, you'd use rescue
<TCMSLP> tbuehlmann: Yes, it's isaac the IRC framework
schaerli has joined #ruby-lang
<dominikh> it's an ordinary method called "on", taking an argument and a block
<tbuehlmann> ah, an oldie
<TCMSLP> |spoiler|: It looked very much like a throw/catch/rescue hence my line of thought
<TCMSLP> I'm new to Ruby and OOP so it's a bit of a learning curve
<dominikh> and it's listening "on" certain IRC events
gyutyuglf has quit [Ping timeout: 264 seconds]
<TCMSLP> dominikh: Thanks, I see this now
<dominikh> [spoiler]: this is the wrong camp.
<[spoiler]> dominikh, what? o:
gyutyuglf has joined #ruby-lang
axsuul has quit [Ping timeout: 240 seconds]
fosky_ has joined #ruby-lang
cads has quit [Ping timeout: 246 seconds]
r0bby_ has quit [Read error: Operation timed out]
r0bby_ has joined #ruby-lang
csaunder_ has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
Asher has quit [Ping timeout: 240 seconds]
minivan has joined #ruby-lang
kenta_ has quit [Ping timeout: 256 seconds]
jithu_ has quit [Quit: Mother, did it need to be so high?]
Asher has joined #ruby-lang
mucker has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
fosky has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
mdedetrich has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
fijimunkii has quit [Read error: Connection reset by peer]
chinno998 has joined #ruby-lang
chinno998 has quit [Max SendQ exceeded]
chinno998 has joined #ruby-lang
chinno998 has quit [Max SendQ exceeded]
benlovell has joined #ruby-lang
<ljarvis> :)
mdedetrich has joined #ruby-lang
bastilian has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
gyutyuglf has quit [Ping timeout: 268 seconds]
gyutyuglf has joined #ruby-lang
jxie has quit [Quit: leaving]
retro|cz has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
fosky has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
fosky_ has quit [Ping timeout: 245 seconds]
benlovell has quit [Read error: Operation timed out]
Ahti333 has quit [Ping timeout: 264 seconds]
Ahti333 has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
kenta_ has joined #ruby-lang
Ahti333 has quit [Ping timeout: 248 seconds]
Ahti333 has joined #ruby-lang
ldnunes has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
arBmind has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 268 seconds]
arBmind has joined #ruby-lang
judofyr has joined #ruby-lang
tdm00 has joined #ruby-lang
<judofyr> hey folks
<[spoiler]> judofyr, heya!
<judofyr> [spoiler]: what are you spoiling today?
<[spoiler]> I'll reveal [spoiler].
<judofyr> NOOO
<judofyr> damn you
<judofyr> what's up?
Oak has quit [Quit: Later guys... :) (me liking http://hexchat.github.io/ very much)]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
elia has quit [Ping timeout: 246 seconds]
<[spoiler]> I'm just working on a (sobs) php project
<[spoiler]> It's literally making me angrier with each new character
<[spoiler]> and I don't usually have temper issues
<[spoiler]> It was originally supposed to be a RoR poroject, but the client already had a contract with a hosting company (they didn't know the hosting company doesn't support R[oR]), so tsyeah.
<judofyr> nais
elia has joined #ruby-lang
<[spoiler]> I felt bad about turning them down in the end
<judofyr> what PHP framework/stack are you using?
minivan has quit [Ping timeout: 248 seconds]
<judofyr> anything sensible?
<[spoiler]> cakePHP, which is quite similar to Rails apparently
schaerli has quit [Ping timeout: 246 seconds]
<[spoiler]> and so far it's been pretty straight-forward
minivan has joined #ruby-lang
<judofyr> whitequark: you here?
minivan has quit [Client Quit]
csaunder_ has quit [Quit: Textual IRC Client: www.textualapp.com]
minivan has joined #ruby-lang
<judofyr> whitequark: just wondering how Foundry is coming along :)
benlovell has joined #ruby-lang
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
Squarepy has joined #ruby-lang
r0bby_ has quit [Ping timeout: 245 seconds]
kenta_ has quit [Ping timeout: 248 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
minivan has quit [Ping timeout: 248 seconds]
cnivolle has joined #ruby-lang
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby-lang
breakingthings has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
minivan has joined #ruby-lang
cnivolle has joined #ruby-lang
jithu has joined #ruby-lang
cnivolle has quit [Read error: Operation timed out]
cored has quit [Ping timeout: 268 seconds]
soba has quit [Ping timeout: 248 seconds]
hogeo has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
hogeo has joined #ruby-lang
hogeo has quit [Ping timeout: 268 seconds]
nvg has joined #ruby-lang
cored has quit [Quit: leaving]
cored has joined #ruby-lang
schaerli has joined #ruby-lang
r0bby_ has joined #ruby-lang
imperator has joined #ruby-lang
tomzx_mac has joined #ruby-lang
robbyoconnor has joined #ruby-lang
symm- has joined #ruby-lang
r0bby_ has quit [Ping timeout: 248 seconds]
bungoman has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
mbj has joined #ruby-lang
lacrosse has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
lysw123 has joined #ruby-lang
rsl has quit [Ping timeout: 256 seconds]
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
MrZYX|off is now known as MrZYX
banisterfiend has joined #ruby-lang
gyutyuglf has quit []
screaming_otter has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
gyutyuglf has joined #ruby-lang
gyutyuglf has left #ruby-lang [#ruby-lang]
tkuchiki has quit [Ping timeout: 268 seconds]
lysw123 has quit [Quit: lysw123]
scampbell has joined #ruby-lang
rsl has joined #ruby-lang
minivan has quit [Quit: minivan]
minivan has joined #ruby-lang
<micalexander> [spoiler]: are you familiar with mysql2?
omninonsense has joined #ruby-lang
<omninonsense> damn, I got disconnected. (spoiler here)
<micalexander> omninonsense: you familiar with mysql2?
robbyoconnor has quit [Ping timeout: 240 seconds]
crazynuxer has left #ruby-lang [#ruby-lang]
<omninonsense> micalexander, I've used it. That's as far as my familiarity with it goes, though
robbyoconnor has joined #ruby-lang
kenta_ has joined #ruby-lang
<micalexander> omninonsense: do you know if there is an ability do do a mysqldump with it? nothing in the docs
[spoiler] has quit [Disconnected by services]
omninonsense is now known as [spoiler]
banisterfiend has quit [Quit: Computer has gone to sleep.]
<[spoiler]> micalexander, Hmm. I doubt it, to be honest.
lacrosse has joined #ruby-lang
<[spoiler]> AFAIK mysqldump is a command
<micalexander> so at that point does it just make sense to just shell out a dump command or...
<[spoiler]> Yeah, probably. Unless there's another gem that allows it
<micalexander> [spoiler]: it is but isn't tied to mysql though
ThinkSocrates has joined #ruby-lang
<ddfreyne> maloik: I am @ddfreyne on Twitter
<ddfreyne> No clue who ddefrenne is
<ddfreyne> maloik: Weird. He's also from Ghent
<ddfreyne> (although I live in Berlin now \o/)
enebo has joined #ruby-lang
<[spoiler]> You could maybe try bleh = `mysqldump -u root -pLalala ...`
<apeiros> bleh. that sounds like a very reassuring variable name.
<[spoiler]> apeiros, Haha
<yorickpeterse> "a"
<ddfreyne> I prefer the instance variable name "@ddfreyne" personally, but I am biased.
mdedetrich has quit [Quit: Computer has gone to sleep.]
<[spoiler]> ddfreyne, I just realied that! ivars looks like twitter handles!! Hahahaha
scampbell has quit [Remote host closed the connection]
<apeiros> @dd freyne <-- add freyne?
fijimunkii has joined #ruby-lang
<micalexander> [spoiler]: yeah I was hoping that wasn't the case. I think it was you I was talking to about using ruby as a wrapper vs just shelling stuff out as to not spawn up so many threads. Also will keep the app able to work cross platform.
<yorickpeterse> apeiros: neg, syntax error
<yorickpeterse> :>
minivan has quit [Read error: No route to host]
minivan has joined #ruby-lang
mdedetrich has joined #ruby-lang
<[spoiler]> micalexander, calling mysqldump should in theory be cross-platform. mysqldump should be added to the path on windows and nix systems
<yorickpeterse> ddfreyne: also make sure that every project you work on has a class called DangerFreyne
<yorickpeterse> it should be a god object :>
<micalexander> [spoiler]: only issue I can figure is if the user drags a file into the terminal and the path is to the file to import into the database has back slashes vs forward slashes. Is that ability even available on windows?
lfox has joined #ruby-lang
<micalexander> [spoiler]: thanks, I figure it out
momomomomo has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
<[spoiler]> micalexander, Windows supports both forward and backward slashes last time I checked
mannyt has joined #ruby-lang
ThinkSocrates has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Client Quit]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
nathanstitt has joined #ruby-lang
<screaming_otter> i'm trying to get the text between 2 words with regexp matching. I use this: f = text.match(/so(.*?)so/), but it gives me the "so" words as well. I'm pretty new to regexp and ruby btw. (pretty obvious)
richardburton has joined #ruby-lang
<darix> screaming_otter: you probably want f[1] or so
<darix> call inspect on the f variable.
ta has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
<[spoiler]> f's first "member" (0) contains the whole matched string
<[spoiler]> then the rest 1,2,3 are the groups
<[spoiler]> i don't remember if it supports for named groups
<darix> named groups work too but needs at least 1.9 if i recall correctly
tomzx_mac has quit [Ping timeout: 260 seconds]
<screaming_otter> [spoiler]: that solved it, thanks! :)
ledestin has quit [Ping timeout: 248 seconds]
<[spoiler]> screaming_otter, well darix helped, too! :D
kurko_ has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
<screaming_otter> [spoiler]: oh yeah. Thanks darix. :)
h_kon has quit [Remote host closed the connection]
<yorickpeterse> ok I think I accidently memcached
<yorickpeterse> it says we've hit our 90k limit, yet the actual provider says we've only made 3 calls today
<yorickpeterse> lel
<imperator> screaming_otter, rubular.com is your friend :)
<[spoiler]> woah.
<[spoiler]> 90k vs 3 is a hufe difference
dhruvasagar has joined #ruby-lang
<[spoiler]> hufe*
<[spoiler]> huge* fuck
<[spoiler]> that looks weird now
<yorickpeterse> Yeah, it also returns 0 as the actual request value from Memcached so I think I accidently something else
jvrmaia has joined #ruby-lang
<yorickpeterse> oh, that was for tomorrow
<yorickpeterse> heh
<[spoiler]> Is ti possible they screwed up?
<[spoiler]> Oh! ~
ledestin has joined #ruby-lang
mbj has quit [Quit: leaving]
<yorickpeterse> No
<yorickpeterse> They enforce the limit, if they say we're fine we're going for it
<yorickpeterse> I put in an extra safeguard with a slightly lower rate limit, but it's a bit of a hack
Senjai has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
Senjai has quit [Ping timeout: 248 seconds]
ruurd has joined #ruby-lang
ta has joined #ruby-lang
banisterfiend has joined #ruby-lang
richardburton has joined #ruby-lang
<yorickpeterse> fak, so this explains: the rate limit is a sliding average
<yorickpeterse> so it's the past 24 hours, not *today*
<yorickpeterse> bah, that's harder to track
richardburton has left #ruby-lang [#ruby-lang]
ledestin has quit [Quit: ledestin]
<[spoiler]> I hate such statistics, too lmao
mmorga has joined #ruby-lang
symm- has quit [Ping timeout: 246 seconds]
mmorga has quit [Read error: Connection reset by peer]
<yorickpeterse> nah I like solving these problems
mmorga has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<[spoiler]> yorickpeterse, but they're still bad stats in a way, unless the also provide you with normal stats apart from the fluid 24h ones
Mon_Ouie has joined #ruby-lang
<yorickpeterse> No no, you're misunderstanding
<yorickpeterse> This is an API rate limit that's enforced based on the requests of the past 24 hours
<yorickpeterse> so in other words, you can do N requests in 24 hours
<yorickpeterse> But it's 24 hours from the current time
minivan has quit [Ping timeout: 248 seconds]
<yorickpeterse> So if you do it at 00:00 it's from 00:00 -> previous 00:00
<[spoiler]> Oh! Ooooh! Ok yeah, it makes more sense
<yorickpeterse> but if you request something at 15:00 it's from 15:00 -> previous 15:00 (- 24 hours)
<[spoiler]> yorickpeterse, that's a pretty odd mechanism though. I wonder what the benefit is
<yorickpeterse> It allows us to get more data
<[spoiler]> Why not simply reset the API points (or the request limit) once per hour?
<yorickpeterse> So say you're limited per day right, that means that if you hit your limit at 13:00 you're basically fucked until midnight
<yorickpeterse> With this method you're only fucked for an hour, after that you can request a bit more again
<yorickpeterse> But yeah, simply per hour would be nicer
<yorickpeterse> but this is $BIG_EL_CORPORATE that doesn't know how to build APIS
<yorickpeterse> * APIs
ndrst has quit [Ping timeout: 264 seconds]
Senjai has joined #ruby-lang
minivan has joined #ruby-lang
<[spoiler]> Oh, enterprise programming
skade has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
Senjai has quit [Ping timeout: 248 seconds]
fuhgeddaboudit has joined #ruby-lang
mistym has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
<[spoiler]> Small question to everyone on the channel: Do you explicitly return nil at the end of your methods when there's no expeced return value?
<[spoiler]> expected*
<[spoiler]> I know it's a style question, but I'm curious
<micalexander> Im interested to know the answer to this question as well
<micalexander> personally I dont
<dbussink> yorickpeterse: maybe they store metrics in mongo?
<yorickpeterse> zing!
<yorickpeterse> [spoiler]: no
<yorickpeterse> only when you explicitly *don't* want a return value, even then just `return` is enough
<[spoiler]> yorickpeterse, oh no I don't mean using the "return" statement, just writing "nil" at the end since it's shorter
<[spoiler]> I don't really use return unless I want to exit prematurely
<breakingthings> return > nil
micalexander has quit [Remote host closed the connection]
<dbussink> [spoiler]: "USE TABS AND SPACES TO INDENT YOUR CODE."
<dbussink> from enterprise.js
<dbussink> reminds of another project
micalexander has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<[spoiler]> breakingthings, but nil is shorter to type. It's besides the point though. Someone called the ruby community irresponsible the other day for being careful with what their libraries return? I didn't understand why it was such a big problem, even though I'm careful about it myself
scampbell has joined #ruby-lang
<[spoiler]> dbussink, hahaha, there's also a html and css cersion, too
<breakingthings> [spoiler]: reading source code, I believe it is much quicker to distinguish the purpose of "return" to the purpose of "nil".
Asher has quit [Ping timeout: 264 seconds]
<breakingthings> Understandability > Typing effort
<breakingthings> but I think they're being a bit of a babby.
<breakingthings> Return nil when you care to make sure nothing is returned.
<[spoiler]> breakingthings, well yes, but we know that the last value inside a method is implicitly returned, so there's really no point in typing "return x" when you could simply do "x"
<breakingthings> Otherwise, if it's never supposed to be used as a return value, that's probably the fault of the user for trying to use it as such.
micalexander has quit [Ping timeout: 256 seconds]
* breakingthings shrugs
<breakingthings> I would think finding nil standing on it's own weird and would have to think for a second to realize that it's being used to void the return.
<[spoiler]> Hmm
VTLob has joined #ruby-lang
<breakingthings> an actual value from a calculation makes immediate sense to me, but reading nil just seems strange until I recall that it will return nil.
<breakingthings> faster comprehension is all, and for only 3 more letters.
<breakingthings> but then someone will probably argue that "return" is implicit and it should be "return nil" and then I'll watch the world burn
<breakingthings> so do whatever you like
<breakingthings> I'm just being picky.
rue_XIV has quit [Remote host closed the connection]
rue has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
<[spoiler]> Well, it's just the coding style, you have the right to be picky. I never thought that a lone nil might be confusing until now. It makes sense though.
<yorickpeterse> implicit return values are my biggest pet peeve in Ruby
<[spoiler]> I wish Ruby decided to handle it the way JS did (return nil if no return statement exists), but adding that now would probably break 90% of code
<[spoiler]> well, gems at least
<yorickpeterse> that's basically what almost every other programming language out there does
<yorickpeterse> I mainly dislike it because it's a PITA to perform analysis when a method has multiple implicit return values
tubbo has joined #ruby-lang
elia has quit [Read error: Operation timed out]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
Johz has joined #ruby-lang
wallerdev has joined #ruby-lang
<dbussink> yorickpeterse: pita for humans i guess, it still pretty straightforward for a machine
<[spoiler]> Also, on a slightly unrelated note, I'm not sure if the performance protagonists just started getting louder recently, or is there actually more of them now than there used to be before (talking about MRI)? It's a good thing, but it's a bit late imho
<dbussink> yorickpeterse: but if people write code that like, it's usually crappy code
apeiros has joined #ruby-lang
<dbussink> in a language where return was obligated they'd probably still write crappy code
<yorickpeterse> dbussink: for a lot of basic stuff it's not that much of a burden
r0bby_ has joined #ruby-lang
<yorickpeterse> In this case by implicit I'm referring to stuff that's not intended to be a return value but is due to the implicit return nature
<yorickpeterse> kinda depends on the amount of flow control in a method definition how hard it is
jxie has joined #ruby-lang
<breakingthings> [spoiler]: I think both, and I don't think it's late unless you're talking about programming politics in which case who cares.
<breakingthings> we all know that nodemongoscalago is the only scale for webs
<yorickpeterse> yeah for 2 years, then it's <insert new fab>
mistym has joined #ruby-lang
<imperator> yorickpeterse, multiple implicit returns?
tdm00 has quit [Quit: Make like a banana and split!]
robbyoconnor has quit [Ping timeout: 246 seconds]
<imperator> not sure i've ever seen it
* imperator is a fan of the SPoR principle
<[spoiler]> breakingthings, Oh, no, no. I don't mean "too late" in the politics way, I meant in a "why wait so long" way.
<[spoiler]> imperator, what does SPoR stand for?
<imperator> Single Point of Return
<yorickpeterse> imperator: eh, I'm looking at code atm that has at least...
r0bby_ has quit [Ping timeout: 268 seconds]
<yorickpeterse> 4-5 possible return values if I'm not mistaken
<yorickpeterse> only 1 is actually intended
<yorickpeterse> errr oh no, I have a hard return at the end
<yorickpeterse> heh
<yorickpeterse> without that it would be the case though
<yorickpeterse> and yes, SPoR++
<imperator> oh, multiple implicit returns via a case statement? ok
<yorickpeterse> no
<yorickpeterse> flow control in some #each calls and such
<breakingthings> [spoiler]: Then I kind of figure it's people who are either new or are just getting their hooks into it, like Sam Saffron from Discourse. I think he got a crash course in ruby's internals and speed with discourse and he got big in the community for the research.
dhruvasagar has quit [Ping timeout: 252 seconds]
<yorickpeterse> might be less than 4, this is just a super rough estimate
<yorickpeterse> either way, more than 1 :P
<breakingthings> does SPoR include early returns
<tubbo> [spoiler]: there have been (less vocal) people trying to get ruby faster for years
metus_violarium has joined #ruby-lang
<breakingthings> guard clauses, that is
benlovell has quit [Ping timeout: 240 seconds]
<breakingthings> because guard clauses is important, yo.
<imperator> zed shaw basically blew a gasket over performance
<tubbo> but recently it seems jruby and rbx have been stable enough for more people to play around with. it used to be really hard to run certain ruby apps in rbx
<imperator> the big thing now seems to be the gc
<yorickpeterse> I'd say a big role is that tools such as jruby/rbx are finally starting to really mature, though jruby was pretty mature for a while already
<imperator> which, if you're having issues, switch to jruby
<yorickpeterse> imperator: bro everybody knows you should just use REE and then use some GC ENV vars you pulled from the web, that's totally legit
* yorickpeterse cries because we actually have one app still on REE with GC ENV vars
<[spoiler]> tubbo, Oh yeah I agree. I actually like rbx and it seems stable enough
brixen_ has left #ruby-lang [#ruby-lang]
brixen has joined #ruby-lang
<tubbo> i haven't played with jruby in a while but last i checked i couldn't compile shit with c extensions in it
<tubbo> err, install gems that is
<[spoiler]> I think it still can't
<tubbo> which hampered my ability to use it, unfortunately
<[spoiler]> Not sure, though
<tubbo> the gem in question is nokogiri
<yorickpeterse> I was about to ask
<tubbo> heh
<[spoiler]> haha
<dbussink> afaik nokogiri has a java part as well
<yorickpeterse> "NOKOGIRI COMPILATION IS HARD, LETS BUNDLE LIBXML" - Nokogiri is now god awful slow to install instead
<yorickpeterse> and yes, they have a Java version
<[spoiler]> Nokogiri is awesome, though
sirfilip has joined #ruby-lang
<tubbo> cool
<tubbo> i've been thinking of trying out rbx at work, since one of the apps is on 1.8.7 anyway
<tubbo> although now rbx 2 is 1.9 compatible right?
<dbussink> tubbo: work in progress towards 2.1
<tubbo> ah ok
<waxjar> they just released a 2.0
<dbussink> tubbo: but not everything is in there, big ones are keyword args atm that need to be done
<[spoiler]> dbussink, tubbo: I think it supports 1.9 and 2.0 though?
<dbussink> [spoiler]: no, just a single language mode now
<dbussink> there are branches for 1.8 / 1.9 you can use
<tubbo> but will i get syntax errors if i have `when 'blah':` :)
minivan has quit [Quit: minivan]
malev has joined #ruby-lang
<dbussink> tubbo: you mean 1.9+ style symbols?
<tubbo> no, i mean colons at the end of when clauses
saarinen has joined #ruby-lang
<[spoiler]> dbussink, Oh. I thought you can pass it a flag which language to use when you start it, or when compiling
<tubbo> this codebase is chock full of 'em
<dbussink> well, we have a copy of the mri parser, so it should be fine
<dbussink> [spoiler]: no, we moved that out
<tubbo> and it's annoying b/c it's a stupid bit of syntax that MRI just can't figure out
<tubbo> MRI 1.9+ that is..
<dbussink> tubbo: ah ok, well, you can try the 1.8.7 branch of rbx and see if that helps you
jkprg has joined #ruby-lang
<tubbo> yeah, i've actually been auditing parts of the code and attempting an upgrade to MRI 1.9 anyway
diegoviola has joined #ruby-lang
<tubbo> since i figure we might as well get off 1.8.7
<yorickpeterse> hihi, I like how Codeclimate keeps complaining about false positives when it comes to potential dos exploits
<yorickpeterse> "Symbol conversion from unsafe string (parameter value)" - It compares an input string with a string array, no symbols actually involved
<workmad3> yorickpeterse: :D
<imperator> chris2, i've nailed down the culprit (for the solaris/ffi issue)
jkprg has quit [Client Quit]
<imperator> just...not sure how to solve it
tbuehlmann has quit [Quit: Konversation terminated!]
<yorickpeterse> plus it's whitelisted anyway
jkprg has joined #ruby-lang
<yorickpeterse> ok now I found a legit one
<yorickpeterse> fak
<chris2> imperator: yes?
<imperator> chris2, basically, when I call kstat_close everything gets wonky
<imperator> so, i'm guessing my hash has a reference that gets all fucked up when i close the pointer that kstat_open returned
minivan has joined #ruby-lang
<imperator> or something, not sure, since it all -looks- like strings and numbers
* imperator updated the code with comments that points out the issue
rippa has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
<imperator> i tried dup'ing and cloning the hash to try to disentangle it from any pointer, but nope
shinnya has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<imperator> and, i tried using an auto_ptr on the struct, using the release interface, but i couldn't get it to work
<imperator> partly because i think there's a bug in the release interface where it swallows errors
vlad_starkov has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
zz_scottstamp is now known as scottstamp
<imperator> which reminds me, i need to report that
jeff_r has joined #ruby-lang
micalexander has joined #ruby-lang
zmike123 has joined #ruby-lang
sr78ger has joined #ruby-lang
jsullivandigs has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
tkuchiki has joined #ruby-lang
Ahti333 has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby-lang
schaerli has quit [Ping timeout: 246 seconds]
fijimunk1i has joined #ruby-lang
<imperator> yorickpeterse, just switch to Rust ;)
io_syl has quit []
<yorickpeterse> pfff
wallerdev has joined #ruby-lang
<yorickpeterse> I might give it a try when it becomes less "OH GOD CHANGE ALL THE THINGS EVERY HOUR"
<yorickpeterse> Oh, and if I have to use Bugzilla for bug reports I'll never even mention it
screaming_otter has quit [Quit: Leaving]
schaerli has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
<[spoiler]> What bugs me about rust, for some reason, is the "fn" keyword for functions. Why did they not make it "fun"?!
<dominikh> because there is no fun to be had
fijimunkii has quit [Ping timeout: 264 seconds]
<yorickpeterse> ^
schaerli has joined #ruby-lang
<banisterfiend> [spoiler] fn is shorter :)
<banisterfiend> and fn is a fairly common abbreviation for function i think
<imperator> i dunno, i like it
<imperator> seems crisp, concise
<[spoiler]> banisterfiend, but it's not as fun :P
<[spoiler]> dominikh, pfft.
<yorickpeterse> kik, 24 connection failures for website X in the past hour alone
<yorickpeterse> seeing how the connect timeout is 20 seconds that's rather hilarious
<yorickpeterse> 8 minutes of estimated downtime, lol
schaerli has quit [Ping timeout: 265 seconds]
<banisterfiend> [spoiler] go strikes me as a language high level programmers can use so they can say 'hay guise look I'm doin low l3vel programming nao!", i.e it's the easiest and lamest of all "low level" languages
<banisterfiend> end /troll :P
mbj has joined #ruby-lang
<[spoiler]> banisterfiend, :( go to_hell(indended pun);
<gnufied> hmmm
<banisterfiend> :))
<dominikh> while I don't agree that that's the idea behind Go, it's certainly a trend
<imperator> Go looked decent, what's your beef with it?
<banisterfiend> [spoiler] hehe i don't really believe, it looks like an interesting language :) But i'd still rather invest my time learning something that's going to broaden my horizons a bit further, i.e haskell (or maybe rust, though i haven't looked into rust at all ) :)
mnngfltg has quit [Quit: Ex-Chat]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
<[spoiler]> banisterfiend, Oh I know you didn't mean it! I obviously replied with a joke, too! Also, I tried to look into haskell, but it was just not my thing... Rust seems interesting though
headius has joined #ruby-lang
sevvie has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
<banisterfiend> [spoiler] i'd be curious on Go vs Haskell benchmarks
benlovell has joined #ruby-lang
mistym has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
deception has joined #ruby-lang
iliketurtles has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
brianpWins has quit [Quit: brianpWins]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ruurd has joined #ruby-lang
ruurd has quit [Client Quit]
ruurd has joined #ruby-lang
ruurd has quit [Client Quit]
jithu has quit [Quit: Mother, did it need to be so high?]
fuhgeddaboudit has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
diegoviola has quit [Quit: WeeChat 0.4.1]
sevvie has quit [Ping timeout: 265 seconds]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
kek has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
kek has joined #ruby-lang
sevvie has joined #ruby-lang
benlovell has quit [Ping timeout: 268 seconds]
mistym has joined #ruby-lang
saarinen has quit [Quit: saarinen]
kek has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby-lang
Nortmobile has joined #ruby-lang
ykk` has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
skade has quit [Read error: Operation timed out]
ruurd_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
benlovell has joined #ruby-lang
skade has joined #ruby-lang
richardburton1 has joined #ruby-lang
richardburton1 has quit [Client Quit]
scottstamp has quit [Ping timeout: 268 seconds]
violarium has joined #ruby-lang
ruurd_ has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 246 seconds]
minivan has quit [Quit: minivan]
__butch__ has quit [Quit: Leaving.]
minivan has joined #ruby-lang
minivan has left #ruby-lang [#ruby-lang]
lfox has joined #ruby-lang
<imperator> why Go vs Haskell?
<imperator> i saw some Go vs C benchmarks recently; Go was a bit slower, but I guess its advantages are meant to outweigh the speed differential
symm- has joined #ruby-lang
metus_violarium has quit [Ping timeout: 248 seconds]
a1ph4g33k has joined #ruby-lang
__butch__ has joined #ruby-lang
arBmind has joined #ruby-lang
<tubbo> banisterfiend: why is Go lame?
richardburton has joined #ruby-lang
<tubbo> banisterfiend: oh i guess if you're like, already familiar with its concepts and everything it's not much of a good learn
<banisterfiend> imperator because I would like to use haskell in similar places people might use Go
<imperator> you might like to, but i doubt any company is going to let you ;)
richardburton has quit [Client Quit]
<a1ph4g33k> banisterfiend, do you believe that the community is providing enough support in libraries to make Haskell practical ?
ruurd has joined #ruby-lang
<banisterfiend> imperator sure they would,
Pupeno_ has joined #ruby-lang
<banisterfiend> a1ph4g33k i haven't done that much haskell development (mostly just a lot of background reading), but from what i've seen it has most bases covered
<banisterfiend> imperator if you're' working at smart company with enthusiastic developers, i don't see why they'd have an issue with it
pellenation has joined #ruby-lang
<heftig> because they will have to support it
<banisterfiend> heftig it's not like haskell is that obscure these days
<banisterfiend> the #haskell channel is significantly bigger than #ruby and #ruby-lang
<banisterfiend> and i know a lot of ruby devs who play ith it
<heftig> we're living in a bubble here :p
Pupeno has quit [Ping timeout: 260 seconds]
<banisterfiend> and i wouldn't write a huge project in it, just a simple API or something
brianpWins has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
<banisterfiend> and if people like it, we could move onto bigger things
<a1ph4g33k> The most interesting thing I learned about Haskell ( so far ... I have two unread books on it ) is that one of the upper level developers working on Perl 6 views Perl as just a stepping stone to Haskell
<imperator> oi
Pupeno_ has quit [Ping timeout: 260 seconds]
<imperator> probably influenced by pugs
loincloth has joined #ruby-lang
<imperator> which no one but the original author could understand
hahuang61 has quit [Ping timeout: 268 seconds]
<a1ph4g33k> I believe the statement was that Monads provide powerful ways to handle parsing/state and that made building things much easier.
Coincidental has joined #ruby-lang
io_syl has joined #ruby-lang
tylersmith has joined #ruby-lang
havenwood has joined #ruby-lang
kireevco_ has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
iliketurtles has joined #ruby-lang
chrisledet has joined #ruby-lang
judofyr has joined #ruby-lang
ecnalyr has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
tallship has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
kenta_ has quit [Remote host closed the connection]
jeff_r has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
jeff_r has joined #ruby-lang
<maloik> Hmm, I'm working on a webhook system that is supposed to deploy jekyll to your own webhost using a number of different methods that I'd like to describe in 'tasks', but I'm not sure how to write that
<maloik> I want to make it extendable so people can write their own tasks
<maloik> Anyone want to pair with me for a little while on that ?
kenta_ has quit [Ping timeout: 240 seconds]
jeff_r has quit [Ping timeout: 260 seconds]
[spoiler] has quit [Read error: Connection reset by peer]
[spoiler] has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hahuang61 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
schaerli has joined #ruby-lang
tallship has joined #ruby-lang
skade has joined #ruby-lang
jkprg has quit [Quit: jkprg]
jeff_r has joined #ruby-lang
jiuweigui has joined #ruby-lang
sirfilip has quit [Quit: Leaving]
saarinen has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
havenwood has quit [Remote host closed the connection]
ingof has joined #ruby-lang
Asher has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
kek has joined #ruby-lang
Guest93636 has joined #ruby-lang
ykk` has quit [Quit: ykk`]
mmorga has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Guest93636 has left #ruby-lang [#ruby-lang]
gsp has joined #ruby-lang
gsp has quit [Client Quit]
saarinen has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 240 seconds]
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
saarinen has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
kek has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
qba73 has joined #ruby-lang
tdm00 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
fragamus has joined #ruby-lang
cads has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
enebo has quit [Ping timeout: 268 seconds]
enebo has joined #ruby-lang
jiuweigui has quit [Quit: iQuit!]
stamina has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby-lang
bryanl has quit [Ping timeout: 264 seconds]
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
alekst has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
mmorga has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
ozzloy_ has left #ruby-lang [#ruby-lang]
robbyoconnor has joined #ruby-lang
judofyr_ has joined #ruby-lang
judofyr has quit [Disconnected by services]
judofyr_ has left #ruby-lang [#ruby-lang]
fijimunk1i has quit [Ping timeout: 240 seconds]
Coincidental has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
Coincidental has joined #ruby-lang
ndrst has joined #ruby-lang
fijimunkii has joined #ruby-lang
chrisledet has quit [Quit: Textual IRC Client: www.textualapp.com]
fenicks has joined #ruby-lang
ecnalyr has joined #ruby-lang
Coincidental has quit [Ping timeout: 252 seconds]
Coincidental has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
pellenation has quit [Quit: Leaving.]
Coincide_ has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 268 seconds]
flip_digits has joined #ruby-lang
<[spoiler]> Oh. I had no idea there was a #ruby channel!
<yorickpeterse> it's full of imposters
<banisterfiend> [spoiler] it's nearly 3x bigger than this one :)
<[spoiler]> yorickpeterse: why do you say that? Haha
<[spoiler]> banisterfiend Well, it seems like all the cool people are here anyway /biased
<banisterfiend> hehe
<rue> *strangly*
loincloth has quit [Remote host closed the connection]
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
hhatch has quit [Ping timeout: 264 seconds]
kek has quit [Read error: Connection reset by peer]
<[spoiler]> Hmm, I wonder what they talk on the #ruby channel *goes*
kek has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
ruurd has quit [Quit: Leaving...]
Squarepy has joined #ruby-lang
headius has quit [Quit: headius]
seanlerner has joined #ruby-lang
rikai has quit [Read error: Connection reset by peer]
rikai has joined #ruby-lang
benanne has joined #ruby-lang
Aerlinger has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
malev has quit [Read error: Connection reset by peer]
tubbo is now known as Boogerdude
stamina has joined #ruby-lang
Boogerdude is now known as tubbo
Coincidental has quit [Ping timeout: 265 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 245 seconds]
headius has joined #ruby-lang
workmad3 has joined #ruby-lang
havenwood has joined #ruby-lang
alekst has quit [Quit: Leaving...]
ecnalyr has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 248 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
rippa has quit [Read error: Connection reset by peer]
zmike123 has quit [Quit: ~]
tanema has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
Squarepy has quit [Quit: Leaving]
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
seanlerner has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
neaer has joined #ruby-lang
fenicks has quit [Remote host closed the connection]
mistym is now known as mistym_lunch
Tearan has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
enebo has quit [Ping timeout: 248 seconds]
deception has quit [Quit: Goodbye]
poison has left #ruby-lang [#ruby-lang]
jkprg has joined #ruby-lang
jkprg has quit [Client Quit]
Zerogrifter has quit [Remote host closed the connection]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
malev has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
iliketurtles has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
kireevco_ has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby-lang
pr0ton has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
mmorga has joined #ruby-lang
mistym has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
schaerli has quit [Ping timeout: 248 seconds]
jonathanmarvens has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
drewolson has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
<drewolson> can anyone help me out with a rbenv question? I've just installed rbx-2.0.0 and installed bundler. bundler shows up in my gem list but when i run "bundle" i'm told the executable isn't available for rbx-2.0.0. any ideas? should this question be in another channel?
<havenwood> drewolson: I don't think there is an rbenv channel, but usually if there is an rbenv question the answer is "reshim".
<drewolson> havenwood: ah, i tried rehash but didn't try reshim
<havenwood> **rehash
<drewolson> blast!
<havenwood> drewolson: sorry, my typo not something real :(
<yorickpeterse> *cough* chruby *cough*
<havenwood> drewolson: If you tire of shims..: https://github.com/postmodern/chruby#readme :)
<drewolson> havenwood: yorickpeterse: may have to check it out. i've never had any problems with rbenv up to this point :(
<yorickpeterse> having to run `rbenv rehash` even once should be enough reasons to move away from it
lfox has quit [Quit: ZZZzzz…]
jvrmaia has quit [Quit: Leaving]
ecnalyr has joined #ruby-lang
<yorickpeterse> does anybody know of a way to let the Benchmark module run a block N times and measure the average time of it? A common pattern that I have is something like N.times { slow_code } but that obviously only measures the total time
<yorickpeterse> https://github.com/evanphx/benchmark-ips hm, looks interesting
kireevco_ has joined #ruby-lang
<ljarvis> I always forget the name of a good benchmarking library
<drbrain> yorickpeterse: Benchmark.bm { |bm| bm.report { N.times { slow_code } } }
<drbrain> it's not average, but I compare to fast_code in the same bm
<yorickpeterse> That pattern is basically what I usually have
<yorickpeterse> sec, lemme pastie this
<drbrain> but, yeah, I know what you want
<drbrain> I haven't found it useful
<yorickpeterse> problem here is that I still need to run the thing multiple times to get a solid average
ecnalyr has quit [Ping timeout: 245 seconds]
<yorickpeterse> I recall bumping into libs for this but similar to ljarvis I can't remember them
<drbrain> when I need to discriminate that much I switch to FreeBSD's ministat
<drbrain> since average alone is not enough to determine a speedup
<yorickpeterse> hmm
<yorickpeterse> oooh, it's available for my distro
<drewolson> if anyone is interested, apparently this is a know issue with the location of rubinius 2.0.0 gem binstubs: https://github.com/sstephenson/rbenv/pull/461
<yorickpeterse> drbrain: ta, ministat looks really interesting
<ljarvis> lol rbenv
<devn> I am doing a `load 'foo/bar'` -- which results in a bunch of output. I'd like to suppress that. How do I do?
schaerli has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
Bobby_ has joined #ruby-lang
<yorickpeterse> devn: #load 'foo/bar'
* yorickpeterse runs
drewolson has left #ruby-lang [#ruby-lang]
<yorickpeterse> but no, chances are the code you're loading is writing data to STDOUT
<yorickpeterse> So you'd have to look into that
<yorickpeterse> drbrain: so what's this weird drawing thing ministat outputs?
<yorickpeterse> http://www.freebsd.org/cgi/man.cgi?ministat the stuff seen here
<drbrain> it's a histogram
<drbrain> it lets you know the distribution of your two data sets
<yorickpeterse> And the M and A stand for, Mean and Average?
<drbrain> yes
<yorickpeterse> hm
<drbrain> err, Median and Average
jonathanmarvens has quit [Ping timeout: 268 seconds]
<devn> yorickpeterse: I figured it out. silence_stream(STDOUT) do; load 'foo/bar.rb'; end
<yorickpeterse> heh
<drbrain> devn: probably better to change foo/bar.rb to not output anything to stdout/stderr
<devn> it's not my code
<[spoiler]> It looks sort of poetic "silence stream," a stream of silence
<drbrain> devn: that never stops me :D
<devn> this is from a schema load
<toretore> chances are the bunch of output is significant
<[spoiler]> toretore, what if it's some adware bullshit like "=== THIS CODE IS POWERED BY ROCKET-TITS.COM ==="
<[spoiler]> That would be a cool 1st April joke
<toretore> well then youve got other problems
<toretore> more important ones
<[spoiler]> haha
benlovell has joined #ruby-lang
<toretore> rocket-tits.com doesn't extst :(
mistym has quit [Remote host closed the connection]
elia has joined #ruby-lang
<yorickpeterse> drbrain: heh, this output is wacky for large iterations
<yorickpeterse> oh lol
<yorickpeterse> oh no, I thought I had the wrong file
adambeynon has joined #ruby-lang
<[spoiler]> toretore, o: damn, i tried to make it convincing, too LOL
benlovell has quit [Ping timeout: 248 seconds]
schaerli has quit [Remote host closed the connection]
qba73 has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
mistym_lunch is now known as mistym
Coincidental has joined #ruby-lang
ingof has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
ecnalyr has joined #ruby-lang
jyunderwood has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
mmorga has quit [Read error: Connection reset by peer]
richardburton has joined #ruby-lang
mmorga has joined #ruby-lang
kireevco_ has quit [Ping timeout: 248 seconds]
nofxx has joined #ruby-lang
Coincidental has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
ecnalyr has quit [Ping timeout: 245 seconds]
scampbell has quit [Quit: Leaving]
Nortmobile has quit [Quit: I quit]
micalexander has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
micalexander has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
micalexander has quit [Read error: Connection reset by peer]
micalexander has joined #ruby-lang
Bobby_ has quit [Ping timeout: 250 seconds]
pr0ton has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
tdm00 has quit [Quit: Make like a banana and split!]
crazysim_ has quit [Excess Flood]
hramrach has quit [Ping timeout: 240 seconds]
crazysim has joined #ruby-lang
Boohbah has quit [Ping timeout: 240 seconds]
breakingthings has quit []
hagebake has quit [Read error: Connection reset by peer]
hagabaka has joined #ruby-lang
Rylee has quit [Ping timeout: 264 seconds]
Boohbah has joined #ruby-lang
tdy has quit [Ping timeout: 264 seconds]
jyunderwood has left #ruby-lang ["Goodbye"]
violarium has quit [Quit: Konversation terminated!]
freedrull has quit [Ping timeout: 264 seconds]
Rylee has joined #ruby-lang
freedrull has joined #ruby-lang
hramrach has joined #ruby-lang
kireevco_ has joined #ruby-lang
jxie has quit [Ping timeout: 256 seconds]
jxie has joined #ruby-lang
Coincidental has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
ledestin has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Ahti333 has joined #ruby-lang
tanema has quit [Ping timeout: 252 seconds]
Mon_Ouie has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<yorickpeterse> well consider me confused but apparently Symbol#to_sym has some overhead to it, I figured it would just flat out return `self`
momomomomo has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
ingof has joined #ruby-lang
<matled> yorickpeterse: at least ruby-docs shows actually only ``return sym;'' for sym_to_sym: http://www.ruby-doc.org/core-2.0.0/Symbol.html#method-i-to_sym
micalexander has quit [Read error: Connection reset by peer]
micalexander has joined #ruby-lang
headius has quit [Ping timeout: 265 seconds]
sevvie has joined #ruby-lang
fijimunkii has quit [Ping timeout: 240 seconds]
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
nisstyre has joined #ruby-lang
fijimunkii has joined #ruby-lang
<yorickpeterse> hm
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> heh, no difference in timings either, guess it's just ruby-prof being silly
relix has joined #ruby-lang
<yorickpeterse> granted I'm profiling a rather limited scope it probably thinks this is the slowest bit when in reality it's still blazing fast
<yorickpeterse> microbenchmarks, yay
skade has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
pr0ton has quit [Quit: pr0ton]
charliesome has joined #ruby-lang
banisterfiend has joined #ruby-lang
headius has joined #ruby-lang
pr0ton has joined #ruby-lang
machuga is now known as machuga|away
sevvie has quit [Read error: Connection reset by peer]
pr0ton has quit [Client Quit]
charliesome has quit [Ping timeout: 245 seconds]
pr0ton has joined #ruby-lang
tanema has joined #ruby-lang
robbyoconnor has joined #ruby-lang
ecnalyr has joined #ruby-lang
panpainter has joined #ruby-lang
esad has joined #ruby-lang
esad has quit [Client Quit]
ecnalyr has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
crazysim has quit [Read error: Operation timed out]
crazysim has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
pleirosei has joined #ruby-lang
dmitrykorotkov has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
workmad3 has joined #ruby-lang
tanema has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
mbj has quit [Ping timeout: 252 seconds]
MrZYX is now known as MrZYX--
momomomomo has quit [Quit: momomomomo]
MrZYX-- is now known as MrZYX
MrZYX is now known as MrZYX--
Tearan has quit [Quit: Sleepy Badger....]
mdedetrich has joined #ruby-lang
MrZYX-- is now known as MrZYX
imperator has left #ruby-lang ["Leaving"]
nathanstitt has quit [Quit: I growing sleepy]
nisstyre has quit [Quit: Leaving]
[spoiler] has quit [Quit: Leaving]
MrZYX is now known as MrZYX|off
esad has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
bungoman has quit [Ping timeout: 248 seconds]
Senjai has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
benanne has quit [Quit: kbai]
benlovell has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Tearan has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
Johz has quit [Quit: Leaving]
io_syl has quit []
benlovell has quit [Ping timeout: 260 seconds]
malev has quit [Ping timeout: 248 seconds]
vx9 has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
elia has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
ykk` has joined #ruby-lang
<ykk`> hey guys i'm getting some crazy ssl error https://gist.github.com/genericlady/1bf164dbda2fe3a752db
<ykk`> i can't figure out why =(
mucker has quit [Ping timeout: 248 seconds]
shinnya has joined #ruby-lang
x0f has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
jeff_r has quit [Remote host closed the connection]
jeff_r has joined #ruby-lang
tkuchiki has joined #ruby-lang
tubbo has joined #ruby-lang
ingof has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
jeff_r has quit [Ping timeout: 248 seconds]
mmorga has quit [Remote host closed the connection]
tdy has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
mannyt has quit [Ping timeout: 245 seconds]
tanema has joined #ruby-lang
banisterfiend has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
a1ph4g33k has quit [Quit: Leaving]
Ahti333 has quit [Quit: Textual IRC Client: www.textualapp.com]
heftig has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
VTLob has quit [Quit: VTLob]
tkuchiki has quit [Ping timeout: 268 seconds]
havenwood has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
verto_ has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
airdisa has joined #ruby-lang
verto has quit [Ping timeout: 248 seconds]
lfox has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
kek has quit [Remote host closed the connection]
austinja has joined #ruby-lang
toretore has quit [Quit: Leaving]
CoreData has quit [Ping timeout: 248 seconds]
mdedetrich has joined #ruby-lang
fijimunkii has quit [Ping timeout: 264 seconds]
Nilium has quit [Read error: Connection reset by peer]
tubbo has joined #ruby-lang
CoreData has joined #ruby-lang
mahlon_ has joined #ruby-lang
<igalic> ykk`: that's just code, I don't see no errors there.
mahlon has quit [Ping timeout: 268 seconds]
io_syl has joined #ruby-lang
Nilium has joined #ruby-lang
imperator has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
retro|cz has joined #ruby-lang
ykk`` has joined #ruby-lang
ykk` has quit [Ping timeout: 252 seconds]
ykk`` is now known as ykk`
tubbo has quit [Ping timeout: 248 seconds]
simoz has joined #ruby-lang
cads has quit [Quit: Leaving]
malev has joined #ruby-lang
ldnunes has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
axsuul has joined #ruby-lang