130336-132476 subjects 130741-132330

^ ruwiki question
130574 [itsme213 hot] ...
130582 [halostatue g] I'm not quite sure what you're after here. Can you expand on this?
130615 [itsme213 hot] ...
130629 [halostatue g] This is certainly feasible, and I think that your proposed
130776 [itsme213 hot] ...

^ Rails question - ActiveRecord::Base#composed_of
130594 [dave burt.id] ...
130612 [david loudth] This setup expects that your people table has family_name and
130613 [dave burt.id] ...
130624 [jamesUNDERBA] Gmane gateways vast numbers of OSS-related mailing lists to Usenet

^ shebang line and ruby
130596 [vnainar mant] I  am learning  Ruby   and I was using python earlier.
130607 [sroberts uni] I believe this has been commented on before, and that it is common

^ Parsing atom feeds
130614 [matt.mower g] Is anyone working on parsing Atom feeds?  The 1.8.2 "built in" rss

^ strong ref from weak ref?
130616 [navindra cs.] I would like to have a lookup table with WeakRefs to various
130618 [flgr ccan.de] I think WeakRef#__getobj__ will do what you want.
130619 [navindra cs.] Oh... ooops.  Thanks, I should have seen that.

^ curses, ncurses, threads and non-blocking getch
130620 [wmorgan-ruby] It looks like non-blocking getch (i.e. when nodelay = 1) with Ruby's

^ const_defined? and inheritance
130628 [kh newclear.] ...
130631 [dblack wobbl] I think they're just two different operations.  The constants a module
130632 [kh newclear.] ...
+ 130633 [dblack wobbl] Yes, that's what I meant (and thought I'd said :-)  B can see A's FOO,
+ 130634 [vjoel PATH.B] p defined?(B::FOO)      # ==> "constant"

^ Rails: has_and_belongs_to_many
130635 [pedro.santos] I am experimenting with Rails, and I have the following question regarding
130647 [cameron.mcbr] Greetings,
130666 [pedro.santos] Thanks, I had missed the

^ difficulty with blocks
130637 [softpro gmx.] i am still in my early stages of ruby, so please forgive me any
130638 [softpro gmx.] sorry for answering my own post, but i am adopting ruby at an incredible
+ 130639 [eero.saynatk] That works fine, but let me ask you what you're trying to do?
| 130642 [softpro gmx.] i am really just trying to come up to speed in ruby. i was wondering how
+ 130640 [langstefan g] ##################################################
  130643 [softpro gmx.] thx, this helped a lot. i wasn't aware that one could use "break" inside

^ [ANN] RubyTorrent 0.3 (beta)
130641 [wmorgan-ruby] I'm happy to announce RubyTorrent 0.3, which I've decided is good enough
130655 [ay1204 qazi.] Good enough for me.  That Azureus java nonsense was getting on my
130663 [rff_rff remo] I don't think azureues is that bas :)
+ 130668 [ay1204 qazi.] Azureus - no.  Java, YES.  I wish Azureus would compile with gcj into
| 130669 [rff_rff remo] it is SWT based, and IIRC that are possible to compile with gcj.
| 130791 [ay1204 qazi.] pff.... CLI beats GUI any day :-)
+ 130673 [wmorgan-ruby] Oh yes, that was a test to see if anyone was paying attention. :)

^ [ANN] LXL (Like Excel) 0.3.0
130645 [kh newclear.] ...
130646 [kh newclear.] ...

^ duplicated  match question
130649 [shaobo.li gm] why pattern "(\w)\1" match duplicated letter "ll"  in "Hello"
130650 [cmills frees] (\w) matches a word character and stores it in the first 'register'.
130652 [shaobo.li gm] this make me understand it clearly,thanks Charles !

^ evaluation order
130651 [zehao.chen g] One interesting thing is when running the following codes
+ 130657 [eule space.c] ...
+ 130662 [bob.news gmx] "Zehao" <zehao.chen@gmail.com> schrieb im Newsbeitrag
  130670 [dblack wobbl] irb(main):005:0> puts x if x = 1
  + 130672 [eero.saynatk] In general that's a useful warning... I'm assuming you may mean just
  + 130676 [martindemell] ...
    130678 [dblack wobbl] I'm trying to figure out the pattern behind when it gets triggered or
    130686 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
    + 130700 [lists bertra] There is
    | 131074 [bob.news gmx] "Bertram Scharpf" <lists@bertram-scharpf.de> schrieb im Newsbeitrag
    + 130706 [jim weirichh] I will occasionally use the a=x in an elsif statement.  Generally when the 'x'

^ Structuring Ruby extension code
130656 [craig-duncan] I'm relatively new to Ruby (in terms of seriously programming in it) and right now i
130671 [cyclists nc.] The module is there to prevent namespace pollution. By defining the Ogg
130727 [craig-duncan] Thanks.  I kind of understood this.  If there was no C extension involved, the
130772 [ruby-talk wh] Sure.  Send me your copy and I will manually inscribe the updates in
130879 [craig-duncan] That would be a lot of work, though, wouldn't it?  I think it'd make more sense for
130954 [ruby brian-s] I think this is making fun with the fact, that you often only see japanese characters when searching for a ruby application. And if you'r lucky you get a altavista translated english version of the site to help you have a funny day laughing about automatic translation programs.

^ Ruby Weekly News 7th - 13th February 2005
130658 [timsuth ihug] Ruby Weekly News 7th - 13rd February 2005
+ 130681 [halostatue g] To make my current work a bit more prominent (I think it's buried in a
+ 130705 [paul iconopl] This is a really useful summary you're doing. Assuming you're going to
  130950 [timsuth ihug] ...
  130955 [timsuth ihug] ...
  130983 [pat.eyler gm] I'd love to see this happen, but it'd take a *lot* more work than one

^ TOTALLY OT: Re: utilizing ++ and -- for comments
130659 [eule space.c] ...
130661 [gavri.fernan] Actually, it's an "Infrequently asked Question"
130665 [eule space.c] ...

^ mandatory braces
130674 [softpro gmx.] i've been playing around with ruby a bit and have a proposal to make.
+ 130675 [ruby-lists l] lets put it this way.
| + 130677 [eero.saynatk] Just skipping the method() step might be enough? The visual cue from
| | 130680 [chneukirchen] I actually would like that, but else, *no way* for forced ().
| + 130744 [rampant gmai] if this went into ruby,
+ 130679 [dblack wobbl] def x; end
+ 130683 [mailing-list] Parentheses, please,
+ 130699 [lists bertra] I'd rather appreciate a way to get rid of the rest of
| 130703 [mailing-list] nikolai
+ 130719 [craig-duncan] I agree (with others) that this exact idea isn't so good.  Why should you have to use
  + 130723 [joaopedrosa ] I think that one of the things that make Ruby what it is is the
  | 130745 [dblack wobbl] Isn't the idea there to produce a string value if there is one
  | 130748 [joaopedrosa ] In this case you are right. I probably messed up the example, but with
  + 130747 [dblack wobbl] def a b, c, d = e
    130763 [jamesUNDERBA] I prefer to avoid parens when it adds to readability by removing

^ [ANN] win32-changejournal 0.1.0
130682 [djberg96 hot] The Win32 Utils team is happy to announce the first release of
130787 [demerzel gma] Okay, so I finally got around to trying this out. Sorry about the delay.

^ "Joining" strings which may be nil (or) Handling Option hashes
130684 [gavri.fernan] I want to create a query based on options passed in through
130688 [bob.news gmx] "Gavri Fernandez" <gavri.fernandez@gmail.com> schrieb im Newsbeitrag
+ 130691 [sera fhwang.] Maybe the OP isn't worried about this, but: Is there a way to represent
| 130697 [bob.news gmx] "Francis Hwang" <sera@fhwang.net> schrieb im Newsbeitrag
+ 130692 [gavri.fernan] This is the solution I hit upon right after I sent my mail. Please
| + 130694 [eero.saynatk] hsh.to_a.map!{|i| i.join('=')}.join(' and ')
| + 130695 [bob.news gmx] "Gavri Fernandez" <gavri.fernandez@gmail.com> schrieb im Newsbeitrag
|   130808 [gavri.fernan] My bad. My mail was cluttered with
+ 130710 [w_a_x_man ya] opts.to_a.map{|x| x.join('=') if x[1]}.compact.join(' and ')
  130925 [w_a_x_man ya] opts.map{|x| x.join('=') if x[1]}.compact.join(' and ')

^ What is this syntax?
130696 [dcorbin mach] def foo(*)
130698 [bob.news gmx] "David Corbin" <dcorbin@machturtle.com> schrieb im Newsbeitrag
130709 [dcorbin mach] And the foo method just can't refer to them?
130711 [hal9000 hype] Right... I'd assume it's for some kind of case where you're
130713 [eero.saynatk] Right. Technically, I think, it creates an Array of the arguments but

^ New York - Rss Job Feeds
130701 [jobs pickajo] West Seneca - NY

^ zlib problems with ruby 1.8.2 on suse 9.1
130702 [pelleb gmail] I've been trying to get a hand built ruby to work on a suse 9.1

^ Printing why's (poignant) guide to ruby
130707 [Richard_Dale] I'd like to try ruby on non-programmers teaching them using why's amazing
+ 130714 [navindra cs.] Oh you think Ruby might be suitable for a total beginner?
| + 130716 [ruby-lists l] i'm really puzzled by this.
| | + 130718 [caiot1 ibest] I think Ruby easier to learn than Python for a beginer.
| | + 130731 [navindra cs.] How is a total beginner going to learn Ruby?  By reading Pickaxe?  I'm
| | | + 130752 [ruby-lists l] google is your friend :)
| | | + 130755 [caiot1 ibest] a, b = 1, 1
| | | | 130779 [navindra cs.] Um yeah the whole program is syntactically wrong.  Fortunately Python
| | | | + 130780 [navindra cs.] Whoops.  Okay the whole program is not syntactically wrong...  I cut
| | | | | 130817 [jim weirichh] Don't know if you are aware of it or not, but yield in Python is quite
| | | | + 130798 [joaopedrosa ] This is the required behaviour of good languages. When there is a
| | | | + 130803 [ruby-lists l] context switch required.
| | | | + 130809 [jamesUNDERBA] It wouldn't be the first, or even the second, thing I would teach, but a
| | | |   130826 [rhkramer fas] If you attempt it, how about explaining blocks from the point of view of
| | | |   130862 [flgr ccan.de] They can have arguments as well. Otherwise they are the general form of
| | | |   130920 [rff_rff remo] I think even more mind boggling things relate to every function being
| | | |   130930 [flgr ccan.de] Partially. See pseudo attachment.
| | | + 130822 [ruby-lists l] reading this again. still shocked...
| | | | 130824 [michael.walt] FWIW, from my experience "people" have very few problems understanding
| | | | 130827 [ruby-lists l] its not about understanding. its about debugging and thusly
| | | + 130825 [gavri.fernan] No. Ruby is only complex when you  work on complex problems. (I mean
| | |   131017 [discordantus] No, you don't go paradigm-swapping on them. When it gets to a point
| | |   131184 [gavri.fernan] But why is this better than just starting with
| | |   131185 [ruby-lists l] personally i'd teach via p
| | |   131191 [gavri.fernan] With irb for beginners, it's a lot more "natural". There's no need for
| | + 130733 [cyclists nc.] I agree that Ruby would make a good "first" language, but I have to
| | + 130737 [Richard_Dale] Why do you think they are easier to learn than ruby? I'd just like to try
| + 130717 [joaopedrosa ] Visual Basic too needs some thinking to put together a program. I
| + 130720 [aengstrom gn] I think Ruby would be a great language for a 'total' beginner. First -
|   130724 [michael.walt] The Ruby user would think "Who puts?" :-)
|   130732 [w_a_x_man ya] "Hello, world!".display
|   130743 [aengstrom gn] Ok, that's probably more intuitive :) But not if you want to achieve the
|   + 130756 [caiot1 ibest] "Hello world!
|   | 130766 [w_a_x_man ya] achieve the
|   + 130764 [jamesUNDERBA] How do you know that?
|     + 130769 [shalev simpl] ...
|     | 130777 [ruby-talk wh] People know and recognize "http://".  Which is more cryptic than most
|     + 130770 [mrmargolis w] I have to agree with James.  I taught several young children the basics
|     + 130819 [ruby-lists l] how can a variable confuse? its just a name. anyone who's done basic
|       + 130828 [rhkramer fas] Probably, but a = a + 1 was confusing for me when I first started
|       | + 130829 [halostatue g] It's been quite a while for me since I learned algebra as well, but
|       | + 130830 [ruby-lists l] maybe i've little experience with people learning later on.
|       | | 130835 [YKloubakov f] ...
|       | | + 130837 [ruby-lists l] 1 = 1 + 1/a
|       | | + 130840 [martindemell] ...
|       | |   130850 [caiot1 ibest] Jokers guys.
|       | + 130890 [w_a_x_man ya] Incorrect.  Subtracting a from both sides leaves
|       |   130966 [rhkramer fas] Oops!  (You're right, of course!)
|       + 130846 [billk cts.co] In theory... But there also exist people who have an
+ 130806 [raphael.baud] If you can't get a clean printable version, you can always try  htmldoc. It's
| 130838 [ruby-talk wh] Nice.  Well, it's not a great conversion.  And I turned off the Table of
| 130887 [Richard_Dale] Thanks _why - just what I wanted! I look forward to trying it out teaching a
+ 130843 [brothermarcu] *putting on flame retardant pants*
  + 130844 [navindra cs.] Thanks Marcus, I have to admit some of the comments are making me lose
  | + 130889 [ruby.talk.li] Please take into account that most folks here do not look down on
  | | 130897 [ruby-lists l] i did note that it was a rant...
  | + 130928 [rff_rff remo] maybe the point is starting withouth using blocks.
  + 130845 [joaopedrosa ] The Pickaxe book has a different style of presenting the language. It
  + 130847 [ruby.talk.li] It is not merely harsh; it is incorrect.  Most people here prefer Ruby
  | + 130851 [brianm apach] I prefer ruby, but am not convinced it is "better for learning" than
  | | + 130853 [joaopedrosa ] Have you seen this interview by Alan Kay?
  | | | 130855 [sdate everes] Yes, but at the same time, he devotes a lot of his time to support the
  | | + 130896 [ruby-lists l] thanks. glad someone said it.
  | | + 130929 [rff_rff remo] more fun with generator expressions :D
  | + 130900 [ruby-lists l] /me notes that he's writing a ruby parser using python's pyggy library
  + 130898 [ruby-lists l] ;) hope they are comfortable :)

^ Gem issues and questions
130708 [kh newclear.] ...
130722 [chadfowler g] Ug.  I hope not.  I haven't seen this happen on Mac OS.  Can any other

^ Ruby on Windows: debugger questions and comments
130715 [umptious gma] 'm evaluating scripting languages for a client. Ruby as a language
+ 130721 [curt hibbs.c] The latest version of FreeRide, and the version of FreeRIDE that comes with
| + 130760 [umptious gma] So why does the FreeRIDE homepage say: "Unfortunately, the debugger
| | 130799 [umptious gma] Further comments: if I run rubygems, then the debugger semi-works - ie
| | 130807 [pit capitain] I'm sure you did what you suggested and sent the missing documentation to the
| | + 130813 [pit capitain] Sorry, this doesn't sound as it was intended to. What I wanted to say was: if
| | + 130816 [ruby.talk.li] If  JC did, that would be great.
| |   130874 [umptious gma] Yes, it does seem strange to suggest that someone who doesn't know how
| |   130894 [pit capitain] Come on, James, in your previous mail you talked about what you had to do to
| |   130967 [umptious gma] On the other hand, you could have given
| |   130973 [pit capitain] James, I didn't want to upset you. If I did, then please accept my apologies.
| + 131089 [snowzone5 ho] has there been a later version of freeride released. i've been using
|   131096 [curt hibbs.c] that's the most recent version. I'm forwarding this to the FreeRIDE ML to
|   131117 [snowzone5 ho] other than that the debugging works well...
+ 130730 [tobias.luetk] I know this sounds like a long stretch but after writing thousands of
| 130814 [flgr ccan.de] And it works outside of Rails as well -- just copy the breakpoint*.rb
+ 130762 [djberg96 hot] There is also the debugger that comes with RDT (the Ruby plugin for
| + 130797 [umptious gma] Thanks - I'll check.
| + 131094 [snowzone5 ho] this is something that  step by step instructions  (with a list of
|   131107 [cwillia1 roc] Tony,
|   131118 [snowzone5 ho] the problem seemed to be trying to install from a local download of
+ 130771 [mulperi cc.h] Arachno ruby show variable values just fine, at least for me. I'm using
| 130796 [umptious gma] As far as I can tell given the lack of docs, yes. I can set
| 131121 [llothar web.] Strange, can you email me screenshot. About this, this is the first
+ 130801 [snail objmed] <umptious@gmail.com> writes
+ 130882 [jason_watkin] debug
  130965 [umptious gma] Thank you, Jason - that's really useful.

^ Rails FastCGI deployment problem
130725 [robert.feldt] Some of our students have developed a Rails app on Windows (w rails
130726 [robert.feldt] Oops, the path in that log file should be /home/railsapp/railsapp/...
130729 [tobias.luetk] Please have a look in /var/log/apache2/error_log. Especially after the
130735 [robert.feldt] ication ...
130736 [navindra cs.] ls -al /home/railsapp/railsapp/public/dispatch.fcgi
130738 [robert.feldt] Good guess. Thanks a lot guys, the porting from windows wasnt perfect... ;)