49852-50907 subjects 50319-51748

RubyInline and CrossPlatform concerns (was: Windows XP : RubyInline 1.0.4 Released!)
50034 [ryand-ruby@z] I've left /tmp in favor of the home directory. Is there something like
+ 50100 [nobu.nokada@] As to NT series, HOMEDRIVE and HOMEPATH are set.  It may be
| 50163 [patrick-may@] %USERPROFILE% sounds like the most sensible one to me.
| 50233 [ryand@ze sp ] Thank you. I'll use this one.
+ 50104 [phasis@ko ne] Here is another version using mkmf.
| + 50108 [ADATE@kc rr ] Park,
| + 50109 [ADATE@kc rr ] Park,
| | 50111 [phasis@ko ne] RubyInline
| + 50110 [ryand-ruby@z] I don't mean to be a total bother, but does windoze have diff? diff
|   50115 [phasis@ko ne] OK, Here is diff of original and my first version.
+ 50137 [bilotta78@ho] NT/2K/XP has HOMEPATH and HOMEDIR. Some users (me, for example :))

what is T_DATA ?
50069 [info@mj is d] I am currently trying to understand the C source of mysql-ruby.
50072 [vjoel@PA H. ] It's for user defined data types, which are instantiated by calling the

Make $20,000 with PayPal! Fast, reliable,FREE!!!
50090 [friend@ge re] =20

dbi problem
50098 [jayaywhy.fab] I'm trying to make ruby dbi work. I searched around, but could not find an
+ 50149 [mxvera@qw st] I just installed the mysql module last night, but haven't gone so far as to
+ 50182 [sean@ch tt n] It looks like you have an incomplete installation of DBI.  You need
  50307 [jayaywhy.fab] Thanks. I got it working. If you install from the distro's RPMs, Mandrake

a question about using inline.rb
50103 [mxiao@ee ua ] Is there anyone has used inline.rb to extend ruby in c? Should i include the
+ 50117 [vjoel@PA H. ] include the
+ 50121 [ryand-ruby@z] Ahh, stated this way I finally think I understand your question...

Disabling exceptions - thoughts?
50105 [djberge@at b] On #ruby-lang tonight, the topic of disabling exceptions came up.  In Perl,
50107 [matz@ru y- a] Not in the current implementation.  Besides we should define first
+ 50184 [sean@ru y- a] You mean if the exception isn't being ignored?  It should be raised as
| 50228 [matz@ru y- a] No.  I meant if an exception was ignored, the procedure keeps going
| 50231 [sean@ch tt n] Correct.... which'd be the point of the ignore block.  Orignally the
+ 50480 [qrczak@kn .o] Don't repeat, wrap in a function. Or make a loop.

a question about using inline.rb
50112 [mxiao@ee ua ] No one answer my question. :(   Can you help me for this simple question?

ML deja vu
50126 [hal9000@hy e] FYI, some of these posts are 2-4 days old.

Crosscompiling Ruby on Linux for Win
50134 [martin.kahle] I naively tried to cross compile a Windows version on my linux box.
50167 [eban@os ri .] % CFLAGS=-Os \

Why can't ruby be used from a (native) thread other than the main one?
50143 [loriend@bi p] Yesterday I was assisting in writing the server for a multiplayer gladiatorial combat game that embeds ruby. This server has an MFC gui that spawns a single hi-priority thread that runs all our game logic (this is what we are doing with ruby). However when ruby is initialised from the child thread and only used from that child thread it segfaults strait away. As soon as the ruby initialisation and code was moved back to the main thread it worked.
50158 [Laurent.Jull] For your information I have posted in bug this morning (Sep 13th,
50220 [loriend@bi p] Thanks Laurent,
50221 [loriend@bi p] Oops,

Problem with cvs version of ruby 1.6.7
50144 [loriend@bi p] the current stable cvs does not set the load path properly. It is left empty, so nothing works properly. This happened on linux and windows.

Max length of file names?
50146 [coma_killen@] I'm running Ruby 1.6.7 on cygwin on Win2k and it doesn't seem to like

Ruby and Mysql Tutorial
50148 [mjais@we .d ] I have just started to write a tutorial about Ruby and MySQL

[ANN] RubyCocoa 0.3.0 and RubyAEOSA 0.2.1
50152 [hisa@im sy o] RubyCocoa 0.3.0 and RubyAEOSA 0.2.1 released.
+ 50173 [hisa@im sy o] This binary package is for Mac OS X 10.2 or later.  There is not a
+ 50187 [rich@in oe h] I just want to be the first to thank you for so quickly getting this to

[ANN] DbTalk 0.7
50172 [dali@ep t. z] I would like to announce a new release of my Ruby project DbTalk.
50223 [ADATE@kc rr ] Way cool ! Just when I wanted something similar ;-)
50239 [dali@ep t. z] As DbTalk is GPL I see no problem in using its code as long as your
50240 [ADATE@kc rr ] Thanks a lot !
50256 [hal9000@hy e] <dali@epot.cz>
+ 50259 [ADATE@kc rr ] May your wish be granted (because it is the same as mine ;-))
| 50271 [hal9000@hy e] Thank you... tell that to Barnes and Noble,
+ 50262 [jweirich@on ] I tend to use the following license on most stuff that I write ...
  50282 [mikkelfj-ant] "Jim > I tend to use the following license on most stuff that I write ...

50174 [ahoward@fs .] i'm trying to grasp ConditionVariable usage, i understand how it is
50489 [nat.pryce@b1] As far as I can see, you can't implement this logic if all your threads

User ID in Windows
50177 [David.Stagne] Does anyone know a convenient way to get the login name of the user in
50185 [joe@vp p. et] regards,
50191 [chrismo@cl b] in

float precision
50180 [lists@de on ] Sorry if this has been answered before.
+ 50188 [pbrannan@at ] irb(main):001:0> class Float; def inspect; "%.10f" % self; end; end
| 50192 [lists@de on ] Isn't that a dangerous pitfall?
| 50198 [pbrannan@at ] Paul
+ 50189 [vjoel@PA H. ] irb(main):001:0> a = 20020912.194220
+ 50193 [gotoken@no w] Those were omitted by Float#inspect method.
+ 50194 [billtj@z. lu] No, you don't miss any precision.  Internally, the Ruby Float type is

Is this a bug?
50183 [tsondergaard] irb(main):001:0> f = File.open("empty.txt")
50229 [matz@ru y- a] Fixed in the latest 1.7.3

Dump each method called to stdout?
50199 [chrismo@cl b] I've got a script that loops through a bunch of stuff and somewhere in the
+ 50202 [sean@ch tt n] What I've done before is set counters that only print goo every few
| 50204 [chrismo@cl b] I see what you mean ... but my problem is that each loop basically calls one
| 52408 [tsiivola@cc ] Timeout it, and you'll see where the exception pop's up?
+ 50208 [lyle@us rs s] Hope this helps,
+ 50211 [pbrannan@at ] require 'tracer'
  50609 [comp.lang.ru] - - ruby -r tracer rubyfile

Re: [Fwd: Re: RubyInline 1.0.4 Released! (fwd)]
50206 [ingy@tt l. r] True. But from a refactoring standpoint, you could slowly replace Perl code

Which Parser? (racc or rbison?)
50213 [jim@fr ez .o] I am writing a parser for spice netlists.

MVC and OO Design?
50224 [jcb@it ri .c] The Model View Controller Architecture has always had me a bit
+ 50226 [jweirich@on ] Exactly, the purpose of splitting out the Model and View is to
+ 50243 [canyonrat@ma] I understand the MVC architecture completely  differently. The nature
| 50326 [frido@q- of ] This is correct the Modell notifies the Controller or the other way
| 50455 [ ddet@gm .d ] Hum, there are some different views of what a controller
| + 50465 [frido@q- of ] Thanks for the clarification. I probably did understand it
| | 50484 [billk@ct .c ] Just an aside, in skimming this thread I remembered some of the Smalltalk
| | 50490 [canyonrat@ma] It does, Bill. I think when people say MVC they mean something much
| + 50483 [canyonrat@ma] I seen this notion of a  "triangle" in some of the early explication of
+ 50244 [alwagner@tc ] Jim and Chris have just offered some excellent advice.  I would only add an
+ 50246 [transami@tr ] i have good news for you my friend. all though the code is not yet
+ 50425 [jcb@it ri .c] Thanks to all for your help.
  + 50438 [canyonrat@ma] It's a tough problem and I'm not sure there is one style that works for
  + 50440 [frido@q- of ] That is not true. the view does know nothing about the Model the only
  + 50445 [frido@q- of ] Ok now after a an abstract example an fully fledged Ruby MVC
  | 50446 [frido@q- of ] sorry, small glitch
  + 50461 [usenet@on in] Yes, that is true. This is because, you might have multiple views on
  + 50742 [mikkelfj-ant] Initially I found the tricky part to decide between inhertance and

3.5% Mortgage Rates31102
50225 [myrtiev@at .] ...

Dir.mkdir to autocreate subdirs
50235 [botp@de mo t] I'd like to run Dir.mkdir("dir1/dir2/dir3") such that it creates lower dirs
50237 [nobu.nokada@] require 'ftools'
50306 [botp@de mo t] thanks sir Nobu. It works like a charm.

[BUG] in win32 tcltk/ruby FocusIn/FocusOut events
50241 [jtra@vo ny c] I have found a bug in win32 tcltk/ruby.
50347 [jtra@vo ny c] I have solved the problem. Bug is in the Tk itself, see following
+ 50379 [schlenk@un -] Have you filed a bug report at sourceforge.net?
+ 50401 [claird@st rb] Me, too.  That is, when I run this minimal script, and begin

Accounting/Payroll sample code in Ruby?
50247 [ajksharma@ya] I am looking for some examples made in Ruby for an Accounting/Payroll

FXProgressbar: how to update during lengthy task
50253 [vjoel@PA H. ] There's surely an easy answer to this. How do you update a progress bar
50313 [lyle@kn lo y] Because all of the progress bar updating is taking place in the onCmdSave()

Time#+ and usec
50254 [mike.pub@le ] The following results look buggy. I tried with Ruby 1.6.7 and 1.7.2.
+ 50265 [mike@st k. o] Smells like floating point arithmetic in action to me ... try
| 50338 [tpeters@in a] This is not the whole story IMHO. You have to take rounding issues in
| 50355 [nobu.nokada@] Currently rounding isn't applied.
+ 50266 [michael_s_ca] Looks to me like your standard "base 10 numbers can't necessarily be
  50310 [gotoken@no w] Yep.  For example,

Bug in RubyInline 1.0.5
50255 [ADATE@kc rr ] The following code fragment does not compile, using ruby 1.7.2 (2002-07-02)
+ 50267 [nobu.nokada@] inline args, <<'END1'
| 50272 [ADATE@kc rr ] Yes, that took care of it ! Thanks nobu.
+ 50274 [ADATE@kc rr ] Sorry for the unneccesary noise.

Getting Python and Ruby to Talk to Each Other
50257 [shunting@et ] A clueless Ruby newbie seeks help...
+ 50264 [bruce@co ed ] Have you checked out Ruby/Python in RAA?
| 50268 [shunting@et ] Yes, but I was hoping for something more lightweight. It would be better
+ 50270 [ptkwt@sh ll ] Well, since the database is written in C you could write a C extention for
| 50289 [boognish23@y] Another option is SOAP4R and PySOAP.  However, depending on your desire to get
| 50335 [uu9r@rz un -] You can transfer data between Python and Ruby (in both directions) in just
+ 50370 [mikkelfj-ant] This problem seems a bit inversed to me.
  50452 [uu9r@rz un -] The real problem is how Ruby and Python marshalls it's objects.

Total newbie, to_s method and format strings
50258 [syver-en@on ] I am reading the Pragmatic programmer book, but can't get the
50260 [ADATE@kc rr ] Yes
50263 [usenet@on in] Ahh, great. In the print in the online version of Programming Ruby

OT: Open Source Licenses (was Re: [ANN] DbTalk 0.7)
50261 [mgushee@ha e] Well, the GPL is arguably one of the most restrictive Open Source

After the Pickaxe
50269 [jmlotzn1@pa ] What are peoples recommendations on a second Ruby book for self study?
+ 50273 [kentda@st d.] "The Ruby Way" by Hal Fulton.
+ 50284 [michael_s_ca] I really liked "The Ruby Way", and find myself going back to it.
+ 50291 [mcix@gm .n t] Fulton's "The Ruby Way" is excellent!
+ 50346 [leikind@mo a] I haven't read "The Ruby Way", so I cannot say anything it,

[OT] Re: [ANN] DbTalk 0.7
50275 [ADATE@kc rr ] If you mean the "brick and mortar"  B&N, then I am surprised that they even
50301 [hal9000@hy e] even
50302 [ADATE@kc rr ] I agree with you, that is very strange ... I cannot fathom why they would
50303 [mgushee@ha e] Before anybody launches into a conspiracy theory: is it possible they
50317 [hal9000@hy e] would
50320 [ADATE@kc rr ] Absolutely ...very much worth it!

Re: Open Source Licenses (was Re: [ANN] DbTalk 0.7)
50276 [ADATE@kc rr ] No, I didn't ... so thanks for the link.

[ANN] Norsk oversettelse av "Programming Ruby" underveis.
50277 [kentda@st d.] (Please excuse me while I do this in norwegian first)
50286 [usenet@on in] Og hvor er den
50287 [kentda@st d.] da 4 URL'er inne i selve teksten gj?r noe (d?rlig) med lesbarheten. :-)

Re: [not a] Bug in RubyInline 1.0.5
50278 [ryand-ruby@z] Single quoting a here document is just like single quoting any string.
50279 [ADATE@kc rr ] Did not know this fact about here-document.

Ruby on Compaq Tur64unix 5.1a
50280 [gp.marra@le ] Is anybody working on a ruby installation on  Compaq Tur64unix 5.1a?
+ 50283 [matz@ru y- a] I think it runs.  Tell me if compilation fails.
+ 50331 [jfontan@ce g] I've compiled it in Tru64 5.1a. I had some problems with network libraries
  50398 [gpmarra@le i] Ok! I've compiled on my Comapq Tru64Unix 5.1a system (Cluster version)!

Re: Ruby on Compaq Tru64unix 5.1a
50281 [gp.marra@le ] Opss...

Ruby bcc32 on win32
50285 [ADATE@kc rr ] I am trying to compile ruby 1.7.3 using borland's bcc32 on win32.
50342 [masaki.suket] The bcc32/README.bcc32 file might help you.
50344 [ADATE@kc rr ] I could not locate this file in the install dir of BCC55 ...where do I get
+ 50368 [lyle@us rs s] This file (bcc32/README.bcc32) is in the *Ruby* source distribution, not
| 50392 [ADATE@kc rr ] But of  course, Doh !
+ 50377 [nobu.nokada@] I tried, but sorry for bad translation.
  50393 [ADATE@kc rr ] Thanks nobu, and no it was not bad at all.

ruby HTTP redirect?
50288 [1lluminate@g] I'm new to Ruby, only used Perl and PHP before.
50294 [james@ja es ] Welcome!
50366 [1lluminate@g] Yes, I tried the first way before,
50387 [james@ja es ] def redirect( new_page )
50404 [1lluminate@g] Thanks man! :)
50449 [barry_shultz] I don't think the issue is omitting the first header. Your header needs to
50486 [patrick-may@] Also try setting the status to "302 Moved"

Is there interest in iCal [RFC 2445] for Ruby?
50290 [dossy@pa op ] I just searched RAA and couldn't find anything (quickly) that looked
50293 [rich@in oe h] Not worked on it but have interest as well.

50292 [tarasis@bt p] This isn't really RubyPhoto directly.
50299 [tarasis@bt p] Okay, after looking around and checking the libs that come with the

RubyConf registration open for two more weeks
50295 [dblack@ca dl] Registration for Ruby Conference 2002 will be open until September 30.
50323 [james@ja es ] After on-line registration, should we expect something in the (snail) mail?
50337 [dblack@ca dl] I've got a record of all PayPal payments received.  I think PayPal
50386 [james@ja es ] Yes, that it does.

Requiring multiple libraries
50296 [bruce@co ed ] Is there a stylistic and/or technical reason that the ability to require
+ 50297 [dossy@pa op ] alias :old_require :require
| 50339 [bruce@co ed ] The implementation itself is, of course, not difficult. :)
| 50340 [hal9000@hy e] One reason might be that with multiple files
| 50343 [bruce@co ed ] Ok, that's definitely an explanation; I personally [very, very] rarely test a
+ 50327 [kentda@st d.] Perhaps it is this way for symmetry with load?

camelCaseTo_ruby_case.rb ??
50298 [tsondergaard] I'll be converting my ruby code from camelCase to ruby_case. Is there a
+ 50304 [dblack@ca dl] I'm almost certainly reinventing_the_wheel, and probably doing it
| 50312 [vjoel@PA H. ] "FooBar".decamel   # ==> nil
| 50314 [dblack@ca dl] How strange.  When I do this in irb, I get nil, as you say.  But when
| + 50315 [vjoel@PA H. ] It's cool with me that you opted that way; scanf is nice to have around :-)
| | 50321 [hal9000@hy e] I'm glad you think so. Most things that get released
| | 50322 [vjoel@PA H. ] I had to do some string processing in C recently (for a plug-in .so for
| + 50318 [vjoel@PA H. ] I guess -p calls #print, which prints $_, and ignores the value of the
| + 50329 [tsiivola@cc ] Just an idea: you have an actual Ruby parser conveniently available, one
+ 50420 [bobx@li ux a] Forgive my ignorance. I know the difference of the two but *why* are you
| + 50422 [hal9000@hy e] I don't know that it's a consensus really, and I
| | + 50423 [dblack@ca dl] Oh, I don't know -- I was warming to that :-)
| | + 50424 [bobx@li ux a] Good 'nuff for me...  :-)
| + 50437 [alwagner@tc ] I hope it's not a consensus yet.  I've always used camelCase.  I have actually
| + 50443 [tsondergaard] I want my modules to be as consistent with the ruby platform as
+ 50524 [web2ed@ya oo] In C it's normal to use the ruby_case, c_case ...etc unlike Java and

Command Line Parsing etc. (GetPot 1.0)
50300 [drfransch@ne] Finally after one year on  sourceforge, the Version 1.0 of the command

Windows port; can I disable auto "\n" -> "\r\n" conversion?
50305 [mwilliams@ag] I'm using with the Pragmatic port of ruby (1.7.2), which appears to be
50385 [nobu.nokada@] STDOUT.binmode.
50427 [mwilliams@ag] This is just what I was looking for, thanks.

Re: RubyConf registration open for two more weeks(cheap Hotel)
50309 [ptkwt@sh ll ] In case anyone is on a budget and/or you're paying your own way (as I'm

Syntax errors with webrick 1.2. head of cvs with Div
50311 [Peter.Booth@] I downloaded and installed drb,erb,div,webrick
+ 50316 [m_seki@mv .b] Sorry, this is the bug of div.rb. The CVS version has fixed this.
+ 50330 [gotoken@no w] "etc" is a standard extension which wraps Unix password database
  50541 [nahi@ke na t] Sure.  I commited this change to 1.7.
  50542 [nahi@ke na t] that
  50549 [gotoken@no w] Well, I think that a debugger should whenever an exception happened.