112928-113982 subjects 113340-114375

[ANN] Korundum 3.3.1 beta3
113068 [Richard_Dale] * Fixed configuration problem with KDE 3.2 and the libkmdi library

[ANN] Vim/Ruby Configuration Files, 2004.09.20
113074 [gsinclair@so] It contains several configuration files that make Vim work better with
113079 [drbrain@se m] Last night I was wondering aloud on IRC why vim always unindented
113091 [gsinclair@so] set <buffer> nosmartindent
+ 113112 [assaph@av ya] Nice one.
| 113116 [gsinclair@so] D'oh!!  This release was supposed to solve that issue once and for all.
| 113117 [hps@de pa me] 1) vim -u NONE -U NONE
| 113118 [assaph@av ya] all.
| 113121 [gsinclair@so] Forget poisoned beer; you'll hang for this! :)  Anyway, once I muster up
| + 113200 [hans@fu al n] As someone mentioned, vim doesn't have trouble with \n even in Windows.
| + 113220 [steven.jenki] I installed from the tgz on my Gentoo Linux machine and it complained
| | 113229 [gsinclair@so] Did you install by hand, or using the vim-ruby-install.rb program?
| | 113240 [steven.jenki] Actually, I mis-remembered. I installed the gem and then used
| + 113278 [mental@gm il] I'm having a somewhat similar problem with vim 6.3 on windows. Because
|   113286 [halostatue@g] set ffs=unix,dos,mac
|   113296 [mental@gm il] I know, I set the ffs=unix on purpose because i didn't want vim to
|   113302 [halostatue@g] No problem. You *can* change the modeline to indicate the format. I
+ 113149 [ruby-talk@pc] Actually, I was looking at the wrong indent/ruby.vim.  Please add
+ 113155 [ruby-talk@pc] Eh eh eh, that's already set by indent/ruby.vim...

[Funny] Proper grammer
113075 [transami@ru ] Ha! I just had a funny thought :)

Validating eRuby files
113080 [alex@ve k. n] Returning our programming back to the epic struggle with typos :)
113081 [jamesUNDERBA] Which is one problem I have with HTML templating systems that don't use
113083 [alex@ve k. n] By the way, a nuby question: how do I actually use REXML to validate the
113096 [jamesUNDERBA] You don't.
113133 [alex@ve k. n] OK, I see.
113175 [jamesUNDERBA] Quite a reasonable assumption.  However, I believe the Validator code is

Nuby question about symbols
113104 [femol@te ra ] In spite of the recent comments stating that newbies should not be afraid to
113107 [markus@re li] * Symbols are an idea borrowed from lisp.  They are immutable,
+ 113108 [assaph@av ya] [snip excellent info]
| 113110 [hal9000@hy e] I agree Markus's explanation was excellent. (I didn't even know that Lisp
| 113111 [jamesUNDERBA] Why?  Speed?  I imagine that, in both cases, a string could have been
| + 113113 [assaph@av ya] irb(main):005:0> $sm = "invalid name".to_sym
| | + 113115 [vjoel@PA H. ] # => :"a b c"
| | + 113119 [jamesUNDERBA] Evil, you say?
| |   113144 [batsman.geo@] => #<Proc:0x401fe928@(irb):1>
| + 113114 [hal9000@hy e] Well, many times a string will work in place of a symbol. It depends on
| + 113168 [markus@re li] No, symbols are used because symbols are globally unique.  You can have
+ 113109 [femol@te ra ] Thanks, that cleared it up quite a bit!

[ANN] Gnome's Guide to WEBrick 0.6
113122 [ysantoso-rub] multi-page html, and PDF. Many NOTYETs sections have been eliminated.
113134 [botp@de mo t] good news!
113135 [ysantoso-rub] Yes. "overfull box" is tex's terminology for that problem.

Re: [ANN] Ruby Quiz
113123 [assaph@av ya] Given
113156 [james@gr yp ] I assumed there was no way I would please everyone with date, so I

advise on writing a design document
113124 [neoneye@ad l] I would like to rework my primary datastructure and my list of specs is long.

ri fork problem
113126 [vjoel@PA H. ] Is this just me or is 'ri fork' not being helpful?
113293 [dave@pr gp o] I've added the fork() documentation to the Ruby source trees for 1.8

Re: [ANN] RubyGems 0.8.1 (was Re: [ANN] RubyGems 0.8.0)
113128 [assaph@av ya] From what I can tell the update script copies files from the gem dir to
113142 [chadfowler@g] Yes.  In fact, if you run the update_script a second time, you'll see

regular expression seems broken not greedy when it should be
113129 [CarlosRivera] I am very new to ruby.  I was working my way through the tutorials.
+ 113131 [neoneye@ad l] Regexp usualy follows the left-most-longest rule..
| 113132 [assaph@av ya] largest
+ 113250 [CarlosRivera] Thanks for the help.  I blew it.  I probably should have been asleep then...

Ruby nuby -- modifying Regexp casefold
113136 [ilveroluca@n] there some trick to modify the casefold attribute of a Regexp object after
113137 [neoneye@ad l] when Regexp has been instantiated, then you cannot modify it.
113178 [WBrown@is ft] Luca,
113189 [flgr@cc n. e] irb(main):001:0> re = /./; "hello world!".gsub(re) { |m|

Ruby 1.9 needs bison?
113139 [surrender_it] * parse.y: make ruby parser reentrant. merge ripper parser to the
113143 [matz@ru y- a] Not it's just a beginning.  It's the first step to the reentrant

methods with and without !
113141 [  jani@iv ro] what is the criterion for methods to have a ! terminated variant in the
113147 [bob.news@gm ] "Jani Monoses" <jani@iv.ro> schrieb im Newsbeitrag
+ 113148 [  jani@iv ro] maybe it was my bad wording ;) I know that ! versions modify in place
| + 113151 [dblack@wo bl] "a".sub!(/a/, "aaaaaaaaaaaaaaaaaaaaaaaaaa")
| + 113170 [agorilla@gm ] It does seem a bit arbitrary.
| | 113177 [bob.news@gm ] "Bill Guindon" <agorilla@gmail.com> schrieb im Newsbeitrag
| + 113181 [hal9000@hy e] Most but not all bang methods modify the receiver in-place. But that is
|   113252 [assaph@av ya] is
|   113263 [transami@ru ] It would seem to me that this *may* ought to be *must*, albeit it is not
+ 113180 [aredridel@gm] More accurately,  ! just means "be careful" -- exit! (no cleanup),

Passing in CGI parameters to an .rhtml file with StringIO#instance_eval
113165 [sera@fh an .] There's probably something really simple I'm missing here, but: I'm
113183 [jamesUNDERBA] Can you just set environment variables?
115477 [sera@fh an .] Actually, I spoke too soon. The code I posted above does seem to work,

[ANN] SQLite/Ruby 2.0.3 beta
113187 [jgb3@em il b] Here's another lovely edition of the SQLite/Ruby 2 beta series. This

IOWA error
113191 [probertm@no ] Any ideas on what the following IOWA error may mean?
113195 [khaines@en g] Yep.

Store object in on disk / mini database
113192 [ks@cs au .d ] Is there some way of writing e.g. a hash table to the filesystem, and
+ 113196 [rcoder@gm il] Kristian,
+ 113198 [Ara.T.Howard] ...
+ 113201 [ks@cs au .d ] Thanks for both your suggestions! That was just what I needed! :-)
  113204 [transami@ru ] There's also YAML.
  + 113207 [billk@ct .c ] Additionally YAML supports a drop-in PStore equivalent, so if your code
  | + 113210 [Ara.T.Howard] ...
  | | 113211 [batsman.geo@] - syck crashes quite often  :-(
  | | 113213 [ruby-talk@wh] Are you refering to the bug you found while working on rpa?
  | | 113214 [batsman.geo@] Other bugs that look similar (assuming you fixed that one). And I've
  | | 113217 [Ara.T.Howard] ...
  | | 113221 [batsman.geo@] heh looks like http://cr.yp.to/cdb.html with rewrite-on-update (have to
  | | + 113244 [Ara.T.Howard] ...
  | | + 113262 [rasputnik@he] ? I tried playing with a ruby-based version of this a while ago, but couldn't
  | |   113317 [batsman.geo@] Yes, the fundamental idea is the same.
  | + 113212 [ks@cs au .d ] This sounds VERY cool! I will definitly have a look at this tomorrow!!
  + 113216 [jamesUNDERBA] But you still reparse the data, which the OP wanted to avoid.
    + 113218 [transami@ru ] Ah, shucks!! :) Although, I imagine you reparse at some level no matter what.
    + 113225 [billk@ct .c ] I'd thought the OP didn't want to manually write the code to parse keys

attr_accessor WAS: Array#index block and rdetect
113193 [markus@re li] attr_accessor :count,:begin,:end,:proxy

No timedwait for ConditionVariable?
113203 [chris.sheppa] Arrr; am I the only one who wouldn't mind a wait with a timeout in

WEBrick causing ruby process to hang? (on windows)
113205 [kevin_mcconn] When I run a ruby script that uses webrick, it seems to hang on exit.
113208 [rcoder@gm il] I had a number of problems with this, which turned out to be related
113215 [kevin_mcconn] I'll give that a go, although interestingly it'll hang even if it has
113249 [kevin_mcconn] Just to follow up... I checked on my home machines (one Linux, one Max
113283 [marcel@ve ni] if the issue here is that you are shutting down webrick frequently because
113290 [kevin_mcconn] Cool, that sounds like exactly what I need to work around the problem.
113433 [pit@ca it in] trap("INT"){ s.shutdown; raise IOError }
113441 [kevin_mcconn] Cool, thanks, that does the trick.  I guess WEBrick must leave a thread

[ANN] - install.rb hack # 42
113222 [Ara.T.Howard] this bloody hack makes install.rb handle user defined bindir (-b) and
113226 [cyclists@nc ] ...
113227 [Ara.T.Howard] to my knowledge setup.rb is distinct, and probably more fully featured, than
+ 113228 [hal9000@hy e] I'm not sure, but I think setup.rb (because it is more fully featured) has
| + 113242 [Ara.T.Howard] put your files in a subdir called 'lib' within your tarball.  put install.rb
| + 113248 [markus@re li] Don't be too hard on yourself.  I've been known (as recently as 6 months
+ 113233 [transami@ru ] I use my own variation of install.rb, but have wanted to use setup.rb instead
  + 113241 [Ara.T.Howard] exactly.
  + 113245 [aamine@lo er] Try latest version of setup.rb (3.3.0).
    113247 [transami@ru ] Oh. Almost forgot. Does setup.rb have Ara's hack #42 ?
    113258 [batsman.geo@] It has been doing shebang correction since mmm the beginning of time :-)
    113285 [Ara.T.Howard] ...
    + 113319 [batsman.geo@] # modify: #!/usr/bin/ruby
    + 113356 [aamine@lo er] setup.rb does not replace #!/usr/bin/env hack because
      113376 [Ara.T.Howard] this makes good sense - but i do think it there should be a flag to override

113223 [bah@hu bu .n] Anyone out there have any thoughts on how one would go about writing an
113224 [chadfowler@g] I'm afraid I don't have a constructive answer to this question (I

Filling a 2D array
113230 [mrmargolis@w] @tileArray = Array.new()
113232 [assaph@av ya] @height.times {@tileArray.push Array.new{@width, Tile.new}}
+ 113234 [assaph@av ya] Gah, posted too soon!
| 113235 [mrmargolis@w] Ah, that makes sense.
| 113236 [assaph@av ya] I should REALLY get coffee before I post anything more today!
| 113238 [mrmargolis@w] Excellent.  This time I have run a few tests before responding and have
+ 113255 [bob.news@gm ] "Mehr, Assaph (Assaph)" <assaph@avaya.com> schrieb im Newsbeitrag
  113256 [bob.news@gm ] Too soon, too. ;-)  Sorry for the noise.

Setup+ (was: install.rb hack # 42 <-- TMOLTUE ;)
113246 [transami@ru ] That's great!
113357 [aamine@lo er] Because capital filenames are shown before lower case filenames
113392 [transami@ru ] I see.  I wonder if there's a constant I can change? I'll have to look.  I'd

problems subscribing to the mail list
113257 [badcherry@ma] I have made many attempts to subscribe to the mail list

ruby1.6 speed compared to 1.8 with/without threads
113259 [martin.povol] while porting our software from ruby1.6 to ruby1.8, we found some

Marshalling objects that include 'Singleton'
113273 [tamc2@ca .a ] Can someone help me?  I'm trying to Marshal a class that includes
113275 [bob.news@gm ] "Tom Counsell" <tamc2@cam.ac.uk> schrieb im Newsbeitrag

Spanish Ruby Community.
113274 [pedro.baldan] I talked with other spanish rubists and we think that could be
113276 [victor.reyes] Pedro,
+ 113289 [markus@re li] There was one, IIRC, at http://www.ruby-es.org but it was been replaced
+ 113324 [pedro.baldan] I'm spanish from spain, but i talk about Spanish-speaker community.
  113327 [rodrigo.berm] Pedro,

[ANN] wxRuby Layout Manager Library 0.0.3 Released!
113277 [zdennis@mk e] wxRuby Layout Manager Library 0.0.3 has been released.
113298 [drossruby@ya] ...
113300 [zdennis@mk e] I am planning on releasing a source tarball later tonight. It is also on
113301 [drossruby@ya] ...
113304 [zdennis@mk e] I 've got to go to a meeting. When I get out I will send you a tarball. /
113307 [drossruby@ya] yay /me joys

[ANN] Ruby Quiz Website Live
113281 [james@gr yp ] The Ruby Quiz website for FAQ and archives is now live.  You can find
+ 113282 [bob.news@gm ] "James Edward Gray II" <james@grayproductions.net> schrieb im Newsbeitrag
| 113284 [marcel@ve ni] yeah. seriously. a good start to what looks to be a promising addition
| 113288 [james@gr yp ] My thanks to you both.
| 113291 [ryco@gm .n t] I need to agree, extremely well done. I looked at the source, because I
+ 113292 [martindemell] Very nicely designed. Waiting eagerly for the first quiz :)
+ 113294 [gfb@to es ft] A very good looking site, thanks a lot. Do you plan to use it for
| 113295 [james@gr yp ] Again, thank you everyone.
| 113297 [marcel@ve ni] "Let me get the quiz on wheels first"...
+ 113299 [drossruby@ya] ...

[ANN] Rubyist Magazine (in Japanese)
113303 [ko1@at ot ne] Nihon Ruby no Kai (a rubyist community in Japan since Aug. 2004)
+ 113305 [ko1@at ot ne] SASADA Koichi <ko1@atdot.net>
+ 113336 [gsinclair@so] Thanks Koichi-san.  Babelfish was only slightly helpful (it seems
  113338 [matz@ru y- a] Perhaps it's Koichi himself.  "SASA" in his family name (SASADA) means

redcloth issue
113306 [csshsh@st uc] require "redcloth"
113308 [rcoder@gm il] I think this is by design -- you can have multiple lines in a list

Why's Poignant Guide to Ruby, Chapter Five: Them What Make the Rules and Them What Live the Dream
113309 [ruby-talk@wh] Beloved friends and key witnesses: Holy highkick! I (at last) present
+ 113310 [drossruby@ya] Very nice _why. I like reading your sites often. My
| + 113311 [rcoder@gm il] ...and the list goes silent for an hour, as everyone takes another
| | 113315 [gavin@re in ] An hour? Much more like three.
| + 113384 [ruby-talk@wh] Thanks, David, Kaspar, Lennon, Gavin.  If any of you have some counsel
|   113449 [botp@de mo t] yes. me.
+ 113334 [eule@sp ce c] Most brilliant again, why. Thank you.

DBM files portable?
113312 [hal9000@hy e] were pretty portable?
+ 113316 [flori@ni e. ] Perhaps architecture? I am not sure, but it could be an endianess
+ 113318 [flori@ni e. ] On second reading, perhaps dbm versions differ. You could

Bulgarian Makarov
113320 [ser@ge ma e-] I have a Bulgarian produced Makarav .38 that performs pretty well for
+ 113323 [hal9000@hy e] Hmm. Apparently not a REXML bug.
| 113326 [ser@ge ma e-] Argh.  It is a hardware problem; the hardware being, of course, in my
+ 113332 [rasputnik@he] <blink>

autoconf for ruby
113321 [excapersgard] are there any ruby bindings for autoconf?

HTML Tidy package for Ruby
113322 [khowe@pe fn ] My experiments with Ruby's DL module have led me to create
113405 [khowe@pe fn ] I've uploaded B2. The B1 version hardcoded the library name to "tidylib.so".
113472 [khowe@pe fn ] Note that the example given in the original post is no longer valid due to

Sorry about the Makarov post
113325 [ser@ge ma e-] I use Google News when I'm behind firewalls, and a consequence is that
+ 113358 [bob.news@gm ] "SER" <ser@germane-software.com> schrieb im Newsbeitrag
| 113360 [martindemell] Just remember, there's no silver bullet :)
| 113362 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
+ 113546 [ceo@no pa .o] It's better to point your news client at the wrong target than your

text analyzator
113328 [martin.anker] I have created a little text analyzation tool, that tries to extract
+ 113330 [alex@ve k. n] Would you care to explain what could one use this for?
| + 113331 [enebo@ac .o ] I am not the author, but I can think of two...
| | 113399 [michael.camp] Not sure why you'd think this, but POPFile (a "pure", i.e.
| + 113361 [martin.anker] The goal is to automatically create summaries of a text. For example,
|   113363 [botp@de mo t] I find your analyzer quite promising..
+ 113333 [shanko_date@] Word (Text) analysis is a very active branch of
+ 113343 [jm@tr ns ct ] Thought I'd given this simple program a go and review it for those
  113344 [markus@re li] I decided to do a somewhat more ambitious test.  After training on
  113394 [martin.anker] You should use training material that is similar to the text you want
  113396 [hal9000@hy e] 1. The text is not pulled from the format but retains some residue from
  113400 [martin.anker] The text is never pulled from any format. If you train only html files,

[Ruby-Forum] eruby installation on Win2K
113329 [alex@ve k. n] Dear all,

Toronto Ruby User Group
113335 [mike@st k. o] A few people are starting to re-float the Toronto Linux User Group.  If

Instiki Time warp
113337 [zyzygy@te st] I have an error with Instiki that maybe someone could help me with.
113339 [markus@re li] I have absolutely no idea if this is the cause of your problem, but
113377 [assaph@av ya] 000000000000000000001.snapshot
113606 [zyzygy@te st] In the end I just deleted all files back to snapshot16 and it came up