apeiros changed the topic of #ruby-lang to: RIP Jim || Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
estebanrules has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
dik_dak has quit [Quit: Leaving]
funnel has quit [Read error: Connection reset by peer]
funnel has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
Cakey has joined #ruby-lang
funnel has quit [Read error: Connection reset by peer]
<eam> I want to subtract two weeks from a Ruby DateTime object. What's the right way to do that?
<eam> I can't find any time interval functions
<centrx> eam, Probably my_datetime - 14
<drbrain> >> DateTime.now - 14
<eval-in> drbrain => uninitialized constant DateTime (NameError) ... (https://eval.in/118334)
<drbrain> ☹
<drbrain> eam: but, yes, centrx is right
eugmill has quit [Remote host closed the connection]
mdub has joined #ruby-lang
<eam> ah, minus integer is days? cool
woollyams has quit [Read error: Connection reset by peer]
arooni-mobile has quit [Ping timeout: 245 seconds]
Squarepy has quit [Ping timeout: 252 seconds]
funnel has joined #ruby-lang
mehlah has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
eugmill has joined #ruby-lang
mehlah has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby-lang
funnel has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
funnel has joined #ruby-lang
theod has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
theod has left #ruby-lang [#ruby-lang]
mytrile has quit [Ping timeout: 245 seconds]
modmob has joined #ruby-lang
modmob has left #ruby-lang [#ruby-lang]
funnel has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
devgiant_ has quit [Quit: Leaving]
funnel has joined #ruby-lang
devgiant has quit [Quit: Leaving]
devgiant has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
yfeldblum has joined #ruby-lang
funnel has quit [Read error: Connection reset by peer]
mehlah has joined #ruby-lang
Cakey has joined #ruby-lang
funnel has joined #ruby-lang
amerine has joined #ruby-lang
kalehv has quit []
funnel has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
ItSANgo has quit [Quit: Leaving...]
khaase has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
devgiant has quit [Quit: Leaving]
RobertBirnie has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
khaase has quit [Ping timeout: 245 seconds]
kitak has joined #ruby-lang
ItSANgo has joined #ruby-lang
jtw has quit []
saarinen has quit [Quit: saarinen]
CaptainJet has quit [Ping timeout: 252 seconds]
Jeticus has joined #ruby-lang
nvll has quit [Ping timeout: 245 seconds]
ruby-lang036 has quit [Ping timeout: 245 seconds]
nvll has joined #ruby-lang
Lewix_ has joined #ruby-lang
mr-foobar has joined #ruby-lang
dknox-shovelings is now known as dknox
adambeynon_ has joined #ruby-lang
kalleth_ has joined #ruby-lang
avdi_ has joined #ruby-lang
|jemc| has joined #ruby-lang
shennyg_ has joined #ruby-lang
jaimef has quit [Ping timeout: 240 seconds]
adambeynon has quit [Ping timeout: 240 seconds]
avdi has quit [Ping timeout: 240 seconds]
beawesomeinstead has quit [Ping timeout: 240 seconds]
shennyg has quit [Ping timeout: 240 seconds]
zrl has quit [Ping timeout: 240 seconds]
lacrosse_ has quit [Ping timeout: 240 seconds]
mihar has quit [Ping timeout: 240 seconds]
perry has quit [Ping timeout: 240 seconds]
nibbo_ has quit [Ping timeout: 240 seconds]
dmiller_ has quit [Ping timeout: 240 seconds]
phrozen77 has quit [Ping timeout: 240 seconds]
Lewix has quit [Ping timeout: 240 seconds]
ggherdov_ has quit [Ping timeout: 240 seconds]
soahccc has quit [Ping timeout: 240 seconds]
kalleth has quit [Ping timeout: 240 seconds]
hachiya_ has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
existensil has quit [Ping timeout: 240 seconds]
jtperreault has quit [Ping timeout: 240 seconds]
Guest85414______ has quit [Ping timeout: 240 seconds]
tris- has quit [Ping timeout: 240 seconds]
crazysim has quit [Ping timeout: 240 seconds]
jinie_ has quit [Ping timeout: 240 seconds]
funnel has joined #ruby-lang
adambeynon_ is now known as adambeynon
funnel has quit [Changing host]
funnel has joined #ruby-lang
linc01n_ has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 240 seconds]
nibbo__ has joined #ruby-lang
Guest85414______ has joined #ruby-lang
dknox has quit [Quit: Textual IRC Client: www.textualapp.com]
avdi_ is now known as avdi
soahccc has joined #ruby-lang
shennyg_ is now known as shennyg
lacrosse_ has joined #ruby-lang
lele has joined #ruby-lang
nhmood has quit [Ping timeout: 240 seconds]
dbussink has quit [Ping timeout: 240 seconds]
mihar has joined #ruby-lang
nrk has quit [Ping timeout: 240 seconds]
hachiya has joined #ruby-lang
zrl has joined #ruby-lang
jinie has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 240 seconds]
jtperreault has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
phrozen77 has joined #ruby-lang
mr-foobar has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
jaimef has joined #ruby-lang
mykoweb has joined #ruby-lang
arooni-mobile has joined #ruby-lang
dbussink has joined #ruby-lang
JohnBat26 has joined #ruby-lang
linc01n has joined #ruby-lang
maloik has joined #ruby-lang
hanikazmi_ has joined #ruby-lang
amclain has joined #ruby-lang
tdy_ has joined #ruby-lang
tdy has quit [Ping timeout: 240 seconds]
tommyblu` has quit [Ping timeout: 240 seconds]
hanikazmi has quit [Ping timeout: 240 seconds]
maloik_ has quit [Remote host closed the connection]
Asher1 has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
crazysim has joined #ruby-lang
tris has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
tommyblue has joined #ruby-lang
malev has joined #ruby-lang
ggherdov_ has joined #ruby-lang
perry has joined #ruby-lang
go|dfish has quit [Ping timeout: 240 seconds]
swills` has quit [Ping timeout: 240 seconds]
malev__ has quit [Ping timeout: 240 seconds]
Muz has quit [Ping timeout: 240 seconds]
funnel has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby-lang
nrk has joined #ruby-lang
Muz has joined #ruby-lang
Asher has quit [Ping timeout: 240 seconds]
existensil has joined #ruby-lang
knu has joined #ruby-lang
dmiller_ has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
nhmood has joined #ruby-lang
swills has joined #ruby-lang
swills has quit [Changing host]
swills has joined #ruby-lang
tkuchiki has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
knu has quit [Ping timeout: 252 seconds]
eugmill has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
saarinen has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
charliesome has quit [Ping timeout: 264 seconds]
funnel has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
eugmill has joined #ruby-lang
levifig has joined #ruby-lang
keolo has joined #ruby-lang
aarellano has joined #ruby-lang
cmckni3 has joined #ruby-lang
bahar has joined #ruby-lang
_rgn has joined #ruby-lang
joast has joined #ruby-lang
crankharder has joined #ruby-lang
flgr has joined #ruby-lang
matp has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
tylersmith has joined #ruby-lang
joast is now known as Guest30023
saarinen has quit [Quit: saarinen]
lacrosse_ has quit [Ping timeout: 245 seconds]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
funnel has quit [Read error: Connection reset by peer]
lacrosse_ has joined #ruby-lang
sdouglas has joined #ruby-lang
tylersmith has quit [Ping timeout: 246 seconds]
ecnalyr has joined #ruby-lang
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
yubrew has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
sdouglas has quit [Remote host closed the connection]
ssj4mo has quit [Ping timeout: 240 seconds]
khaase has joined #ruby-lang
D9 has joined #ruby-lang
sdouglas has joined #ruby-lang
khaase has quit [Ping timeout: 264 seconds]
sdouglas has quit [Remote host closed the connection]
czetter has quit [Quit: Connection closed for inactivity]
jsullivandigs has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
centrx has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
cored has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
momomomomo has joined #ruby-lang
postmodern has joined #ruby-lang
estebanrules has quit [Ping timeout: 245 seconds]
eugmill has quit [Remote host closed the connection]
jsullivandigs has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
estebanrules has joined #ruby-lang
havenwood has joined #ruby-lang
Cakey has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
kitak_ has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
tris has quit [Ping timeout: 245 seconds]
kitak has quit [Ping timeout: 260 seconds]
Johz has quit [Quit: Leaving]
havenwood has joined #ruby-lang
rahul_j has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
jsullivandigs has quit [Ping timeout: 246 seconds]
tris has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
marcdel has joined #ruby-lang
vlad_starkov has joined #ruby-lang
fijimunkii has joined #ruby-lang
mytrile has quit [Ping timeout: 246 seconds]
retro|cz has quit [Ping timeout: 265 seconds]
yubrew has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
jtw has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
jxpx777 has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 264 seconds]
mykoweb has joined #ruby-lang
lysw123 has joined #ruby-lang
marcdel has quit []
kitak has joined #ruby-lang
keolo has quit [Quit: keolo]
mistym has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
kitak_ has quit [Ping timeout: 260 seconds]
sdouglas has joined #ruby-lang
tylersmith has joined #ruby-lang
mr-foobar has joined #ruby-lang
marcdel has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
tris has quit [Ping timeout: 252 seconds]
mr-foobar has quit [Ping timeout: 245 seconds]
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
tris has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby-lang
postmodern has quit [Quit: Leaving]
swills has quit [Changing host]
swills has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
go|dfish has joined #ruby-lang
woollyams has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mdub has quit [Ping timeout: 252 seconds]
nisstyre has joined #ruby-lang
lysw123 has quit [Ping timeout: 245 seconds]
woollyams has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
saarinen has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
nathanstitt has joined #ruby-lang
DEac-_ has quit [Ping timeout: 264 seconds]
DEac- has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
knu has quit [Ping timeout: 246 seconds]
yubrew has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
knu has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
dlackty has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
yubrew has quit [Ping timeout: 264 seconds]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
<Senjai> eam: DateTime.current - 2.weeks
sdouglas has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
mistym has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
knu has quit [Ping timeout: 245 seconds]
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
dynamism has quit [Quit: dynamism]
nathanstitt has quit [Quit: I growing sleepy]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
dynamism has joined #ruby-lang
dynamism has quit [Client Quit]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
michaeldeol has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
mykoweb has quit [Remote host closed the connection]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
michaeldeol has quit [Read error: Connection reset by peer]
albioner has joined #ruby-lang
D9 has quit [Quit: Leaving]
albioner has quit [Max SendQ exceeded]
michaeldeol has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
Barrin6 has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
albioner has quit [Max SendQ exceeded]
<freedrull> what exactly is the -n option to run a single test? is that a command line switch for `ruby` itself?
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
snafoo_ has quit [Remote host closed the connection]
<drbrain> freedrull: I run it like: ruby -Ilib test/test_foo.rb -n /some_pattern/
<drbrain> or -n test_some_method
albioner has joined #ruby-lang
snafoo has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
kitak has quit [Remote host closed the connection]
snafoo has quit [Remote host closed the connection]
snafoo has joined #ruby-lang
kitak has joined #ruby-lang
mykoweb has joined #ruby-lang
yfeldblum has joined #ruby-lang
keolo has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
yfeldblum has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
symm- has joined #ruby-lang
yubrew has joined #ruby-lang
ruskie has quit [Excess Flood]
yubrew has quit [Ping timeout: 246 seconds]
mytrile has joined #ruby-lang
<eam> Senjai: pretty sure that's rails, not ruby
mytrile has quit [Ping timeout: 264 seconds]
matp has quit [Quit: ZZZzzz…]
yfeldblum has joined #ruby-lang
woollyams has joined #ruby-lang
mr-foobar has joined #ruby-lang
ruskie has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mr-foobar has quit [Ping timeout: 245 seconds]
nrk has quit [Ping timeout: 246 seconds]
vinhbachsy has joined #ruby-lang
nrk has joined #ruby-lang
vinhbach_ has joined #ruby-lang
vinhbachsy has quit [Ping timeout: 264 seconds]
khaase has joined #ruby-lang
iliketurtles has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
RobertBirnie has joined #ruby-lang
Onixs_ has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
nisstyre has quit [Quit: WeeChat 0.4.3]
khaase has quit [Ping timeout: 264 seconds]
mykoweb has joined #ruby-lang
sdouglas has quit [Ping timeout: 245 seconds]
RobertBirnie has quit [Client Quit]
pr0ton has joined #ruby-lang
rahul_j has joined #ruby-lang
marcofernandez has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby-lang
_senseinerd has joined #ruby-lang
jtw has quit []
keolo has quit [Quit: keolo]
yubrew has quit [Ping timeout: 245 seconds]
marcdel has quit []
_senseinerd has quit [Quit: Textual IRC Client: www.textualapp.com]
_senseinerd has joined #ruby-lang
_senseinerd has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
fezziwig has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
marcdel has joined #ruby-lang
knu has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
jsullivandigs has joined #ruby-lang
keolo has joined #ruby-lang
vinhbach_ has quit [Remote host closed the connection]
vinhbachsy has joined #ruby-lang
Who has joined #ruby-lang
<Who> hey folks, I have a question
<Who> so I found this in Puma codebase,
<Who> # Use this instead of #each so that we don't stop in the middle 178 # of each and see a mutated object mid #each 179 @workers.first.join until @workers.empty?
toastynerd has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
<Who> I can't figure out how using .each could be bad and how could it stop in the middle? .join will kill the thread if its not able to join the main thread
<Who> can someone explain me this snippet and the reasoning behind it
vlad_starkov has joined #ruby-lang
matp has joined #ruby-lang
vinhbachsy has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
_ht has joined #ruby-lang
phansch has joined #ruby-lang
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
toastynerd has joined #ruby-lang
Who has quit [Ping timeout: 245 seconds]
Barrin6 has quit [Quit: Leaving]
vinhbachsy has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
|jemc| has quit [Quit: WeeChat 0.4.3]
jsullivandigs has joined #ruby-lang
albioner_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
albioner_ has quit [Max SendQ exceeded]
albioner_ has joined #ruby-lang
albioner_ has quit [Max SendQ exceeded]
albioner has quit [Ping timeout: 265 seconds]
albioner has joined #ruby-lang
skade has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
jsullivandigs has quit [Ping timeout: 264 seconds]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
toastynerd has quit [Remote host closed the connection]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
skade has quit [Ping timeout: 246 seconds]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
skade has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
yubrew has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
symm- has quit [Ping timeout: 246 seconds]
yubrew has quit [Ping timeout: 264 seconds]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
|jemc| has joined #ruby-lang
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
<havenwood> Who, oh (s)he left
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
<apeiros> havenwood: yeah, thought the same
<apeiros> seems like the workers remove themselves
<apeiros> which makes the construct actually still bad. race condition at empty?
jaimef has quit [Excess Flood]
Who has joined #ruby-lang
<Who> got d/c
<apeiros> i.e., what could happen -> .first.join (last in array) -> test for .empty? -> not yet removed -> join removes worker -> @worker.first returns nil -> nil.join raises
<apeiros> fun
<apeiros> Who: 07:15 apeiros: seems like the workers remove themselves
<apeiros> that'd end badly with .each
<Who> yeah in that would be terrible with each
<apeiros> >> a = *1..5; a.each_with_index { |e,i| a.delete_at(i) }; a
<eval-in> apeiros => [2, 4] (https://eval.in/118439)
jaimef has joined #ruby-lang
mytrile has joined #ruby-lang
mr-foobar has joined #ruby-lang
<havenwood> apeiros: looks like at least one thread pool library even found trouble with first.join: https://github.com/meh/ruby-thread/commit/077003abb2391f098f4319a787f52e371b577c80
<havenwood> Who: but yeah, no need to #join threads that shut themselves down before each #gets to them
<apeiros> most coders are bad at encodings and concurrency…
<apeiros> the latter I understand, the former saddens me every time :(
<apeiros> thankfully I'm not most coders.
<apeiros> I'm only bad at concurrency :D
<havenwood> ;)
wallerdev has joined #ruby-lang
<havenwood> haha
<havenwood> s/each #gets/#each gets
mytrile has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Ping timeout: 252 seconds]
pr0ton has quit [Quit: pr0ton]
toastynerd has joined #ruby-lang
<havenwood> hrm, better to rename #curry to #aufschnittschneiden or #schönfinkelize?: https://bugs.ruby-lang.org/issues/9620
<Who> I keep reading code to get better at concurrency :D
fezziwig has quit [Remote host closed the connection]
Who has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
vinhbachsy has quit [Remote host closed the connection]
vinhbachsy has joined #ruby-lang
tonni has quit [Remote host closed the connection]
<apeiros> hm, I normally approve of "read code to get better", but concurrency might be a thing where that doesn't work
<apeiros> especially with so much bad code out there
<apeiros> ah, he left again
x0f_ has joined #ruby-lang
khaase has joined #ruby-lang
jaimef has quit [Excess Flood]
vinhbachsy has quit [Ping timeout: 246 seconds]
iliketurtles has joined #ruby-lang
jaimef has joined #ruby-lang
x0f has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keolo has quit [Quit: keolo]
heftig has quit [Ping timeout: 245 seconds]
tonni has joined #ruby-lang
yubrew has joined #ruby-lang
Karql has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Quit: zzzzz…..]
robbyoconnor has joined #ruby-lang
Who has joined #ruby-lang
<Who> now I am at a place with a Wifi
<Who> apeiros: I see
Atw has quit [Ping timeout: 252 seconds]
mistym has quit [Remote host closed the connection]
relix has joined #ruby-lang
marcofernandez has joined #ruby-lang
tonni has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
[spoiler] has joined #ruby-lang
apeiros has joined #ruby-lang
vinhbachsy has joined #ruby-lang
michael_mbp has joined #ruby-lang
jayne has quit [Ping timeout: 619 seconds]
tonni has joined #ruby-lang
mytrile has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
riffraff has joined #ruby-lang
Coincidental has joined #ruby-lang
solars has joined #ruby-lang
yubrew has joined #ruby-lang
Squarepy has joined #ruby-lang
|jemc| has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
estebanrules has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
toastynerd has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
estebanrules has joined #ruby-lang
toastynerd has quit []
havenwood has quit []
mr-foobar has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
dc5ala has joined #ruby-lang
mr-foobar has quit [Ping timeout: 264 seconds]
phrozen77 has quit [Changing host]
phrozen77 has joined #ruby-lang
havenwood has joined #ruby-lang
futilegames has joined #ruby-lang
Squarepy has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
Lewix_ has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
futilegames has quit [Client Quit]
tonni has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 260 seconds]
Who has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
perry has quit [Read error: Connection reset by peer]
Coincidental has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 246 seconds]
marcofernandez has quit [Ping timeout: 252 seconds]
michd is now known as MichD
marcofernandez has joined #ruby-lang
benlovell has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
phansch has quit [Quit: WeeChat 0.4.2]
rahul_j has quit [Quit: rahul_j]
Jeticus has quit []
francisfish has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby-lang
perry has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
tonni has joined #ruby-lang
estebanrules has quit [Ping timeout: 245 seconds]
<maloik> out of curiosity, anyone here use elasticsearch and have a pretty solid understanding of the algorithm configurations ?
Cakey has quit [Ping timeout: 252 seconds]
marcdel has quit []
<maloik> we're going to need to rework ours, but often times we're just guessing as to what something will do
<maloik> for instance the minimum score really fucked us up in the start, I don't remember why but we had to have it really low to display the result we wanted in some cases
<maloik> while that means other times we'll show crap results too
<maloik> would be cool if I could pick someone's brain now and again :-)
<maloik> the ES channel seems to contain nothing but newbies or total pro's so when they come up with an answer it's just "use this" or "do that" which results in (mindblown) :D
rahul_j has joined #ruby-lang
Cakey has joined #ruby-lang
mikecmpbll has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
jsrn has joined #ruby-lang
elia has joined #ruby-lang
jhass|off is now known as jhass
yfeldblum has joined #ruby-lang
jhass is now known as jhass|off
<yorickpeterse> morning
heftig has joined #ruby-lang
marcofernandez has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby-lang
marcofernandez has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
marcofernandez has quit [Ping timeout: 252 seconds]
<ljarvis> can ruby-install install specific branches from a remote?
<ljarvis> i guess not
<yorickpeterse> eh?
yubrew has joined #ruby-lang
rofel has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
marcofernandez has joined #ruby-lang
phansch has joined #ruby-lang
yubrew has quit [Ping timeout: 246 seconds]
<yorickpeterse> ugh, rspec mocks are apparently slower than webmock
<yorickpeterse> That is, using `and_return(foo, bar, baz)` is slower than mocking 3 HTTP requests using webmock
marcofernandez has quit [Ping timeout: 252 seconds]
cnivolle has joined #ruby-lang
<whitequark> that sounds weird
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
vinhbachsy has quit [Ping timeout: 252 seconds]
mr-foobar has joined #ruby-lang
robmiller has joined #ruby-lang
dilated_dinosaur has joined #ruby-lang
workmad3 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
vinhbachsy has joined #ruby-lang
Johz has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
arBmind has joined #ruby-lang
marcofernandez has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
[spoiler] has joined #ruby-lang
<maloik> Does anyone have an idea how to #send an array of methods? as in when passing in %w[now to_date] I want it to DateTime.send(:now).send(:to_date)
<apeiros> maloik: a) use public_send, b) inject
<apeiros> oh, and c) use %i[now to_date] :)
vlad_starkov has joined #ruby-lang
<maloik> yea I know :-)
<apeiros> >> %i[now to_date].inject(DateTime, &:public_send)
frabrunelle has joined #ruby-lang
frabrunelle has quit [Client Quit]
marcofernandez has quit [Ping timeout: 252 seconds]
<maloik> clever
<maloik> thanks
aef has joined #ruby-lang
marcofernandez has joined #ruby-lang
<yorickpeterse> whitequark: eh?
<yorickpeterse> You mean it being weird that it's slower?
<yorickpeterse> my solution to this problem is: restructure the project, create a bunch of classes and hopefully I don't need to mock HTTP at all
<yorickpeterse> Probably ~4 hours of owkr
<yorickpeterse> * work
<yorickpeterse> :yakshaving:
<apeiros> coders never need to fear starvation
<apeiros> they'll always have a yak
<yorickpeterse> now I just need to run 65 find-replacements to move some class/module names around
funnel has joined #ruby-lang
<apeiros> if you'd use rubymine, you could just use "refactor" :o)
* apeiros doesn't use rubymine
<yorickpeterse> bullshit I coulld
<yorickpeterse> * could
<yorickpeterse> I basically have to swap the namespace name with the class name, I doubt it can do that
<yorickpeterse> plus I have to inject an extra namespace segment in to the code
<yorickpeterse> this *would* be easier if I wrote stuff like `class Foo::Bar::Baz` instead of `module Foo...module Bar..`
<yorickpeterse> but alas poor Yorick did not
ruskie has quit [Excess Flood]
<apeiros> :(
<apeiros> don't write class Foo::Bar::Baz
<yorickpeterse> but it would save indentation levels!!!!11
robmiller has joined #ruby-lang
funnel_ has joined #ruby-lang
yubrew has joined #ruby-lang
Raynes has quit [Excess Flood]
knu has joined #ruby-lang
funnel has quit [Ping timeout: 264 seconds]
funnel has joined #ruby-lang
yubrew has quit [Ping timeout: 246 seconds]
<yorickpeterse> next step: fix the indentation of 65 files
<yorickpeterse> :<
francisfish has joined #ruby-lang
funnel__ has joined #ruby-lang
funnel__ has quit [Read error: Connection reset by peer]
funnel has quit [Ping timeout: 245 seconds]
<yorickpeterse> This is actually really exciting though, slowly bit by bit this pile of nope is getting nicer
ruskie has joined #ruby-lang
sandbags has joined #ruby-lang
funnel has joined #ruby-lang
funnel has quit [Read error: Connection reset by peer]
media_slave has joined #ruby-lang
funnel_ has quit [Changing host]
funnel_ has joined #ruby-lang
funnel_ is now known as funnel
funnel has quit [Remote host closed the connection]
funnel has joined #ruby-lang
funnel has quit [Changing host]
funnel has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
mechanicles has joined #ruby-lang
sandbags has quit []
sandbags has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
mytrile has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
mehlah has quit [Quit: Linkinus - http://linkinus.com]
yfeldblu_ has quit [Ping timeout: 252 seconds]
<ljarvis> D:
rofel has quit [Quit: Leaving...]
funnel has quit [Read error: Connection reset by peer]
funnel has joined #ruby-lang
dagobah has joined #ruby-lang
rsl has joined #ruby-lang
<yorickpeterse> there, done. now I need to fix a bunch of tests
funnel has quit [Ping timeout: 252 seconds]
Raynes has joined #ruby-lang
woollyams has joined #ruby-lang
funnel has joined #ruby-lang
marcofernandez has quit [Ping timeout: 264 seconds]
jhass|off is now known as jhass
gnufied has joined #ruby-lang
retro|cz has joined #ruby-lang
Raynes has quit [Excess Flood]
cub1c_ has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
funnel has quit [Ping timeout: 245 seconds]
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
funnel has joined #ruby-lang
funnel has quit [Changing host]
funnel has joined #ruby-lang
funnel has quit [Read error: Connection reset by peer]
freedrull has quit [Ping timeout: 264 seconds]
freedrull has joined #ruby-lang
funnel has joined #ruby-lang
Raynes has joined #ruby-lang
anannie has quit [Ping timeout: 245 seconds]
funnel has quit [Read error: Connection reset by peer]
diegoviola has quit [Remote host closed the connection]
cub1c has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<yorickpeterse> 191 files changed, 9767 insertions(+), 9648 deletions(-)
<yorickpeterse> notbad.jpg
Raynes has quit [Excess Flood]
existensil has quit [Ping timeout: 252 seconds]
nifoc has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby-lang
marcofernandez has joined #ruby-lang
<[spoiler]> "but alas poor Yorick did not" haha
yfeldblum has quit [Ping timeout: 252 seconds]
michael_mbp has joined #ruby-lang
bin7me has joined #ruby-lang
Raynes has joined #ruby-lang
marcofernandez has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
tbuehlmann has joined #ruby-lang
heftig has quit [Quit: Quitting]
vinhbachsy has quit [Remote host closed the connection]
vinhbachsy has joined #ruby-lang
<yorickpeterse> what? didn't expect me to make Shakespeare jokes?
francisfish has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 245 seconds]
existensil has joined #ruby-lang
vinhbachsy has quit [Ping timeout: 252 seconds]
heftig has joined #ruby-lang
anannie has joined #ruby-lang
marcofernandez has joined #ruby-lang
ikrima has joined #ruby-lang
d4rkr4i has joined #ruby-lang
mytrile has quit []
marcofernandez has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
charliesome has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
anannie has joined #ruby-lang
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has quit [Changing host]
anannie has joined #ruby-lang
anannie has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 264 seconds]
jds_ has quit [Quit: Connection closed for inactivity]
hinbody has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
skade has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby-lang
VTLob has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
sdouglas has joined #ruby-lang
cbreeze has joined #ruby-lang
sepp2k has joined #ruby-lang
jgpawletko has joined #ruby-lang
RobertBirnie has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
elia has joined #ruby-lang
eugmill has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
simono has joined #ruby-lang
tkuchiki_ has quit [Ping timeout: 264 seconds]
Voker57 has joined #ruby-lang
d4rkr4i1 has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 246 seconds]
<yorickpeterse> right, naming battle:
<yorickpeterse> PageCrawler vs PageIterator
<yorickpeterse> GO!
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
rue|w has joined #ruby-lang
vinhbachsy has joined #ruby-lang
workmad3 is now known as wm3|lunch
rue_XIW has quit [Ping timeout: 264 seconds]
sdouglas has quit [Ping timeout: 246 seconds]
heftig has quit [Ping timeout: 245 seconds]
vinhbachsy has quit [Ping timeout: 240 seconds]
<apeiros> yorickpeterse: PageHugger
<yorickpeterse> harr harr
sdouglas has joined #ruby-lang
mehlah has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
riffraff has joined #ruby-lang
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
yubrew has joined #ruby-lang
mechanicles has quit [Remote host closed the connection]
media_slave has quit [Quit: Leaving.]
johnny_rugger has joined #ruby-lang
yfeldblum has joined #ruby-lang
ikrima has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
fijimunkii has quit [Ping timeout: 246 seconds]
dlackty has quit [Quit: Connection closed for inactivity]
rondale_2c has joined #ruby-lang
khaase_ has joined #ruby-lang
Fushi has joined #ruby-lang
AncientAmateur has joined #ruby-lang
khaase has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby-lang
dik_dak has joined #ruby-lang
keolo has joined #ruby-lang
jtw has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d4rkr4i1 has quit [Ping timeout: 264 seconds]
d4rkr4i has joined #ruby-lang
momomomomo has joined #ruby-lang
arooni-mobile has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Leaving]
francisfish has joined #ruby-lang
benlovell has joined #ruby-lang
nathanstitt has joined #ruby-lang
ecnalyr has joined #ruby-lang
khaase_ has quit [Quit: Leaving...]
shinnya has joined #ruby-lang
enebo has joined #ruby-lang
funnel has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
funnel has quit [Quit: leaving]
funnel has joined #ruby-lang
devgiant has joined #ruby-lang
wm3|lunch is now known as workmad3
yubrew has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
sdouglas has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
francisfish has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-lang
alexju has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
keolo has quit [Quit: keolo]
dc5ala has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
eugmill has quit [Remote host closed the connection]
skade has joined #ruby-lang
tonni has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
jgpawletko has joined #ruby-lang
skade has quit [Client Quit]
skade has joined #ruby-lang
cHarNe2 has joined #ruby-lang
eugmill has joined #ruby-lang
sdouglas has joined #ruby-lang
dc5ala has joined #ruby-lang
bradcliffe has joined #ruby-lang
loincloth has quit []
crankharder has quit [Quit: leaving]
crankharder has joined #ruby-lang
tils has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
nathanstitt has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
tonni has joined #ruby-lang
cHarNe2 has left #ruby-lang [#ruby-lang]
momomomomo has quit [Quit: momomomomo]
<jhass> PageIterator sounds like Java for "I need to iterate through this array of pages"
keolo has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
mistym has joined #ruby-lang
yubrew has quit []
mistym has quit [Remote host closed the connection]
<yorickpeterse> well that's exactly what it does
skade has quit [Read error: Connection reset by peer]
<yorickpeterse> I went with Iterator for the time being
yubrew has joined #ruby-lang
Raycaster has quit [Ping timeout: 252 seconds]
tonni has quit [Read error: Connection reset by peer]
funnel has quit [Quit: leaving]
funnel has joined #ruby-lang
momomomomo has joined #ruby-lang
symm- has joined #ruby-lang
aminRX has joined #ruby-lang
dwknoxy has joined #ruby-lang
estebanrules has joined #ruby-lang
futilegames has joined #ruby-lang
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
bin7me has quit [Quit: Leaving]
tonni has joined #ruby-lang
yfeldblum has joined #ruby-lang
saarinen has joined #ruby-lang
miqui has joined #ruby-lang
|jemc| has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
francisfish has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
fijimunkii has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
gix has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
RobertBirnie has quit [Client Quit]
priodev has quit [Ping timeout: 245 seconds]
nisstyre has joined #ruby-lang
mistym has joined #ruby-lang
aminRX has quit [Remote host closed the connection]
priodev has joined #ruby-lang
francisfish has joined #ruby-lang
gix- has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
Cakey has joined #ruby-lang
seanlinsley has joined #ruby-lang
Raycaster has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funnel has quit [Quit: leaving]
funnel has joined #ruby-lang
workmad3 has joined #ruby-lang
mykoweb has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
rkmetzl has quit [Quit: rkmetzl]
tbuehlmann has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
tylersmith has quit [Ping timeout: 264 seconds]
rippa has joined #ruby-lang
enebo has quit [Quit: enebo]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
Lewix has joined #ruby-lang
rue_XIW has joined #ruby-lang
rue|w has quit [Read error: Connection reset by peer]
DouweM has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
robmiller1 has joined #ruby-lang
<ljarvis> PagePooper
johnny_rugger has joined #ruby-lang
jaimef has quit [Excess Flood]
fraterlaetus has joined #ruby-lang
robmiller has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
<Senjai> eam: Date.current - 2.weeks then.
jaimef has joined #ruby-lang
__butch__ has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
error404_ is now known as error404
tonni has quit [Remote host closed the connection]
mr-foobar has quit [Remote host closed the connection]
AncientAmateur has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
keolo has quit [Quit: keolo]
RobertBirnie has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
phansch has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
|jemc| has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
wallerdev has joined #ruby-lang
michaeldeol has joined #ruby-lang
mistym has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 246 seconds]
sdouglas has quit [Client Quit]
sdouglas has joined #ruby-lang
enebo has joined #ruby-lang
<eam> Senjai: 2.weeks is the rails-ism
<eam> Fixnum does not have a weeks method
wallerdev has quit [Quit: wallerdev]
vinhbachsy has joined #ruby-lang
<Senjai> eam: Wow, lame that I missed that. Then I guess you have to use seconds then.
<Senjai> I swear I used this in a ruby only project before.
<ljarvis> it's in active support so it's possible to use it in a non-rails project
sdouglas has quit [Ping timeout: 240 seconds]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai> Maybe that's how I used it
havenwood has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> THOU SHALL NOT USE ACTIVESUPPORT OUTSIDE OF RAILS
* apeiros does anyway
havenwood has quit [Ping timeout: 246 seconds]
<apeiros> though… I also use rails outside of rails in that project…
vinhbachsy has quit []
* apeiros does funny stuff
vlad_starkov has joined #ruby-lang
dwethn has joined #ruby-lang
mistym has joined #ruby-lang
<dwethn> Hi, I'm a n00b. Is this a legal string: "/#{route}#{source ? "?source=#{source}" : ''}"
<yorickpeterse> apeiros: you are an evil being
<dwethn> or wth is that
<apeiros> dwethn: #{} sequences are ruby code
<apeiros> dwethn: which are run and the result placed in the string
<apeiros> >> "1 + 1 = #{1+1}"
<eval-in> apeiros => "1 + 1 = 2" (https://eval.in/118954)
<dwethn> apeiros: Look at those double quotes
<apeiros> the ones inside the #{} expression?
<apeiros> valid ruby code is valid :) even if it contains double quotes.
<apeiros> >> "this is valid: #{"another string".upcase}"
<eval-in> apeiros => "this is valid: ANOTHER STRING" (https://eval.in/118955)
<dwethn> apeiros: How is the parser okay with that, though? There are 5 quotes?
<apeiros> yorickpeterse: MUUUUAHAHAHA! indeed I am :D
havenwood has joined #ruby-lang
futilegames has quit [Quit: futilegames]
<toretore> not 5, 6 or 4
d4rkr4i has quit [Ping timeout: 264 seconds]
leandrosnunes has joined #ruby-lang
eugmill has joined #ruby-lang
* yorickpeterse is writing Jruby
<toretore> "#{s}#{b ? "s" : "s"}"
<yorickpeterse> because fuck fixing broken Open3 implementations
<yorickpeterse> (that is, binding to Java directly
AncientAmateur has joined #ruby-lang
<yorickpeterse> CLOSE TO THE METAL BRA
d4rkr4i has joined #ruby-lang
<dwethn> "/#{route}#{source ? "?source=#{source}" : ''}" has 5... poor brain parser
leandrosnunes has quit [Remote host closed the connection]
leandrosnunes has joined #ruby-lang
<yorickpeterse> Java::foo.bar.baz.new # ughhhh
<yorickpeterse> this is not Ruby
leandrosnunes has quit [Client Quit]
AncientAmateur has quit [Ping timeout: 240 seconds]
<yorickpeterse> yo instead of a String lets use a InputStreamReader
<yorickpeterse> because that makes total sense
* yorickpeterse bangs desk against head
dlackty has joined #ruby-lang
sepp2k has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
johnny_rugger has joined #ruby-lang
keolo has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
m4n1f3st0 has joined #ruby-lang
AncientAmateur has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<m4n1f3st0> I'm using .each_slice on an enumerable,, the docs say to use 'p a' in the code block. Does anyone know why I need them or what the letters stand for? http://ruby-doc.org/core-2.1.0/Enumerable.html#method-i-each_slice thanks
<toretore> dwethn: no, it has 6; 4 " and 2 '
<yorickpeterse> m4n1f3st0: it's just an example
<yorickpeterse> `a` is the block argument in that case
<m4n1f3st0> I understand the 'a' can be changed to anything, but what is the p doing?
jsullivandigs has joined #ruby-lang
saarinen has joined #ruby-lang
mechanicles has joined #ruby-lang
<apeiros> m4n1f3st0: p is Kernel#p, and a shorter version for puts a.inspect
<apeiros> you can look its docs up by doing `ri Kernel#p`, or in pry `? p`
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
<yorickpeterse> <CTO> you are a dumb package, that's what you are...grrr..
* yorickpeterse is not the only one talking to his computer
centrx has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
jsrn has quit [Ping timeout: 245 seconds]
leandrosnunes has joined #ruby-lang
eugmill has joined #ruby-lang
<m4n1f3st0> apeiros: thanks
eugmill has quit [Remote host closed the connection]
dwethn has quit [Quit: dwethn]
tylersmith has joined #ruby-lang
dagobah has quit [Quit: Leaving...]
leandrosnunes has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
eugmill has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
Coincidental has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
m4n1f3st0 has quit [Quit: m4n1f3st0]
hahuang61 has joined #ruby-lang
m4n1f3st0 has joined #ruby-lang
m4n1f3st0 has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amsi has joined #ruby-lang
rkmetzl has joined #ruby-lang
<ljarvis> yorickpeterse: do you use elasticache?
mikecmpbll has quit [Ping timeout: 252 seconds]
agarie has joined #ruby-lang
funnel_ has joined #ruby-lang
funnel_ has quit [Client Quit]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
m4n1f3st0 has joined #ruby-lang
iliketurtles has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
fraterlaetus has quit [Read error: Connection reset by peer]
fraterla_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
xcesariox has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
arBmind has quit [Quit: Leaving.]
mikecmpbll has joined #ruby-lang
fraterla_ has quit []
Mon_Ouie has joined #ruby-lang
fraterlaetus has joined #ruby-lang
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Ping timeout: 240 seconds]
Coincidental has quit [Remote host closed the connection]
eugmill has quit [Remote host closed the connection]
estebanrules has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
ikrima has joined #ruby-lang
Coincidental has joined #ruby-lang
estebanrules has joined #ruby-lang
rippa has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
m4n1f3st0 has joined #ruby-lang
skade has joined #ruby-lang
m4n1f3st0 has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
m4n1f3st0 has joined #ruby-lang
yfeldblum has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
sandbags has quit [Remote host closed the connection]
Atw has joined #ruby-lang
m4n1f3st0 has quit [Ping timeout: 264 seconds]
mykoweb has joined #ruby-lang
absurd has joined #ruby-lang
absurd is now known as Guest83391
ikrima has quit [Ping timeout: 264 seconds]
mehlah has quit [Quit: Leaving...]
Guest83391 has quit [Client Quit]
d4rkr4i has quit [Ping timeout: 246 seconds]
ikrima has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
relix has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
simono has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
JohnBat26|2 has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
rahul_j has left #ruby-lang [#ruby-lang]
<hachiya> was this channel so populated with those guys in the past? jzk1, cythrawll
<hachiya> lol wrong chan
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
bahar has quit [Ping timeout: 240 seconds]
mechanic_ has joined #ruby-lang
DouweM has quit [Ping timeout: 264 seconds]
funnel has quit [Remote host closed the connection]
mechanicles has quit [Ping timeout: 264 seconds]
funnel has joined #ruby-lang
ikrima has quit [Ping timeout: 246 seconds]
symm- has joined #ruby-lang
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Ping timeout: 264 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
dynamism has joined #ruby-lang
jtw has quit []
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby-lang
nifoc has joined #ruby-lang
dynamism has left #ruby-lang [#ruby-lang]
workmaster2n has joined #ruby-lang
JohnBat26|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<workmaster2n> Is there a built in method for inserting into a sorted array or keeping a hash sorted by keys? Or will I need to just call sort after every insert?
zenojis has joined #ruby-lang
m4n1f3st0 has joined #ruby-lang
<centrx> workmaster2n, "SortedSet" might be useful. I'm not sure how it works internally
riffraff has quit [Quit: This computer has gone to sleep]
<centrx> workmaster2n, What exactly is the use case?
riffraff has joined #ruby-lang
bahar has joined #ruby-lang
<workmaster2n> I'm storing a bunch of time related data
<workmaster2n> So I'm thinking if it's a hash, the key would be the time and the value would be an array of collected data
<workmaster2n> I need to be able to say "Give me all data between 12:00 and 12:01"
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmaster2n> centrx: did that make any sense?
<centrx> workmaster2n, Yes
<centrx> workmaster2n, There are some gems for a BTree, they don't look recently maintained
<jhass> what's your range? entire unix time or something like a day? how big are the intervals?
<centrx> workmaster2n, "Interval tree" too
<workmaster2n> jhass: it could be any time range. If we needed to optimize, I would say on the order of 2 minutes or less
m4n1f3st0 has joined #ruby-lang
Cakey has joined #ruby-lang
m4n1f3st0 has quit [Client Quit]
bantic has joined #ruby-lang
<workmaster2n> jhass: as far as overall time range, it would only be for the range of data we have collected, so eventually a few months, but we assume our end users will be looking at 2 minute long chunks of that overall data
m4n1f3st0 has joined #ruby-lang
<workmaster2n> its stored in a database for persistence, we've just found that hitting the db for frequent requests is too slow
apeiros has joined #ruby-lang
yubrew has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
Minimalist has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
dilated_dinosaur has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
havenwood has joined #ruby-lang
pr0ton has quit [Ping timeout: 240 seconds]
funnel has quit [Remote host closed the connection]
funnel has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
<yorickpeterse> ljarvis: re ES, yes
atmosx has joined #ruby-lang
m4n1f3st0 has quit [Ping timeout: 246 seconds]
lsegal has joined #ruby-lang
pr0ton has joined #ruby-lang
mbj has joined #ruby-lang
mbj has quit [Client Quit]
havenwood has joined #ruby-lang
d4rkr4i has joined #ruby-lang
pr0ton has left #ruby-lang [#ruby-lang]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
Minimalist has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
bjh13 has joined #ruby-lang
Minimalist has joined #ruby-lang
jayne has joined #ruby-lang
bjh13 has quit [Quit: leaving]
jtw has joined #ruby-lang
ikrima has joined #ruby-lang
m4n1f3st0 has joined #ruby-lang
dwknoxy is now known as dknox-errand-lun
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
mistym has quit [Remote host closed the connection]
MichD is now known as michd
mistym has joined #ruby-lang
eugmill has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 246 seconds]
<ljarvis> yorickpeterse: how is it?
<centrx> It is green
amsi has quit [Ping timeout: 255 seconds]
m4n1f3st0 has quit [Ping timeout: 240 seconds]
Coincidental has quit [Remote host closed the connection]
funnel has quit [Remote host closed the connection]
funnel has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
gix- is now known as gix
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
eugmill has quit [Remote host closed the connection]
michd is now known as MichD
michaeldeol has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
ebetancourt has joined #ruby-lang
Elico has joined #ruby-lang
Minimalist has quit [Ping timeout: 240 seconds]
Minimalist has joined #ruby-lang
eugmill has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
<yorickpeterse> ljarvis: that's like asking me how life is, what specifically do you want to know?
<yorickpeterse> Put it this way, what are you thinking of using it for?
AncientAmateur has joined #ruby-lang
<ljarvis> yorickpeterse: i want to know if it's a huge pile of shit or not (it's in beta, i was considering using it for redis vs self hosted)
<yorickpeterse> In general it's been pretty stable for us (3 instances on EC2, about 80GB of data), though I think we had 2 or 3 total cluster crashes in the past)
<yorickpeterse> We only use it for logging data atm so we don't really mind if we lose anything
<yorickpeterse> I'm pretty sure it's also better at MongoDB than MongoDB
<yorickpeterse> I wouldn't trust it one bit with important data though, though with v1 they finally have a decent backup system
<ljarvis> v1?
d4rkr4i has joined #ruby-lang
riffraff has quit [Quit: Leaving]
heftig has joined #ruby-lang
Minimalist has quit [Ping timeout: 264 seconds]
Minimalist has joined #ruby-lang
Minimalist has quit [Client Quit]
anjen has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 0.4.3]
<yorickpeterse> ElasticSearch 1.0
<yorickpeterse> before that you basically had to rsync shit over as a form of backups
<yorickpeterse> and from what I've been told restoring that was a PITA
<yorickpeterse> oh hm apparently I was wrong in my counts
<yorickpeterse> we have around 230 GB in ElasticSearch
<yorickpeterse> the 80GB was only for the primaries
yubrew has quit [Ping timeout: 240 seconds]
<yorickpeterse> ljarvis: what are you thinking of using it for?
<yorickpeterse> oh wait, vs redis
<yorickpeterse> wat
<yorickpeterse> redis != ElasticSearch
<yorickpeterse> not even close
mykoweb has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
|jemc| has quit [Quit: WeeChat 0.4.3]
|jemc| has joined #ruby-lang
Squarepy has joined #ruby-lang
ikrima has quit [Ping timeout: 240 seconds]
mechanic_ has quit [Remote host closed the connection]
<yorickpeterse> Redis is basically a Memcached with some fancy types and a funny development team. ElasticSearch is....a NoSQL storage that's actually fast
eugmill has quit [Remote host closed the connection]
<yorickpeterse> e.g. you could replace MongoDB with it if you wanted to
eugmill has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
<pipework> Yeah, but unfortunately none of them are graph databases, so why bother?
wallerdev has quit [Quit: wallerdev]
<toretore> ES isn't truly schema free though, which is something to keep in mind when using it as a doc store
rkmetzl has left #ruby-lang [#ruby-lang]
jonr22 has joined #ruby-lang
<apeiros> didn't postgres recently show that it's faster at NoSQL-esque workloads than mongo?
retro|cz has quit [Ping timeout: 245 seconds]
* apeiros hasn't gotten the NoSQL point anyway :-|
<cout> apeiros: depends on what you mean by "nosql-esque"
<cout> sql is sort of a pain if all you really want is a key-value store
<yorickpeterse> pipework: why the fuck do you need a graph DB?
<yorickpeterse> toretore: it has no schema, it does have a concept of "mappings" though
<pipework> yorickpeterse: Because I do clever shit with stupid data.
<pipework> Plus, I'm on a graph database team, so I'm biased as fuck.
<toretore> yorickpeterse: which is what makes it "not truly schema free"
<ljarvis> yorickpeterse: bro
<cout> but probably more than nine times out of ten the problem will evolve to something that needs a relational db, so people end up building relational queries on top of these non-relational databases, which is just silly
<ljarvis> yorickpeterse: I said nothing about elastic search
<ljarvis> you misread
<yorickpeterse> OOOOOOH
<yorickpeterse> hahaha
<yorickpeterse> elasticache
<yorickpeterse> jesus
* yorickpeterse hits desk against face
<ljarvis> i did wonder why you were barking on about mongo
<ljarvis> but i dare interupt
<ljarvis> interrupt
<yorickpeterse> Yes we use Elasticache but only for Memcached
<ljarvis> i cant spell
<ljarvis> ah interrupt is correct, go me
<yorickpeterse> oh and Redis actually as a middleware between Logstash and ElasticSEARCH
<ljarvis> ah ok
<yorickpeterse> what are you thinking of using Redis for?
<pipework> cout: Well, there's tools that exist that can solve problems equally well. This all calls back to the 60's when all these things were originally written about. What people should think about is how everyone and their mother knows relational.
<ljarvis> yorickpeterse: I'm using it for a job queue
<yorickpeterse> use SQS
<yorickpeterse> SQS >>>>>>>> Redis
<ljarvis> wussat
<pipework> Amazon service.
<yorickpeterse> Amazon Simple Queue Service
<yorickpeterse> cheap as fuck too
<ljarvis> I'm using sidekiq
<yorickpeterse> Hm
<pipework> my condolences.
<yorickpeterse> ignoring client code for a minute, SQS has a bunch of features that probably make it one of the most reliable queue services out there
anjen has quit [Quit: anjen]
<yorickpeterse> It's probably a bit slower than Redis/Sidepunch/w/e but it's reliable and easy to use
<ljarvis> lol sidepunch
Coincidental has joined #ruby-lang
<ljarvis> suckerpunch
<yorickpeterse> backstory: I think we have 100-200 queues or so
* ljarvis registers that gem
<yorickpeterse> split up over dev, staging and prod
anannie has quit [Ping timeout: 252 seconds]
<yorickpeterse> We use custom stuff for processing the queues though (using the aws-sdk)
<apeiros> cout: I think it was some mapreduce thingy
<apeiros> cout: don't really remember
<ljarvis> heh
<ljarvis> dang i haven't touched slop in 3 months
<apeiros> cout: as far as I understood, most people use their nosql stuff not much differently than key-value with value being a data-dump. could be done as well with an SQL store with a string id and serialized clob
<yorickpeterse> Word of caution: SQS will at random close connections (it seems) when polling a queue, so write your code to deal with that
Elico has quit [Ping timeout: 256 seconds]
<yorickpeterse> Having said that, I'm still fairly convinced that's a problem on our end
dknox-errand-lun is now known as dknox
<apeiros> cout: but as said, I still haven't really gotten the point of nosql storages
<apeiros> I didn't try hard, though
mistym has quit [Remote host closed the connection]
sdegutis has joined #ruby-lang
* pipework has used xmpp as well as multiple actual queue implementations
<sdegutis> Slightly off topic: what OpenID provider do you prefer to use for signing into trusted third party websites? I've only heard of people using Google, Yahoo, and StackExchange.
enebo has quit [Ping timeout: 264 seconds]
<pipework> I really like xmpp, but kafka is something my friend is using for her needs.
mistym has joined #ruby-lang
benanne has joined #ruby-lang
BlueVajra has joined #ruby-lang
<yorickpeterse> ljarvis: basically I suggest you to jump on the AWS hype train, don't look at the bills though
<yorickpeterse> In their defense, I think only about 20% of our AWS bill is for non EC2 stuff
<yorickpeterse> I might actually use Redis in the future for its pub/sub system though, AWS doesn't offer anything for that
<yorickpeterse> inb4 Amazon SNS, it's not pub/sub in the traditional sense
<yorickpeterse> or not in the way I need it to be
<ljarvis> heh
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> heh
johnny_rugger has quit [Quit: See ya later]
mistym_ has joined #ruby-lang
<yorickpeterse> hm, apparently we only have 6 projects using Slop
<ljarvis> how many using pry? :D
wallerdev has joined #ruby-lang
<yorickpeterse> Pretty much all of them, though in many cases its not a required dependency
<ljarvis> heh, pry->slop all works out
mistym has quit [Ping timeout: 240 seconds]
<ljarvis> I think something else big has started using it as downloads have increased a lot recently, but rubygems reverse deps is basically nonexistant and the tools out there aren't great
<yorickpeterse> euh, I think there was some website that graphed them out
<ljarvis> yeah i think there is
ecnalyr has joined #ruby-lang
robmiller1 has quit [Quit: Leaving.]
amsi has joined #ruby-lang
sandbags has joined #ruby-lang
m4n1f3st0 has joined #ruby-lang
Elico has joined #ruby-lang
<yorickpeterse> https://www.gemlou.pe/ think it was this one
<yorickpeterse> hm no, that's the other one
<yorickpeterse> there was one that didn't require a bookmark
tdy_ has quit [Quit: WeeChat 0.4.2]
benanne has quit [Ping timeout: 269 seconds]
tdy has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<whitequark> ljarvis: parser, likely
<yorickpeterse> pffff, ego much
wallerdev has joined #ruby-lang
<ljarvis> :D
Coincidental has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 240 seconds]
<whitequark> actually, no, probably not
sdegutis is now known as sed_g_utils
<whitequark> I mean there's 239k for parser, almost entirely from rubocop, and it does depend on slop
<whitequark> but slop is like, high in the fucking sky
<ljarvis> mostly because of pry
<ljarvis> (dat rhyme)
<ljarvis> no idea how pry has more, since it's almost always depending on slop
<ljarvis> ah more versions maybe
<ljarvis> wait that makes no sense
<whitequark> it does
<whitequark> 3 versions of pry, all depending on same version of slop
<ljarvis> right yeah it wouldn't download slop again on the same box
<whitequark> exactly
sed_g_utils is now known as sledge_utils
gix has quit [Ping timeout: 246 seconds]
sandbags has quit [Remote host closed the connection]
sandbags has joined #ruby-lang
sledge_utils is now known as seg_utils
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby-lang
Pupeno has joined #ruby-lang
sandbags has quit [Ping timeout: 240 seconds]
amsi has quit [Ping timeout: 255 seconds]
gix has joined #ruby-lang
ratmav has joined #ruby-lang
seg_utils is now known as segutils
segutils is now known as seg_utils
centrx has quit [Quit: All this computer hacking is making me thirsty]
seg_utils is now known as sage_utils
centrx has joined #ruby-lang
yubrew has joined #ruby-lang
benanne has joined #ruby-lang
sage_utils has left #ruby-lang [#ruby-lang]
m4n1f3st0 has quit [Ping timeout: 264 seconds]
<yorickpeterse> downstairs neighbours are singing
<yorickpeterse> it sounds horrendous
<yorickpeterse> ugh
enebo has joined #ruby-lang
agarie has quit [Remote host closed the connection]
<ljarvis> fuck i hate that AR hooks care about the return value
Elico has quit [Quit: Elico]
Coincidental has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
amsi has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
sandbags has joined #ruby-lang
ratmav has quit [Quit: Leaving]
robmiller has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
m4n1f3st0 has joined #ruby-lang
bantic has quit [Quit: bantic]
havenwood has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
havenwood has joined #ruby-lang
enebo has quit [Ping timeout: 246 seconds]
Bosox20051 has quit [Remote host closed the connection]
<gnufied> fuck that we are still using AR hooks
havenwood has quit [Ping timeout: 240 seconds]
jgpawletko has quit [Quit: jgpawletko]
workmaster2n has quit [Ping timeout: 264 seconds]
MichD is now known as michd
hahuang65 has joined #ruby-lang
funnel has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
funnel has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
centrx has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
CaptainJet has quit [Ping timeout: 264 seconds]
<yorickpeterse> man once you get the hang of Racc it's a pretty nifty tool
mehlah has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
postmodern has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
skade has joined #ruby-lang
jgpawletko has joined #ruby-lang
<fraterlaetus> anyone know a good method to replace .to_h in ruby 1.9.3?
amsi has quit [Ping timeout: 255 seconds]
Elico has joined #ruby-lang
<centrx> fraterlaetus, What is the form of the input array?
<drbrain> fraterlaetus: how do you mean?
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
<fraterlaetus> centrx: like this:
<fraterlaetus> => [["sda", "8:0", "0", "8G", "0", "disk"], ["sda", "8:1", "0", "7.5G", "0", "part", "/"], ["sda", "8:2", "0", "1K", "0", "part"], ["sda", "8:5", "0", "510M", "0", "part", "[SWAP]"], ["sdb", "8:16", "0", "8G", "0", "disk"], ["sdc", "8:32", "0", "8G", "0", "disk"]]
<fraterlaetus> and this:
<fraterlaetus> => ["NAME", "MAJ:MIN", "RM", "SIZE", "RO", "TYPE", "MOUNTPOINT"]
<centrx> How would that become a hash
<fraterlaetus> in 2.1.1
<fraterlaetus> I use
<fraterlaetus> merged = table.map{|x| rows.zip(x).to_h
CaptainJet has joined #ruby-lang
<fraterlaetus> (table is the 1st Array, rows the second)
<drbrain> maybe Hash[] ?
iliketurtles has joined #ruby-lang
<fraterlaetus> merged = table.map{|x| rows.zip(x).to_h}
<drbrain> merged = table.map { |x| Hash[rows.zip(x)] }
<drbrain> ⁇
ratmav has joined #ruby-lang
<fraterlaetus> woot
<fraterlaetus> I think that works!
saarinen has quit [Client Quit]
iliketurtles has quit [Client Quit]
hahuang61 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
melter has quit [Quit: Client exiting]
_ht has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
sdouglas has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
eugmill has joined #ruby-lang
iliketurtles has joined #ruby-lang
<ljarvis> ⁇⁇⁇⁇⁇⁇⁇⁇⁇
eugmill has quit [Remote host closed the connection]
<drbrain> ljarvis: DOUBLE QUESTION MARK is the best question mark
<ljarvis> Agreed.
<ljarvis> it's like double the confusion, what could go wrong
<centrx> ‽‽‽‽‽‽‽‽‽‽‽‽
<centrx> Interrobang
<ljarvis> i really need to gtfo the computer
sogard has joined #ruby-lang
<sogard> Hey guys.
<sogard> I have a question concerning 2 dimensional arrays.
<sogard> Why does matrix[2][1] = true assign true to the whole column?
<centrx> I have an answer regarding two-dimensional arrays
<centrx> sogard, It probably doesn't
<centrx> ?
<drbrain> sogard: because you have the same Array for all rows
<ljarvis> gah
<sogard> YES!!!
<ljarvis> i was just writing that
<drbrain> sogard: I bet you have Array.new([])
<ljarvis> ⁇⁇⁇⁇
<sogard> Thanks a lot!
<centrx> ‽
<sogard> I don't, but thanks a lot.
<ljarvis> HAH
<sogard> I love Ruby developers! <3
<ljarvis> bad luck drbrain
* ljarvis blames the ⁇
<drbrain> I lose one internet point
<ljarvis> i wonder where that leaves you
<sogard> Don't worry. Better luck next time.
eugmill has joined #ruby-lang
<drbrain> I have 472 internet points on reddit and an unknown amount on /.
<drbrain> so I'm probably ok for now
tbuehlmann has quit [Remote host closed the connection]
<ljarvis> ok just make sure you dont keep getting those negatives
sdouglas has quit [Remote host closed the connection]
<ljarvis> I believe my internet point total is -352
hahuang65 has joined #ruby-lang
sogard has quit [Quit: Page closed]
hahuang61 has quit [Ping timeout: 240 seconds]
jtw has quit []
<ljarvis> also, do i want to buy titalfall?
<ljarvis> discuss.
<drbrain> I'm not big on shooters
DouweM has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drbrain> unless they have great story
Karql has quit [Ping timeout: 264 seconds]
<ljarvis> im quite a halo fanboy
<ljarvis> but apart from that, i dont really play shooters
alex-quiterio has joined #ruby-lang
<pipework> ljarvis: You do.
<ljarvis> sometimes i hit up battlefield 4, but since it's so buggy i give up
<pipework> I still believe Halo:CE is the only halo that was ever competitive and challenging.
DEac- has quit [Ping timeout: 264 seconds]
DEac- has joined #ruby-lang
alex-quiterio has left #ruby-lang [#ruby-lang]
<ljarvis> pipework: psh, h2 multiplater was dope, the br changed everything
ratmav has quit [Quit: Leaving]
<pipework> ljarvis: They were all pretty boring after CE.
Karql has joined #ruby-lang
<ljarvis> pipework: I enjoyed 2 for multiplayer, 3 campaign was awesome ce ruled at everything, everything else sucks
<pipework> ljarvis: I can see 3's campaign being pretty awesome.
<ljarvis> pipework: you haven't played it? It's probably the best campaign imo
<pipework> 2 felt like they commoditized the gameplay for everyone.
<ljarvis> 2 was all about multiplayer for me, it basically introduced trueskill multiplayer
banaan has joined #ruby-lang
<ljarvis> like, to get a good rank you actually had to be stupid good, instead of just time played
banaan has quit [Client Quit]
<pipework> ljarvis: I remember when rank was derived from clan play.
KDiddy has joined #ruby-lang
<ljarvis> heh
eugmill has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
woollyams has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
eugmill has joined #ruby-lang
BlueVajra has quit [Remote host closed the connection]
queuetue has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
Elico has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
<zenspider_> oi. headius
mykoweb has quit [Remote host closed the connection]
BlueVajra has joined #ruby-lang
KDiddy has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
sdouglas has joined #ruby-lang
workmad3 has joined #ruby-lang
sepp2k has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
ecnalyr has joined #ruby-lang
<zenspider_> headius: need to coordinate about the racc / java PR
<zenspider_> prolly after you triage the new PR you got on your fork
nathanstitt has joined #ruby-lang
eugmill has joined #ruby-lang
simono has joined #ruby-lang
saarinen has joined #ruby-lang
<headius> zenspider_: ok
KDiddy has joined #ruby-lang
marcdel has joined #ruby-lang
jtw has joined #ruby-lang
saarinen has quit [Quit: saarinen]
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
<zenspider_> headius: I'm thinking we create a jruby branch and merge one-way as needed or at least every release. then we add you to the gem owner so you can push jruby releases
<zenspider_> (you or whomever)
kyb3r_ has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
<headius> that works for me
sandbags has joined #ruby-lang
jtw has quit []
jtw has joined #ruby-lang
|jemc| has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
KDiddy has quit [Remote host closed the connection]
DEac- has quit [Read error: No route to host]
DEac-_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sandbags has quit [Ping timeout: 240 seconds]
DEac-_ has quit [Ping timeout: 246 seconds]
|jemc| has quit [Ping timeout: 264 seconds]
<zenspider_> headius: kk. lemme know when you're done with PR#1 on your side and we'll work it out
marcdel has quit [Ping timeout: 264 seconds]
zenspider_ is now known as zenspider
machuga has quit [Read error: Operation timed out]
machuga has joined #ruby-lang
ecnalyr has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
funnel has quit [Remote host closed the connection]
funnel has joined #ruby-lang
funnel has quit [Remote host closed the connection]
funnel has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby-lang
jperry_ has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
VTLob has quit [Quit: VTLob]
closer has quit [Ping timeout: 256 seconds]
closer has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
dik_dak has quit [Quit: Leaving]