apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
spider-mario has quit [Read error: Connection reset by peer]
<Nowaker> % grep 'def wait(' /home/nowaker/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb
<Nowaker> def wait(timeout = nil)
pen has quit []
predator217 has joined #ruby
Steven_ has quit [Remote host closed the connection]
nanoyak has joined #ruby
<havenwood> Nowaker: That is MonitorMixin::ConditionVariable#wait, but you're actually using Thread::ConditionVariable#wait. Just different methods.
<havenwood> Nowaker: That #wait has a different arity.
<havenwood> Nowaker: (Since you initialize the ConditionVariable with a mutex.)
predator117 has quit [Ping timeout: 272 seconds]
<Nowaker> havenwood: damn. thanks. :)
<havenwood> Nowaker: no prob :)
<Nowaker> okay, I know the problem
Geniack has quit [Disconnected by services]
wooworks has quit [Remote host closed the connection]
Geniack_ has joined #ruby
Kricir has joined #ruby
juarlex has joined #ruby
<Nowaker> stdlib is ruby code, whereas core is compiled, and there are not *.rb files for it. and my IDE (rubymine) doesn't yet have placeholders for Thread::ConditionVariable
jgrevich has joined #ruby
<zigomir> someone should change topic to ruby 2.1.0 ;)
colonolGron has quit [Quit: Lost terminal]
klaut has quit [Remote host closed the connection]
carlsednaoui has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
juarlex has quit [Ping timeout: 272 seconds]
Mars`_ has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
<shevy> yes
<Nowaker> havenwood: Thanks :) http://youtrack.jetbrains.com/issue/RUBY-14801
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
tyl has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigomir has quit [Remote host closed the connection]
joaoh82 has joined #ruby
Solnse has quit [Ping timeout: 252 seconds]
emocakes has joined #ruby
wildroman2 has quit [Ping timeout: 260 seconds]
lukec has quit [Quit: lukec]
tyl has quit [Client Quit]
Seich has quit [Quit: Lingo - http://www.lingoirc.com]
hogeo has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
DrShoggoth has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
Solnse has joined #ruby
jamesaanderson has joined #ruby
hogeo has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Max SendQ exceeded]
vlad_starkov has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
heftig has quit [Remote host closed the connection]
heftig has joined #ruby
dfried has joined #ruby
bnjamin has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 240 seconds]
dfried has quit []
dfried has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
DrShoggoth has joined #ruby
jamesaxl has joined #ruby
Dysruption has quit [Quit: Dysruption]
kitak has joined #ruby
mojjojo has quit [Quit: mojjojo]
fridim_ has quit [Ping timeout: 240 seconds]
deol has joined #ruby
m8 has quit [Quit: Sto andando via]
ambushsabre has quit [Quit: rip]
tylersmith has joined #ruby
deol has quit [Ping timeout: 260 seconds]
zz_karupanerura is now known as karupanerura
tylersmith has quit [Ping timeout: 248 seconds]
ambushsabre has joined #ruby
Monie has joined #ruby
jenskarlsen has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
Monie has quit [Max SendQ exceeded]
virtualroot has joined #ruby
Faris has joined #ruby
Monie has joined #ruby
N00D is now known as zz_N00D
Monie has quit [Max SendQ exceeded]
wallerdev has joined #ruby
Monie has joined #ruby
yshh has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 252 seconds]
nhhagen has joined #ruby
heftig has quit [Ping timeout: 264 seconds]
robustus has joined #ruby
heftig has joined #ruby
Guest93560 has quit [Quit: kill -9 gtc]
lyanchih has joined #ruby
gtc has joined #ruby
Mars` has joined #ruby
tylersmith has joined #ruby
emocakes has quit [Quit: Leaving...]
Kricir has quit [Remote host closed the connection]
hogeo has joined #ruby
io_syl has quit []
larissa has joined #ruby
Mars`_ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kostine has joined #ruby
nhhagen has quit [Remote host closed the connection]
tkuchiki has joined #ruby
falood has joined #ruby
Mars`_ has quit [Remote host closed the connection]
shime has quit [Ping timeout: 252 seconds]
Mars` has quit [Ping timeout: 260 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Solnse has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
iliketur_ has joined #ruby
rubydubee_ has quit [Quit: rubydubee_]
iliketur_ has quit [Client Quit]
pskosinski has quit [Quit: Til rivido Idisti!]
ss_ has joined #ruby
yshh has joined #ruby
virtualroot has left #ruby [#ruby]
ewnd9 has joined #ruby
mercwithamouth has joined #ruby
joaoh82 has joined #ruby
Solnse has joined #ruby
tyl has joined #ruby
peregrine81 has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
peregrine81 has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
peregrine81 has joined #ruby
carif has quit [Read error: Connection reset by peer]
kewubenduben has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
nari has joined #ruby
postmodern has quit [Quit: Leaving]
wildroman2 has joined #ruby
hogeo has joined #ruby
dkamioka has quit [Remote host closed the connection]
emocakes has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
zigomir has joined #ruby
iliketur_ has joined #ruby
vlad_starkov has joined #ruby
blarghmatey_ has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 246 seconds]
wildroman2 has quit [Ping timeout: 252 seconds]
reach has quit [Remote host closed the connection]
zigomir has quit [Ping timeout: 264 seconds]
prc has quit [Quit: Leaving.]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 264 seconds]
blarghmatey has joined #ruby
tyl has joined #ruby
RoryHughes has quit []
cow_ has joined #ruby
hogeo has quit [Remote host closed the connection]
tropicalmug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hogeo has joined #ruby
tropicalmug has joined #ruby
tropicalmug has quit [Client Quit]
deol has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
decap has joined #ruby
<decap> Im getting this error "Could not find activesupport-4.0.2 in any of the sources" but when I do bundle show activesupport it returns with "/usr/local/rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2"
<decap> whats wrong here ?
tyl has quit [Ping timeout: 240 seconds]
deol has quit [Ping timeout: 272 seconds]
io_syl has joined #ruby
tyl has joined #ruby
bjpcjp has joined #ruby
threesome has quit [Ping timeout: 246 seconds]
jkhwan has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 260 seconds]
psyprus has joined #ruby
Asher has joined #ruby
bogeyd6_ has quit [Quit: Leaving]
bogeyd6 has joined #ruby
bogeyd6 has quit [Client Quit]
hrs has joined #ruby
Asher has quit [Quit: Leaving.]
havenwood has quit []
Asher has joined #ruby
flubba has quit [Read error: Connection reset by peer]
flubba has joined #ruby
jkhwan has quit [Remote host closed the connection]
cow_ has quit [Remote host closed the connection]
nobitanobi has joined #ruby
rjhunter has joined #ruby
shedd has joined #ruby
nhhagen has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juarlex has joined #ruby
gja has joined #ruby
deol has joined #ruby
Guedes0 has joined #ruby
nhhagen has quit [Ping timeout: 240 seconds]
cow_ has joined #ruby
gja has quit [Client Quit]
juarlex has quit [Ping timeout: 246 seconds]
cbetta is now known as cbetta_afk
Mars` has joined #ruby
weems has quit [Read error: Connection reset by peer]
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
emanu has joined #ruby
<decap> anyone ?
<emanu> anybody here ever built a frontend with yeoman/angular and used rails as just an api to your frontend code? If so, curious if there's any advice on whether to put all of it in one git repo or if it makes more sense to separate it into different git repos (ie: Should my rails app and frontend be in the same code base?)
rodasc has joined #ruby
monomyth has joined #ruby
emanu has quit [Client Quit]
nari has joined #ruby
r0bby_ has joined #ruby
marwinis1 has joined #ruby
Mars` has quit [Ping timeout: 264 seconds]
QKO_ has joined #ruby
jenskarlsen_ has joined #ruby
sivoais_ has joined #ruby
jamesaxl has quit [Ping timeout: 261 seconds]
Muz_ has joined #ruby
onewheelskyward has quit [Ping timeout: 240 seconds]
andrewh_ has joined #ruby
Authenti1ator has joined #ruby
nhhagen has joined #ruby
hackeron_ has joined #ruby
Faris2 has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chinkung has joined #ruby
freerobby1 has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
ggnmkk has joined #ruby
maddog__ has joined #ruby
onewheelskyward has joined #ruby
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
sharms has quit [Ping timeout: 241 seconds]
TwinkleH1od has joined #ruby
blarghmatey__ has joined #ruby
destruct1re has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
Naoe-Kanno has joined #ruby
rjhunter has quit [Remote host closed the connection]
iaj_ has joined #ruby
edwardly_ has joined #ruby
Scientz has joined #ruby
_bart has joined #ruby
vlad_starkov has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
brandonblack_ has joined #ruby
drago777 has joined #ruby
Derander_ has joined #ruby
hackeron_ has quit [Ping timeout: 240 seconds]
TomRone has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
virtualroot has joined #ruby
crazysim_ has joined #ruby
emanu has joined #ruby
sharms has joined #ruby
emanu has quit [Client Quit]
hackeron_ has joined #ruby
Kilobyte|StupidC has joined #ruby
Trazira has joined #ruby
TomRone has joined #ruby
soukihei_ has joined #ruby
Vivekananda has quit [Ping timeout: 240 seconds]
crapple1 has joined #ruby
Rix_ has joined #ruby
nanashiReii has joined #ruby
rcs_ has joined #ruby
mosheee has joined #ruby
nobitanobi has quit [*.net *.split]
emocakes has quit [*.net *.split]
hrs has quit [*.net *.split]
larissa has quit [*.net *.split]
blarghmatey has quit [*.net *.split]
falood has quit [*.net *.split]
jenskarlsen has quit [*.net *.split]
Faris has quit [*.net *.split]
freerobby has quit [*.net *.split]
SHyx0rmZ has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
AlSquire has quit [*.net *.split]
marwinism has quit [*.net *.split]
kung has quit [*.net *.split]
brandonblack has quit [*.net *.split]
zipace has quit [*.net *.split]
jnoob22 has quit [*.net *.split]
andrewh has quit [*.net *.split]
falten has quit [*.net *.split]
hackeron has quit [*.net *.split]
monomyth_ has quit [*.net *.split]
crodas has quit [*.net *.split]
TwinkleHood has quit [*.net *.split]
edwardly has quit [*.net *.split]
Derander has quit [*.net *.split]
crazysim has quit [*.net *.split]
rien has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
descala has quit [*.net *.split]
anderson has quit [*.net *.split]
ValicekB has quit [*.net *.split]
Galgorth has quit [*.net *.split]
xybre has quit [*.net *.split]
jrobeson has quit [*.net *.split]
graft_ has quit [*.net *.split]
crapple has quit [*.net *.split]
destructure has quit [*.net *.split]
bahar has quit [*.net *.split]
maddog_ has quit [*.net *.split]
aep has quit [*.net *.split]
preller has quit [*.net *.split]
Scient has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
Muz has quit [*.net *.split]
mame0 has quit [*.net *.split]
sivoais has quit [*.net *.split]
moshee has quit [*.net *.split]
Rix has quit [*.net *.split]
rcs has quit [*.net *.split]
soukihei has quit [*.net *.split]
Authenticator has quit [*.net *.split]
QKO has quit [*.net *.split]
iaj has quit [*.net *.split]
gregorg has quit [*.net *.split]
felipe has quit [*.net *.split]
machuga has quit [*.net *.split]
metallisto has quit [*.net *.split]
jan1337z has quit [*.net *.split]
KillerFox has quit [*.net *.split]
Rix_ is now known as Rix
rcs_ is now known as rcs
nanashiReii is now known as nanashiRei
brandonblack_ is now known as brandonblack
nanashiRei has quit [Changing host]
nanashiRei has joined #ruby
Vivekananda has joined #ruby
jkhwan has joined #ruby
aep has joined #ruby
bahar has joined #ruby
jnoob22 has joined #ruby
descala has joined #ruby
jenskarlsen_ is now known as jenskarlsen
vlad_starkov has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Guest75174 has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
gregorg has joined #ruby
Guest75174 has quit [Excess Flood]
preller has joined #ruby
machuga has joined #ruby
machuga has quit [Changing host]
machuga has joined #ruby
h0rrorvacui has quit [Quit: Leaving]
emocakes has joined #ruby
jrobeson has joined #ruby
jrobeson has joined #ruby
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
anderson has joined #ruby
zipace has joined #ruby
zipace has joined #ruby
zipace has quit [Changing host]
ValicekB_ has joined #ruby
larissa has joined #ruby
nobitanobi has joined #ruby
drago777 has joined #ruby
ValicekB_ is now known as ValicekB
jkhwan has quit [Ping timeout: 272 seconds]
xybre has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
michael_lee has joined #ruby
vikhyat_ has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
michael_lee has quit [Max SendQ exceeded]
vikhyat has quit [Ping timeout: 246 seconds]
TomRone has quit [Ping timeout: 240 seconds]
michael_lee has joined #ruby
bjpcjp has quit [Ping timeout: 246 seconds]
TomRone has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
Scientz is now known as Scient
io_syl has quit []
drago777 has joined #ruby
monomyth has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
monomyth has joined #ruby
Hobogrammer has joined #ruby
sivoais_ has quit [Quit: leaving]
sivoais has joined #ruby
<Nilium> Goody, Ruby 2.1's changes don't affect me in any negative way.
estebistec has joined #ruby
postmodern has joined #ruby
Hobogrammer_ has quit [Ping timeout: 240 seconds]
psyl0n has quit [Remote host closed the connection]
Hanmac has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 272 seconds]
synergy has quit [Write error: Connection reset by peer]
TomRone has joined #ruby
Guedes0 has quit [Ping timeout: 264 seconds]
cow_ has quit [Remote host closed the connection]
<peregrine81> so I'm still using rvm. should I change to chruby?
TomRone has quit [Ping timeout: 240 seconds]
<jrobeson> depends on if you rely on any of the features of rvm
<jrobeson> like gemsets or stuff like that
<peregrine81> i haven't gotten that deap
<jrobeson> rvm does seem ridiculously complicated to me
<peregrine81> mostly using it to manage different ruby versions among projects
<jrobeson> so i went with rbenv, but everybody does seem to like chruby these days
gordon__ has joined #ruby
<jrobeson> so.. up to you ultimately
ozkan has quit [Quit: Leaving...]
TomRone has joined #ruby
radic_ has quit [Ping timeout: 248 seconds]
psyl0n has joined #ruby
radic has joined #ruby
deol has quit [Remote host closed the connection]
vikhyat_ has quit [Remote host closed the connection]
deol has joined #ruby
vikhyat has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
radic has quit [Ping timeout: 240 seconds]
deol has quit [Ping timeout: 260 seconds]
radic has joined #ruby
wiiw has joined #ruby
vikhyat has quit [Remote host closed the connection]
keen_ has left #ruby [#ruby]
<peregrine81> doing it
gja has joined #ruby
falood has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketur_ has quit [Quit: zzzzz…..]
ckinni has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nhhagen has joined #ruby
tyl has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
vlad_starkov has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
comjf_ has joined #ruby
<comjf_> Is there a more specific channel that anyone knows of for tweaking unicorn workers?
nhhagen has quit [Ping timeout: 246 seconds]
tyl has quit [Ping timeout: 240 seconds]
<comjf_> well my question is basic... is it better to set no ruby GC then just have a max mem size for unicorn? That way unicorn will reap its own workers and linux can manage the memory without the GC spikes
vlad_starkov has quit [Read error: Connection reset by peer]
TomRone has joined #ruby
tyl has joined #ruby
vinian has joined #ruby
psyl0n has quit [Remote host closed the connection]
ozkan has joined #ruby
vikhyat has joined #ruby
fire has joined #ruby
deol has joined #ruby
<jle`> ~/
levity_island has quit [Read error: Connection reset by peer]
okinomo has joined #ruby
rjhunter has joined #ruby
Shidash1 has joined #ruby
primenum has joined #ruby
tharindu has joined #ruby
ozkan has quit [Ping timeout: 272 seconds]
iliketur_ has joined #ruby
<shevy> cd ~/
Shidash has quit [Ping timeout: 264 seconds]
deol has quit [Ping timeout: 260 seconds]
rjhunter has quit [Ping timeout: 246 seconds]
Sawbones has quit []
thinkdevcode has joined #ruby
DrShoggoth has quit [Ping timeout: 246 seconds]
<shevy> anyone can recommend a good read for rspec?
juarlex has joined #ruby
CaptainJet has quit []
DrShoggoth has joined #ruby
io_syl has joined #ruby
psyl0n has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
larissa has quit [Quit: Leaving]
hogeo has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
ms_steampunk has joined #ruby
Tearan has joined #ruby
banghouse2 has joined #ruby
banghouse2 is now known as banghouse
Geniack_ has quit [Ping timeout: 240 seconds]
banghouse is now known as Guest20540
Guest20540 is now known as banghouse
Geniack has joined #ruby
Mars` has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
gja has joined #ruby
gquental has quit [Ping timeout: 248 seconds]
drago777 has quit [Ping timeout: 240 seconds]
culturel_ has joined #ruby
braincrash has quit [Quit: bye bye]
Shidash has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
culturel_ has quit [Max SendQ exceeded]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
Shidash1 has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
drago777 has joined #ruby
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
braincrash has joined #ruby
culturel_ has joined #ruby
r0bby_ has quit [Max SendQ exceeded]
culturel_ has quit [Max SendQ exceeded]
r0bby_ has joined #ruby
aryaching_ has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
rickruby has joined #ruby
_bart has quit [Remote host closed the connection]
qpls has joined #ruby
bjpcjp has joined #ruby
kate_r has joined #ruby
reach has joined #ruby
shedd has quit [Remote host closed the connection]
gquental has joined #ruby
lyanchih has quit [Ping timeout: 264 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketur_ has quit [Quit: zzzzz…..]
DrShoggoth has joined #ruby
pitcavage has quit [Remote host closed the connection]
gabbay has joined #ruby
vikhyat has quit [Remote host closed the connection]
sguselnikov has joined #ruby
sguselnikov has quit [Remote host closed the connection]
yacks has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
nanoyak has joined #ruby
lyanchih has joined #ruby
nhhagen has joined #ruby
iliketur_ has joined #ruby
soba has joined #ruby
rubydubee has joined #ruby
Mars` has quit [Remote host closed the connection]
vikhyat has joined #ruby
Mars` has joined #ruby
vlad_starkov has joined #ruby
soba has quit [Ping timeout: 240 seconds]
nhhagen has quit [Ping timeout: 246 seconds]
arietis has joined #ruby
vikhyat has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 273 seconds]
Mars` has quit [Ping timeout: 240 seconds]
kebabski has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
Barrin6 has joined #ruby
Barrin6 has quit [Max SendQ exceeded]
jkhwan has joined #ruby
ehaliewicz has joined #ruby
Fire-Dragon-DoL has left #ruby [#ruby]
gja has quit [Quit: This computer has gone to sleep]
deol has joined #ruby
tyl has joined #ruby
tyl has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
Barrin6 has joined #ruby
deol has quit [Read error: Connection reset by peer]
deol has joined #ruby
amritanshu_RnD has joined #ruby
troyready has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
DrShoggoth has joined #ruby
bjpcjp has quit [Ping timeout: 240 seconds]
Shidash has quit [Quit: Leaving.]
Mars` has joined #ruby
ms_steampunk has quit [Quit: Page closed]
DrShoggoth has quit [Excess Flood]
DrShoggoth has joined #ruby
primenum has quit [Ping timeout: 240 seconds]
OdNairy has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
rubydubee has quit [Quit: rubydubee]
Shidash has joined #ruby
iamdoo2 has joined #ruby
Shidash1 has joined #ruby
Shidash has quit [Client Quit]
deol has quit [Remote host closed the connection]
NightmareOnXmas is now known as Nightmare
ambushsabre has quit [Quit: rip]
juarlex has quit [Remote host closed the connection]
charliesome has joined #ruby
Duckily has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
masonyuri has joined #ruby
lyanchih has joined #ruby
gozali has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
masonyuri has left #ruby [#ruby]
drago777 has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
Pind has joined #ruby
<Pind> Hello
drago777 has joined #ruby
freerobby1 has quit [Quit: Leaving.]
<pipecloud> shevy: documentation. Also, the docs on https://relishapp.com/rspec
browndawg has joined #ruby
shedd has joined #ruby
cha1tanya_ has joined #ruby
nhhagen has joined #ruby
psyl0n has quit [Remote host closed the connection]
nanoyak has joined #ruby
vlad_starkov has joined #ruby
diegoviola has joined #ruby
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
edwardly_ has quit [Quit: ZNC - http://znc.in]
shedd has quit [Ping timeout: 248 seconds]
edwardly has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
culturelabs has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
culturelabs_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
dylandog has quit [Ping timeout: 264 seconds]
aagdbl has joined #ruby
OdNairy has joined #ruby
ozkan has joined #ruby
tjbiddle has joined #ruby
<iamdoo2> Merry Christmas!
<tjbiddle> Hey guys - what am I doing wrong here? Trying to make sure the period is inclusive
<tjbiddle> << "testgif" =~ Regexp.new("\.gif$")
<tjbiddle> >> "testgif" =~ Regexp.new("\.gif$")
<eval-in> tjbiddle => 3 (https://eval.in/83066)
<tjbiddle> (I want that to come back as non-matching)
<tjbiddle> Merry Christmas iamdoo2 :-)
<Pind> Merry Christmas
capicue has joined #ruby
ozkan has quit [Ping timeout: 272 seconds]
aagdbl has quit [Read error: Connection reset by peer]
capicue has quit [Client Quit]
Mon_Ouie has quit [Read error: Operation timed out]
iamdoo2 has quit [Read error: Connection reset by peer]
iamdoo2 has joined #ruby
<wiiw> tjbiddle: >> "testgif" =~ Regexp::escape( "\.gif$" )
<tjbiddle> >> "testgif" =~ Regexp::escape( "\.gif$" )
<eval-in> tjbiddle => type mismatch: String given (TypeError) ... (https://eval.in/83067)
thinkdevcode has quit [Remote host closed the connection]
<tjbiddle> >> "testgif" =~ Regexp.new(Regexp::escape( "\.gif$" ))
<eval-in> tjbiddle => nil (https://eval.in/83068)
<tjbiddle> wiiw: Beautiful, thanks!
<wiiw> r = Regexp.new( Regexp::escape "\.gif$" )
<wiiw> :)
<tjbiddle> wiiw: Reasoning behind that?
<wiiw> tjbiddle: or /#{Regexp::escape str }/i , I have nothing for Reasoning ...
<tjbiddle> Heh :)
<wiiw> tjbiddle: I think it is a bug :)
* tjbiddle shrugs
Pind has quit [Quit: Ex-Chat]
<wiiw> >> Regexp.new(".") == Regexp.new("\.")
<eval-in> wiiw => true (https://eval.in/83069)
<wiiw> why true ?
reach has quit []
<wiiw> >> Regexp.new('.') == Regexp.new('\.')
<eval-in> wiiw => false (https://eval.in/83071)
<wiiw> sorry ...
iliketur_ has joined #ruby
iliketur_ has quit [Excess Flood]
iliketur_ has joined #ruby
Jake232_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reach has joined #ruby
Kricir has joined #ruby
BrixSat has quit [Remote host closed the connection]
<tjbiddle> >> "testgif" =~ Regexp.new('\.gif$')
<eval-in> tjbiddle => nil (https://eval.in/83076)
BrixSat has joined #ruby
<tjbiddle> >> "test.gif" =~ Regexp.new("\.gif$")
<eval-in> tjbiddle => nil (https://eval.in/83077)
<tjbiddle> >> "test.gif" =~ Regexp.new('\.gif$')
<eval-in> tjbiddle => 4 (https://eval.in/83079)
<tjbiddle> Interesting
<tjbiddle> Guess single vs. double quotes is interpreted differently in this case
aagdbl has joined #ruby
nomenkun has joined #ruby
deol has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
cha1tanya_ has quit [Quit: cha1tanya]
dseitz has joined #ruby
cow_ has joined #ruby
peregrine81 has quit []
gja has joined #ruby
ss_ has quit [Remote host closed the connection]
deol has quit [Ping timeout: 240 seconds]
<wiiw> >> Regexp.new('\.gif$')
<eval-in> wiiw => /\.gif$/ (https://eval.in/83083)
<wiiw> >> Regexp.new("\.gif$")
<eval-in> wiiw => /.gif$/ (https://eval.in/83084)
arietis has quit [Quit: Computer has gone to sleep.]
<wiiw> >> // .class
<eval-in> wiiw => Regexp (https://eval.in/83085)
ss_ has joined #ruby
sayan has joined #ruby
<wiiw> >> "\.gif$"
<eval-in> wiiw => ".gif$" (https://eval.in/83086)
OdNairy has quit [Ping timeout: 246 seconds]
thinkdevcode has joined #ruby
jmimi has joined #ruby
aagdbl1 has joined #ruby
aagdbl has quit [Disconnected by services]
OdNairy has joined #ruby
lyanchih has quit [Quit: lyanchih]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
iamdoo2 has quit []
Shidash1 has quit [Quit: Leaving.]
aagdbl has joined #ruby
aagdbl1 has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
thinkdevcode has quit [Ping timeout: 248 seconds]
tropicalmug has joined #ruby
aagdbl has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
nhhagen has quit [Ping timeout: 246 seconds]
tjbiddle has quit [Quit: tjbiddle]
aagdbl has joined #ruby
lukec has joined #ruby
Myk267 has left #ruby [#ruby]
ozkan has joined #ruby
speckle has joined #ruby
deol has joined #ruby
dkamioka has joined #ruby
nomenkun has quit [Remote host closed the connection]
arietis has joined #ruby
lyanchih has joined #ruby
noop has joined #ruby
deol has quit [Ping timeout: 248 seconds]
ozkan has quit [Ping timeout: 264 seconds]
nomenkun_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
yshh has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
nomenkun_ has quit [Read error: Connection reset by peer]
frustrum has quit [Ping timeout: 272 seconds]
psyprus has quit [Ping timeout: 240 seconds]
psyprus has joined #ruby
tylersmith has quit [Remote host closed the connection]
iamdoo2 has joined #ruby
tharindu has quit [Ping timeout: 240 seconds]
ItSANgo__ has quit [Ping timeout: 260 seconds]
psyprus has quit [Ping timeout: 240 seconds]
psyprus has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
ItSANgo_ has joined #ruby
gja has joined #ruby
Barrin6 has quit [Quit: Leaving]
diegoviola has quit [Quit: WeeChat 0.4.2]
hogeo has quit [Remote host closed the connection]
eka has joined #ruby
hogeo has joined #ruby
Guest579 has joined #ruby
blarghmatey__ has quit [Ping timeout: 246 seconds]
Guest579 has quit [Changing host]
Guest579 has joined #ruby
Guest579 is now known as diegoviola
jonathanwallace has joined #ruby
kebabski has quit []
eka has quit [Ping timeout: 272 seconds]
hogeo has quit [Ping timeout: 240 seconds]
kate_r has joined #ruby
kitak has quit [Remote host closed the connection]
mrsolo has joined #ruby
ziprar has joined #ruby
cow_ has quit [Remote host closed the connection]
zipace has quit [Ping timeout: 272 seconds]
cow_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
mrsolo has left #ruby [#ruby]
tylersmith has joined #ruby
nhhagen has joined #ruby
vlad_starkov has joined #ruby
cow_ has quit [Ping timeout: 264 seconds]
vlad_sta_ has joined #ruby
cow_ has joined #ruby
wowowewa has joined #ruby
hogeo has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
kewubenduben has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
sayan has quit [Quit: Leaving]
tylersmith has quit [Ping timeout: 248 seconds]
sayan_ has joined #ruby
Faris2 has quit [Ping timeout: 264 seconds]
Beoran_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
Beoran_ has joined #ruby
zigomir has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
aagdbl1 has joined #ruby
aagdbl has quit [Disconnected by services]
browndawg has joined #ruby
kewubenduben has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
SergeyPenkin has joined #ruby
hogeo_ has joined #ruby
hogeo has quit [Read error: No route to host]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nhhagen has joined #ruby
flubba has quit [Remote host closed the connection]
Azure has quit [Quit: My MBP went to sleep.]
edwardly has quit [Quit: ZNC - http://znc.in]
estebistec has quit [Remote host closed the connection]
edwardly has joined #ruby
kewubenduben has quit []
hogeo_ has quit [Remote host closed the connection]
edwardly has quit [Max SendQ exceeded]
kewubenduben has joined #ruby
edwardly has joined #ruby
edwardly has quit [Max SendQ exceeded]
fridim_ has joined #ruby
Mars` has quit [Remote host closed the connection]
charliesome has joined #ruby
edwardly has joined #ruby
hogeo_ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
iliketur_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
Mars` has joined #ruby
TomRone has joined #ruby
hogeo_ has quit [Remote host closed the connection]
nhhagen has quit [Remote host closed the connection]
hogeo has joined #ruby
dkamioka has quit [Ping timeout: 248 seconds]
hogeo has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby
iliketur_ has quit [Remote host closed the connection]
iliketur_ has joined #ruby
Kabaka has quit [Ping timeout: 260 seconds]
m-o-s_ has joined #ruby
m-o-s_ has quit [Client Quit]
aryaching has quit [Ping timeout: 272 seconds]
flubba has joined #ruby
pyrac has joined #ruby
Kricir has quit [Remote host closed the connection]
sickweezle has quit [Ping timeout: 246 seconds]
sickweezle has joined #ruby
Mars` has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 248 seconds]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
Monie has joined #ruby
mengu has quit [Remote host closed the connection]
browndawg has joined #ruby
htmiguel has joined #ruby
lewix has quit [Remote host closed the connection]
dkamioka has joined #ruby
htmiguel has quit [Client Quit]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
randomnick_ has joined #ruby
ozgun has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
ozkan has joined #ruby
Yan__ has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
tylersmith has quit [Ping timeout: 246 seconds]
iliketur_ has quit [Quit: zzzzz…..]
Mars` has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
sharms has joined #ruby
Tearan has joined #ruby
xiphias has joined #ruby
Mars` has quit [Ping timeout: 248 seconds]
reach has quit [Remote host closed the connection]
browndawg has left #ruby [#ruby]
Tearan has quit [Ping timeout: 248 seconds]
reach has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
gregoriokusowski has joined #ruby
michael_lee has quit [Read error: Connection reset by peer]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
nvrch has joined #ruby
Elhu has joined #ruby
Mars` has joined #ruby
intuxicated has quit [Remote host closed the connection]
pyrac has quit [Quit: pyrac]
olivier_bK has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
wiiw has quit [Remote host closed the connection]
xiphias has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
xiphias has joined #ruby
Mars` has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
flubba has quit [Remote host closed the connection]
pyrac has joined #ruby
michael_lee has joined #ruby
dkamioka has quit [Ping timeout: 260 seconds]
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has joined #ruby
aryko has joined #ruby
iamdoo2 has quit []
skaflem has joined #ruby
reach has quit []
aryko has quit [Client Quit]
hogeo_ has quit [Remote host closed the connection]
workmad3 has joined #ruby
kostine has quit []
maroloccio has joined #ruby
destruct1re is now known as destructure
hogeo has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
lessless has quit [Ping timeout: 240 seconds]
brtdv has joined #ruby
reach has joined #ruby
Mars` has joined #ruby
lessless has joined #ruby
RoryHughes has joined #ruby
kewubenduben has quit [Read error: Connection reset by peer]
wowowewa has quit [Read error: Connection reset by peer]
w|t has quit [Ping timeout: 272 seconds]
kewubenduben has joined #ruby
w|t has joined #ruby
aagdbl has joined #ruby
aagdbl1 has quit [Ping timeout: 260 seconds]
hogeo has quit [Remote host closed the connection]
Mars` has quit [Remote host closed the connection]
hogeo has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
obs has joined #ruby
wowowewa has joined #ruby
klaut has joined #ruby
kewubenduben has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
m8 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
sayan_ has quit [Ping timeout: 248 seconds]
nari has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
claymore has joined #ruby
okinomo has joined #ruby
tylersmith has joined #ruby
hogeo has joined #ruby
wildroman2 has joined #ruby
kostine has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
tylersmith has quit [Ping timeout: 272 seconds]
jonathanwallace has quit [Ping timeout: 240 seconds]
jonathanwallace has joined #ruby
parshap has left #ruby [#ruby]
drago777 has quit [Ping timeout: 240 seconds]
Yan__ has quit [Ping timeout: 248 seconds]
wildroman2 has quit [Remote host closed the connection]
drago777 has joined #ruby
hogeo has quit [Remote host closed the connection]
jgrevich has quit [Quit: jgrevich]
threesome has joined #ruby
sayan has joined #ruby
S0da has quit [Remote host closed the connection]
Pixels has quit [Disconnected by services]
Faris has joined #ruby
Pixels has joined #ruby
tropicalmug has quit [Quit: Textual IRC Client: www.textualapp.com]
gja has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
dkamioka has joined #ruby
marr has joined #ruby
marr has quit [Client Quit]
RoryHughes has quit []
dkamioka has quit [Ping timeout: 272 seconds]
RoryHughes has joined #ruby
Yan__ has joined #ruby
alexherbo2 has joined #ruby
kostine has quit []
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #ruby
sayan has joined #ruby
mrnugget has joined #ruby
brtdv has quit []
gozali has quit [Remote host closed the connection]
vinian has left #ruby [#ruby]
mrnugget has quit [Client Quit]
mrnugget has joined #ruby
carlsednaoui has joined #ruby
brtdv has joined #ruby
Piexls has joined #ruby
shiyas has joined #ruby
shime has joined #ruby
Pixels has quit [Disconnected by services]
Piexls is now known as Pixels
gja has quit [Quit: This computer has gone to sleep]
Brando753 has quit [Ping timeout: 264 seconds]
Brando753 has joined #ruby
Pixels has quit []
workmad3 has quit [Ping timeout: 240 seconds]
mojjojo has joined #ruby
dkamioka_ has joined #ruby
Brando753 has quit [Excess Flood]
felipe has joined #ruby
Brando753 has joined #ruby
mojjojo has quit [Client Quit]
mengu has quit [Remote host closed the connection]
shiyas has quit [Remote host closed the connection]
tylersmith has joined #ruby
Mars` has joined #ruby
dkamioka_ has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
mojjojo has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nomenkun has joined #ruby
reach has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
Brando753 has quit [Ping timeout: 248 seconds]
shime has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
shiyas has joined #ruby
Duckily has quit [Quit: Duckily]
drago777 has quit [Ping timeout: 240 seconds]
shime has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
huttan- has joined #ruby
bluOxigen has quit [Read error: No route to host]
bluOxigen has joined #ruby
carlsednaoui has quit [Ping timeout: 248 seconds]
Mars` has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
Brando753 has joined #ruby
brtdv has quit []
RoryHughes has quit []
deol has joined #ruby
brtdv has joined #ruby
aagdbl has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
spider-mario has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 246 seconds]
aagdbl has joined #ruby
bluOxigen has joined #ruby
mengu has joined #ruby
nari has joined #ruby
Mon_Ouie has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
cow_ has quit [Remote host closed the connection]
deol has quit [Ping timeout: 240 seconds]
cow_ has joined #ruby
RoryHughes has joined #ruby
deanrock has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
reach has joined #ruby
Guest49989 has joined #ruby
huttan- has quit [Ping timeout: 240 seconds]
cow_ has quit [Ping timeout: 264 seconds]
maroloccio has quit [Ping timeout: 264 seconds]
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
brtdv has quit []
arietis has quit [Quit: Computer has gone to sleep.]
oitnelis has joined #ruby
klaut has quit [Remote host closed the connection]
lessless has quit [Ping timeout: 240 seconds]
RoryHughes has quit []
klaut has joined #ruby
arietis has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 260 seconds]
xiphias has joined #ruby
jonathanwallace has quit [Ping timeout: 272 seconds]
shiyas has quit [Quit: shiyas]
drago777 has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
RoryHughes has joined #ruby
drago777 has joined #ruby
hogeo has quit [Remote host closed the connection]
gja has joined #ruby
cbetta_afk is now known as cbetta
cow_ has joined #ruby
tharindu has joined #ruby
drumusician has joined #ruby
io_syl has quit []
aagdbl has quit [Read error: Connection reset by peer]
Steven_ has joined #ruby
aagdbl has joined #ruby
hogeo has joined #ruby
RoryHughes has quit []
Yan__ has quit [Ping timeout: 272 seconds]
drumusician has quit [Read error: Operation timed out]
drumusician has joined #ruby
hogeo has quit [Remote host closed the connection]
cow_ has quit [Remote host closed the connection]
cow__ has joined #ruby
cow__ has quit [Read error: Connection reset by peer]
cow__ has joined #ruby
pushpak has joined #ruby
psyl0n has joined #ruby
dkamioka has joined #ruby
RoryHughes has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
aspiers has joined #ruby
zipper has joined #ruby
cow__ has quit [Ping timeout: 272 seconds]
popl has joined #ruby
popl has joined #ruby
bnjamin has joined #ruby
tylersmith has joined #ruby
Bumptious has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 264 seconds]
edwardly has quit [Ping timeout: 240 seconds]
Bumptious has joined #ruby
edwardly has joined #ruby
kostine has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
Guest90190 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
diegoviola has quit [Ping timeout: 264 seconds]
Guest90190 has quit [Changing host]
Guest90190 has joined #ruby
Guest90190 is now known as diegoviola
carraroj has joined #ruby
_bart has joined #ruby
cbetta is now known as cbetta_afk
okinomo has joined #ruby
shredding has quit [Quit: shredding]
eka has joined #ruby
deol has joined #ruby
mrnugget_ has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
mrnugget has quit [Ping timeout: 248 seconds]
mrnugget_ is now known as mrnugget
vinian has joined #ruby
vinian has quit [Max SendQ exceeded]
vinian has joined #ruby
vinian has quit [Max SendQ exceeded]
wildroman2 has quit [Remote host closed the connection]
dev1x is now known as rfx86
deol has quit [Ping timeout: 240 seconds]
gregoriokusowski has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
falood has quit [Remote host closed the connection]
falood has joined #ruby
wildroman2 has quit [Ping timeout: 248 seconds]
okinomo has quit [Ping timeout: 272 seconds]
Elhu has joined #ruby
tyl has quit [Remote host closed the connection]
falood has quit [Ping timeout: 240 seconds]
vinian has joined #ruby
vinian has quit [Max SendQ exceeded]
kirun has joined #ruby
reach has quit [Read error: Connection reset by peer]
reach has joined #ruby
gja has quit [Ping timeout: 240 seconds]
vinian has joined #ruby
vinian has quit [Max SendQ exceeded]
mrnugget has quit [Quit: mrnugget]
gja has joined #ruby
vinian has joined #ruby
anderson has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
RoryHughes has quit [Ping timeout: 272 seconds]
drago777 has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
crapple1 has quit [Ping timeout: 260 seconds]
crapple has joined #ruby
drago777 has joined #ruby
aagdbl1 has joined #ruby
aagdbl has quit [Disconnected by services]
psyprus has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
RoryHughes has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
sayan_ has joined #ruby
RoryHughes has quit [Client Quit]
psyprus has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
pskosinski has joined #ruby
RoryHughes has joined #ruby
joaoh82 has joined #ruby
sayan_ is now known as sayan
sayan has quit [Changing host]
sayan has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
lyanchih has quit [Ping timeout: 246 seconds]
joaoh82 has quit [Ping timeout: 248 seconds]
bjpcjp has joined #ruby
RoryHugh_ has joined #ruby
DouweM has joined #ruby
drago777 has joined #ruby
RoryHughes has quit [Ping timeout: 240 seconds]
TejasDinkar has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
gja has quit [Ping timeout: 272 seconds]
TomRone has joined #ruby
RoryHugh_ has quit [Ping timeout: 260 seconds]
okinomo has joined #ruby
St_Marx has joined #ruby
RoryHughes has joined #ruby
dkamioka has joined #ruby
ewnd9 has joined #ruby
tehKitten has left #ruby ["Konversation terminated!"]
siwica has joined #ruby
shime has quit [Quit: Lost terminal]
bluOxigen has quit []
tylersmith has joined #ruby
okinomo has quit [Ping timeout: 260 seconds]
dkamioka has quit [Ping timeout: 264 seconds]
kure has quit [Ping timeout: 264 seconds]
Trazira has quit []
pyrac has quit [Quit: pyrac]
tharindu has quit [Quit: Leaving...]
ehaliewicz has quit [Ping timeout: 272 seconds]
falood has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
gasbakid has joined #ruby
decoponio has quit [Remote host closed the connection]
decoponio has joined #ruby
siwica has quit [Ping timeout: 246 seconds]
banghouse has quit [Remote host closed the connection]
decoponio has quit [Max SendQ exceeded]
decoponio has joined #ruby
bjpcjp has quit [Ping timeout: 272 seconds]
deol has joined #ruby
okinomo has joined #ruby
jmimi has quit [Quit: Leaving.]
deol has quit [Ping timeout: 260 seconds]
okinomo has quit [Ping timeout: 240 seconds]
nicoulaj has joined #ruby
okinomo has joined #ruby
bgy has quit [Quit: .]
bgy has joined #ruby
bjpcjp has joined #ruby
bjpcjp has quit [Remote host closed the connection]
RoryHughes has quit [Write error: Broken pipe]
habanany has joined #ruby
zipper has quit [Quit: Lost terminal]
shime has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
lazaro_ has joined #ruby
habanany has quit [Client Quit]
drago777 has quit [Ping timeout: 240 seconds]
drumusician has quit [Ping timeout: 240 seconds]
pyrac has joined #ruby
okinomo has quit [Ping timeout: 248 seconds]
okinomo has joined #ruby
shime has quit [Ping timeout: 240 seconds]
cow_ has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
shime has joined #ruby
psyprus has joined #ruby
lazaro_ is now known as habanany
drago777 has joined #ruby
shiyas has joined #ruby
shedd has joined #ruby
prc has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
habanany has quit [Quit: Leaving]
habanany has joined #ruby
psyprus has joined #ruby
breakingthings has joined #ruby
Vivekananda has quit [Ping timeout: 272 seconds]
gabbay has quit [Remote host closed the connection]
shedd has quit [Remote host closed the connection]
agjacome has joined #ruby
dapz has quit [Ping timeout: 248 seconds]
<mdev> any big changes in new ruby recently released?
shime has quit [Ping timeout: 272 seconds]
mojjojo has quit [Quit: mojjojo]
Elhu has joined #ruby
diego1 has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
shime has joined #ruby
diegoviola has quit [Ping timeout: 248 seconds]
diego1 is now known as diegoviola
joaoh82 has joined #ruby
arietis has quit [Ping timeout: 272 seconds]
KillerFox has joined #ruby
falten has joined #ruby
metallisto has joined #ruby
jan1337z has joined #ruby
joaoh82_ has joined #ruby
<DouweM> Who's gonna update the topic for Ruby 2.1?
shime has quit [Ping timeout: 240 seconds]
drago777 has quit [Ping timeout: 240 seconds]
aspiers has quit [Ping timeout: 272 seconds]
joaoh82 has quit [Ping timeout: 246 seconds]
psyprus_ has joined #ruby
shime has joined #ruby
mame0 has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drago777 has joined #ruby
_bart has quit []
TomRone has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
jonathanwallace has joined #ruby
<platzhirsch> Ho ho ho! Merry Christmas — Ruby 2.1 is here
vpretzel has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
TomRone has joined #ruby
txdv has joined #ruby
<txdv> self returns the instance class, is there something so I can get the instance object itself in a method inside of the instances class?
colonolGron has joined #ruby
dkamioka has joined #ruby
<pipecloud> self in the method definition in the class will refer to the instance.
TomRone has quit [Ping timeout: 240 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
shime has quit [Ping timeout: 246 seconds]
<txdv> no not really
dkamioka has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
<txdv> Test1 vs #<Test1:0x8388abc>
aspiers has joined #ruby
ArchBeOS-work has joined #ruby
tylersmith has joined #ruby
<Hanmac> txdv: first is the class itself, second is an instance ... when you want the class, why dont you say that??
drago777 has quit [Ping timeout: 240 seconds]
<txdv> i want to get ahold of the current instance in a method defined in the class
mojjojo has joined #ruby
<txdv> self actually returns it
<txdv> nevermind
<txdv> this metaprogramming is confusing
aryaching has joined #ruby
browndawg has joined #ruby
drago777 has joined #ruby
<txdv> i have a module, i include that module in a class and I want somehow to have the code in the module retrieve the instance of the class
tylersmith has quit [Ping timeout: 272 seconds]
<txdv> but I guess module functions are not affiliated with the instance, only with the class
platzhirsch has quit [Ping timeout: 240 seconds]
<Hanmac> txdv: show me a gist of your code so i can see what is wrong
<Hanmac> txdv: OR do you try to istall class methods defined in the module to include into the class??
TejasDinkar has quit [Quit: This computer has gone to sleep]
<txdv> Nevermind, I understood the problem, thanks for the help
deol has joined #ruby
<shevy> DouweM I think the only one able to update the topic is apeiros or fflush
<shevy> *only ones / are
coffeina has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
TomRone has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
<DouweM> :)
deol has quit [Ping timeout: 240 seconds]
ckinni has joined #ruby
platzhirsch has joined #ruby
ckinni has quit [Max SendQ exceeded]
ckinni has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
RoryHughes has joined #ruby
dkamioka has joined #ruby
alexherb1 has joined #ruby
RaCx has joined #ruby
xiphias has joined #ruby
alexherb1 has quit [Client Quit]
arietis has joined #ruby
platzhirsch has quit [Ping timeout: 264 seconds]
mr_red1 is now known as mr_red
DrShoggoth has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 264 seconds]
crapple has joined #ruby
marcgg has joined #ruby
DrShoggoth has joined #ruby
Landshark753 has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
Landshark753 has quit [Max SendQ exceeded]
nfk has joined #ruby
Landshark753 has joined #ruby
colonolGron has quit [Ping timeout: 240 seconds]
colonolGron has joined #ruby
xiphias has joined #ruby
xiphias has quit [Changing host]
xiphias has joined #ruby
mzdravkov has joined #ruby
joaoh82_ has quit [Remote host closed the connection]
S0da has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
bogeyd6 has joined #ruby
banghouse has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
<mzdravkov> can I tell bundle not to install rdoc and ri like I can tell it to gem install. gem install has --no-ri --no-rdoc but bundle doesnt. Maybe I should write something in the Gemfile?
banghouse is now known as Guest83393
SHyx0rmZ has joined #ruby
aryaching has quit []
DrShoggoth has quit [Ping timeout: 252 seconds]
cyberarm has joined #ruby
TomRone has joined #ruby
Guest83393 has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
DrShoggoth has joined #ruby
<Hanmac> mzdravkov: #bundler
lyanchih has joined #ruby
nicoulaj has quit [Read error: No route to host]
Czupa has joined #ruby
<shevy> hehe
<shevy> bundle will do things on its own
<shevy> epic quotes, 2012: <banisterfiend> somehow bundler is getting in the way but i didnt ask bundler to do a damn thing
gasbakid_ has joined #ruby
<shevy> Hanmac do you use rspec?
shiyas has quit [Quit: shiyas]
drago777 has quit [Ping timeout: 240 seconds]
<Hanmac> hm dont that i know of ... i used unit-tests
shiyas has joined #ruby
platzhirsch has joined #ruby
Megtastique has joined #ruby
gasbakid_ has quit [Max SendQ exceeded]
gasbakid has quit [Ping timeout: 272 seconds]
gasbakid_ has joined #ruby
drago777 has joined #ruby
RaCx has joined #ruby
mjburgess has joined #ruby
phansch has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Read error: Operation timed out]
tkuchiki has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby
<shevy> damn
<shevy> my "rspec" file has a "# This file was generated by Bundler."
alexherbo2 has quit [Read error: Operation timed out]
<shevy> and it has a shebang line of "#!/usr/bin/env jruby --1.9 --debug"
<shevy> but I dont have jruby! and I dont have java
alexherbo2 has joined #ruby
LostMonk has quit [Read error: Connection reset by peer]
LostMonk has joined #ruby
<DouweM> shevy: what file? an 'rspec' file in your project root?
<shevy> the file "rspec" inside of bin/ folder
<DouweM> ah, right, the binstub
<DouweM> I have no idea why that would say to use jruby *shrug*
<shevy> hmm
<shevy> going to try to uninstall bundler and rspec, and see what happens when reinstalling rspec first
tkuchiki has quit [Ping timeout: 240 seconds]
TomRone has quit [Ping timeout: 240 seconds]
thinkdevcode has joined #ruby
<shevy> https://rubygems.org/gems/rspec lists only three dependencies and bundler is not even mentioned there
larissa has joined #ruby
<shevy> oh
<shevy> rspec does not have a bin/ folder
TomRone has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
drumusician has joined #ruby
thinkdevcode has quit [Ping timeout: 248 seconds]
<mojjojo> is there an irc channel where i can ask question about google oauth?
tylersmith has joined #ruby
jonathanwallace has joined #ruby
karupanerura is now known as zz_karupanerura
arietis has quit [Quit: Computer has gone to sleep.]
DrShoggoth has joined #ruby
drumusician has quit [Ping timeout: 248 seconds]
postmodern has quit [Quit: Leaving]
okinomo has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Quit: Leaving.]
RoryHughes has quit [Read error: Connection reset by peer]
<AntelopeSalad> does anyone know how much disk space is required to compile ruby 2.1 from source?
tylersmith has quit [Ping timeout: 272 seconds]
byprdct has joined #ruby
drago777 has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
mojjojo has quit [Quit: mojjojo]
eka has joined #ruby
dkamioka has quit [Remote host closed the connection]
RoryHughes has joined #ruby
aagdbl1 has quit [Quit: Leaving.]
decap has quit [Ping timeout: 240 seconds]
pxjorge has joined #ruby
Steven_ has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 272 seconds]
maroloccio has joined #ruby
kevind_ has joined #ruby
RoryHughes has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
<shevy> ruby-2.0.0-p353.tar.xz has a size of 7.9M. I guess when it is extracted, it's about 24 MB or so? and when compiled... let's add +150%... so I would say... 60 MB
tharindu has joined #ruby
<AntelopeSalad> shevy: thanks, unfortunately i ran out of space with 180mb tho
arietis has joined #ruby
coffeina has quit [Quit: Wychodzi]
klaut has quit [Remote host closed the connection]
<shevy> damn
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
cyberarm has left #ruby ["Leaving"]
decap has joined #ruby
blarghmatey_ has joined #ruby
snath has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
joaoh82 has joined #ruby
yfgyugs87fy has joined #ruby
<yfgyugs87fy> WARNING WARNING WARNING, WARNING
<yfgyugs87fy> WARNING WARNING WARNING, WARNING WARNING
<yfgyugs87fy> YOU MAY BE WATCHED
<yfgyugs87fy> YOU MAY BE WATCHED
<yfgyugs87fy> YOU MAY BE WATCHED
yfgyugs87fy has quit [Excess Flood]
<pontiki> lol
<pontiki> wheee
sambao21 has joined #ruby
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
drago777 has quit [Ping timeout: 240 seconds]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
<txdv> are there any ruby classes which fire an event every x seconds?
yfgyugs87fy has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
yfgyugs87fy has quit [Excess Flood]
sakshi has joined #ruby
mary5030 has quit [Remote host closed the connection]
drago777 has joined #ruby
yfgyugs87fy has joined #ruby
IceDragon has joined #ruby
mary5030 has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
amundj has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
maroloccio has quit [Ping timeout: 240 seconds]
cow_ has quit [Remote host closed the connection]
yfgyugs87fy has joined #ruby
yfgyugs87fy has quit [Excess Flood]
thinkdevcode has joined #ruby
tharindu is now known as tharindu|away
yfgyugs87fy has joined #ruby
yfgyugs87fy has left #ruby [#ruby]
maroloccio2 has joined #ruby
sakshi has quit [Quit: Konversation terminated!]
tharindu|away has quit [Quit: Leaving...]
ckinni has quit [Ping timeout: 240 seconds]
<txdv> pontiki: nice, thanks, maybe you have a preffered one?
<pontiki> not really
S0da has quit [Remote host closed the connection]
rehat has joined #ruby
klaut has joined #ruby
peregrine81 has joined #ruby
relix has joined #ruby
RoryHughes has joined #ruby
thinkdev_ has joined #ruby
thinkdev_ has quit [Client Quit]
tharindu has joined #ruby
ckinni has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
RoryHughes has quit [Max SendQ exceeded]
ckinni has quit [Client Quit]
thinkdevcode has quit [Ping timeout: 250 seconds]
horofx has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
relix has quit [Max SendQ exceeded]
drago777 has joined #ruby
<olivier_bK> i dont understand something
estebistec has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
<olivier_bK> i use this command @get_uid_instance = File.foreach("#{@paramfile[1]}#{@url_instance}.php", "r").grep(/config\[['"]uid['"]\]/)
<olivier_bK> in file with name is configuration_uid.php
RoryHughes has joined #ruby
<olivier_bK> and the uid of this url is $config["uid"] = 'abdiibramih';
mdev2 has joined #ruby
mdev has quit [Disconnected by services]
mdev2 is now known as mdev
<olivier_bK> but i get only = 'abdiibr"]
thiago__ has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
<olivier_bK> ??
<olivier_bK> i dont understand
<olivier_bK> why
mdev has quit [Changing host]
mdev has joined #ruby
horofox has quit [Ping timeout: 272 seconds]
RoryHughes has joined #ruby
ambushsabre has joined #ruby
frustrum has joined #ruby
bean has joined #ruby
foster63 has joined #ruby
foster63 has quit [Client Quit]
vikhyat has joined #ruby
horofx has quit [Ping timeout: 272 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
Megtastique has quit []
<pontiki> olivier_bK: i don't really understand what you are trying to do
xiphias has quit [Ping timeout: 240 seconds]
OnkelTem has quit [Read error: Connection reset by peer]
etel has joined #ruby
<olivier_bK> pontiki, what i trying to do is to get $config["uid"] = 'abdiibrahim';
<olivier_bK> all of the uid name
<olivier_bK> not the half
<olivier_bK> i dont understand why he truncate the uid name
foster63 has joined #ruby
xiphias has joined #ruby
<pontiki> is that a line in the file you are reading?
OnkelTem has joined #ruby
nowthatsamatt has joined #ruby
blarghmatey_ has quit [Ping timeout: 272 seconds]
<foster63> Ok, given an array of arrays, how to calculate the index of the shortest array, ignoring any arrays of length 0 or 1?
falood has quit [Remote host closed the connection]
<olivier_bK> pontiki, yes
<olivier_bK> on configuration_uid.php
pxjorge has quit [Quit: Leaving]
noop has quit [Ping timeout: 272 seconds]
joaoh82 has joined #ruby
Elhu has joined #ruby
<pontiki> olivier_bK: no idea
Hanmac1 has joined #ruby
wildroman2 has quit []
banister has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
<olivier_bK> pontiki, okai thanks
<olivier_bK> :)
drago777 has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
xiphias has joined #ruby
tylersmi_ has joined #ruby
drago777 has joined #ruby
rippa has joined #ruby
mengu has quit [Remote host closed the connection]
blarghmatey_ has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
<shevy> olivier_bK that code is so ugly
pyrac has quit [Quit: pyrac]
<shevy> olivier_bK and people rarely use File.foreach directly really. can't you just read it into an array first, theng rep on that? and assemble the values before
<shevy> "#{@paramfile[1]}#{@url_instance}.php" is just awful
<shevy> olivier_bK, you can use http://rubular.com/ to test your regex
<shevy> when testing your regex config\[['"]uid['"]\] against string configuration_uid.php, rubular says "no match"
<pontiki> that's not the comparison, shevy
<pontiki> configuration_uid.php is the filename
<olivier_bK> shevy, but with my ruby is match
<pontiki> it's the contents that is getting grepped
drago777 has joined #ruby
<olivier_bK> yes
<olivier_bK> yes
<shevy> actually it's interesting that he did not ask a simple question :)
Guest92813 has joined #ruby
<shevy> so what he tries to do is to match a regex against an array basically?
<pontiki> i don't see anything wrong with the construction of the file name, either
<pontiki> foreach returns an enum delivering each line of the file
<shevy> well olivier_bK why dont you first read in the dataset into an array, and then apply the .grep on that? it's much easier to understand what is going on if you can break up the stuff
TomRone has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 272 seconds]
Guest92813 has quit [Changing host]
Guest92813 has joined #ruby
Guest92813 is now known as diegoviola
<shevy> all those object.foo.bar.bla.ble chains make it harder to know where the error lies
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
deol has joined #ruby
apeiros has joined #ruby
OdNairy has quit [Client Quit]
<olivier_bK> shevy, i dont remember but i know i hvae try that before
TomRone has joined #ruby
<shevy> :P
vlad_starkov has joined #ruby
<shevy> foster63 you could always build a new array be using .reject {|entry| entry.size < 2 }
jenskarlsen has quit [Quit: jenskarlsen]
vlad_starkov has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 248 seconds]
deol has quit [Ping timeout: 245 seconds]
drago777 has quit [Ping timeout: 240 seconds]
nari has joined #ruby
lewix has joined #ruby
nari has quit [Read error: Connection reset by peer]
drago777 has joined #ruby
primenum has joined #ruby
larissa has quit [Quit: Leaving]
RaCx has joined #ruby
<pontiki> foster63: maybe: data.inject(0){|m,o| m = o.size if (o.size > m && o.size > 2); m}
<pontiki> data is your array of arrays
nari has joined #ruby
<foster63> Ok thanks pontiki and shevy. I'll have a look at those
<foster63> At the moment I'm using map, select and index. Which seems a bit long-winded
<foster63> Oh, and sort and first
St_Marx has quit [Quit: Ex-Chat]
<apeiros> inject with `; m` at the end -> meep, fail :-p
<foster63> here's an example: given the array [[0], [], [1,2,3], [4,5]] I want to return 3
blarghmatey_ has quit [Ping timeout: 260 seconds]
asteve has joined #ruby
<apeiros> foster63: you want the length of the longest array?
<apeiros> ary.max_by(&:size).size
lyanchih has quit [Quit: lyanchih]
<foster63> Hi apeiros. I want the index of the longest array, but ignore arrays of length 0 or 1
<apeiros> oh
xiphias has quit [Ping timeout: 240 seconds]
_maes_ has joined #ruby
St_Marx has joined #ruby
<foster63> So I'm doing map, to get the lengths, then select to get lengths >= 2, then sort then first to get the longest >= 2
xiphias has joined #ruby
<foster63> But then I'mdoing an index using length to get the actual index, whcih weems wrong
<apeiros> max_size = ary.max_by(&:size).size; ary.find_index { |a| a.size == max_size }
<apeiros> max_size = ary.max_by(&:size).size; max_size > 2 ? ary.find_index { |a| a.size == max_size } : nil
platzhirsch has joined #ruby
banghouse has joined #ruby
banghouse is now known as Guest26498
Pyro24 has joined #ruby
terrellt has joined #ruby
Neomex has joined #ruby
<foster63> Could I ask another question apeiros? What's is that &:size syntax called?
ambushsabre has quit [Quit: rip]
<apeiros> not aware of it having a name
<apeiros> it uses symbol-to-proc
Neomex has quit [Client Quit]
<apeiros> (Symbol#to_proc)
<apeiros> so might as well call it as that.
carlsednaoui has joined #ruby
shiyas has quit [Quit: shiyas]
<foster63> So it's just a shortcut for { |i| i.size } ??
mojjojo has joined #ruby
Steven_ has joined #ruby
<terrellt> Tot's McGoats.
Hanmac has joined #ruby
Guest26498 has quit [Ping timeout: 260 seconds]
arietis has joined #ruby
randomnick_ has quit [Ping timeout: 272 seconds]
<apeiros> foster63: correct
shiyas has joined #ruby
r0bby_ has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
Hanmac1 has quit [Ping timeout: 264 seconds]
shiyas has left #ruby [#ruby]
<apeiros> technically for { |i, *args| i.size(*args) }, but since max_by only yields `i`, yours is correct for this case (and I think *args is rarely ever used with &:foo)
vikhyat has quit [Remote host closed the connection]
<foster63> Ok, thanks apeiros
<foster63> I like your solution using "max_by" I'm going to try that :-)
<foster63> Tha's
<foster63> not an Array method I'm familiar with
lukec has joined #ruby
synergy has joined #ruby
colonolGron has quit [Ping timeout: 272 seconds]
bnjamin has quit [Remote host closed the connection]
<terrellt> Enumerable method, and I didn't know about it either. Cool sauce.
freerobby has joined #ruby
htmiguel has joined #ruby
terrellt has quit [Read error: Connection timed out]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has joined #ruby
<apeiros> Enumerable is a module I strongly recommend to learn all methods by heart :)
<apeiros> it's invaluable
crlz has joined #ruby
tvw has joined #ruby
mikepack has joined #ruby
<foster63> Ok thanks again, I'm going through these, but I'm pretty new to this ;-)
carlsednaoui has quit [Ping timeout: 272 seconds]
<Hanmac> apeiros: looks loke you got your nick back ;P can you change the channel topic?
<crlz> Hello, I'm building a fb crawler for research study. does anybody of you know a lib/gem that does the same? I wouldn't want to write code that someone else wrote and probably better :)
<apeiros> ah, odd, that it lets me keep that nick
<apeiros> I'm still not identified with nickserv
<Hanmac> huch
havenwood has joined #ruby
<apeiros> I hope to get my laptop back this week, latest next week.
<foster63> *googles for ruby Enumerable*
<apeiros> foster63: don't use google
<apeiros> use `ri` (command line tool), rdoc.info or ruby-doc.org
<Hanmac> foster63 a sample where a block makes sense is this: Dir["*"].max_by(&File.method(:size)) #> returns the path of the biggest file
vlad_starkov has joined #ruby
<apeiros> make sure you use the docs matching your ruby version
thiago__ is now known as thiagofm
<apeiros> (ri automatically does that)
<foster63> Ok, I'm on Ubuntu and I have version 1.8.7. Should i upgrade?
<apeiros> absofuckelutely!
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
<apeiros> 1.8.7 is EOL, dead. long gone.
<apeiros> there have now been 3 major releases already
<apeiros> (1.9, 2.0 and 2.1)
<crlz> anyone????
<apeiros> crlz: anyone what?
<foster63> So should I go for 2.1?
<crlz> Hello, I'm building a fb crawler for research study. does anybody of you know a lib/gem that does the same? I wouldn't want to write code that someone else wrote and probably better
<apeiros> foster63: if you don't have dependencies which require an older version? totally.
<Hanmac> we are pro developer, we do not care about fakebook
RaCx has quit [Quit: Computer has gone to sleep.]
<apeiros> crlz: ruby-toolbox.com
LadyRainicorn has joined #ruby
<apeiros> crlz: if there's nothing facebook specific, search for crawling in general.
<apeiros> should yield things like mechanize, httparty etc.
<crlz> thx
randomnick_ has joined #ruby
phansch has joined #ruby
shedd has joined #ruby
cow_ has joined #ruby
<foster63> ... and if I do "ri Enumerable" I get "Nothing known"
kaldrenon has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
contradictioned has joined #ruby
zipper has joined #ruby
LadyRainicorn has quit [Client Quit]
rippa has joined #ruby
MattStratton has joined #ruby
<foster63> *attempting to upgrade using RVM*
cow_ has quit [Ping timeout: 246 seconds]
ambushsabre has joined #ruby
comjf_ has left #ruby [#ruby]
nomenkun has quit [Ping timeout: 272 seconds]
LadyRainicorn has joined #ruby
CptJeanLucPicard has joined #ruby
ArchBeOS-work has quit [Read error: Connection reset by peer]
drago777 has quit [Ping timeout: 240 seconds]
CptJeanLucPicard has quit [Read error: Connection reset by peer]
CptJeanLucPicard has joined #ruby
CptJeanLucPicard has joined #ruby
CptJeanLucPicard has quit [Changing host]
<shevy> apeiros is your laptop repared?
<shevy> *repaired
CptJeanLucPicard is now known as ArchBeOS-work
gasbakid_ has quit [Ping timeout: 252 seconds]
<apeiros> shevy: no :(
<apeiros> foster63: if you use rvm, `rvm docs generate` to get ri docs.
<apeiros> rvm doesn't build them by default (IMO sadly, but I guess too many users complained about the time it takes)
randomnick_ has quit [Ping timeout: 245 seconds]
r0bby_ has joined #ruby
ehc has joined #ruby
<foster63> apeiros: Ok, I'm compiling 2.1 at the mo ...
gasbakid_ has joined #ruby
<apeiros> nice :)
thumpba has joined #ruby
randomnick_ has joined #ruby
drago777 has joined #ruby
brtdv has joined #ruby
asteve has joined #ruby
crlz has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
OdNairy has joined #ruby
browndawg has quit [Quit: Leaving.]
gasbakid__ has joined #ruby
mordocai has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
gasbakid_ has quit [Ping timeout: 245 seconds]
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
contradictioned has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
iamjarvo_ has joined #ruby
Parker0 has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
ozkan has quit [Quit: Leaving...]
bean has quit [Ping timeout: 252 seconds]
blarghmatey has joined #ruby
iamjarvo_ has joined #ruby
mordocai has joined #ruby
ferretwithaspork has joined #ruby
ambushsabre has quit [Quit: rip]
bashdy has joined #ruby
etel has quit [Quit: This computer has gone to sleep]
TomRone has quit [Ping timeout: 240 seconds]
IcyDragon has joined #ruby
r0bby_ has quit [Ping timeout: 252 seconds]
<ferretwithaspork> I'm getting NoMethodError for zone_offset on a Time object in ruby 2.0.0p353. I do have require 'time' at the top..
bean has joined #ruby
IceDragon has quit [Ping timeout: 248 seconds]
<apeiros> ferretwithaspork: I'm not aware that ruby has a Time#zone_offset method
<apeiros> are you sure that's not a rails thing?
sailias has joined #ruby
vikhyat has joined #ruby
blarghmatey has quit [Ping timeout: 245 seconds]
TomRone has joined #ruby
<ferretwithaspork> apeiros: Any idea how else I could change the offset of a Time object? I'm not in Rails
arietis has quit [Quit: Computer has gone to sleep.]
<apeiros> I see. it's a class method.
<apeiros> you can't use it on a Time instance.
<ferretwithaspork> Ahh I see
bashdy has quit [Ping timeout: 240 seconds]
IcyDragon is now known as IceDragon
ambushsabre has joined #ruby
bashdy has joined #ruby
bean has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
SergeyPenkin has quit [Ping timeout: 264 seconds]
<ferretwithaspork> I've got a string with a date/time in zulu time. I'm parsing it with Time.strptime.. how can I change the timezone of the Time object after it parses the string?
ozgun has quit [Quit: Leaving]
kaldrenon has quit [Remote host closed the connection]
ozkan has joined #ruby
bean has joined #ruby
vinian has left #ruby [#ruby]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DouweM has quit [Quit: Leaving...]
<havenwood> apeiros: Topic could use a bump! :D
flame_ has joined #ruby
<havenwood> apeiros: Got your laptop working it looks like? :)
ozkan has quit [Ping timeout: 252 seconds]
mjburgess has quit []
Parker0 has quit [Ping timeout: 240 seconds]
<apeiros> havenwood: nope. just nickserv being lenient
<apeiros> not sure I find that good tbh :-/
flame_ has quit [Client Quit]
colonolGron has joined #ruby
flame_ has joined #ruby
mjburgess has joined #ruby
Guest12088 is now known as denysonique
gasbakid__ has quit [Quit: Quitte]
banister has quit [Ping timeout: 264 seconds]
gasbakid has joined #ruby
zipper has quit [Ping timeout: 246 seconds]
carlsednaoui has joined #ruby
MattStra_ has joined #ruby
r0bby_ has joined #ruby
Hanmac1 has joined #ruby
freezey has joined #ruby
kaldrenon has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
primenum has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
MattStratton has quit [Ping timeout: 246 seconds]
crapple has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
carlsednaoui has quit [Ping timeout: 240 seconds]
iamjarvo_ has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
Hanmac1 has quit [Ping timeout: 246 seconds]
htmiguel has quit [Quit: htmiguel]
kewubenduben has joined #ruby
deol has joined #ruby
petey has joined #ruby
havenwood has joined #ruby
crapple has joined #ruby
carif has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
colonolGron has quit [Ping timeout: 245 seconds]
flubba has joined #ruby
ozkan has joined #ruby
iamjarvo has joined #ruby
RaCx has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
zipper has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
bashdy has quit [Ping timeout: 246 seconds]
estebistec has quit [Remote host closed the connection]
arietis has joined #ruby
bnjamin has joined #ruby
bashdy has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
ozkan has quit [Ping timeout: 260 seconds]
zigomir has joined #ruby
Azure has joined #ruby
ambushsabre has quit [Ping timeout: 240 seconds]
Yan__ has joined #ruby
ambushsabre has joined #ruby
TomRone has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ferretwithaspork has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bnjamin has quit [Ping timeout: 246 seconds]
zigomir has quit [Ping timeout: 245 seconds]
shedd has quit [Remote host closed the connection]
tvw has quit []
tonni has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Remote host closed the connection]
tonni has joined #ruby
iamjarvo has joined #ruby
freezey has quit [Remote host closed the connection]
grep_away is now known as grep_awesome
capicue has joined #ruby
b00stfr3ak has joined #ruby
nari has quit [Ping timeout: 246 seconds]
fire has quit [Quit: WeeChat 0.4.1]
DrShoggoth has quit [Read error: Connection reset by peer]
Azure has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bnjamin has joined #ruby
juarlex has joined #ruby
tharindu has quit [Quit: Leaving...]
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Ping timeout: 260 seconds]
capicue has quit [Client Quit]
olivier_bK has quit [Ping timeout: 240 seconds]
flame_ has joined #ruby
byprdct has joined #ruby
io_syl has joined #ruby
capicue has joined #ruby
lewix has quit [Remote host closed the connection]
zeropx has joined #ruby
mary5030 has quit [Remote host closed the connection]
bricker`LA has joined #ruby
RoryHughes has quit []
colonolGron has joined #ruby
Neomex has joined #ruby
ss_ has quit [Remote host closed the connection]
soobus has joined #ruby
shredding has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
Hanmac has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
sharms has joined #ruby
zipper has quit [Ping timeout: 252 seconds]
Megtastique has joined #ruby
colonolGron has quit [Ping timeout: 240 seconds]
Neomex has quit [Quit: Neomex]
freezey has joined #ruby
carraroj has joined #ruby
colonolGron has joined #ruby
juarlex has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
lupine_85 has joined #ruby
lupine has quit [Excess Flood]
Hanmac has quit [Ping timeout: 252 seconds]
lupine_85 is now known as lupine
Bofu2U has quit [Write error: Connection reset by peer]
ggnmkk is now known as rien
shime has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
Yan__ has quit [Ping timeout: 252 seconds]
Bumptious has quit [Ping timeout: 240 seconds]
sharms has joined #ruby
flubba has quit [Remote host closed the connection]
polaco_zZz is now known as polaco
Bumptious has joined #ruby
juarlex has joined #ruby
petey has quit [Remote host closed the connection]
<shevy> yeah
shime has quit [Read error: Connection reset by peer]
platzhirsch has left #ruby [#ruby]
<shevy> nobody liked the apeiros_unid imposter anyway
petey has joined #ruby
Hanmac has joined #ruby
<apeiros> shevy: I dislike that somebody can use my nick without registering even more…
byprdct has quit [Ping timeout: 246 seconds]
<LadyRainicorn> apeiros: You can change that in NickServ.
<apeiros> I will do once I get authenticated again
<apeiros> got the command at hand?
capicue has quit [Quit: Leaving...]
Elhu has quit [Quit: Computer has gone to sleep.]
<LadyRainicorn> set enforce on
<shevy> ponicorns knows all pony commands
petey_ has joined #ruby
shredding has joined #ruby
petey has quit [Read error: Connection reset by peer]
<apeiros> LadyRainicorn: thanks
<LadyRainicorn> I do
<LadyRainicorn> /msg PonyServ SET IMMORTALITY ON
<LadyRainicorn> ^ only 3 per day can do this.
<LadyRainicorn> You should set it now.
<shevy> lol
<shevy> <3 PonyServ
<apeiros> /msg PonyServ SET IMMORALITY ON
CaptainJet has joined #ruby
<shevy> and SET RAINBOWS ON
<shevy> is there a way to enable colour support in 'test/unit' ?
<shevy> like so that "Failure:" gets red colour
<LadyRainicorn> test/unit is pretty minimalistic.
<LadyRainicorn> It's like 100 lines or something
bahar has quit [Changing host]
bahar has joined #ruby
<bahar> hey guys
havenwood has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
<bahar> i'm trying to figure out how to make my code go like: 1*2, 1*3, 1*4, 1*5, 2*3, 2*4, 2*5, 3*4, 3*5, 4*5... and so on
havenwood has joined #ruby
juarlex has joined #ruby
tharindu has joined #ruby
<LadyRainicorn> I am not sure how that expands.
<LadyRainicorn> Can you write that in a closed form?
<bahar> right now i have (1..5).map do |n|; (n+1..5).map do |m| and it just goes 1*2, 1*3, 1*4, 1*5 then stops... it doesn't do another loop of n+1
psyprus_ has quit [Ping timeout: 240 seconds]
obs has quit [Quit: Saliendo]
bnjamin has quit [Remote host closed the connection]
<bahar> closed form?
<LadyRainicorn> ohh, I get it
psyprus has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
RaCx has joined #ruby
RoryHughes has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
colonolGron has quit [Ping timeout: 252 seconds]
<LadyRainicorn> def f() x=0; 5.times{|y| yield(x*(y+1))} while x+=1; end
gasbakid_ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
juarlex has quit [Ping timeout: 272 seconds]
gasbakid has quit [Ping timeout: 246 seconds]
noop has joined #ruby
mrmist has joined #ruby
mrsolo has joined #ruby
ss_ has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
<LadyRainicorn> oh ^ @bahar
<bahar> thanks!
<bahar> trying to figure out how to fold that in
ambushsabre has quit [Quit: rip]
psyprus has joined #ruby
<Hanmac> LadyRainicorn: are you sure while is a good idea? i mean it never returns false?
<LadyRainicorn> It's supposed to be an infinite series, right?
<apeiros> well, the inner loop is already infinite :)
mrmist is now known as mist
zipper has joined #ruby
<LadyRainicorn> outer loop
Steven_ has quit [Remote host closed the connection]
kaldrenon has quit [Remote host closed the connection]
etel has joined #ruby
<LadyRainicorn> bahar: I am curious why you would want that.
<LadyRainicorn> What is it supposed to be doing?
<bahar> i'll show you what i'm trying to do... i fixed it a little
petey_ has quit [Remote host closed the connection]
snath has joined #ruby
<Hanmac> bahar: what about this?
<Hanmac> >> (1..5).to_a.combination(2).to_a
<eval-in> Hanmac => [[1, 2], [1, 3], [1, 4], [1, 5], [2, 3], [2, 4], [2, 5], [3, 4], [3, 5], [4, 5]] (https://eval.in/83193)
petey has joined #ruby
<bahar> this is actually for Euler #9
cashnguns has joined #ruby
iamjarvo has joined #ruby
Tearan has joined #ruby
<LadyRainicorn> >> 1.upto('inf'.to_f).take(5)
<eval-in> LadyRainicorn => [] (https://eval.in/83194)
<LadyRainicorn> hmmm
<bahar> that's the solution i got ... and it returns the right result - 200, 375, 425
<LadyRainicorn> >> Float::INFINITY
<eval-in> LadyRainicorn => Infinity (https://eval.in/83195)
ss_ has quit [Ping timeout: 272 seconds]
<LadyRainicorn> >> 1.upto(Float::INFINITY).take(5)
<eval-in> LadyRainicorn => [1, 2, 3, 4, 5] (https://eval.in/83196)
<LadyRainicorn> oh hey that works
heidi has joined #ruby
maximumgeek has joined #ruby
zigomir has joined #ruby
petey has quit [Ping timeout: 246 seconds]
aspires has joined #ruby
<bahar> yeah, what do you think of my solution?
<bahar> most ruby examples i've seen for euler #9 online take an entirely different path
Astralum has joined #ruby
flubba has joined #ruby
amundj has joined #ruby
zigomir has quit [Ping timeout: 245 seconds]
<shevy> the ponicorns have a lot of wisdom
Guest27856 has joined #ruby
Speed has joined #ruby
sandeepk has joined #ruby
<LadyRainicorn> We do.
Guest49989 has quit [Remote host closed the connection]
Quintus_q has joined #ruby
diegoviola has quit [Ping timeout: 252 seconds]
xcess_denied has joined #ruby
netQT has joined #ruby
xcess_denied has left #ruby [#ruby]
xcess_denied has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
Guest27856 has quit [Changing host]
Guest27856 has joined #ruby
Astralum has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RaCx has quit [Quit: Computer has gone to sleep.]
Guest27856 is now known as diegoviola
Quintus_q has quit [Client Quit]
nanoyak has quit [Quit: Computer has gone to sleep.]
<bahar> i like hanmac's suggestion too, and ladyrainicorn's also. trying to figure out how to fold those in and if they would improve the performance of the code
RaCx has joined #ruby
amundj has quit [Ping timeout: 272 seconds]
banghouse has joined #ruby
banghouse is now known as Guest34659
joaoh82 has quit [Remote host closed the connection]
<LadyRainicorn> My suggestion was for an infinte generator. I don't think it applies.
Guest80439 has joined #ruby
colonolGron has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
habanany has quit [Ping timeout: 241 seconds]
<terrellt> So, I'm giving an 80 minute lecture on getting started with web apps and ruby. Any good starting points to go from? Probably going to use Sinatra so the windows folks can run the same commands, if I type "rails new" I'm pretty sure the whole experience is going to fall apart.
ambushsabre has joined #ruby
jamesaanderson has joined #ruby
<LadyRainicorn> Solution 1: Tell people running servers on windows to fuck off.
jamesaanderson has quit [Max SendQ exceeded]
<bahar> what i have runs in .15 millisecond. another solution i found here: http://zacharydenton.com/project-euler-solutions/9/ takes 4,292 milliseconds.
<LadyRainicorn> Solution 2: Get a bottle of hard liquor. consume it.
havenwood has joined #ruby
freezey has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
netQT has quit [Read error: Connection reset by peer]
kostine has quit []
jamesaanderson has quit [Max SendQ exceeded]
<terrellt> LadyRainicorn: These are University students, they're learning the basics in an undergraduate course. I wouldn't expect them to professionally run servers in windows, but their personal laptop likely has it.
bnjamin has joined #ruby
kostine has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
kostine is now known as Woland
<gordon__> terrellt: I dont see the problem ?
Woland is now known as Wolland
<terrellt> There...isn't a problem? Just wondering if anyone had a suggestion for a starting point.
<LadyRainicorn> Ah. Well, I mean web apps is a pretty big territory.
xiphias has quit [Ping timeout: 240 seconds]
<LadyRainicorn> What do you want to talk about specifically?
<pontiki> terrellt: you should be able to run through the getting started in under an hour, then q&a
devdazed has joined #ruby
<LadyRainicorn> Just like explain Sinatra?
g0bl1n has joined #ruby
sharms has joined #ruby
<LadyRainicorn> Do they know front end stuff already?
<pontiki> are these students completely new to ruby, or just web apps?
xiphias has joined #ruby
<terrellt> Yes, I can set one up from scratch and wing it, but I haven't done it before. My question is, has somebody heard of an openly available lesson that's been given similar to it.
<terrellt> pontiki: Both.
<pontiki> ah
arubin has joined #ruby
rickruby has quit [Remote host closed the connection]
Guest80439 has quit [Remote host closed the connection]
<gordon__> terrellt: my friend was doing presentation in 90 minutes
<gordon__> with rails and ruby
havenwood has quit [Ping timeout: 272 seconds]
<pontiki> is this just one part of a series?
<gordon__> everyone should get ruby fast
<gordon__> it's not complicated language
<terrellt> pontiki: It's the only ruby lesson in a web development course.
<gordon__> it just looks funny
freezey has joined #ruby
ziprar has quit [Quit: Leaving]
<gordon__> terrellt: show them rails with scaffolding
Wolland has quit [Client Quit]
<gordon__> without tests
<gordon__> or maybe some tests ;)
RaCx has quit [Quit: Computer has gone to sleep.]
<gordon__> with two tables
<gordon__> and done
Wolland has joined #ruby
bnjamin has quit [Ping timeout: 272 seconds]
jamesaxl has joined #ruby
Wolland has quit [Client Quit]
<Jamo> if you have time, do some tests too
Tearan has quit [Quit: Sleepy Badger....]
<Jamo> /show
<terrellt> gordon__: They're programmers, I don't think they'll get anything out of that. I can't reliably have them follow along with rails in 80 minutes - somebody's going to have system dependencies to deal with.
Wolland has joined #ruby
<pontiki> terrellt: i think you'll be okay with sinatra
<pontiki> just going through the basic routing and response stuff
<gordon__> terrellt: if you say so
RaCx has joined #ruby
<gordon__> I dont think you can get anything from just one 80 minute talk
<pontiki> you can't in depth. but it doesn't sound like that's the intention either; sounds like just a survey course
<terrellt> I think my current thought is Sinatra, a couple basic routing things, ruby syntax interspersed in it, ERB, and close with what Rails is if they want to go further.
<gordon__> you can just encourage them to try more at home
<Jamo> but really most of the fuss about ruby is because of rails. so Id prefer to get a ruby/rails lecture rather than ruby/sinatra lecture....
RaCx_ has joined #ruby
<terrellt> The alternative is I could do rails and cross my fingers. Open up with ruby syntax, rails new, and do some routing and database operations to a sqlite database.
Elhu has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
<terrellt> Probably less substance because of all the magic, but it's a flashier show.
xiphias has quit [Ping timeout: 240 seconds]
<pontiki> so i've never installed a ruby/rails dev environment on windows
<pontiki> i just know ppl come in with problems
<terrellt> I think I've used RailsInstaller without any trouble before.
<pontiki> altho it sounds like it should be easy with RubyInstaller and DevKit
xiphias has joined #ruby
gja has joined #ruby
<terrellt> DevKit's what makes me nervous.
drumusician has joined #ruby
<terrellt> You have to set a path variable for that, and that's just asking to eat 20 minutes.
<pontiki> is it?
<ericwood> path variables are easy
RaCx has quit [Ping timeout: 246 seconds]
RaCx_ is now known as RaCx
<ericwood> set PATH=$PATH:new/path/variable
<ericwood> or export or whatever
<pontiki> is that windows?
<ericwood> nope
<ericwood> idk anything about windows
<pontiki> that's the context
<ericwood> ah okay well I have nothing to contribute in that case
<pontiki> idk anything about windows either
<terrellt> You can do something similar.
mojjojo has quit [Quit: mojjojo]
<terrellt> There's a command line command, but there's going to be people who can't follow along.
<terrellt> I think this only works if the rails gem, by default, doesn't require devkit.
Azure has joined #ruby
<pontiki> have you run through it on windows?
<pontiki> i'd say give it a go, run through it, see what pops out?
<pontiki> that may be the sticking point?
<terrellt> I'll have to get a clean box, but I'll definitely do that.
<pontiki> VM?
decoponio has quit [Quit: Leaving...]
<pontiki> i mean for you, not for them
g0bl1n has quit [Ping timeout: 252 seconds]
<terrellt> Not that a vagrant box for them is a terrible thought.
<pontiki> it's a whole other concept
<pontiki> with its own hazzards of misunderstanding, etc
<terrellt> True.
flame_ has quit [Quit: Computer has gone to sleep.]
<pontiki> idk
<pontiki> i am probably just muddying things up
<pontiki> i'm worthless teaching deep tech stuff to windows users
vikhyat_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
vikhyat has quit [Ping timeout: 260 seconds]
xiphias has quit [Ping timeout: 240 seconds]
eval-in has quit [Read error: Operation timed out]
eval-in has joined #ruby
soobus has quit [Ping timeout: 252 seconds]
xiphias has joined #ruby
flame_ has joined #ruby
gigetoo has quit [Remote host closed the connection]
TomRone has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
gja has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
sassamo has joined #ruby
xiphias has joined #ruby
TomRone has joined #ruby
breakingthings has quit []
havenwood has joined #ruby
colonolGron has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
soheil has joined #ruby
shredding has quit [Quit: shredding]
<shevy> what do you guys use to add --help options and such to commandline .rb scripts?
etel has quit [Quit: This computer has gone to sleep]
<Jamo> yep
<Jamo> especially when someone else is going to use my scripts
tharindu has quit [Quit: Leaving...]
bricker`LA has quit [Read error: Connection reset by peer]
bricker`1A has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
clamstar_ has joined #ruby
axl_ has joined #ruby
<terrellt> shevy: I work with a guy who uses docopt.
<pskosinski> I use ifs
<pskosinski> and == and include? sometimes too :p
S0da has joined #ruby
breakingthings has joined #ruby
TomRone has joined #ruby
tharindu has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
Hanmac has joined #ruby
tharindu has quit [Client Quit]
blarghmatey_ has joined #ruby
mzdravkov has left #ruby [#ruby]
TomRone has quit [Ping timeout: 240 seconds]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
guilund has joined #ruby
<guilund> hey guys!
havenwood has quit [Ping timeout: 252 seconds]
ozkan has joined #ruby
Guest34659 is now known as banghouse
lukec has joined #ruby
p8952 has joined #ruby
TomRone has joined #ruby
<guilund> i have an array of dates, how can i check if its the last date in the year? for example ['2012-01-01', '2012-02-01', '2013-01-01', '2013-02-01'], when i iterate the array, how can i check if its the last date in the yer?
blarghmatey_ has quit [Ping timeout: 260 seconds]
<guilund> someone knows how to check it?
gigetoo has quit [Ping timeout: 246 seconds]
<shevy> terrellt docopt? hmm
<shevy> pskosinski yeah... I could do manual parsing as well
<shevy> I hate optparse so much
<LadyRainicorn> haha yes ;-;
flame_ has quit [Quit: Computer has gone to sleep.]
etel has joined #ruby
ozkan has quit [Ping timeout: 246 seconds]
<LadyRainicorn> You'll have to keep a reference to the year and compare the dates.
<LadyRainicorn> Use a hash
drumusician has quit [Ping timeout: 260 seconds]
<pskosinski> ['2012-01-01', '2012-02-01', '2013-01-01', '2013-02-01'].sort.last
<pskosinski> If dates are in exactly this format…
<LadyRainicorn> I think he wants to get the last date from every year
<guilund> pskosinski: i want to get the last for each year
<pskosinski> oh
Elhu has quit [Quit: Computer has gone to sleep.]
zigomir has joined #ruby
bean has joined #ruby
<guilund> i think if i group by year, and map the last of each year, and flatten, i get an array
<guilund> so i can compare
<guilund> but how can i group by year?
<terrellt> You make Date objects.
RaCx has quit [Quit: Computer has gone to sleep.]
drumusician has joined #ruby
petey has joined #ruby
gja has joined #ruby
<guilund> terrellt: do you have an example?
leandroico has joined #ruby
leandroico_ has joined #ruby
carraroj has joined #ruby
<guilund> my problem is how can i group this :/
Mars` has joined #ruby
DouweM has joined #ruby
lukec has quit [Quit: lukec]
leandroico_ has quit [Client Quit]
carraroj has quit [Client Quit]
<matled> guilund: dates.group_by { |str| str[0,4] }.map { |k,v| v.sort.last }
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<matled> should give you the last date for each year
<terrellt> >> require 'date'; ['2012-01-01', '2012-02-01', '2013-01-01', '2013-02-01'].map{|x| Date.parse(x)}.group_by{|y| y.year}.map{|key, values| values.sort.last.to_s}
<eval-in> terrellt => ["2012-02-01", "2013-02-01"] (https://eval.in/83210)
<guilund> hmmmm
<guilund> Date.parse its new to me
DrShoggoth has joined #ruby
gyre007 has joined #ruby
<guilund> when i parse the date, i can get the .year is it right?
<terrellt> Yes, you get date objects, which respond to #year.
<gyre007> guys i have a lame question...anyone has any example on how can I list all PG databases using pg gem ?
<guilund> very nice, thanks
lewix has joined #ruby
<shevy> guys hurry up
<shevy> soon 2013 will be over
<shevy> we can't have been known to be lazy hackers now
<Hanmac> terrellt & guilund: ".sort.last" can be replaced by ".max"
<terrellt> Hanmac++ # Truth.
pen has joined #ruby
psyl0n has quit [Remote host closed the connection]
<pen> hi
joaoh82 has joined #ruby
shredding has joined #ruby
<LadyRainicorn> hi
clamstar_ has quit [Quit: Computer has gone to sleep.]
pskosinski has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
Duckily has joined #ruby
banister has joined #ruby
gigetoo has joined #ruby
pskosinski has joined #ruby
aspires has quit []
deol has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
joaoh82 has quit [Ping timeout: 246 seconds]
drumusician has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
bnjamin has joined #ruby
peregrine81 has quit []
robonerd has quit [Ping timeout: 272 seconds]
heidi has quit [Quit: Leaving.]
cashnguns has quit [Quit: AndroIRC - my Android died]
eka has joined #ruby
Iszak has joined #ruby
aspires has quit [Client Quit]
mojjojo has joined #ruby
thumpba has quit [Remote host closed the connection]
aspires has joined #ruby
RaCx has joined #ruby
bnjamin has quit [Ping timeout: 272 seconds]
thumpba has joined #ruby
iamjarvo has quit [Remote host closed the connection]
colonolGron has joined #ruby
iamjarvo has joined #ruby
robonerd has joined #ruby
iamjarvo_ has joined #ruby
freerobby has quit [Quit: Leaving.]
felixjet has joined #ruby
thumpba has quit [Remote host closed the connection]
gasbakid_ has quit [Ping timeout: 246 seconds]
thumpba has joined #ruby
shredding has quit [Quit: shredding]
drumusician has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
TomRone has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby
<shevy> ho
gja has quit [Quit: This computer has gone to sleep]
Elhu has joined #ruby
mojjojo has quit [Quit: mojjojo]
TomRone has joined #ruby
asteve has joined #ruby
mojjojo has joined #ruby
zipper is now known as black_jesus
xcess_denied has quit [Quit: Linkinus - http://linkinus.com]
shredding has joined #ruby
axl_ has quit [Quit: axl_]
Dreamer3 has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
mgberlin has joined #ruby
Mars` has quit [Remote host closed the connection]
nanoyak has joined #ruby
deol has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
shredding has quit [Client Quit]
gja has quit [Client Quit]
pen has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Quit: WeeChat 0.4.2]
drago777 has joined #ruby
randomnick_ has quit [Ping timeout: 260 seconds]
pen has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<robonerd> so ruby is dead?
<LadyRainicorn> Yes.
bricker`1A is now known as bricker
<LadyRainicorn> However.
<robonerd> ah, meme/trend stuff like unicorns present in nicks in community, that's a huge red flag there
<LadyRainicorn> There is an afterparty.
<robonerd> just like ponie shit in the php scene
drumusician has quit [Read error: Connection reset by peer]
<LadyRainicorn> uhm what?
<robonerd> meh
<LadyRainicorn> I am a fuckig cartoon character.
<LadyRainicorn> Not My Little Pony.
<robonerd> i think what killed ruby was the massive delay getting to the '2.0'
drumusician has joined #ruby
Steven_ has joined #ruby
<LadyRainicorn> Err, what?
<robonerd> yea, and the 'corn' is from unicorn
<LadyRainicorn> I am a rainicorn.
<robonerd> because i KNOW you're not talking about a nob of corn
<txdv> who pronounced the death of ruby?
<LadyRainicorn> It is different.
<DouweM> why do you think ruby is dead
<LadyRainicorn> God.
<robonerd> because <LadyRainicorn> I am a rainicorn. <- of this
<robonerd> you have pop noise in your community
<LadyRainicorn> rainicorn != unicorn
<DouweM> please take your trolling elsewhere
<guilund> LadyRainicorn: its from that crazy cartoon, right? adventure time? my nephew loves it
<robonerd> was on my way out actually
<DouweM> yeah, adventure time
<LadyRainicorn> Yes ;3
<robonerd> i'm sorry this has happened to ruby, it had promise
robonerd has left #ruby ["..."]
gasbakid_ has joined #ruby
<DouweM> :')
* LadyRainicorn plays Lady Gaga
<LadyRainicorn> Yeah pop!
<Iszak> 2.0 was quick compared to 1.9
<slash_nick> <--- IRC is dead
<LadyRainicorn> True.
<prophile> long live IRC
<Iszak> can confirm, irc is dead.
<DouweM> Hah
<LadyRainicorn> Maybe we are all dead and this whole thing is a funeral.
maximumgeek has quit [Ping timeout: 272 seconds]
<slash_nick> thanks for coming...
sandeepk has quit [Ping timeout: 245 seconds]
* Iszak shrugs
<LadyRainicorn> Maybe there was a second mushroom war?!!?!?!
cflat has joined #ruby
teoric has joined #ruby
RaCx has joined #ruby
<guilund> theres psychos everywhere..
<guilund> dont forget to take your pills, robonerd
<LadyRainicorn> It is true.
<LadyRainicorn> I recommend cyanide.
<LadyRainicorn> It is very effective.
<guilund> hehehe
<LadyRainicorn> Especially with kimchi.
petey has quit [Remote host closed the connection]
<gordon__> lol
Steven_ has quit [Ping timeout: 272 seconds]
teoric has quit [Client Quit]
petey has joined #ruby
Mars` has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<guilund> LadyRainicorn: you are from thailand, right?
kate_r has joined #ruby
noop has quit [Ping timeout: 240 seconds]
<LadyRainicorn> Presently. I was originally from Mt. Paekdu
<guilund> north korean/chinese?
<guilund> i googled it :D
kate_r has quit [Client Quit]
drumusician has quit [Ping timeout: 260 seconds]
petey has quit [Read error: Connection reset by peer]
Landshark753 has quit [Ping timeout: 240 seconds]
petey has joined #ruby
<LadyRainicorn> haha, no, Thai, yeah
ehaliewicz has joined #ruby
<LadyRainicorn> Mt. Paekdu is a joke relating to Kim Jong Il and the mushroom war
<LadyRainicorn> Because Lady Rainicorn is Korean
<LadyRainicorn> And Mt. Paekdu is supposedly magical in North Korean mythology.
heidi has joined #ruby
<LadyRainicorn> And then the Mushroom War made things magical
<guilund> LadyRainicorn: oh, im from latin america, dont know too much of oriental stuff
<LadyRainicorn> Yeah... it makes sense....
bogeyd6 has quit [Quit: Leaving]
aspires has quit []
Landshark753 has joined #ruby
drumusician has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
gasbakid_ has quit [Ping timeout: 246 seconds]
aspires has joined #ruby
dotemacs has quit [Ping timeout: 264 seconds]
Landshark753 has joined #ruby
havenwood has joined #ruby
Jake232 has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
heidi has quit [Ping timeout: 240 seconds]
gasbakid_ has joined #ruby
lewix has quit [Remote host closed the connection]
peregrine81 has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat has joined #ruby
freerobby has joined #ruby
cflat has quit [Ping timeout: 260 seconds]
vikhyat_ has quit [Ping timeout: 252 seconds]
deol has quit [Remote host closed the connection]
Beoran_ has quit [Read error: Operation timed out]
drago777 has quit [Ping timeout: 240 seconds]
deol has joined #ruby
sharms has joined #ruby
DouweM has quit [Quit: Leaving...]
havenwood has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
cflat has joined #ruby
drago777 has joined #ruby
dallasm has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
St_Marx has quit [Ping timeout: 240 seconds]
ozkan has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
deol has quit [Ping timeout: 260 seconds]
dallasm has quit [Remote host closed the connection]
Mars` has quit [Remote host closed the connection]
jerius has joined #ruby
aspires has quit []
gquental has quit [Ping timeout: 248 seconds]
_emptymag00 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Rainicorn has joined #ruby
ozkan has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
LadyRainicorn has quit [Disconnected by services]
Rainicorn is now known as LadyRainicorn
jerius has quit [Client Quit]
dallasm has joined #ruby
brtdv has quit []
Hanmac has joined #ruby
dallasm has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
Megtastique has quit []
Hanmac1 has quit [Ping timeout: 252 seconds]
etel has quit [Quit: This computer has gone to sleep]
Tearan has joined #ruby
phansch has quit [Quit: Leaving]
RaCx has joined #ruby
guilund has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
eka has quit [Ping timeout: 272 seconds]
Beoran_ has joined #ruby
Tearan has quit [Client Quit]
hopkin has joined #ruby
joaoh82 has joined #ruby
axl_ has joined #ruby
Megtastique has joined #ruby
gasbakid_ has quit [Read error: Connection reset by peer]
gquental has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
larissa has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
swistak35 has joined #ruby
black_jesus has quit [Ping timeout: 246 seconds]
drago777 has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
etel has joined #ruby
grep_awesome is now known as grep_away
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tearan_ has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
b00stfr3ak has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
axl_ has quit [Quit: axl_]
Megtastique has quit []
luckyruby has quit [Remote host closed the connection]
Nahra has quit [Ping timeout: 248 seconds]
luckyruby has joined #ruby
cflat has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
iliketur_ has joined #ruby
luckyruby has quit [Remote host closed the connection]
luckyruby has joined #ruby
Rainicorn has joined #ruby
Tearan_ is now known as Tearan
freerobby has quit [Ping timeout: 272 seconds]
<shevy> hmm
LadyRainicorn has quit [Ping timeout: 240 seconds]
Rainicorn is now known as LadyRainicorn
<mojjojo> so how to access google analytics api with ruby?
Tearan_ has joined #ruby
cbetta_afk is now known as cbetta
cj3kim has quit [Remote host closed the connection]
axl_ has joined #ruby
eka has joined #ruby
black_jesus has joined #ruby
<LadyRainicorn> ^ mojjojo
<LadyRainicorn> May be unmaintained.
Nahra has joined #ruby
Nahra has joined #ruby
Nahra has quit [Changing host]
Tearan_ has quit [Client Quit]
dpaulus has left #ruby [#ruby]
<LadyRainicorn> That looks good
jamesaxl_ has joined #ruby
jamesaxl has quit [Ping timeout: 252 seconds]
eka has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
joaoh82 has joined #ruby
Tearan has quit [Disconnected by services]
RaCx has quit [Quit: Computer has gone to sleep.]
petey has quit [Remote host closed the connection]
Tearan has joined #ruby
rickruby has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tearan has quit [Client Quit]
Tearan has joined #ruby
mlpinit has quit [Remote host closed the connection]
phantasm66 has joined #ruby
<mgberlin> hey, i'm looking through the ruby API, and many of the instance methods for array say "if no block is given, an enumerator is returned instead."
kure has joined #ruby
<mgberlin> what's an enumerator?
<LadyRainicorn> Something that responds to each and includes Enumerable
Mars` has joined #ruby
bean has joined #ruby
<havenwood> LadyRainicorn: Well, everything that includes Enumerable responds to #each.
<havenwood> LadyRainicorn: But true! :P
<LadyRainicorn> Really? that is interesting.
kevind__ has joined #ruby
<terrellt> havenwood: No it doesn't. You have to implement #each. o.o
axl_ has quit [Quit: axl_]
<terrellt> It's a requirement for enumerable to do useful stuff, but yeah.
<LadyRainicorn> >> Object.new.extend(Enumerable).to_a
<eval-in> LadyRainicorn => undefined method `each' for #<Object:0x413092ec> (NoMethodError) ... (https://eval.in/83226)
<havenwood> terrellt: Name a thing that includes Enumerable and doesn't respond to #each.
cj3kim has quit [Remote host closed the connection]
<mgberlin> so if I do foo = chicken.map, foo is an enumerable?
<havenwood> terrellt: brokety broke if so
<shevy> In Ruby we can do something like: Signal.trap('SIGINT') which captures ctrl+c. is there a way to also respond to ctrl+s key event?
<LadyRainicorn> havenwood: ^
<havenwood> that is bad code
<terrellt> havenwood: Something I make. Extending enumerable doesn't define #each.
<havenwood> terrellt: You could do so, but I don't see the use case. Is there one?
<LadyRainicorn> No.
<LadyRainicorn> I was just curious what the default behavior of each would be.
<terrellt> havenwood: No, but what you said isn't true. If someone catches that and assumes they get #each for free they're in for a surprise.
<LadyRainicorn> shevy: I believe that would be sent as a keycode depending on your configuration.
<LadyRainicorn> You probably want to look into raw mode.
<shevy> hmm
<shevy> rawr mode sounds nifty
<LadyRainicorn> ctrl+C is special
<terrellt> Oh man
<havenwood> terrellt: I should have said that all the builtins that include Enumerable have #each, as you'd never include Enumerable and not define it.
<LadyRainicorn> It's actually a signal, not a keycode
<terrellt> I want to put ruby into rawr mode.
<shevy> oh well :( I thought I could respond to key-events and automatically run certain methods upon keybinding events
<LadyRainicorn> You can.
<shevy> hmm
<LadyRainicorn> Look into raw mode.
<havenwood> Well you might, I'd never. :P
kevind_ has quit [Ping timeout: 272 seconds]
<LadyRainicorn> I believe requiring readline may help
heidi has joined #ruby
klaut has quit [Remote host closed the connection]
<ericwood> some jerks are removing curses from the ruby stdlib!
<LadyRainicorn> :o
<shevy> ericwood hehehe
<shevy> oh it just striked me... havenwood and ericwood have wood in common
<havenwood> shevy: familial name
<LadyRainicorn> Yay wood!
<havenwood> Holidays have slowed my brain to molasses pace.
petey has joined #ruby
<ericwood> havenwood is my cousin
<havenwood> terrellt: yeah, re-reading i agree with you - i'm off today :P
<havenwood> LadyRainicorn: I recant.
Mars` has quit [Remote host closed the connection]
klaut has joined #ruby
<terrellt> Trying to figure out how to alias puts in one line so I can put ruby into rawr mode.
<havenwood> rawr mode?
cflat has joined #ruby
<terrellt> If I put a semicolon after alias :oldputs :puts, it doesn't work.
<ericwood> rawrrrrr
heidi has quit [Ping timeout: 246 seconds]
<LadyRainicorn> raw mode is for the terminal, not Ruby
<ericwood> I like the name of it a lot
<ericwood> very fierce
<LadyRainicorn> STDIN.raw!
goleldar has joined #ruby
eka has joined #ruby
axl_ has joined #ruby
<ericwood> you have to put the ! to be extra emphatic about it
<LadyRainicorn> You probably want to use raw with a block tbh
<terrellt> >> alias :oldputs :puts; def puts(str); oldputs("Rawr!"); end; puts "Hi!";
<eval-in> terrellt => Rawr! ... (https://eval.in/83232)
<LadyRainicorn> But raw! is more fun to write.
<terrellt> ^ Rawr mode
<LadyRainicorn> haha
nanoyak has quit [Ping timeout: 246 seconds]
jamesaxl has joined #ruby
black_jesus is now known as ladyKiller
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p8952 has quit [Ping timeout: 245 seconds]
platzhirsch has joined #ruby
jamesaxl_ has quit [Ping timeout: 260 seconds]
<platzhirsch> Jolly joy, Ruby 2.1 is here \o/
mikepack_ has joined #ruby
maximumgeek has joined #ruby
nanoyak has joined #ruby
<havenwood> indeed! ;D
<terrellt> That feels like it happened pretty fast.
maximumgeek has quit [Client Quit]
ozkan has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
<LadyRainicorn> Not for robonerd.
mikepack has quit [Ping timeout: 245 seconds]
bwwrd has joined #ruby
<platzhirsch> so is the new GC speeding up shit?
mikepack_ has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
drago777 has joined #ruby
<havenwood> platzhirsch: yeah, way smooth
banister has joined #ruby
<platzhirsch> havenwood: you are joking, right? ^^
ozkan has quit [Ping timeout: 252 seconds]
<havenwood> platzhirsch: Great demonstration at 22:22: http://www.confreaks.com/videos/2907-rubyconf2013-lightning-talks
<havenwood> well, i guess more at 26:00
peneconleche has joined #ruby
<havenwood> platzhirsch: Really smooths out the "stop the world" jitters
<platzhirsch> yeah, that would be lovely
RaCx has joined #ruby
allsystemsarego has joined #ruby
RaCx has quit [Client Quit]
Iszak has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drago777 has quit [Ping timeout: 240 seconds]
maroloccio2 has quit [Quit: WeeChat 0.4.2]
RaCx has joined #ruby
<platzhirsch> hah, the video is funny, but I wonder why the GC should have influenced the outcome of his demo :)
bean has joined #ruby
cflat has quit [Ping timeout: 272 seconds]
<shevy> it's so fast that I can no longer see the bytes passing by
chomskiii has quit [Read error: Connection reset by peer]
Mars` has joined #ruby
drago777 has joined #ruby
mgberlin has quit [Quit: mgberlin]
<havenwood> 2GB of read-only objects being scanned whilst world is stopped with mark and sweep, versus the shiny new generational garbage collector since longer life objects don't have to be scanned each time
ehaliewicz has quit [Remote host closed the connection]
<havenwood> only the actually new stuff gets checked, which is quick, so no jitters :)
thumpba has quit [Remote host closed the connection]
bean has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
bean has joined #ruby
Guedes0 has joined #ruby
blarghmatey has joined #ruby
Fire-Dragon-DoL1 has joined #ruby
Fire-Dragon-DoL1 has quit [Client Quit]
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
Vivekananda has joined #ruby
heidi has joined #ruby
Iszak has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
drumusician has joined #ruby
nanoyak has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
ambushsabre has quit [Quit: rip]
Steven_ has joined #ruby
heidi has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
ladyKiller is now known as zipper
ambushsabre has joined #ruby
mikepack_ has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: IRCRelay - http://ircrelay.com]
kwerle has joined #ruby
deol has joined #ruby
<platzhirsch> RVM only gives me ruby-2.1.0-preview1, this is outrageous
maxmanders has joined #ruby
<havenwood> platzhirsch: rvm get latest
<kwerle> Yup!
<kwerle> I seem to have a ruby 2.1 issue. BigDecimal has changed behavior.
<kwerle> The following pastie passes in 2.0 and does not pass in 2.1: http://pastie.org/8578290
ambushsabre has quit [Client Quit]
Vivekananda has quit [Quit: Ex-Chat]
<zzak> kwerle: can you file a bug? http://bugs.ruby-lang.org/ thanks!
<kwerle> Will do. Thanks for the pointer - was hoping someone else had noticed...
<platzhirsch> havenwood: uh, thanks :)
<havenwood> exit
<havenwood> >.>
<platzhirsch> negative
jamesaxl_ has joined #ruby
mengu has quit [Remote host closed the connection]
<ericwood> irc is hard
jamesaxl has quit [Ping timeout: 252 seconds]
Guedes0 has quit [Ping timeout: 245 seconds]
Guedes0 has joined #ruby
pen has quit [Remote host closed the connection]
skaflem has quit [Quit: Leaving]
drago777 has quit [Ping timeout: 240 seconds]
aspires has quit []
pencilcheck has joined #ruby
<shevy> idling to power is the way to go
drago777 has joined #ruby
nanoyak has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
<kwerle> zzak: I have submitted a ticket: https://bugs.ruby-lang.org/issues/9305 -- thanks.
<zzak> kwerle: thanks!
drumusician has quit [Ping timeout: 252 seconds]
drumusician has joined #ruby
tomsthumb has joined #ruby
Jetchisel has joined #ruby
grep_away is now known as grep_awesome
gigetoo has quit [Ping timeout: 245 seconds]
johnmilton has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix has joined #ruby
zigomir has quit []
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
phantasm66 has quit [Quit: *poof*]
ozkan has joined #ruby
colonolGron has quit [Ping timeout: 246 seconds]
bricker has quit [Ping timeout: 260 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
nanoyak has quit [Ping timeout: 252 seconds]
juarlex has joined #ruby
kirun has quit [Read error: Connection reset by peer]
slick- has quit [Quit: leaving]
pskosinski has quit [Remote host closed the connection]
Suit_Of_Sables has quit [Quit: WeeChat 0.4.0]
lewix has quit [Remote host closed the connection]
colonolGron has joined #ruby
kwerle has quit [Quit: kwerle]
Vivekananda has joined #ruby
platzhirsch has left #ruby [#ruby]
larissa has quit [Quit: Leaving]
nanoyak has joined #ruby
m8 has quit [Quit: Sto andando via]
drumusician has quit [Ping timeout: 252 seconds]
deol has quit [Ping timeout: 245 seconds]
tomsthumb has quit [Ping timeout: 245 seconds]
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
Hanmac has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
gigetoo has joined #ruby
Megtastique has joined #ruby
drumusician has joined #ruby
flubba has quit [Remote host closed the connection]
pencilcheck has quit [Remote host closed the connection]
pskosinski has joined #ruby
WJW has joined #ruby
nanoyak has quit [Ping timeout: 246 seconds]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
SHyx0rmZ has quit [Ping timeout: 240 seconds]
reach has quit [Remote host closed the connection]
olivier_bK has joined #ruby
vlad_starkov has joined #ruby
nanoyak has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
kep has joined #ruby
flubba has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
nanoyak has quit [Quit: Computer has gone to sleep.]
shime has joined #ruby
maroloccio has joined #ruby
tropicalmug has joined #ruby
juarlex has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
reach has joined #ruby
havenwood has quit [Remote host closed the connection]
Czupa has quit [Remote host closed the connection]
RaCx has joined #ruby
havenwood has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
heidi has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
peregrine81 has quit []
havenn has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
ArchBeOS-work has quit [Disconnected by services]
ArchBeOS-work has joined #ruby
ArchBeOS-work has quit [Changing host]
ArchBeOS-work has joined #ruby
cflat has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
marr has joined #ruby
randomnick_ has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
ArchBeOS-work has quit [Client Quit]
vikhyat_ has joined #ruby
heidi has quit [Ping timeout: 272 seconds]
heidi1 has joined #ruby
clamstar_ has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
pskosinski has quit [Remote host closed the connection]
zeropx has quit [Ping timeout: 245 seconds]
mjburgess has quit [Ping timeout: 246 seconds]
zeropx has joined #ruby
pskosinski has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
goleldar_ has joined #ruby
clamstar_ has quit [Read error: Connection reset by peer]
Bosox20051 has joined #ruby
zipper has quit [Quit: leaving]
RaCx has quit [Quit: Computer has gone to sleep.]
vikhyat has joined #ruby
petey has quit [Remote host closed the connection]
vikhyat_ has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
petey has joined #ruby
goleldar has quit [Ping timeout: 260 seconds]
Notte has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
CpuID has joined #ruby
vikhyat_ has joined #ruby
TigerWolf has quit [Quit: Textual IRC Client: www.textualapp.com]
clamstar_ has joined #ruby
estebistec has joined #ruby
mjburgess has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
vikhyat has quit [Ping timeout: 246 seconds]
relix has joined #ruby
kep has quit [Ping timeout: 260 seconds]
clamstar_ has quit [Client Quit]
Monie has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clamstar_ has joined #ruby
clamsta__ has joined #ruby
vikhyat has joined #ruby
brunops has joined #ruby
Megtastique has quit []
vikhyat_ has quit [Ping timeout: 240 seconds]
mjburgess has quit []
breakingthings has quit []
clamstar_ has quit [Ping timeout: 260 seconds]
grep_awesome is now known as grep_away
mlpinit has joined #ruby
Elhu has joined #ruby
pen has joined #ruby
ndngvr` has joined #ruby
jabular has quit [Read error: Operation timed out]
Xuerian has quit [Read error: Operation timed out]
adam- has quit [Read error: Operation timed out]
brandonblack has quit [Ping timeout: 240 seconds]
xar- has quit [Read error: Operation timed out]
adam- has joined #ruby
xar- has joined #ruby
brandonblack has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
ndngvr has quit [Read error: Operation timed out]
jabular has joined #ruby
dagen has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
flubba has quit [Remote host closed the connection]
deol has joined #ruby
juarlex has joined #ruby
Xuerian has joined #ruby
h0rrorvacui has joined #ruby
LadyRainicorn has quit [Quit: Bye]
petey has quit [Remote host closed the connection]
Jetchisel has joined #ruby
nhhagen has joined #ruby
dagen has joined #ruby
pskosinski has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
pskosinski has joined #ruby
freerobby has quit [Quit: Leaving.]
goleldar has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
deol has quit [Ping timeout: 245 seconds]
petey_ has joined #ruby
juarlex has quit [Ping timeout: 252 seconds]
S0da has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
cflat has quit [Ping timeout: 240 seconds]
goleldar has quit [Client Quit]
peregrine81 has joined #ruby
allsystemsarego has quit [Quit: Leaving]
clamsta__ has quit [Quit: Computer has gone to sleep.]
goleldar_ has quit [Ping timeout: 245 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peregrin_ has joined #ruby
mzdravkov has joined #ruby
spider-mario has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti!]
claymore has quit [Quit: Leaving]
drago777 has quit [Ping timeout: 240 seconds]
peregrine81 has quit [Ping timeout: 246 seconds]
drago777 has joined #ruby
Azure has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cflat has joined #ruby
MattStra_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iszak has quit [Ping timeout: 252 seconds]
brunops has quit [Ping timeout: 240 seconds]
brunops has joined #ruby
aspiers has joined #ruby
rehat has quit [Remote host closed the connection]
clamsta__ has joined #ruby
swistak35 has quit [Ping timeout: 240 seconds]
cflat has quit [Ping timeout: 252 seconds]
BryanKoen has joined #ruby
vikhyat_ has joined #ruby
Iszak has joined #ruby
Hanmac has joined #ruby
<mzdravkov> guys, block and lambdas take the scope from the caller. Is there something similar that runs in the receiver? For example if I have class A with method llama() and method blocky(&block) that takes block. If I run A.new.blocky {llama} it will tell me that there is no such method for my current scope
lyanchih has joined #ruby
BryanKoen has quit [Read error: Connection reset by peer]
vikhyat has quit [Ping timeout: 240 seconds]
BryanKoen has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
<mzdravkov> I want something that will have the methods of the receiver's scope (A's methods from the example)
mojjojo has quit [Quit: mojjojo]
neoice has quit [Remote host closed the connection]
petey_ has quit [Remote host closed the connection]
<Iszak> Anyone got a ruby vagrant box?
BifMeister has quit [Ping timeout: 272 seconds]
axl_ has quit [Quit: axl_]
pskosinski has joined #ruby
clamsta__ has quit [Ping timeout: 252 seconds]
vikhyat has joined #ruby
Guedes0 has quit [Ping timeout: 260 seconds]
clamstar_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
vikhyat_ has quit [Ping timeout: 272 seconds]
dscrd has joined #ruby
<havenn> ls
havenn is now known as havenwood
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketur_ has joined #ruby
estebistec has quit [Remote host closed the connection]
clamstar_ has quit [Quit: Computer has gone to sleep.]
<havenwood> Iszak: An updated recent Arch, Fedora or openSUSE box should have latest stable Ruby (or one patch off) or are you looking for a box with chruby or RVM or the like already configured?
ambushsabre has joined #ruby
<Iszak> havenwood I meant a puppet manifest ideally.
<havenwood> ahh
<havenwood> gotcha, i misunderstood
<Iszak> havenwood actually, I badly conveyed what I meant.
petey has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
heidi1 is now known as heidi
Elhu has quit [Quit: Computer has gone to sleep.]
arubin has quit []
petey has quit [Remote host closed the connection]
ambushsabre has quit [Quit: rip]
vikhyat has quit [Read error: Connection reset by peer]
mpereira has quit [Quit: IRCRelay - http://ircrelay.com]
Davey has quit [Quit: IRCRelay - http://ircrelay.com]
workmad3 has joined #ruby
vlad_starkov has joined #ruby
lyanchih has quit [Ping timeout: 245 seconds]
Davey has joined #ruby
mpereira has joined #ruby
<ylluminate> native ios dev with ruby and rubymotion: https://news.ycombinator.com/item?id=6968641
fieldsonrails has joined #ruby
Bumptious has quit [Remote host closed the connection]
freezey has quit [Ping timeout: 260 seconds]
iliketur_ has quit [Quit: zzzzz…..]
vlad_starkov has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
ozkan has quit [Quit: Leaving...]
Megtastique has quit []
Hanmac has quit [Ping timeout: 246 seconds]
vikhyat has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
mikepack_ has quit [Remote host closed the connection]
<Iszak> In other news, ruboto 1.0 has been released on the 24th of December
nhhagen has quit [Remote host closed the connection]
flubba has joined #ruby
mikepack has joined #ruby
<gordon__> yay
<gordon__> !
bnjamin has joined #ruby
<gordon__> Iszak: have you been using it ?
lkba has joined #ruby
<Iszak> No.
<gordon__> :D
<Iszak> I'm holding out for mobiruby
colonolGron has quit [Quit: leaving]
<gordon__> ios :(
<Iszak> I want to write once, debug everywhere.
vikhyat_ has joined #ruby
vikhyat has quit [Ping timeout: 240 seconds]