102742-103426 subjects 103225-103931

Ruby/Tk:  Listbox loses selection
102938 [mhm26@dr xe ] I'm having trouble with a listbox object.  When I have a listbox and
103031 [nagai@ai ky ] Probably, you drags the mouse when click the entry widget or

#include <re.h> required for Opteron but not Pentium.
102950 [jim@fr ez .o] While porting to an opteron 64bit computer, we noticed one
102974 [Tim.Hunter@s] Almost certainly the actual function definition doesn't match with the
102979 [jim@fr ez .o] Should this be fixed in ruby.h?
103007 [cyclists@nc ] Offhand, it seems to me that nothing is broken (except for the C language
+ 103020 [nobu.nokada@] IMHO, It would be the only reasonable solution.  If you use
| 103037 [jim@fr ez .o] I understand the problem now.
| + 103044 [nobu.nokada@] I don't think so.  All sources using ruby.h don't need regexp
| | 103051 [jim@fr ez .o] No, it's my code. I just find it a little disconcerting that the missing
| | 103088 [sroberts@un ] What compiler are you using? Are you sure you have the warning levels
| | 103114 [jim@fr ez .o] gcc
| | 103121 [sroberts@un ] There's a chance that they do not include -Wall. I'd suggest always
| | 103179 [quixoticsyco] I've been bitten by lack of signature checking in the default extconf.rb
| + 103084 [Tim.Hunter@s] Include "re.h" in your source file. It's always the right thing to do.
+ 103021 [nobu.nokada@] IMHO, It would be the only reasonable solution.  If you use

[OT] History of Languages poster from O'Reilly
102951 [djberg96@ho ] I just noticed that O'Reilly has put out a  "History of Languages"
+ 102953 [dmartenson@m] Ruby is on the poster. It is (properly) a red line just above AppleScript
+ 102957 [wmoxam@kl ck] Ruby is right there, between Java and Applescript.
+ 102960 [NOSPAM@ke py] Anyone who feels like complaining about that should look twice at the
| + 102962 [gfb@to es ft] And anyone who is about to reply aggressively like that should think
| + 103008 [djberg96@ho ] Yes, you were the *3rd* person to correct me. :-P
|   103016 [bg-rubytalk@] Well... what is the poster?  You linked directly to it -- is it
|   + 103042 [decoux@mo lo] Well, you have another one at
|   | 103061 [surrender_it] ah! I could not remember the url, thanks.
|   | 103116 [mailing-list] It would probably be nearly 3000 langugages -
|   | 103737 [ jupp@gm .d ] It makes no sense if you try to count all languages because what
|   + 103053 [djberg96@ho ] Poke around from there to read about how to acquire an actual poster.
+ 102973 [ser@ge ma e-] Thanks for letting us know about the poster.  I hadn't seen it.

User-Agent guessing
102981 [crf@sb x. u-] Since RAA appears still down - does anyone know of a Ruby script which does
102998 [vjoel@PA H. ] RAA seems to be up now, and it has been since Sunday sometime.

Signals and threads
102985 [gfb@to es ft] If I have several threads and set a signal handler proc with
103018 [nobu.nokada@] Yes, it's a feature.
103056 [gfb@to es ft] Thank you very much, Nobu. By the way, I was trying to temporarily set
103076 [nobu.nokada@] Which version of ruby do you use?  It should return nil at the
103094 [gfb@to es ft] I use 1.6.8, and there trap returns nil if no handler is currently in

ri IO -> RuntimeError
102999 [Stephan.Kaem] I just noticed that ri fires a RuntimeError when called with
103029 [dave@pr gp o] Strange - I don't have a Window's box with ri installed, but I don't
+ 103050 [ksibilev@be ] I see the same exception in my WinXP box. After poking around, I can
| 103052 [botp@de mo t] me too. winxp.
+ 103064 [Stephan.Kaem] I really don't think so; it's a brand new PC and that was the first
+ 103078 [ jimm@io co ] <aol>

Help with Standard Interfaces
103034 [sean@ce so t] For the celsoft.com/Interface library, I want to provide pre-defined

Re: [OT] Re: Unit tests ...  ... (Career Focus and Side Interests)
103041 [nick@ac iv h] I like Donald Knuth's focus. He doesn't do email because to takes too

Virtual instance-variable accessors
103046 [austin-mcdon] When I access an private variable, using @var inside a method, is there
103241 [vjoel@PA H. ] AFAIK, there's no way to do this without hacking ruby.
103254 [austin-mcdon] I can see how it would be more efficient this way.  Good work on

finding out update (Re: method with yield via send)
103048 [nobu.nokada@] We provide a wiki for commentary about changes in Japanese.  At

strange SDBM behaviour
103062 [surrender_it] => #<SDBM:0x28b3130>
103070 [matz@ru y- a] It's a bug in sdbm.  Thank you for reporting.

Re: iraq murder video gi head cut off
103066 [tommysfanclu] Fuck you you piece of shite.

Who own the constants?
103069 [rohitlodha@h] Who keeps the constants defined within a Module of the Class?
103074 [bob.news@gm ] "rolo" <rohitlodha@hotwireindia.com> schrieb im Newsbeitrag
103132 [rohitlodha@h] Sorry. Typo. Module or the Class.

Graphing 2Ds in Python is pretty easy...
103072 [piir@ea th i] Are there any suggestions about tools I could use to plot a two-dimensional array?
+ 103091 [surrender_it] plot an array in which way?
| 103176 [piir@ea th i] Thanks for RMagick suggestion.  It looks very useful.  I am getting
| 103224 [piir@ea th i] Todd,
| 103247 [eule@sp ce c] Allow me to barge in... The 1.5.0 binary gem release is quite new and
| 103303 [piir@ea th i] Kaspar,
| 103319 [eule@sp ce c] type-windows.mgk and RMagick.rb don't match the original files from the
| + 103361 [piir@ea th i] When I type and names of the files you mentioned I get the following output.
| | 103449 [piir@ea th i] Directory of C:\ruby\lib\ruby\gems\1.8\gems\RMagick-win32-1.5.0-mswin32\lib
| + 103362 [piir@ea th i] I did execute postintall.rb.  Sorry for not mentioning that.
+ 103101 [ser@ge ma e-] Check the RAA; there are a number of options.  My own project charts
| 103625 [piir@ea th i] I am using Windows 2000... :~(  I have looked through this site
+ 103105 [elathan@ph s] If you are looking for a complete scientific framework you
| 103118 [armin@xs .d ] R might be another option.
| 103126 [vjoel@PA H. ] Gnuplot is nice, too. The latest version has 3d plotting with
+ 103175 [piir@ea th i] I am using Windows 2000... :~(

Installation script
103079 [r_mueller@im] I want to write an installation-script for apache, mod_ssl, mysql, php and
103111 [DocBoobenste] I don't know if this applies, but perhaps you could look at how apt does it?

YAML bug
103080 [jbshaldane@h] YAML seems to have a problem with stings over 8k in length.
103081 [decoux@mo lo] use a more recent version of ruby
103185 [jbshaldane@h] require 'yaml'

Smart Quotes
103085 [martindemell] Trying to save myself a bit of tedium - has anyone already written code
+ 103108 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
| + 103110 [DocBoobenste] "Smart quotes are a feature found in many popular word processing
| | 103113 [aredridel@nb] Actually, just put the appropriate character set declaration in your
| | 103159 [aaron@sc ra ] This is wrong.  ISO-8859-1 doesn't include smart quotes.  You're likely
| | + 103181 [bob.news@gm ] "Aaron Schrab" <aaron@schrab.com> schrieb im Newsbeitrag
| | | 103196 [martindemell] Hm - I'm referring specifically to the characters that MSWord inserts,
| | + 103206 [aredridel@nb] Whoops. My apologies there. I've been using Unicode for so long now that
| + 103149 [gsinclair@so] Quotations from interesting people in history that you can use to make
|   103180 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
+ 103112 [aredridel@nb] In what character set?  While normal quotes fall in the ASCII set, smart
+ 103119 [Stephan.Kaem] I think _why did, at least RedCloth handles qoutes nicely.
  103198 [martindemell] Not what I meant - I want to go through an 'extended ascii' document,
  103202 [WBrown@is ft] Martin,
  103321 [martindemell] Thanks!

drb question
103089 [Ara.T.Howard] i never really seem to do more that play with drb and then forget everything,
103092 [ahoward@no a] i am an idiot.  please ignore - composed this late last night and hit send

ruby-dev summary 23623-23670
103093 [ksaito@ur nu] This is a summary of ruby-dev mailing list.
+ 103097 [neoneye@ad l] Oniguruma supports a wide range of encodings.
+ 103135 [dblack@wo bl] Not as grateful as we are to you!  It's wonderful that you guys do
+ 103139 [surrender_it] thanks to all the people that did this over the time.
+ 103150 [gsinclair@so] Nevermind the readers, I'm so grateful to the writers!  Thanks for the

a __real__ drb question
103095 [Ara.T.Howard] now that i've already stuck my foot in my mouth, i'd like to ask a real drb
+ 103120 [bob.news@gm ] "Ara.T.Howard" <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
+ 103124 [bob.news@gm ] *** forget the other posting, I accidentally hit 'send' ***
  103125 [bob.news@gm ] Did I say I included the source code?  Darn...

RedCloth/Textile question
103102 [ jimm@io co ] How do I escape naked markup characters like "*" and "+"?
103104 [ jimm@io co ] More information: a single character works as expected. For example, with the
103136 [ruby-talk@wh] For protecting short phrases from RedCloth's processor, surround with
103148 [gsinclair@so] If you want to use some formatting (bold, italic, ...) in a code
103163 [ruby-talk@wh] I haven't thought much about this.  Immediately, I'd say you would need
+ 103194 [ jimm@io co ] Hmm...I did not see Gavin's message or any others except my original post and
+ 103203 [gsinclair@so] I'm curious more than anything.  I'd rather see a standard for this

String#scan strangeness
103106 [gfb@to es ft] [linux.gfbs:281]gfb> ruby -v
103138 [neoneye@ad l] when using sub-captures, then #scan returns an array of sub-captures.
103141 [gfb@to es ft] In my original irb session capture I have sub-captures, moreover they
+ 103144 [neoneye@ad l] ^^^^                  ^^^^
| 103151 [gfb@to es ft] These are sub-captures
+ 103145 [dblack@wo bl] My understanding is: you've only got two sets of parentheses, so you
  103153 [gfb@to es ft] Thanks, David. It looks like this is the case. Actually, I solved my

cgi maintaining state information
103122 [cere@u. as i] I wonder if the following behaviour of cgi.rb is deliberate?
+ 103156 [matz@ru y- a] <Snip>
+ 103177 [news@st d. t] for the API of the CGI module.
  103256 [cere@u. as i] Ah, I think I understand your point here.  And there is any easy way
  103305 [news@st d. t] If this is in a script run by mod_ruby or eruby, then it may be that you

library, module, or...?
103127 [snowzone5@ho] class Myclass
103134 [dblack@wo bl] Sure it can -- you just have to 'include' it in a class (i.e., you
103137 [snowzone5@ho] library, module, or...?
103240 [drbrain@se m] I don't believe a generic GUI installer has been created.  Both setup.rb
103333 [snowzone5@ho] library, module, or...?

The dangers of sleeping ...
103140 [dmartenson@m] ...
103142 [bg-rubytalk@] There's your problem.
+ 103158 [dmartenson@m] I guess when I think of sleeping. I don't see the relationship between
| + 103192 [phubuh@ph bu] Clearly you've a lot of job security.
| + 103204 [bg-rubytalk@] Right, and there's a vast difference between how things are done on
| | 103210 [carl@yo ng l] Would it be possible to run a quick test on a system to see how long it
| | 103211 [dmartenson@m] In eval.c, the routine rb_thread_wait_for(time) is used to handle the sleep
| | 103212 [bg-rubytalk@] Right, but that's the local timezone, not the UTC clock.  Every decent
| | 103215 [dmartenson@m] In eval.c, the routine 'timeofday()' uses 'gettimeofday()'. This doesn't
| + 103245 [drbrain@se m] ior
+ 103306 [Mike@De et T] Ben, do your customers really let you talk to them that way? :-)

Interface - inheritence question
103157 [stedak@ch rt] ...
103160 [jamesUNDERBA] Yes.

OpenLDAP for Ruby
103161 [sarahtanemba] Is there Ruby utilities for OpenLDAP such as object browsers, class
+ 103301 [rasputnik@he] I don't know of any, and by the silence I guess there isn't one.
+ 103995 [ferenc@en ar] One of them is mine: http://raa.ruby-lang.org/project/ldap_browser/
  104173 [sarahtanemba] That is very unfortunate. There are a lot of ideas of tools and library in

[ANN] EZExerb 2.0
103162 [rich@li hi o] <snippet from the RAA entry>
103205 [llothar@we .] Installed on XP and got a crash on startup
103222 [rich@li hi o] Thanks for the feedback!
103234 [mailinglists] Not much better,
103259 [rich@li hi o] I've implemented your suggestions, and they're a lot better than what I
103260 [rich@li hi o] Scratch that.
103265 [mailinglists] Think that this simply means that for some reasons you embedded the

RUBY/dl  bug ?
103168 [sdate@ev re ] and while trying out the stream.rb example, I got the following error on
103170 [dooby@d1 .k ] I think it's a Ruby bug that was fixed.

ri not work in Ruby Installer for Windows
103171 [zakaria@su r] I just installed ruby181-13.exe from rubyforge.net . It works great
103195 [jamesUNDERBA] There have been problems getting the ri data files packaged with the
103227 [zakaria@su r] Well, I follow the instruction but still doesn't work.

103172 [cc1@ce .w st] I find myself frequently using array slice of 1..-1, to pass the rest of an
+ 103183 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| + 103184 [ruby-lists@l] first / rest is symmetric...
| | + 103187 [neoneye@ad l] What about
| | | 103189 [bob.news@gm ] "Linus Sellberg" <linse428@student.liu.se> schrieb im Newsbeitrag
| | + 103191 [clr1.10.rand] Array#car and Array#cdr were the first one that came into my
| | | 103193 [dblack@wo bl] What problem would this solve?
| | | + 103200 [martindemell] Greenspun's 10th :)
| | | + 103201 [clr1.10.rand] $USERDEFINED problem. In Lisp there are car, cdr and often(?) cddr
| | |   + 103235 [dblack@wo bl] I know about it from Lisp, just wondering how/whether it would enhance
| | |   | 103244 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | |   + 103243 [bob.news@gm ] "Patrick Gundlach" <clr1.10.randomuser@spamgourmet.com> schrieb im
| | |     103402 [clr1.10.rand] sorry, two stupid typos in one row. :-( I can't put it on the late
| | + 103272 [ see@th .e d] [1,2,3,4].take       --> 1
| |   103390 [jean_hugues_] That is what I ended up in some language I designed. I
| + 103186 [dblack@wo bl] I agree, though my first choice would be just to keep it as is.  I'm
| | 103190 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| + 103213 [cc1@ce .w st] You can refer to the first and rest of the list, in fact I had those
+ 103197 [flgr@cc n. e] I already tried to introduce this into Ruby as a.last(-1), but matz
+ 103199 [tamc2@ca .a ] In what way are you after something different from Array.shift?
  103214 [cc1@ce .w st] I don't want a destructive function.  A number of times I have used the shift
  103242 [flori@ni e. ] If you don't want to destroy the original list you can use the splat
  + 103277 [cc1@ce .w st] Yea I know I can do it like that, but sometimes I don't want the extra variable
  + 103280 [jean_hugues_] Nice! And probably efficient too.

Re: ruby and mustard
103174 [JRoshan@bl .] ...

OT: Re: Array#rest
103188 [linse428@st ] It has both meanings.

Re: oddities with select (do we need .to_bool?)
103216 [bg-rubytalk@] I'm going to assume you really misunderstand and aren't trolling,
+ 103218 [gfb@to es ft] You mistyped here --------> is not executed. ...
| 103219 [bg-rubytalk@] Yup.  :)
| 103380 [mrchameleon@] I replied to this a moment ago, and then did the ad hoc experiment
| 103422 [bg-rubytalk@] No worries, sorry for implying you might be trolling.  I thought that
+ 103378 [mrchameleon@] Of course I'm not trolling; don't be so touchy.

Switch to .ruby extension?
103217 [doodpants@ma] The current convention for Ruby source file names is to end them with
+ 103221 [neil@ha ub .] What stops you from doing so now?
| + 103226 [discord@ma .] Well, it's not just a convention. it's built-in. Try requiring 'foo'
| | 103229 [neil@ha ub .] Sure, I'm concerned about scripts, not libraries, though.
| + 103230 [mailinglists] Some braindead lines in the ruby interpreter. You can't even "require" rbw files
| | 103291 [lists@za a. ] It's not braindead. It's _as designed_ :-) The same for perl and python
| | 103292 [lists@za a. ] Forgot to add. I think .rbw is created specifically for Ruby scripts
| + 103325 [doodpants@ma] Well, at home I have a Mac, so I will probably use .ruby from now on,
|   103364 [neil@ha ub .] I don't understand why it matters what the file names are for libraries.
|   + 103442 [doodpants@ma] I'm talking about my own multi-file Ruby programs, not libraries. If
|   + 103444 [doodpants@ma] I just tried that, but I get an error if I try to pass ruby any
|     103445 [neil@ha ub .] Works here.  That's unfortunate if it doesn't work everywhere.
|     103518 [Austin.Ziegl] program         # no extension, but #!/usr/bin/env ruby at the top
|     103567 [vjoel@PA H. ] app_dir = File.dirname(__FILE__)
+ 103228 [mailing-list] The obsessive levels of abbreviation in the *nix world infuriate me.
| + 103233 [gfb@to es ft] Go back to windows ;-)
| + 103287 [lists@za a. ] Of course you understand things like 'ls', 'pwd', 'cd', '/usr/bin', and
| | 103326 [jamesUNDERBA] The May issue of The Believer [0], a literary mag published in the USA,
| | 103336 [lists@za a. ] I swear that when I first saw it, I thought my browser was displaying
| | 103356 [mailinglists] Cool. And this code does contain comments :-)
| + 103580 [ser@ge ma e-] how
|   103599 [mailing-list] I don't know how much of the thread you read through, but I repeated at
|   + 103602 [sean@ce so t] I have to agree with you about the user friendliness issue in *nix.  Writing
|   | 103605 [zdennis@mk e] saying
|   | 103608 [sean@ce so t] Did I say anyone said that here?
|   | + 103618 [sroberts@un ] It looks like new money to me, not new developers. Most of the big
|   | | 103622 [sean@ce so t] It's not new money.  KDE doesn't have the money IBM or Sun have/had.  Unless I
|   | | 103673 [sroberts@ce ] KDE has more money than Tom's Window Manager did.
|   | | 103703 [sean@ce so t] Philip Hazel developed Exim AT the University of Cambridge, and the copyright
|   | | + 103711 [rt@al m. pi ] Well, he may have developed it alone, but it seems as though he
|   | | | 103715 [sean@ce so t] You're right, I just double-checked.  I read that yesterday in an article
|   | | + 103712 [sroberts@ce ] Exactly, he did in on University time, getting paid to do it, not on
|   | |   103716 [sean@ce so t] I don't see how any of this counters my point that Linux software is getting
|   | |   + 103722 [michael.camp] As much as "getting the last word in" has been such fun sport lately,
|   | |   + 103723 [zdennis@mk e] getting
|   | |     103726 [sean@ce so t] This is what bothers you?  That I didn't come out and agree with you?  Do you
|   | |     103727 [zdennis@mk e] Sean,
|   | |     103729 [sean@ce so t] I believe Linux software is getting better because better programmers are able
|   | |     103757 [nick@ac iv h] A good understanding of why OSS is getting better is important, since it
|   | + 103640 [Ruben.Vandeg] I don't know whether it's really like that. If you're mainly talking
|   | | 103680 [sean@ce so t] That's how the majority of projects go, yes, and you're right about
|   | + 103677 [ser@ge ma e-] Ironically, NeXTSTEP -- the most user friendly OS that has ever existed
|   |   + 103678 [ser@ge ma e-] I think you're generalizing here.  First off, there are assholes in any
|   |   | 103768 [xlucid@us rs] Except it had no delete key - only backspace*.
|   |   + 103704 [sean@ce so t] I think the shell is good at what it does.  It could probably be made better
|   + 103603 [aredridel@nb] Unix is user friendly. It's just picky about who its friends are.
|   + 103604 [sroberts@un ] Its a bad example, and what does user-friendly mean, anyhow?
|     103610 [mailing-list] ...
|     + 103617 [sroberts@un ] Ciao!
|     + 103672 [dolio@po cw ] Okay, what is the issue, then?
+ 103232 [jamesUNDERBA] The package installer for Blogtari uses the .ruby extension.
+ 103285 [lists@za a. ] What things would explode if *.rb is not changed to *.ruby in 2038 or
+ 103289 [lists@za a. ] What is your suggestion for .rbw (on Windows)? .rubyw? (Probably not,