74812-76470 subjects 75301-77288

75024 [karl_lopes@y] ...

Anyone have a valgrind --suppressions file for ruby 1.8.0?
75031 [john.carter@] The Subject: Anyone have a valgrind --suppressions file for ruby 1.8.0?

Looking for Cursor contol characters for Windows
75034 [spanton7@co ] I'm writing a ruby program with runs in a Command windows (DOS Box)
75035 [aredridel@nb] search for "ANSI control codes" or "VT100 Control codes"

Ruby Weekly News
75037 [Dave@Pr gm t] Ruby Weekly News: 07/01/2003

Auto-serialization (as in Vapor, sql-serialize, etc.): detecting changes to instance variables
75042 [list@ji ca n] All,
75047 [spam@de k. k] I think you should not allow anyone to modify your instance variables
75048 [Andrey.Kulin] Sometimes you can't control modification.
75051 [spam@de k. k] I haven't come up with a good solution to this myself, I'm merely

Do you love me?
75043 [jmeredithdx@] ...

Mysql & Ruby (mswin32)
75044 [REMOVE_THISu] I was wondering if there is MySQL(4.x)-RUBY (1.8)extension for mswin32?
75046 [spam@de k. k] mysql-ruby-win (from RAA) works great with mysql 3.x and 4.x :)

Ruby and Windows interaction
75052 [KHendric@th ] 1. Close a windows application dialogue window - such as a system
75061 [bob.news@gm ] "Kingsley Hendrickse" <KHendric@thoughtworks.com> schrieb im Newsbeitrag
+ 75062 [nvivek@nc t.] Try using exerb
+ 75085 [kgergely@ml ] Well, these are extremely important questions, when you choose a new
  75112 [bob.news@gm ] "KONTRA Gergely" <kgergely@mlabdial.hit.bme.hu> schrieb im Newsbeitrag

where to post: problem compiling ruby1.8 with borland c 5.5
75063 [kgergely@ml ] The ruby-dev is a Japanese list, isn't it? So where should I post this
75066 [eban@os ri .] It is not a bug.
75073 [kgergely@ml ] Damnit, thx, I hoped the installer'd done it ;(
75107 [botp@de mo t] if you don't mind, can you post your complete steps? I'd like to compile it
75224 [dooby@d1 .k ] Follow Eban's words from http://www.ruby-talk.org/75066

RubyCocoa problem: No such file to load -- osx/objc/cocoa
75065 [barry_sh@ho ] ...
75123 [simonblancha] I figured this out. Below is the email I sent to the contact email for
75143 [barry_sh@ho ] Barry

[ANN] rjni: Java binding for Ruby through JNI -- tech. preview
75068 [batsman.geo@] [this message was first rejected by SpamAssassin :-) ]
75198 [timsuth@ih g] In a related note, I'm working on a small library to allow C# and Ruby
+ 75201 [batsman.geo@] Does it work using something similar to the Java Native Interface (ie.
| 75275 [timsuth@ih g] Not exactly. I wanted the library to work in both Microsoft's and Mono's
+ 75234 [surrender_it] calling C# libs means calling the entire .net CTS-compatible stuff ?
  75274 [timsuth@ih g] Yes, I believe so. It uses C#'s System.Type#invokeMember.

Re: Ruby9i now available - general ruby extension question
75082 [michael_s_ca] This might be a general question...
75106 [sdate@ev re ] Probably the later ...
75147 [michael_s_ca] Thanks.  I'll give that a shot.  It's been a few years, but I've had

RFC: Moving information from header to body
75084 [ jupp@gm .d ] Saluton!

RubyScript munges up Windows command line operation
75086 [please_spam_] Installed RubyScript on my Windows XP Pro machine to try it out. After that,
+ 75087 [please_spam_] Oh, yeah... after a reboot, .rb files started running from the command line,
+ 75090 [joegw@ha -p ] "Philo Del Middleston" <please_spam_me@37500hits4u.com>
  75100 [james_b@ne r] Well, there may be more concerning various flavors of Mac OS.

Evangelism & List Culture [was Re: OT: It's that time of year again ...]
75092 [aredridel@nb] I agree!  That's one thing that was very useful for me as a teenager: I
+ 75111 [bob.news@gm ] "Aredridel" <aredridel@nbtsc.org> schrieb im Newsbeitrag
| + 75115 [batsman.geo@] This is consistent with [ruby-talk:75075].
| + 75169 [denshimeiru-] If not, at least forget the phrases RTFM and RTFFAQ as well as anything else
+ 75158 [volker_grabs] That's easy: Write a ruby script to handle these questions ;-)
+ 75935 [gsinclair@so] I must say, I don't notice many FAQs being asked on the list anymore.

RERSS 0.1 released
75093 [samuel@al en] I've just finished RERSS 0.1.  What is RERSS, you ask?  It is [yet

[WIN] Ruby9i compiled using MSVC++ 6.0
75101 [sdate@ev re ] I have managed to compile ruby9i extensions using VC++ 6.0 on Windows 2000.
75319 [list@ji ca n] I would be interested in testing it, but I should wait a few days. I
75340 [sdate@ev re ] Great ! Yes, if you are planning to release another version I can compile it

[ANN] Raggle 0.1.3
75102 [pabs@pa lo r] Last night I released Raggle version 0.1.3.  Raggle is a console RSS

rb_gc_mark(): unknown data type...non object
75104 [list@ji ca n] I figure I'm getting this because I've got a VALUE that's not a Ruby
75108 [matz@ru y- a] I use gdb.  If you're not using your own extension, show us the
75109 [list@ji ca n] Thanks; it's my Ruby9i extension. I've wasted two days on this and
75110 [matz@ru y- a] Each object has its "type".  "type" is not a class.  It describes the

UDP Broadcast Packet (offtopic)
75114 [martin.farni] I've problem to send UDP Packet with broadcast address from ruby (in Linux).
+ 75120 [decoux@mo lo] You must call #setsockopt to specify the option Socket::SO_BROADCAST,
+ 75131 [ jupp@gm .d ] Saluton!
  75135 [decoux@mo lo] Well, if you want an example

[OT] Re: Using & for arrays of objects
75116 [batsman.geo@] I guess the statement "it is normal for somebody your age to be curious
+ 75138 [bob.news@gm ] LLLL         OOOOO   LLLL
+ 75166 [hal9000@hy e] That is why, when you mention the C language in front

get money now
75117 [c.carver_qd@] ...

Ruby, Threads and Processes
75118 [ gm@na el gr] %x{ convert -scale '100x100>' -antialias #{src} #{dst} }
75125 [decoux@mo lo] When you use %x{}, ruby use a pipe you can see it
75218 [ gm@na el gr] thanks for your time, but i do not understand the answer. Let me
+ 75220 [decoux@mo lo] %x{} use `(backquote)
| 75251 [ gm@na el gr] thank you!
+ 75238 [aredridel@nb] Definately a new process.
  + 75240 [surrender_it] slightly related..
  + 75263 [B.Candler@po] Not exactly. system doesn't redirect stdout; %x{} captures stdout using a

purpose of replace method
75119 [ian@ca ib n.] I was just wondering what the methods Array#replace, Hash#replace and
75122 [kentda@st d.] For String#replace, this means that you can change a text you have
75124 [ian@ca ib n.] irb(main):001:0> foo = bar = "string"
75127 [spam@de k. k] for this purpose it would be nice to have in Object. Why isn't there a
75130 [sdate@ev re ] Array, Hash and String are containers. Object is not necessarily a
75133 [batsman.geo@] I believe he wants #become.
75139 [spam@de k. k] yep, but that's not in Object either.
75152 [ruby-talk@wh] See [ruby-core:1164].  I guess `become' was added, then disappeared.
75153 [decoux@mo lo] A method *with the name* #become was added, then renamed in

75121 [maryjames@ku] Dear friend,

windows installer - scite
75126 [kgergely@ml ] It uses a rather old scite, and there's no ruby autoindent, and folding

RAA Modules and Ruby 1.8
75128 [stefan.arent] I just switched from Ruby 1.6 to 1.8 and I see a lot of warnings in
75129 [decoux@mo lo] Well, the best to do is to re-load a new version of the module from RAA
75136 [james_b@ne r] Is 1.8 now the official latest stable release?  If it's not, then
+ 75141 [decoux@mo lo] Well, it depend how you see it :-))
+ 75154 [B.Candler@po] Clearly not - 1.8 has additional features over 1.6.8, so if you make use of

How to create Shell Links on Windows?
75137 [me@ch is lt ] Is there an easy way to create or modify shell links (.lnk) with ruby on
+ 75140 [spam@de k. k] sorry I cannot help you ou there... also I cannot figure out your sig...
| 75174 [me@ch is lt ] p is a predicate and thus itself a function. f takes the predicate and a
+ 75345 [chrismo@cl b] The following depends on the Windows Scripting Host to be installed, but
  + 75348 [hal9000@hy e] I can't answer your question -- my eventual goal is
  | 75399 [me@ch is lt ] Me too. That's why I'm using ruby. Porting ruby scripts will be much
  | + 75454 [emiel@il fo ] Just thought I'd point out native Unix utils for win32. Windows
  | + 75477 [jj5412@ea th] I assume you're porting to Linux? I assume you know about Kylix?
  |   + 75518 [hal9000@hy e] The above is a mistaken attribution. I was replying to
  |   + 75532 [me@ch is lt ] No, I'm not porting to Linux. Windows users may use scripts to make life
  + 75401 [me@ch is lt ] I do not intend to surrender to the evil Windows Scripting Host, thus
    75424 [chrismo@cl b] Then I guess your other option is to check out WIN32API and call the same

Stuck with Telnet still
75142 [KHendric@th ] I am still stuck with this telnet client :(
+ 75145 [decoux@mo lo] Try something like this
| 75146 [kingsley@ic ] Hmm that doesnt work, I have to keep my finger on the return key to see
| 75148 [decoux@mo lo] svg% cat b.rb
| 75149 [kingsley@ic ] wow - that just doesnt work for me !
| 75151 [decoux@mo lo] You have found : I don't work on windows.
+ 75156 [B.Candler@po] Fairly understandable, since you're only accepting one line from the
  75181 [kingsley@ic ] require 'socket'
  75187 [B.Candler@po] That code works perfectly for me under FreeBSD (see below).
  75191 [surrender_it] I suppose I/O still blocks the whole interpreter in windows.

[ANN] VAOR 0.70, support for transactions
75144 [oliver@go .c] I'm happy to announce the release of VAPOR 0.70. This release adds

exerb - how does it work?
75150 [KHendric@th ] I have been trying to make exerb work - I must be tired today because I
+ 75157 [B.Candler@po] ruby -r is just the same as 'require'. In irb, try
+ 75212 [dooby@d1 .k ] Not directly related, but you can find your IP address with ...

seeking feedback on my first Ruby program
75160 [code@jo ch n] I just took my first stab at writing a useful Ruby program.  My programming
75161 [decoux@mo lo] Well, perhaps it's best if you use some module from the standard
75162 [code@jo ch n] Excellent, thank you... I didn't even know all those modules were hanging
+ 75163 [decoux@mo lo] You have some documentation in the pickaxe
+ 75164 [samuel@al en] documentation for most of the standard modules.
+ 75165 [mike@ra do .] You might look at http://www.rubycentral.com/book/index.html (but a

Using ruby-pam in a CGI
75167 [samuel@al en] I'm looking at writing some simple control panel software for my
75175 [B.Candler@po] You won't be able to authenticate users using PAM unless you are running as
+ 75178 [samuel@al en] I was actually planning on using sudo in order to run things as the
+ 75179 [samuel@al en] I suppose some clarification is in order.
  + 75183 [B.Candler@po] Why not?
  + 75184 [aredridel@nb] You can if you use a persistent authenticator process, that handles
    75188 [samuel@al en] Yeah, that's what I did in my perl script.  Could never figure it
    75197 [samuel@al en] enough, if I run it as me, I can authenticate but I can't chauthtok.

[ANN] Madeleine 0.4
75172 [ndrsbngtssn@] What is Madeleine?

The best way to catch errors
75180 [n.gilbert@so] My ruby program processes web pages, which it collects using the
+ 75186 [B.Candler@po] begin
+ 75192 [surrender_it] ^C aka SIGINT does not raise an exception.
| 75200 [bystr@ma .c ] begin
+ 75202 [dooby@d1 .k ] #------------------------------------------

Business Partners.
75189 [nelumba1@ne ] Good Day,

[How do I:] get what's in $stderr as a string?
75190 [mwilson13@co] How do I get access to what's in $stderr in the form of a string?
75278 [mwilson13@co] I tried Brian's solution and it worked perfectly. I should have tried
75279 [B.Candler@po] It forks off a subprocess, passes a pipe to the child's stdout and stderr,
+ 75281 [B.Candler@po] Typo, I meant
+ 75293 [mwilson13@co] Thank you. This is excellent stuff.

Ruby Code Snippet: Array.count
75193 [stefan.arent] Maybe this functionality is already somewhere in Ruby, but I could not
+ 75194 [ian@ca ib n.] a = (1..10).to_a
| 75195 [stefan.arent] Yes but this is very inefficient if you have large collections. My version
+ 75199 [dave@pr gp o] I'm starting to like using 'inject' for this kind of thing, but it isn't
  + 75205 [0bz63fz3m1qt] Simon Strandgaard
  | + 75206 [batsman.geo@] class Array
  | | + 75209 [0bz63fz3m1qt] Ok.. I have now added both :-)
  | | + 75231 [dave@pr gp o] Agreed (in fact I believe I said the original version was more
  | + 75230 [dave@pr gp o] My code was written in response to the OP's. However, if you're going to
  + 75213 [volker_grabs] Injects are *never* clear to read, are they?
    75235 [mike@ra do .] Once you assimilate the idiom they aren't too bad.  Readability only

I need some help..
75222 [tb_moralesgt] ...

File.stat.blksize returns nil and not 0 on win2k
75223 [ oct@zo .o g] on the 1.8.0 ruby version of the pragprog installer, File.stat(file).blksize
75225 [matz@ru y- a] Yes.  Undefined field values are nil now.
75226 [ oct@zo .o g] Thanks for the quick reply !

Unit Testing HTTP cookie handling
75227 [samuel@al en] I'm writing some cookie-handling code, and I want to write the unit
75228 [chadfowler@c] One thing you can do is to setup the code which you're unit testing to
75229 [samuel@al en] I was thinking about doing that.  What I've settled on, though, is
75258 [samuel@al en] Well, WebUnit would look pretty nice.  For some reason I can't get it

Artima Ruby Buzz
75232 [chadfowler@c] In case you haven't seen it, Artima.com has created a new "Buzz"
75247 [james_b@ne r] And what's somewhat disappointing is that Artima only allows one blog
75269 [aredridel@nb] Simple workaround: One RSS file listing entries from two blogs.

Mailing Lists  -  Fax Directory  -  Company Databases
75241 [cororan@nd r] We can supply you with UK mailing lists, Fax Directories and Company Databases, in any format that you specify.

Tracking down a seg fault
75243 [n.gilbert@so] I am getting
75249 [batsman.geo@] ObjectPoolingAndThreading :-)
75257 [n.gilbert@so] Well, thank you for your information on this!  It will certainly

Is this a bug?
75244 [aryeh@m- et ] Is this a bug in ruby?
+ 75245 [aryeh@m- et ] OOPS either leave ack off or do foo.ack {....} instead of foo.each ...
+ 75250 [batsman.geo@] => [1, 2, 3]

Re (repost): Is this a bug?
75246 [aryeh@m- et ] I forgot to actually use ack vs. each below but either way I get the
75248 [surrender_it] foo.each { |aFoo|
75252 [aryeh@m- et ] This is what I get for posting "simplified" code in the real code

rubynet-announce Digest, Vol 5, Issue 2
75253 [rubynet-anno] Send rubynet-announce mailing list submissions to

[ANN] unclose 0.1 alpha
75254 [koen.vervloe] ...
75255 [vjoel@PA H. ] KDE has "kfmclient exec", which is very powerful. It's a shell interface
75259 [surrender_it] btw, windows has the dos prompt or run or whatever, just type in and
75284 [damphyr@fr e] Yeap, but you cannot do 'cmd http://some.or.other/file.pdf' and have the
+ 75285 [surrender_it] well, you have the acrobat OLE in IE..
+ 75288 [michael_s_ca] I just ran (from windows 98: command /c start http://my.yahoo.com, from Win XP
| 75329 [koen.vervloe] Thanks for all responses. I now know the open commands for Windows and
+ 75292 [ jupp@gm .d ] Saluton!

Приглашаем ? сочи, Ruby-talk      BwChgLZYJd
75256 [Sanatoriy-Dr] ...

CGI::Session with MySQL?
75260 [samuel@al en] I would like to implement a session database for my web application
75261 [chadfowler@c] I don't know if one exists for MySQL, but there's definitely one for
75262 [samuel@al en] Yeah, that was my plan.  I just wanted to see if I needed to even do

options for CGI::Session database_manager objects?
75270 [samuel@al en] I'm looking at the source for pgsession at the moment, and it appears
75315 [samuel@al en] It's (sort of) undocumented, but it appears that CGI::Session passes

75271 [TristanWW@Sm] Confirmation for ruby-talk@ruby-lang.org
75272 [dcarrera@ma ] What the heck!!
75280 [B.Candler@po] I shouldn't think so. Spammers get addresses from webcrawlers. No attempt is
75523 [emschwar@po ] Spammers don't use confirmation emails, though; they just spam.  This
75568 [B.Candler@po] I can only imagine that you don't get a lot of spam then :-)
+ 75581 [emschwar@po ] Only a couple hundred a day; I might actually see one or two of them
+ 75653 [ jupp@gm .d ] Saluton!

Array#filter is Array#collect, yes?
75273 [samuel@al en] I was looking at some code and came across somebody using
75276 [matz@ru y- a] Yes, "filter" is replaced by "collect!" (and "map!").

Re: How to 'return' from a Proc?
75287 [kentda@st d.] Break works for me.
75320 [martindemell] def x

[ANN] Ruby-GNOME-0.34
75291 [mutoh@hi hw ] Ruby-GNOME-0.34 is now available.

Freezing an arbitary object
75295 [aryeh@m- et ] test=UnitTest::new
+ 75296 [jweirich@on ] This last line can be rewritten ...
+ 75297 [sdate@ev re ] "Aryeh M. Frierdman" <aryeh@m-net.arbornet.org>
+ 75298 [B.Candler@po] Local variables are not objects, and you can't freeze them. They contain a
+ 75299 [aryeh@m- et ] Thanks for the answers so far but "none" of them actually do what I want.
  + 75300 [B.Candler@po] Well, you should know what you mean by "whatever"
  | 75303 [vjoel@PA H. ] I wonder why this doesn't work? I didn't expect it to, but I'm curious.
  | 75304 [aryeh@m- et ] Being new to ruby I would not know the exact reasons but I susbect that
  | 75313 [aredridel@nb] Doesn't a constant do what's needed here?
  + 75327 [bob.news@gm ] "Aryeh M. Frierdman" <aryeh@m-net.arbornet.org> schrieb im Newsbeitrag
    75346 [guslist@fr e] is there anyway to make the warning an error?