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
<drbrain> … and make it sound interesting and cool
agilobable has joined #ruby-lang
Rizzle has joined #ruby-lang
<seanstickle> Everything in Spenserian sonnets sounds cool
<drbrain> ok, I think I got it
headius has quit [Quit: headius]
postmodern has joined #ruby-lang
slyphon has joined #ruby-lang
ViperMaul has joined #ruby-lang
ryanf_ has quit [Ping timeout: 246 seconds]
Rizzle has quit [Ping timeout: 252 seconds]
Rizzle has joined #ruby-lang
ViperMaul has quit [Ping timeout: 248 seconds]
ViperMaul has joined #ruby-lang
yannis has quit [Read error: Connection reset by peer]
Rizzle has quit [Ping timeout: 245 seconds]
Carnage\ has quit [Ping timeout: 252 seconds]
fgomez has quit [Quit: Lost terminal]
krz has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
ViperMaul is now known as Rizzle
jperry2 has joined #ruby-lang
ryanf has joined #ruby-lang
<postmodern> whitequark, good job on furnace-avm2
benthumb has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
phelps_ has quit [Remote host closed the connection]
gix has quit [Ping timeout: 265 seconds]
stardiviner has joined #ruby-lang
gix has joined #ruby-lang
codewrangler has quit [Quit: Computer has gone to sleep.]
<Spaceghostc2c> tenderlove: Nifty housefire you have there.
andrewhl has joined #ruby-lang
dfr|mac has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
telemachus has joined #ruby-lang
fgomez has joined #ruby-lang
benthumb has quit [Ping timeout: 250 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
savage- has quit [Ping timeout: 245 seconds]
coryf has joined #ruby-lang
coryf has quit [Remote host closed the connection]
dfr|mac has quit [Remote host closed the connection]
igotnolegs has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
JustinCampbell has joined #ruby-lang
jperry2 has quit [Quit: jperry2]
phelps_ has joined #ruby-lang
nofxxxx has joined #ruby-lang
yxhuvud has quit [Ping timeout: 240 seconds]
nofxxx has quit [Ping timeout: 246 seconds]
healpay has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
umttumt has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
benthumb has joined #ruby-lang
msaffitz has joined #ruby-lang
lele|w has quit [Ping timeout: 272 seconds]
pbjorklu1d has quit [Ping timeout: 250 seconds]
benthumb has left #ruby-lang [#ruby-lang]
pbjorklund has joined #ruby-lang
darix has quit [Ping timeout: 245 seconds]
darix has joined #ruby-lang
darix has quit [Changing host]
darix has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
msaffitz has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby-lang
lele|w has joined #ruby-lang
banisterfiend has quit [Ping timeout: 250 seconds]
phelps_ has quit [Remote host closed the connection]
kurko_ has quit [Quit: This computer has gone to sleep]
bglusman has joined #ruby-lang
neocoin has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
chancancode has joined #ruby-lang
<chancancode> Why is there an empty implementation of =~ on Object? (As opposed to that being defined on just String and Regexp?)
<chancancode> What are the other use cases for that method?
learc83 has quit [Quit: learc83]
dalekurt has quit [Quit: Zzz...]
chancancode has quit [Read error: Connection reset by peer]
PhelpsB has joined #ruby-lang
PhelpsB has quit [Remote host closed the connection]
chancancode has joined #ruby-lang
<chancancode> Got kicked off the Network just now, so if someone answered my question (Why do we have Object#=~), can you please post that again? Thaks!
ku1 has quit []
kurko_ has joined #ruby-lang
dalekurt has joined #ruby-lang
<hagabaka> chancancode: from String#=~: Otherwise, invokes obj.=~, passing str as an argument. The default =~ in Object returns nil
<chancancode> hagabaka: I guess my question is why does it have to do that. The behaviour would have been the same if String#=~ just return nil if other is not a Regexp?
<chancancode> This is kind of strange I think. Implementing an empty "abstract" method (that has no meaning) for the sub classes to override doesn't feel very Ruby-ish.
<chancancode> I'm writing this piece of code, where I could have otherwise written "if obj.respond_to? :=~" but couldn't, because somehow this method exists on every single Object...
<hagabaka> they might have thought =~ should be treated similarly to ==
<hagabaka> so why can't you just call =~ and use the result instead?
MouseTheLuckyDog has quit [Quit: Leaving]
<hagabaka> also, it might have to do with that !~ always negates ~=
<chancancode> I was thinking maybe =~ is like === where it's useful in some interesting way (case statements)... but the definition on Object#=~ makes it pretty clear that it's only useful in String and Regexp
s0ber has joined #ruby-lang
<chancancode> re: !~ - yeah, but that also could just be folded into String and Regexp
<hagabaka> why is it clear that it's only useful in String and Regexp? just not many people have used it for other things
<chancancode> hagabaka: The intent of the code is " if this object supports 'advanced' matching, I'll use =~. Otherwise I'll use == instead. "
<hagabaka> that's what I mean: Ruby wanted to make !~ and ~= always opposite, instead of allowing a class to define them to be not-opposite. That still doesn't technicially force =~ to always have a definition, but it might be easier that way
<chancancode> Yeah. I don
<chancancode> oops.
<chancancode> Yeah. I don't know. Not having it on Object#=~ seems more useful at least on the surface, because you can detect whether the object supports pattern matching (whatever that means in that context, e.g. a CSS selector class can override =~ to do something special)
ryanf has quit [Ping timeout: 240 seconds]
<chancancode> With =~ defined on Object there is no way to detect if this object supports that kind of matching.
lsegal has joined #ruby-lang
<chancancode> But oh wells. It's probably not going to change anytime soon. More than anything else I'm just curious if I missed some hidden use cases/features of =~...
banisterfiend has joined #ruby-lang
<hagabaka> yeah, I think with =~, ==, ===, Ruby is assuming there is always "support" of comparison, just by default the stupid kind
qpingu has left #ruby-lang [#ruby-lang]
<banisterfiend> hagabaka: what do u mean
<hagabaka> chancancode: if there's a hidden use case, it would be that you can write your own pattern class, and String#=~ can automatically pick it up. Of course that could have also been implemented without Object#=~, just with String#=~ checking if it's defined instead
<chancancode> hagabaka
<chancancode> hagabaka: Exactly. I still have yet to come across a "true" benefit that forces Object#=~ to exists :P
<hagabaka> banisterfiend: as chancancode said, Object#=~ returns nil, instead of just being undefined. I'm saying it's similar to the default implementation of Object#== and ===
retro|cz has quit [Ping timeout: 265 seconds]
<banisterfiend> hagabaka: kind of i guess, except the defaults for == and === compare object_id by default
<chancancode> hagabaka: I think === actually has a useful implementation out of the box tho. It just calls ==. This is useful because this lets you call === regardless (without knowing what kind of object it is), and it'll just fall back to equality if it doesn't "support" that.
<hagabaka> banisterfiend: yeah, but there's already equals? for that
<chancancode> I suppose you can say the same for =~ in the sense that you can call =~ regardless and it would just fall back to nil. It's just that I can't think of a case ATM where this is actually useful.
<banisterfiend> yeah, but equals? is always meant to return object_id comparision, whereas == and === just default to that where there isn't a more specific implementation for the subclass
umttumt has quit [Remote host closed the connection]
<hagabaka> I know, I mean Ruby could have taken the route to only implement equals? in Object, and let code check when == or === is defined before using them
bfreeman has joined #ruby-lang
bfreeman has quit [Client Quit]
bfreeman has joined #ruby-lang
kurko_ has quit [Quit: This computer has gone to sleep]
zmack has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
<chancancode> hagabaka: That's fair.
<hagabaka> I agree it's ugly though, string =~ regexp works, string =~ number returns nil, and string =~ string gives type error :D
<chancancode> hagabaka: I just discovered that today too :)
banisterfiend has quit [Ping timeout: 248 seconds]
msaffitz has joined #ruby-lang
chancancode has quit [Ping timeout: 240 seconds]
chancancode has joined #ruby-lang
postmodern has quit [Quit: Leaving]
msaffitz has quit [Ping timeout: 246 seconds]
msaffitz has joined #ruby-lang
andrewhl has joined #ruby-lang
fayimora has quit [Quit: Busy…..zzzzz]
charliesome has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
Jade has quit [Read error: Connection reset by peer]
gregmore_ has quit [Ping timeout: 246 seconds]
ku1 has joined #ruby-lang
s0ra_h is now known as sora_h
ku1 has quit []
toretore has joined #ruby-lang
yfeldblum has joined #ruby-lang
gregmoreno has joined #ruby-lang
srbartlett has joined #ruby-lang
msaffitz has quit [Ping timeout: 248 seconds]
fgomez has quit [Ping timeout: 248 seconds]
fgomez has joined #ruby-lang
dalekurt has quit [Read error: Connection reset by peer]
dalekurt has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Ping timeout: 250 seconds]
gregmore_ has joined #ruby-lang
msaffitz has joined #ruby-lang
gregmoreno has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby-lang
ltd- has quit [Ping timeout: 250 seconds]
ltd- has joined #ruby-lang
msaffitz has quit [Ping timeout: 255 seconds]
andrewhl has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
ryanf has joined #ruby-lang
Spaceghostc2c has quit [Read error: Operation timed out]
cesario has quit [Read error: Operation timed out]
zmack has quit [Remote host closed the connection]
msaffitz has quit [Quit: Computer has gone to sleep.]
denysonique has quit [Ping timeout: 248 seconds]
tubbo has quit [Ping timeout: 246 seconds]
relix has quit [Ping timeout: 246 seconds]
cldwalker has quit [Ping timeout: 240 seconds]
brownies has quit [Ping timeout: 245 seconds]
anildigital_work has quit [Ping timeout: 248 seconds]
beawesomeinstead has quit [Ping timeout: 244 seconds]
mccraig has quit [Ping timeout: 244 seconds]
L0rdShrek has quit [Ping timeout: 252 seconds]
wycats has quit [Ping timeout: 265 seconds]
akahn has quit [Ping timeout: 265 seconds]
agib has quit [Ping timeout: 246 seconds]
Xzyx987X_ has joined #ruby-lang
dkannan has quit [Ping timeout: 272 seconds]
akamike has quit [Ping timeout: 272 seconds]
abuiles has quit [Ping timeout: 248 seconds]
pkondzior has quit [Ping timeout: 276 seconds]
pvh has quit [Ping timeout: 264 seconds]
mroth has quit [Ping timeout: 264 seconds]
Xzyx987X has quit [Ping timeout: 255 seconds]
scientes has quit [Ping timeout: 248 seconds]
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
stardiviner has quit [Ping timeout: 264 seconds]
cesario has joined #ruby-lang
perryh_away is now known as perryh
dkannan has joined #ruby-lang
perryh is now known as perry
relix has joined #ruby-lang
krz has quit [Quit: krz]
savage- has joined #ruby-lang
denysonique has joined #ruby-lang
mssola has joined #ruby-lang
cldwalker has joined #ruby-lang
anildigital_work has joined #ruby-lang
Spaceghostc2c has joined #ruby-lang
Spaceghostc2c has joined #ruby-lang
Spaceghostc2c has quit [Changing host]
Spaceghostc2c has joined #ruby-lang
Spaceghostc2c has quit [Changing host]
akahn has joined #ruby-lang
gregmore_ has quit [Ping timeout: 245 seconds]
L0rdShrek has joined #ruby-lang
gregmoreno has joined #ruby-lang
wycats has joined #ruby-lang
agib has joined #ruby-lang
<ddfreyne> ping
pkondzior has joined #ruby-lang
mccraig has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Kellin has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
abuiles has joined #ruby-lang
pvh has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
nazty has joined #ruby-lang
ryanf has quit [Quit: leaving]
xtagon has quit [Ping timeout: 265 seconds]
chris2 has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Ping timeout: 244 seconds]
learc83 has joined #ruby-lang
learc83 has quit [Client Quit]
Randroid has joined #ruby-lang
brownies has joined #ruby-lang
ku1 has joined #ruby-lang
outsmartin has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
wubino has joined #ruby-lang
chancancode has quit [Remote host closed the connection]
ku1 has quit [Read error: Connection reset by peer]
outsmartin has quit [Quit: Leaving.]
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 252 seconds]
cantonic_ is now known as cantonic
dalekurt has quit [Quit: Zzz...]
yxhuvud has joined #ruby-lang
nazty has quit [Ping timeout: 250 seconds]
dalekurt has joined #ruby-lang
srbartlett has joined #ruby-lang
banisterfiend has joined #ruby-lang
Randroid has quit [Quit: Randroid]
dalekurt has quit [Read error: Connection reset by peer]
injekt has joined #ruby-lang
dalekurt has joined #ruby-lang
dalekurt has quit [Client Quit]
ilyam has quit [Quit: ilyam]
gsav has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
ruurd has joined #ruby-lang
perry is now known as perryh_away
outsmartin has joined #ruby-lang
joshwines has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
segy has quit [Ping timeout: 252 seconds]
segy has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
savage- has quit [Remote host closed the connection]
banisterfiend` has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
banisterfiend` has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
gsav has quit [Ping timeout: 255 seconds]
romain1189 has joined #ruby-lang
romain1189 has quit [Quit: romain1189]
joshwines has quit [Ping timeout: 255 seconds]
ilyam has joined #ruby-lang
gsav has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
ilyam has quit [Client Quit]
banisterfiend has quit [Ping timeout: 264 seconds]
benanne has joined #ruby-lang
Carnage\ has joined #ruby-lang
banisterfiend has joined #ruby-lang
thone has joined #ruby-lang
joshwines has joined #ruby-lang
thone_ has quit [Ping timeout: 252 seconds]
wubino has left #ruby-lang ["Leaving"]
benanne has quit [Read error: Connection reset by peer]
chendo_ has joined #ruby-lang
benanne has joined #ruby-lang
saLOUt has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby-lang
benanne has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby-lang
Z33K|Lux has quit []
dani912 has joined #ruby-lang
dani912 has left #ruby-lang [#ruby-lang]
<rue> Meww
benanne has joined #ruby-lang
nertzy has joined #ruby-lang
benanne has quit [Read error: Connection reset by peer]
JHeaton has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
benanne has joined #ruby-lang
nazty has joined #ruby-lang
fayimora has joined #ruby-lang
nazty has quit [Ping timeout: 245 seconds]
heftig has quit [Ping timeout: 248 seconds]
benanne has quit [Ping timeout: 265 seconds]
heftig has joined #ruby-lang
Zyclops has quit [Quit: Leaving.]
Zyclops has joined #ruby-lang
Zyclops has quit [Ping timeout: 244 seconds]
fayimora has quit [Ping timeout: 248 seconds]
gnufied 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
nofxxx has joined #ruby-lang
postmodern has quit [Quit: Leaving]
fayimora has joined #ruby-lang
nofxxxx has quit [Ping timeout: 264 seconds]
kyrylo has quit [Quit: WeeChat 0.3.8]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
Manhose has joined #ruby-lang
Manhose has quit [Client Quit]
tbuehlmann has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
chrismcg is now known as zz_chrismcg
Zyclops has joined #ruby-lang
Zyclops1 has joined #ruby-lang
Zyclops has quit [Ping timeout: 244 seconds]
romain1189 has joined #ruby-lang
sepp2k has joined #ruby-lang
romain1189 has quit [Quit: romain1189]
asio has quit [Read error: No route to host]
asio has joined #ruby-lang
symm-_ has quit [Quit: Leaving...]
beawesomeinstead has joined #ruby-lang
asio has quit [Ping timeout: 245 seconds]
dejongge has joined #ruby-lang
jxie has quit [Quit: leaving]
Faris has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
seanstickle has joined #ruby-lang
nazty has joined #ruby-lang
nazty has quit [Ping timeout: 252 seconds]
nofxxxx has joined #ruby-lang
nofxxx has quit [Ping timeout: 265 seconds]
Faris has quit [Read error: Connection reset by peer]
Faris has joined #ruby-lang
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
romain1189 has joined #ruby-lang
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
umttumt has joined #ruby-lang
zenspider has quit [Ping timeout: 245 seconds]
dejongge has quit [Quit: Leaving.]
Faris has left #ruby-lang [#ruby-lang]
umttumt has quit [Remote host closed the connection]
injekt has quit [Quit: Lost terminal]
gregmoreno has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
nazty has joined #ruby-lang
nazty has quit [Client Quit]
chris2 has joined #ruby-lang
Zyclops1 has quit [Quit: Leaving.]
tekin has joined #ruby-lang
workmad3 has joined #ruby-lang
outsmartin1 has joined #ruby-lang
outsmartin has quit [Ping timeout: 264 seconds]
s0ra_h is now known as sora_h
romain1189_ has joined #ruby-lang
romain1189 has quit [Ping timeout: 264 seconds]
romain1189_ is now known as romain1189
romain1189 has left #ruby-lang [#ruby-lang]
dv310p3r has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
joshwines has quit [Remote host closed the connection]
zmack has joined #ruby-lang
gsav has quit [Ping timeout: 252 seconds]
kyrylo has quit [Ping timeout: 264 seconds]
kyrylo has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
gsav has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
fgomez has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
publicvoid has quit [Ping timeout: 255 seconds]
pjs_ has joined #ruby-lang
publicvoid has joined #ruby-lang
andrewhl has joined #ruby-lang
diegoviola has quit [Ping timeout: 244 seconds]
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
mroth has joined #ruby-lang
mroth has joined #ruby-lang
mroth has joined #ruby-lang
Kellin has joined #ruby-lang
pjs_ has quit [Quit: Ex-Chat]
slyphon has quit [Quit: WeeChat 0.3.7]
zmack has quit [Remote host closed the connection]
VegetableSpoon has quit [Ping timeout: 264 seconds]
dejongge has joined #ruby-lang
imperator has joined #ruby-lang
tbuehlmann has quit []
Zack has joined #ruby-lang
Zack has quit [Client Quit]
AsTeR_ has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
ku1 has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
AsTeR_ has left #ruby-lang [#ruby-lang]
AsTeR_ has joined #ruby-lang
cantonic has quit [Quit: cantonic]
AsTeR_ has left #ruby-lang [#ruby-lang]
stardiviner has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
asio has joined #ruby-lang
savage- has joined #ruby-lang
dalekurt has joined #ruby-lang
tenderlove has joined #ruby-lang
wallerdev has joined #ruby-lang
corsican has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
jxie has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
tubbo has joined #ruby-lang
msaffitz has joined #ruby-lang
<Spaceghostc2c> rue: Talk kitty to me. :p
<rue> Rawr
ku1 has quit [Ping timeout: 250 seconds]
msaffitz has quit [Quit: Computer has gone to sleep.]
ku1 has joined #ruby-lang
sora_h is now known as s0ra_h
JustinCampbell has joined #ruby-lang
s0ra_h is now known as sora_h
<andrewvos> rue: Thought this was you for a second http://eerolanguage.org/
JustinCampbell has quit [Read error: Connection reset by peer]
<rue> No…I did promise to learn it, but haven’t
<andrewvos> rue: What are your thoughts on Triplestore?
heftig has quit [Quit: leaving]
<rue> None, never used it
<rue> What’s a typical use case?
<andrewvos> rue: Do you like joins? Because Triplestore can do all the joins you want. Joins!
<andrewvos> Yeah I got nothing
<Spaceghostc2c> JOIN ALL THE THINGS
<andrewvos> Spaceghostc2c: Do you like sulfur?
<andrewvos> Spaceghostc2c: Can I sing in Icelandic?
<Spaceghostc2c> andrewvos: I don't admit it, but the smell gives me some weird kind of nerdon.
wallerdev has quit [Quit: wallerdev]
<Spaceghostc2c> I think it's my obsession with making fireworks I've had since I was a child.
<andrewvos> Spaceghostc2c: I... I enjoy talking to you.
<Spaceghostc2c> andrewvos: I like the way you type my nick. I feel as if it's really meaningful when you press a couple characters of my pseudonym and then tab complete to it.
lsegal has joined #ruby-lang
<andrewvos> You do realise I'm quoting Bjork from a Space Ghost episode right?
<Spaceghostc2c> I only use the coast to coast form of spaceghost because the guy who has the spaceghost nick wouldn't give me it for $100
<Spaceghostc2c> I don't even really watch those. I have all the originals.
<andrewvos> Spaceghostc2c: That sounds like a good deal.
<Spaceghostc2c> Yeah, a hundred dollars in exchange for a nick on some network. I'm spaceghost most everywhere else.
<andrewvos> well, freenode is kind of big
<banisterfiend> Spaceghostc2c: maybe he thought you were going to try to take over his whole past and future and leave memories that disgust him
<rue> Apparently could be useful for RDF
<rue> If RDF was in any way useful
<andrewvos> rue: Yay rdf.
cantonic has joined #ruby-lang
<andrewvos> rue: Who made rdf, and like, why. Who are these programmers that do this shit to us.
<Spaceghostc2c> banisterfiend: I wouldn't ever... tell him that. I don't reveal my sinister plots that early in the execution.
mistym has joined #ruby-lang
<andrewvos> rue: It's kind of like the people who make shit jokes. You could never track down who actually invented them, but they still exist.
<rue> I recall someone wanted to use RDF to describe an API… I was, like, “no.”
<Spaceghostc2c> rue: Psh. Hypermedia as the engine of application state, please.
<rue> You’ll note there’s no mention of RDF in that :P
<Spaceghostc2c> I never noticed that before! You're really smart.
<rue> It’s another one of those things that *sounds* kinda useful, but in practice you’re better off with just putting up a few docs and making sure your discoverability is in order
<andrewvos> As if some developer is going to be like: "Ok I want to consume an API, first I'll write a system that can fully understand what type of data I will be consuming"
<Spaceghostc2c> What's the whole point of RDF?
<Spaceghostc2c> I was going to look at wikipedia, but I saw buzzwords and got scared.
<andrewvos> Spaceghostc2c: To fuck up my life.
dv310p3r has joined #ruby-lang
cantonic has quit [Client Quit]
<andrewvos> I think it's impossible to explain RDF without sounding like an enterprisey douchebag.
ku1 has quit [Read error: Connection reset by peer]
chendo_ has joined #ruby-lang
<Spaceghostc2c> andrewvos: Is it like SOAP, but sort of meta?
<andrewvos> Copying from wikipedia so I don't have to think about it too much "The Resource Description Framework (RDF) is a family of World Wide Web Consortium (W3C) specifications [1] originally designed as a metadata data model. It has come to be used as a general method for conceptual description or modeling of information that is implemented in web resources, using a variety of syntax formats.
<andrewvos> "
ku1 has joined #ruby-lang
<rue> andrewvos: Are you mired in RDF now?
<andrewvos> rue: Well, not that much.
<andrewvos> rue: I think I've managed to go with spitting out json instead.
sora_h is now known as s0ra_h
<andrewvos> rue: So may have avoided that. Fingers crossed.
<rue> Good.
chendo_ has quit [Quit: Computer has gone to sleep.]
mssola has quit [Quit: Konversation terminated!]
Xzyx987X_ has quit [Ping timeout: 255 seconds]
brianpWins has joined #ruby-lang
savage- has quit [Remote host closed the connection]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has joined #ruby-lang
Xzyx987X has joined #ruby-lang
dv310p3r has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
ku1 has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
msaffitz has quit [Quit: Computer has gone to sleep.]
cirenyc has joined #ruby-lang
outsmartin has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
outsmartin1 has quit [Ping timeout: 265 seconds]
ruurd has joined #ruby-lang
<rue> Is it like instant coffee?
<Spaceghostc2c> Instant hipster.
<andrewvos> I would buy it but it doesn't print photos on those old style papers
kristofferrr has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
Xzyx987X_ has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 240 seconds]
savage- has joined #ruby-lang
nofxxxx has quit [Ping timeout: 240 seconds]
mikkelb has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<andrewvos> I'm just digging my hipster hole deeper here aren't I.
* andrewvos has left the conversation
<rue> Yes, but are you using a vintage shovel?
<rue> Or is it too mainstream?
<andrewvos> Obviously. Sheesh.
Z33K|Lux has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
andrewhl has joined #ruby-lang
nofxxxx has joined #ruby-lang
<rue> That’s pretty mainstream, it’s got like 500 million users
ilyam has joined #ruby-lang
ilyam has quit [Remote host closed the connection]
* mikkelb is now playing: mikkelb - doom & gloom (http://home.no/dwaynie/doom_and_gloom.mp3)
kristofferrr has quit [Quit: ❤]
xtagon has joined #ruby-lang
yannis has joined #ruby-lang
mikkelb has quit [Quit: Lost terminal]
scientes has joined #ruby-lang
fgomez has joined #ruby-lang
dejongge has quit [Quit: Leaving.]
arooni-mobile__ has quit [Quit: Leaving]
arooni-mobile__ has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
savage- has quit [Remote host closed the connection]
VegetableSpoon has joined #ruby-lang
banisterfiend has joined #ruby-lang
saLOUt has quit [Quit: Konversation terminated!]
andrewhl has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
andrewhl has quit [Ping timeout: 246 seconds]
savage- has joined #ruby-lang
voker57 has quit [Read error: Connection reset by peer]
melba has joined #ruby-lang
melba has left #ruby-lang [#ruby-lang]
gsav has quit [Quit: Lost terminal]
<rue> Stop playing with yourself.
gsav has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
ruurd has joined #ruby-lang
gsav has quit [Client Quit]
gsav has joined #ruby-lang
workmad3 has joined #ruby-lang
kurko_ has joined #ruby-lang
Carnage\ has quit [Ping timeout: 240 seconds]
nofxxxx has quit [Ping timeout: 252 seconds]
andrewhl has joined #ruby-lang
nofxxxx has joined #ruby-lang
gsav has quit [Quit: Lost terminal]
gsav has joined #ruby-lang
kvirani has joined #ruby-lang
gsav has quit [Quit: Lost terminal]
savage- has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
Denommus has joined #ruby-lang
VegetableSpoon has quit [Ping timeout: 264 seconds]
<Denommus> hi
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
neocoin has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
igotnolegs has joined #ruby-lang
hahuang65 has joined #ruby-lang
romain1189 has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
dv310p3r has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
yannis has quit [Quit: yannis]
s0ber has quit [Ping timeout: 255 seconds]
sepp2k has quit [Quit: Leaving.]
ruurd has quit [Quit: Leaving...]
sepp2k has joined #ruby-lang
s0ra_h is now known as sora_h
romain1189 has quit [Quit: romain1189]
kirin` has joined #ruby-lang
ruurd has joined #ruby-lang
savage- has joined #ruby-lang
seanstickle has joined #ruby-lang
sora_h is now known as s0ra_h
sepp2k1 has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
sepp2k has quit [Ping timeout: 264 seconds]
savage- has quit [Remote host closed the connection]
heftig has joined #ruby-lang
yannis has joined #ruby-lang
Denommus has left #ruby-lang [#ruby-lang]
dejongge has joined #ruby-lang
heftig has quit [Quit: leaving]
<rue> HI THEER
nofxxx has joined #ruby-lang
nofxxxx has quit [Ping timeout: 252 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
pjs_ has joined #ruby-lang
msaffitz has joined #ruby-lang
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
Defusal_ has quit [Ping timeout: 244 seconds]
ruurd has quit [Quit: Leaving...]
nofxxxx has joined #ruby-lang
ruurd has joined #ruby-lang
nofxxx has quit [Ping timeout: 265 seconds]
ruurd has quit [Client Quit]
dv310p3r has quit [Ping timeout: 264 seconds]
heftig has joined #ruby-lang
hahuang65 has joined #ruby-lang
arooni-mobile__ has quit [Read error: Connection reset by peer]
headius has joined #ruby-lang
Guest41615 has quit [Quit: leaving]
alindeman has quit [Remote host closed the connection]
kurko_ has quit [Quit: This computer has gone to sleep]
scientes has quit [Ping timeout: 246 seconds]
alindeman has joined #ruby-lang
leopard_me has joined #ruby-lang
headius has quit [Quit: headius]
brownies has left #ruby-lang [#ruby-lang]
leopard_me has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
headius has joined #ruby-lang
arooni-mobile has joined #ruby-lang
scientes has joined #ruby-lang
postmodern has joined #ruby-lang
agile has quit [Ping timeout: 246 seconds]
agile has joined #ruby-lang
s0ra_h is now known as sora_h
tbuehlmann has quit []
workmad3 has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
headius has quit [Ping timeout: 245 seconds]
ku1 has joined #ruby-lang
s0ber has joined #ruby-lang
schroedinbug has quit [Ping timeout: 265 seconds]
schroedinbug has joined #ruby-lang
diegoviola has joined #ruby-lang
sora_h is now known as s0ra_h
chessguy has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
schroedinbug has quit [Ping timeout: 265 seconds]
s0ra_h is now known as sora_h
schroedinbug has joined #ruby-lang
<andrewvos> Spaceghostc2c: Cinch!
<erikh> request-log-analyzer
<erikh> so slow
<erikh> ;(
<andrewvos> regex
<erikh> regexes, in their compiled form, also parse your ruby
<andrewvos> Those bastards!
sora_h is now known as s0ra_h
<Spaceghostc2c> andrewvos: What do you mean?
<erikh> Spaceghostc2c: cinch is an irc framework
<erikh> a pretty good one
<Spaceghostc2c> Oh nifty.
<erikh> andrewvos: if this thing was just multithreaded it'd be a bajillion times faster
<erikh> and I'd invest the time to get jruby running to use it
<epitron> hmm... is there a clever way of creating a tree (in hash form) from a set of elements that each have a .parent attribute?
<epitron> i feel like some kind of recursive group_by might do it
ku1 has quit [Read error: Connection reset by peer]
dejongge has quit [Ping timeout: 240 seconds]
outsmartin has quit [Quit: Leaving.]
JustinCampbell has joined #ruby-lang
nofxxx has joined #ruby-lang
s0ra_h is now known as sora_h
nofxxxx has quit [Ping timeout: 248 seconds]
<erikh> epitron: you could do it with recursion, or a while loop
Berglund has joined #ruby-lang
htroyack has joined #ruby-lang
htroyack has quit [Client Quit]
htroyack has joined #ruby-lang
SkramX has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
workmad3 has quit [Read error: Operation timed out]
sora_h is now known as s0ra_h
workmad3 has joined #ruby-lang
<rue> epitron: So you have a bunch of elements that point to the parent, not the other way around?
<epitron> rue: yeah
<andrewvos> rue: Well, you chould just loop and .child == x
<andrewvos> Oh battery dead
<andrewvos> Bye
<epitron> true
<rue> Right, that’s the obvious way, if not necessarily the most efficient
<epitron> it would be cleaner without group_by
<epitron> it should be pretty efficient too
<epitron> nodes.each {|node| node.parent.children << node }
<rue> Yes, plus finding the root
<epitron> i dunno why i'm trying to get all fancy :)
<epitron> trueee
<epitron> nodes.each {|node| node.parent.children << node if node.parent }
<epitron> root = nodes.find { |node| node.parent == nil }
dejongge has joined #ruby-lang
<epitron> roots = nodes.select{ |node| node.parent == nil }
<epitron> yes, i like this solution :)
workmad3 has quit [Ping timeout: 240 seconds]
<epitron> i will be able to tell what it does in 6 months
seanstickle has joined #ruby-lang
jperry2 has joined #ruby-lang