96732-98391

96559-99784 subjects 96980-97868

^ building UIs with statecharts (was: Re: Idea: Simplified GTK)
96732 [vadimn redha] by Ian Horrocks
96744 [ptkwt aracne] Looks like an interesting book.
96772 [alex_verk ma] Ain't know about Ruby [yet], but when writing thick GUIs in Java I use
+ 96783 [ptkwt aracne] I'm doing things this way.  Each state has a do_action method that gets
+ 96784 [itsme213 hot] Have you considered generating the state machine code from an explict

^ Re: Simplified GTK
96740 [itsme213 hot] I love it!

^ Virus from mexico
96743 [discussionru] I have just received a virus from a mexican ip address.
96781 [flgr ccan.de] Moin!
97064 [rodrigo.berm] the range on 148.* is the mexican educational and research network.

^ IdentityHash, like Hash but with keys using equals? vs eql?
96749 [jean_hugues_] I just encountered a rare case where I need a Hash where keys
96760 [drbrain segm] Not entirely true.
96773 [jean_hugues_] Thanks for the clarification.
96782 [g_ogata optu] Can you just hash the ids?
96798 [jean_hugues_] Yes !
98289 [austin halos] class IdentityHash < Hash
98391 [jean_hugues_] Many thanks austin.

^ Assorted Ruby/Tk Questions/Comments
96750 [dejaspam bat] I'm looking into using Ruby/Tk for a major project.  Maybe I'm crazy,
96792 [nagai ai.kyu] Yes. It's a bug. Thank you for your report.

^ Preferred Instance Variable Access Method
96754 [dejaspam bat] What's the preferred way of accessing a class's instance variables?
+ 96758 [dblack wobbl] I'm a little puzzled by your example....  Did you mean var_modify to
+ 96774 [jean_hugues_] What's the preferred way of accessing a class's instance variables?
  + 96787 [drbrain segm] 3) Avoids setting local variables when you wanted to call a writer.
  + 96796 [dblack wobbl] Don't forget, though, that these techniques (@var vs. self.var) are

^ [ANN]Cardinal v0.0.3 released
96756 [msparshatt y] Version 0.0.3 of the Cardinal program is now available from

^ [ANN] SDS 0.2 released
96761 [childNOSPAM ] I am pleased to announce the availability of SDS 0.2.
96767 [childNOSPAM ] And I forget the webpage address :)

^ [ANN] SWS 0.2.1 released
96762 [childNOSPAM ] I am pleased to announce the availability of SWS 0.2.1.
96763 [childNOSPAM ] And I forgot the webpage address :)

^ eruby setup question
96770 [greg brondo.] I guess I'm a little confused.  How can I setup eruby to process .rhtml
+ 96776 [gfb tonesoft] First of all, you need to register extention .rhtml to be handled as a
| 96778 [gfb tonesoft] and make your .rhtml file executable with "chmod +x", of course.
+ 96777 [rocioestrada] go to the console

^ erb question (was eruby question)
96780 [greg brondo.] Ok, sorry about that...I meant Tiny eruby (erb2).

^ perl pos function equivalent in ruby?
96794 [ng johnwlong] What's the equivalent to perl's reexp pos function in ruby?
96802 [sdmitry lrn.] I don't know what perl's pos does, but here.
96846 [ng johnwlong] I know about MatchData. Perl's pos function basically returns the position
97059 [nobu.nokada ] Use 2nd argument to String#index.
97061 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag

^ Bug in Array.zip
96803 [daniels pron] This email from the ruby vs python discussion points out a bug in

^ OpenBSD / Sparc
96813 [decoux moulo] With this configuration
96815 [matz ruby-la] Yes, Ruby uses _setjmp()/_longjmp() where available, because we need
+ 96816 [decoux moulo] Just a small problem
| 96817 [decoux moulo] Well, I can even make work this
| 96953 [kjana dm4lab] Well.... just an idea that can be nothing to do with the problem but
| 96957 [decoux moulo] Well, NetBSD and OpenBSD use the same setjmp()/longjmp(), but this is not
+ 96863 [decoux moulo] Well, the problem is perhaps in OpenBSD. One day, perhaps, I'll try with

^ 'nother question on erb/eruby
96818 [greg brondo.] Ok, I've got it kinda working (erb) that is...eruby doesn't want to compile
96819 [rasputnik he] You don't generally use 'puts' to generate the content, try
+ 96820 [greg brondo.] Thanks for the info!  I guess what I need is which is more stable/feature
+ 96856 [cc1 cec.wust] Hmm, it's pretty general practice in all the other embedded languages
  96858 [discord mac.] erb builds the page piece by piece as a string, then outputs it when

^ Re: Simplified GTK - lessons from FxRuby/FoxTails?
96821 [itsme213 hot] The current discussion Hal started is quite good. But it is focused on one
96822 [vjoel PATH.B] I've been following the discussion with interest, but probably won't
+ 96826 [itsme213 hot] You've been too close to your own code ;)  Browsing your FoxTails examples,
| 96827 [walker letha] I like that idea.
+ 96830 [ptkwt aracne] Toolkit-neutral GUI code would be cool.

^ Re: How to figure out the sender?
96824 [bob.news gmx] You can use set_trace_function to record this kind of information at
96865 [kgergely mcl] I have the same question. I need to know who called a method, so please
96872 [kristof vlee] Maybe it is not so nice to discriminate on the caller :-)

^ [ANN] RedCloth 2.0.4 -- A Textile Humane Web Text Generator
96825 [ruby-talk wh] RedCloth 2.0.4.  Available in RAA.  Shortly, from RubyGems: gem

^ Send XML Document over SOAP
96829 [srubin fsisy] While I wait for SOAP/SSL to be implemented I have another problem.  I
+ 96835 [jamesUNDERBA] I'm not a big fan of SOAP; too complicated for my tastes, and, as I
| + 96839 [dhtapp cox.n] Scott,
| + 96852 [nahi keynaut] I know James already know, but for ML people, I point out
+ 96853 [nahi keynaut] Same man responding. :-)
+ 96873 [cwillia1 roc] of

^ Training course?
96831 [cadeguy yaho] I am a newbee to Ruby. Is there a training course anywhere in the US
+ 96832 [hal9000 hype] I'm not aware of anything on- or offline. But there are people who
| 96849 [cadeguy yaho] For an individual. But our company/group might also be interested
+ 96833 [hal9000 hype] Actually, I should also mention that there are tutorials and sample code
| 96836 [jamesUNDERBA] There are documents and tutorials available from the Ruby documentation
+ 96842 [chad chadfow] If you really want a course in Ruby, this is almost definitely the best
+ 96850 [drbrain segm] What cities are you in/near?  Look around for users groups.
+ 96882 [bret pettich] Brian Marick and i designed a hands-on automated testing class based on
+ 96913 [cpine hellot] If you are in Portland, Oregon, I'd be willing to teach in person, if you are interested.

^ need help with recursion
96837 [bxs hadiko.d] I was just trying to replace the underscores I get when using files from
+ 96841 [discord mac.] You are correct, the problem *is* in the recursion part; you are
| 96845 [dblack ool-4] a/b
| 96864 [me ibotty.ne] you can of course simply set filename to the right value. just change this,
| 96869 [dblack wobbl] That won't change the behavior of the original code.  The problem I'm
+ 96843 [dblack wobbl] I think it's because you're looking for a filename without the full
  96886 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag

^ new method(?) collect_by
96838 [kristof vlee] I am not sure if it already exist, but it is very
+ 96847 [djd15 po.cwr] Interesting.  I don't think I've ever seen that before.
| 96862 [kristof vlee] I think it is very useful.  I found out a general class is already
+ 96848 [g_ogata optu] irb(main):001:0> require 'enumerator'
  96861 [kristof vlee] yes that does exactly what I wanted.  I knew it should exist,

^ Would a ':=' operator break anything?
96854 [ptkwt aracne] This is from something that came up in another thread.
+ 96857 [matz ruby-la] The point is what you want is not assignment in Ruby.  It might cause
| + 96879 [hal9000 hype] 1. I view his := as a kind of limited assignment.
| | 96897 [ptkwt aracne] exactly.
| + 96898 [ptkwt aracne] Yes, it would require education.
+ 96859 [bsanyi sunse] I think << operator is very expressive in that case, and
  96896 [ptkwt aracne] Yeah, that would work, though I'm used to thinking of '<<' as push for

^ Audio library
96860 [rove.monteux] Just wondering, is there any API for writing/reading audio documents
+ 96871 [sdate everes] Project name:  ruby-audiofile
+ 96921 [lrz gnome.or] Maybe you should take a glance at Ruby/GStreamer (bindings for the

^ ruby-based forum
96868 [armin xss.de] for a friend I should install a forum.
96870 [armin xss.de] I just now found rubbs. Seems to be exactly what I wanted.
96878 [tom infoethe] Yours,

^ RedCloth bug and suggestion
96876 [ jimm io.com] _why_ and fellow RedCloth users,
96887 [ruby-talk wh] The rule was: if an em-dash '--' is surrounded by spaces, the spaces get
+ 96888 [ jimm io.com] _why_,
| 96918 [ruby-talk wh] checked into redcloth cvs.  there's a :fold_lines accessor which can be
| 96920 [ jimm io.com] _why_,
| + 96924 [dave pragpro] Any reason you good folks didn't just use the RDoc markup library for
| | + 96932 [ruby-talk wh] do you mean use RDoc to write a Textile machine?  or drop Textile and
| | + 96933 [ jimm io.com] Dave,
| |   + 96934 [jim weirichh] I use RDoc as a backend to a presentation builder.  I write all the
| |   | 96935 [ jimm io.com] Jim,
| |   + 96947 [gsinclair so] Unless I've missed something, you'll still be typing
| |     96948 [dave pragpro] In RDoc, the list would be
| |     96951 [gsinclair so] Whoops.  Brainfart :)
| + 96931 [ruby-talk wh] ok, well, folding was happening after lists and tables, but now i've
+ 96891 [bret pettich] I'd like this too. I write textile in Emacs using auto-fill mode. This is

^ [ANN] Instiki 0.3.0: Before the Storm
96877 [david loudth] What's new in Instiki 0.3.0?
+ 96881 [curt hibbs.c] This is fantastic! I've wanted to do something like this myself, but I'm
| 96884 [david loudth] "ps -ax | grep ruby" and then do a "kill -2 <process_id>".
| 96889 [curt hibbs.c] I'm running Windows, will instiki terminate properly when I just shutdown or
| 96890 [david loudth] I'm not sure, but I'd imagine that Windows does the polite thing and
| 96999 [curt hibbs.c] Tell me if this sounds correct. In my directory ".../instiki/storage/2500" I
| 97054 [david loudth] Each snapshot represents the entire wiki persistent in a file that can
+ 96883 [david loudth] Seeing is believing, so I've started the official Instiki wiki at
+ 96950 [guslist free] What about a 'preview' button? How hard would it be to add?
  96967 [david loudth] The upcoming 0.4 release includes revisions, which should help you to
  96970 [guslist free] Great!
  96971 [david loudth] Instiki is all about less choices and options leading to a simpler and

^ File.rename weirdness (was Re: need help with recursion)
96892 [dblack wobbl] Yes, actually I used Find.find in my example :-)  You're right about
+ 96893 [mreed theree] That's because the filename is "u_file", not "u_s".
+ 96894 [dblack wobbl] Never mind.  I am an idiot.  "u_s" != "u_file".  (Private note to the
+ 96910 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  96912 [dblack wobbl] Yes -- that's what I meant when I said I thought I'd ignored them but

^ Pure-ruby YAML parser
96895 [mneumann nte] Is there a pure-ruby YAML parser available? Does it ship with Ruby by

^ MS Access(with special characters) -> MySQL
96905 [rubytuzdayz ] How do I transfer my MS Access DB to MySQL?
+ 96906 [matt technor] I'm not a Microsoft kind of guy, so this may not be perfectly correct.
+ 96911 [garp7 no7.bl] The usual thing is to export to a non-proprietary format (CSV is handy) and
  96914 [NoSpamPlease] I did export them to CSV text but the fraction(and other non-ascii)
  + 96922 [mailinglists] Welcome to the hell of database migration, or the heaven if you are a
  + 96946 [garp7 no7.bl] Tried this? Access to MySQL converter.

^ Dealing with API changes using Ruby/DL
96908 [rt alum.wpi.] Can anyone recommend a good method for dealing with shared library
96916 [frido q-soft] you can use LD_LIBRARY_PATH to choose hwich one to use, mayb it is a

^ Re: xml-rpc
96923 [guslist free] My problem was that I crashed the server with some stupid input, and

^ Time upper limit
96925 [zzqzpfynevse] What are the upper limit on the values for Time class and where are they documented?
96929 [walker letha] This isn't a ruby thing, it's a system thing.
+ 96930 [rasputnik he] True enough - but how *do* you represent times after 2038, then?
| + 96945 [kero chello.] => true
| + 97063 [sroberts cer] In ruby1.8, do require 'date', and use DateTime. It does basically what
+ 96940 [zzqzpfynevse] Ahem.... why is it a system thing? I am new to Ruby, so I may be
  + 96942 [hal9000 hype] In Unix circles, January 18, 2038 is known as the "end of time."
  + 96944 [billk cts.co] The date class might be more what you're looking for?
  + 96954 [drbrain segm] Not every 64 bit OS has a 64 bit time_t (the C type for time).  FreeBSD

^ rb_str_new2
96926 [hadmut danis] if I use rb_str_new2(something) to return a string value from within
+ 96927 [decoux moulo] rb_str_new2(something) duplicate `something' otherwise it will not
+ 96928 [cyclists nc.] GC will clean it up for you after you're finished with it (that is, when

^ RDoc --template error
96936 [ jimm io.com] When I try
96949 [dave pragpro] one_page_html is now a support file that shouldn't be required

^ symlink?  reports false
96941 [neoneye adsl] File.stat(name).symlink? keeps returning false, even though
96943 [neoneye adsl] How about File.lstat(name).symlink?

^ RCR: 'in' operator...
96952 [hal9000 hype] FWIW, I just submitted my first RCR (#241).

^ [ANN] The Ruby-GNOME2 Portuguese-BR Site Has Been Updated...
96955 [joaopedrosa ] Hey all,

^ Just for fun: symbolic chmod
96956 [hal9000 hype] I think Ruby's chmod should operate symbolically as the command line

^ Continuation usage
96958 [sangamon t-o] Once again I've been trying to get a grip on continuations, however, I'm
+ 96966 [chad chadfow] How are you calling it from IRB?  It didn't work for me, and before I
| 96969 [sangamon t-o] Thanks for your reply. I have to admit that 'calling from irb' is not a
+ 96972 [kristof vlee] This looks very solid to me.  Maybe you could make every
+ 96973 [kristof vlee] It looks very solid to me.  Maybe you could make every Service a
| 96993 [sangamon t-o] In the meantime I've found out that the problem was not in the code I
| 97002 [kristof vlee] Thanks!
+ 96989 [eule space.c] Your code looks solid and as though you have been trough with the
  96992 [sangamon t-o] Good idea, I hadn't discovered Borges yet.
  + 96994 [chad chadfow] I've also written a tiny bit of code to attempt to educate myself and
  + 96995 [eule space.c] Have a look at Borges then, it does what you want and ten times more: It

^ How to set a Time using the (internal) integer number?
96959 [devnull Karl] I am about to write a conversion tool from the datebook of my PDA
+ 96960 [decoux moulo] obsd% ruby -e 'a = Time.now.to_i; b = Time.at(a); p a,b'
+ 96961 [sangamon t-o] Regards,

^ Testing a Protocol Class
96962 [dejaspam bat] I'm in the process of writing a series of classes to connect to an AOL
+ 96964 [billk cts.co] I test my own network code similarly.  The closest situation
+ 96968 [mailinglists] I would suggest to use a separate class that abstracts from the

^ rcrchive submission guidelines thoughts
96974 [neoneye adsl] There has recently been submitted a bunch of RCR's

^ proposal - zip to do padding
96975 [neoneye adsl] We already have pad with nils
+ 96982 [dooby d10.ka] p (4..6).map {|n| [n, 'a', 'b']}
| 97000 [neoneye adsl] Yes padding can be accomplished with map (requires
+ 96983 [discord mac.] irb(main):001:0> RUBY_VERSION
  96998 [neoneye adsl] I also use 1.9.. but gets different result.
  + 97011 [djd15 po.cwr] How do you propose to distinguish between normal arguments to #zip and padding
  | 97033 [neoneye adsl] If it includes Enumerable, then its a normal argument.
  | 97040 [djd15 po.cwr] I understand the proposal. I'm just trying to help examine any areas it may
  | 97042 [neoneye adsl] Yes.. I forgot considering how to distinguish the arguments.
  + 97032 [discord mac.] okay, I guess that particular release (2004-02-21) of 1.9 was flawed :)
    97036 [neoneye adsl] Bommer, in the above example I have passed Strings to zip, which

^ zip block oddities/bug?
96976 [neoneye adsl] When supplying a block to zip, shouldn't you
+ 96977 [cc1 cec.wust] irb(main):009:0> (1..3).zip([4,5,6]) {|x| p x;}
| 96985 [martindemell] Think of the block zip as equivalent to 'each' - it iterates over the
| 96997 [neoneye adsl] Agree, thats how 'zip's output should be.
| 97009 [martindemell] a.zip(b,c).map {|i| ... } # builds the array, then iterates over it
| 97031 [neoneye adsl] I think thats a broken metaphor, to do multiway each by means
| 97035 [discord mac.] I would have to agree with you on this... it doesn't make sense to me
| 97043 [neoneye adsl] Great. (I was beginning to worry if it were a silly idea of mine)
| 97090 [neoneye adsl] Just submitted a RCR about the subject.. vote on it here
+ 96981 [dooby d10.ka] The "output" is inside the block.
  97006 [neoneye adsl] zip should simply just concatenate the data it gets back from
threads.html
top