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
petercooper has quit [Remote host closed the connection]
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
r0bby is now known as robbyoconnor
Sambalero has quit [Remote host closed the connection]
kurko_ has quit [Quit: This computer has gone to sleep]
residentwhackjob has left #ruby-lang ["to the batcave!"]
fromhet has joined #ruby-lang
Torrieri has quit [Remote host closed the connection]
nofxxxx has quit [Ping timeout: 244 seconds]
deryl has joined #ruby-lang
kurko_ has joined #ruby-lang
nofxxxx has joined #ruby-lang
postmodern has joined #ruby-lang
Sambalero has joined #ruby-lang
petercooper has joined #ruby-lang
<petercooper> Is Ruby 1.8.8 actually destined to become a full release?
fromhet has quit [Quit: fromhet]
jperry2 has joined #ruby-lang
<ryanf> petercooper: just googled it because I was curious about the state of 1.8.8
<ryanf> the first hit is a blog post by you
<petercooper> I see it referenced here and there and https://bugs.ruby-lang.org/versions/10 is still up.. but otherwise I'm not seeing good vibes.
<ryanf> from a year and a half ago
outsmartin1 has quit [Quit: Leaving.]
<ryanf> so, not very helpful :)
<petercooper> Haha, yes. I don't know anything since then. bugs.ruby-lang.org shows tickets against it from late 2011 but that's it.
bryancp has quit [Remote host closed the connection]
jperry2 has quit [Quit: jperry2]
brunocoelho has quit [Remote host closed the connection]
igotnolegs has joined #ruby-lang
pbjorklund has joined #ruby-lang
pbjorklu1d has quit [Ping timeout: 246 seconds]
igotnolegs has quit [Ping timeout: 250 seconds]
umttumt has joined #ruby-lang
gix has quit [Ping timeout: 252 seconds]
msaffitz has joined #ruby-lang
mistym has quit [Remote host closed the connection]
jperry2 has joined #ruby-lang
solars has joined #ruby-lang
gix has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
Hakon|mbp has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
deryl has quit [Quit: deryl]
kurko_ has quit [Quit: This computer has gone to sleep]
heftig has joined #ruby-lang
qpingu has quit [Quit: Leaving.]
deryl has joined #ruby-lang
retro|cz has quit [Ping timeout: 265 seconds]
igotnolegs has joined #ruby-lang
qpingu has joined #ruby-lang
Zyclops1 has joined #ruby-lang
neoesque has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
kurko_ has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 246 seconds]
perryh is now known as perry
ryez has quit [Quit: Page closed]
Nisstyre has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
savage- has quit [Remote host closed the connection]
jperry2 has quit [Quit: jperry2]
mistym has quit [Remote host closed the connection]
heftig has quit [Quit: leaving]
<zenspider> petercooper: I believe the answer is no. they argued against it on the list.
<zenspider> EY dropped maintainership of the 1.8 line. only one person was arguing FOR a 1.8.8 release and they eventually got overruled / overwhelmed.
ilyam has quit [Quit: ilyam]
Sambalero has joined #ruby-lang
<petercooper> Thanks
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
<zenspider> n/p
Z33K|Lux has quit [Ping timeout: 240 seconds]
umttumt has joined #ruby-lang
heftig has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
umttumt has quit [Remote host closed the connection]
umttumt has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
umttumt has joined #ruby-lang
stardiviner has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
hoangtran has joined #ruby-lang
mistym has quit [Remote host closed the connection]
umttumt has quit [Remote host closed the connection]
banister`sleep has quit [Read error: Connection reset by peer]
brunocoelho has joined #ruby-lang
banister`sleep has joined #ruby-lang
heftig has joined #ruby-lang
brunocoelho has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
kurko_ has quit [Quit: Saindo]
VegetableSpoon has left #ruby-lang [#ruby-lang]
VegetableSpoon has joined #ruby-lang
kurko_ has joined #ruby-lang
kurko_ has quit [Client Quit]
Dreamer3 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
plusk has quit [Quit: This computer has gone to sleep]
<erikh> oof
Zyclops1 has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
imperator has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 250 seconds]
dhruvasagar has joined #ruby-lang
ilyam has joined #ruby-lang
coryf has joined #ruby-lang
scientes has quit [Ping timeout: 264 seconds]
chimkan_ has joined #ruby-lang
chimkan_ has quit [Client Quit]
ramonmaruko has quit [Remote host closed the connection]
qpingu has quit [Quit: Leaving.]
ramonmaruko has joined #ruby-lang
savage- has joined #ruby-lang
ilyam has quit [Quit: ilyam]
savage- has quit [Remote host closed the connection]
imperator has left #ruby-lang ["Leaving"]
Xzyx987X has quit [Quit: Leaving]
stardiviner has quit [Ping timeout: 244 seconds]
kain has joined #ruby-lang
savage- has joined #ruby-lang
sailias has joined #ruby-lang
Xzyx987X has joined #ruby-lang
petercooper has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 246 seconds]
Zyclops has joined #ruby-lang
Zyclops has quit [Client Quit]
saLOUt has joined #ruby-lang
Zyclops has joined #ruby-lang
scientes has joined #ruby-lang
<erikh> HELLO FRIENDS
dhruvasagar has quit [Ping timeout: 265 seconds]
savage- has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
saLOUt has quit [Quit: Konversation terminated!]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
yxhuvud has joined #ruby-lang
stardiviner has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
<deryl> pretty bad when you hear noises and see flashlights and grab your own, and scare the crap out of your neighbors… at almost 2am
Sambalero has joined #ruby-lang
<ruskie> rofl
s0ra_h is now known as sora_h
<deryl> it wasnt pretty
brianpWins has joined #ruby-lang
l0st1 has joined #ruby-lang
coryf has quit [Remote host closed the connection]
coryf has joined #ruby-lang
jbsan has quit [Quit: jbsan]
l0st1 has quit [Quit: leaving]
Sambalero has quit [Remote host closed the connection]
akira989 has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 245 seconds]
dreinull has joined #ruby-lang
Sambalero has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
burgestrand has quit [Quit: Leaving.]
heftig has joined #ruby-lang
augustl has left #ruby-lang [#ruby-lang]
coryf has quit [Remote host closed the connection]
msaffitz has joined #ruby-lang
workmad3 has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
woollyams has quit [Quit: Computer has gone to sleep.]
woollyams has joined #ruby-lang
heftig has quit [Quit: leaving]
msaffitz has quit [Quit: Computer has gone to sleep.]
qwerxy has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
woollyams has quit [Quit: Computer has gone to sleep.]
sfifbo has joined #ruby-lang
heftig has joined #ruby-lang
sfifbo has left #ruby-lang [#ruby-lang]
sfifbo has joined #ruby-lang
sfifbo has left #ruby-lang [#ruby-lang]
workmad3 has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
charlenopires has joined #ruby-lang
perry is now known as perryh_away
sfifbo has joined #ruby-lang
sfifbo has left #ruby-lang [#ruby-lang]
workmad3 has quit [Ping timeout: 252 seconds]
fromhet has joined #ruby-lang
zmack has joined #ruby-lang
nofxxx has joined #ruby-lang
dhruvasagar has joined #ruby-lang
qwerxy has quit [Quit: offski]
nofxxxx has quit [Ping timeout: 245 seconds]
igotnolegs has quit [Quit: Computer has gone to sleep.]
scientes has quit [Read error: Operation timed out]
dc5ala has joined #ruby-lang
gsav has joined #ruby-lang
kitallis has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
toretore has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
burgestrand has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
woollyams has joined #ruby-lang
nofxxxx has joined #ruby-lang
nofxxx has quit [Ping timeout: 252 seconds]
Z33K|Lux has joined #ruby-lang
z33k|Luxx has joined #ruby-lang
outsmartin has joined #ruby-lang
mssola has joined #ruby-lang
z33k|Luxx has quit [Client Quit]
Z33K|Lux has quit [Client Quit]
kaiwren has joined #ruby-lang
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
fromhet has quit [Quit: fromhet]
<erikh> all this rspec and cucumber shit is possibly the most painful stuff I have ever used
<erikh> and I've worked with J2EE
retro|cz has quit [Ping timeout: 265 seconds]
brianpWins has quit [Quit: brianpWins]
wallerdev has quit [Quit: wallerdev]
<erikh> oh and while I'm here being a hater thor sucks too
ampersandy has joined #ruby-lang
dreinull has quit [Remote host closed the connection]
dreinull has joined #ruby-lang
DEac- has quit [Quit: leaving]
yannis has joined #ruby-lang
tonni has quit [Remote host closed the connection]
dreinull has quit [Ping timeout: 244 seconds]
<yorickpeterse> erikh: mah nigga
<yorickpeterse> It's not easy to find people who agree on all that
<banister`sleep> yorickpeterse: erikh is black?
banister`sleep is now known as banisterfiend
gnufied has joined #ruby-lang
<yorickpeterse> banisterfiend: nfi
mytrile has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
dominikh has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
dominikh has joined #ruby-lang
DEac- has joined #ruby-lang
<erikh> only on the inside
<bnagy> safer that way
DEac- has quit [Ping timeout: 248 seconds]
DEac- has joined #ruby-lang
<rue> Aalright.
<erikh> I NEED AN ADULT
cdt has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
qwerxy has joined #ruby-lang
outoftime has quit [Ping timeout: 264 seconds]
zz_chrismcg is now known as chrismcg
retro|cz has joined #ruby-lang
qwerxy has quit [Ping timeout: 244 seconds]
thone has quit [Ping timeout: 240 seconds]
qwerxy has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
thone has joined #ruby-lang
charlenopires has quit [Quit: Computer has gone to sleep.]
lorinc has joined #ruby-lang
Criztian has joined #ruby-lang
outoftime has joined #ruby-lang
xtagon has quit [Ping timeout: 252 seconds]
thisirs has joined #ruby-lang
cirwim has quit [Quit: sleeeeeep……..ping!]
ruurd has joined #ruby-lang
ryanf has quit [Quit: leaving]
tommyvyo has joined #ruby-lang
<andrewvos> My girlfriend has been made redundant today. Guess I'm going to be poor for a bit :(
tonni has joined #ruby-lang
<bnagy> ouch
neoesque has quit [Quit: Bye!]
tbuehlmann has joined #ruby-lang
<banisterfiend> andrewvos: congrats on having a girlfriend though
<andrewvos> So I'm thinking doing this just so I can piss off a friend who has like 20 more followers than me and rubs it in my face all the time. http://www.getfasttwitterfollowers.com/
<banisterfiend> :P
<andrewvos> banisterfiend: hahah thanks
<banisterfiend> andrewvos: who follows u?
<banisterfiend> just bots?
<andrewvos> banisterfiend: Old accounts that aren't active anymore
<andrewvos> banisterfiend: They don't appear to have an egg on them either
<banisterfiend> oh ok
<andrewvos> Someone talk me down!
<andrewvos> Should i do it?
<banisterfiend> i wouldn't do it
<banisterfiend> but it could be fun for the lulz i gues
<banisterfiend> andrewvos: cirwin got 500 followers overnight
<banisterfiend> andrewvos: but that was for this: cirw.in/blog/time-to-move-on
<banisterfiend> andrewvos: so ucould always invent a new programming paradigm :P
<andrewvos> For THAT?
<andrewvos> Hmmm
<banisterfiend> andrewvos: yeah, about 400 points on HN
<banisterfiend> andrewvos: and > 200 comments
<banisterfiend> he did pretty well
<andrewvos> I think we both know I'm not going to be inventing some new programming paradigm any time soon.
<banisterfiend> he put a big FOLLOW ME link on his blog page
<banisterfiend> kinda clever
<andrewvos> I got 278 points on there once, and like 10 followers :( :(
<andrewvos> I didn't have the huge follow me link though.
tommyvyo has quit [Quit: Computer has gone to sleep.]
<andrewvos> hah I have more followers than you banisterfiend
charliesome has joined #ruby-lang
<banisterfiend> probably, i dont really use twitter very much, or bother promoting it :P
<andrewvos> excuses excuses
<andrewvos> haha
justinmcp has joined #ruby-lang
<banisterfiend> hehe
<banisterfiend> andrewvos: where do u get most of your followers from do u think
<andrewvos> website, and work
<andrewvos> I have about 80 followers from my last two employers
<andrewvos> and random shit I do, I suppose
<andrewvos> 82 of the people i know personally
<andrewvos> yeah, really not sure where I actually do get those followers
Hakon|mbp has joined #ruby-lang
yumike has joined #ruby-lang
<andrewvos> Right, um, so I'm totally not doing that at all. Terrible idea. Not happening.
<andrewvos> Seriously. Also, can everone delete their #ruby-lang logs now please?
tekin has joined #ruby-lang
sepp2k has joined #ruby-lang
<banisterfiend> andrewvos: haha u just did it?
<andrewvos> NO
<andrewvos> banisterfiend: But I did write a short blog post saying how old MVC is.
<andrewvos> And that rails is a ghetto.
heftig has quit [Quit: leaving]
VegetableSpoon has quit [Quit: Leaving]
heftig has joined #ruby-lang
rolfb has joined #ruby-lang
<banisterfiend> andrewvos: sound like pretty ground-breaking topics :P
outsmartin has quit [Quit: Leaving.]
heftig_ has joined #ruby-lang
heftig has quit [Client Quit]
nertzy has joined #ruby-lang
<andrewvos> banisterfiend: I'm sure the twitter community will appreciate my work.
<andrewvos> *wink wink*
<banisterfiend> haha such a twitter whore
<andrewvos> Dude, my girlfriend has more twitter followers than me.
<andrewvos> Had to be rectified.
<banisterfiend> andrewvos: if u took twitter srsly surely u'd have something better than a pic of u wearing emo-glasses looking like u just snorted a line of coke
<banisterfiend> :P
futurechimp has joined #ruby-lang
<andrewvos> I look like I snorted coke?
<andrewvos> Oh god
<kalleth> andrewvos: 'accidentally' delete her twitter account
<kalleth> that's always fun.
<andrewvos> Ok now I'm changing that
<andrewvos> kalleth: She would literally murder me. Like with death.
<banisterfiend> andrewvos: JK, u look ok :)
<andrewvos> hehe
<andrewvos> And now?
<banisterfiend> andrewvos: haha better
<andrewvos> I don't really have sober photos.
Hakon|mbp has quit [Quit: Leaving...]
chendo_ has quit [Quit: Leaving...]
ampersandy has left #ruby-lang [#ruby-lang]
rolfb has quit [Ping timeout: 240 seconds]
ruurd has quit [Quit: Leaving...]
srbartlett has joined #ruby-lang
heftig_ is now known as heftig
Hakon|mbp has joined #ruby-lang
dmwuw has quit [Ping timeout: 248 seconds]
hoangtran has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901]]
tekin has quit [Quit: Computer has gone to sleep.]
JustinCampbell has joined #ruby-lang
tekin_ has joined #ruby-lang
nofxxx has joined #ruby-lang
nofxxxx has quit [Ping timeout: 246 seconds]
lorinc has quit [Remote host closed the connection]
jstemmer has joined #ruby-lang
Zyclops has quit [Quit: Leaving.]
Zyclops has joined #ruby-lang
tonni has quit [Remote host closed the connection]
Zyclops has quit [Ping timeout: 244 seconds]
ttilley_off is now known as ttilley
carloslopes has joined #ruby-lang
ttilley is now known as ttilley_off
Taranis has joined #ruby-lang
soahccc` is now known as soahccc
woollyams has quit [Quit: Computer has gone to sleep.]
spuk has quit [Changing host]
spuk has joined #ruby-lang
sailias has joined #ruby-lang
riffraff has joined #ruby-lang
justinmcp has quit [Ping timeout: 265 seconds]
justinmc_ has joined #ruby-lang
justinmc_ has quit [Ping timeout: 255 seconds]
justinmcp has joined #ruby-lang
kyrylo has quit [Quit: WeeChat 0.3.8]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
woollyams has joined #ruby-lang
jd is now known as Jade
ac4s3 has joined #ruby-lang
tekin_ has quit [Quit: Computer has gone to sleep.]
<rue> andrewvos: Accidentally change her @name
Criztian has quit [Remote host closed the connection]
riffraff has quit [Quit: Leaving]
<andrewvos> To what?
<yorickpeterse> obligatory sexist joke: use @kitchen
<andrewvos> badum-tish.com
<andrewvos> rue: To what?
<rue> Depends on your goals
diegoviola has quit [Ping timeout: 248 seconds]
jxie has quit [Quit: leaving]
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
outoftime has quit [Ping timeout: 246 seconds]
Axsuul has quit [Ping timeout: 245 seconds]
dc5ala has quit [Quit: Ex-Chat]
Criztian has joined #ruby-lang
tommyvyo_ has joined #ruby-lang
tekin has joined #ruby-lang
<rue> Oh, wow, (?>) -.-
<matti> rue: :)
outoftime has joined #ruby-lang
zwerg has joined #ruby-lang
brunocoelho has joined #ruby-lang
kvirani has joined #ruby-lang
mistym has joined #ruby-lang
dejongge has joined #ruby-lang
_whitelogger has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
kke has joined #ruby-lang
nofxxx has quit [Ping timeout: 245 seconds]
nofxxx has joined #ruby-lang
sailias has quit [Ping timeout: 265 seconds]
srbartlett has quit [Remote host closed the connection]
<kke> http://pastie.org/4204184 just curious, any ideas?
<banisterfiend> kke: operator precedence
<banisterfiend> rue: do u like cats?
<banisterfiend> rue: http://imgur.com/Vt0qv
<kke> my explanation is that foo= is the instance's/kernel's method and << is a method of the array class and is just a syntax sugaring for foo.<<
<rue> It’s precedence
<banisterfiend> kke: = isn't a method at all
<kke> so def foo=(value) isn't a method?
<banisterfiend> kke: it is
<ddfreyne> banisterfiend: wtf is that
<banisterfiend> kke: but you can't invoke it without an explicit receiver
<banisterfiend> ddfreyne: a lolcat
snk has joined #ruby-lang
<banisterfiend> ddfreyne: a cat with its face torn off i think
kurko_ has joined #ruby-lang
<ddfreyne> banisterfiend: i'd appreciate it if you either didn't post images like that around here or at least give a warning
<banisterfiend> np
mistym has quit [Remote host closed the connection]
plusk has joined #ruby-lang
bglusman has joined #ruby-lang
dv310p3r has joined #ruby-lang
jperry2 has joined #ruby-lang
chendo_ has joined #ruby-lang
wallerdev has joined #ruby-lang
jperry2 has quit [Client Quit]
kvirani has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
outoftime has quit [Remote host closed the connection]
zwerg has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
jarib has quit [Excess Flood]
mark_locklear has joined #ruby-lang
jarib has joined #ruby-lang
slyphon has joined #ruby-lang
tomb has quit [Quit: Computer has gone to sleep.]
outoftime has joined #ruby-lang
justinmc_ has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
justinmc_ has quit [Remote host closed the connection]
tomb has joined #ruby-lang
tomb has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 255 seconds]
justinmcp has quit [Ping timeout: 244 seconds]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
enebo has joined #ruby-lang
dhruvasagar has joined #ruby-lang
sockmonk has joined #ruby-lang
tomb has joined #ruby-lang
apeiros_ has joined #ruby-lang
<apeiros_> anybody got a good solution to query (DNS) for the MX for a given domain?
<apeiros_> http://dzone.com/snippets/find-primary-mx-record is one possible solution that I found…
kvirani has joined #ruby-lang
carloslopes has quit [Quit: Leaving.]
yumike has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
slyphon has quit [Quit: WeeChat 0.3.7]
chendo_ has quit [Quit: Computer has gone to sleep.]
gsav has quit [Ping timeout: 246 seconds]
jperry2 has joined #ruby-lang
<apeiros_> ok. taking the question on to #ruby
dalekurt has joined #ruby-lang
<yorickpeterse> apeiros_: yes
<yorickpeterse> `dig`
<yorickpeterse> apeiros_: `dig DOMAIN MX`
<yorickpeterse> The output it spits out isn't the best but it's pretty easy to parse
<apeiros_> yorickpeterse: you suspect dig to be faster than ruby's resolv lib?
<whitequark> yorickpeterse: discover `dig +short'
<yorickpeterse> Don't know, never used the latter
<matti> yorickpeterse: Meh.
<whitequark> ofcourse dig will be significantly slower.
<yorickpeterse> whitequark: Neat, didn't know that
<whitequark> because it forks and so on.
gsav has joined #ruby-lang
<apeiros_> hm, well, I guess I'll simply cache the results. it's not like there's thousands of new ones every day (for this dataset)
kneer0w has joined #ruby-lang
<yorickpeterse> I'm using dig and whois quite extensively in an app and that's what I did to work around it
<yorickpeterse> Though dig isn't rate limited in the same way as whois so it wasn't required per se
coryf has joined #ruby-lang
jperry2 has quit [Quit: jperry2]
ku1 has joined #ruby-lang
akira989 has joined #ruby-lang
sailias has joined #ruby-lang
kneer0w has quit [Read error: Connection reset by peer]
ilyam has joined #ruby-lang
countdigi has quit [Remote host closed the connection]
countdigi has joined #ruby-lang
slyphon has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
Paul-Atreides has joined #ruby-lang
Paul-Atreides has joined #ruby-lang
Paul-Atreides is now known as enroxorz
dejongge has quit [Ping timeout: 256 seconds]
imperator has joined #ruby-lang
gouthamvel has joined #ruby-lang
jxie has joined #ruby-lang
retro|cz has quit [Ping timeout: 265 seconds]
scientes has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
gouthamvel has left #ruby-lang [#ruby-lang]
andrewhl has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
umttumt has joined #ruby-lang
tomzx has joined #ruby-lang
tomzx has left #ruby-lang [#ruby-lang]
nilsine has joined #ruby-lang
<apeiros_> wow, impressive - almost linear performance improvement by threading the dns queries out…
<apeiros_> used 20 threads for the moment
mark_locklear has quit [Remote host closed the connection]
kaiwren has quit [Quit: kaiwren]
plusk has quit [Quit: This computer has gone to sleep]
nofxxxx has joined #ruby-lang
nofxxx has quit [Ping timeout: 246 seconds]
nilsine has quit [Quit: Quitte]
tooky has joined #ruby-lang
tubbo`holiday is now known as tubbo`work
carloslopes has joined #ruby-lang
msaffitz has joined #ruby-lang
carloslopes has quit [Client Quit]
carloslopes has joined #ruby-lang
gentz has quit [Remote host closed the connection]
dmwuw has joined #ruby-lang
lsegal has joined #ruby-lang
gentz has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
kitallis has quit [Quit: Computer has gone to sleep.]
thisirs has quit [Remote host closed the connection]
Natch has quit [Ping timeout: 246 seconds]
burgestrand has quit [Quit: Leaving.]
Sambalero has joined #ruby-lang
nilsine_ has joined #ruby-lang
jperry2 has joined #ruby-lang
nilsine_ has left #ruby-lang [#ruby-lang]
asahi has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
<asahi> I'm doing File.open(filename, "r"), but this seems to include the "\n" at the end of each array element. Is there a way to read the file without having the \n included?
<apeiros_> the way you open the file has little to do with that…
<apeiros_> you can use chomp to remove the newline
<apeiros_> or you can read the whole file and split on \n
<asahi> apeiros: I see. thanks
dhruvasagar has quit [Ping timeout: 246 seconds]
savage- has joined #ruby-lang
scampbell has joined #ruby-lang
jperry2 has quit [Quit: jperry2]
brunocoelho has quit [Ping timeout: 245 seconds]
kaiwren has joined #ruby-lang
brunocoelho has joined #ruby-lang
gokul has joined #ruby-lang
Natch has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
znowi has quit [Ping timeout: 265 seconds]
gokul has quit [Client Quit]
butchanton has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
bglusman_ has joined #ruby-lang
bfreeman has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
bglusman has quit [Ping timeout: 245 seconds]
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
bglusman_ has quit [Ping timeout: 245 seconds]
brunocoelho has quit [Remote host closed the connection]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
cirwin has joined #ruby-lang
xyzodiac has joined #ruby-lang
zmack has quit [Remote host closed the connection]
cdt has quit [Quit: Ex-Chat]
xyzodiac has quit [Quit: Lost terminal]
umttumt has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
voker57 has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
enebo has joined #ruby-lang
enebo has quit [Client Quit]
Criztian has quit [Remote host closed the connection]
jperry2 has joined #ruby-lang
apeiros_ has joined #ruby-lang
hahuang65 has joined #ruby-lang
brianpWins has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
diegoviola has joined #ruby-lang
alindeman has quit [Quit: /quit]
jperry2 has quit [Quit: jperry2]
workmad3 has quit [Ping timeout: 265 seconds]
RickHull has joined #ruby-lang
RickHull has quit [Changing host]
RickHull has joined #ruby-lang
kitallis has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
cirwin has left #ruby-lang [#ruby-lang]
fgomez has quit [Quit: Lost terminal]
alindeman has joined #ruby-lang
chrismcg is now known as zz_chrismcg
outoftime has quit [Quit: Leaving]
jorgenpt has joined #ruby-lang
<jorgenpt> How are you supposed to pass 'opt' to IO.popen? The docs say popen(cmd, mode="r" [, opt]), but if I pass three args I get "wrong number of arguments (3 for 2)"
<apeiros_> jorgenpt: a) did you ensure you have the right ruby version? b) what did you pass as opt?
<jorgenpt> 1.9.3-p0
<jorgenpt> :pgroup => true
plusk has joined #ruby-lang
<apeiros_> jorgenpt: note that some opts must be given as the last value in an array which is the first argument to popen
<jorgenpt> Yeah, I also tried IO.popen(['ruby', '-e', 'puts Process.getpgrp; puts Process.pid;', {:pgroup => true}]), but then I get TypeError: can't convert Array into String
<jorgenpt> Hmm. Maybe this was a ruby 1.9.3-p0 bug? p194 works.
<apeiros_> :pgroup is an option from spawn?
outoftime has joined #ruby-lang
<apeiros_> the second one works for me too
<jorgenpt> Yeah
<apeiros_> also p194
<apeiros_> and if it is an option from spawn, then that's the right place for the opts to go
<jorgenpt> The option doesn't seem to work here, though, on a Mac.
zwerg has joined #ruby-lang
brunocoelho has joined #ruby-lang
<jorgenpt> Hmm. Does spawn do anything particualr if you run Ruby?
<jorgenpt> Oh, nevermind, I can't read.
<RickHull> why: !Net::FTPError.is_a?(RuntimeError) ?
brunocoe_ has joined #ruby-lang
<RickHull> it sure would seem to be a RuntimeError
<RickHull> sorry, !Net::FTPError.new.is_a?(RuntimeError)
msaffitz has quit [Quit: Computer has gone to sleep.]
brunocoelho has quit [Ping timeout: 265 seconds]
<jorgenpt> Okay, got it all working, thanks apeiros_. :-)
<RickHull> cf. Net::FTPError.new.is_a?(StandardError)
kaiwren has quit [Quit: kaiwren]
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dreinull has joined #ruby-lang
jorgenpt has left #ruby-lang ["Textual IRC Client: http://www.textualapp.com/"]
dreinull has quit [Remote host closed the connection]
<apeiros_> RickHull: you can use < instead of .new.is_a?
<apeiros_> Net::FTPError < StandardError
<RickHull> should be true there
<RickHull> and Net::FTPError < RuntimeError #=> false
<apeiros_> and your issue with that is?
<RickHull> i get it, that's the way it is. i guess i'm questioning the wisdom of that hierarchy
<apeiros_> RuntimeError is for plain raises
<RickHull> can we not agree that an FTP error is necessarily a runtime error?
CaffeineComa has joined #ruby-lang
sora_h is now known as s0ra_h
<apeiros_> there's no reason to inherit from RuntimeError.
<RickHull> ok, i thought it was meaningful distinction
qpingu has joined #ruby-lang
<apeiros_> arguing that it's "a runtime error" is pretty pointless in ruby
<RickHull> or that the name was meaningful
<apeiros_> or what would *not* be a runtime error? :)
<RickHull> ok, perhaps :)
<apeiros_> but IMO the naming of RuntimeError is not the best.
<RickHull> DefaultError, perhaps?
<apeiros_> AnonymousError or UnnamedError or something the like would have been a better fit IMO
<RickHull> anyway, moving on, thx :)
riffraff has joined #ruby-lang
ecin has joined #ruby-lang
sfifbo has joined #ruby-lang
sfifbo has left #ruby-lang [#ruby-lang]
Sambalero has quit [Remote host closed the connection]
msaffitz has joined #ruby-lang
ecin has quit [Quit: ecin]
zwerg has quit [Read error: Connection reset by peer]
outsmartin has joined #ruby-lang
riffraff has quit [Quit: Leaving]
bryancp has quit [Remote host closed the connection]
tindron has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
fgomez has joined #ruby-lang
ecin has joined #ruby-lang
qwerxy has quit [Ping timeout: 244 seconds]
Swimming_Bird has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
enebo has joined #ruby-lang
<erikh> RickHull: StandardError < RuntimeError, fwiw
bryancp has joined #ruby-lang
<apeiros_> other way round
<apeiros_> RuntimeError < StandardError < Exception
<RickHull> I'd prefer the name UnknownError I think
<RickHull> fun times to be had, trying to patch that out ;)
<RickHull> there's only 10 hard things in computer science: cache invalidation, naming things, and off-by-one errors
<apeiros_> is that 10 in binary?
<RickHull> :P
<RickHull> it's a mashup
headius has joined #ruby-lang
<RickHull> i've missed you lot. i can only connect sporadically as my fw hole is IP based, and the IP pool for freenode keeps changing
<apeiros_> do what I always wanted to do but never did - use an irc proxy
xtagon has joined #ruby-lang
<RickHull> yeah, i'd still have to figure out a static IP for the proxy, and while it would comply with the letter of the law, I'm not sure IT would be happy about it, and they definitely wouldn't support it
<RickHull> it's kind of lame, doing IP-based fw rules
bglusman has joined #ruby-lang
Natch has quit [Ping timeout: 240 seconds]
<RickHull> though I understand you wouldn't want DNS lookup on the critical path for most stuff anyway
<RickHull> strictly a performance optimization i guess
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
<erikh> it'd get cached anyhow
<erikh> TTLs on DNS (especially these days) can be extremely small
<erikh> so, you'd have to cache aggressively to be performant
xtagon has quit [Ping timeout: 244 seconds]
xtagon has joined #ruby-lang
S1kx has joined #ruby-lang
Axsuul has joined #ruby-lang
Natch has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
codewrangler has joined #ruby-lang
selvakumaran has joined #ruby-lang
ku1 has quit []
ku1 has joined #ruby-lang
akira989 has joined #ruby-lang
tsou has quit [Quit: leaving]
tsou has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
benanne has joined #ruby-lang
tomzx has joined #ruby-lang
tomzx has left #ruby-lang [#ruby-lang]
pbjorklu1d has joined #ruby-lang
pbjorklund has quit [Ping timeout: 248 seconds]
soahccc is now known as soahccc`
heftig has quit [Ping timeout: 245 seconds]
brunocoe_ has left #ruby-lang [#ruby-lang]
nofxxxx has quit [Ping timeout: 255 seconds]
<rue> Teetedillesles
gsav has quit [Ping timeout: 244 seconds]
jarred has joined #ruby-lang
brunocoelho has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
workmad3 has joined #ruby-lang
<RickHull> erikh: been playing any eve at all? i got sucked in
nofxxxx has joined #ruby-lang
havenn has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
asahi has left #ruby-lang [#ruby-lang]
heftig has joined #ruby-lang
<rue> How sucked in? Plotting a galactic economic shift 8 months ahead, or just playing it a couple hours a day?
<erikh> RickHull: I played it for about 2 months
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
<drbrain> rue: ha!
neocoin has quit [Ping timeout: 252 seconds]
nofxxxx has quit [Ping timeout: 240 seconds]
Carnage\ has quit [Read error: Connection reset by peer]
<RickHull> rue: heh, my plotting horizon is about 2 weeks, and yeah
<RickHull> erikh: i joined TEST alliance, the reddit guys. if not for that community, I wouldn't still be involved
yannis has quit [Ping timeout: 250 seconds]
<rue> You poor deluded sap.
ac4s3 has quit [Quit: Leaving]
boobah is now known as Boohbah
Boohbah has quit [Changing host]
Boohbah has joined #ruby-lang
selvakumaran has quit [Quit: Leaving]
tbuehlmann has quit []
workmad3 has quit [Ping timeout: 250 seconds]
S1kx has quit [Quit: Leaving]
<RickHull> rue: eh?
tonni has joined #ruby-lang
<RickHull> i'll be spacerich soon(TM)
S1kx has joined #ruby-lang
nofxxxx has joined #ruby-lang
<apeiros_> RickHull: bah, you're nothing before you're multiverserich
<RickHull> there are wormholes, known as W-space. and they do generate lots of ISK. but yeah i can't really survive in there yet
S2kx has joined #ruby-lang
S2kx has quit [Remote host closed the connection]
dalekurt has quit [Ping timeout: 248 seconds]
chimkan_ has joined #ruby-lang
S1kx has quit [Read error: Connection reset by peer]
<corecode> hi
workmad3 has joined #ruby-lang
<corecode> can i Hash#delete inside of Hash#each?
Nisstyre has quit [Read error: Connection reset by peer]
<corecode> or will that break things?
chris2 has quit [Ping timeout: 265 seconds]
<RickHull> it's a bad idea
<rue> corecode: You shouldn’t
<RickHull> don't modify the collection as you iterate over it
<apeiros_> you can't
<apeiros_> 1.9 raises if you do that
<rue> Try #delete_if?
<Mon_Ouie> It depends on ruby version/implementation
<corecode> ok
<rue> It does? Cool.
<corecode> thanks
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
matti has quit [Quit: 8-X]
<Tasser> apeiros_, uhm, nope, it doesn't
Nisstyre has joined #ruby-lang
butchanton1 has joined #ruby-lang
butchanton has quit [Read error: No route to host]
matti has joined #ruby-lang
S1kx has quit [Quit: Leaving]
kitallis has quit [Quit: Computer has gone to sleep.]
kitallis has joined #ruby-lang
kitallis has quit [Client Quit]
<apeiros_> odd… there was a condition when it would raise
<apeiros_> saying something about not being able to mutate the hash during the iteration…
<apeiros_> did they remove it again?
<drbrain> I think Hash has been safe for modification during iteration for a while
chris2 has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
<drbrain> I'm not sure why, though
<apeiros_> sure, it wasn't in 1.8. it was sometime in 1.9
<apeiros_> must be some more exotic thing…
zmack has joined #ruby-lang
yannis has joined #ruby-lang
imperator has quit [Quit: Leaving]
<yxhuvud> if I were to guess, hash should have been safe to delete while iterating since they were made stable
<Tasser> RuntimeError: can't add a new key into hash during iteration
<Tasser> apeiros_, ehm, didn't read the part about hash
tenderlove has joined #ruby-lang
benanne has quit [Ping timeout: 260 seconds]
<apeiros_> Tasser: aaaah! that was it!
<apeiros_> not deletion triggered the exception, but adding
tenderlove has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
<rue> Meh, inconsistency--
havenn has quit [Remote host closed the connection]
pbjorklu1d has quit [Ping timeout: 265 seconds]
tenderlove has joined #ruby-lang
<RickHull> don't modify the collection while you're iterating over it. problem solved
pbjorklund has joined #ruby-lang
<RickHull> use a "form" designed to do so, if you must. e.g. #delete_while
akira989 has quit [Remote host closed the connection]
benanne has joined #ruby-lang
<RickHull> if I see code that modifies the collection whilst iterating over it, I immediately think: this guy is braindead and i don't trust his code
<rue> No, #delete_if
<RickHull> i think #delete_while still applies
dalekurt has joined #ruby-lang
<RickHull> the while portion iterates over the collection until the block yields false?
sepp2k has quit [Ping timeout: 246 seconds]
<rue> It’s #drop_while, but that’s a pretty specific use case.
<RickHull> ah, interesting. i'm on 1.8 and heard #delete_while was a new 1.9 feature
CaffeineComa has quit [Quit: CaffeineComa]
<RickHull> so i implemented it because i needed it
<RickHull> somewhat poorly, I presume
<apeiros_> unless [].respond_to? :delete_while <-- bad style
akira989 has joined #ruby-lang
<apeiros_> Array.method_defined? :delete_while <-- better style
<RickHull> ok, good to know
<apeiros_> (&block) + yield <-- bad style
<apeiros_> just leave the (&block) away. you force ruby to do more work there.
<apeiros_> (needless work)
<apeiros_> self.shift while !self.empty? <-- shift until empty?
<apeiros_> ah, and yield… hm
havenn has joined #ruby-lang
<apeiros_> ok, drop the last comment. (I'd not use `self.`, though)
<RickHull> personal style, i always try to include self. for "property" methods, so it's clear where this new variable-looking-thing is coming from
<apeiros_> I think if you have to ensure people know it isn't a variable, then your methods are too long
<RickHull> i don't think that's the case
<RickHull> it's more for clarity at a glance
<apeiros_> then `self.` isn't necessary and just noise
<apeiros_> (also notice that you can't call private methods with self.)
<RickHull> I dunno, if I see if property
<RickHull> and property is not a local var. it could be a bug, or i need to check the class
S1kx has joined #ruby-lang
<apeiros_> why do you worry about bugs when reading code that works?
Hakon|mbp has joined #ruby-lang
<RickHull> so, i guess i do this at write-time
<apeiros_> meh
<RickHull> generally the code doesn't work ;)
akira989 has quit [Ping timeout: 248 seconds]
<yxhuvud> self[0] -> first
<apeiros_> whatever, your code. I don't like it. it's noise.
<RickHull> yep, personal style
<apeiros_> bad style :-p
<RickHull> your other points are well received
<rue> RickHull: No, it’s not clarity
<rue> It makes people ask *why* you need to include the self.
<rue> Unnecessarily, in this case
<RickHull> i don't disagree
<rue> I am not upset to hear that
<RickHull> i'll also add strictly unnecessary parens "for clarity"
<rue> Parens are slightly better, since they have a simple purpose
<yxhuvud> !self.empty? => any?
<RickHull> i think i'm just out of sync a bit with teh community style, since i'm always working just on my own stuff. being different from the community is not strictly "worse" style, but it's definitely a downside
mrsolo has joined #ruby-lang
<RickHull> yxhuvud: i like #first somewhat. but it bugs me when I use it but later need to refer to [1]
<S1kx> yxhuvud: [false].any? => false
<yxhuvud> S1kx: good point.
<yxhuvud> [].first
<yxhuvud> uh, wrong window
akira989 has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby-lang
<RickHull> while we're on the subject, i think i drifted toward explicit self because of another stylistic quirk. I try to implement as much functionality in class methods, in a more functional side-effect-free style
<RickHull> and then I make a minimal object interface that only encapsulates the minimum necessary state
<RickHull> and I would tie myself in knots sometimes with the different implicit contexts of class methods vs. instance methods
<apeiros_> bundler experts - how do I have gem A in :development, but B in every other?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
zmack has quit [Remote host closed the connection]
yxhuvud has quit [Ping timeout: 255 seconds]
headius_ has joined #ruby-lang
enebo_ has joined #ruby-lang
headius has quit [Disconnected by services]
headius_ is now known as headius
scampbell has quit [Quit: Ex-Chat]
enebo has quit [Ping timeout: 248 seconds]
enebo_ is now known as enebo
wallerdev has quit [Quit: wallerdev]
zmack has joined #ruby-lang
petercooper has joined #ruby-lang
zmack has quit [Ping timeout: 264 seconds]
<Boohbah> apeiros_: http://pastie.org/4206608
<apeiros_> Boohbah: thanks. but that's only valid if my only 3 envs are :production, :test and :development
<apeiros_> I want to make the part you did with :production, :test universal
<Boohbah> hmm, i don't know then
<Boohbah> try #bundler ?
<apeiros_> good idea actually :)
<apeiros_> will ask there tomorrow
enroxorz has quit [Quit: Leaving]
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
ryanf has joined #ruby-lang
benanne has quit [Quit: kbai]
andrewhl has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 264 seconds]
enebo has quit [Quit: enebo]
jblack has joined #ruby-lang
headius has quit [Quit: headius]
RickHull has left #ruby-lang [#ruby-lang]
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
gsav has joined #ruby-lang
Spaceghostc2c has joined #ruby-lang
robbyoconnor has joined #ruby-lang
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<erikh> 0/w 3
dalekurt has quit [Quit: Zzz...]
chimkan_ has quit [Ping timeout: 245 seconds]
Carnage\ has joined #ruby-lang
enebo has joined #ruby-lang
dalekurt has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.7]
gsav has quit [Ping timeout: 264 seconds]
<kke> apeiros_: gem ENV['XXX_ENV'].eql?('development') ? 'foo' : 'bar' maybe?
jarib has quit [Excess Flood]
<kke> isnt it plain ruby
bryancp has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
jarib has joined #ruby-lang
znowi has joined #ruby-lang
schroedinbug has quit [Ping timeout: 264 seconds]
<apeiros_> kke: not sure how well bundler plays with custom branching logic. might be be worth a try, though.
<apeiros_> but for now - gn8
wallerdev has joined #ruby-lang
<apeiros_> and thanks kke
apeiros_ has quit [Remote host closed the connection]
jarred has quit [Quit: jarred]
sina has joined #ruby-lang
toretore has quit [Quit: Leaving]
carloslopes has quit [Quit: Leaving.]
andrewhl has joined #ruby-lang
outoftime has quit [Ping timeout: 245 seconds]
<kke> i did something like that with RUBY_VERSION
schroedinbug has joined #ruby-lang
<kke> for which there already is some platform RUBY_19 do .... end syntax
<jblack> apeiros: Just so ya know, buddy, the website for #ruby-pro seems down
dv310p3r has quit [Ping timeout: 264 seconds]
havenn has quit [Remote host closed the connection]
sockmonk has quit [Ping timeout: 272 seconds]
<rue> Think it’s been down for a couple years now
mssola has quit [Quit: Konversation terminated!]
dalekurt has quit [Ping timeout: 246 seconds]
<jblack> I guess no +v for me. =) I was just going to try and help me debug a small problem anyway
outoftime has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
wasnotrice is now known as zz_wasnotrice
Criztian has joined #ruby-lang
headius has joined #ruby-lang
seanstickle has joined #ruby-lang
Natch has quit [Remote host closed the connection]
havenn has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
ezkl has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
robotmay has joined #ruby-lang
<deryl> freenode channels actually use +v?
hinbody has quit [Ping timeout: 248 seconds]
enebo has quit [Ping timeout: 250 seconds]
<erikh> deryl: well it's a part of hte irc protocol
<deryl> and?
<deryl> just because its part of the protocol doesn't mean its used. just that you can.
<erikh> yes. people use it
<erikh> it's very nice when you have to +m a channel
srbartlett has joined #ruby-lang
<deryl> well yeah. but thats where +q comes into play
<erikh> no
<erikh> +q is exclusive
<erikh> +m is inclusive.
<deryl> just not seen many freenode channels give voice to users. most eem to use +q on the offenders
<deryl> thus my surprise :)
<deryl> you do make a good point though
<deryl> the pattern is just more of an efnet control pattern, than a freenode one. only reason i expressed surprise considering the network
robotmay has quit [Remote host closed the connection]
mrsolo has left #ruby-lang ["Leaving"]
coryf has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
<rue> The matrix
cantonic has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
banisterfiend has quit [Ping timeout: 248 seconds]
slyphon has joined #ruby-lang
mistym has joined #ruby-lang
hinbody has joined #ruby-lang
yannis has quit [Quit: yannis]
outsmartin has quit [Quit: Leaving.]
brunocoelho has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
<Jay_Levitt> Highly specific ruby question: What's a good verb/method name that encompasses both "enable" and "disable"?
<drbrain> toggle
<Jay_Levitt> oh yeah.
<drbrain> I remember rails uses it
<Jay_Levitt> no, wait.. toggle implies "switch to the other mode"
<drbrain> I don't understand then… how does a method do both?
<seanstickle> def magic; end
<Jay_Levitt> welllll... it's a capistrano helper that does (echo "#{xxable} server #{servername} | socat stdio /tmp/haproxysock)
<Jay_Levitt> do_thing_to_server_involving_enabling_or_disabling
<drbrain> does the method figure out what to do, or do you tell it somehow?
<Jay_Levitt> no, you tell it.. you pass it 'enable' or 'disable'
havenn_ has joined #ruby-lang
Carnage\ has quit []
<seanstickle> Just called it switch
butchanton1 has quit [Read error: Connection reset by peer]
butchanton has joined #ruby-lang
<Jay_Levitt> yeah.. I keep thinking there's a specific word for this particular switch, but there probably isn't.
<drbrain> I'm with seanstickle
<drbrain> set probably wouldn't be bad either
<drbrain> set servername, "enable"
<Jay_Levitt> I like set.. don't think I can use it inside capistrano tho
<Jay_Levitt> (cap uses that for its version of variables)
<drbrain> right
banisterfiend has joined #ruby-lang
neocoin has joined #ruby-lang
<rue> Why not enable servername, disable servername?
<rue> Much clearer.
<Jay_Levitt> sure, but then they should be DRY and call a common method named....
woollyams has joined #ruby-lang
<seanstickle> Why?
<rue> def enable(servername); magic servername, "enable"; end
<seanstickle> If a Rails app has more than one controller, split it into multiple Rails apps, because SRP.
<Jay_Levitt> yeah, it's the name of "magic" I was figuring out.
<rue> When in doubt, add methods.
<seanstickle> But clearly that's crazy.
<Jay_Levitt> LOL
ironcamel has quit [Remote host closed the connection]
<Jay_Levitt> wait, are you whying me or rue?
<seanstickle> Jay_Levitt: you
<seanstickle> DRY is a guideline, not a law.
<Jay_Levitt> right, but when all but three characters of the method are identical...
<seanstickle> Making a single method that is vague is less good.
<rue> You gotta be wet before you can DRY
ironcamel has joined #ruby-lang
<rue> If you use a background method, make it ugly
<Jay_Levitt> so wait, you're saying this is better than having the two call a common method? https://gist.github.com/dd5513185a968f53d665
ironcamel has quit [Remote host closed the connection]
<seanstickle> See, you're already done!
<Jay_Levitt> :)
<seanstickle> Now you can move on to more valuable parts of your code
<Jay_Levitt> noooooo. must shave yaks.
<seanstickle> And stop wasting time on background nomenclature
<Jay_Levitt> I come from a long and distinguished line of barbers.
<seanstickle> I come from a long line of barber-surgeons
<seanstickle> We know when to cut something off
<seanstickle> Staple it
<seanstickle> And move on
<rue> You could generate those, of course.
<Jay_Levitt> {Self: do not hire sean as mohel}
<seanstickle> Also, Irish Rabbis are less popular
<Jay_Levitt> and why is that? </straightman>
<seanstickle> Mostly because there aren't too many of them?
brianpWins has quit [Quit: brianpWins]
<Jay_Levitt> anyway, I'm devops. Background nomenclature IS the valuable part of my code.
butchanton has quit [Quit: Leaving.]