157011-158254 subjects 157474-160654

^ [Ann] SitePoint adds Ruby Forum
157223 [jason.sweat ] Greetings Rubyists,

^ Trapping TaskManager's kill process on win32
157224 [ggarra advan] Is there a way to trap the killing of a ruby windows process killed
157231 [djberg96 gma] You can't.  Using the "end process" button on the Task Manager calls
+ 157232 [dido.sevilla] Gee, so there's only a SIGKILL on Windows, and no equivalent of a
| 157236 [djberg96 gma] Well, drat, I *thought* the CreateRemoteThread + ExitProcess combo was
| 157254 [simon.kroege] send a WM_QUIT to the main window if you want the application to exit
+ 157235 [Ara.T.Howard] under *nix you can trap almost all signals - but not this one for that very
+ 157256 [snail objmed] Daniel Berger <djberg96@gmail.com> writes

^ memory measurements
157226 [eric_mahurin] In ruby, is there a portable way to measure memory usage?  Any
157257 [snail objmed] Eric Mahurin <eric_mahurin@yahoo.com> writes
157284 [eric_mahurin] I'm a linux guy.  Here's what I do to get the memory of the
157288 [snail objmed] Eric Mahurin <eric_mahurin@yahoo.com> writes
157307 [eric_mahurin] I don't care about graphs and such.  Just a method (or several)
+ 157311 [c.r.mcgrath ] ...snipped...
| 157330 [eric_mahurin] It looks to gauge memory usage by counting objects.  Far from
+ 157316 [snail objmed] Eric Mahurin <eric_mahurin@yahoo.com> writes
  157354 [scott alodar] ...
  157362 [snail objmed] Ellsworth <scott@alodar.com> writes

^ patch for imap.rb -- error handling when waiting for continuation request response
157242 [martin.povol] we are using heavily Ruby IMAP library for communication with cyrus imap
+ 157244 [drbrain segm] ruby-core@ruby-lang.org and http://rubyforge.org/projects/ruby are
+ 157498 [shugo ruby-l] Your patch works fine, but I don't want to add the `tag' argument

^ [ANN] Rails Analyzer Tools 1.1.0
157243 [drbrain segm] Rails Analyzer Tools contains Bench, Crawler, RailsStat, IOTail and
157457 [chriscodes g] Or gem install rails if you're using an old version of rubygems ;)

^ [QUIZ] Math Captcha (#48)
157268 [james graypr] ...
+ 157270 [dave burt.id] ...
| 157273 [james graypr] The quiz says that if you read a bit farther down.  ;)
| 157404 [dave burt.id] ...
+ 157552 [zimba.tm gma] It's a bit out of topic, but I wanted to express an idea I had today and
  157556 [ef alum.mit.] =20

^ Re: Welcome to our (ruby-talk ML) You are added automatically
157272 [bloomingw gm] ...

^ Blogs
157279 [josh.charles] Hey all,
+ 157281 [robby.lists ] I don't think there is a planet-type site run by anyone in the community
+ 157283 [florgro gmai] * http://planetruby.0x42.net/
+ 157290 [james_b neur] The Internet.
+ 157361 [seths.mailin] The default search is for blogs, and I've heard it's quite excellent

^ Re: Places for a programmer to live?
157282 [pauldacus gm] ...

^ unsubscribe
157291 [mkhan lextra] unsubscribe

^ Why is this not a syntax error?
157294 [cribbsj oakw] Switching back and forth between Python and Ruby bit me in the butt
+ 157295 [decoux moulo] ...
| 157297 [cribbsj oakw] Gotcha!
+ 157296 [matz ruby-la] It's seen as
+ 157482 [vjoel path.b] Syntax hilighting in your editor works wonders on this kind of butt-bite.
  157506 [chneukirchen] It's enough if they properly indent your code. :-)

^ activerecord question
157298 [beeplove gma] ...
157343 [drbrain segm] Has your answer.
157398 [beeplove gma] ...

^ On accidental unsubscribe messages
157299 [Daniel.Berge] I think we get enough unsubscribe messages on this list that they should
157303 [ruby-talk wh] The list should continue as is.  When I get an unsubscribe message, my
+ 157317 [curt.hibbs g] Hmmm... I once unsubscribed from one email address and subscribed
| 157324 [patrick.fern] Hmm... on an unsubscribe-related note, does anybody know how I might
| + 157332 [bob.news gmx] How did you manage to get your old mail address defunct but it still
| | 157334 [patrick.fern] It's an old university account that I'm no longer allowed to send mail
| | 157339 [lukfugl gmai] ...
| | + 157341 [patrick.fern] Wow, talk about being dense (me, not you). A simple spoofed email
| | | 157342 [joshknowles ] ...
| | + 157345 [rhkramer gma] This is meant for the OP (or the guy that is trying to unsubscribe an old
| + 157368 [james_b neur] Have you tried spoofing the old address?  If there is a confirmation,
|   157386 [botp delmont] #Wow, talk about being dense (me, not you). A simple spoofed email
|   157441 [lukfugl gmai] Actually, yes. Let's hope no one gets any malicious ideas.
+ 157483 [vjoel path.b] So all those misdirected "unsubscribe" posts were in fact asking me
  + 157486 [twifkak comc] Correct. That is, unless he sends you "subscribe."
  + 157490 [martindemell] ...

^ A windows ole question - howto start an external application
157306 [Nuralanur ao] ...
157318 [snail objmed] Try the Win32 function CreateProcess() - of course via the appropriate
157319 [Nuralanur ao] ...
157507 [damphyr free] Does Maple have an OLE API?
157596 [Nuralanur ao] ...
157647 [damphyr free] Well, it'S actually very simple - the complex part starts from when you
157718 [Nuralanur ao] ...

^ net/ftp works manually, fails via cron
157320 [Daniel.Berge] Ruby 1.8.2
+ 157321 [cribbsj oakw] Did you add it to the root user's crontab or your user account's crontab?
| 157329 [Daniel.Berge] Nope, whoops, that was it.  I think I goofed the crontab, too, which is why I
| 158359 [meta pobox.c] Handy tip: Always use Logger for cronned scripts.
+ 157322 [Ara.T.Howard] path to ruby is fubar under cron?  what's the shebang line and cron line?

^ YAML with comments
157327 [phlipcpp yah] ...

^ to_str in string.c # rb_str_to_str()
157333 [byrd.timothy] I have a Bignum object and I tried calling StringValueCStr() to get it
157340 [cmills frees] No, it should be to_str.  All objects implement to_s since all classes
157375 [byrd.timothy] I would like to get the string representation of an arbitrary Ruby

^ postgres dbd driver for ruby dbi
157344 [snacktime gm] ...

^ Tracer question
157348 [bart.massche] require 'tracer'
157349 [bart.massche] Sorry, code should be

^ woa! There is no Object just a Kernel
157350 [transfire gm] Object.instance_methods(false)
157359 [dooby d10.ka] ...
157371 [transfire gm] Thanks daz,

^ Anyone using yajb in production?
157351 [pat.eyler gm] We're looking at it for a managment tool that needs to talk to JMX,

^ powered by Ruby icon?
157352 [phlipcpp yah] ...
+ 157379 [james_b neur] Luckily, very little in Ruby is "official".
+ 157936 [ jupp gmx.de] ...
  158043 [phlip2005 gm] Google admitted it, but in general most servers will strip it, or

^ Re: Large scale sites? Anyone? Anyone?
157355 [none none.co] ...
+ 157357 [ezra yakima-] Hey Sean-
| + 157360 [snacktime gm] ...
| | 157364 [nospam nowhe] Well, basically the site currently serves about 160,000 visits/day,
| | + 157366 [joevandyk gm] Rails + Caching should be a perfect fit for you.  Just expire the
| | + 157372 [none none.co] ...
| | | 157408 [bob.news gmx] But keep in mind that gzip compression increases load on the server
| | | 157412 [david.heinem] That's your key. As long as there's no state, scaling doesn't really
| | + 157413 [snacktime gm] ...
| + 157397 [mvondung gma] The ad at the start that pretends to be a Windows system message is a
|   157399 [ezra yakima-] Are you talking about the pop-under add? God I hate that thing.
+ 157450 [martindemell] ...

^ [ANN] nbfifo-0.0.0 - non blocking fifos for threads
157358 [Ara.T.Howard] URIS

^ Creating directories
157365 [joevandyk gm] There seem to have been a bunch of filesystem-related releases
157367 [Ara.T.Howard] require 'fileutils'
157373 [joevandyk gm] Thanks!
157376 [Ara.T.Howard] require 'logger'
157393 [joevandyk gm] Every time I start the application, I want to create a new log file
157395 [Ara.T.Howard] oops.

^ trimming strings
157370 [jonathan.ott] folks->
+ 157374 [florgro gmai] Try this: str[0 ... str.index("<br />")]
| 157378 [twifkak comc] Document-class: Regexp
+ 157377 [joevandyk gm] Your question is sort of unclear.  So I'm not really sure what you're

^ RubyGarden wiki overrun by spam
157380 [james_b neur] how to roll back to an earlier version of the page.
157502 [halostatue g] I've taken care of this, this time around. What you do is you "view

^ REXML Question
157382 [mikeleonard ] I'm looking at REXML as a possible alternative to some things I've been
+ 157388 [james_b neur] Have you tries brute-force regexp?
+ 157392 [phlipcpp yah] ...
| 159757 [itsme213 hot] ...
+ 157437 [m-lists bris] /Marcus
  157461 [mikeleonard ] Thanks for the replies. Actually, it was Fowler's article that piqued

^ Implementing method_missing in C and blocks
157383 [drjflam gmai] ...
157385 [nobu.nokada ] static VALUE
157425 [drjflam gmai] ...

^ DRb DNS Problems
157389 [caldridge gm] DRb server trying to yield data to the fully qualified domain name of
157595 [rubyzbibd ub] [Snip more details]
157742 [caldridge gm] Thanks for the reply. --Glad to see I'm not going crazy.

^ "once" methods
157400 [stevena neos] I was reading PickAxe and came across the very cool concept of "once"
+ 157402 [transfire gm] Maybe #memoize.
+ 157439 [james graypr] This is usually called memoization, but I'm not aware of a standard
  + 157444 [transfire gm] I looked at the RCR, I think once is something a little more low level
  + 157445 [rascal1182 g] ...

^ OpenClass
157401 [zenlinux gma] ...
+ 157403 [transfire gm] An interesting variation on OpenStruct. In my work with such things
+ 157409 [bob.news gmx] I don't see the advantange of this syntax over
  + 157411 [zenlinux gma] ...
  | 157500 [transfire gm] Well, it just a differnt way to think about coding  --prototypes vs
  | 157501 [zenlinux gma] ...
  + 157416 [dougkearns g] name = "Robert"
    157434 [bob.news gmx] => nil

^ Strange problem in Rails application in production mode
157405 [Guilhem.Vell] I have a very frustrating problem running a Rails application in

^ [OT] gmail style reply-to (was: Re: On accidental unsubscribe messages)
157406 [bob.news gmx] I didn't know this feature.  Sounds like Google's version of Reply-To.  I

^ Ruby on Rails image problem
157417 [glenn.brutyn] ...
157423 [Guilhem.Vell] You can put all your images inside public/images, which is created by

^ How to do css in ruby on rails
157418 [glenn.brutyn] ...
157422 [Guilhem.Vell] if you put <%= stylesheet_link_tag "style" %> in the head section of

^ self.puts?
157420 [ dez mac.com] I am trying to convince myself that Ruby is fully OO [I'm not
157421 [langstefan g] Both find the private method "puts", which is defined in the
157424 [ dez mac.com] Ah - I knew it was semantics! Thanks for your explanation. It makes
157433 [bob.news gmx] self.send(:puts, "foo")

^ [ANN] Vim/Ruby Configuration Files, 2005.09.24
157427 [dougkearns g] G'day folks,

^ ubygems, but no rubygems  (was Re: [ANN] RDE 1.0.0 released)
157428 [dooby d10.ka] ...

^ anyone has basic site??
157429 [glenn.brutyn] ...
157438 [james graypr] You also might have more luck asking a question like this on the
157455 [chriscodes g] I can see pointing to the rails list because it's a rails question,

^ A big thank you to HostingZero...
157431 [tom infoethe] ...for hosting a RubyForge file release mirror, and thanks specifically

^ fpdf in ruby
157432 [glenn.brutyn] ...
+ 157435 [glenn.brutyn] ...
+ 157436 [robby.lists ] I don't see this link in my blog post, I apologize.

^ News is Nice
157440 [transfire gm] What a nice site!
157512 [christophe.g] Well, thanks, but all the merit goes to Tim. I only help out a bit since
157555 [transfire gm] Okay, though no dount he's glad for your help.

^ cannot convert Float into String
157442 [glenn.brutyn] ...
+ 157446 [Nuralanur ao] ...
| 157447 [glenn.brutyn] ...
+ 157448 [bob.news gmx] pdf.Cell(100,h, @product.price.to_s , 0,1)
  157456 [twifkak comc] pdf.Cell(100,h, "#{@product.price}", 0,1)
  157459 [bob.news gmx] Although I agree to the rest of your posting this variant is inefficient if
  157464 [twifkak comc] I'll buy that. It is, however, more convenient in a longer string such

^ image in pdf
157443 [glenn.brutyn] ...
157462 [halostatue g] Um. Which PDF creator are you using? I'd guess that you're using FPDF
+ 157509 [glenn.brutyn] ...
| 157516 [halostatue g] Which operating system are you using?
+ 157510 [glenn.brutyn] ...

^ deleting a record from table
157451 [glenn.brutyn] ...
157453 [robby.lists ] def delete

^ Concerning Marshalling
157458 [christophe.p] I was trying to marshal some objects, however some of these objects
+ 157508 [decoux moulo] ...
| 157549 [vjoel path.b] That's a good suggestion. The marshal_dump/marshal_load pair can be very
+ 157568 [Ara.T.Howard] for some reason the mailing list seemed to have eaten my post about this so
  157797 [christophe.p] Guy and Joel:  Thank you for your helpful comments, this was exactly
  157908 [christophe.p] Concerning tracking references.
  158501 [vjoel path.b] class Node

^ Re: swiggery
157463 [steven.jenki] I have to head out to run some errands, but here are some quick hints.
157465 [martindemell] ...
157466 [gfb tonesoft] SWIG is especially good for a small task as you can get it done in no
157468 [steven.jenki] SWIG is good for a small task if you know SWIG. I use %rename and
+ 157469 [zenlinux gma] ...
+ 157488 [martindemell] ...

^ MD5 function
157467 [sandhya1205 ] ...
+ 157471 [1337p337 gma] require 'digest/md5'
+ 157472 [kballard gma] require 'digest/md5'
  157479 [hobe gmail.c] Don't use the digest/* modules.  They're slower than the openssl ones
  157505 [chneukirchen] However, note that not everyone has OpenSSL installed (mostly due to

^ Mixin of class methods?
157470 [mroth nessie] I'm a little bit new to the wonderful world of ruby and have a small
+ 157473 [kballard gma] module M
| 157477 [mroth nessie] Thank you very much.
+ 157475 [jeremy bitsw] module M
| 157478 [mroth nessie] This looks very nice. Thank you!
+ 157480 [Ara.T.Howard] module M
  + 157524 [michelemende] class Module
  | 157529 [sean.ohalpin] This is fine if you want to add the foobar method to ~all~ classes and
  + 157594 [michelemende] Why the "other" return (see question mark above)? It seems to work