Hal Fulton on Twitter...3144 (11/12/2010 9:10:26 PM) comp.lang.ruby If you have any interest in following me, feel free.
I plan to be more active on Twitter starting this week.
For those of you asking about _The Ruby Way_ --
the 3rd edition is still months away. If you w... Hal
Enumerators and generators7166 (7/22/2010 1:12:33 AM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.]
Hi, all...
I'm trying to grasp when/why one might use a generator instead of
an enumerator (or vice versa).
I've used generators, b... Hal
feedtools 0.2.290154 (12/3/2009 10:13:37 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.]
I suppose this lib may be defunct, but I used it and liked it
a few years back.
Now I install the gem, and the require doesn't work.
... Hal
Proper/best way to merge PDFs from Ruby?166 (11/5/2009 8:04:41 AM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] Doing simple concatenation of PDF files. At the moment I'm invoking pdftk from within Ruby... works fine, but feels ugly, and I don't want ... Hal
StringIO and reopen1021 (11/2/2009 10:02:23 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] I've noticed (via my friend Taylor Carpenter) that IO#reopen doesn't work for a StringIO object. Should it? I haven't dug into the source... Hal
Ruby in Australia...318 (10/29/2009 1:54:38 AM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] Hi, all... I have talked with two or three Rubyists in Australia -- principally Melbourne I think -- and I am wondering how active things a... Hal
Upcoming RubyConf029 (10/8/2009 3:16:07 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] If anyone has to back out, please consider selling me your spot. Thanks, Hal Fulton ... Hal
Inline text (like Kontera)136 (1/12/2008 12:53:04 AM) comp.lang.ruby Wondering if anyone has done anything in Ruby like what what Kontera or Vibrant Media are doing? Email me... Thanks, Hal ... HAL
(RE)XML question717 (8/22/2006 10:14:37 PM) comp.lang.ruby Question for you all. I want to treat HTML like XML (which is no big deal). But I want to find certain "special" tags (not real HTML) and replace them with my own text. It's macro-type stuff. Basically I want... rubyhacker
[OT] Website needs volunteer web guy045 (8/16/2006 4:25:52 PM) comp.lang.ruby I know of an organization that needs help with its website. I won't mention it here, but I believe it to be a very good cause. Three catches: 1. It's not paid (at least not teh first 90 days or so). Actually,... rubyhacker
[].all?{} and [].any?{} Behavior26130 (7/29/2010 9:27:52 PM) comp.lang.ruby I find the following behavior interesting (so interesting that I
modified it), and I would like to hear others' thoughts on the subject:
[3].all? {|element| element == 3 } # => true
[3].all? {|element| el... John
[QUIZ] Music Theory (#229)2726 (2/26/2010 5:36:16 PM) comp.lang.ruby -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from th... yahivin(88)
StringIO and reopen1021 (11/2/2009 10:02:23 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] I've noticed (via my friend Taylor Carpenter) that IO#reopen doesn't work for a StringIO object. Should it? I haven't dug into the source... rubyhacker(83)
[ANN] Creation of a ruby-talk FAQ page (again)418 (10/16/2009 4:50:57 PM) comp.lang.ruby I am pleased to announce the creation of a small wiki page designed to try and serve as a FAQ for ruby-talk. http://wiki.github.com/rdp/ruby_talk_faq Please feel free to add to it and use it. Thanks! -r -- ... rogerpack2005(1307)
(RE)XML question717 (8/22/2006 10:14:37 PM) comp.lang.ruby Question for you all. I want to treat HTML like XML (which is no big deal). But I want to find certain "special" tags (not real HTML) and replace them with my own text. It's macro-type stuff. Basically I want... rubyhacker(83)
Odd Net::FTP behavior336 (8/10/2006 8:39:43 PM) comp.lang.ruby Here's my (simple) code. This has worked fine in the past; now even this simple example fails for me. It gets as far as creating an empty file, then it hangs and times out. This is Ruby 1.8.4 on FC4, talking ... rubyhacker(83)
how private is private in ruby?828 (10/26/2005 7:32:36 PM) comp.lang.ruby Why is this allowed / possible? class MyUltraSecretKeystore private def key return "nobody-should-read-this-ever" end end ks = MyUltraSecretKeystore.new $ puts ks.send(:key) > "nobody-should-read-t... pertl(61)
The "perfect" ORM?5125 (10/26/2005 12:11:39 AM) comp.lang.ruby For many weeks I have had this at the back of my mind. I want a really good ORM that is highly non-intrusive (e.g., I don't have to inherit and I don't have to clutter my classes and objects with metadata). S... hal90001(1535)
What's your Ruby Number? (self.to_i)6224 (10/25/2005 2:20:28 AM) comp.lang.ruby I offer this in the spirit of the old "purity test" and the "nerdity test" that was derived therefrom. Don't take it *too* seriously. All point weights are strictly my opinion and are subject to change. Vers... hal90001(1535)
String as Subclass of Symbol?1030 (10/24/2005 2:12:54 PM) comp.lang.ruby Speaking of > i might add that i hope whatever keys object will hash key and symbol > arguments the same so we can do > > val = keys['foo'] > > or > > val = keys[:foo] Has it ever been considered making... transfire(2969)