apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
<waxjar> neat
<apeiros_> (another cringe of mine…)
<waxjar> :p
rooober has joined #ruby
<rooober> hey
tommyvyo_ has joined #ruby
tommyvyo_ has quit [Changing host]
tommyvyo_ has joined #ruby
DatumDrop has joined #ruby
<apeiros_> ok, it's actually not less to time. odd.
bel3atar has quit [Ping timeout: 244 seconds]
GoGoGarrett has joined #ruby
<rooober> How would you recommend I familiarize myself with a ruby codebase of separate systems scripts?
Choobie has quit [Remote host closed the connection]
<apeiros_> rooober: I'd read the docs and then the code?
generalissimo has quit [Remote host closed the connection]
<rooober> Links to writings on techniques would be helpful.... running them, reading them, adding to them... Anything else?
<rooober> No docs really
jakehow has quit [Ping timeout: 248 seconds]
Choobie has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 264 seconds]
mneorr has quit [Remote host closed the connection]
igro has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
yakko has quit [Remote host closed the connection]
nat26101 has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
nat2610 has joined #ruby
mascool has quit [Ping timeout: 252 seconds]
chrisbolton has quit [Quit: chrisbolton]
AlSquire has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
AlSquirrel has quit [Read error: Operation timed out]
Steppen has quit [Remote host closed the connection]
havenn has joined #ruby
Jck_true has quit [Quit: No Ping reply in 180 seconds.]
Jck_true has joined #ruby
timonv has joined #ruby
Vert has joined #ruby
AlSquire has joined #ruby
devdazed has quit [Ping timeout: 252 seconds]
bel3atar has joined #ruby
manizzle has joined #ruby
mneorr has quit [Ping timeout: 255 seconds]
pcarrier has joined #ruby
mneorr has joined #ruby
fyolnish has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 276 seconds]
DatumDrop has quit [Remote host closed the connection]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
devdazed has joined #ruby
DatumDrop has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
punkrawkR^Home has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
wargasm has quit [Ping timeout: 252 seconds]
emmanuelux has quit [Remote host closed the connection]
mildfate has joined #ruby
tommyvyo_ has joined #ruby
<dukedave> Can I define a [] assignment method on a class?
<dukedave> Like Hash and Array
banisterfiend has quit [Ping timeout: 250 seconds]
<dukedave> Foo.new[:a] = 123
tommyvyo_ has quit [Client Quit]
generalissimo has joined #ruby
<dukedave> At the moment I'm doing Foo.new.set(:a, 123)
froy has joined #ruby
<blazes816> def [](foo); end
jlbenc has joined #ruby
<heftig> def []=(arg, val)
jslowe has quit [Read error: Connection reset by peer]
dankest is now known as dankest|away
<jlbenc> hello, all. Anyone here with CygWin experience?
<dukedave> heftig: Thanks
kuzushi has quit [Ping timeout: 265 seconds]
slainer68 has quit [Remote host closed the connection]
ner0x has joined #ruby
<jlbenc> Anyone here with CygWin experience? bundler's bombing with "stack level too deep (SystemStackError)"
AlSquirrel has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
dankest|away is now known as dankest
danneu has quit [Ping timeout: 260 seconds]
BombStrike has quit [Ping timeout: 252 seconds]
BombStrike has joined #ruby
manizzle has quit [Ping timeout: 240 seconds]
carlyle has joined #ruby
froy has quit [Remote host closed the connection]
jlbenc has left #ruby [#ruby]
Russell^^ has quit [Quit: Russell^^]
gridaphobe has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
jojosiao has left #ruby [#ruby]
guns has quit [Quit: guns]
hsbt is now known as hsbt_away
thone_ has joined #ruby
mathie has joined #ruby
bronson has joined #ruby
Chryson has joined #ruby
thone has quit [Ping timeout: 255 seconds]
axl_ has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
mathie has quit [Ping timeout: 252 seconds]
_nitti has joined #ruby
vasile has joined #ruby
mildfate has quit [Quit: Leaving.]
Takehiro has joined #ruby
yshh has quit [Remote host closed the connection]
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
alex__c2022 has quit [Quit: alex__c2022]
babonk has quit [Ping timeout: 264 seconds]
ner0x has quit [Quit: Leaving]
_nitti has quit [Ping timeout: 240 seconds]
mcoffee has joined #ruby
rooober has quit [Quit: Page closed]
Takehiro has quit [Ping timeout: 256 seconds]
<mcoffee> What is a good way to check if an element in a hash does not exist?
berserkr has quit [Quit: Leaving.]
banjara has quit [Quit: Leaving.]
aaronmacy has joined #ruby
<yaymukund> mcoffee: depends what you mean. `unless h.has_key?(:key)`, `unless h[:key]` do slightly different things
bricker has quit [Ping timeout: 252 seconds]
doritostains has joined #ruby
babonk has joined #ruby
walbert has quit [Quit: Leaving.]
ephemerian has quit [Quit: Leaving.]
manizzle has joined #ruby
<yaymukund> if you're in rails, I like h[:key].present?
banjara1 has joined #ruby
danneu has joined #ruby
<mcoffee> yaymukund: thanks. Both are good options. The former seems to check the existence of a key, unlike the latter, which checks the value.
<mcoffee> yamukund: right?
mmitchell has joined #ruby
freakazoid0223 has joined #ruby
<yaymukund> mcoffee: yup, pretty much
<yaymukund> present? is slightly different. if it's an array, it'll also check that the array is non-empty
babonk has quit [Quit: babonk]
DIAPERCOP has joined #ruby
butteredballman has joined #ruby
slainer68 has joined #ruby
mengu has quit [Ping timeout: 246 seconds]
<butteredballman> hi i need to install ruby on rails
<butteredballman> i need the porn web framework for my pornsite
<butteredballman> on thediapersuperstore
mmitchell has quit [Ping timeout: 240 seconds]
pothibo has quit [Quit: pothibo]
<foohey> hmm. k.
yshh has joined #ruby
banisterfiend has joined #ruby
<foohey> a shit language for a shit bizness. good mix eh ?
freeayu has joined #ruby
<butteredballman> but i want to use ruby on rails/cocaine
fyolnish has joined #ruby
<foohey> give me money and I make a youporn clone
<foohey> just for U
seanstickle has joined #ruby
<butteredballman> how many diapers do you accept?
<foohey> dont tell how many, give me your bank account
<foohey> more simpler
<butteredballman> can i make it even more simple by putting rubies in my diaper
<foohey> porn bizness don't count costs
havenn has quit [Remote host closed the connection]
<butteredballman> thats me
habstinat has joined #ruby
<foohey> il love 56k website bandwith
<foohey> closed at tits
<foohey> :D
jonahR has joined #ruby
mildfate has joined #ruby
gridaphobe has joined #ruby
<butteredballman> foohey why do you use the ipv7 and where can i ask my mailman for the same thing
slainer68 has quit [Ping timeout: 240 seconds]
<foohey> because my ISP & my OS have IPV6 by default ?
<butteredballman> sounds like a bunch of buffets in a cabinet
<habstinat> New to Ruby. I get this error when I try to gem install debugger-linecache -v '1.1.2': <http://sprunge.us/dILf> Any ideas as to what could be done to fix this?
<foohey> woah, interesting guy
<foohey> i'm drinking, so, tell what you wan't
<foohey> I have time to lost
<foohey> :)
mcoffee has quit [Ping timeout: 264 seconds]
werdnativ has quit [Quit: FAMOUS_LAST_WORDS is nil]
<foohey> because ruby is so awesome, i have nothing to do
<foohey> ruby think and do everything for me
doritostains has quit [Quit: Linkinus - http://linkinus.com]
<davidcelis> what the fuck am i reading?
foohey was kicked from #ruby by seanstickle [foohey]
<seanstickle> davidcelis: nothing at all
foohey has joined #ruby
poisonarms has quit [Ping timeout: 255 seconds]
<foohey> sorry seanstickle
<seanstickle> :)
devdazed has quit [Ping timeout: 265 seconds]
<foohey> I was just trolling ...
<foohey> no serious in my words
<banisterfiend> seanstickle: it was butteredballman who was linking pics of naked dudes
<banisterfiend> probably the same guy...
<seanstickle> Whoa, didn't see that.
<postmodern> foohey, trolling is for /b/ not irc :P
<seanstickle> Or at least, not THIS irc
chimkan_ has quit [Quit: chimkan_]
<foohey> yup but a guy like that... and #ruby is idleing
<foohey> :D
jenrzzz has joined #ruby
devdazed has joined #ruby
<foohey> my apologies, ruby community
nga4 has quit [Ping timeout: 252 seconds]
h8R has joined #ruby
otters has joined #ruby
dukedave has quit [Quit: Leaving.]
dmiller has quit [Remote host closed the connection]
bronson has quit [Quit: bronson]
h8R has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: Computer has gone to sleep.]
bel3atar has left #ruby ["Leaving"]
pu22l3r_ has joined #ruby
error_code has quit [Remote host closed the connection]
friskd has quit [Ping timeout: 256 seconds]
icole has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
otters has quit [Ping timeout: 252 seconds]
poisonarms has joined #ruby
senj has quit []
otters has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
johnmilton has quit [Remote host closed the connection]
scruple has joined #ruby
senj has joined #ruby
hsbt_away is now known as hsbt
dukedave has joined #ruby
mmitchell has joined #ruby
pyr0commie has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
googya has joined #ruby
danshultz has quit [Remote host closed the connection]
chendo_ has quit [Ping timeout: 264 seconds]
riley526 has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
chendo_ has joined #ruby
mmitchell has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 240 seconds]
<pr0ton> how do i rescue multiple exceptions in the same block?
<pr0ton> like rescue (exA, exB) => e ?
<pr0ton> intellij says it's wrong
LouisGB has quit [Ping timeout: 252 seconds]
devdazed has joined #ruby
mathie has joined #ruby
moos3 has joined #ruby
chendo_ has quit [Ping timeout: 255 seconds]
generalissimo has quit [Remote host closed the connection]
advorak has joined #ruby
<heftig> pr0ton: just remove the parentheses
<heftig> then the syntax is correct
<pr0ton> got it thx
mildfate has quit [Quit: Leaving.]
chendo_ has joined #ruby
mathie has quit [Ping timeout: 255 seconds]
mildfate has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
NiteRain has joined #ruby
davidcelis has quit [Quit: K-Lined.]
mrsolo has quit [Quit: Leaving]
louism2_ has joined #ruby
tommyvyo_ has joined #ruby
<louism2_> hello
<foohey> hi
<louism2_> haha
<louism2_> wasn't sure if I could post to the chat
burlesona has joined #ruby
<foohey> seems you can
<foohey> :)
leonardorb has quit [Remote host closed the connection]
dankest is now known as dankest|away
jds__ has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
Virunga has quit [Remote host closed the connection]
<louism2_> I am trying to find instances of a website string (www.google.com) within a larger string of text. I then want to add the anchor tags around it so it shows up as a link in the text. I am ok with Regexps and I get how to find the website using Strings gsub method but I am unclear as to how I would add the tags to the text and then insert it back into the larger string?
Goles has joined #ruby
fred909 has quit [Ping timeout: 256 seconds]
jobicoppola has quit [Quit: Computer has gone to sleep.]
Jasko2 has quit [Read error: Connection reset by peer]
fms has quit [Quit: leaving]
jds__ has quit [Ping timeout: 252 seconds]
Jasko2 has joined #ruby
sn0wb1rd has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<heftig> louism2_: gsub(/websiteregexp/) { |x| ... }
<heftig> louism2_: in the block, x is the matched string. whatever you return for the block is substituted in the text
ryanlecompte has quit [Remote host closed the connection]
<heftig> so you can return something like "<a href=\"#{url}\">#{x}</a>"
<heftig> where url is the URL generated from x
<louism2_> heftig: thanks for the response
<louism2_> let me give it a shot
SegFaultAX has quit [Quit: ZNC - http://znc.in]
mikepack has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
leonardorb has joined #ruby
u89 has joined #ruby
nat2610 has quit [Quit: Leaving.]
arusso has joined #ruby
danshultz has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
slainer68 has joined #ruby
gridaphobe has quit [Ping timeout: 255 seconds]
u89 has quit [Ping timeout: 248 seconds]
Cicloid has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
tjbiddle_ has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
mildfate has quit [Quit: Leaving.]
danshultz has quit [Ping timeout: 250 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
ttt has joined #ruby
nari has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
ayamomiji has joined #ruby
ayamomiji has left #ruby [#ruby]
alexim has quit [Quit: sleep]
krz has joined #ruby
RickSchmitty has quit [Ping timeout: 264 seconds]
dmiller has joined #ruby
[Neurotic] has joined #ruby
forced_request has joined #ruby
bradhe has joined #ruby
ner0x has joined #ruby
wargasm has joined #ruby
mikepack has joined #ruby
lolcathost has quit [Ping timeout: 255 seconds]
lampe2 has quit [Read error: Operation timed out]
havenn has joined #ruby
lolcathost has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
bpfh has joined #ruby
louism2_ has quit [Quit: This computer has gone to sleep]
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
bronson has joined #ruby
x82_nicole has joined #ruby
jeremywrowe has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
undersc0re97 has quit [Quit: Leaving]
sn0wb1rd has joined #ruby
poga has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ewag has joined #ruby
jenrzzz has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
poga has quit [Remote host closed the connection]
banjara1 has quit [Quit: Leaving.]
niklasb has quit [Ping timeout: 240 seconds]
mathie has joined #ruby
jlast has joined #ruby
syamajala has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
cintrikz has joined #ruby
poga has joined #ruby
mathie has quit [Ping timeout: 245 seconds]
leonardorb has quit [Remote host closed the connection]
dyrot has joined #ruby
DatumDrop has quit [Remote host closed the connection]
IceDragon has quit [Quit: Space~~~]
AlSquirrel has quit [Read error: Connection reset by peer]
jsilver has quit [Remote host closed the connection]
DatumDrop has joined #ruby
AlSquire has joined #ruby
shiin has quit [Quit: Computer has gone to sleep.]
love_col_ has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
love_col_ has joined #ruby
nga4 has joined #ruby
segv-_ has joined #ruby
jbermudes has quit [Read error: Connection reset by peer]
pu22l3r_ has joined #ruby
davidcelis has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
reset has quit [Ping timeout: 264 seconds]
danshultz has joined #ruby
QoQOoO has joined #ruby
segv- has quit [Ping timeout: 250 seconds]
segv-_ is now known as segv-
jbermudes has joined #ruby
jbermudes has quit [Changing host]
jbermudes has joined #ruby
paolooo has joined #ruby
yshh_ has joined #ruby
joeycarmello has joined #ruby
yshh has quit [Read error: No route to host]
sorbo_ has joined #ruby
khimera has joined #ruby
joofsh has quit [Quit: Leaving]
pipopopo has quit [Ping timeout: 260 seconds]
pipopopo has joined #ruby
theRoUS has quit [Ping timeout: 245 seconds]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
burlesona has quit [Remote host closed the connection]
emergion has joined #ruby
yshh_ has quit [Read error: Connection reset by peer]
yshh has joined #ruby
tommyvyo_ has joined #ruby
crazed has joined #ruby
<crazed> if i have a string "0x0800", how can i convert it to the byte representation
jsilver has joined #ruby
mikepack has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
<sorbo_> crazed: to a byte array?
<heftig> "0x0800".to_i(16) gets you the integer
jsilver has quit [Read error: No route to host]
<sorbo_> ["0x0800"].pack('H*').bytes.to_a should get you the byte array
sepp2k has joined #ruby
<heftig> not quite, 0x is interpreted as 1
jeremywrowe has left #ruby [#ruby]
<sorbo_> ah yeah, you're right
<sorbo_> my bad
<sorbo_> you'll get [1, 8, 0] from that
Goles has quit [Ping timeout: 244 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
thecreators has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
Jasko2 has quit [Read error: Connection reset by peer]
Goles has joined #ruby
Jasko2 has joined #ruby
ninp0 has quit [Read error: Connection reset by peer]
babonk has joined #ruby
generalissimo has joined #ruby
senj has quit []
poga has quit [Remote host closed the connection]
<crazed> sorbo_: thanks for that info
eka has joined #ruby
<sorbo_> crazed: np, hope it helps
huoxito has quit [Quit: Leaving]
generalissimo has quit [Remote host closed the connection]
banisterfiend is now known as banister`sleep
mcoffee has joined #ruby
pu22l3r_ has joined #ruby
eka has quit [Ping timeout: 240 seconds]
aaronmacy has quit [Quit: Leaving.]
dankest|away is now known as dankest
dankest has quit [Quit: Leaving...]
pac1 has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
khimera has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 244 seconds]
khimera has joined #ruby
ninp0 has joined #ruby
mathie has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
mathie has quit [Ping timeout: 252 seconds]
adeponte has quit [Remote host closed the connection]
pr0ton has left #ruby [#ruby]
generalissimo has joined #ruby
aaronmacy has joined #ruby
devdazed has quit [Ping timeout: 264 seconds]
cpruitt has quit [Ping timeout: 248 seconds]
cpruitt has joined #ruby
generalissimo has quit [Remote host closed the connection]
devdazed has joined #ruby
jds__ has joined #ruby
devdazed has quit [Max SendQ exceeded]
devdazed has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
danshultz has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
nat2610 has joined #ruby
jds__ has quit [Ping timeout: 252 seconds]
headius has quit [Quit: headius]
GoGoGarrett has quit [Remote host closed the connection]
skaczor has quit [Ping timeout: 260 seconds]
emergion has joined #ruby
manizzle has quit [Ping timeout: 240 seconds]
chendo_ has quit [Ping timeout: 260 seconds]
nwertman has quit [Quit: leaving]
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
slainer68 has joined #ruby
techhelp has joined #ruby
emergion has quit [Client Quit]
chendo_ has joined #ruby
jonahR has quit [Quit: jonahR]
postmodern has quit [Ping timeout: 255 seconds]
kirotan has joined #ruby
love_color_text has quit [Ping timeout: 244 seconds]
dankest has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
love_color_text has joined #ruby
banseljaj is now known as imami|afk
postmodern has joined #ruby
joeycarmello has quit [Remote host closed the connection]
reset has joined #ruby
dukedave has quit [Quit: Leaving.]
Shadow_S has joined #ruby
areil has joined #ruby
generalissimo has joined #ruby
postmodern has quit [Ping timeout: 255 seconds]
carlyle has joined #ruby
radic has joined #ruby
cj3kim has joined #ruby
adeponte has joined #ruby
tPl0ch has joined #ruby
yaymukund has quit [Ping timeout: 250 seconds]
radic_ has quit [Ping timeout: 260 seconds]
jlast has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
vasile has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
xyzodiac has joined #ruby
banjara has joined #ruby
mathie has joined #ruby
vasile has joined #ruby
postmodern has quit [Ping timeout: 252 seconds]
mathie has quit [Ping timeout: 260 seconds]
rezzack has quit [Quit: Leaving.]
mikepack has quit [Remote host closed the connection]
butteredballman has left #ruby [#ruby]
jarred_ has joined #ruby
jarred_ has quit [Client Quit]
matrixise has joined #ruby
noric has quit [Remote host closed the connection]
sorbo_ has quit [Quit: sorbo_]
babykosh has joined #ruby
cpruitt has quit [Quit: cpruitt]
<babykosh> how to say in rspec…..thing.should eq(Hash)
paolooo has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
zodiak has quit [Ping timeout: 246 seconds]
bairui_ has joined #ruby
jaygen_ has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
vasile has quit [Ping timeout: 264 seconds]
techhelp2 has joined #ruby
jaygen has quit [Read error: Operation timed out]
zodiak has joined #ruby
bairui has quit [Ping timeout: 264 seconds]
hsbt is now known as hsbt_away
techhelp has quit [Ping timeout: 264 seconds]
ner0x has quit [Quit: Leaving]
babykosh has left #ruby [#ruby]
luckyruby has joined #ruby
rakunHo has joined #ruby
luckyruby has quit [Client Quit]
bairui_ is now known as bairui
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
havenn has quit [Remote host closed the connection]
luckyruby has joined #ruby
havenn has joined #ruby
havenn has quit [Read error: Connection reset by peer]
artm has joined #ruby
slainer68 has joined #ruby
medik has quit [Quit: medik has no reason]
stkowski has quit [Quit: stkowski]
googya has quit [Quit: Leaving.]
BoomCow has joined #ruby
DatumDrop has quit [Remote host closed the connection]
brianpWins has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
g-ram has joined #ruby
ananthakumaran has joined #ruby
advorak has quit [Quit: Leaving]
friskd has joined #ruby
vasile has joined #ruby
zodiak has quit [Ping timeout: 240 seconds]
jakehow has joined #ruby
yaymukund has joined #ruby
postmodern has joined #ruby
blazes816 has quit [Quit: blazes816]
zodiak has joined #ruby
hsbt_away is now known as hsbt
NiteRain has quit [Read error: Connection timed out]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
NiteRain has joined #ruby
mahmoudimus has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
jekotia has quit [Quit: sleeeeeeeeeeeeeep]
joeycarmello has joined #ruby
Chryson has quit [Ping timeout: 240 seconds]
vasile has quit [Ping timeout: 264 seconds]
joeycarmello has quit [Ping timeout: 246 seconds]
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
vasile has joined #ruby
QoQOoO has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Ping timeout: 260 seconds]
macmartine has joined #ruby
alanp has quit [Read error: Connection reset by peer]
vasile has quit [Read error: Operation timed out]
alanp has joined #ruby
yankeefan04 has joined #ruby
jonahR has joined #ruby
postmodern has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
mathie has joined #ruby
postmodern has joined #ruby
yankeefan04 has quit [Remote host closed the connection]
chimkan has joined #ruby
jonahR has quit [Quit: jonahR]
Cicloid has quit [Remote host closed the connection]
maletor has joined #ruby
googya has joined #ruby
mathie has quit [Ping timeout: 248 seconds]
ninp0 has quit [Ping timeout: 252 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
postmodern has quit [Ping timeout: 248 seconds]
browndawg has joined #ruby
manizzle has joined #ruby
g-ram has quit [Quit: Computer has gone to sleep.]
dmiller_ has joined #ruby
a_a_g has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
aetcore has quit [Quit: aetcore]
googya has left #ruby [#ruby]
a_a_g1 has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
tjbiddle has quit [Quit: tjbiddle]
ananthakumaran has joined #ruby
tonini has joined #ruby
mdpatrick has quit [Quit: mdpatrick]
ryanf has quit [Quit: leaving]
heftig has quit [Quit: leaving]
generalissimo has quit [Remote host closed the connection]
love_color_text has quit [Remote host closed the connection]
miso1337 has joined #ruby
ircmouser has quit [Quit: defconcepts ltd]
rvchangue has quit [Ping timeout: 245 seconds]
love_color_text has joined #ruby
rvchangue has joined #ruby
macmartine has joined #ruby
mcoffee has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
mneorr has quit [Remote host closed the connection]
xpen has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
love_color_text has quit [Ping timeout: 276 seconds]
uris has quit [Quit: Leaving]
love_color_text has joined #ruby
wallerdev has quit [Quit: wallerdev]
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nat2610 has left #ruby [#ruby]
ewag has quit [Ping timeout: 252 seconds]
GoGoGarrett has joined #ruby
wallerdev has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
havenn has joined #ruby
a_a_g1 has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
miso1337 has quit [Quit: afk]
FrankMartin has joined #ruby
<FrankMartin> given R rectangles, numbered 1 through R. The width and height of the i-th rectangle are Ni and Mi unit respectively. There is a turtle located on the top-left corner of each rectangle. For each rectangle, count the number of ways the turtle can reach the bottom-right corner, if each turtle can only move right or down 1 unit at any time.The turtle is not allowed to move outside the rectangle, but, of course, the turtle can move on the boundary of the re
<FrankMartin> count the number of ways each turtle can reach the bottom-right corner using the same rule as before
<FrankMartin> solve for one case only
<FrankMartin> O(N) or O(nlogn) solution needed
<FrankMartin> time limit=1sec
rakl has quit [Quit: sleeping]
xpen has quit [Read error: Connection timed out]
mcoffee has joined #ruby
Shadow_S has quit [Quit: Textual IRC Client: www.textualapp.com]
cantonic_ has joined #ruby
xpen has joined #ruby
cableray has joined #ruby
techhelp2 has quit [Quit: This computer has gone to sleep]
<FrankMartin> anybody listening?
<FrankMartin> what the hell place it is. Nobody interested outta 462 fellows
<FrankMartin> :(
robbyoconnor has joined #ruby
cantonic has quit [Ping timeout: 240 seconds]
cantonic_ is now known as cantonic
burgestrand has joined #ruby
staafl has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
haxrbyte has joined #ruby
mercwithamouth has joined #ruby
haxrbyte_ has joined #ruby
<havenn> FrankMartin: Turtles?
Goles has quit [Quit: Computer has gone to sleep.]
rohit has joined #ruby
<havenn> FrankMartin: I would suggest not having turtles traverse rectangles.
haxrbyte has quit [Ping timeout: 256 seconds]
<jtcoon> put the turtles in the cloud and parallelize them
<jtcoon> then apply a genetic algorithm to determine the best turtle
<jtcoon> then make them have sex using the computer cloud
keyvan has joined #ruby
keyvan has joined #ruby
keyvan has quit [Changing host]
jakehow has quit [Ping timeout: 264 seconds]
djdb has joined #ruby
digitalcakestudi has quit [Quit: Leaving.]
skcin7 has joined #ruby
<havenn> Homework complete.
love_color_text has quit [Ping timeout: 255 seconds]
manizzle has quit [Ping timeout: 255 seconds]
postmodern has joined #ruby
mathie has joined #ruby
mneorr has joined #ruby
<FrankMartin> are you gone nuts? jtcoon?
<FrankMartin> given R rectangles, numbered 1 through R. The width and height of the i-th rectangle are Ni and Mi unit respectively. There is a turtle located on the top-left corner of each rectangle. For each rectangle, count the number of ways the turtle can reach the bottom-right corner, if each turtle can only move right or down 1 unit at any time.The turtle is not allowed to move outside the rectangle, but, of course, the turtle can move on the boundary of the re
tagrudev has joined #ruby
<FrankMartin> count the number of ways each turtle can reach the bottom-right corner using the same rule as before . time =1 sec
mathie has quit [Ping timeout: 260 seconds]
rohit has quit [Read error: Connection reset by peer]
FrankMartin has quit [Ping timeout: 240 seconds]
<cj3kim> lol
zommi has joined #ruby
dyrot has quit [Quit: ThrashIRC v2.8 sic populo comunicated]
chendo_ has quit [Ping timeout: 244 seconds]
chendo_ has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
manizzle has joined #ruby
aaronmacy has quit [Quit: Leaving.]
ryanf has joined #ruby
aquagrunty has joined #ruby
<aquagrunty> does anyone know how to emulate calling a fuction in python using named arguments?
DrShoggoth has quit [Quit: Leaving]
<aquagrunty> example
morf has joined #ruby
luckyruby has quit [Remote host closed the connection]
nga4 has quit [Ping timeout: 250 seconds]
moshee has quit [Ping timeout: 264 seconds]
chendo_ has quit [Ping timeout: 264 seconds]
rohit has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
chendo_ has joined #ruby
chendo_ has joined #ruby
chendo_ has quit [Changing host]
GoGoGarrett has quit [Remote host closed the connection]
<burgestrand> aquagrunty: ruby does not have named arguments until v2.0 that is not properly out yet.
<burgestrand> aquagrunty: what you have there are two optional arguments.
<burgestrand> aquagrunty: ruby does have this quirk, that when passing a hash to a method without brackets, ruby will assume it’s all part of the same (and last) argument. This way you can pass a hash to a method, that looks like keyword arguments.
aaronmacy has joined #ruby
<burgestrand> aquagrunty: but you still have to extract your parameters, handle defaults, and invalid options.
matrixise has quit [Ping timeout: 252 seconds]
rvchangue has quit [Read error: Connection reset by peer]
<burgestrand> aquagrunty: http://codepad.org/ds0jwLSf
F1skr has joined #ruby
bluOxigen has joined #ruby
dawkirst has quit [Ping timeout: 255 seconds]
haxrbyte_ has quit [Read error: Connection reset by peer]
browndawg has quit [Quit: Leaving.]
artm has quit [Quit: artm]
tPl0ch has quit [Quit: Verlassend]
<burgestrand> aquagrunty: also, YARD has support for documenting these kinds of options: http://rubydoc.info/docs/yard/file/docs/Tags.md#option
miso1337 has joined #ruby
benlieb has joined #ruby
miso1337 has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 252 seconds]
DaZ has quit [Ping timeout: 260 seconds]
DaZ has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
darthdeus has quit [Quit: Linkinus - http://linkinus.com]
icole has joined #ruby
jsilver has joined #ruby
mafolz has joined #ruby
heftig has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
banjara has quit [Quit: Leaving.]
answer_42 has joined #ruby
[Neurotic] has quit [Ping timeout: 244 seconds]
BoomCow has quit [Quit: This computer has gone to sleep]
banjara has joined #ruby
benlieb has quit [Client Quit]
scruple has quit [Quit: Leaving]
mafolz has quit [Client Quit]
mafolz has joined #ruby
RudyValencia has joined #ruby
Elhu has joined #ruby
Phoop has joined #ruby
Whackatre is now known as w|t
blaxter has joined #ruby
[Neurotic] has joined #ruby
mafolz has quit [Client Quit]
jsilver has quit [Remote host closed the connection]
mafolz has joined #ruby
chimkan has quit [Quit: chimkan]
Elhu has quit [Ping timeout: 252 seconds]
havenn has quit [Remote host closed the connection]
aaronmacy has quit [Quit: Leaving.]
havenn has joined #ruby
Elhu has joined #ruby
KevinSjoberg has joined #ruby
keyvan has quit [Remote host closed the connection]
L1 has quit [Quit: Quitter]
yankeefan04 has joined #ruby
havenn has quit [Ping timeout: 265 seconds]
Morkel has joined #ruby
yankeefan04 has quit [Remote host closed the connection]
rohit has quit [Quit: Leaving]
mathie has joined #ruby
maesbn has joined #ruby
mathie has quit [Ping timeout: 255 seconds]
jsilver_ has joined #ruby
hotovson has joined #ruby
jsilver_ has quit [Remote host closed the connection]
Jasko2 has quit [Read error: Connection reset by peer]
Elhu has quit [Quit: Computer has gone to sleep.]
Jasko2 has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
Slivka has joined #ruby
schaary has joined #ruby
iamjarvo1 has quit [Quit: Leaving.]
a_a_g has joined #ruby
dr_bob has joined #ruby
zigomir has joined #ruby
frihd has joined #ruby
Dreamer3 has quit [Ping timeout: 252 seconds]
Rydefalk has joined #ruby
Dreamer3 has joined #ruby
ephemerian has joined #ruby
maletor has quit [Ping timeout: 240 seconds]
eldariof has joined #ruby
Dreamer3 has quit [Ping timeout: 252 seconds]
miso1337 has joined #ruby
<aquagrunty> right
mcoffee has quit [Ping timeout: 252 seconds]
<aquagrunty> burgestrand: you use the :notation too
<aquagrunty> i'm not quite sure yet
<aquagrunty> what it means
<aquagrunty> sorry i just started this week
<aquagrunty> i don't understand the difference between
<aquagrunty> { :a=>1 }
<aquagrunty> and
nga4 has joined #ruby
<aquagrunty> { 'a'=>1 }
<burgestrand> aquagrunty: how about { 5 => 1 } vs { "five" => 1 }?
<aquagrunty> are they the same
<aquagrunty> i don't get it
<burgestrand> aquagrunty: you see the difference there?
<aquagrunty> well
<aquagrunty> no i get that
<aquagrunty> yeah
<aquagrunty> number vs str
<aquagrunty> int vs str as the key
Tumulte has joined #ruby
<aquagrunty> but what the heck is a :this
<Tumulte> hi
Dreamer3 has joined #ruby
banjara has quit [Quit: Leaving.]
<burgestrand> aquagrunty: { :a => 1 } and { "a" => 1 } looks more similar, but is no more alike than { 5 => 1 } and { "five" => 1 }
<aquagrunty> ive never seen this notation in any other language
baphled has joined #ruby
aharris6 has joined #ruby
<aquagrunty> so what is a :a
<aquagrunty> is there a name for this
<aquagrunty> strange looking variable
<aquagrunty> like @
<aquagrunty> is a property
<burgestrand> aquagrunty: we call it a symbol in ruby, you often use them in places where you need an identifier of some sort, but don’t care about what the value is
<aquagrunty> ?
<burgestrand> aquagrunty: say, sometimes you want a name for something
<burgestrand> aquagrunty: like, describing a person, you have { "name" => "Moo", "race" => "Monkey" }
<burgestrand> this person is very primitive
Phoop has quit [Quit: Phoop]
<burgestrand> aquagrunty: problem is, "name" is a string, and when ruby compare strings, ruby most look at all of the string
<aquagrunty> with hash keys of 'name' and 'race' right?
<burgestrand> aquagrunty: yes
<aquagrunty> oh
<aquagrunty> ok
mneorr has quit [Remote host closed the connection]
<aquagrunty> so then how does :x perform differently?
<burgestrand> aquagrunty: thing with ruby strings is that, whenever you use a string, it is always a new string
<burgestrand> aquagrunty: "name".object_id != "name".object_id
<burgestrand> aquagrunty: those are two objects, even though they look like the same string
<burgestrand> aquagrunty: so when you do "name" == "name", ruby must look at every character of both strings to see if they are equal or not
<aquagrunty> allocating it in memory
<aquagrunty> which sucks
<aquagrunty> and is slow
<aquagrunty> right
<burgestrand> not sucks, but can be slow if you do it many many many items
<Tumulte> I got users with password crypted with php's crypt($string,$salt). I'd like my users to be able to log in a ruby program, but can I compare php's hashes with ruby ?
<burgestrand> … items -> time
mneorr has joined #ruby
filipe has joined #ruby
<burgestrand> aquagrunty: so, to optimize this you change it
<burgestrand> aquagrunty: you do { NAME_ID => "Moo", RACE_ID => "monkey" }, and then assign NAME_ID = 5, RACE_ID = 6
<aquagrunty> oh
<aquagrunty> :accessor?
<burgestrand> aquagrunty: now NAME_ID == NAME_ID is very very fast, because the number 5 is always the number 5, i.e. 5.object_id == 5.object_id
<aquagrunty> it would
<burgestrand> aquagrunty: so ruby don’t need to compare contents of NAME_ID, because it does not matter
<aquagrunty> need to be in the same scope though right?
<aquagrunty> eg
<burgestrand> aquagrunty: yeah, but if you ignore that, this new method is faster than { "name" => "Moo", "race" => "monkey" }, you understand this?
<aquagrunty> yeah i get that
<aquagrunty> same memory allocation
<burgestrand> aquagrunty: but it is also problematic, one thing is scope like you said
<burgestrand> aquagrunty: but also, say you want a new field, last name
<burgestrand> aquagrunty: so you make LAST_NAME_ID = 5
Villadelfia has quit [Read error: Operation timed out]
jenrzzz has joined #ruby
<burgestrand> aquagrunty: and make your new hash { NAME_ID => "Moo", LAST_NAME_ID => "Boo", RACE_ID => "monkey" }, you see a problem here?
<aquagrunty> oh
<aquagrunty> boom
<aquagrunty> explosion
<burgestrand> aquagrunty: NAME_ID == LAST_NAME_ID
<burgestrand> aquagrunty: but there is no way to tell
elkclone has joined #ruby
artm has joined #ruby
<burgestrand> aquagrunty: what you can do now is replace it with a symbol instead
<burgestrand> aquagrunty: a symbol in ruby is always the same as the same symbol, so :name.object_id == :name.object_id, same memory
<aquagrunty> whoa cool
piotr has joined #ruby
bradhe has quit [Remote host closed the connection]
<burgestrand> aquagrunty: so when ruby compares them, it is almost instant, no speed loss at all
SeySayux has quit [Ping timeout: 244 seconds]
<aquagrunty> thats a very cool concept of the language
<burgestrand> aquagrunty: and, in addition, since it is always the same memory, ruby will also not allocate new object
banister`sleep has quit [Ping timeout: 240 seconds]
Phoop has joined #ruby
<burgestrand> aquagrunty: so, :name is a symbol, it is always the same object, and the *value* of :name is just :name, like the value of 5 is just 5
mneorr has quit [Remote host closed the connection]
<aquagrunty> i'm still getting used to this whole everything is an object perspective
rellin has quit [Ping timeout: 252 seconds]
<aquagrunty> nice
<burgestrand> aquagrunty: so, like you might understand, symbols are useful in hashes for this reason, but only as an optimization :)
<aquagrunty> so it's like
<aquagrunty> a definition
<burgestrand> aquagrunty: yes, an identifier, or a name
bradhe has joined #ruby
<aquagrunty> is it still limited by scope?
<burgestrand> aquagrunty: no
<burgestrand> aquagrunty: and it can never clash with another identifier
<aquagrunty> ?
frihd1 has joined #ruby
<burgestrand> aquagrunty: :name != :last_name
<aquagrunty> you can't assign identifiers to other identifiers?
<burgestrand> aquagrunty: perhaps obvious, just wanted to point it out :)
<aquagrunty> yeah
<burgestrand> aquagrunty: no, you cannot do :name = something, just like you cannot do 5 = something, or "name" = something
<aquagrunty> its still contained to the scope of the file?
Jasko2 has quit [Read error: Connection reset by peer]
<burgestrand> aquagrunty: :name is the same everywhere in your entire program
<aquagrunty> like if i have includeme.rb
<aquagrunty> and i require "includeme"
Jasko2 has joined #ruby
Villadelfia has joined #ruby
<aquagrunty> and i define :name in there
<burgestrand> aquagrunty: not define, use
SeySayux has joined #ruby
<burgestrand> but okay
<aquagrunty> right
<burgestrand> :)
frihd has quit [Ping timeout: 244 seconds]
<aquagrunty> but in say
<burgestrand> aquagrunty: ruby creates symbols when they are used, no need for a separate definition
<burgestrand> aquagrunty: once created, ruby never forgets about a symbol, which is the main downside of them
xpen has joined #ruby
<burgestrand> aquagrunty: when you type them out in your code, you never need to worry about memory usage of symbols, but if you create them dynamically, you need to be careful
<aquagrunty> so its like a global?
<burgestrand> aquagrunty: yeah, like a global id
<aquagrunty> ahh ok
<aquagrunty> this language is very flexible, i'm enjoying it so far
<burgestrand> aquagrunty: so never do 1_000_000.times { |i| i.to_s.to_sym } (makes 1 million symbols of every number 0-1mill)
<burgestrand> aquagrunty: because they are never garbage collected
<aquagrunty> ew
<aquagrunty> right
<aquagrunty> thats totally cool that you can do that on one line though
<aquagrunty> lol
banister`sleep has joined #ruby
<aquagrunty> heh
Slivka has quit [Remote host closed the connection]
<burgestrand> aquagrunty: I got to go, live well :)
<aquagrunty> you too
<aquagrunty> thanks for explaining!
aquagrunty has left #ruby [#ruby]
nomenkun has quit [Remote host closed the connection]
jds__ has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
kstephens has quit [Ping timeout: 264 seconds]
Meck has joined #ruby
kstephens has joined #ruby
Meck has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 260 seconds]
dankest is now known as dankest|away
dankest|away is now known as dankest
jon_than_ has joined #ruby
Choobie has quit [Remote host closed the connection]
igro has joined #ruby
baphled has quit [Ping timeout: 252 seconds]
Elhu has joined #ruby
bradhe has quit [Remote host closed the connection]
ryanf has quit [Quit: leaving]
bradhe has joined #ruby
hoelzro|away is now known as hoelzro
icooba has joined #ruby
miso1337 has quit [Quit: afk]
jds__ has quit [Remote host closed the connection]
Hanmac has joined #ruby
jds__ has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
dmiller_ has quit [Ping timeout: 246 seconds]
matrixise has joined #ruby
jsilver has joined #ruby
mafolz has quit [Read error: Connection reset by peer]
osvico has quit [Ping timeout: 252 seconds]
cdt has joined #ruby
jds__ has quit [Ping timeout: 276 seconds]
h8R has joined #ruby
mafolz has joined #ruby
Hanmac1 has quit [Ping timeout: 265 seconds]
mafolz has quit [Read error: Connection reset by peer]
u89 has joined #ruby
u89 has quit [Remote host closed the connection]
manizzle has quit [Ping timeout: 255 seconds]
u89 has joined #ruby
aaronmacy has joined #ruby
icole has quit [Remote host closed the connection]
mafolz has joined #ruby
icole has joined #ruby
maletor has joined #ruby
babonk has quit [Read error: Connection reset by peer]
babonk has joined #ruby
babonk has quit [Changing host]
babonk has joined #ruby
maletor has quit [Max SendQ exceeded]
dawkirst has joined #ruby
dankest is now known as dankest|away
dankest|away is now known as dankest
maletor has joined #ruby
icole has quit [Ping timeout: 252 seconds]
jimeh has joined #ruby
mathie has joined #ruby
aharris6 has quit [Remote host closed the connection]
bradhe has joined #ruby
mafolz has quit [Ping timeout: 265 seconds]
mafolz has joined #ruby
tobinharris has joined #ruby
estan_ is now known as estan
BiHi has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
dmiller has joined #ruby
jds__ has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
eka has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
ChampS666 has joined #ruby
goraxe has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
jds__ has quit [Ping timeout: 255 seconds]
marr has joined #ruby
BiHi has quit [Quit: Computer has gone to sleep]
bel3atar has joined #ruby
ttt has quit [Remote host closed the connection]
BiHi has joined #ruby
crazed_ has joined #ruby
Gooder has joined #ruby
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
crazed has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
sepp2k has quit [Quit: Leaving.]
ChampS666 has quit [Ping timeout: 256 seconds]
dankest is now known as dankest|away
slainer68 has joined #ruby
adambeynon has joined #ruby
aaronmacy has quit [Quit: Leaving.]
crazed_ has quit [Ping timeout: 252 seconds]
postmodern has quit [Ping timeout: 248 seconds]
ttt has joined #ruby
crazed has joined #ruby
LouisGB has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
fyolnish has quit [Remote host closed the connection]
slainer68 has quit [Remote host closed the connection]
berserkr has joined #ruby
postmodern has joined #ruby
chussenot has joined #ruby
slainer68 has joined #ruby
arya has joined #ruby
timmow has joined #ruby
timonv has quit [Remote host closed the connection]
rdark has joined #ruby
lele has quit [Ping timeout: 246 seconds]
arturaz has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
jds__ has joined #ruby
timonv has joined #ruby
rohit has joined #ruby
marr has quit [Ping timeout: 252 seconds]
lele has joined #ruby
arturaz has quit [Remote host closed the connection]
aganov has joined #ruby
nari has quit [Ping timeout: 245 seconds]
nemesit has joined #ruby
Zai00 has joined #ruby
matiit has joined #ruby
h8R has quit [Read error: Connection reset by peer]
tk___ has joined #ruby
matiit has left #ruby [#ruby]
sebastianb has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
apeiros_ has joined #ruby
sebastianb has joined #ruby
adeponte has quit [Remote host closed the connection]
jds__ has quit [Ping timeout: 264 seconds]
rweng has joined #ruby
bel3atar has quit [Ping timeout: 248 seconds]
hoelzro is now known as hoelzro|away
<rweng> hi, I'm a little stuck with my regex, can you help? /\s*(?<country>.*)/ matches, making it optional with /(\s*(?<country>.*))?/ doesn't work though
arturaz has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9.2]
cableray has quit [Quit: cableray]
frihd1 has quit [Quit: Leaving.]
sebastianb has quit [Ping timeout: 246 seconds]
krz has quit [Quit: krz]
devdazed has quit [Ping timeout: 252 seconds]
devdazed has joined #ruby
Russell^^ has joined #ruby
rohit has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
sebastianb has joined #ruby
frihd has joined #ruby
<JonnieCache> rweng: im guessing its to do with the whitespace
<JonnieCache> it usually is
lkba has quit [Ping timeout: 252 seconds]
dawkirst_ has joined #ruby
dawkirst_ has quit [Client Quit]
bkzl has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
dawkirst has quit [Quit: Nettalk6 - www.ntalk.de]
dawkirst has joined #ruby
adeponte has joined #ruby
dawkirst2 has joined #ruby
dawkirst2 has quit [Client Quit]
slainer6_ has joined #ruby
<Tumulte> Hi !
<Tumulte> (again)
nomenkun has quit [Read error: Connection reset by peer]
<Tumulte> I'm trying to rake install thin... but it doesn't work and I can't see the error : http://paste.debian.net/214859/
<Tumulte> can you see what's wrong ?
igro has quit [Read error: No route to host]
nomenkun has joined #ruby
sebastianb has quit [Read error: Connection reset by peer]
slainer68 has quit [Ping timeout: 250 seconds]
rohit has joined #ruby
dr_bob has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
hsbt is now known as hsbt_away
<workmad3> Tumulte: why are you trying to rake install? surely you want to gem install
dr_bob has joined #ruby
ExxKA has quit [Quit: Leaving]
<Tumulte> workmad3: I follow the readme
dawkirst has quit [Ping timeout: 264 seconds]
hotovson has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
<Tumulte> well it's only a version issue
<Tumulte> I guess I should just update the gemfile
<Hanmac> ask in #rubyonrails
<workmad3> what readme?
<Tumulte> Hanmac: what's the difference ?
frihd has quit [Ping timeout: 265 seconds]
<workmad3> Tumulte: an 'onrails' suffix...
wallerdev has quit [Quit: wallerdev]
gyre007 has joined #ruby
<Tumulte> workmad3: well actually, the bundle install was stuck because it couldn't find the proper version... gem install solved it
cascalheira has joined #ruby
<Tumulte> It's ok
undersc0re97 has joined #ruby
<Tumulte> workmad3: you did help actually, so thanks !
Xeago has joined #ruby
vlad_starkov has joined #ruby
hotovson has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
ChampS666 has joined #ruby
sn0wb1rd has quit [Quit: I will be right back]
sebastianb has joined #ruby
m4rtijn has joined #ruby
<m4rtijn> hi
alee has quit [Ping timeout: 276 seconds]
Tumulte has left #ruby [#ruby]
thomasfedb has quit [Ping timeout: 244 seconds]
d34th4ck3r has joined #ruby
atmosx has quit [Ping timeout: 276 seconds]
hotovson has quit [Read error: No route to host]
thomasfedb has joined #ruby
tonini has quit [Remote host closed the connection]
ChampS666 has quit [Ping timeout: 252 seconds]
nomenkun has quit [Read error: Connection reset by peer]
BadLarry has quit [Ping timeout: 244 seconds]
nomenkun has joined #ruby
alee has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
nomenkun has quit [Read error: Connection reset by peer]
thecreators has quit [Quit: thecreators]
atmosx has joined #ruby
nomenkun has joined #ruby
Takehiro has joined #ruby
RickSchmitty has joined #ruby
BadLarry has joined #ruby
rohit has quit [Quit: Leaving]
_nitti has joined #ruby
hoelzro|away is now known as hoelzro
h8R has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
dankest|away has quit [Quit: Leaving...]
osvico has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
dr_bob has left #ruby [#ruby]
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
osvico has quit [Ping timeout: 255 seconds]
grzywacz has joined #ruby
kablaam` has joined #ruby
mehdi has joined #ruby
devdazed has quit [Ping timeout: 244 seconds]
elkclone has quit [Quit: It's never too late to unplug and run.]
fyolnish has joined #ruby
lkba has joined #ruby
adeponte has quit [Remote host closed the connection]
devdazed has joined #ruby
jprovazn has joined #ruby
hotovson_ has joined #ruby
tobinharris has quit [Quit: tobinharris]
kil0byte has joined #ruby
nomenkun_ has joined #ruby
Virunga has joined #ruby
browndawg has joined #ruby
nomenkun has quit [Read error: Operation timed out]
danneu has quit [Ping timeout: 255 seconds]
heftig has quit [Quit: leaving]
frihd has joined #ruby
hotovson_ has quit [Remote host closed the connection]
oqa has joined #ruby
reset has quit [Ping timeout: 244 seconds]
bkzl has quit [Quit: Textual IRC Client: www.textualapp.com]
frihd has quit [Client Quit]
<oqa> aww.. I got hit by the "variable pass-by-ref between threads if defined in same scope" issue. does anyone remember any articles about that would explain the issue and its semantics
nerd has quit [Ping timeout: 265 seconds]
goraxe has joined #ruby
hotovson has joined #ruby
carloslopes has joined #ruby
leonardorb has joined #ruby
nerd has joined #ruby
<Hanmac> oO
leonardorb has quit [Read error: No route to host]
leonardorb has joined #ruby
dayvulTBK has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
jaygen_ has quit [Remote host closed the connection]
hotovson has quit [Ping timeout: 240 seconds]
clj_newb has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
<oqa> I'm talking about this one.. https://gist.github.com/4232658
larissa has joined #ruby
<burgestrand> oqa: http://ideone.com/P3Gltg
<oqa> that's a nice shortcut
Vainoharhainen has joined #ruby
<oqa> still wondering about the actual semantics that make it behave like that
<oqa> what would be a good source for information
<burgestrand> oqa: yeah, sorry, can‘t help you with that at the moment, but it’s good practice to pass your arguments through Thread.new and into the block via block arguments.
<burgestrand> (like in my above code)
<burgestrand> oqa: pretty much the same thing that your first example does, only without the extra method
Bry8Star has joined #ruby
<oqa> that was actually a problem in jruby test code that originally used java's ThreadExecutor
kil0byte_ has joined #ruby
<banister`sleep> burgestrand: is it snowing in swe?
<oqa> it didn't offer that kind of a passthrough option
<burgestrand> banister`sleep: not at the moment in gothenburg, clear blue sky and -10C or so, stockholm has had snow chaos with buses and trains cancelled all week pretty much
<burgestrand> banister`sleep: lots of my friends had to sleep in the city (at work, friends etc) because buses wouldn’t take them home
<oqa> oh crap.. I guess the same weather is coming to finland with a little delay
karupanerura has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
browndawg has quit [Quit: Leaving.]
kil0byte has quit [Ping timeout: 256 seconds]
<Hanmac> be prepared about when block arguments are the same name than local variables ... that can be cokoloko on <1.9
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
dayvulTBK has quit [Ping timeout: 264 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
atmosx has quit [Remote host closed the connection]
Iszak has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
atmosx has joined #ruby
rakunHo has quit [Remote host closed the connection]
<burgestrand> Hanmac: wtf :p
Phoop has quit [Quit: Phoop]
kil0byte has joined #ruby
ExxKA has joined #ruby
<Hanmac> its an funny indi game
<banister`sleep> k
banister`sleep is now known as banisterfiend
the_hack has joined #ruby
<the_hack> why would a gem be available to load in irb but not in a script? http://pastie.org/5493226
<Xeago> because of load paths
Phoop has joined #ruby
<Xeago> and environment variables
<Xeago> different ruby versions
Virunga has quit [Remote host closed the connection]
kil0byte_ has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby
<the_hack> gems are pretty screwed up on OS X
_nitti has joined #ruby
<Hanmac> the_hack, its because of rubygems ... you need to require it first on 1.8.7
xpen has quit [Remote host closed the connection]
<burgestrand> world of goo :3
<the_hack> Hanmac: sweet. Thanks for the simple answer
<Hanmac> on 1.9.3 rubygems is required automaticly
devdazed has quit [Ping timeout: 276 seconds]
<the_hack> Xeago: thanks for your imput as well
dr_bob has joined #ruby
KevinSjoberg has quit [Ping timeout: 252 seconds]
<JonnieCache> the_hack: dont use 1.8.7 its old and shitty
JohnBat26 has joined #ruby
<JonnieCache> compared to 1.9
banisterfiend has quit [Ping timeout: 255 seconds]
<the_hack> JonnieChache: yeah it's just that I had some gem issues with 1.9.
devdazed has joined #ruby
Goles has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
hackeron has quit [Read error: No route to host]
jprovazn has quit [Quit: Leaving]
<JonnieCache> better to fix those issues than to use 1.8
<JonnieCache> what gems did you have issues with?
samphippen has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
tvw has joined #ruby
Weazy has quit [Ping timeout: 260 seconds]
Hanmac has quit [Quit: Page closed]
Weazy has joined #ruby
arya has quit []
heftig has joined #ruby
tobinharris has joined #ruby
banisterfiend has joined #ruby
zigomir has quit [Quit: zigomir]
Weazy has quit [Ping timeout: 252 seconds]
hackeron has joined #ruby
wermel has joined #ruby
topek has quit [Quit: Leaving.]
topek has joined #ruby
Russell^^ has quit [Quit: Russell^^]
Playground has joined #ruby
Naeblis has joined #ruby
CodeVision has quit [Quit: WeeChat 0.3.9.2]
lolcathost has quit [Read error: Connection reset by peer]
S3kx has joined #ruby
tr4656 has quit [Ping timeout: 255 seconds]
tr4656 has joined #ruby
eka has quit [Remote host closed the connection]
S2kx has quit [Read error: Operation timed out]
bwlang has joined #ruby
Weazy has joined #ruby
browndawg has joined #ruby
perun_ has quit [Ping timeout: 252 seconds]
eka has joined #ruby
gbchaosmaster has quit [Read error: Operation timed out]
NiteRain has quit [Ping timeout: 246 seconds]
browndawg has left #ruby [#ruby]
Playground is now known as lolcathost
lady_anna has joined #ruby
lady_anna has quit [Client Quit]
browndawg has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
leonardorb has quit [Remote host closed the connection]
arya has joined #ruby
elico has joined #ruby
nomenkun has joined #ruby
berserkr has quit [Quit: Leaving.]
berserkr has joined #ruby
jackbrownhf has quit [Quit: Sto andando via]
elico has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 255 seconds]
u89 has quit [Remote host closed the connection]
devdazed has joined #ruby
mehdi has quit [Ping timeout: 245 seconds]
leonardorb has joined #ruby
perun_ has joined #ruby
habib has joined #ruby
<habib> hey everyone
seoaqua has joined #ruby
banisterfiend has quit [Read error: Connection timed out]
eka has quit [Remote host closed the connection]
ExxKA has quit [Quit: This computer has gone to sleep]
Gooder has quit [Read error: Connection reset by peer]
Gooder has joined #ruby
banisterfiend has joined #ruby
bwlang has left #ruby [#ruby]
arya has quit [Ping timeout: 244 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
vasile has joined #ruby
mathie has quit [Quit: Sleeping...]
bwlang has joined #ruby
arya has joined #ruby
Virunga has joined #ruby
_nitti has joined #ruby
mathie has joined #ruby
dmiller has joined #ruby
zeroXten has joined #ruby
<zeroXten> If you've got a Proc in a variable, is it possible to run that code in the current context? Or modify that Proc in some way?
_nitti has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
jlwestsr has joined #ruby
Jackneill has joined #ruby
Jackneill is now known as Guest85052
tobinharris has quit [Quit: tobinharris]
dmiller has quit [Ping timeout: 246 seconds]
moos3 has joined #ruby
<zeroXten> oohhh, i may have just found it
Gooder` has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
Jasko2 has joined #ruby
jlwestsr has quit [Client Quit]
pcarrier has quit []
renanoronfle has joined #ruby
Guest85052 has quit [Read error: Connection reset by peer]
ttt has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
barraponto has joined #ruby
<barraponto> can i tell what test failed when looking at a travis report?
<barraponto> https://travis-ci.org/middleman/middleman/builds/3480121 no idea where to look for this info
<zeroXten> or not
Gooder has quit [Read error: Connection reset by peer]
morf has quit [Quit: eof]
khimera has quit [Quit: khimera]
<JonnieCache> barraponto: click on the build number
<JonnieCache> barraponto: the red link
<barraponto> hmmm
<barraponto> JonnieCache: tks
ffranz has quit [Quit: Leaving]
Gooder` has quit [Ping timeout: 256 seconds]
Gooder` has joined #ruby
bwlang has left #ruby [#ruby]
d34th4ck3r has quit [Quit: Konversation terminated!]
ffranz has joined #ruby
s1n4 has joined #ruby
<barraponto> what might possibly be wrong here? https://travis-ci.org/middleman/middleman/jobs/3548282
ikaros has joined #ruby
ttt has joined #ruby
miso1337 has joined #ruby
mark_locklear has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
maletor has quit [Quit: Computer has gone to sleep.]
[Neurotic] has quit [Remote host closed the connection]
samphippen has joined #ruby
the_hack has quit [Quit: Computer has gone to sleep.]
bwlang has joined #ruby
kpshek has joined #ruby
kpshek has quit [Client Quit]
timonv has joined #ruby
mpereira has joined #ruby
tobinharris has joined #ruby
bwlang has left #ruby [#ruby]
u89 has joined #ruby
imami|afk is now known as banseljaj
ttt has quit [Remote host closed the connection]
cakehero has joined #ruby
cpruitt has joined #ruby
seoaqua has left #ruby ["离开"]
mathie has quit [Quit: Sleeping...]
jamesaxl has joined #ruby
Jackneill has joined #ruby
Jackneill is now known as Guest39199
answer_42 has joined #ruby
jaygen has joined #ruby
devdazed has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
timonv has quit [Remote host closed the connection]
devdazed has joined #ruby
KevinSjoberg has joined #ruby
pcarrier_ has joined #ruby
jackbrownhf has joined #ruby
berserkr has quit [Quit: Leaving.]
<oqa> barraponto: have you tried bundle install --verbose
pcarrier_ is now known as pcarrier
samphippen has quit [Quit: Computer has gone to sleep.]
Goles has quit [Quit: Computer has gone to sleep.]
jlwestsr has joined #ruby
<barraponto> oqa: previous commit built perfectly. i only changed a test in the most subtle way...
<barraponto> oqa: is there a way to rerun the tests?
danshultz has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 265 seconds]
<CamonZ> does an ensure block gets executed even if an exception is raised on its rescue block?
swex_ has joined #ruby
banisterfiend has joined #ruby
s1n4 has quit [Quit: leaving]
kil0byte_ has joined #ruby
_nitti has joined #ruby
tonytonyjan has joined #ruby
miso1337 has quit [Ping timeout: 276 seconds]
osvico has joined #ruby
swex has quit [Ping timeout: 246 seconds]
miso1337 has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
tommyvyo has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
the_hack has joined #ruby
tommyvyo_ has joined #ruby
timonv has joined #ruby
ryez has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
ninegrid has quit [Read error: Connection reset by peer]
dr_bob has quit [Quit: Leaving.]
peneconleche has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
ryez has left #ruby [#ruby]
ryez has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
dr_bob has joined #ruby
timonv has quit [Remote host closed the connection]
a_a_g1 has joined #ruby
jeffreybaird has joined #ruby
jackbrownhf has quit [Quit: Sto andando via]
a_a_g has quit [Ping timeout: 244 seconds]
techhelp has joined #ruby
matrixise has quit [Ping timeout: 264 seconds]
a_a_g1 has quit [Client Quit]
rweng has quit [Quit: rweng]
philcrissman has joined #ruby
matrixise has joined #ruby
samphippen has joined #ruby
carloslopes has quit [Remote host closed the connection]
nomenkun_ has joined #ruby
tombar has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
samphippen has quit [Client Quit]
habib has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
leonardorb has quit [Remote host closed the connection]
mmitchell has joined #ruby
aquaranto has joined #ruby
willob has joined #ruby
Gooder` has quit [Ping timeout: 252 seconds]
ryez has quit [Ping timeout: 248 seconds]
timonv has joined #ruby
buibex has joined #ruby
<shevy> what
barraponto has left #ruby [#ruby]
bbttxu has joined #ruby
<shevy> you raise an exception within a rescue clause?
iamjarvo has joined #ruby
matrixise has quit [Ping timeout: 250 seconds]
ananthakumaran has quit [Quit: Leaving.]
<m4rtijn> hehe
swex has joined #ruby
<m4rtijn> a collegue of mine did that once.. and commited it to our git branch..
<m4rtijn> cost him 1 euro
matrixise has joined #ruby
jharris has joined #ruby
swex_ has quit [Ping timeout: 252 seconds]
<shevy> CamonZ, seems to do http://pastie.org/5494108
leonardorb has joined #ruby
<shevy> but this is the path of madness
<CamonZ> shevy: yes; thanks. I already tried it on this end as well
<CamonZ> shevy: it's for a resque job that uses resque-retry which catches the Resque::Failure in order to re-schedule the retry
<CamonZ> shevy: but in this particular case I need to do some cleanup before the job ends to reset the processing status to false so it can perform the job again
<shevy> hehehe
<shevy> sounds like a big office, where a paper must be written, but everyone sends it to another delegate :D
<shevy> "you write this... no, you do! no... I give it to john..."
<CamonZ> shevy: hehehehe, nah, it's a small startup actually
GoGoGarrett has joined #ruby
<CamonZ> but the idea to use resque-retry was because since it's a job that connects to the internet there's a lot of transient connection errors
NiteRain has joined #ruby
kpshek has joined #ruby
DrShoggoth has joined #ruby
ryez has joined #ruby
nari has joined #ruby
eka has joined #ruby
postmodern has quit [Quit: Leaving]
solidoodlesuppor has joined #ruby
binaryplease has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
eka has quit [Read error: Connection reset by peer]
GoGoGarrett has quit [Remote host closed the connection]
eka has joined #ruby
tonytonyjan is now known as Jian
Jian is now known as tonytonyjan
schaary has quit [Quit: Leaving.]
carloslopes has joined #ruby
Goles has joined #ruby
arya has quit []
hsbt_away is now known as hsbt
Goles has quit [Max SendQ exceeded]
icooba has quit [Read error: Connection reset by peer]
adamnbowen has joined #ruby
Goles has joined #ruby
wdf has joined #ruby
icooba has joined #ruby
muloka has joined #ruby
tonytonyjan has quit [Quit: Reconnecting]
tonytonyjan has joined #ruby
skaczor has joined #ruby
jlast has joined #ruby
ryez has quit [Read error: Connection reset by peer]
DaltonUS has joined #ruby
peneconleche has quit [Quit: Linkinus - http://linkinus.com]
ryez has joined #ruby
DaltonUS has quit [Client Quit]
carloslopes has quit [Ping timeout: 265 seconds]
h8R has quit [Read error: Connection reset by peer]
DaltonUS has joined #ruby
ryez has quit [Client Quit]
banseljaj is now known as imami|afk
khimera has joined #ruby
havenn has joined #ruby
wdf has quit [Ping timeout: 245 seconds]
Cicloid has joined #ruby
BiHi_ has joined #ruby
clj_newb has quit [Ping timeout: 264 seconds]
BiHi has quit [Read error: Connection reset by peer]
GoGoGarrett has joined #ruby
tomku has quit [Read error: Operation timed out]
tobinharris has quit [Quit: tobinharris]
Coolhand|laptop has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
binaryplease has quit [Read error: Operation timed out]
sweet_kid has quit [Quit: ZNC - http://znc.in]
Proshot has quit [Quit: Leaving]
maesbn has quit [Remote host closed the connection]
Goles has quit [Read error: Connection reset by peer]
rweng has joined #ruby
ananthakumaran has joined #ruby
geekbri has joined #ruby
techhelp has quit [Quit: This computer has gone to sleep]
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
timmow has quit [Quit: is having a nap]
rweng has quit [Client Quit]
sailias has joined #ruby
dr_bob has quit [Quit: Leaving.]
_nitti has joined #ruby
sweet_kid has joined #ruby
clj_newb has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
joeycarmello has joined #ruby
chimkan has joined #ruby
xyzodiac has joined #ruby
osvico has quit [Ping timeout: 255 seconds]
baphled has joined #ruby
dr_bob has joined #ruby
Goles has joined #ruby
phantasm66 has joined #ruby
nathankleyn has joined #ruby
mengu has joined #ruby
chussenot has quit [Quit: chussenot]
g_bleezy has quit [Ping timeout: 240 seconds]
tjbiddle has joined #ruby
binaryplease has joined #ruby
mikepack_ has joined #ruby
chussenot has joined #ruby
nilg has joined #ruby
the_hack has quit [Quit: Leaving...]
baphled has quit [Ping timeout: 260 seconds]
stopbit has joined #ruby
Morkel has joined #ruby
arya has joined #ruby
nilg has quit [Remote host closed the connection]
generalissimo has joined #ruby
joeycarmello has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
nari has quit [Ping timeout: 260 seconds]
burlesona has joined #ruby
nathankleyn has left #ruby [#ruby]
nomenkun_ has quit [Remote host closed the connection]
<sonne> when exactly does ruby's garbage collector get to work?
nomenkun has joined #ruby
browndawg has quit [Quit: Leaving.]
CodeVision has joined #ruby
<sonne> i have a class that does Tempfile.new on initialize(), and the tempfile persists on the file system.... until i create another object of that class, at that point the file gets deleted (which is what happens when Tempfile is GCed, according to doc)
<hoelzro> sonne: it's nondeterministic
<sonne> hoelzro, what do you mean?
<hoelzro> it means you can't rely on it running at any particular point in your program
<_nitti> i'm pretty sure there's a method on GC that will let you manually trigger collection
<hoelzro> you can only rely on it running *sometime*
<hoelzro> there is
<sonne> well, i would hope that the GC doesn't run at least until my object is destroyed
<_nitti> GC::start
<sonne> but the old object is still there, why should it be GCed?
<_nitti> GC::disable
<hoelzro> sonne: the GC will clean up your object only after there are no more strong references to it
<_nitti> yes
<_nitti> it won't collect your object if you still have references out somewhere
<hoelzro> if you need to mess with GC::*, you're likely doing something wrong.
<sonne> sec, let me pastebin
<_nitti> the whole point of GC is that you don't have to screw with it ;)
<hoelzro> exactly
jackbrownhf has quit [Remote host closed the connection]
miso1337 has quit [Quit: afk]
<hoelzro> sonne: you should keep a reference to original Tempfile object
<sonne> mind that the file doesn't get deleted at any point during the code, until i create the second instance
<sonne> hoelzro, meaning i shouldn't just append .path, but do like @a = Tempfile.new(), @a_path = @a.path?
<hoelzro> unless you do, there is no guarantee that the file will exist at any point in the program
<hoelzro> sonne: sort of. why bother with @a_path = @a.path?
<sonne> to avoid typing .path every time i use that... just comfort
<hoelzro> what about def path @.path end?
<hoelzro> s/@/@a/
tagrudev has quit [Quit: Me = Awesome]
<sonne> hoelzro, that sounds dirty :P
<sonne> but i see how that can be an option as well
tommyvyo has quit [Ping timeout: 240 seconds]
tommyvyo_ is now known as tommyvyo
<sonne> hoelzro, with the def path trick i would reference to it as self.path right?
ikaros_ has joined #ruby
<hoelzro> or just path
<hoelzro> but yes =)
<sonne> cheers :)
Phoop has quit [Quit: Phoop]
theRoUS has joined #ruby
<sonne> great! works now!
SCommette has joined #ruby
<hoelzro> =)
joeycarmello has quit [Remote host closed the connection]
lolcathost has quit [Ping timeout: 276 seconds]
mark_locklear has quit [Remote host closed the connection]
banisterfiend is now known as kirill
pu22l3r_ has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
ikaros has quit [Ping timeout: 244 seconds]
chussenot_ has joined #ruby
tommyvyo_ has joined #ruby
v0n has joined #ruby
chussenot has quit [Read error: Operation timed out]
chussenot_ is now known as chussenot
tjbiddle__ has joined #ruby
tobinharris has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle__ is now known as tjbiddle
samphippen has joined #ruby
_alejandro has joined #ruby
tjbiddle_ has quit [Ping timeout: 240 seconds]
dmiller_ has joined #ruby
browndawg has joined #ruby
rhys has joined #ruby
baphled has joined #ruby
QKO has quit [Read error: Operation timed out]
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest39199 has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
Jackneill is now known as Guest73207
a_a_g has joined #ruby
burgestrand has quit [Quit: Leaving.]
jrist-afk is now known as jrist
QKO has joined #ruby
xclite has joined #ruby
hsbt is now known as hsbt_away
nomenkun has quit [Ping timeout: 252 seconds]
pavilionXP has quit [Ping timeout: 265 seconds]
buibex has quit [Remote host closed the connection]
igro has joined #ruby
sspiff has quit [Remote host closed the connection]
mpereira has quit [Ping timeout: 264 seconds]
buibex has joined #ruby
pavilionXP has joined #ruby
acampos has joined #ruby
yacks has quit [Read error: Operation timed out]
lolcathost has joined #ruby
tommyvyo_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
x82_nicole has joined #ruby
techhelp has joined #ruby
jlwestsr has quit [Ping timeout: 246 seconds]
haxrbyte has joined #ruby
baphled has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Remote host closed the connection]
kil0byte has joined #ruby
haxrbyte has joined #ruby
fmcgeough has joined #ruby
clj_newb has quit [Ping timeout: 244 seconds]
jankly has quit [Read error: Connection reset by peer]
niklasb has joined #ruby
chimkan has quit [Quit: chimkan]
jankly has joined #ruby
kil0byte_ has quit [Ping timeout: 260 seconds]
_bart has joined #ruby
matrixise has quit [Ping timeout: 264 seconds]
freeayu has quit [Remote host closed the connection]
cj3kim has joined #ruby
tommyvyo_ has joined #ruby
Takehiro has quit [Remote host closed the connection]
C0deMaver1ck has joined #ruby
cakehero has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
mafolz has quit [Remote host closed the connection]
mpereira has joined #ruby
slainer6_ is now known as slainer68
timmow has joined #ruby
m4rtijn has quit [Read error: Connection reset by peer]
a_a_g has quit [Quit: Leaving.]
hsbt_away is now known as hsbt
lolcathost has quit [Ping timeout: 252 seconds]
niklasb has quit [Quit: WeeChat 0.3.9.2]
baphled has joined #ruby
carloslopes has joined #ruby
lolcathost has joined #ruby
chanced has joined #ruby
ninegrid has joined #ruby
niklasb has joined #ruby
tjbiddle_ has joined #ruby
aetcore has joined #ruby
tommyvy__ has joined #ruby
tommyvyo_ has quit [Ping timeout: 248 seconds]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
robbyoconnor has joined #ruby
jakehow has joined #ruby
mikepack_ has quit [Remote host closed the connection]
ckrailo has joined #ruby
danneu has joined #ruby
BiHi_ has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
xpen has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
geekbri has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
clocKwize has quit [Quit: Leaving]
Goles has quit [Quit: Computer has gone to sleep.]
_carloslopes has joined #ruby
BiHi has joined #ruby
aganov has quit [Quit: aganov]
carloslopes has quit [Ping timeout: 265 seconds]
mpereira has quit [Ping timeout: 240 seconds]
joshman_ has joined #ruby
ExxKA has joined #ruby
io_syl has joined #ruby
u89 has quit [Remote host closed the connection]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
xpen has quit [Remote host closed the connection]
MrIlyas has joined #ruby
hsbt is now known as hsbt_away
davidcelis has quit [Quit: K-Lined.]
g_bleezy has joined #ruby
io_syl_ has joined #ruby
io_syl has quit [Read error: Connection reset by peer]
timonv has joined #ruby
io_syl_ is now known as io_syl
arietis has joined #ruby
piotr has quit [Ping timeout: 259 seconds]
piotr has joined #ruby
Nimsical has joined #ruby
Takehiro has joined #ruby
Goles has joined #ruby
AlwaysBCoding has joined #ruby
theRoUS has quit [Ping timeout: 245 seconds]
Goles has quit [Max SendQ exceeded]
arya_ has joined #ruby
baphled has quit [Read error: No route to host]
<AlwaysBCoding> \list
tk___ has quit [Quit: ばいばい]
AlwaysBCoding has left #ruby [#ruby]
clj_newb has joined #ruby
Goles has joined #ruby
Goles has quit [Max SendQ exceeded]
arya has quit [Ping timeout: 244 seconds]
SegFaultAX has joined #ruby
haxrbyte has quit [Ping timeout: 240 seconds]
generalissimo has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 256 seconds]
punkrawkR^Home has joined #ruby
Goles has joined #ruby
apeiros_ has quit [Remote host closed the connection]
blazes816 has joined #ruby
nateberkopec has joined #ruby
rellin has joined #ruby
u89 has joined #ruby
Goles has quit [Max SendQ exceeded]
Guest73207 is now known as Jackneill
Jackneill has quit [Changing host]
Jackneill has joined #ruby
Goles has joined #ruby
apeiros_ has joined #ruby
baroquebobcat has joined #ruby
Goles has quit [Max SendQ exceeded]
statarb3 has quit [Ping timeout: 252 seconds]
binaryplease has quit [Ping timeout: 252 seconds]
arya_ is now known as arya
piotr_ has joined #ruby
buibex has quit [Remote host closed the connection]
hoelzro is now known as hoelzro|away
Goles has joined #ruby
piotr has quit [Ping timeout: 242 seconds]
Goles has quit [Max SendQ exceeded]
Goles has joined #ruby
apeiros_ has quit [Ping timeout: 264 seconds]
buibex has joined #ruby
Goles has quit [Max SendQ exceeded]
berserkr has joined #ruby
jrajav has joined #ruby
theRoUS has joined #ruby
Goles has joined #ruby
Goles has quit [Max SendQ exceeded]
Goles has joined #ruby
Goles has quit [Max SendQ exceeded]
tobinharris has quit [Quit: tobinharris]
nemesit|osx has joined #ruby
_bart has quit [Read error: Operation timed out]
Goles has joined #ruby
punkrawkR^Home has quit [Ping timeout: 244 seconds]
tobinharris has joined #ruby
nemesit has quit [Ping timeout: 248 seconds]
pyr0commie has joined #ruby
Goles has quit [Max SendQ exceeded]
Ankhers has joined #ruby
nemesit|osx has quit [Client Quit]
nemesit has joined #ruby
Hanmac has joined #ruby
pcarrier has quit [Ping timeout: 240 seconds]
nga4 has quit [Ping timeout: 240 seconds]
Goles has joined #ruby
davidcelis has joined #ruby
timmow has quit [Quit: has left the building]
lampe2 has joined #ruby
lolcathost has quit [Ping timeout: 244 seconds]
rakuN has joined #ruby
lolcathost has joined #ruby
ryanlecompte has joined #ruby
robustus has joined #ruby
Naeblis has quit [Ping timeout: 255 seconds]
zemanel has joined #ruby
Naeblis has joined #ruby
yshh has quit [Remote host closed the connection]
Goles has quit [Ping timeout: 264 seconds]
pcarrier has joined #ruby
timonv has quit [Remote host closed the connection]
maletor has joined #ruby
chanced has quit [Remote host closed the connection]
friskd has quit [Quit: friskd]
eldariof has quit [Ping timeout: 240 seconds]
beneggett has joined #ruby
timonv has joined #ruby
tobinharris has quit [Quit: tobinharris]
alvaro_o has joined #ruby
hsbt_away is now known as hsbt
jekotia has joined #ruby
larissa has quit [Quit: Leaving]
twopoint718 has quit [Quit: leaving]
generalissimo has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
BoomCow has joined #ruby
Ankhers has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
bradhe has joined #ruby
ner0x has joined #ruby
buibex has quit []
d2dchat has joined #ruby
BoomCow has quit [Client Quit]
rellin has quit [Ping timeout: 255 seconds]
yaymukund has quit [Ping timeout: 256 seconds]
gbchaosmaster has joined #ruby
adeponte has joined #ruby
alexim has joined #ruby
artm has quit [Quit: artm]
hotovson has joined #ruby
BBonifield has quit [Quit: ZNC - http://znc.in]
davidcelis has quit [Quit: K-Lined.]
BBonifield has joined #ruby
_nitti has quit [Remote host closed the connection]
artm has joined #ruby
artm has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
bairui_ has joined #ruby
artm has joined #ruby
nick_h has quit [Ping timeout: 246 seconds]
quiliro has joined #ruby
cdt has quit [Quit: Ex-Chat]
nick_h has joined #ruby
lkba has joined #ruby
<quiliro> hi
<quiliro> drag&drop in Ruby Shoes
<quiliro> i can manage to drag but not drop
beneggett has quit [Quit: Computer has gone to sleep.]
brianpWins has quit [Quit: brianpWins]
jakehow has left #ruby [#ruby]
clj_newb has quit [Ping timeout: 255 seconds]
bairui has quit [Ping timeout: 276 seconds]
rhys has quit [Quit: Leaving]
hsbt is now known as hsbt_away
techhelp has quit [Quit: Leaving]
bradhe has quit [Remote host closed the connection]
_nitti_ has joined #ruby
carlyle has quit [Remote host closed the connection]
bradhe has joined #ruby
beneggett has joined #ruby
devdazed has quit [Ping timeout: 244 seconds]
bradhe has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
bradhe has joined #ruby
lolcathost has quit [Ping timeout: 248 seconds]
devdazed has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
DaltonUS has quit [Read error: Connection reset by peer]
lolcathost has joined #ruby
DaltonUS has joined #ruby
nga4 has joined #ruby
friskd has joined #ruby
dankest has joined #ruby
JonnieCache has quit [Quit: Lost terminal]
davidcelis has joined #ruby
kil0byte has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
babonk has quit [Quit: babonk]
bigkevmcd has quit [Quit: outta here]
<Virunga> Hi, could you help me with this error about json parsing? http://ideone.com/JoK4O9
headius has joined #ruby
<Virunga> The report is autogenerated by chef.
rdark has quit [Quit: leaving]
<jrajav> Where is the json?
<jrajav> Also, is the IO.read() actually returning a string? Maybe you should be checking that before sending it to JSON.parse
lampe2 has quit [Quit: Leaving.]
<Virunga> jrajav: yes it does.
<Virunga> jrajav: do you want to see the json file? It's huge.
aetcore has quit [Quit: aetcore]
<jrajav> So if you do IO.read('/var/chef/reports/chef-run-report-20121207172827.json') on the same line, you get the string?
<Virunga> Yep
<jrajav> You don't have to paste it, but I recommend passing it through this: http://jsonlint.com/
quiliro has quit [Ping timeout: 252 seconds]
<jrajav> There might be a bug on the other end- the thing that's generating the JSON
icooba has quit [Quit: Computer has gone to sleep.]
<Virunga> Oh, ok i'll try tight away
quiliro has joined #ruby
slainer68 has quit [Remote host closed the connection]
Vainoharhainen has quit [Quit: Leaving...]
<Virunga> jrajav: returned Valid JSON.
<jrajav> Huh
<Virunga> Right.
<jrajav> I'm out of ideas :P
jsilver has quit [Remote host closed the connection]
<Virunga> Damn. :)
kil0byte has joined #ruby
SeanLazer has joined #ruby
<SeanLazer> is it possible to get const_get() to not go back up the chain to Object if it doesn't find what i'm looking for in a specific module?
browndawg has quit [Ping timeout: 240 seconds]
ruby_noob has joined #ruby
evilsushi has joined #ruby
g_bleezy has quit [Remote host closed the connection]
g_bleezy has joined #ruby
g_bleezy has quit [Read error: Connection reset by peer]
DaltonUS has quit [Quit: DaltonUS]
<_nitti_> const_get(sym, inherit=false)
apeiros_ has joined #ruby
kil0byte has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
brianpWins has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros_> Beoran_: ping :)
danneu has quit [Ping timeout: 255 seconds]
theRoUS has quit [Ping timeout: 245 seconds]
<_nitti_> that's in 1.9.3
mrsolo has joined #ruby
<_nitti_> not in 1.8.7
ner0x has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
x82_nicole has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
bradhe has joined #ruby
<quiliro> anyone see the problem with http://pastebin.com/ymtdHySE ?
<apeiros_> quiliro: if you'd care to describe your problem…
<quiliro> it is a ruby shoes app
nwertman has joined #ruby
<jrajav> .. is that the problem?
<jrajav> lol
workmad3 has quit [Ping timeout: 264 seconds]
<quiliro> it is supposed to let the user click on one image and drag it to the other image.
<quiliro> if the mouse button is released on top of the other, the first one should disappear
babonk has joined #ruby
babonk has joined #ruby
babonk has quit [Changing host]
havenn has quit [Ping timeout: 244 seconds]
<quiliro> else it should return to the original place it was placed at
u89 has quit [Remote host closed the connection]
<quiliro> apeiros_: it will not release the image once clicked
gbchaosmaster has quit [Ping timeout: 265 seconds]
<quiliro> even if the mouse button is released
x82_nicole has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
ner0x has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
pyr0commie has quit [Remote host closed the connection]
_solomon has quit [Quit: _solomon]
BiHi has quit [Quit: bye]
dr_bob has quit [Quit: Leaving.]
jaygen has quit [Remote host closed the connection]
jaygen has joined #ruby
<Beoran_> hi apeiros_
hsbt_away is now known as hsbt
yshh has joined #ruby
<apeiros_> quiliro: sorry, got interrupted and will now be off
freakazoid0223 has joined #ruby
havenn has joined #ruby
headius has quit [Quit: headius]
ryanf has joined #ruby
Uranio has joined #ruby
arya has quit [Read error: Connection reset by peer]
arya has joined #ruby
timonv has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 250 seconds]
<quiliro> what do you people think about this?
<quiliro> Is this re right channel to ask?
pcarrier has quit []
<havenn> quiliro: Missed your query, might repeating (i'm curious).
<havenn> s/might/mind?
<apeiros_> quiliro: quickly glancing over your code it looks like you wrongly nested
<apeiros_> *your do blocks
jackdanger has left #ruby [#ruby]
mneorr has joined #ruby
<quiliro> it is supposed to let the user click on one image and drag it to the other image.
<quiliro> if the mouse button is released on top of the other, the first one should disappear
<quiliro> else it should return to the original place it was placed at
<quiliro> it will not release the image once clicked
r0f0 has joined #ruby
<quiliro> apeiros_: tryed changing the nesting but have the same result
dankest is now known as dankest|away
<r0f0> hi,just shring a funny video : http://www.youtube.com/watch?v=5GpOfwbFRcs
sullenel has joined #ruby
danneu has joined #ruby
<quiliro> my question is: am i doing the click and release actions correctly?
<quiliro> are they valid?
theRoUS has joined #ruby
<quiliro> used the instructions here http://www.shoesrb.com/manual/Hello.html
vlad_starkov has quit [Remote host closed the connection]
r0f0 has quit [Client Quit]
theRoUS has quit [Remote host closed the connection]
Naeblis has left #ruby ["Leaving"]
<quiliro> this is shoes https://github.com/shoes/shoes
areil has quit [Remote host closed the connection]
coliflor has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<shevy> shoes seems dead
<shevy> require 'shoes'
<shevy> Sorry, this gem currently does nothing. Team Shoes is working on Gemifying Shoes, and this is just a placeholder until then.
<shevy> http://shoes.heroku.com/ -> "This application is undergoing maintenance right now. Please check back later."
<_nitti_> that's kind of funny.
<_nitti_> shoes. shoes. shoes. shoes.
hsbt is now known as hsbt_away
pcarrier has joined #ruby
pkeni has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
<shevy> I think they should get rid of it, without _why it is just not working at all
aaronmacy has joined #ruby
<foucist> there's a shoes irc channel BTW
cakehero has joined #ruby
<foucist> shevy: so any good library should be gotten rid of when the creator stops working on it ?
alvaro_o has quit [Quit: Ex-Chat]
<shevy> foucist depends on its original quality
_nitti_ is now known as _nitti
* atmosx metallica - enter sandman
<shevy> every time a project is being taken over, the most likely result is that the new guys are less motivated with it than the original guy(s)
<shevy> rmagick - was taken over, then died
mneorr has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
<foucist> shevy: worse is better
slash_nick has joined #ruby
chussenot has quit [Quit: chussenot]
geekbri has joined #ruby
<shevy> yeah, less work and effort required :)
mneorr has joined #ruby
<foucist> anyways shoes seemed quite nice to me
<foucist> i can't speak to the underlying code though
dankest|away is now known as dankest
banjara has joined #ruby
Neomex has joined #ruby
nat2610 has joined #ruby
jrist is now known as jrist-afk
gyre007 has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
jackbrownhf has quit [Quit: Sto andando via]
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
pu22l3r_ has quit [Remote host closed the connection]
birderic has joined #ruby
dmiller_ has quit [Ping timeout: 246 seconds]
<birderic> When I use attr_accessor or attr_reader I can no longer access my objects properties. They all return nil. Does anyone know why?
vlad_starkov has joined #ruby
cakehero has joined #ruby
<waxjar> birderic, what do you mean by object properties?
yacks has joined #ruby
cakehero has quit [Client Quit]
_bart has joined #ruby
aetcore has joined #ruby
c0rn has joined #ruby
jlwestsr has joined #ruby
_nitti has quit [Remote host closed the connection]
Adget has joined #ruby
aetcore has quit [Client Quit]
chanced has joined #ruby
kil0byte has joined #ruby
love_col_ has quit [Ping timeout: 265 seconds]
carlyle has joined #ruby
eldariof has joined #ruby
Goles has joined #ruby
<shevy> birderic the object in question must be nil
ananthakumaran has quit [Quit: Leaving.]
<shevy> birderic the faulty part must be whoever reassigns to that specific instance variable
nwertman has quit [Ping timeout: 276 seconds]
<shevy> in some code, it can happen when the @foo vars were not properly initialized
<shevy> without specific code to look at, it's hard to know where the error is
mpereira has joined #ruby
chimkan has joined #ruby
jlwestsr has quit [Ping timeout: 246 seconds]
nwertman has joined #ruby
dukedave has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dukedave> It there a way to do a case, and have the when expressions evaluated against the case object?
<dukedave> case 123; when respond_to? :abs; :blah; else :bar; ?
jharris has quit [Quit: WeeChat 0.3.8]
<shevy> if you use a variable yes
<shevy> _ = 123
<shevy> case _
<shevy> hmm
<shevy> not sure respond_to? would work
<shevy> you could use // regex in a case when structure
<shevy> case 123
dash_ has quit [Ping timeout: 240 seconds]
<shevy> when /^1/
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
slainer68 has joined #ruby
<shevy> I cant remember how it works, the === equality thingy is used I think
lolcathost has joined #ruby
Zolrath has quit []
dash_ has joined #ruby
arturaz has quit [Ping timeout: 265 seconds]
<dukedave> shevy: I was hoping to use any method which returns true/false
<dukedave> shevy: yeah, it does use ===
igro has quit [Read error: Operation timed out]
<shevy> dukedave hmm no idea if that can work :)
elico has joined #ruby
<dukedave> I'll just stick to if/elsif :)
bwlang has joined #ruby
<Uranio> I'm traying to play with encoding but have a problem here
pcarrier has quit []
<Uranio> send a "thing" to google translate and bring me back another
<Uranio> a crap of curse, I gest that reach google malformed
slainer68 has quit [Ping timeout: 240 seconds]
artm_ has joined #ruby
aef has quit [Remote host closed the connection]
jlwestsr has joined #ruby
pettsson has joined #ruby
alvaro_o has joined #ruby
birderic has quit [Quit: Page closed]
artm has quit [Ping timeout: 252 seconds]
artm_ is now known as artm
blaxter has quit [Quit: foo]
slainer68 has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Client Quit]
pandres has joined #ruby
icole has joined #ruby
pcarrier has joined #ruby
<Uranio> and here you have the stupid question: 'any idea?'
Zai00 has quit [Quit: Zai00]
burlesona has quit [Remote host closed the connection]
grzywacz has quit [Ping timeout: 255 seconds]
<quiliro> shevy: a new version is comming
kil0byte has quit [Ping timeout: 255 seconds]
<shevy> \o/
<shevy> THERE IS HOPE
<quiliro> shoes is installed from git or from shoesrb.com
<shevy> Uranio no idea. I hate encoding problems in general though, if that is of any comfort to you :)
<Uranio> shevy: yeah, is comfort to know I'm now the only with a pain in the butt thanks due the encoding
ckrailo has quit [Quit: Computer has gone to sleep.]
<Uranio> we must make a club
quiliro has quit [Quit: Leaving.]
<Hanmac> shevy did you watch my video?
cascalheira has quit [Quit: Leaving...]
hsbt_away has quit [Ping timeout: 248 seconds]
burgestrand has joined #ruby
aef has joined #ruby
rakl has joined #ruby
burgestrand has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
dmerrick has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
arya has quit [Ping timeout: 255 seconds]
arya has joined #ruby
_numbers has joined #ruby
<_numbers> anyone here ever integrate ruby with sharepoint single-sign-on?
freakazoid0223 has quit [Read error: Connection reset by peer]
headius has joined #ruby
havenn has quit [Remote host closed the connection]
friskd has quit [Ping timeout: 240 seconds]
u89 has joined #ruby
Paul-Atreides has joined #ruby
Morkel_ has joined #ruby
pcarrier has quit []
kirun has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ is now known as Morkel
yaymukund has joined #ruby
jlwestsr has quit [Quit: Ex-Chat]
Tearan has joined #ruby
renanoronfle has quit [Quit: Leaving]
Neomex has quit [Quit: Neomex]
sullenel has quit [Quit: Leaving.]
pcarrier has joined #ruby
_nitti has quit [Ping timeout: 250 seconds]
ruby_noob has quit [Quit: ruby_noob]
jackbrownhf has quit [Quit: Sto andando via]
beneggett has joined #ruby
fred909 has joined #ruby
alvaro_o has joined #ruby
Paul-Atreides has quit [Quit: Page closed]
arya_ has joined #ruby
hsbt_away has joined #ruby
arya has quit [Ping timeout: 264 seconds]
headius_ has joined #ruby
headius has quit [Read error: Connection reset by peer]
headius_ is now known as headius
alex__c2022 has joined #ruby
zommi has quit [Quit: Leaving.]
pcarrier has quit []
ibash has joined #ruby
_carloslopes has quit [Remote host closed the connection]
kirill is now known as olyryk
olyryk is now known as banisterfiend
DaltonUS has joined #ruby
jharris1 has joined #ruby
rakuN has quit [Ping timeout: 260 seconds]
<shevy> Hanmac hmm not really :\ I noticed it was those creepy cartoon things, they scare me
timonv has joined #ruby
ryanf has quit [Quit: broken pipes |||]
<shevy> I grew up in the age of old tom and jerry, those new comics confuse me
ibash has quit [Client Quit]
gbchaosmaster has joined #ruby
<Hanmac> shevy its an interesting indi game
Neomex has joined #ruby
Neomex has quit [Client Quit]
Tearan has left #ruby [#ruby]
Monie has joined #ruby
dankest is now known as dankest|away
silent1mezzo has joined #ruby
u89 has quit [Ping timeout: 250 seconds]
reset has joined #ruby
u89 has joined #ruby
chanced has quit [Remote host closed the connection]
<shevy> ohhhh
<shevy> can you give the link again?
yshh has joined #ruby
wedtm has quit [Ping timeout: 265 seconds]
Morkel has quit [Quit: Morkel]
wermel has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
ebouchut has joined #ruby
rakuN has joined #ruby
<shevy> thx
filipe has quit [Read error: Connection reset by peer]
<shevy> that is so weird ... :\
silent1mezzo has left #ruby ["Leaving..."]
yshh has quit [Ping timeout: 260 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
<Hanmac> but funny gameplay
vivien_ has joined #ruby
ben225 has joined #ruby
mame0 has quit [Ping timeout: 244 seconds]
fbernier has quit [Ping timeout: 244 seconds]
jhunter has quit [Ping timeout: 252 seconds]
headius_ has joined #ruby
headius has quit [Read error: Connection reset by peer]
headius_ is now known as headius
nat2610 has quit [Quit: Leaving.]
banister_ has joined #ruby
mame0 has joined #ruby
<shevy> lol nuclear winter? reminds me of the computer game Fallout
<shevy> too bad there are so few games in ruby
beneggett has quit [Quit: Computer has gone to sleep.]
tvw has quit [Remote host closed the connection]
nat2610 has joined #ruby
psychouroboros has joined #ruby
psychouroboros has quit [Changing host]
psychouroboros has joined #ruby
psychouroboros has quit [Read error: Connection reset by peer]
psychouroboros has joined #ruby
psychouroboros has joined #ruby
psychouroboros has quit [Changing host]
g_bleezy has joined #ruby
fbernier has joined #ruby
rakuN has quit [Quit: rakuN]
workmad3 has joined #ruby
Monie has quit [*.net *.split]
alexim has quit [*.net *.split]
nick_h has quit [*.net *.split]
pkeni has quit [*.net *.split]
Adget has quit [*.net *.split]
RickSchmitty has quit [*.net *.split]
SCommette has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
Weazy has quit [*.net *.split]
tr4656 has quit [*.net *.split]
aef has quit [*.net *.split]
v0n has quit [*.net *.split]
TomRone has quit [*.net *.split]
chendo_ has quit [*.net *.split]
jbermudes has quit [*.net *.split]
kennyvb has quit [*.net *.split]
zaki has quit [*.net *.split]
ionte has quit [*.net *.split]
stnly has quit [*.net *.split]
RailWolf has quit [*.net *.split]
nazty has quit [*.net *.split]
dv_ has quit [*.net *.split]
lorn has quit [*.net *.split]
akl has quit [*.net *.split]
jrabbit has quit [*.net *.split]
m_3 has quit [*.net *.split]
tectonic has quit [*.net *.split]
bluehavana has quit [*.net *.split]
justinabrahms has quit [*.net *.split]
juha_ has quit [*.net *.split]
kkh has quit [*.net *.split]
zaiste has quit [*.net *.split]
rotor has quit [*.net *.split]
SoonerBourne has quit [*.net *.split]
Rious has quit [*.net *.split]
{^_^}_______ has quit [*.net *.split]
elliottcable has quit [*.net *.split]
dubios has quit [*.net *.split]
KRF has quit [*.net *.split]
phrame has quit [*.net *.split]
mksm has quit [*.net *.split]
undert_ has quit [*.net *.split]
karnowski has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
fatninja has quit [*.net *.split]
rapha has quit [*.net *.split]
bakedb_ has quit [*.net *.split]
JoeTheGuest has quit [*.net *.split]
happosade has quit [*.net *.split]
brian-_ has quit [*.net *.split]
willcodeforfoo has quit [*.net *.split]
psychouroboros has quit [Client Quit]
jgarvey has joined #ruby
Rix is now known as Gliner
_nitti has joined #ruby
pandres has left #ruby [#ruby]
ryanf has joined #ruby
ChampS666 has joined #ruby
timonv has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 260 seconds]
g_bleezy has quit [Ping timeout: 248 seconds]
arya has joined #ruby
Monie has joined #ruby
aef has joined #ruby
Adget has joined #ruby
pkeni has joined #ruby
nick_h has joined #ruby
alexim has joined #ruby
SCommette has joined #ruby
Weazy has joined #ruby
tr4656 has joined #ruby
RailWolf has joined #ruby
RickSchmitty has joined #ruby
jbermudes has joined #ruby
dv_ has joined #ruby
tectonic has joined #ruby
akl has joined #ruby
zaki has joined #ruby
lorn has joined #ruby
m_3 has joined #ruby
kennyvb has joined #ruby
rapha has joined #ruby
TomRone has joined #ruby
bluehavana has joined #ruby
16WABGBA3 has joined #ruby
nazty has joined #ruby
justinabrahms has joined #ruby
jrabbit has joined #ruby
karnowski has joined #ruby
ionte has joined #ruby
stnly has joined #ruby
zaiste has joined #ruby
juha_ has joined #ruby
rotor has joined #ruby
phrame has joined #ruby
kkh has joined #ruby
dubios has joined #ruby
SoonerBourne has joined #ruby
mksm has joined #ruby
Rious has joined #ruby
SecretAgent has joined #ruby
fatninja has joined #ruby
undert_ has joined #ruby
bakedb_ has joined #ruby
elliottcable has joined #ruby
JoeTheGuest has joined #ruby
{^_^}_______ has joined #ruby
KRF has joined #ruby
happosade has joined #ruby
brian-_ has joined #ruby
willcodeforfoo has joined #ruby
statarb3 has quit [Quit: Leaving]
Gliner is now known as Fewona
elliottcable has quit [Max SendQ exceeded]
SecretAgent has quit [Max SendQ exceeded]
Adget has quit [Read error: Connection reset by peer]
aef has quit [Excess Flood]
Adget has joined #ruby
SecretAgent has joined #ruby
mneorr_ has joined #ruby
elliottcable has joined #ruby
ben225 has quit [Quit: Computer has gone to sleep.]
shevy has quit [Ping timeout: 264 seconds]
slash_nick has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
mneorr has quit [Read error: Connection reset by peer]
aef has joined #ruby
wallerdev has joined #ruby
reset has quit [Quit: Leaving...]
Proshot has joined #ruby
slash_nick has joined #ruby
tombar has quit [Remote host closed the connection]
bradhe has joined #ruby
ryannielson has joined #ruby
beneggett has joined #ruby
arusso has left #ruby [#ruby]
_nitti has quit [Remote host closed the connection]
_nitti has joined #ruby
arusso has joined #ruby
jhunter has joined #ruby
Jackneill has quit [Quit: Jackneill]
thomasfedb has quit [Ping timeout: 244 seconds]
hsbt_away is now known as hsbt
BadProphet has joined #ruby
havenn has joined #ruby
thomasfedb has joined #ruby
u89 has quit [Read error: Connection reset by peer]
gridaphobe has joined #ruby
u89 has joined #ruby
shevy has joined #ruby
Eplemosen has joined #ruby
Slivka has joined #ruby
JDubs has joined #ruby
<JDubs> Hello o/
elico has quit [Remote host closed the connection]
<JDubs> Need some quick help: http://pastie.org/5495600 The code works fine when I run it from IRB calling the run method manually, however it won't print the results properly on its own
fmcgeough has quit [Quit: fmcgeough]
<banister_> JDubs: what ruby version r u on
Eplemosen has quit [Client Quit]
<JDubs> sec
jonathanwallace has joined #ruby
bradhe has quit [Remote host closed the connection]
<JDubs> 1.9.3p194
<banister_> JDubs: you're not showing 1. how you load it in irb. 2. what error you're getting
kryl99_ has joined #ruby
mahmoudimus has quit [Remote host closed the connection]
<JDubs> I'm not getting any errors. I'm just using load, and then that runs the part at the bottom...I enter some years, and then it exits without an error but doesn't print anything
<JDubs> however, if I create a Years and run Years.run manually, it works
havenn has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
havenn has joined #ruby
<waxjar> JDubs, i think you have to convert your gets.chomp to Integers first, because it makes a Range of String now?
<JDubs> ahhh i see!
Spaceboy has joined #ruby
<JDubs> let me try that
<waxjar> *Strings
<JDubs> wxjar: Yay, that worked XD
<JDubs> thanks!
<waxjar> yw :)
mengu has quit [Quit: Konversation terminated!]
aaronmacy has quit [Quit: Leaving.]
dmiller has joined #ruby
havenn has quit [Read error: No route to host]
ebouchut has quit [Quit: This computer has gone to sleep]
jrist-afk is now known as jrist
hsbt is now known as hsbt_away
ebobby has joined #ruby
bradhe has joined #ruby
ddd has quit [Quit: Leaving.]
Coolhand|laptop has quit [Ping timeout: 255 seconds]
havenn has joined #ruby
Juul has joined #ruby
nomenkun has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
ddd has joined #ruby
headius has quit [Read error: Connection reset by peer]
headius has joined #ruby
Juul has quit [Ping timeout: 260 seconds]
Coolhand has quit [Ping timeout: 252 seconds]
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Coolhand has joined #ruby
elaptics is now known as elaptics`away
workmad3 has joined #ruby
ryanf has quit [Quit: broken pipes |||]
eldariof has quit []
Spaceboy has quit []
dukedave has quit [Quit: Leaving.]
maletor has joined #ruby
Spaceboy has joined #ruby
ryanf has joined #ruby
elaptics`away is now known as elaptics
matled has quit [Ping timeout: 246 seconds]
dankest|away has quit [Quit: Leaving...]
moshee has quit [Ping timeout: 252 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
GoGoGarrett has quit [Remote host closed the connection]
frogstarr78 has quit [Ping timeout: 250 seconds]
pcarrier has joined #ruby
vivien_ has quit [Remote host closed the connection]
louism2_ has joined #ruby
ryannielson has quit [Quit: ryannielson]
aquaranto has quit [Remote host closed the connection]
Hannes3 has joined #ruby
<rakl> how do you get a begin rescue block to exit the method on rescue?
<apeiros_> return
_numbers has left #ruby [#ruby]
<Hanmac> PS: you not need begin in method def
<waxjar> ^ such a great feature
Hannes3 has quit [Remote host closed the connection]
<rakl> oh really
jonathanwallace has quit [Ping timeout: 252 seconds]
pcarrier has quit [Ping timeout: 255 seconds]
<rakl> how do you know what failure you're referring to then
ryanf_ has joined #ruby
<waxjar> you can give rescue a constant
<waxjar> for example: rescue StandardError
<waxjar> you can have multiple rescue blocks, to handle multiple exceptions
pcarrier has joined #ruby
acampos has quit [Read error: Connection reset by peer]
ryanf has quit [Quit: broken pipes |||]
ryanf_ is now known as ryanf
v0n has joined #ruby
pcarrier has quit [Client Quit]
acampos has joined #ruby
marr has joined #ruby
frogstarr78 has joined #ruby
DDAZZA has joined #ruby
Goles has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
mengu has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
ebouchut has joined #ruby
ebouchut has quit [Client Quit]
yaymukund has quit [Quit: leaving]
<lectrick> Is the only way of creating a local value dynamically in Ruby via "eval"?
vlad_starkov has joined #ruby
dankest has joined #ruby
<banister_> lectrick: that wont even work
<banister_> lectrick: you can't create locals dynamically
<lectrick> that's... seriously?
<banister_> lectrick: true story
<lectrick> is there a reason?
<Hanmac> i tryed it too, you cant
<Hanmac> its the scope
<lectrick> Local variables assigned within eval are available after eval only if they were defined outside of eval” - dave thomas
<lectrick> well, you can pass in the scope with binding
<banister_> lectrick: exactly, so you're note creating the local within the eval
<banister_> not*
jrajav has quit [Quit: I tend to be neutral about apples]
<lectrick> but that seems like... a failing, not a logical omission
<banister_> lectrick: yeah that'll only have the local alive inside the binding
<lectrick> banister_: not even that, it won't do it unless the binding already defined it
<banister_> lectrick: no, you can define it inside the binding
<banister_> lectrick: that's how pry works :)
DDAZZA has quit [Quit: Leaving]
savant has joined #ruby
<savant> Hi all
<savant> I was wondering if anyone knows how I can break out of an IO.popen block
<lectrick> banister_: but it's not available after the eval inside the binding unless it was defined before the eval inside the binding
<banister_> lectrick: of course, it's local to the binding
<savant> I'm using IO.popen to tail a file, but want to stop tailing as soon as I see a certain value in the file
<savant> and I'm passing the output to a block
sailias has quit [Quit: Leaving.]
<lectrick> banister_: well if that's the case then why isn't it available after the eval runs, which affects the binding? no?
vlad_starkov has quit [Ping timeout: 252 seconds]
<banister_> lectrick: do u know what a binding is
<lectrick> the current context or stack, no?
jarred_ has joined #ruby
<lectrick> maybe i'm not 100% clear on it yet, but that's my understanding
dukedave has joined #ruby
<banister_> it's a snapshot of the current frame, but any locals you define it it are local to the binding, they won't percolate back into the original frame the binding is a snapshot of
<lectrick> I don't understand why if I do eval('a=5'); a; that it errors
jenrzzz has joined #ruby
tvw has joined #ruby
<waxjar> savant, return or raising an exception?
timonv has joined #ruby
muloka has quit []
louism2_ has quit [Quit: This computer has gone to sleep]
<lectrick> banister_: ah so it's evaluated in the context of a "snapshot" of a stack, but NOT the actual stack
jarred_ has quit [Client Quit]
<lectrick> banister_: is this why calling 'binding' is expensive? because it's basically duping the stack or whatever?
<lectrick> banister_: ok if that's the case then why are side effects allowed if the variable is already defined before the eval?
<banister_> lectrick: yeah, it copies the stack to the heap
<savant> hmmm
<lectrick> a = 1; eval('a=5'); a #=>5, does not error
<lectrick> eval('a=5'); a #=> DOES error
dukedave has quit [Client Quit]
<banister_> lectrick: think of it as a closure
timonv_ has joined #ruby
<banister_> lectrick: proc { a = 10 }.call #=> a #=> error
<banister_> lectrick: a = 20; proc { a = 10 }.call; a #=> 10
<lectrick> aha.
<lectrick> now we're getting somewhere
forced_request has joined #ruby
<lectrick> ok that makes sense! I would still like to be able to define local variables dynamically, but now I at least understand why it won't fly out of the box
<lectrick> INTERESTING NOTE: in Ruby 1.8, this used to work :O
Nykolla_ has quit [Remote host closed the connection]
love_color_text has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
<lectrick> oooh, matz himself on this: http://www.ruby-forum.com/topic/155673
bairui_ has quit [Ping timeout: 265 seconds]
danneu has quit [Ping timeout: 252 seconds]
Monie has quit [Read error: Connection reset by peer]
<lectrick> a hokey workaround might be to define_method inside a method definition :O
Monie has joined #ruby
bairui_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
cableray has joined #ruby
DaltonUS has quit [Quit: DaltonUS]
_bart has left #ruby [#ruby]
arya has quit [Ping timeout: 264 seconds]
DaltonUS has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
tenmilestereo has joined #ruby
carlyle has quit [Remote host closed the connection]
arya has joined #ruby
icole has quit [Remote host closed the connection]
aaronmacy has joined #ruby
rezzack has joined #ruby
firefux has joined #ruby
<lectrick> actually... I can't even get that to work... and I feel dirty doing it
<lectrick> and not the good kind of dirty
<davidcelis> stop evaling
<shevy> hehehe
<shevy> stop measuring body parts!!!
arya has quit []
roger_padactor has quit [Quit: roger_padactor]
<savant> 2
<savant> oh wait
<savant> you said not to
<savant> *sad on so many levels*
vlad_starkov has joined #ruby
<savant> where are my pythonistas at?
<savant> PHP RULEZ
<waxjar> ಠ_ಠ
slash_nick has quit [Ping timeout: 248 seconds]
<savant> :)
<savant> sinatra is hard
<savant> so is writing a proper websocket
reset has joined #ruby
icole has joined #ruby
<davidcelis> ಠ_ಠ
friskd has joined #ruby
slash_nick has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
sn0wb1rd has joined #ruby
<JDubs> savant: how can anything be hard for a sevant?
<savant> well
<savant> spelling isnt
<savant> grammar though...
vlad_starkov has quit [Ping timeout: 255 seconds]
<savant> haha
ChampS666 has quit [Ping timeout: 252 seconds]
vasile has quit [Ping timeout: 264 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
joshman_ has quit [Quit: Computer has gone to sleep.]
geekbri has quit [Remote host closed the connection]
joshman_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
jenrzzz has quit [Read error: Operation timed out]
imami|afk is now known as banseljaj
evilsushi has quit [Quit: Lost terminal]
ChampS666 has joined #ruby
dankest has quit [Quit: Leaving...]
Goles has joined #ruby
nemesit has quit [Quit: Leaving...]
acook has joined #ruby
fred909_ has joined #ruby
ltsstar has joined #ruby
joshman_ has quit [Ping timeout: 260 seconds]
headius has quit [Quit: headius]
dankest has joined #ruby
fred909 has quit [Ping timeout: 252 seconds]
DrShoggoth has quit [Ping timeout: 240 seconds]
Jasko2 has quit [Read error: Connection reset by peer]
SeanLazer has quit [Quit: SeanLazer]
Jasko2 has joined #ruby
daniel_hinojosa1 has joined #ruby
sn0wb1rd_ has joined #ruby
timonv has joined #ruby
segv- has quit [Quit: segv-]
jenrzzz has joined #ruby
u89_ has joined #ruby
u89 has quit [Ping timeout: 256 seconds]
jgarvey has quit [Quit: Leaving]
L1 has joined #ruby
L1 has quit [Changing host]
L1 has joined #ruby
sn0wb1rd has quit [Ping timeout: 250 seconds]
sn0wb1rd has joined #ruby
twoism has joined #ruby
louism2_ has joined #ruby
sn0wb1rd_ has quit [Ping timeout: 265 seconds]
hotovson has quit [Remote host closed the connection]
headius has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
c0rn has quit [Quit: Computer has gone to sleep.]
answer_42 has quit [Quit: WeeChat 0.3.9.2]
tommyvy__ has quit [Quit: Computer has gone to sleep.]
Dreamer3 has joined #ruby
DrShoggoth has joined #ruby
hsbt_away is now known as hsbt
love_color_text has quit [Remote host closed the connection]
ner0x has quit [Quit: Leaving]
ruby_noob has joined #ruby
_nitti has quit [Remote host closed the connection]
love_color_text has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
pr0ton has joined #ruby
<pr0ton> i've got this strange sinatra issue
<pr0ton> my sinatra app inherits from Sinatra::Base
<pr0ton> but the error do … end blocks don't work?
<havenn> pr0ton: Gist of code and error?
beneggett has quit [Quit: Computer has gone to sleep.]
MrIlyas has quit [Read error: Connection reset by peer]
<pr0ton> havenn: it just drops the error as a HTML file
<pr0ton> which renders fine in a browser
angelixd has joined #ruby
MrIlyas has joined #ruby
<havenn> pr0ton: Are you doing?: require 'sinatra/base'
<pr0ton> why do i need to do that?
<pr0ton> if i don't write it in this modular form, it works fine
davejacobs has joined #ruby
dmiller has quit [Remote host closed the connection]
syamajala has joined #ruby
<havenn> pr0ton: If you want to inherit from Sinatra::Base you need to require 'sinatra/base' as far as I know?
<banister_> anyone here familiar with rbenv?
<banister_> how do i compile my own ruby and then tell rbenv to use it
<pr0ton> that doesn't seem to be the issue, cause i've used it without requiring that
<pr0ton> before do .. end
<pr0ton> and after do .. end work fine
<pr0ton> anything wrong with my config ?
grote has joined #ruby
medik has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
<havenn> banister_: Easier to do with chruby! :) (I don't know how you point rbenv at pre-existing Ruby): https://github.com/postmodern/chruby
Jasko2 has quit [Read error: Connection reset by peer]
Nimsical has quit [Ping timeout: 255 seconds]
Jasko2 has joined #ruby
<pr0ton> havenn: any ideas ?
EyesIsMine has quit [Read error: Connection reset by peer]
EyesIsMine has joined #ruby
tommyvyo_ has joined #ruby
<pr0ton> WTF
<havenn> banister_: I wonder if a symlink in ~/.rbenv/versions/ would do it?
<banister_> havenn: nah, paths are all screwed up
<banister_> i think..
Proshot has quit [Quit: Leaving]
hsbt is now known as hsbt_away
bwlang has left #ruby [#ruby]
louism2_ has quit [Quit: This computer has gone to sleep]
Troy^ has joined #ruby
_nitti has joined #ruby
foohey_ has joined #ruby
havenn has quit [Remote host closed the connection]
foohey_ has quit [Client Quit]
jonathanwallace has joined #ruby
havenn has joined #ruby
robbyoconnor has joined #ruby
jslowe has joined #ruby
Adget has quit [Quit: Adget]
_jds has joined #ruby
havenn has quit [Ping timeout: 255 seconds]
Russell^^ has joined #ruby
jharris1 has quit [Quit: WeeChat 0.3.8]
dmiller has joined #ruby
dmiller has quit [Read error: Connection reset by peer]
<nateberkopec> Is there any way to stop an enumerator from returning anything? I'm calling User.all and, when it's done, it takes about a minute to print the return value to the console.
bkzl has joined #ruby
havenn has joined #ruby
beneggett has joined #ruby
ikaros_ has quit [Quit: Ex-Chat]
MrIlyas has quit [Ping timeout: 255 seconds]
chrisbolton has joined #ruby
frogstarr78 has quit [Ping timeout: 255 seconds]
faoiseamh has quit []
<banister_> nateberkopec: in pry? just end your expression with ';'
mmitchell has quit [Remote host closed the connection]
banseljaj is now known as imami|afk
bkzl has quit [Client Quit]
bkzl has joined #ruby
DaltonUS has quit [Quit: DaltonUS]
bbttxu has quit [Quit: bbttxu]
generalissimo has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
blacktul_ has quit [Remote host closed the connection]
DaltonUS has joined #ruby
xcvd`` has joined #ruby
bkzl has quit [Client Quit]
Proshot has joined #ruby
syamajala has quit [Remote host closed the connection]
yaymukund has joined #ruby
DaltonUS has quit [Client Quit]
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
<yaymukund> is there a nicer way to turn a hash of options into a string for use in a system command? Here's what I have: https://gist.github.com/881b0f9b5096a9614b39
xclite has quit [Remote host closed the connection]
xcvd`` has quit [Read error: Connection reset by peer]
syamajala has joined #ruby
alanp has quit [Read error: Connection reset by peer]
headius has quit [Quit: headius]
alanp has joined #ruby
xcvd`` has joined #ruby
xcvd`` has quit [Client Quit]
jslowe has quit [Ping timeout: 276 seconds]
hsbt_away is now known as hsbt
jds__ has joined #ruby
baphled has joined #ruby
fmcgeough has joined #ruby
syamajala has quit [Remote host closed the connection]
fmcgeough has quit [Client Quit]
maletor has quit [Quit: Computer has gone to sleep.]
adamnbowen has quit [Quit: Textual IRC Client: www.textualapp.com]
bradhe has quit [Remote host closed the connection]
Jasko2 has quit [Read error: Connection reset by peer]
chimkan has quit [Quit: chimkan]
Jasko2 has joined #ruby
robustus has quit [Quit: ZNC - http://znc.in]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
twoism has quit [Remote host closed the connection]
frogstarr78 has joined #ruby
pettsson has quit [Ping timeout: 252 seconds]
willob has quit [Quit: Leaving.]
jds__ has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
chimkan_ has joined #ruby
<waxjar> yaymukund, maybe subclass of Hash that monkey-patches #to_s?
alex__c2022 has quit [Quit: alex__c2022]
<yaymukund> waxjar: if I were doing it all the time, I'd do that. it's literally this one single case
fred909_ has quit [Ping timeout: 255 seconds]
tvw has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
<waxjar> ah ok. i think that's fine then tbh
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<yaymukund> kk, I agree. just wanted to make sure I wasn't missing something obvious
<apeiros_> {file: '-f', sql: '-c', user: '-U'}.map { |k,f| opts[k] && "#{f} #{opts[k]}" }.compact.join(' ')
<apeiros_> yaymukund: also use system(*args)
<apeiros_> that avoids you being exploited by your currently rather broken quoting scheme…
nerd has quit [Ping timeout: 260 seconds]
tenmilestereo has quit [Quit: Leaving]
philcrissman has quit [Read error: Connection reset by peer]
nomenkun_ has joined #ruby
<yaymukund> oo, good catch. I should use *args
grzywacz has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
rcosta has joined #ruby
aaronmacy has quit [Quit: Leaving.]
banister_ is now known as banisterfiend
<apeiros_> still worse than *args :)
<apeiros_> but yes, not reinventing shellescaping++
nomenkun has quit [Ping timeout: 276 seconds]
stopbit has quit [Quit: Leaving]
davejacobs has quit [Quit: leaving]
jackbrownhf has quit [Quit: Sto andando via]
davejacobs has joined #ruby
baphled has quit [Ping timeout: 255 seconds]
jds__ has joined #ruby
baphled has joined #ruby
bairui_ is now known as bairui
mpereira has quit [Ping timeout: 244 seconds]
alexim has quit [Ping timeout: 255 seconds]
crueber has joined #ruby
jrist is now known as jrist-afk
ltsstar has quit [Quit: ltsstar]
tjbiddle has quit [Ping timeout: 240 seconds]
atno has quit [Read error: Connection reset by peer]
atno has joined #ruby
freakazoid0223 has joined #ruby
nat2610 has quit [Quit: Leaving.]
atno__ has joined #ruby
atno has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
grzywacz has quit [Ping timeout: 260 seconds]
nerd has joined #ruby
atno__ has joined #ruby
mikeg has joined #ruby
zemanel has quit [Quit: Remote hottie closed the connection]
matled has joined #ruby
bradhe has joined #ruby
artm has quit [Quit: artm]
acampos has quit [Ping timeout: 250 seconds]
nat2610 has joined #ruby
Jasko2 has quit [Read error: Connection reset by peer]
grzywacz has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
Jasko2 has joined #ruby
piotr_ has quit [Ping timeout: 240 seconds]
dmiller has quit [Ping timeout: 246 seconds]
kpshek has quit []
dpk is now known as dpkbis
nateberkopec has quit [Quit: Leaving...]
dpkbis is now known as dpk
chimkan_ has quit [Ping timeout: 248 seconds]
atno__ has quit [Read error: Connection reset by peer]
louism2_ has joined #ruby
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
timonv has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
rcosta has quit [Remote host closed the connection]
DrShoggoth has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
Juul has joined #ruby
igro has joined #ruby
_alejandro has quit [Remote host closed the connection]
Proshot has quit [Quit: Leaving]
caleb_io has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
nignaztic has joined #ruby
ilyam has joined #ruby
pu22l3r_ has joined #ruby
kirun_ has joined #ruby
vlad_starkov has joined #ruby
slash_nick has quit [Quit: Lost terminal]
caleb_io has quit [Client Quit]
nwertman_ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 240 seconds]
atno__ has joined #ruby
kirun has quit [Ping timeout: 245 seconds]
nwertman has quit [Ping timeout: 252 seconds]
atno__ has quit [Read error: Connection reset by peer]
aaronmacy has joined #ruby
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
ltsstar has joined #ruby
pr0ton has quit [Ping timeout: 248 seconds]
SCommette has quit [Quit: SCommette]
solidoodlesuppor has quit [Remote host closed the connection]
rellin has joined #ruby
grzywacz has quit [Quit: :wq]