vjacob has quit [Quit: This computer has gone to sleep]
elia has quit [Quit: (IRC Client: textualapp.com)]
jwoods has joined #ruby-lang
pkrnj has joined #ruby-lang
capnmalarkey has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
jwoods has quit [Read error: Connection reset by peer]
jwoods has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
jwoods has quit [Client Quit]
capnmalarkey has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
hahuang65 has joined #ruby-lang
headius has joined #ruby-lang
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
mootpointer has joined #ruby-lang
marr has quit [Ping timeout: 260 seconds]
arooni-mobile has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
rails_smith has joined #ruby-lang
workmad3 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 268 seconds]
pkrnj has joined #ruby-lang
headius has quit [Quit: headius]
joshuawscott has quit [Quit: Leaving.]
richardburton has joined #ruby-lang
bungoman has joined #ruby-lang
ryez has joined #ruby-lang
BasicObject has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
tkuchiki has joined #ruby-lang
jonahR has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
ryez has quit [Ping timeout: 250 seconds]
jonahR has quit [Read error: Connection reset by peer]
tonni has quit [Ping timeout: 264 seconds]
tonni has joined #ruby-lang
vlad_starkov has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
esad has joined #ruby-lang
jonahR has joined #ruby-lang
dhruvasagar has joined #ruby-lang
duggiefresh_ has quit [Quit: duggiefresh_]
_Bravado_ has quit [Quit: _Bravado_]
vlad_starkov has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
kstuart has joined #ruby-lang
pipework has joined #ruby-lang
duggiefresh has joined #ruby-lang
yfeldblum has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
arooni-mobile has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
jonahR has quit [Quit: jonahR]
brianpWins has joined #ruby-lang
ledestin has joined #ruby-lang
ssb123 has joined #ruby-lang
richardburton has joined #ruby-lang
duggiefresh has quit [Quit: duggiefresh]
Domon has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
wmoxam has joined #ruby-lang
guns has joined #ruby-lang
duggiefresh_ has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
duggiefresh_ has quit [Quit: duggiefresh_]
asahi has joined #ruby-lang
<asahi>
i have a Nokogiri::XML::Element called foo. When I do something like foo.search('table/tr').size, I get 3 but if I do foo.search('table/tr[1]'), it returns an empty array. am I misunderstanding something?
<asahi>
foo.search('table/tr')[1] returns an element though
lysw123 has joined #ruby-lang
duggiefresh has joined #ruby-lang
BasicObject has quit [Quit: Page closed]
anonymuse has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
cads has joined #ruby-lang
jonahR has joined #ruby-lang
mdedetrich has joined #ruby-lang
siberia has joined #ruby-lang
neurodamage has quit [Ping timeout: 256 seconds]
kurko_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Ping timeout: 268 seconds]
spuk has quit [Ping timeout: 256 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
robbyoconnor has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
jonahR has quit [Quit: jonahR]
Domon has quit [Ping timeout: 268 seconds]
Senjai has quit [Remote host closed the connection]
siberia has quit [Quit: siberia]
jsulliva_ has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
arooni-mobile has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
tshine has joined #ruby-lang
Domon has joined #ruby-lang
ikrima has joined #ruby-lang
neurodamage has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
arooni-mobile has quit [Ping timeout: 276 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
joshuawscott has joined #ruby-lang
KM|2 has quit [Read error: Connection reset by peer]
kurko_ has quit [Quit: Computer has gone to sleep.]
esad has quit [Quit: Computer has gone to sleep.]
adambeynon has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
spuk has joined #ruby-lang
siberia has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
arooni-mobile has joined #ruby-lang
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby-lang
brianpWins has joined #ruby-lang
brianpWins has quit [Ping timeout: 245 seconds]
_jpb_ has joined #ruby-lang
iliketur_ has joined #ruby-lang
momomomomo has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_jpb_ has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
duggiefresh has quit [Quit: duggiefresh]
vlad_starkov has quit [Read error: Connection reset by peer]
mdedetrich has quit [Quit: Computer has gone to sleep.]
ssb123 has quit [Remote host closed the connection]
andbutsothen has quit [Quit: andbutsothen]
soba has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
mdedetrich has joined #ruby-lang
duggiefresh_ has joined #ruby-lang
musl has quit [Quit: WeeChat 0.4.1]
duggiefresh_ has quit [Quit: duggiefresh_]
iliketur_ has quit [Quit: zzzzz…..]
duggiefresh has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
JoshuaPaling has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
mistym has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mootpointer has quit [Quit: ENOCAFFEINE.]
tshine has quit []
mootpointer has joined #ruby-lang
joast has quit [Quit: Leaving.]
charliesome has joined #ruby-lang
iliketur_ has joined #ruby-lang
duggiefresh has quit [Quit: duggiefresh]
lysw123 has quit [Quit: lysw123]
vlad_sta_ has quit [Remote host closed the connection]
Newbie0086 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
_jpb_ has joined #ruby-lang
Newbie0086 has quit [Client Quit]
_jpb_ has quit [Ping timeout: 256 seconds]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
mootpointer has quit [Quit: ENOCAFFEINE.]
bzalasky has joined #ruby-lang
zach_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
mootpointer has joined #ruby-lang
relix has joined #ruby-lang
Ch00k has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
iliketur_ has quit [Quit: zzzzz…..]
<zach_>
exit
zach_ has quit [Quit: leaving]
duard has joined #ruby-lang
dhruvasagar has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
cads has quit [Quit: Leaving]
cads has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 268 seconds]
dhruvasagar has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
bungoman has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
ffio has quit [Ping timeout: 260 seconds]
KillerFox has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dc5ala has quit [Quit: Ex-Chat]
ssb123 has joined #ruby-lang
tomzx_mac has joined #ruby-lang
rservant has joined #ruby-lang
naturtrunken has quit [Quit: naturtrunken]
dhruvasagar has quit [Ping timeout: 245 seconds]
sush24 has joined #ruby-lang
goatish_mound has joined #ruby-lang
breakingthings has joined #ruby-lang
adwhit has quit [Ping timeout: 264 seconds]
rservant has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby-lang
wallerdev has joined #ruby-lang
ffio has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
pothibo has quit [Quit: pothibo]
joshuawscott has joined #ruby-lang
joshuawscott has quit [Read error: Connection reset by peer]
joshuawscott has joined #ruby-lang
<apeiros>
maloik: as I said, use an array
jp- has joined #ruby-lang
<apeiros>
your code: `10.times do |i|; "something#{i}".whatgoeshere = 'right here';end`
<apeiros>
instead of something1, something2 etc., you have something[1], something[2] etc.
umgrossco has joined #ruby-lang
<apeiros>
and suddenly you no longer abuse variable names as a datastructure (variable names are only a convenience for the programmer - there's no reason for the interpreter to internally use names for the lookup - in the opposite, that'd be slow)
anonymuse has joined #ruby-lang
<apeiros>
so, either `something = []; 10.times do |i| something[i] = 'right here' end`
<maloik>
apeiros: hadn't thought of it like that, thanks
naturtrunken has quit [Client Quit]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
bungoman has joined #ruby-lang
<maloik>
andrewvos: you want to know what it looks like right from the start
<maloik>
so I'd include some fancy graph stuff right there on the home page
<maloik>
maybe in a bigass hero section
<maloik>
the demo is too hard to find in general
<andrewvos>
maloik: Hah I was thinking that
<andrewvos>
maloik: Thanks
<andrewvos>
maloik: How do you think I should display it/
<maloik>
maybe inside of a laptop image
soba has quit [Ping timeout: 264 seconds]
<maloik>
could be real, or could be a simple gif
<maloik>
but make it move like the real thing does
<maloik>
also: css bug in your graph popover :-)
dominikh has joined #ruby-lang
<maloik>
The demo is a bit hard to find as well
<andrewvos>
maloik: Yeah I know it's a bug in the jquery graph thing I use :(
<andrewvos>
maloik: Ok maybe I should put a link to demo at the top
<maloik>
And "Want a simple view of your sites live stats? Of course you do." could be better copy-wise, imo... try to sell it more, tell people what's different from google analytics etc
<maloik>
yea and make it a shiny button
<maloik>
also, what about privacy? I could find someone's statistics if I were to know he's using this
yatish27 has joined #ruby-lang
alekst has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<andrewvos>
maloik: Yeah well that's just the design really
<andrewvos>
maloik: Don't really care about privacy
<maloik>
fair enough :-)
barttenbrinke has joined #ruby-lang
<maloik>
I suppose it's more of a proof of concept then rather than something that could turn into a business ?
<andrewvos>
Well nah I expected people to use it
<andrewvos>
I use it
<andrewvos>
People that don't care about privacy might like a nice dash
<andrewvos>
maloik: Ok updated statistic.li with a big green button
<andrewvos>
Now, how do I display more graph stuff on the main page
<maloik>
Maybe a tiny bit smaller, but blow everything else up while you're at it
JohnBat26 has joined #ruby-lang
thebastl has quit [Ping timeout: 264 seconds]
<maloik>
smaller container width, bigger font... I forgot the name but there's this tool where you enter the width of the alfabet in the font size you want and it'll tell you how wide the content should be
barttenbrinke has quit [Remote host closed the connection]
rippa has joined #ruby-lang
shireesh has quit [Quit: Leaving]
mistym has joined #ruby-lang
stef1a_ has joined #ruby-lang
barttenbrinke has joined #ruby-lang
stef1a_ has quit [Client Quit]
siberia has quit [Quit: siberia]
richardburton has joined #ruby-lang
<maloik>
ugh, stupid zeroclipboard refusing to work
superdealloc has quit [Quit: superdealloc]
rippa has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
stef1a_ has joined #ruby-lang
thebastl has joined #ruby-lang
gix has quit [Ping timeout: 245 seconds]
<stef1a_>
I'm trying to make a Rails 4.0 app use Ruby 2.0.0. No version is specified in the Gemfile. When I put "ruby '2.0.0'" in the Gemfile I get: Your Ruby version is 2.0.0, but your Gemfile specified ruby-2.0.0-p195. How can I fix this?
cads has joined #ruby-lang
bzalasky has joined #ruby-lang
gix has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
lfox has joined #ruby-lang
davemaur_ has joined #ruby-lang
AndChat| has joined #ruby-lang
bondar has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
Banistergalaxy has quit [Ping timeout: 240 seconds]
bondar has quit [Read error: Connection reset by peer]
bondar has joined #ruby-lang
bondar has quit [Read error: Connection reset by peer]
poga has quit [Remote host closed the connection]
Ericx2x has quit [Remote host closed the connection]
hashkey has quit [Read error: Connection reset by peer]
hashkey has joined #ruby-lang
hashkey is now known as Guest51680
barttenbrinke has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
Guest51680 is now known as hashkey
rue|w has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
amcoder has quit [Quit: …quit…]
amcoder has joined #ruby-lang
amcoder has quit [Max SendQ exceeded]
poga has joined #ruby-lang
<andrewvos>
maloik: It's a nightmare. What problems you having?
<andrewvos>
maloik: Got it working recently
realDAB has quit [Quit: realDAB]
mistym has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
anonymuse has joined #ruby-lang
scmx has quit [Ping timeout: 264 seconds]
sush24 has quit [Ping timeout: 256 seconds]
VTLob has joined #ruby-lang
jwoods has joined #ruby-lang
musl has joined #ruby-lang
<sluukkonen>
wait, you can specify the ruby version in a Gemfile these days?
mistym has joined #ruby-lang
sush24 has joined #ruby-lang
naturtrunken has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
flak has joined #ruby-lang
flak is now known as Guest42145
rippa has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
pothibo has joined #ruby-lang
pothibo has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
hogeo has joined #ruby-lang
shinnya has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
yatish27 has joined #ruby-lang
<ljarvis>
sluukkonen: yes
realDAB has joined #ruby-lang
lele|w has quit [Ping timeout: 260 seconds]
yatish27 has quit [Remote host closed the connection]
ridders24 has joined #ruby-lang
<ridders24>
using gsub, how do you remove the first character of a string?
Taranis has quit [Remote host closed the connection]
<ljarvis>
"foo".sub(/./, '')
adwhit has joined #ruby-lang
<sluukkonen>
but you should probably use something like s[1..-1] instead
lele|w has joined #ruby-lang
<sluukkonen>
or s.slice!(0) if you want to modify the original string
realDAB has quit [Quit: realDAB]
lfox has quit [Quit: ZZZzzz…]
<ridders24>
ljarvis: thanks
<ljarvis>
s[0] = '' is what i would use
shinnya has quit [Ping timeout: 260 seconds]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adwhit has quit [Ping timeout: 246 seconds]
<ridders24>
ljarvis: that worked great for me. If the value I had was -0.13717867, 51.50796523 what could I use to swap those values round, so it looked like 51.50796523, -0.13717867
hogeo has quit [Remote host closed the connection]
SloggerKhan has joined #ruby-lang
stef1a_ has quit [Ping timeout: 245 seconds]
<SloggerKhan>
Is there a way to stop RVM from creating .bash_profile and .zprofile files that don't exist?
stef1a has joined #ruby-lang
workmad3 has joined #ruby-lang
<imperator>
zzak, erikh, hi
rwk1 has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
rwk1 has quit [Ping timeout: 268 seconds]
saarinen has joined #ruby-lang
tarebyte has joined #ruby-lang
musl has quit [Quit: WeeChat 0.4.1]
<yorickpeterse>
SloggerKhan: yes, use chruby :)
vlad_starkov has quit [Remote host closed the connection]
w1zeman1p has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
fedesilva has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
lfox has joined #ruby-lang
musl has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
ebouchut has joined #ruby-lang
brianpWins has joined #ruby-lang
io_syl has joined #ruby-lang
_Bravado_ has joined #ruby-lang
maxmanders has quit [Ping timeout: 260 seconds]
volty has joined #ruby-lang
leekiern_ has joined #ruby-lang
<volty>
hi, how can I just output the html content when using CGi (i mean without the 'Content-Type: text/html' and Content-Length: ####') ?
vlad_starkov has quit [Remote host closed the connection]
musl has quit [Quit: WeeChat 0.4.1]
skmp1 has joined #ruby-lang
skmp has quit [Ping timeout: 256 seconds]
LanceHaig has joined #ruby-lang
yatish27 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tylersmith has joined #ruby-lang
saarinen has quit [Quit: saarinen]
rolfb has quit [Quit: Leaving...]
yatish27_ has joined #ruby-lang
yatish27 has quit [Ping timeout: 260 seconds]
yatish27_ has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
_Bravado_ has quit [Quit: _Bravado_]
_Bravado_ has joined #ruby-lang
__butch__ has joined #ruby-lang
hahuang65 has joined #ruby-lang
thebastl has joined #ruby-lang
tarebyte has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
jonahR has joined #ruby-lang
perk11 has joined #ruby-lang
tarebyte has joined #ruby-lang
tarebyte has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
davemaur_ has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
davemaurakis has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 260 seconds]
davemaurakis has quit [Ping timeout: 268 seconds]
volty has quit [Ping timeout: 256 seconds]
intellitech has quit [Quit: SMOKE BOMB!]
itcharlie has joined #ruby-lang
skinny_much_ has joined #ruby-lang
marr123 has joined #ruby-lang
ffio has quit [Ping timeout: 240 seconds]
ericwood_ has joined #ruby-lang
ammar has joined #ruby-lang
mitchty_ has joined #ruby-lang
spuk_ has joined #ruby-lang
s0ber_ has joined #ruby-lang
whitequa1k has joined #ruby-lang
mclee2 has joined #ruby-lang
skinny_much has quit [Ping timeout: 240 seconds]
mitchty has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
ammar_ has quit [Ping timeout: 240 seconds]
ericwood has quit [Ping timeout: 240 seconds]
mclee1 has quit [Ping timeout: 240 seconds]
spuk has quit [Ping timeout: 240 seconds]
schroedinbug has quit [Ping timeout: 240 seconds]
s0ber has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 240 seconds]
whitequark has quit [Remote host closed the connection]
joevandyk has quit [Ping timeout: 240 seconds]
joevandy1 has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
s0ber_ is now known as s0ber
marr123 has quit [Client Quit]
Guest42145 has quit [Ping timeout: 248 seconds]
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
cschneid has joined #ruby-lang
Xzyx987X_ has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
davemaurakis has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 260 seconds]
<rickhull>
why is only :forward_agent showing up in the resulting hash?
pskosinski has joined #ruby-lang
schroedinbug has joined #ruby-lang
davemaurakis has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
naturtrunken has quit [Ping timeout: 264 seconds]
naturtrunken has joined #ruby-lang
mmorga_ has joined #ruby-lang
<rickhull>
nvm, PEBKAC
marr has joined #ruby-lang
thebastl has joined #ruby-lang
benanne has joined #ruby-lang
mistym has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
arooni-mobile has joined #ruby-lang
yalue has quit [Read error: Connection reset by peer]
kstuart has quit [Read error: Connection reset by peer]
ikrima has quit [Quit: Computer has gone to sleep.]
skmp has quit [Read error: Connection reset by peer]
kstuart has joined #ruby-lang
saarinen has joined #ruby-lang
realDAB has quit [Quit: realDAB]
siberia has joined #ruby-lang
clov3r has joined #ruby-lang
saarinen has quit [Quit: saarinen]
dwknoxy has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
jonahR has joined #ruby-lang
saarinen has joined #ruby-lang
skmp has joined #ruby-lang
realDAB has joined #ruby-lang
wrseward has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
adwhit has joined #ruby-lang
saarinen has quit [Quit: saarinen]
mbj has joined #ruby-lang
srwalker101 has quit [Quit: srwalker101]
yfeldblum has quit [Quit: Leaving]
srwalker101 has joined #ruby-lang
srwalker101 has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
scampbell has quit [Remote host closed the connection]
elia has joined #ruby-lang
realDAB has joined #ruby-lang
skmp has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
lfox has quit [Quit: ZZZzzz…]
saarinen has joined #ruby-lang
nofxx has quit [Ping timeout: 245 seconds]
stef1a has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
joshuairl has quit [Quit: joshuairl]
workmad3 has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
Voker57 has quit [Ping timeout: 245 seconds]
mbj has quit [Read error: Operation timed out]
arooni-mobile has quit [Ping timeout: 246 seconds]
lfox has joined #ruby-lang
Voker57 has joined #ruby-lang
mbj has joined #ruby-lang
nofxx has joined #ruby-lang
musl has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
mistym has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
Nisstyre has joined #ruby-lang
vlad_starkov has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
skmp has joined #ruby-lang
arooni-mobile has joined #ruby-lang
ikrima has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
jwoods has quit [Ping timeout: 240 seconds]
jwoods1 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
solars has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
maxmanders has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
arooni-mobile___ has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
__butch__1 has quit [Quit: Leaving.]
jwoods has joined #ruby-lang
jwoods1 has quit [Read error: Connection reset by peer]
SloggerKhan1 has joined #ruby-lang
s0ber has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 245 seconds]
SloggerKhan has quit [Ping timeout: 245 seconds]
ledestin has joined #ruby-lang
s0ber has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
naturtrunken has quit [Quit: naturtrunken]
skmp has quit [Quit: Leaving.]
davemaurakis has quit [Remote host closed the connection]
ikrima has quit [Read error: Connection reset by peer]
richardburton has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
arooni-mobile has quit [Ping timeout: 240 seconds]
vilni has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 260 seconds]
<vilni>
Hey there, I've got a loop that processes strings and saves substrings of each. I need all alpha characters to be lowercase. Does it make any difference if I call #downcase in the loop's conditional rather than when saving the substring (inside the loop)?
arooni-mobile___ has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
ikrima has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<drbrain>
vilni: if you do something like: while line = gets.downcase do … end it's no different than: while line = gets do line = line.downcase; … end
<drbrain>
there's an extra assignment in the second one, but you won't notice it (speedwise)
elia has joined #ruby-lang
<vilni>
drbrain: awesome, thank you
<workmad3>
drbrain: why not do line.downcase! ?
<drbrain>
workmad3: I wanted to minimize differences
<drbrain>
I would probably line.downcase!
<vilni>
hmm, it reads in a file for input. It probably does make more sense to downcase an entire line as they come in...ha thanks to both of you.
crudson has joined #ruby-lang
mieczyk has quit [Ping timeout: 264 seconds]
mieczyk has joined #ruby-lang
killtheliterate is now known as killthe|afk
serroft has quit [Quit: Leaving.]
postmodern has joined #ruby-lang
hashkey has quit [Quit: Leaving]
<drbrain>
not sure what is meant by that nick change
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
vlad_starkov has joined #ruby-lang
<erikh>
what
<drbrain>
erikh: "killtheliterate is now known as killthe|afk"
<erikh>
oh
<erikh>
I think he went away
Forgetful_Lion has quit [Ping timeout: 256 seconds]
sedrickcz has quit [Remote host closed the connection]
<erikh>
silly irc clients.
<drbrain>
homicidal IRC client?
<erikh>
apparently
vlad_starkov has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
mmorga_ has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
anonymuse has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
bungoman has quit [Ping timeout: 268 seconds]
anonymuse has joined #ruby-lang
jonahR has quit [Quit: jonahR]
ndrst has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Forgetful_Lion has joined #ruby-lang
kstuart has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Quit: I growing sleepy]
tomzx_mac has joined #ruby-lang
torrieri has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
iliketur_ has quit [Quit: zzzzz…..]
zachlatta has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
iliketur_ has joined #ruby-lang
itcharlie has left #ruby-lang [#ruby-lang]
zachlatta has quit [Client Quit]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
maxmanders has joined #ruby-lang
SloggerKhan1 has left #ruby-lang [#ruby-lang]
cads has quit [Ping timeout: 260 seconds]
jsullivandigs has quit [Ping timeout: 248 seconds]
maxmanders has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
tenderlove has joined #ruby-lang
fbernier has joined #ruby-lang
VTLob has quit [Quit: VTLob]
Jbean has joined #ruby-lang
realDAB has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
andbutsothen has joined #ruby-lang
riotbit has quit [Ping timeout: 264 seconds]
vilni has quit [Ping timeout: 245 seconds]
cored has joined #ruby-lang
saarinen has quit [Quit: saarinen]
richardburton has quit [Quit: Leaving.]
jwoods has quit [Quit: Leaving.]
sstrickl has quit [Quit: sstrickl]
tenderlove has quit [Remote host closed the connection]
Jbean has quit []
Jbean has joined #ruby-lang
siberia has quit [Quit: siberia]
tylersmith has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 268 seconds]
tylersmith has joined #ruby-lang
kurko_ has joined #ruby-lang
lsegal has joined #ruby-lang
tomzx_mac has quit [Read error: Connection reset by peer]