180508-183063

180296-182506 subjects 180709-181596

^ DRb hanging/blocking on access to /proc filesystem
180508 [david.felste] The following code causes ruby to hang on Linux CentOS 4 (tested on
180515 [akr m17n.org] It seems like the problem before Linux 2.6.13.

^ OpenGL Patch
180510 [spam2 noreal] I've created a patch that adds KeyboardUpFunc and SpecialUpFunc bindings

^ typo questions
180511 [ptkwt aracne] The typo websites seem to be in transtion right now so I can't look at the
180516 [alchen vt.ed] - -----BEGIN PGP SIGNED MESSAGE-----

^ [ADV]   Shameless Hype for Ruby Stuff Goodness
180512 [james_b neur] RubyStuf.com, the premiere place for Ruby stuff, has some new, um, stuff.
180514 [jperkins sne] I'm still holding out for the reworked poster of (most of) the core
180614 [hal9000 hype] Hmmm. I *do* need to revisit that project. It's not on my Top 10 list
180642 [jperkins sne] I'd be all for that, but it would probably generate a harassment

^ installing Tk for Ruby on OS X
180518 [petermichaux] I tried to run the one line script tk.rb
+ 180519 [petermichaux] I found this site
| + 180521 [tsumeruby ts] I've not used TclTkAqua, but doesn't the Tk interface just wrap the
| + 180524 [petermichaux] I'm having trouble using even this apparently easy to use tk aqua
|   180527 [logancapaldo] The catch is that the magic Aqua Tk works very well with the Apple
+ 180567 [gbulmer gmai] Obviously Ruby's Tk wrapper isn't finding the library.

^ Ruby & djgpp
180525 [slobin sksys] I have just download a djgpp version of ruby 1.8.4. On my systems

^ [ANN] SwitchTower 1.0.0
180529 [jamis 37sign] SwitchTower is a utility that can execute commands in parallel on
181331 [steven lumos] What is the prefered place for reports/requests?

^ Closed source ruby script?
180531 [petermichaux] How to I make a ruby script closed source so no one can see the script
180532 [gene.tani gm] There's been a lot of threads, here's some search terms: "Obfuscate

^ Ruby Method Lookup Flow
180535 [gavin refine] I sat down to diagram Ruby's object model in something better than
+ 180542 [ mfp acm.org] The unimaginable happens.
| 180562 [gavin refine] Excellent points, all. Updated. Reload. :)
| 180628 [groups grand] It looks very meaningful. :) Alas, I'm confused. When I get to (for
+ 180680 [gavin refine] Not to bump my own thread, but I've updated the diagram again - was
  180683 [gavin refine] Oh, and: I added a PDF version of the diagram also, for those

^ If statement and if modifier not equivalent?
180549 [mrj bigpond.] I was under the impression that the if modifier and the
+ 180551 [sylvain.joye] That's because of the way Ruby decides wether a local variable exists or
| 180553 [mrj bigpond.] OK, thanks Sylvain.  But I would have thought that any examination of
| 180557 [david vallne] Personally, I'd be surprised if the parser paid any attention to much of the
| 180564 [matz ruby-la] Agreed with you.  But there's a vague possibility that this issue will
+ 180665 [drosihn gmai] Do you really want 'if a =3D 1' there, and not 'if a =3D=3D 1'?
  180670 [gregory.t.br] yes. I imagine so.
  180710 [matt.smillie] Which makes the assignment a side-effect of the conditional, and
  180802 [david vallne] Ow.

^ simple strings... %q this_is_shown_in_pickaxe_but_dont_work;
180552 [info jayeola] The title says it all. Going through chapter 22 of pickaxe (p320).
180561 [david vallne] You changed the code and didn't put a single space after the statement? Could

^ RedCloth development?
180558 [ news jay.fm] It's been a few months since RedCloth got moved off to SVN, and it looks
180838 [hjwjunk eart] I was able to solve the trouble that 3.0.4 was giving me by using the

^ [/QUIZ] metakoans.rb (#67)
180569 [luke blansha] My solution is attached.  Actually, two different styles of the same
+ 180571 [lerno dragon] This was not my first solution. It wasn't until Timothy Goddard
+ 180574 [sylvain.joye] Here's mine
+ 180575 [g_ogata optu] class Module
| + 180582 [sander.land ] what about send(arg) == false ?
| | 180719 [g_ogata optu] Good point!  The koans didn't question that, though.
| | 180731 [phurley gmai] The problem with defined? is that it will only work in an eval
| | 180829 [g_ogata optu] Well nothing's perfect... :-)
| + 180588 [jimfreeze gm] % ruby bm1.rb
| | 180592 [chneukirchen] %-)
| + 180643 [aurelianocal] I have the longest solution shown. 50 LINES!
+ 180593 [meadori gmai] This is definitely a great quiz. I had a ton of fun working and and

^ [QUIZ] Solution: metakoans.rb
180570 [wilsonb gmai] Great quiz. Thanks for writing it.  Sorry to post this after exactly

^ [SOLUTION] metakoans.rb (#67)
180572 [florgro gmai] Here we go then.
+ 180590 [chneukirchen] Here's my solution, done in two tries too.  Took about 15 minutes, I
| 180720 [michael.ulm ] This demonstrates a problem I have with many solutions -- taking
| + 180721 [michael.ulm ] s/Florian/Christian/
| | 180735 [chneukirchen] #   o.a?      # query  - true if @a
| + 180722 [james graypr] I believe you are making the mistake that you expect attr_meth?() to
|   180723 [michael.ulm ] #   o.a?      # query  - true if @a
+ 180594 [james graypr] Here's what I coded up, back when Ara sent me the quiz.  Everyone
| 180619 [leavengood g] Here is mine. Nothing too extraordinary or different than other
| 180621 [ilmari.heikk] [lambda{
| + 180626 [adam.shelly ] My solution follows - I think it's pretty straightforward. 16 lines
| | 180943 [adam.shelly ] Ok, after looking at some of the other solutions, I've refined my solution.
| | 180951 [rossrt rosco] Well, you're extending Object with a method that relies on methods
| | 180984 [adam.shelly ] aha.
| + 180652 [james graypr] [snip - powerful meditation solving code]
+ 180844 [jeremy hineg] Great quiz Ara, and here's my solution.  For some reason I wasn't using

^ ActiveRecord or OG?
180576 [henning.jans] ActiveRecord (without Rails...)  or ObjectGraph ?   I have no real
+ 180578 [james_b neur] Well, you probably do.  They are both pretty straightforward to use.
+ 180579 [wilsonb gmai] One way to decide is by choosing which of these two statements seems
  180617 [hal9000 hype] An apt metaphor. Og is on my radar as something to try. I'm more of

^ Newbie class question
180577 [tmatsumoto g] I've been trying to get my head around the rules for making classes. One
180583 [matt.smillie] An initialised class (if I guess your meaning correctly) is called an

^ Some error for Tk.
180580 [zusocfc gmai] When I was running my program, and click the button, it will show the
+ 180584 [david vallne] You botched something or the API changed a bit since the samples were made.
+ 180587 [david vallne] Follow up after skimming the code a few times, by lucky coincidence, I
  180686 [nagai ai.kyu] A block is available for #command method on current Ruby/Tk.
  183063 [zusocfc gmai] Thanks a lot. :D

^ Classes and OO design - help
180585 [merc mobily.] First of all, thank you so much for participating to this list and
+ 180600 [lists turnip] I know it doesn't answer your question, but wouldn't it be way, WAY
| 180651 [merc mobily.] Short answer: yes :-)
+ 180603 [david vallne] Meh. So am I, and I do it full-time ;) (For given values of full.)
  180684 [merc mobily.] I am not entirely sure about the list's etiquette. I hope it's OK to
  + 180749 [ruby-talk de] * Design Patterns: Elements of Reusable Object-Oriented Software (aka
  | 180756 [gene.tani gm] i prefer Head 1st Design patterns (Oreilly) and Shalloway/Trott DP
  + 180818 [david vallne] Not particularly, although not really necessary. I'm enough of an attention
    180854 [merc mobily.] OK.
    180986 [david vallne] In this case? I'd do that to make the code horribly confusing while still
    181026 [merc mobily.] I am not sure if this is considered off-topic, but...

^ Finding out if a Mysql database contains a certain table
180589 [nicholas_wie] I need to find out if a MySQL db contains a certain table, if not I have
+ 180596 [caleb aei-te] A show tables command just returns a query of table names, 1 per row.
| 180607 [david vallne] data will be migrated to another DB.
+ 180657 [gregory.t.br] Using Ruport as it is in the svn trunk (should be released today, i'd

^ Fwd: [SOLUTION] Quiz #67 metakoans.rb
180591 [james graypr] ...
180640 [gfunk911 gma] The only interesting thing I have to say here that hasn't been said is

^ meta_parse: my first metaprogram
180598 [ehames gmail] After messing up with racc for a couple of hours I realized that most of th=
180605 [google erikv] I usually try to avoid those inline strings. I don't like them.
+ 180608 [david vallne] Seconded, metaprogramming code like that will get a major performance hit if
+ 180624 [chneukirchen] I'd just return a block for this case, though.

^ Pandora Early Beta Program
180601 [julian.kamil] I am happy to announce the Pandora Early Beta Program which will allow
+ 180610 [bob.news gmx] Um, this is only faintly related: there is a website out there that shares
| 180612 [julian.kamil] Thanks for pointing that out, Robert.  Someone else mentioned this to
+ 180629 [ruby-talk de] I saw this a couple weeks back, and have the same question now. What
  + 180638 [julian.kamil] ;-)  Belly dancing is exactly what I'd like people to think of when
  | 180655 [surrender_it] I wonder: did you run into issues subclassing RedCloth?
  | 180672 [julian.kamil] Actually, I haven't run into any issues yet, but it is probably because
  | 180783 [surrender_it] Well, I had a tiny issue with the mismatch beetween [[page|title]] and
  + 180650 [hal9000 hype] I'm also curious.

^ Excel file modification without win32ole
180602 [pimeys kobai] Greetings,
+ 180677 [djberg96 gma] See http://raa.ruby-lang.org/project/spreadsheet/ if you don't mind
| 180679 [pimeys gmail] That's the module I've been trying to use in my program instead of
+ 181044 [dsisnero gma] See Spreadsheet::ParseExcel  http://download.ywesee.com/parseexcel

^ First Munich.rb meet up
180604 [urban betton] Hej,

^ [SOLUTION] metakoans.rb (#67)
180609 [mental rydia] I've got two.
+ 180625 [ruby-talk le] Here's my solution: Took me about 15 minutes to solve the koans. I agree
| 180732 [ruby-talk le] As with everyone, it seems, some more twiddling and playing with this
| 180737 [jgbailey gma] I came up with a solution that involved creating a default initializer
| 180757 [tristan.allw] Ah, yeah...just found another post explaining this. :(
+ 180882 [GENIE prodig] The only interesting thing I have to say here that hasn't been said is

^ Sodoku-Generator
180611 [Meino.Cramer] with Google I found a Quiz about a Sodoku-solver, but I didn't find a
+ 180623 [znmeb cesmai] generateSudoku            package:sudoku            R Documentation
| 180627 [Meino.Cramer] Thank you for your fast reply ! :O)
+ 180633 [ jupp gmx.de] I understand that you rather seek for a program but ... hand-made
  + 180667 [steve waits.] This is slightly OT, so I'll only offer this one contribution..
  | 180703 [chneukirchen] They could, but of course you can't tell if they do...
  + 180678 [Meino.Cramer] One could see the implementation of a sudoku-generator in ruby as a
    180962 [ jupp gmx.de] It was taken from "Sudoku - Das original japanische ZahlenrçĠsel" by

^ Facets units not working
180618 [david vallne] I tried to give Units a try to find out the date difference between two days,
180645 [transfire gm] Thanks for reporting this.  I will look at tonight and get back to you.
180646 [transfire gm] Well, I have to recommend that Facets be installed via the tar.bz2

^ Re: lazy.rb 0.9.5 -- transparent futures!
180634 [itsme213 hot] Nice.
180644 [matt.smillie] irb(main):001:0> require 'lazy'
180669 [mental rydia] It's worth noting that this only works so well because of the very

^ Segmentation fault with OneClickInstaller 1.8.4
180635 [anatol.pomoz] I am using Stemmer4r library in my application. And it work perfect on
180636 [anatol.pomoz] After commenting this line I have SegFault in another place
180726 [vanek acd.ne] this may explain it,

^ GC Bug? Ruby 1.8.4 core dumps on a very small extension
180639 [danie.roux a] I have an extension that is 40 lines* in total, the C code and Ruby
180641 [rossrt rosco] @@ -8,7 +8,7 @@
180921 [danie.roux a] Ross,
180963 [cmills frees] Assuming you're using a 32bit machine.  100 % 4 == 0, so Ruby thinks

^ [BUG] Unexpected syntax error
180648 [dharple gene] $ ruby -v
180658 [phasis68 hot] It reminds me an old thread

^ Re: Unexpected syntax error
180649 [ruby-forum-r] This is quite bizarre. The parentheses on foo3 cause
180751 [drbrain segm] Ruby thinks those are argument parentheses.  This may not be a bug.
180793 [matz ruby-la] This is a bug, and I fixed it last night(JST).

^ How to pass a group of arguments?
180659 [anne wjh.har] I want to use a function which expects three arguments
+ 180660 [gregory.t.br] some_method( *some_ary )
+ 180661 [dharple gene] Use the splat operator, "*".
  180727 [anne wjh.har] Thank you for your responses. The error does go away. I can't find a
  + 180728 [rmagick gmai] See page 332, "Method Arguments" and the following section "Invoking a
  + 180729 [novakps gmai] It is 'splained on p.80, "Variable-Length Argument Lists."
    180736 [anne wjh.har] Thank you for your responses.
    + 180760 [gregory.t.br] sandal@harmonix:~$ irb
    + 180763 [novakps gmai] This is covered on p. 83 "Expanding Arrays in Method Calls."
      180785 [anne wjh.har] Thank you for finding me the page. So it is just a bit of ruby grammar

^ Memo to self.
180663 [john.carter ] Never under estimate what you can achieve with
+ 180664 [hal9000 hype] Well, as your self.memo included the rest of us, how about
| 181174 [john.carter ] Ok. Just quickly. I had a file of the format...
+ 180696 [w_a_x_man ya] # Read and parse the first file on the command line.

^ Login script
180666 [jeisma pimes] on windows 2003. id like to use ruby to process my login script.
180674 [james_b neur] require 'win32ole'

^ [OT] Re: Sodoku-Generator
180668 [hal9000 hype] I think I'm the last person in the world to "get" this phenomenon.

^ \n on windows?
180671 [alex.combas ] improper output:irb(main):034:0> YAML::dump m=> "--- !ruby/object:MailTruck \ndriver: Harold\nroute: \n- 12 Corrigan Way\n- 23 Antler Ave\n"irb(main):034:0>
180673 [gregory.t.br] neither.  irb was showing you the return value of your function call
+ 180675 [alex.combas ] poof!I love it when bugs just evaporate.
+ 180826 [david vallne] # ryan:: You know how Kernel.p is a really convenient way to dump ruby

^ [OT] Re: Pandora Early Beta Program
180676 [hal9000 hype] Really? Why not??
180754 [damphyr free] Because silk was invented by the chinese and there were no silkworms in

^ Ruby Object Graph visualizer
180681 [eastcoastcod] Any pointers to a tool to generate some type of object (dependency)
180682 [gregory.t.br] ...

^ can not access constants from Time module
180687 [akbarhome gm] CommonYearMonthDays and LeapYearMonthDays constants do what I need. But
180690 [bob.news gmx] Probably a documentation bug
+ 180695 [akbarhome gm] So why does the documentation about Time module list the other
+ 180704 [matz ruby-la] They are constants defined in metaclass of Time.

^ Class variables and Constants
180688 [merc mobily.] what is the actual difference between class variables and constants?
180693 [merc mobily.] Dear Tony,
180701 [dblack wobbl] Have you tried this?
180705 [merc mobily.] AAAAAAAHHHHHHHHH!!!!!!!!!!!!
180708 [dblack wobbl] I think Matz is planning to change class variables in 2.0 so that they
+ 180715 [merc mobily.] 20
+ 180819 [david vallne] I tried to do Poor Man's Traits in Java using static fields. I feel your pain.
  180823 [dblack wobbl] This message is in MIME format.  The first part should be readable text,

^ Whats the difference of ActiveRuby and "regular" Ruby install
180689 [jeisma pimes] as the subject goes, what's the difference of ActiveRuby and "regular"
180798 [david vallne] First things first: there's an ActiveRuby?! Well, not that noone saw it coming
+ 180812 [sigzero gmai] Looking at the ActiveState site, there isn't an "ActiveRuby" there. So
| 180815 [jeisma pimes] im talking about wsh scripting with ruby (rubyscript).
| 180836 [hal9000 hype] My understanding is yes, it's a different installer and
+ 180813 [james_b neur] ActiveRuby Script

^ RUBY :: Unit test
180691 [wallenberg g] I'm new with ruby.
180694 [akbarhome gm] ...

^ Microsoft Access Automation
180692 [leslie camar] Hey everyone
180697 [w_a_x_man ya] Use Array#transpose.
180700 [leslie camar] Good. I really did search and search before writing my own - and there

^ How can I search value from xml
180698 [rubybox gmai] How can i search value from xml file such as I want to find from *pubdate *=
+ 180699 [bob.news gmx] robert
+ 180714 [bauer.mail g] require 'rexml/document'
+ 180734 [w_a_x_man ya] class String
| 180738 [chneukirchen] I hope you are joking...
| + 180740 [w_a_x_man ya] I hope you're joking.
| + 181187 [ruby-talk de] Actually, in real-world usage, Mark Pilgrim's Python Feed Parser[0]
+ 180786 [w_a_x_man ya] class String
+ 180787 [w_a_x_man ya] class String
| 180792 [   no no.com] Please stop. To the OP, use rexml.
+ 180845 [w_a_x_man ya] class String
| 180905 [chneukirchen] Still doesn't support namespaces, entities and CDATA... ;-)
+ 180846 [rubybox gmai] I want to use rexml or any library ,please
  180863 [rossrt rosco] As others say, for now REXML is probably the way to go, but *very* soon
  180866 [makenai gmai] Every time I've tried to use REXML for something I've found it to be
threads.html
top