178883-180105 subjects 179340-181617

^ OSCON Call For Proposals Deadline (Feb 13)
179101 [chadfowler g] We on the OSCON presentation committee wanted to remind you all that

^ Ruby on AIX?
179121 [obiefernande] We're looking at big IBM hardware running AIX as a potential
179273 [victor.reyes] Obie,
179464 [obiefernande] Thanks everyone for the info. Once my team starts benchmarking (in a

^ [ANN] langhelp-0.9.6
179127 [rubikitch ru] == Abstract

^ yaml object de-serialisation
179132 [pere.noel la] i've a class "Preferences"
+ 179136 [david vallne] I thought YAML does deep serialization? It should load this automatically.
| 179140 [pere.noel la] First, thanks for your reply ))
| 179147 [david vallne] Ah, this third case wasn't quite obvious from your example. But yes, you're
| 179149 [pere.noel la] that's a "small" prob to me, i've used java where i might have multiple
| 179187 [david vallne] Constructors are just cleverly disguised initializers. Have #initialize only
| + 179199 [r.mark.volkm] I'd never seen this before. Cool!
| | 179225 [david vallne] I saw this on some page about ruby idioms somewhere. Might have been the
| + 179218 [pere.noel la] yes, that's another solution. I'll think about your above solution
+ 179196 [vjoel path.b] It's a way of automating the configuration of objects from a

^ [SUMMARY] Splitting the Loot (#65)
179144 [james graypr] There was some debate on the list about which NP-complete problem this actually
179214 [kasten.m gmx] You may call it a minor optimization, and I agree it's an easy one. But
+ 179220 [james graypr] I agree.  I almost discussed this one, but it had a few issues, like
+ 179223 [luke blansha] that guy -- I finally got up to code the thing at 3 after lying awake
| 179232 [james graypr] It sure is and that was a great explanation of just how cool it is.
+ 179275 [bdolinar xmi] charset=US-ASCII;
  179387 [luke blansha] Aha.  You need to be using my *second* solution, cleverly named
  179389 [bdolinar xmi] Sorry.  Wrong example.  It won't split for things including 2 values
  179397 [luke blansha] Wow, right you are.  I guess this 3AM coding thing has its down side.

^ Writing Secure Web Services
179151 [bauer.mail g] I know this is Ruby-specific, but we plan to implement this system
+ 179153 [roland.schmi] Another idea is using wss4r with ActiveWebService. You can then encrypt
+ 179159 [Roland.Schmi] them.
| 179172 [bauer.mail g] The library looks promising, although I'm having problems with the
| 179550 [roland.schmi] sorry for the late reply.
+ 179173 [rcoder gmail] system.
  179202 [bauer.mail g] Yea, I agree.  Maybe a little research on Web Service Security would

^ Ruby 1.8.4 behaviour - 2 questions
179155 [ByrneJB Hart] OS = CentOS 4.2
+ 179156 [ByrneJB Hart] Please ignore the "[" typo in the original post. The actual construct
+ 179158 [desmarm gmai] Everything here is working correctly.  If you look at the documentation
+ 179161 [ara.t.howard] all according to the docs.
| 179227 [david vallne] target_f += source_f || 0.0
| 179231 [ara.t.howard] hmmm.  if that's the case (possible string) i'd use
| 179257 [david vallne] Well, to_f coerces any junk to 0.0. It depends in that case whether you want
| 179316 [lukfugl gmai] You of course mean
| 179460 [david vallne] I need to lay off kitten huffing, it seems. Of course I meant that.
| 180023 [ByrneJB Hart] Thanks for all the help and the insightful discussion of what is going
+ 179163 [lukfugl gmai] The second regex is coming out case insensitive (and not multiline).

^ DICOM Tool Kit in Ruby
179157 [mtscolony gm] Good Morning,
179167 [mark scottis] Sounds really interesting, thanks for your work. Any plans on the license?
179179 [mtscolony gm] I will release it on Ruby license, open source. I have over 10 years DICOM
179228 [phil pricom.] Mac,
179254 [daniel voelk] Go on! Very, very nice. Are there any websites about your project?
179300 [mtscolony gm] I dont have any web site yet, but will soon. I want this project to be at
179324 [daniel voelk] Great! Please post an annoucement, I'll looking for it. Finally a usage

^ Passing POST params from one rhtml to another
179164 [belorion gma] Greetings everyone.  I am faced with a rather tricky problem.  I have
179170 [james_b neur] Can you use open-uri to send an HTTP POST request?

^ Unsubscribe
179165 [imeka tuvox.] charset="us-ascii"

^ [ANN] Phoenix Ruby Users Group February Meeting Reminder
179166 [james_b neur] Monday, February 13

^ Re: Geocoder 0.1.0
179169 [netghost gma] Hey I just thought I'd mention that I'm half heartedly porting the Perl
179194 [jeff opendbm] Perhaps we should start a rubyforge project and work together on this,

^ How to improve this kind of API?
179181 [lyle.johnson] I'm looking to make an API change for some methods in FXRuby and would
+ 179182 [Daniel.Berge] FWIW, I think what you've posted here looks good, so long as I could use
| 179190 [ara.t.howard] indeed.  a symbols only api is evil - makes reading config info from
| 179197 [lyle.johnson] How would one specify (especially in the YAML representation) that
| 179203 [ara.t.howard] exactly right.
+ 179191 [david vallne] Looks fine to me. Personally I wish more GUI toolkits provided
| 179192 [vjoel path.b] As much as we all love FXRuby, I sure hope Lyle has another source of
| 179207 [david vallne] I cnt saem to tyep tpday...
+ 179195 [SimonKroeger] Well, i haven't used FXRuby very much, so i might miss the problem with
  179198 [lyle.johnson] OK.

^ win32 openssl help request
179201 [Steve.Debaun] I just joined the list because I saw a post (from way back in 2002) about
179204 [billk cts.co] Sorry I can't offer specific help, but I wanted to confirm that
179205 [Steve.Debaun] Thanks, bill.
179229 [Steve.Debaun] Hey, for anyone else who had this problem --

^ [OT] Re: Start from the start - Ruby or ruby on rails
179212 [ara.t.howard] - concurrency

^ putting plugins/config in gem
179215 [payton foolo] however, requires a directory of plugins and a config file, which the
179288 [payton foolo] I realize that I could have the config file automatically created in the

^ Re: foxGUIb 0.5.0 (for FXRuby 1.4.x)
179217 [meinrad.rech] foxguib-0.5.1-hotfix fixes the event editor crash and the broken event

^ Re: [rant] Yahoo! Widgets (JavaScript) - do we have a anything like this?
179224 [david vallne] *cough* To add insult to injury, this was after experimenting with the

^ [ANN] "Ruby for Rails" in early access release
179230 [dblack wobbl] My book "Ruby for Rails" is now being released one chapter at a time

^ [ANN] MP4Info Initial Release
179234 [jason.terk g] MP4Info. Please use and abuse the library and please give me any

^ Thread#stop
179235 [vjoel path.b] Is it possible for one thread to put another thread in a stop (or sleep)
179263 [david vallne] Letting threads directly play tricks on each other is more of a Q'n'D hack
179320 [vjoel path.b] I agree that Thread#stop is not a good tool for writing concurrency
179462 [david vallne] For some strange reason I thought you were using looping worker threads with
179479 [vjoel path.b] Well, some are fairly short lived, but those ones are fired off by some
179504 [david vallne] Do those "permathreads" spend a lot of time in an inconsistent state when it

^ Rails AJAX question
179236 [voice10 gmai] I want to display some picture continously on a page using Rail+AJAX.
179238 [tsumeruby ts] EWRONGMAILINGLIST
179253 [anne wjh.har] I liked this tutorial, it has a nice example on the lack of memory of

^ ActionMailer Inline Image Attachment Issue
179240 [beanbrown gm] I have been wholely unsuccessful in having an inline image attachment

^ [ANN] gdiff / gpatch 0.0.2 released
179241 [ruby.brian g] thanks to a bugreport from David Felstad I found and removed a Bug in

^ [ANN] Mongrel 0.3 -- Runs Ruby On Rails
179242 [zedshaw zeds] This is the long awaited release of the Mongrel HTTP library that

^ Hiding warnings
179244 [mark scottis] I have a couple of sections of code that I don't want any warnings displayed
179245 [fxn hashref.] Yes, the idiom is $VERBOSE = nil.
179247 [mark scottis] Spot on, thanks Xavier.

^ Catch method calls
179246 [imobachgs gm] We were wondering if it's possible to catch all method calls. I mean a kind
179269 [ksruby gmail] Check out Kernel#set_trace_func. Note it is very slow!

^ Ruby injected into Practices of an Agile Developer
179248 [Bil.Kleb NAS] I recently had the pleasure to help review the
+ 179261 [musical.matt] I also had the opportunity to assist in reviewing this book and must
+ 179268 [gavri.fernan] The book was written before the pragmatic programmers' love affair

^ Why Ruby?
179249 [Bil.Kleb NAS] I was amazed to see no comments on Andy's "Why Ruby?" blog
179252 [bob.news gmx] what's left to add?

^ Compiling vim7 with ruby interpreter
179256 [markonlinux ] I've asked this on the vim list as well, so sorry for the cross posting
+ 179260 [david vallne] libruby-dev or libruby1.8-dev? I wonder if someone asked / told the Ubuntu
+ 179264 [chneukirchen] apt-get install libruby1.8-dev

^ [QUIZ] FasterGenerator (#66)
179262 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 179266 [pit capitain] James, thanks for the new quiz. It would be interesting to add a
| 179267 [james graypr] That's an interesting point we will certainly talk more about as we
| 179494 [luke blansha] More importantly than endless generators, it seems to me, is ones that
| 179505 [lukfugl gmai] Actually, there's no way (I can think of) to get the output you
| 179530 [luke blansha] You are correct.  My bad.
+ 179276 [matthew.moss] Not being familiar with all the various Ruby packages and libs, I
| 179279 [james graypr] I will, yes, on Sunday.  :)
| + 179280 [james graypr] In answering Matthew's question, I found a small mistake in the
| | + 179281 [james graypr] Oh and don't be too impressed with those, Pit Capitain has already
| | + 179304 [davelee.com ] Off topic a bit, but what os/hardware are you using to get these numbers?
| |   179308 [james graypr] A dual processor G5 at 2.0 Ghz (each processor), running Mac OS X
| + 179282 [matthew.moss] But you just posted it.  :)
| | 179284 [james graypr] It's not my implementation I am trying to hide, it's the current
| | 179290 [matthew.moss] Okay....   ummm....  sure....  I won't peek.  No, you can't make me.
| + 179481 [lerno dragon] Newbie jumping in here.
|   179509 [james graypr] Yes, you are right.  That was silly of me.
+ 179468 [lukfugl gmai] ### Construction ###
| + 179475 [rossrt rosco] Here's mine up to now. Being greedy I made two versions, because of the
| + 179510 [lukfugl gmai] Ok, since last night I've corrected my implementation to not evaluate
|   + 179518 [james graypr] charset=US-ASCII;
|   | 179525 [lerno dragon] class MyGenerator
|   + 179534 [rossrt rosco] I did the same, and it's pretty much killed my implementation :(. It
|     179692 [lukfugl gmai] Hmm, while I didn't run into any deadlocks with my testing, I'm not
|     179875 [rossrt rosco] It's an easy mistake to make. When you stop threads right away you need
+ 179483 [lerno dragon] With the same trade-offs as James' version(?) (i.e. no infinite block
| 179488 [ocean m2.ccs] Generator should suspend current calculation, and
+ 179646 [matz ruby-la] I'd be happy to replace current implementation of generator.rb with
| 179701 [james graypr] I'm not sure we will do any better than the current implementation,
+ 179702 [james graypr] Is anyone willing to benchmark the submitted solutions, the old
  179886 [rossrt rosco] Here's some I ran up on Ruby 1.8.4-2005-12-24, and results of test runs
  + 179888 [james graypr] We all owe Ross a *huge* thank you for this effort!
  + 179889 [rossrt rosco] Oops, it was actually three that passed endless but not realtime - I
  + 179893 [davelee.com ] As James said, thanks for doing this Ross.
    179904 [rossrt rosco] It does pass all the tests (including a new one based on Luke
    + 179930 [davelee.com ] I made a couple fixes, which eliminates the problem (of premature
    | 179938 [rossrt rosco] Hmm. I think stop is a singleton method on Thread, so you'd have to do
    | 179965 [davelee.com ] ah right, thanks.
    + 180022 [davelee.com ] I hope I've fixed the thread bugs I had.  At least, I can no longer
      180038 [rossrt rosco] Ahh, cool. I knew there must be a better way to do that. Thanks :)

^ getting method names for a Class
179272 [r.mark.volkm] There are so many methods in Object and Module that return arrays of
179299 [david vallne] Because #instance_methods shows methods an instance of Foo will have, and

^ Yet another question on exceptions
179274 [jaco neottia] If i use File::open to open/create a file objet, and if i use a block
+ 179277 [Gennady.Byst] File.open is not that stupid ;-). It uses "ensure" internally to  close
+ 179285 [bob.news gmx] Yes, as Grennady pointed out.  The benefit of using File#open with a block
  179289 [jaco neottia] Actually, i took the habit to always handle exceptions myself, hence
  179297 [david vallne] Well, File.open in the block version will reraise the exception precisely to
  179303 [jaco neottia] Ok, perhaps i'm not clear or perhaps i've missed something...
  + 179309 [shortcutter ] Actually, catching those exceptions and exiting depending on them is
  + 179317 [david vallne] If you want to assign your own error codes, feel free to do so. As I said,

^ (none)
179278 [dominic.mark] require 'net/imap'

^ Re:
179283 [Daniel.Berge] No, it's a bug, either in one of the included packages (socket, monitor,
179287 [dominic.mark] No, it's a bug, either in one of the included packages (socket, monitor,

^ How to find the current path?
179291 [BPaatsch act] I am fairly new to ruby and wonder if there is a class/method that returns
179292 [james graypr] $ ruby -e 'p Dir.pwd'
179311 [BPaatsch act] Thanks,

^ How are indentor and beautifier projects going, if any?
179293 [d.cano.lagne] I reckon this is my first post to this mailing list.
179296 [ef alum.mit.] Any worthwhile editor should have a Ruby mode that handles indenting
+ 179298 [david vallne] I also think you can run emacs in batch mode and have it reindent a whole file
| 179359 [g_ogata optu] (add-hook 'ruby-mode-hook
+ 179301 [d.cano.lagne] escribióº
  + 179305 [cameron.mcbr] shift-v
  + 179306 [reid.thompso] ...
  + 179307 [david vallne] Weird, last time I used Vim, it worked fine in this respect. But that was GVim

^ XML-RPC Compatability
179295 [greg.kujawa ] I know that this isn't a Ruby subject, but since my XML-RPC server is

^ Programming cell phones in Ruby ?
179302 [Nuralanur ao] Dear all,
+ 179326 [fred.grott g] No its not possible as the J2ME JVms are not tradition or standard JVms
+ 179365 [davidw dedas] A language like Ruby is probably a bit big for a cell phone (today's
  179388 [alchen vt.ed] Hey, Python's available for Series 60 cell phones[1], so why not

^ how to test a ruby class
179310 [doug.baker f] charset="iso-8859-1"
+ 179312 [Gennady.Byst] You can do
+ 179313 [demmer12 fas] An alternative to ad-hoc testing in an IDE or via the command line is
+ 179314 [david vallne] My two cents follow: I can't stand the very sight of people making a script or

^ Preserve value-type semantics in imported types
179318 [drjflam gmai] I'm importing a value type from the CLR and I'd like to preserve value type
179327 [noriyuki.tak] Dear John,
179329 [drjflam gmai] Thanks, Nori!
+ 179332 [gwtmp01 mac.] In the eye of the beholder...
+ 179337 [noriyuki.tak] sorry John, I forgot to paste the sample code, but it may not be

^ rebinding a Proc
179321 [ptkwt aracne] Weird stuff ahead.  I'm making (actually, remaking) a DSL.  I'm re-visioning
+ 179325 [ptkwt aracne] Sorry to respond to my own message, but sometimes it helps to write these
+ 179328 [pan erikveen] @__behavior.call

^ OK.rb's First Meeting
179322 [james graypr] After a long search, aided by my Ruby friends in other states even,
182729 [derek.mahar ] After your Oklahoma Ruby User Group meeting, please post the slides to
182742 [james graypr] Will do, sure.

^ Win32OLE + DRb - Windows = Fun
179323 [keith oreill] Hey,
179362 [enleverlesX.] Interesting.
179418 [kiaroskuro g] This is interesting stuff.  I have recently used similar techniques to

^ Rubyforge releasing
179331 [tobias.luetk] Hey everyone,
+ 179334 [ara.t.howard] hth.
| 179765 [ml kurt.hind] I couldn't get it to work.  The gem file doesn't seem to check deps nor
| + 179781 [ara.t.howard] that should only happen if http-access2 is not installed?
| + 179782 [ara.t.howard] btw.  there is no http-access2 gem.
|   179788 [ml kurt.hind] I'm using Gentoo...
|   179792 [ara.t.howard] dunno anything about gentoo
+ 179802 [halostatue g] I use meta_project on MIME::Types (recently updated to 1.15) and PDF::Writer.

^ Debugging
179333 [BPaatsch act] Is it possible in ruby to generate during runtime in case of an error a log
+ 179343 [james graypr] begin
+ 179478 [drbrain segm] ruby -d prints out every exception raised.

^ ruby/dl question
179339 [ara.t.howard] struct flock {
+ 179408 [vjoel path.b] I don't understand. If the flock struct fields are not in a predictable
| 179415 [ara.t.howard] that's what to compiler does - it's why one must say
| 179419 [vjoel path.b] Ah I see. It isn't that the data structure itself is unpredictable (I
| + 179423 [vanek acd.ne] And, for what it's worth, both gcc 3.4.4 and VC++ 13.10 pack the two shorts together
| + 179438 [ara.t.howard] lol!
+ 179476 [drbrain segm] You have a bigger problem, off_t is usually 8 bytes and the built-in
  + 179497 [vanek acd.ne] good pickup.
  + 179502 [ara.t.howard] i can pack my own struct easily enough... but knowing the layout is