<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
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]
<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.]
<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]
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.]