156370-159483

156197-157387 subjects 156644-158527

^ Job site
156370 [toy jtoy.net] I just created this site: http://Jobs.Rubynow.com to help people post
+ 156372 [james graypr] How funny!  You just stole the Ruby Quiz idea for tomorrow.
+ 156422 [james graypr] notified about jobs in our area and/or telecomute positions by email?
  + 156439 [eblists gmai] I've been working on a jobs site based on Ruby on Rails for SAP
  | 156440 [toy jtoy.net] Wow, that really is weird.
  | + 156441 [Daniel.Berge] I wouldn't mind seeing this added to the FAQ, i.e. "Where can I post
  | | 156467 [jasontoy gma] Dan, yeah, I think  that is a good idea too.   I'll see what I can do.
  | + 156768 [james graypr] The skills and description sections of the job postings run too close
  + 156468 [jasontoy gma] Hopefully the site will have so many job listsings, that there will

^ Enumerable methods returning Enumerable (was: ruby-dev suumary 26862-26956)
156375 [daniels pron] If I'm understanding the change properly, the following code should do
156387 [daniels pron] Hmmm... I probably shouldn't have included String#scan in that, as scan
156393 [simon.kroege] +10 for having this available as soon as possible.

^ bug in require?
156378 [Ara.T.Howard] [ahoward@localhost ~]$ strace ruby -e' 1.times{ require "digest/md5.so" }' 2>&1 |grep open|grep md5
+ 156404 [han.holl gma] [ahoward@localhost ~]$ cat a.rb
| + 156415 [ mfp acm.org] static int
| | 156417 [han.holl gma] Yes, that's answering where it happens.
| | 156427 [matz ruby-la] It was the easiest way to check if a file is loadable (i.e. a file
| | 156435 [han.holl gma] commandline and from a script.
| | + 156442 [Ara.T.Howard] open("/usr/lib/ruby/1.6/i386-linux-gnu/digest/md5.so", O_RDONLY) = 3
| | | 156478 [han.holl gma] Yes, that's one way of dealing with it.
| | + 156443 [nobu.nokada ] If md5.rb exists in loadpath, it should be loaded even if
| |   156482 [han.holl gma] I don't doubt for a minute that you are right, but in practice this will of=
| |   156495 [ news jay.fm] han.holl@gmail.com says...
| + 156432 [Ara.T.Howard] yeah exactly - i'm trying to speed up acgi running strace's and was seeing md5
+ 156430 [ mfp acm.org] ===

^ Crash when typing <tab> in irb
156379 [noSpam noSpa] I fired up 'irb' and require a module I created with SWIG.
+ 156386 [florgro gmai] This is because of readline which is known to be odd on win32. It's a
+ 156392 [nohmad gmail] Which version of rubyinstaller are you using.

^ "unless" keyword
156380 [mike.novecen] Ok guys, you convinced me: Ruby is the way to go. I have been reading
+ 156381 [Neville.Burn] "Unless" == "if not"
| + 156383 [Neville.Burn] Oops, boolean logic breakdown ...
| + 156384 [cmills frees] I think you mean
+ 156390 [pit capitain] <signal error> if <condition>
  156391 [mike.novecen] Thank you all.

^ Re: acgi-0.1.0
156396 [matti.georgi] Great Work, really useful.
156431 [Ara.T.Howard] thanks matthias!
156535 [matti.georgi] out of curiosity, I have been playing around with my apache2 setup and
156538 [Ara.T.Howard] valuable - thanks for sharing.
156694 [danj 3skel.c] Ara,
156738 [Ara.T.Howard] i know the feelings.  it can be setup well - but it's non-trivial.

^ Re: SURVEY
156402 [doc doconnel] Tried but get something like "pragprog.com" not found/ internel server

^ [QUIZ] Ruby Jobs Site (#47)
156420 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until

^ Ruby Serialport 0.6 library question
156429 [greg.kujawa ] I am going to try out the Ruby Serialport library to pipe things into
156557 [greg.kujawa ] I can't event get serialport-0.6 working on any of my win32 COM ports.
156594 [greg.kujawa ] I installed Win32Serial and so far it appears to be working for me on

^ Hash table questions
156444 [eduardo.yane] I'm filling up a hash table reading data from a file.
+ 156446 [james graypr] I suspect it's because the DC key had trailing whitespace, probably a
| 156447 [eduardo.yane] It works fine, thank you.
| 156451 [james graypr] If the key is a String, yes.  If the key were a symbol, you could
| 156455 [eduardo.yane] Key is a symbol, but it doesn't work if I not call to_s
| + 156457 [eduardo.yane] Well, I got it, I'm not going to use symbols how keys, I'll use Strings because
| | 156462 [james graypr] My opinion is that you should use the same thing at both ends and
| | 156464 [eduardo.yane] But file is readed only to get a configuration info, at the rest of code I
| | 156466 [james graypr] coords.store(pos.to_sym, {:CENTER=>data[0], :RIGHT=>data
| | 156469 [eduardo.yane] 8-| ooh, I didn't know to_sym method, snif!
| + 156459 [james graypr] The key (loaded into the Hash from the file) was a String, not a
+ 156449 [eduardo.yane] More questions about this code. I'm filling up the hash with another hash tables.
  + 156453 [james graypr] coords["DC"][:CENTER]
  + 156456 [1337p337 gma] [James already answered, so I'm going to go half off-topic.]

^ MissingSourceFile in <controller not set>#<action not set> - No such file to load -- /config/routes.rb
156458 [seths.mailin] I encountered this error last nite in the early stages of a new Rails=20
156485 [seths.mailin] Bueller?
156488 [james_b neur] Ferris
156511 [seths.mailin] Thanks..

^ MySQL, Ruby, DBI connetc problem...help please
156460 [phinsxiii gm] I currently have the MySQL binary for Windows installed. I have ruby under=
+ 156489 [Paul.McArdle] use mysql-administrator & check the
+ 156518 [caldridge gm] What did I do to get this to work?
  156985 [charles.rope] I'm new to Ruby (quite new to programming in general) and I've very
  156996 [    s xss.de] You might also encounter some limitations of the ODBC driver in use.
  157014 [charles.rope] Many thanks for the reply. Can you offer any examples of what might not
  157024 [    s xss.de] Not off the top of my head, sorry.

^ xml2schema
156465 [mikael.x.lar] Is there any ruby tool/library to generate a schema from xml ??

^ Some interesting criticisms of rails
156480 [davidbalick ] may be found in the podcast
+ 156483 [han.holl gma] I for one am _not_ going to listen to the criticism of someone who is too=
| + 156484 [davidbalick ] Well... they are drunk and retired!
| + 156591 [ronjeffries ] A matter of preference perhaps. But I've tried a couple of podcasts with Chet
+ 156498 [david.heinem] Since each request is handled in isolation, you rarely encounter
+ 156517 [zedshaw zeds] I remember reading about the Dining Philosophers problem when I was young and how it was solved with this incredibly complex logic proof that laid out most of the rules for what we know as "thread locking".  For those of you who don't know, the Dining Philosophers is where there's four idiots arguing about communism eating a massive bowl of pasta and they're too stupid to ask for more than two serving forks.  So, these "philosophers" spend a lot of time fighting over the forks and there needs to be a way to coordinate this fork "sharing".  The solution?  Ah, we'll add even more complexity to the problem and create neat things like semaphors.
  + 156523 [joevandyk gm] I remember that from a recent Operating Systems class.  So it's still
  + 156530 [bob.news gmx] First of all it's five philosophers (i.e. as far as I remeber it's important
    + 156534 [rampant gmai] Not only five philosophers, but five forks too.
    | 156555 [alexandru.ne] That's assuming that's all we do: web apps that can move all the login
    + 156558 [zedshaw zeds] Robert, where's the logical proof that distributed locking to control access to a shared resource is always faster than using a centralized server?  I'm curious if one exists.
    + 156564 [rhkramer gma] Just replying for "fun", iirc, when I went to school it didn't make any
      156592 [jason jvoege] When I first learned of the Dining Philosophers, they used chopsticks so
      + 156605 [rhkramer gma] Thanks, that makes more sense and rings a bell!
      + 156614 [alexandru.ne] Well, I first heard of the dining philosophers in the Java tutorial
        156632 [victor.reyes] You got it all wrong, the "philosophers were arguing about capitalism and=
        156639 [joevandyk gm] How did you complete the choking of developing nations using Ada?  I
        156723 [victor.reyes] That was funny. You got my laughing! But, I am still doing it...the choking=

^ sending EOF portably
156486 [Ara.T.Howard] any way to send EOF down a pipe/io object in a portable fashion?  i want to
+ 156490 [bob.news gmx] There seems to be ETX, EOT, EM, FS... in ASCII but I dunno how portable that
| 156494 [Ara.T.Howard] yeah... but you can't actually send those...
| 156531 [bob.news gmx] Well, if you have control you can introduce any protocol (even efficient
| 156537 [Ara.T.Howard] i'll consider.
+ 156491 [halostatue g] Design your own?
| 156492 [Ara.T.Howard] but what?  the input/output can be arbitraily long binary data so no chars
+ 156515 [nobu.nokada ] IO#close_write

^ [RCR] IO#clearerr
156493 [Ara.T.Howard] we need it.  any reason why it couldn't shouldn't be done?
156496 [akr m17n.org] ruby 1.8.3 calls clearerr before getc automatically because stdio has
156497 [Ara.T.Howard] o.k. - so that should let me read past eof (multiple clients sending data down
156499 [akr m17n.org] Try it in C.  I think it doesn't work.
156501 [Ara.T.Howard] DESCRIPTION
156503 [akr m17n.org] Try it.

^ More MySQL-Ruby Frustrations!
156500 [phinsxiii gm] Ok, now I tried to install the stupid mysql module on Mac OS X.  Same
156504 [james graypr] Yes, I have it installed on OS X and it runs just fine.
156505 [phinsxiii gm] Well, that got me a make file.  However, make ccrapped out with the
156507 [ezra yakima-] You need to make sure you have installed Xcode and the developer
156508 [phinsxiii gm] Ok.  Seriously.
+ 156512 [schlu-do gmx] But the script can't find (or better: start) your compiler. Can you do
| 156514 [phinsxiii gm] powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
+ 156513 [ezra yakima-] Sean-

^ LA Ruby Meetup
156502 [Joshua.Smith] charset="us-ascii"

^ FuseFS, and ruby threading issues
156510 [ruby-talk le] This one's mostly for folks who know how ruby deals with threads inside
156520 [ruby-talk le] Well, I've figured out how to keep ruby in control, so threads, sockets,

^ Re: gsub(/Ads by Goooooogle/, "PayPal DONATE").suggest?
156533 [mike.novecen] In a way I agree with you x1. I got the same feeling, but on the other
+ 156540 [usenet andre] Clicking on Google Ads without any interest in the content is stupid, as
+ 156543 [rampant gmai] I guess that's one way to go about getting the ads off the site ;)
+ 156568 [ruby_talk sh] I can't speak for the Ruby site owner, but as the owner of a handful of
  + 156569 [ruby_talk sh] I would like to see the site *add* the donate feature while keeping the
  | 156575 [james_b neur] Does ruby-lang.org get 20K daily visits?
  | 156577 [gavin refine] charset=US-ASCII;
  + 156587 [roys mindspr] I'd like to second this.  As a person who uses Google advertising what

^ Unsubscribe
156536 [shussey berk] ...

^ narf
156545 [Ara.T.Howard] any strong evidence that it is faster than the built-in cgi.rb?
+ 156640 [patrick hexa] That's interesting, I haven't tested it.  I've tested narf on
+ 157090 [patrick hexa] Ara,
  157426 [patrick hexa] Thanks for the heads up, I'll be doubling back on the docs.

^ ANN: eric3 3.7.2 released
156546 [detlev die-o] this is to let you know about the release of eric3 3.7.2. This is a
+ 156589 [george.mosch] Looks nice ;-)
+ 156620 [martindemell] Looks good. Not sure if this is a bug per se, but hitting "run" on the
+ 156997 [nowahere hom] OK - I can get this to debug Ruby (pretty well), but I'm failing dismally
  157142 [detlev die-o] Yes, you are missing the correct QScintilla and PyQt versions. Please get
  157151 [nowahere hom] Ahh- I'm using the GPL versions, not the licensed versions - I guess this

^ The 2nd Hamburg.rb meeting in September
156547 [Stephan.Kaem] Hamburg.rb is going to meet more often.

^ installing rubygems under Linux
156548 [r.mark.volkm] I've recently started using Ruby under Linux as opposed to Windows. I
+ 156550 [james_b neur] I *think* this is an episode of "Setup: CSI"
| 156551 [r.mark.volkm] The installation instructions just say to run "ruby setup.rb".
| 156579 [dougkearns g] $ /usr/bin/ruby -e 'puts $:'
+ 156604 [chadfowler g] Mark, rbconfig.rb is a standard part of the ruby distribution that=20

^ macros/little languages?
156554 [stevena neos] I have just recently learned Ruby and I really enjoy it.  One thing I
+ 156559 [vjoel path.b] class WorkFlowSpec
+ 156560 [javierg1975 ] If I understand you correctly, what you're trying to do can easily be

^ Re: Ruby and RoseRT
156556 [greg.kujawa ] I have read a couple of threads on c.l.r about Rational Rose. What
+ 156588 [horndude77 g] I second this. I use Rose at work. I'd just like to know the difference
| 156993 [damphyr free] RoseRT is actually very different from Rose. It used to be a completely
+ 156990 [damphyr free] Well it's an MDA Tool - it does modelling in UML and generates the code
  156994 [greg.kujawa ] Nope. Thanks for the info. Over last weekend I downloaded the 300 MB

^ $SAFE >= 2
156562 [r.mark.volkm] When $SAFE is >= 2 then code can't be loaded from "globally writable locations".
156563 [rascal1182 g] I assume you're getting this out of the "pick axe" book. Later down, they=
156565 [r.mark.volkm] Yes.
156567 [rascal1182 g] I'm not really sure which page, my Pick Axe book is currently at work.=20

^ Rinda documentation
156576 [r.mark.volkm] Documentation on Rinda seems hard to come by, at least in English.
156583 [drbrain segm] See Rinda::TupleSpaceProxy for an example of how #move is used.
158072 [r.mark.volkm] See my question below.
158123 [rick nooner.] In looking at the code in rinda/tuplespace.rb, it seems that a delete
158445 [ed.howland g] Wouldn't this be useful to notify any observers of that tuple's template?
158451 [rick nooner.] I suppose it would.  I hadn't thought of that.

^ StringScanner question
156581 [jlsysinc all] Dear Ruby,
+ 156584 [jlsysinc all] Dear Jon,
| 156629 [joevandyk gm] It's necessary now to read C source code to figure out the API for
| + 156631 [gavin refine] To be clear, I believe Jon's harsh response was written in response
| | 156636 [joevandyk gm] Yeah, I noticed that.  But still, it shouldn't be necessary to read
| + 156654 [jlsysinc all] Apparently t'was "necessary" in the practical, "Well I had to", rather than
+ 156586 [drbrain segm] From looking at strscan.c, getch seems to be able to process
+ 156621 [logancapaldo] [snip docs]
  156655 [jlsysinc all] Yes I am using String#unpack after gathering up all the bytes together to do

^ [ANN] RType-0.2
156585 [oxy kmc.gr.j] RType is another Ruby interpreter written in Haskell.
+ 156597 [surrender_it] this is really cool, thanks for sharing it.
| 156613 [oxy kmc.gr.j] The strange feature of Haskell absorbed me, especially lazy evaluation did.
+ 156606 [binary42 gma] Excellent! It seems to work for me. This is very interesting. What are
  156608 [oxy kmc.gr.j] Thank you!
  + 156609 [martindemell] Ideally, you need a comma in there: "...another ruby interpreter,
  | 156610 [oxy kmc.gr.j] I see. Thanks.
  | 156616 [martindemell] On second thoughts, ignore me :) We package-system users get too greedy
  | 156622 [binary42 gma] You could probably find another ebuild packaging something that uses
  + 156612 [akimichi_tat] I'd like to see pattern-matching built in.
  + 156623 [binary42 gma] It is an ironic statement as I am also about to start such a project

^ Finding out if a method is already redefined
156601 [michael schu] My problem occurs in the context of Rails, but is really core Ruby. In
156602 [dblack wobbl] class C
156603 [michael schu] [example snipped]

^ Handling multiple processes on Windows
156617 [gregory.t.br] I started up a ruby group at my university and this weeks 'challenge'
+ 156626 [caldridge gm] If you run into an issue spawning process and getting command prompts
+ 156732 [vjoel path.b] Use a ruby thread to manage the external process. There are some libs
  + 156733 [Ara.T.Howard] session could be ported to windows using the win32-popen3 call.  volunteers?
  | 156756 [djberg96 gma] I think you just did.  I'll setup your account. ;)
  + 156777 [gregory.t.br] This very well may be exactly what I had in mind.  I haven't had a

^ [SOLUTION] Ruby Jobs Site (#47)
156619 [james graypr] What follows is a basic solution, using Rails.

^ Language recommendations from ruby persons....
156624 [bogus bogus.] Dear sirs and madames,
+ 156625 [binary42 gma] You mentioned Haskell. It is a very fun language to use once you learn
| + 156630 [gavin refine] But, to put in my two cents, it ain't perfect. The language is made
| | + 156637 [binary42 gma] I think that could be argued but no matter. It has prototype features
| | + 156692 [jussij zeuse] Microsoft publish the WSH COM interface and by using this
| | + 158364 [meta pobox.c] <URL:http://www.mozilla.org/js/spidermonkey/>
| + 156638 [bogus bogus.] Somehow your reply hasn't rendered in Outlook Express, something I've not
|   157312 [markus stber] JFTR, it's exactly the same with 40tude Dialog. Could this be caused by
+ 156627 [twifkak comc] There's plenty of places you can find recommendations for languages.
| 156635 [bogus bogus.] hmmm. I didn't ask for other places for recommendations for other languages.
| + 156642 [twifkak comc] Greg,
| | 156643 [bogus bogus.] I hope to recieve replies to my questions, and I value other persons
| + 156645 [james_b neur] The intersection of practical and interesting may be quite small.
| | + 156646 [bogus bogus.] ....and therefore more difficult to find. And so one asks questions....
| | | + 156649 [james_b neur] Have you tried the pragprog list?  I believe many list members gather
| | | | 156652 [bogus bogus.] That's a great idea. Thanks for the suggestion.
| | | | 156653 [Neville.Burn] I've been watching 'Factor' for sometime, but I havent used it yet ...
| | | | 157219 [florgro gmai] Let me second this. I'm keeping an eye on concatenative languages like
| | | | 157230 [sean.ohalpin] Let me third this :) Concatenative programming languages like Joy[1]
| | | | 157251 [robbie.carlt] Factor looks very cool. But I think the postfix maths is a potential
| | | | + 157258 [sean.ohalpin] Yes, but the OP was looking for something 'weird and alternative'.
| | | | + 159445 [probertm acm] The nice (bizarre?) thing about Forth-ish languages is that they
| | | |   159467 [vjoel path.b] Cute, but that only works when the second argument (5 in this case) is a
| | | |   159483 [probertm acm] Sure.  The point being that the languages are by their nature
| | | + 156729 [rascal1182 g] OCaml was required for my Programming Languages class back in college. So,=
| | + 156647 [dave burt.id] I'm starting on Haskell, as time permits. Haskell has syntax (Lisp doesn't)
| | | 157338 [brockweaver ] That's it. I'm off this list. First the DRM'd PDF discussion, now somebody
| | | 157369 [james_b neur] Actually ...
| | + 157218 [florgro gmai] I've been contributing to it. Basically, it's getting ready for real
| + 156719 [chneukirchen] I don't think you are.  If you need a smaller list, let me name you
|   157259 [joesb.coe9 g] I would recommend Slate
+ 156648 [kevin.jackso] Of the top of my head, these are some of the languages that I've got
| + 156651 [bogus bogus.] Kev, if I wasn't straight and a catholic I would propose marriage.
| + 156695 [james graypr] I'm interested in this tutorial, if you wouldn't mind providing a
|   + 156702 [robbie.carlt] I would wholeheartedly recomend lisp.
|   | + 156728 [martindemell] martin
|   | | 156737 [greg grahamt] I would echo Robbie's enthusiasm for Lisp, and Martin's recommendation
|   | + 156731 [srveit gmail] (only so much time in the day). He got the rights to make it available
|   + 156713 [james_b neur] Casting SPELs in Lisp
|     156718 [james graypr] Yes it is.  Thanks for the link.
+ 156658 [martindemell] There are lots of choices for 1 and 3, so I'm currently focusing on (2),
+ 156675 [hgs dmu.ac.u] So far nobody has mentioned Unicon.
+ 156709 [daryl brandy] Smalltalk fits the bill on this point.  It's image-orientation and
+ 159443 [probertm acm] J (www.jsoftware.com)
threads.html
top