ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
* imperator installs it just cuz
<imperator> oh, wait - this is different than net-ssh apparently
fantomax has joined #ruby-lang
outoftime has quit [Quit: Leaving]
<zenspider> completely
bluepojo has quit [Ping timeout: 248 seconds]
davidbalbert is now known as davidbalber|away
gregmoreno has quit [Remote host closed the connection]
phlipper_ has joined #ruby-lang
<zenspider> ruby2c & zenweb-template released
imperator has quit [Quit: Leaving]
<erikh> zenspider: no options to supply authentication in ssh?
<zenspider> ~/.ssh/config
RantriX has quit [Remote host closed the connection]
<erikh> I know this, but sometimes it makes more sense to share this info in a script
<erikh> not a huge deal, just a nicety
<zenspider> I don't see the point of reimplementing things someone else already got right
<erikh> that's not what I'm suggesting, really; just the ability to seed -i, -l, etc, so I don't have to share ssh_configs with others who might use that script
<erikh> anyhow, not a huge deal.
<erikh> actually, just being able to seed -F would probably make us both happy
<erikh> (override the default config file)
<zenspider> then use ssh_flags
senj has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mrsolo has quit [Quit: Leaving]
CaptainJet has quit [Ping timeout: 260 seconds]
<erikh> oh, I didn't see you could override it
<erikh> cool, then.
CaptainJet has joined #ruby-lang
intellitech has joined #ruby-lang
CaptainJet has quit [Ping timeout: 245 seconds]
nitti has joined #ruby-lang
thinkdevcode has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
postmodern has quit [Quit: Leaving]
towski has quit [Remote host closed the connection]
nitti has quit [Ping timeout: 246 seconds]
thinkdevcode has joined #ruby-lang
woollyams has joined #ruby-lang
gsav has joined #ruby-lang
gsav_ has joined #ruby-lang
thone_ has quit [Ping timeout: 246 seconds]
thone has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
cosah has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 265 seconds]
lsegal has joined #ruby-lang
spuk has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.9]
thinkdevcode has quit [Remote host closed the connection]
ryanlecompte has quit [Remote host closed the connection]
Toru has joined #ruby-lang
ryanlecompte has joined #ruby-lang
ryanlecompte has quit [Remote host closed the connection]
havenn has joined #ruby-lang
achiu has joined #ruby-lang
faces has quit [Read error: Connection reset by peer]
vbatts has quit [Ping timeout: 240 seconds]
jxie has quit [Quit: leaving]
roadt has joined #ruby-lang
gsav_ has quit [Quit: Lost terminal]
gsav has quit [Quit: Lost terminal]
woollyams has quit [Quit: Computer has gone to sleep.]
gsav has joined #ruby-lang
febuiles has joined #ruby-lang
febuiles has quit [Changing host]
febuiles has joined #ruby-lang
stardiviner has joined #ruby-lang
pkrnj has quit [Ping timeout: 265 seconds]
nitti has joined #ruby-lang
pkrnj has joined #ruby-lang
datanoise has joined #ruby-lang
ilyam has quit [Quit: ilyam]
nitti has quit [Ping timeout: 240 seconds]
rebelcan has quit [Quit: leaving]
datanoise has quit [Ping timeout: 240 seconds]
bluepojo has joined #ruby-lang
woollyams has joined #ruby-lang
alvaro_o_ has joined #ruby-lang
havenn has quit [Remote host closed the connection]
havenn has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
tpope has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
alvaro_o has quit [Ping timeout: 256 seconds]
havenn has joined #ruby-lang
RandyInLA has quit [Quit: RandyInLA]
savage- has joined #ruby-lang
ilyam has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
C1337us has joined #ruby-lang
Aria has joined #ruby-lang
C1337us has left #ruby-lang [#ruby-lang]
<stardiviner> Is there some project like Awesome WM written in Ruby ?
<heftig> subtle
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<stardiviner> heftig: thanks
sailias has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
sailias has quit [Client Quit]
Carnage\ has joined #ruby-lang
catepillar has quit [Quit: leaving]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
nitti has joined #ruby-lang
fantomax has quit [Remote host closed the connection]
spuk has quit [Changing host]
spuk has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
alvaro_o_ has quit [Quit: Ex-Chat]
chessguy has joined #ruby-lang
gregmoreno has joined #ruby-lang
Carnage\ has quit []
aetcore has joined #ruby-lang
kalleth has quit [Read error: Connection reset by peer]
kalleth_ has joined #ruby-lang
tpope has joined #ruby-lang
max_dev has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
ryanf has quit [Quit: leaving]
L0L0L0L0L has quit [Ping timeout: 256 seconds]
datanoise has joined #ruby-lang
max_dev has quit [Quit: Leaving]
max_dev has joined #ruby-lang
mistym has quit [Ping timeout: 252 seconds]
catepillar has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
max_dev has quit [Quit: Leaving]
ryanf has joined #ruby-lang
jxie has joined #ruby-lang
sepp2k1 has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
kurko_ has joined #ruby-lang
thinkdevcode has joined #ruby-lang
nitti has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
Connecti0n has joined #ruby-lang
senekis has quit [Remote host closed the connection]
jxie has quit [Read error: Connection reset by peer]
nitti has quit [Ping timeout: 240 seconds]
jxie has joined #ruby-lang
kurko_ has quit [Ping timeout: 276 seconds]
kurko_ has joined #ruby-lang
ryanf has quit [Ping timeout: 246 seconds]
mwjcomputing has joined #ruby-lang
Connecti0n has quit [Read error: Connection reset by peer]
mwjcomputing has quit [Ping timeout: 240 seconds]
kurko_ has quit [Ping timeout: 255 seconds]
rohit has joined #ruby-lang
kurko_ has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
gauravag has joined #ruby-lang
faces has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mistym has quit [Remote host closed the connection]
thinkdevcode has quit [Remote host closed the connection]
nitti has joined #ruby-lang
aetcore_ has joined #ruby-lang
jxie_ has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
aetcore has quit [Ping timeout: 246 seconds]
jxie has quit [Ping timeout: 252 seconds]
Aria has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
pr0ton_ has left #ruby-lang [#ruby-lang]
krohrbaugh has quit [Ping timeout: 252 seconds]
RandyInLA has joined #ruby-lang
datanoise has joined #ruby-lang
gsav has quit [Quit: Lost terminal]
gsav has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
BinaJr has joined #ruby-lang
febuiles has quit [Quit: febuiles]
datanoise has quit [Ping timeout: 255 seconds]
aetcore has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
aetcore_ has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
max_dev has joined #ruby-lang
max_dev has quit [Client Quit]
max_develop has joined #ruby-lang
max_develop has left #ruby-lang [#ruby-lang]
irclog0 has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
BinaJr has left #ruby-lang [#ruby-lang]
BinaJr has joined #ruby-lang
kurko_ has quit [Ping timeout: 255 seconds]
Toru has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
ryanf has quit [Ping timeout: 260 seconds]
Connecti0n has joined #ruby-lang
Bosox20051 has joined #ruby-lang
thinkdevcode has joined #ruby-lang
BinaJr has left #ruby-lang [#ruby-lang]
gregmore_ has joined #ruby-lang
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 268 seconds]
cantonic_ is now known as cantonic
gregmore_ has quit [Remote host closed the connection]
nitti has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
rohit has quit [Quit: Leaving]
stiang has joined #ruby-lang
ryanf has joined #ruby-lang
gauravag has left #ruby-lang [#ruby-lang]
kurko_ has quit [Quit: Computer has gone to sleep.]
wyhaines has quit [Remote host closed the connection]
slyphon has quit [Ping timeout: 245 seconds]
thinkdevcode has quit [Remote host closed the connection]
CaptainJet has quit []
gsav has quit [Quit: Lost terminal]
gsav has joined #ruby-lang
savage- has quit [Quit: savage-]
Connecti0n has quit [Quit: Leaving]
pvh has joined #ruby-lang
toretore has joined #ruby-lang
bluepojo has quit [Quit: Leaving.]
stiang has quit [Quit: stiang]
areil has joined #ruby-lang
kurko_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
datanoise has joined #ruby-lang
rippa has joined #ruby-lang
sush24 has joined #ruby-lang
cschwartz has joined #ruby-lang
Bosox20051 has quit [Quit: Leaving]
datanoise has quit [Ping timeout: 264 seconds]
nitti has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.9]
achiu has joined #ruby-lang
achiu has quit [Client Quit]
Bosox20051 has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
achiu has joined #ruby-lang
areil_ has joined #ruby-lang
keller-ship has joined #ruby-lang
areil has quit [Ping timeout: 246 seconds]
tonni has quit [Remote host closed the connection]
WillMarshall has joined #ruby-lang
WillMarshall has quit [Remote host closed the connection]
solars has joined #ruby-lang
kurko_ has quit [Ping timeout: 255 seconds]
kurko_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
agarie has joined #ruby-lang
<Boohbah> hi! please help to fix my spaghetti code, thanks! http://pastebin.com/JP1ZfJ1z
<erikh> type vim echo.rb
<erikh> press G
<erikh> press V
<erikh> press gg
<erikh> press d
<erikh> just kidding. don't actually do that.
bfreeman has quit [Read error: Connection reset by peer]
<erikh> Boohbah: a lot of these case statements would probably be easier to read if they were just regexes that used character classes.
bfreeman has joined #ruby-lang
<Boohbah> i tihnk 'rm echo.rb' is more concise :)
<erikh> e.g., isxdigit? can probably be written like so: return c =~ /^[0-9a-f]+$/i
<erikh> :P
<Boohbah> erikh: yeah, the case statements bothered me
<Boohbah> i basically copied gnu coreutils echo.c
<erikh> right, which has a better reason for doing that
<erikh> I would be surprised if all those range comparisons are that much faster in ruby
<erikh> than a regex that is
<Boohbah> i was thinking regexes could help
<Boohbah> the octal and hex parts are the worst
areil_ has quit []
<erikh> hextobin can probably be written as c.to_i(16)
<havenn> Boohbah: 'a'.hex #=> 10; 'A'.hex #=> 10
<erikh> same with the octal version
<erikh> (just s/16/8/)
savage- has joined #ruby-lang
<erikh> Boohbah: type 'ri OptionParser' for one of a small herd of ways to simplify your option parsing
<erikh> optparse (the lib's name on disk) comes with ruby, but there are others like trollop, thor, mixlib-cli, slop, etc.
<Boohbah> i used option parser at first but it didn't behave how i wanted
<erikh> well I just gave you 5 more options
<erikh> :P
<Boohbah> e.g. 'echo.rb -e something -e'
<rue> Woo options
<Boohbah> option parser would think both -e are options
<erikh> if you need maximum flexibility, trollop is pretty liberal.
<erikh> instead of the while loop to tokenize backslashes, you might want to consider using String#gsub with a block
<erikh> if it doesn't fit your style, no big, it just might make the code a little easier to deal with.
<Boohbah> erikh: thank you
<erikh> np. have fun.
gsav has quit [Read error: Connection reset by peer]
svyatov has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
areil has joined #ruby-lang
jxie_ has quit [Ping timeout: 245 seconds]
qwerxy has joined #ruby-lang
jxie has joined #ruby-lang
nitti has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
charliesome has quit [*.net *.split]
krohrbaugh1 has quit [*.net *.split]
thone has quit [*.net *.split]
unXus has quit [*.net *.split]
ViperMaul|_ has quit [*.net *.split]
Guest26813 has quit [*.net *.split]
corundum has quit [*.net *.split]
chendo has quit [*.net *.split]
mfn has quit [*.net *.split]
vmoravec has quit [*.net *.split]
dkannan has quit [*.net *.split]
Kero has quit [*.net *.split]
joast has quit [*.net *.split]
TTilus has quit [*.net *.split]
charliesome has joined #ruby-lang
chendo has joined #ruby-lang
thone has joined #ruby-lang
ViperMaul|_ has joined #ruby-lang
mfn has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
dkannan has joined #ruby-lang
unXus has joined #ruby-lang
Guest26813 has joined #ruby-lang
vmoravec has joined #ruby-lang
corundum has joined #ruby-lang
TTilus has joined #ruby-lang
joast has joined #ruby-lang
Kero has joined #ruby-lang
pcboy_ has quit [Read error: Connection reset by peer]
pcboy_ has joined #ruby-lang
jxie_ has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
fantomax has joined #ruby-lang
fantomax has quit [Client Quit]
pcboy_ has quit [Ping timeout: 246 seconds]
pcboy_ has joined #ruby-lang
rippa has quit [Ping timeout: 260 seconds]
keller-ship has quit [Quit: Leaving]
Y_Ichiro has quit [Ping timeout: 252 seconds]
pcboy_ has quit [Read error: Connection reset by peer]
pcboy_ has joined #ruby-lang
ilyam has quit [Quit: ilyam]
rohit has joined #ruby-lang
pcboy_ has quit [Ping timeout: 260 seconds]
pcboy_ has joined #ruby-lang
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ryanf has quit [Ping timeout: 268 seconds]
pcboy_ has quit [Read error: Connection reset by peer]
stardiviner has joined #ruby-lang
nitti has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
pcboy_ has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
pcboy_ has quit [Ping timeout: 245 seconds]
pcboy_ has joined #ruby-lang
Dreamer3 has quit [Ping timeout: 246 seconds]
Dreamer3 has joined #ruby-lang
savage- has quit [Quit: savage-]
blacktulip has joined #ruby-lang
dc5ala has joined #ruby-lang
cschwartz has quit [Ping timeout: 248 seconds]
Bosox20051 has quit [Quit: Leaving]
cschwartz has joined #ruby-lang
apeiros_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
wallerdev has quit [Quit: wallerdev]
svyatov has quit [Quit: svyatov]
lele|w has quit [Ping timeout: 272 seconds]
tockitj_ has joined #ruby-lang
leopard_me has joined #ruby-lang
nitti has joined #ruby-lang
agarie has quit [Remote host closed the connection]
lele|w has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Ping timeout: 255 seconds]
apeiros_ has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros_ has quit [Ping timeout: 265 seconds]
<rohit> Misleading title! It has a whole lot more!
<rohit> I never would have known that you can dump ruby code into it's VM's machine code, that was surprising
rohit has quit [Quit: Leaving]
roadt has quit [Ping timeout: 246 seconds]
goshakkk has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
roadt has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Read error: Connection reset by peer]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Read error: Connection reset by peer]
Carnage\ has joined #ruby-lang
intinig has joined #ruby-lang
nitti has joined #ruby-lang
sush24 has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
Y_Ichiro has joined #ruby-lang
banisterfiend has joined #ruby-lang
Y_Ichiro has quit [Read error: Connection reset by peer]
francisfish has joined #ruby-lang
beiter has joined #ruby-lang
postmodern has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
banister_ has joined #ruby-lang
beiter has quit [Read error: Connection reset by peer]
beiter has joined #ruby-lang
tonni has joined #ruby-lang
robbyoconnor has joined #ruby-lang
bpuzzled has joined #ruby-lang
bpuzzled has quit [Changing host]
bpuzzled has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
<sandbags> anyone using Jeweler and come across this "No github.user found in ~/.gitconfig" issue? I've been googling it and it seems like it's using a defunct API token... I can't find a token anywhere in my account and the page on Github about it is from 2008.
banister_ has quit [Read error: Connection reset by peer]
<sandbags> ah, seems it doesn't need the token
ruby-lang784 has joined #ruby-lang
ttilley has joined #ruby-lang
ruby-lang784 has quit [Client Quit]
nitti has joined #ruby-lang
intinig has quit [Remote host closed the connection]
nitti has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
sush24 has quit [Quit: This computer has gone to sleep]
sush24 has joined #ruby-lang
areil_ has joined #ruby-lang
areil has quit [Ping timeout: 246 seconds]
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 240 seconds]
svyatov has joined #ruby-lang
banisterfiend has joined #ruby-lang
knu has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Gekz has quit [Ping timeout: 240 seconds]
sush24_ has quit [Quit: This computer has gone to sleep]
sush24 has joined #ruby-lang
pcboy_ has quit [Read error: Connection reset by peer]
pcboy_ has joined #ruby-lang
mistym has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
tonni has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
blacktulip has quit [Read error: Connection reset by peer]
bpuzzled has quit [Quit: Leaving]
blacktulip has joined #ruby-lang
pcboy_ has quit [Ping timeout: 260 seconds]
pcboy_ has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
nitti has joined #ruby-lang
leopard_me has quit [Quit: Computer has gone to sleep.]
nitti has quit [Ping timeout: 246 seconds]
<kke> how would you go about writing the most efficient huge file/stream splitter in ruby? to do something like ChunkyBacon.chunks('file.txt', :marker => '****') {|chunk| puts chunk}
lcdhoffman has joined #ruby-lang
Axsuul has quit [Ping timeout: 255 seconds]
tonni has joined #ruby-lang
rolfb has joined #ruby-lang
<masterkorp> i hate this array << var
<masterkorp> fuck this syntax
<rolfb> masterkorp: you don't have to use it
Gekz has joined #ruby-lang
Gekz has quit [Changing host]
Gekz has joined #ruby-lang
<masterkorp> i know, still hate it
<rolfb> masterkorp: why?
<masterkorp> Because its not a decent syntax. period
<rolfb> masterkorp: what should it be like?
<masterkorp> array.push(var)
<masterkorp> array[] = var
<rolfb> array[] = var seems worse than <<
<rolfb> and array.push(var) works fine
* erichmenge feels the exact opposite of masterkorp
<rolfb> i haven't really given it much thought, but i prefer sending messages rather than using operators
<apeiros> masterkorp: I disagree. arry << obj is a very nice syntax. period.
<apeiros> rolfb: << is a message.
<rolfb> apeiros: with special rules
<rolfb> sure i can do [].<< 1
<rolfb> but i can't do [] push 1
<apeiros> with syntax rules, yes. it's still a message.
<apeiros> using it in the sugared form, you can't pass multiple arguments and you can't pass a block
<rolfb> [].<< 1 << 2 << 3 << 4
<rolfb> [] << 1 << 2 << 3 << 4
<rolfb> what difference a dot makes :)
Jaded has quit [Read error: Connection reset by peer]
<apeiros> precedence can be a bitch
<rolfb> yeah
Jade has joined #ruby-lang
Jade has quit [Changing host]
Jade has joined #ruby-lang
<rolfb> [].push(1).push(2).push(3).push(4) is a lot clearer though
<rolfb> except for the lack of a good reason why you would do that
spuk has joined #ruby-lang
wyhaines has joined #ruby-lang
<banisterfiend> rolfb: [].push(1, 2, 3, 4)
<rolfb> banisterfiend: :)
svyatov has quit [Quit: svyatov]
ttilley has quit [Quit: ttilley]
beiter has quit [Ping timeout: 240 seconds]
<apeiros> it's also fugly
<apeiros> but um, yeah, whatever floats your boat
nitti has joined #ruby-lang
tonni has quit [Remote host closed the connection]
nitti has quit [Ping timeout: 246 seconds]
pbjorklund has quit [Read error: Connection reset by peer]
<rolfb> apeiros: water floats my boat
<apeiros> your boat leaks
<rolfb> oh sh*t
<rolfb> good thing i don't have a boat
pbjorklund has joined #ruby-lang
senekis has joined #ruby-lang
roadt has quit [Ping timeout: 276 seconds]
justinram has joined #ruby-lang
knu has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
beiter has joined #ruby-lang
rippa has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
vlad_starkov has joined #ruby-lang
nitti has joined #ruby-lang
roadt has joined #ruby-lang
nitti has quit [Ping timeout: 240 seconds]
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
spuk has quit [Changing host]
spuk has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
lcdhoffman has joined #ruby-lang
goshakkk has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kitallis has joined #ruby-lang
rolfb has quit [Quit: Leaving...]
enebo has joined #ruby-lang
Madis has joined #ruby-lang
methods has joined #ruby-lang
beiter has quit [Read error: Connection reset by peer]
beiter has joined #ruby-lang
ramonmaruko has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby-lang
Dreamer3 has quit [Quit: Computer has gone to sleep.]
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
voker57 has quit [Read error: Connection reset by peer]
beiter has quit [Quit: beiter]
methods has quit [Ping timeout: 252 seconds]
ramonmaruko has joined #ruby-lang
banisterfiend has joined #ruby-lang
Carnage\ has quit []
nitti has joined #ruby-lang
imperator has joined #ruby-lang
bpuzzled has joined #ruby-lang
bpuzzled has quit [Changing host]
bpuzzled has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
<imperator> hello hello
<banisterfiend> imperator: sup
<imperator> just futzing with windows stuff
* imperator looks at possible board games to fund on kickstarter
cschwartz has quit [Ping timeout: 240 seconds]
<banisterfiend> imperator: u really wanna get in on dat kickstarter huh
<imperator> hm?
<banisterfiend> free money ;)
<imperator> no, fund other projects
<banisterfiend> ah ok
wyhaines has quit [Remote host closed the connection]
<banisterfiend> imperator: did you see leisuresuit larry remake was funded through kickstarter?
<imperator> haha, awesome
<imperator> i actually bought a KS funded project called Faster Than Light for $9 or something - fun little computer game
sush24 has quit [Quit: Leaving]
sush24 has joined #ruby-lang
<imperator> erikh, you have a windows question?
pbjorklund has quit [Read error: Connection reset by peer]
slyphon has joined #ruby-lang
pbjorklund has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
gregmore_ has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
blacktulip has joined #ruby-lang
banister_ has joined #ruby-lang
leopard_me has joined #ruby-lang
leopard_me has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
wyhaines has joined #ruby-lang
<imperator> slyphon, yo
<slyphon> ohai
<slyphon> supsky?
banister_ has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
davidbalber|away is now known as davidbalbert
gregmore_ has quit [Remote host closed the connection]
jkyle has joined #ruby-lang
<imperator> just hanging, doing ffi stuff on winders - you?
<slyphon> chillin' with the boy
<slyphon> wathcing "curious george"
<slyphon> i'll make a bet he's gonna get into trouble somehow
<imperator> how old?
<slyphon> 3.5
<slyphon> heh, i should have said 15
<imperator> i saw kids that young at wreck-it ralph even
<slyphon> hahaha
<slyphon> speakin' of movies, he watched toy story for the first time
<imperator> oh? and?
<slyphon> loved it!
<slyphon> :D
<slyphon> it was great
<jkyle> what library should I use for http request/response? I was looking at open-uri and the docs seem to indicate I can do this: open("http://foo.com"), but when I do this I get a "Errno::ENOENT: No such file or directory"
<slyphon> he kept running into the other room and giving me updates
<slyphon> jkyle: you need to rewquire 'open-uri'
<slyphon> or openuri
<slyphon> i can't remember
<slyphon> imperator: we were camped out at my parents' house for a week after sandy
<imperator> oic
<imperator> forgot where you live
<slyphon> yah, long island
<jkyle> ah, hm. the doc referenced Kernel.open which said it could open http,https,ftp schemes so I thought it didn't need a require
<slyphon> jkyle: yeha, you need the require for the special sauce
<imperator> slyphon, how is it now?
<slyphon> better, it's been a total clusterfuck for a while
<slyphon> gas shortages
<slyphon> i got lucky, i found a station open w/ zero lines at 2AM on election night
<imperator> nice
<slyphon> and, y'know, don't need to drive to commute
<rue> Long island is long
gregmore_ has joined #ruby-lang
<slyphon> but man, gas shortage is probably the worst
gsav has joined #ruby-lang
<slyphon> loooooooooooooooooong
nitti has joined #ruby-lang
<imperator> "will code for gas"
<slyphon> :D
<slyphon> and the power company here was like, totally caught with its pants around its ankles
<slyphon> and then it spent a week trying to run while pulling them up
<jkyle> hm, now it times out
<slyphon> jkyle: progress!
<slyphon> which was both hilarious and frustrating
<slyphon> we have friends that were totally flooded out though, so we were lucky. my folks didn't lose power at all
<imperator> good thing they were nearby
<slyphon> yeah, indeed
<slyphon> anyway, that's the story
<jkyle> so, I know the url is good and is responsive, I'm connecting to it and sending requests with my other scrips and curl
leopard_me has joined #ruby-lang
gregmore_ has quit [Ping timeout: 248 seconds]
nitti has quit [Ping timeout: 246 seconds]
<slyphon> imperator: are you on twitter?
<imperator> jkyle, firewall maybe?
<imperator> slyphon, yup
<slyphon> what's yer nick?
<imperator> i don't post too much - djberg96
davidbalbert is now known as davidbalber|away
<rue> slyphon: imperator just stalks people
<jkyle> imperator: nope, localhost
<slyphon> haha
<rue> Goddamnit, not a single DnB channel actually plays DnB currently… closest I get is chillout-DnB (also known as shit)
<imperator> i don't really read too many tweets; once in a while i go through what i see on my home page, but not much more than that
<imperator> but, if you want to follow me, go for it :)
<imperator> slyphon, are you "slyphon" on twitter too?
<slyphon> yep
<imperator> DnB?
<slyphon> i never really tweeted too much, but then i got a job there
<slyphon> DnB?
<imperator> slyphon, i think i'm following you now - shows your real name, but that's what came up on my search
<rue> Drum and bass
<rue> slyphon: Wait what, you work for the tweetters?
<slyphon> ahhh
<slyphon> yep
<rue> FIX THIS STUFF
<slyphon> i have "joined the flock" as they say here to my chagrin
<slyphon> hahahahah
<imperator> WHY U NO USE JRUBY?!
tonni has joined #ruby-lang
<slyphon> oy vey
<imperator> :-P
<rue> Hey now, Scala is fine
<rue> For crap
<slyphon> i recently got into a whole discussion w/ the engineering manager about the messaging around that
<slyphon> ther'es still a shit-ton of ruby at twitter
<rue> slyphon: Srsly, I’ve got a list of stuff to fix like 8 tweets long
<imperator> do you know/use scala as well?
robbyoconnor has quit [Ping timeout: 255 seconds]
chittoor has joined #ruby-lang
<slyphon> imperator: i've been learning
<rue> I don’t know it, but I use it!
<slyphon> i'm still using intellij as a crutch
<rue> $PROJECT uses Scala
<slyphon> hah
<slyphon> yeah, it's better to kinda not know scala that well
<imperator> lol
<slyphon> else you start sharding everything into aspects and shit
<slyphon> it's really easy to make shit look like the rails codebase
<slyphon> "Where teh fuck does *that* come from?!"
<imperator> magic
enebo has quit [Quit: enebo]
<slyphon> but if you have discipline and don't try every fucking hammer in the toolbag, it's actually fairly pleasant
<slyphon> i can see the advantage of static typing
<slyphon> and kind of grok "monads" finally
aetcore has quit [Remote host closed the connection]
<slyphon> imperator: people ask "why scala" and i usually say "because it made everyone equally unhappy"
<imperator> i supported optional typing for ruby but the community balked
banisterfiend has joined #ruby-lang
cschwartz has joined #ruby-lang
<slyphon> yeah
<imperator> so, scala is the communism of programming languages, got it
<slyphon> pretty much
<slyphon> it's not java
<slyphon> it's not functional enough for the ZOMG-PL crowd
<slyphon> it's (not (clojure))
<slyphon> it's too statically typed for the rubyists
nertzy has joined #ruby-lang
<slyphon> i think a lot of the problem is that the people that teach scala are from the ivory tower
<imperator> oof
<slyphon> so it's like CATEGORY THEORY COMPLEXIT!!
enebo has joined #ruby-lang
<slyphon> but it doesn't have to be
<imperator> scala stole one of my ideas
<imperator> arguments with respond_to checks
<slyphon> yeah, totally
<slyphon> i learned about "type erasure" and all of a sudden it all made sense
<imperator> well, not really - i had just theorized about it in a blog post at some point, and later i saw that scala had implemented it
<slyphon> the static typing and shit is all compile time
<slyphon> i did not know this
<imperator> so, no type inferencing?
<slyphon> there are hacky ways around it
<imperator> (or does that happen at compile time?)
cschwartz has quit [Ping timeout: 260 seconds]
<slyphon> but basically once you compile the code, it checks your types, and then everything's just an object
<slyphon> because it knows that everything's correct
<slyphon> (in that sense)
<slyphon> that's where it gets confusing
enebo has quit [Client Quit]
gregmore_ has joined #ruby-lang
shtirlic has joined #ruby-lang
chittoor has quit [Quit: leaving]
CaptainJet has joined #ruby-lang
chittoor has joined #ruby-lang
gregmore_ has quit [Ping timeout: 260 seconds]
<imperator> doing any straight java?
<rippa> no, gay only
roadt has quit [Ping timeout: 268 seconds]
ilyam has joined #ruby-lang
rolfb has joined #ruby-lang
<Spaceghostc2c> rippa: That was hilarious.
shtirlic has quit [Remote host closed the connection]
<banisterfiend> rippa: pretty good
gregmor__ has joined #ruby-lang
sepp2k1 has joined #ruby-lang
wyhaines has quit [Ping timeout: 265 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
justinram has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
danishman has joined #ruby-lang
nitti has joined #ruby-lang
<imperator> better get your coat rippa
<imperator> odd behavior from CreateSymbolicLink on windows
nitti has quit [Ping timeout: 246 seconds]
<imperator> it seems that if the src doesn't exist, it still creates the symlink, and it becomes a placehold of sorts
leopard_me has quit [Quit: Computer has gone to sleep.]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
ryanf has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
Carnage\ has joined #ruby-lang
wyhaines has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Dreamer3 has joined #ruby-lang
erichmenge has quit [Quit: Arrivederci!]
erichmenge has joined #ruby-lang
Connecti0n has joined #ruby-lang
lsegal has joined #ruby-lang
imperator has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
vlad_sta_ has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
icooba has joined #ruby-lang
<sush24> kinda new here… Django: Rails :: Flask : ??
<Spaceghostc2c> sush24: Is that even a question?
<sush24> Spaceghostc2c, ok.. whats the simplest framework in ruby?
<Spaceghostc2c> sush24: For doing what?
<sush24> *web
<sush24> test
sush24 has quit [Quit: Leaving]
<Spaceghostc2c> Lol.
<erichmenge> heh
<chris2> try sinatra
sush24 has joined #ruby-lang
<erichmenge> sush24: only one of the frameworks you listed is even in Ruby
gregmore_ has joined #ruby-lang
<Spaceghostc2c> sush24: What kind of 'simple'?
<Spaceghostc2c> Simple to use? Simple as in light? Simple as in provides bare essentials?
<Spaceghostc2c> Simple to make a big damn mess that you can't crawl out of?
<erichmenge> That's my favorite kind of simple.
<sush24> Spaceghostc2c, simple to use..
<sush24> just need to pull up a quick script
<Spaceghostc2c> sush24: Rails has generators.
imperator has joined #ruby-lang
<erichmenge> sush24: What do you mean by quick script?
<sush24> erichmenge, something like this http://flask.pocoo.org/
<Spaceghostc2c> sush24: I suggest thinking of it as an application more than a script.
gregmor__ has quit [Ping timeout: 246 seconds]
<erichmenge> ^^^^, otherwise, if you're looking for the something similar to that but in Ruby http://www.sinatrarb.com/
<sush24> erichmenge, great.. that's exactly what i need
nitti has joined #ruby-lang
<imperator> it's weird hearing thunder....in november
<Spaceghostc2c> Are you sure it's not just noisy neighbors?
<imperator> heard it while walking home, so pretty sure :)
nitti has quit [Ping timeout: 246 seconds]
<Spaceghostc2c> Oh!
chittoor has quit [Quit: leaving]
Nisstyre-laptop has quit [Quit: Leaving]
<imperator> getting some hail, too
gregmoreno has quit [Remote host closed the connection]
rampantmonkey has joined #ruby-lang
blacktulip has quit [Read error: Connection reset by peer]
ilyam has quit [Ping timeout: 246 seconds]
blacktulip has joined #ruby-lang
ilyam has joined #ruby-lang
rampantmonkey has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
savage- has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
justinram has joined #ruby-lang
sush24 has quit [Ping timeout: 252 seconds]
<jkyle> how can I use method_missing to respond to messages where I don't know the set of valid messages beforehand? so I can't test, then call super? For example, this throws a systemstackerror: https://gist.github.com/4051992
ttilley has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
blacktulip has quit [Read error: Connection reset by peer]
savage- has quit [Quit: savage-]
blacktulip has joined #ruby-lang
areil_ has quit [Remote host closed the connection]
spike|spiegelr has joined #ruby-lang
spike|spiegelr has quit [Client Quit]
savage- has joined #ruby-lang
ttilley has quit [Quit: ttilley]
spike|spiegel has joined #ruby-lang
solars has joined #ruby-lang
savage- has quit [Quit: savage-]
nitti has joined #ruby-lang
brianpWins has joined #ruby-lang
nitti has quit [Ping timeout: 264 seconds]
jamjam has joined #ruby-lang
apeiros_ has joined #ruby-lang
spike|spiegel has quit [Quit: leaving]
tonni has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 265 seconds]
imperator has quit [Quit: Leaving]
lcdhoffman has quit [Quit: lcdhoffman]
topaz has quit [Ping timeout: 260 seconds]
senekis has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
comboy has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
comboy has joined #ruby-lang
tonni has joined #ruby-lang
methods has joined #ruby-lang
danishman has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rippa has quit [Ping timeout: 240 seconds]
nitti has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
havenn has quit [Remote host closed the connection]
nitti has quit [Ping timeout: 240 seconds]
setmeaway has quit [Quit: Leaving]
setmeaway has joined #ruby-lang
asahi has joined #ruby-lang
qwerxy has quit [Quit: offski]
Nisstyre-laptop has joined #ruby-lang
<asahi> hello, if I'm looping through an array, how can i get the index of the element in the current scope?
<asahi> oh each_with_index i see
havenn has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
<andrewvos> jkyle: Stop using return.
<andrewvos> jkyle: Add an else to that if and call super.
<andrewvos> jkyle: But you may want to change your method_missing signature to include a block.
<andrewvos> jkyle: Basically, do some stuff if the method has a certain name, otherwise just call super.
<andrewvos> Ok perhaps not the best link.
brianpWins has quit [Ping timeout: 248 seconds]
ruby-lang837 has joined #ruby-lang
postmodern has joined #ruby-lang
brianpWins has joined #ruby-lang
lcdhoffman has joined #ruby-lang
francisfish has joined #ruby-lang
Carnage\ has quit []
methods has quit [Quit: Leaving.]
justinram has quit [Remote host closed the connection]
asahi has quit [Quit: Leaving.]
svyatov has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
ruby-lang837 has quit [Ping timeout: 245 seconds]
volty has joined #ruby-lang
<volty> can somebody suggest me utilities (cli, gems, hints, howto's or whatever useful) to prepare epub and/or mobi out of source files (ruby, c++, etc) for my kindle?
kurko_ has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
qwerxy has joined #ruby-lang
nitti has joined #ruby-lang
senekis has joined #ruby-lang
gsav has joined #ruby-lang
PapaletA has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
tehalynn has joined #ruby-lang
tehalynn has quit [Client Quit]
ttilley has joined #ruby-lang
justinram has joined #ruby-lang
gsav has quit [Quit: Lost terminal]
tbuehlmann has quit [Remote host closed the connection]
gsav has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
blacktulip has quit [Read error: Connection reset by peer]
leopard_me has joined #ruby-lang
havenn has quit [Remote host closed the connection]
gsav has quit [Ping timeout: 265 seconds]
havenn has joined #ruby-lang
bpuzzled has left #ruby-lang ["Leaving"]
kurko_ has quit [Ping timeout: 245 seconds]
kurko_ has joined #ruby-lang
toretore has quit [Quit: Leaving]
banisterfiend has quit [Ping timeout: 256 seconds]
<firefux> why on various instance methods does ruby have multiple names for the same method?
<firefux> like map/collect for example
nertzy has quit [Quit: This computer has gone to sleep]
<volty> for the same reason that your mum calls you by a name she prefers (fux :) )
gsav has joined #ruby-lang
<firefux> volty: I can understand why your mom will call me that but both names where added at the same time(map/collect) or one was added later?
PapaletA has left #ruby-lang [#ruby-lang]
<lianj> firefux: because ruby's "principle of least surprise"
<lianj> some think Array#size should tell how much elements the array holds. some prefer #length or even #count
francisfish has quit [Remote host closed the connection]
<volty> firefux: ah! you're about the history ...
senekis has quit [Quit: leaving o/]
<firefux> ok, so is just convenience readability
qwerxy has quit [Quit: offski]
<lianj> and writability :P
<volty> i've always wondered why matz didn't add another four or five aliases for each method :)
Axsuul has joined #ruby-lang
savage- has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
<firefux> volty: to not add more confusion I guess ;)
kurko_ has joined #ruby-lang
<volty> if you ever buy an ebook go for sony or something else that supports epub, never kindle, getting crazy with this crap because of the format
<erikh> map is pretty common outside of smalltalk and collect is common in smalltalk
<erikh> you'll see this with a lot of enumerable specifically
nitti has joined #ruby-lang
<volty> as for the human language, map is more suitable than collect that resembles inject semantics
lcdhoffman has joined #ruby-lang
<volty> (ruby's inject)
nitti has quit [Ping timeout: 240 seconds]
krohrbaugh1 has quit [Quit: Leaving.]
kurko_ has quit [Ping timeout: 255 seconds]
kurko_ has joined #ruby-lang
<erikh> I'll point out at this point that reduce is an alias for inject
cyri_ has joined #ruby-lang
felipec has joined #ruby-lang
<volty> agree, inject should have been called collect, and end of the story :)
<felipec> looks like there's a bug in pastie.org syntax highlighting for bash: http://pastie.org/5358101
<felipec> see the EOF part
postmodern has quit [Quit: Leaving]
banisterfiend has joined #ruby-lang
savage- has quit [Quit: savage-]
kurko_ has quit [Quit: Computer has gone to sleep.]
Criztian has joined #ruby-lang
sphera has joined #ruby-lang
savage- has joined #ruby-lang
yxhuvud has quit [Ping timeout: 260 seconds]
Criztian has quit [Remote host closed the connection]
qwerxy has joined #ruby-lang
volty has left #ruby-lang ["Konversation terminated!"]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
lsegal has joined #ruby-lang