126283-127888 subjects 126642-131110

Joining two regexps
126427 [ehames@gm il] I would like to join two regular expression, actually place a regexp
126431 [kig@mi fi in] RESPONSE = %r{SERVER #{IP_ADDRESS}}

[QUIZ] Animal Quiz (#15)
126450 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 126747 [kero@ch ll .] The first thing I thought was "Knowledge Representation" (expert systems
+ 126968 [heron@jp .n ] Thought for a while how to express 2 types of
| 126970 [james@gr yp ] That's priceless!  :D
+ 126983 [jim@we ri hh] For a very impressive version of this game, see http://20q.com.
| 127019 [james@gr yp ] I really like how that one lists all the questions and their answers as
+ 126985 [jim@we ri hh] Here's my solution ...
  126987 [ruby-talk@wh] These solutions are reminding me a lot of the install script that's used

Integer overflow in OCI8
126470 [mail@ex ep i] I`m writing a tiny agent in ruby to simplyfy my daily dba jobs and
126527 [kubo@ji ba .] The datatype of MAXBYTES is NUMBER whose scale and precision are not

[ANN] Instiki 0.9.2 - OSX build
126477 [alex@ve k. n] Dear all,

Anyone have a Debian equivs file for ruby?
126480 [nospam@no pa] I installed ruby from source on Debian and would like to create an
126490 [BArmstrong@d] note the "Binary:" link.  This lists every package the source package
126492 [BArmstrong@d] Oh.  A word of caution, though.  The debian/rules for ruby1.8 specifies
126531 [nospam@no pa] Much thanks for the feedback.
126534 [nospam@no pa] oops
+ 126553 [csaba@ph ny ] Uh... This is why I switched to Gentoo. :)
| 126820 [nospam@no pa] It turns out that I didn't need to bother with all the equivs crap.  My
+ 126638 [halostatue@g] And just *what* excuse do the Debian maintainers give for this

extconf.rb for Interbase on Windows
126484 [  eg@jn .j k] I am trying to get a Ruby extension working under Windows XP and have
126517 [nobu.nokada@] That extocnf.rb doesn't seem to provide that option.
126523 [djberg96@ho ] no avail.
126592 [  eg@jn .j k] Thanks. That does it. I also forgot to set my vcvars32.bat (VC Net

Natalie, Sasha and Paris are looking for some web cam fun, its all free and they really want to meet you!............... 7Q11
126486 [wxcolabr@yu ] Natalie

Problems Subscribing To ruby-announce
126489 [mark@th -b n] I was just wondering anyone else has had trouble subscribing too, or

Irb and Ruby Separation
126494 [vanweerd@gm ] I've been wondering about why are irb and ruby separate programs.
+ 126495 [gfb@to es ft] They are not. irb is a ruby program. Here's the content of
| 126498 [vanweerd@gm ] Thanks.
| + 126502 [mailing-list] It interprets stdin instead.  irb is a completely separate project from
| | 126506 [aglarond@gm ] [shell prompt] ruby
| + 126533 [nobu.nokada@] It's in the ToDo list.
|   126557 [csaba@ph ny ] I guess this transition mainly boils down to changing the parser/lexer
|   126559 [mailing-list] Eh, the transition mainly boils down to the patch that was included,
|   126563 [csaba@ph ny ] Uh, I tought that's just the top of the iceberg...
+ 126499 [flgr@cc n. e] The benefit is that IRB is a Ruby program, making it easier to patch it

Re: Ruby design question: lazy construction of object graph cont
126509 [georgesawyer] Instead of (class-scoped) constants, I think they must be frozen object

JRuby still under development?
126511 [matt.mower@g] I'm looking into using the Drools (www.drools.org) rule engine for a
126659 [vanweerd@gm ] The JRuby mail list seems to indicate a 0.8 release in the next week or so.
126661 [matt.mower@g] That's good news.

Handling fractions of seconds in strftime/strptime
126518 [skip@po ox c] I'm looking for a solution (or ideas about a solution) to the problem

[n00b] Garbage collection, Ruby C++ and SWIG
126555 [asbjoert@if ] I`m having trouble with an interface to a c++ library. It seems like
126577 [decoux@mo lo] Well, difficult to say without seeing the source but probably the problem
126814 [asbjoert@if ] The header file is located at http://folk.uio.no/asbjoert/MenuSystem.h
126832 [decoux@mo lo] Do diffpack (it's diffpack no ?), or one of the libraries (tk, mesa, ...)
126846 [asbjoert@if ] It was the diffpack program`s job to erase it`s object. I just had to make

[n00b] C++ extensions, GC, Ruby and SWIG
126562 [asbjoert@if ] ...

Building, Packing and Distributing Ruby Applications
126570 [pan@er kv en] This URL points to the place where I've dumped my thoughts
+ 126580 [itsme213@ho ] Wonderful! Thanks very much for putting this together!
| 126584 [pan@er kv en] With Dia [1]: "Dia is designed to be much like the commercial
+ 126759 [horacio.lope] I agree this is pretty nice to have, especially distributing
| + 126770 [alex@ve k. n] Have you ever tried to distribute a thick desktop Java application to a
| + 126774 [google@er kv] Don't mix up an EXE with a JAR. An RBA is comparable to a JAR.
+ 126798 [martindemell] Thanks, that's a wonderful resource.

Unicode/multibyte string support in Ruby1.9/Ruby summary?
126571 [lists@za a. ] If someone could summarize the recent Unicode/multibyte string
126595 [flgr@cc n. e] Note that lots of this was recently discussed in [ruby-core:04146]. I'll
+ 126600 [decoux@mo lo] Are you sure ? or I've not understood what you are trying to say.
| 126611 [matz@ru y- a] He's right, except that the encoding will be stored using the FL_USER
| 126670 [decoux@mo lo] My question was precisely about
| 126691 [matz@ru y- a] I know that you know.  It's just for rest of us.
+ 126619 [lists@za a. ] Thanks for the answers, Florian. Yes I was following the thread on
+ 126677 [rff_rff@re o] an addition and two questions: the encoding of the source file will be
  126695 [nobu.nokada@] Since encodings may vary per files, so -K would not enough.

[ANN] Pimki 1.4
126572 [assaph@gm il] - Integrated Instiki 0.9.2 fixes and additions
126773 [zoso@fo on e] I've just downloaded Pimki 1.4 (the tgz, not gem or anything). I was using
126777 [assaph@gm il] Copying the storage directory should work (specifically, the <port>
126779 [zoso@fo on e] Thanks for the quick reply.
126780 [assaph@gm il] Indeed strange. Has the process been running without interruptions for
+ 126816 [eduardo.fern] I am getting this
| + 126932 [assaph@gm il] What page were you trying to access?
| + 126934 [assaph@gm il] What page were you trying to access?
|   127026 [eduardo.fern] I didn't mention in my previous mail that I am migrating from version 1.2.
+ 126826 [zoso@fo on e] Oooh... that's the problem, then, I guess :-) I only have it up and
  + 126859 [app1tam@up .] Hey Assaph,
  | 126922 [assaph@gm il] I've changed the Markdown engine options and forgot to handle existing
  + 126919 [assaph@gm il] You can change the time between snapshots. I will try to make this a
    127065 [zoso@fo on e] I changed SNAPSHOT_INTERVAL to one hour, copied the data and all of that,

Ruby CMS
126581 [lgalea@gm so] I've seen some discussion around Ruby CMS solutions but not actually any
+ 126585 [wenn0029@tc ] I'm interested in this as well.  Would it be possible to use Rails as a
| + 126588 [lgalea@gm so] For sure!! But: I'd rather not reinvent the wheel if someone is already making
| | 126594 [chneukirchen] Why do you think Rails would be good choice to do a Ruby CMS?
| | 126596 [lgalea@gm so] Haha.. good question..
| + 126609 [david@lo dt ] I know of a handful of CMS projects already happening in Rails. Most of
|   126613 [se@di it le ] David, mine will be. But it is gonna take me a while, cause there is
|   126614 [wenn0029@tc ] MCMS?  You may want to take into account the confusion that this may
|   126629 [se@di it le ] If it were from MS it would be called MSCMS. I don't think that they
+ 126634 [patrick@he a] I think the definition of CMS software is pretty blurry.  To me, CMS is
  126637 [jamesUNDERBA] Interesting.  CMS makes me think of an application that allows folks
  + 126641 [sera@fh an .] I agree with Patrick, it's a vague term. Think about it this way: CMS
  | + 126645 [se@di it le ] I agree with all the points you mention. (I am only saying this so I
  | | 126657 [sera@fh an .] Right, but do you think that such a general CMS can satisfy the needs
  | | 126672 [se@di it le ] No. No software can satisfy the needs of everybody. Not even Ruby ;)
  | + 126738 [lgalea@gm so] I'm going out on a limb here so please forgive any semantic failures on my
  |   126740 [lgomez@vf ne] In my opinion, and having worked mainly on web projects that require
  + 126756 [patrick@he a] "content" and "data" are synonyms, as far as I can tell.  Tools for
    + 126767 [lgomez@vf ne] Content Management Systems arise from the need to provide a simple or
    + 126799 [invalid@in a] Well, they are a little bit more complex than that, the problem is that

SOAP4R: raise error with custom fault code
126589 [usenet1@no p] Does anybody know how I can raise an SOAP error with a custom fault code
126653 [nakahiro@sa ] Soap4r does not support SOAP Fault Codes
126775 [usenet2@no p] Thanks for your quick reply and implementation! I will test it as soon

[ANN] Ruby Vector Graphics 0.3.0
126599 [cyclists@nc ] RVG is a library for drawing 2D graphics with an API based on the SVG
126601 [lgalea@gm so] Do you know of any libraries for ruby to render SVG to a raster file (for
126626 [cyclists@nc ] You can use RMagick (http://rmagick.rubyforge.org) to convert _some_ SVG

Ogg Vorbis
126604 [asenchi@as n] I am looking for Ogg Vorbis support in Ruby.  Mostly encode, file
126615 [flgr@cc n. e] Moin.
126621 [asenchi@as n] From my limited understanding, the DL library is for Windows?  I am in a linux
+ 126624 [flgr@cc n. e] Works generally everywhere. It can be used for WinAPI or for writing
+ 126636 [flgr@cc n. e] See below. (I could not attach this because my news server complained
  126797 [martindemell] 0..2, surely

Good Ruby Code (RE: why dosn't ruby support  // to comment?)
126606 [ruby-talk@kl] Which brings to mind the question -- which of the applications on RAA are examples of exceptionally well written code?  I'm still
+ 126627 [cyclists@nc ] ...
+ 126635 [jamesUNDERBA] You might do well to look at the libs shipped with the Ruby standard
+ 126644 [james@gr yp ] I am naturally biased, but I believe Ruby Quiz is a great source fir

FAQ for comp.lang.ruby
126612 [hal9000@hy e] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2004-10-16)

Setting and getting methods and variables
126622 [erlercw@si .] Object#instance_variable_set
+ 126628 [dblack@wo bl] They sort of have to be scattered through different classes; the
| 126630 [eero.saynatk] What if that Object is a Hash or any other object that already
+ 126666 [csaba@ph ny ] Either way, I don't feel these method names as problematic as they

[ANN] RedHanded welcomes two bloggers from Japan
126631 [ruby-talk@wh] I know there's probably plenty of overlap between Ruby-Talk and
126632 [sroberts@un ] Sounds great!
126633 [ruby-talk@wh] Oh no, quite an omission: <http://redhanded.hobix.com/>

Fwd: [suby-ruby] Your all time desired fundemental Ruby mod
126639 [transami@ru ] I'm taking a little poll.
+ 126652 [glenn.parker] Real OS-based threading.
| + 126655 [wenn0029@tc ] seconded.
| + 126662 [lucsky@ma .c] +10
| + 126764 [john.carter@] I have used Ruby threading quite a bit and I must say I have _no_ desire
|   + 126765 [halostatue@g] I more-or-less agree with John here -- I found Java's threading model
|   | 126771 [rff_rff@re o] well, but at least it would be nice if they would'nt block everything
|   + 126778 [glenn.parker] I strongly disagree, but I've met enough folks that run screaming from
+ 126664 [csaba@ph ny ] Docstrings.
| + 126682 [halostatue@g] No, "memory burden" is quite valid. Come up with a clean way for Ruby
| | 126802 [csaba@ph ny ] In fact, the present rdoc syntax would suffice. Just integrate rdoc with
| + 126692 [transami@ru ] Could you briefly explain what are Docstrings?
| | 126698 [rff_rff@re o] strings attached to a function/method/object in python world, i.e.
| | 126813 [transami@ru ] Thanks. I think this is kind of funny in that I just spoke of REM and was
| + 126697 [sroberts@un ] irb can be extended to support ri, why isn't this better than
|   127754 [csaba@ph ny ] So then, why open-uri, you have curl, don't you?
+ 126679 [rff_rff@re o] kill @@variables, and provide class_attr_reader and writer wich set/get
| + 126686 [rff_rff@re o] that was "actor"
| + 126719 [glenn.parker] I'm very comfortable using the POSIX multi-threading model, but one or
+ 126681 [dblack@wo bl] I would be happy to see class variables (@@var) disappear.  But I
| 126690 [transami@ru ] But @@vars cut upwardly across the class hierarchy, which is a bit different.
| 126694 [dblack@wo bl] You're right -- I meant to clarify that I'm talking about 2.0 class
| + 126794 [martindemell] I can think of at least one good us for the current @@ variables -
| | + 126818 [transami@ru ] You would have to do it via class instance vars. The problem with these IMHO
| | | + 126844 [dblack@wo bl] They're per-class too :-)  You'd need accessor methods, I think.
| | | | 126853 [transami@ru ] Yes, of course: "via class instance thru via accessors" is waht I should have
| | | | + 126862 [dblack@wo bl] I think once you've decided to include a module, you've unseparated
| | | | + 126946 [matz@ru y- a] Initializing module instance variables are one of the things I want to
| | | |   + 126955 [eero.saynatk] Does it need to be fixed? I don't think instance variables belong in
| | | |   + 127015 [glenn.parker] module MM
| | | |   + 127108 [tsawyer@gm i] to
| | | + 126984 [martindemell] How?
| | |   126992 [transami@ru ] BTW I personally like your style: Button.@background ;)
| | |   126994 [martindemell] No, becaus the idea is that ImageButton will *not* inherit @background
| | |   127012 [transami@ru ] You want it not to inherit? Do you mean the value of @background or the actual
| | |   127104 [martindemell] No, I want it to inherit, and I specifically want both Class.@background
| | |   127113 [martindemell] That is what I wanted, but now my head hurts trying to figure out why it
| | |   127170 [vjoel@PA H. ] I snipped too much... the storage for #background was a constant called
| | + 126890 [rff_rff@re o] constants ?
| |   126982 [martindemell] Constants aren't modifiable at run time (well, you aren't supposed to
| |   + 126989 [rff_rff@re o] well, my problem is that thinking of somthing shared beetween a whole
| |   + 126993 [vjoel@PA H. ] One limitation of @@var for this purpose is that a subclass cannot
| |     126998 [martindemell] Excellent! I'd forgotten about this.
| + 126824 [transami@ru ] I generally agree with you. I wonder if @@vars could just become somesort of
|   126842 [dblack@wo bl] Here you've got one object assigning to another object's instance
|   126851 [transami@ru ] Except that class vars already do so in a sense in that they are accessable
|   126852 [dblack@wo bl] Class vars themselves have that scope, but they don't set instance
|   126857 [transami@ru ] I understand were your coming form, but in this case I don't think that's
|   + 126858 [transami@ru ] I'm just presenting a way for a class to define the _default values_ of
|   + 126864 [dblack@wo bl] My perspective is that this is already a specific, fully-designed
|     126865 [transami@ru ] "Polite"? Bull-hockey. That is a hack!
|     + 126866 [transami@ru ] Yikes! I have developed an email stutter ;)
|     + 126874 [dblack@wo bl] It strikes me as a perfectly idiomatic way of writing a "getter"
|       126898 [flgr@cc n. e] While I have not followed the whole discussion the above can be quite a
+ 126795 [martindemell] C-core lazy generators (or Icon's 'suspend', though I'm not sure how
| 126889 [rff_rff@re o] aren't this a kind of coroutine? Can't you build them with callcc easily?
| 126981 [martindemell] Yes, but you take a huge performance hit, which is why I'd like to see a
+ 126827 [nospam@no pa] Support for a ruby compiler.
+ 126870 [djberg96@ho ] with a
| + 126876 [djberg96@ho ] instance
| + 126980 [matz@ru y- a] Double underscores are reserved for "private" instance variables that
+ 126893 [benjovi@gm .] 1) First of all, a faster VM, including opcode (YARV ?)
+ 126902 [google@er kv] Get rid of RUBYOPT !!!
| 126907 [transami@ru ] LOL. Now that's funny!!!
+ 127873 [cjs@cy ic ne] 1. Consistent, concise syntax, with one simple way to do things.
  127927 [jeff@op nd m] I second the optional runtime type checks. That is the only feature I'd like

Re: [suby-ruby] Your all time desired fundemental Ruby mod
126640 [joaopedrosa@] I/O tricks to emulate what is needed on Windows. Like the "gets"
126648 [bobcalco@al ] Rewrite it from scratch atop a multi-paradigm cross-platform VM such as the
126654 [ryand-ruby@z] No more C code! Love ruby. Don't love ruby internals. I would like ruby
+ 126656 [kig@mi fi in] Couldn't think of much else.. well, there's the usual Marshallable
| 126684 [ jimm@io co ] Two very different things: a truly cross-platform GUI and IO's
| + 126685 [petite.abeil] Not as fancy, but perhaps more practical: IUP (aka Portable User
| | 126701 [ jimm@io co ] Hmm...Windows and Motif. I'm looking for OS X support as well,
| | 126706 [petite.abeil] Me too!
| | 126724 [james@gr yp ] It's my opinion that a real OS X GUI needs to be Aqua based.  X11 is a
| | 126725 [james@gr yp ] Just checking, are you aware of "rinda" in Ruby's standard library?
| | 126732 [glenn.parker] No, I hadn't really looked for it yet, but I'm not surprised to hear
| + 126703 [rff_rff@re o] talking about Io and crossp'latform.. a student from robert feldt made a
| | + 126714 [transami@ru ] I think ultimately that's the way to go, but I'm more inclined to bind to
| | + 126727 [kig@mi fi in] Interesting, is this anywhere to be found? Since, I need to write a GUI
| |   126737 [ryand-ruby@z] I'm more a fan of make it right, make it work, make it fast.
| |   126745 [kig@mi fi in] It's definitely wrong if it doesn't work.
| + 126722 [james@gr yp ] I honestly believe a "truly cross-platform GUI" to be one of the
|   + 126748 [kero@ch ll .] and one more +1
|   | 126749 [brianm@ap ch] Native thread support (maybe go hog wild and support native and
|   + 126768 [john.carter@] I will strongly agree with this one.
|   | 126803 [botp@de mo t] //I'm taking a little poll.
|   + 126863 [batkins57@gm] +84
+ 126868 [ruby-lists@l] yeah. if my mod would be anything, it would be a mod
  126871 [ruby-lists@l] a binding system that would allow ipc of
  126873 [ruby-lists@l] underscores in most languages indicate 'things thou shall not touch'