Skip to content

Instantly share code, notes, and snippets.

@sr
Created October 11, 2008 16:58
Show Gist options
  • Save sr/16293 to your computer and use it in GitHub Desktop.
Save sr/16293 to your computer and use it in GitHub Desktop.
19:57 <sha1> http://pastie.org/281547 .. why is this weird thing happenning?
19:58 <elliottcable> one-upped!
19:58 <elliottcable> Grr apeiros can you voice me on #Ruby-Pro just so I can change nicks without leaving it?
19:59 <_rane> #ruby-pro? is that were all the elitists dwell?
19:59 <_rane> where*
19:59 <elliottcable> _rane: Apperantly so.
19:59 <elliottcable> I'd think that'd be *any* Ruby channel, but meh.
20:00 <wmoxam> lol
20:00 <wmoxam> #ruby-pro
20:00 -!- dug [[email protected]] has quit [Read error: 110 (Connection timed out)]
20:00 -!- jclinton [n=jclinton@pdpc/supporter/student/jclinton] has quit ["Ex-Chat"]
20:00 -!- dug [[email protected]] has joined #ruby-lang
20:01 -!- rtomayko_ [[email protected]] has joined #ruby-lang
20:02 -!- foca [[email protected]] has joined #ruby-lang
20:02 -!- dug_ [[email protected]] has joined #ruby-lang
20:02 -!- dug [[email protected]] has quit [Read error: 54 (Connection reset by peer)]
20:04 <loincloth> funny, that's an actual channel
20:04 <wmoxam> yeah
20:04 <wmoxam> it's not like anyone ever talks in it
20:04 <elliottcable> Not only that, it has a website.
20:04 <loincloth> oooooh
20:04 <loincloth> i heard about those
20:05 <elliottcable> http://ruby-pro.org/
20:05 -!- david_koontz [[email protected]] has joined #ruby-lang
20:05 <elliottcable> http://ruby-pro.org/rules
20:05 -!- mrsolo [n=mrsolo@nat/yahoo/x-2e538314e9a80319] has joined #ruby-lang
20:05 <loincloth> that's a part of the innertubes right
20:06 <elliottcable> "Provide a place for undisturbed discussion of advanced ruby topics" - i.e. We're too good to spend time helping noobs, instead we'll just circlejerk about metaprogramming. Because that total
ly helps people.
20:06 <teferi> no, that's not at all the point
20:06 <teferi> the point is to have somewhere we can discuss stuff without someone asking the same question about const_get every day
20:06 <elliottcable> actually, I was going to paraphrase the rest of the rules, but I don't feel like being that much of an ass right now. Too good of a mood d-:
20:07 -!- ducktyped [[email protected]] has joined #ruby-lang
20:07 <wmoxam> teferi: you don't have to answer every question :p
20:07 <elliottcable> teferi: Oh, I understand that. I just feel that's not "giving back" at all. Mabye you get tired of the same const_get questions, but maybe that's what's helping people the most.
20:08 <elliottcable> The stated purpose is to prevent "help vampires" - but maybe there's nothing wrong with said "vampires".
20:08 <teferi> yes there is.
20:08 <elliottcable> I wouldn't know a smidgen of Ruby right now, if it weren't for me having spent a year being a "help vampire"
20:08 <teferi> when people persistently refuse to read documentation and think...
20:08 <loincloth> there is, but you don't need a private little treehouse to deal with them
20:08 <elliottcable> But now I can help so many people with their questions, I can write code that makes life easier on people, I can *participate*
20:08 <loincloth> but maybe it's better to put people there when they can't deal any other way than to get pissy and judgemental
20:08 <wmoxam> teferi: that's when you point them to the docs ....
20:09 <sha1> http://pastie.org/281547 ..Guys pls let me know why its happening?
20:09 -!- Fullmoon [[email protected]] has joined #ruby-lang
20:09 <teferi> wmoxam: don't make me go through logs for examples
20:09 <elliottcable> sha1: I don't understand what's going wrong. Could you please give me some more context to your problem?
20:09 <wmoxam> teferi: hey, you don't have to. I help out in #rubyonrails daily
20:09 <sha1> as in shall i post the yaml file as well?
20:09 <wmoxam> teferi: it's a jungle in there
20:09 <elliottcable> teferi: I've seen multiple people ask stupid questions, sure, that gets annoying. I've never seen one person ask the same stupid question day after day, and that's what you're complaining abo
ut.
20:10 <elliottcable> sha1: Well first I need to know what you're trying to do.
20:10 -!- swombat [[email protected]] has joined #ruby-lang
20:12 -!- Samedhi [[email protected]] has quit []
20:12 <sha1> ok .. from the yaml file am picking out the "name" which has an attribute "agg_name". the value its evaluated at for the agg_name and the appending of X is immaterial.. i have done it for something e
lse that is not necessary
20:12 -!- dimebar [[email protected]] has joined #ruby-lang
20:12 <elliottcable> okay
20:12 <elliottcable> First of all, I think you can replace a lot of your code with this:
20:12 -!- rdavila [[email protected]] has quit [Read error: 110 (Connection timed out)]
20:12 <elliottcable> es = yaml.partition_by {|i| option['agg_name'] }
20:12 -!- mode/#ruby-lang [+o zenspider] by ChanServ
20:12 -!- Fullmoon [[email protected]] has quit [Connection reset by peer]
20:12 <elliottcable> I'd appreciate it if you could paste that YAML file, or a sample of it, now.
20:12 <sha1> sure
20:13 -!- MitkOK [[email protected]] has quit [Read error: 110 (Connection timed out)]
20:13 <sha1> elliottcable:http://pastie.org/281547
20:13 <elliottcable> sha1:
20:14 <elliottcable> sha1: k, give me a moment
20:14 <sha1> sure
20:14 <shafire> how can i get &#228; to <C3><A4>?
20:14 <sha1> elliottcable: forget that "underscore" mentioned
20:14 -!- CodeOfficer [[email protected]] has joined #ruby-lang
20:14 -!- Fullmoon [[email protected]] has joined #ruby-lang
20:14 <elliottcable> shafire: You mean that you want to evaluate HTML entities into their actual UTF-8 characters?
20:14 <shafire> yes
20:14 <sha1> i must hav pasted the wrong thing... just assume that its not there :) ...am sorry
20:15 -!- gasbag [[email protected]] has joined #ruby-lang
20:15 <@zenspider> I wake up... and I come in here... and the FIRST thing I see is elliottcable being an obnoxious prick ... AGAIN. I don't know who lifted your ban, or why, but you sir are NOT a welcome element
in this channel.
20:15 -!- Fullmoon [[email protected]] has quit [Client Quit]
20:15 -!- Symmetry- [[email protected]] has joined #ruby-lang
20:15 <@zenspider> I made it clear yesterday that I wasn't sure why your ban was lifted... but I let you stay, HOPING (stupidly) that maybe this time around you might have learned your lesson.
20:16 -!- Vardogr [[email protected]] has joined #ruby-lang
20:16 <@zenspider> it is pretty clear that you have not.
20:16 <elliottcable> <E2><80><A6> I'm helping people. And complaining about a channel, not this one, and then stopping doing so when I realized it may not be welcome to do so in here.
20:16 <@zenspider> so know this... I'll be back to reban you every time you show up.
20:16 -!- mode/#ruby-lang [+b *[email protected]] by zenspider
20:16 -!- elliottcable was kicked from #ruby-lang by zenspider [Kicked]
20:17 <fozze> i guess justice has been served?
20:17 <_rane> justice? who knows
20:17 <Vardogr> That's the first time I've ever seen anyone kicked from this channel... and I just logged in...
20:17 <wmoxam> zenspider: what did he do?
20:18 <hipe> yeah why was he banned?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment