154284-158635

153969-156744 subjects 154543-155784

^ Watir, Selenium and other testing tools
154284 [pedroarnal g] I'm currently searching a web test tool for a project. My main

^ custom exceptions
154316 [joevandyk gm] When should you define your own exceptions?  Any rules of thumb?
+ 154318 [joevandyk gm] class Application
| 154322 [joevandyk gm] def test_start_bad_application
| 154424 [bob.news gmx] I'd go with Eric's rule of thumb.  It's not an exact science but you there
+ 154321 [drbrain segm] I define custom exceptions when I need to differentiate them from the
  154690 [joevandyk gm] Should the custom exception be in its own class?  Or in a module?
  154691 [joevandyk gm] raise JoesApplication::BadArgumentsForApplication

^ Tk Label and instance variables
154325 [bart.massche] Below is a small piece of test code for a label using Tk. I try to set a
154327 [bart.massche] Oh, and of course I could get around with the following, but I would
154398 [nagai ai.kyu] Maybe, that is a FAQ. :-)

^ SAX-based XPath
154329 [shea gtsdesi] I'm posting this in hope of getting some API suggestions.
154427 [bob.news gmx] It seems you could simplify the interface a bit (or add a method) along

^ Attributation works in literal class but not in anonymous class?
154331 [transfire gm] # Creates a method that necessitates overridding.
154333 [dblack wobbl] ac = Class.new { abstract :q } .new
154335 [transfire gm] Doh! Thanks.

^ Please register *soon* -- time is short!
2005 [dblack wobbl] Thanks for helping us get to 100 people registered.  In fact we're
154338 [josh.charles] I really really want to go, but I got a new job, and don't have any

^ Fwd: FCKEditor and Rails Walk-through
154339 [josh.charles] I've put together a document explaining how to integrate the open

^ (none)
154341 [theresa.shen] As I am calling a web service, I got error message complaining the .each=20

^ Question about Inheritance
154343 [candiazoo ma] I have two simple classes.  One inherits from the other and calls
154345 [cribbsj oakw] The initialize method in class DBBase is spelled incorrectly.
154347 [candiazoo ma] Oh for the love of friggin' PETE!  I spent an hour on this!!!!!!!!!!
154354 [vjoel path.b] Just for fun...
154433 [martindemell] You missed 'initialise'! (I remember various ruby-lint projects being
154491 [vjoel path.b] the programmer of being a Queen's English speaker (maybe that's humorous
154494 [vjoel path.b] If any one really wants to use this, then to make sure there are no

^ MInimal Ruby Distribution with app
154344 [bww00amdahl ] I'm looking for a minimal distribution of Ruby to distribute my app
+ 154350 [alex deletem] not quite a separate minimal ruby source distribution, but you might
| + 154358 [james_b neur] Rubyscript2exe is quite nice.  As an example, a bundled Nitro
| + 154464 [rmt512 gmail] ...
| + 154468 [rampant gmai] Is there something similar for Mac OS X?
|   + 154472 [james_b neur] James
|   + 154538 [nospam chivi] Doesn't MacOS X have ruby already bundled in ?
|     154540 [guslist free] Yes it does. But it is broken in Tiger and basically needs to be
|     154549 [rcoder gmail] This isn't really true -- there are minor configuration problems with
|     154563 [halostatue g] It will also affect you if you're using PDF::Writer because of
+ 154425 [konstantin.l] for windows, http://exerb.sourceforge.jp/index.en.html worked nicely
  154429 [bouncer nowh] also, the exerb produced executable can be compressed by upx...

^ mod_ruby -- Problem with Changing from $defout > $stdout
154352 [rubytalk ben] I'm working on upgrading some Ruby 1.6.x to prepare for a web-server
154454 [rubytalk ben] I moved this message over to the mod_ruby list. -bdg

^ [ANN] ruby-co.de: now with more flexible redirection
154359 [usenet zoidb] maybe two or three of you remember [1]ruby-co.de (RC), the free HTTP

^ Rails Newbie - very simple question
154360 [jzambella gm] I have two model classes: Book and Author. The books table in my
+ 154412 [dooby d10.ka] Joe,
+ 154415 [dave.burt gm] Author.find(@book.author_id)

^ [ANN] Nano Methods & Mega Modules
154363 [transfire gm] A N N O U N C I N G
+ 154366 [ljz asfast.c] This looks great! ... and I'm eager to start using it.  Therefore, I
| 154379 [pascal.guich] I have had the same symptoms, when trying to install gem with ruby19 (ruby=
+ 154377 [james_b neur] Neat.
  154489 [wmorgan-ruby] William Morgan <wmorgan-ruby-talk@masanjin.net>
  154496 [chneukirchen] Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org

^ win32ole, adsi and computer info
154365 [Daniel.Berge] Ruby 1.8.2
154389 [dave.burt gm] Your variable, schema, is an IADsClass representing the class of adsi
154403 [caldridge gm] Same here... I'm def interested!

^ A (newbie-ish) question about project organization
154368 [Tim.Ferrell ] I am just getting comfortable with ruby, having come over from the Java / .NET
154376 [transfire gm] If I am not mistaken, setup.rb essentially defines the common sructure
154434 [Tim.Ferrell ] Thanks ... I had not seen that.
154465 [transfire gm] Not necessarily, but you would have to add the local directory onto the
154469 [Tim.Ferrell ] Aah ... so the local directory is not automatically included? That

^ Zen Linux
154373 [zenlinux gma] Greetings, some of you may have heard this from me already if you spend tim=
+ 154408 [transfire gm] This is a very interesting project. I see that you currently use Perl.
| 154411 [binary42 gma] For those unaware, the Heretix home page is at www.h-e-r-e-t-i-x.org
+ 154473 [transfire gm] BTW are you aware of dpkg-ruby ?
  154480 [zenlinux gma] no sounds interesting though.

^ Rogue threads found! The plot thickens.... (was: Re: ThreadPool(was: Re: Thread.list confusion))
154378 [andrew.townl] [lots of really useful feedback deleted]
+ 154544 [drbrain segm] Yes.  A ThreadGroup doesn't have the GC problem, but would not be
+ 154548 [lyndon.samso] With all the talk about Muds I was hoping the Subject was referring to a=20
  154578 [vikkous gmai] I'm with you, brother! What say we write one; we can use dwemthy as a core... ;)

^ Ruby on Linux & Windows
154380 [Tim.Ferrell ] I'm not trying to start anything here but I'd like some feedback from those of
+ 154385 [rwoliver2 gm] It might just be me, but Ruby seems to run slower under Windows, in almost=
| 154386 [Tim.Ferrell ] Well, I can tell you I miss a real shell on Windows ... cygwin doesn't really do
| + 154387 [rwoliver2 gm] The shell is the biggest problem I have with Windows. Good Network IO like=
| | + 154402 [Tim.Ferrell ] Well, the main reason for the switch was because the project I had handed to me
| | | 154404 [sy1234 gmail] You could also consider VMware so you can do it all from one chair.
| | | 154417 [rwoliver2 gm] Copy and paste from a Windows host to a Linux guest doesn't work at all..=
| | | + 154421 [dooby d10.ka] Sounds like a problem Hal had.  I may be way off base, though.
| | | + 154422 [ksruby gmail] I prefer Linux any time of the day (I like MacOSX too), but when I'm
| | + 154456 [falmkcesxal ] "Robert Oliver" <rwoliver2@gmail.com> escreveu na mensagem
| + 154390 [railsinator ] The only incompatibility I've found is the mysql host specified in the=20
|   154394 [caldridge gm] Perhaps I did not spend enough time with these annoyances but the following=
|   154520 [greg.kujawa ] There are some minor configuration changes and existing enviormental
|   154523 [Patrick.Benn] The MySQL install was 100% Windows.  There was nothing UNIX-y about it,
|   154537 [wilsonb gmai] I'm doing Rails development on a WinXP box and deploying directly to=20
+ 154406 [dave.burt gm] * No fork(), popen() is dodgy
+ 154453 [halostatue g] In general, no. I do all of my Ruby development work on Windows and
| 154512 [agemoagemo y] Can you explain this further? I'm running ZoneAlarm,
| 154516 [halostatue g] It's easier if you search, because I've never experienced it and I
+ 154557 [karlin.fox g] (http://gecko.gc.maricopa.edu/~medgar/puttycyg/)

^ Re: Nano Methods & Mega Modules
154382 [transfire gm] I'm running 1.8.2 [i386-linux], and it installs fine. So I'm not sure.
154391 [gavin refine] Attempting local installation of 'nano'
+ 154393 [dave.burt gm] "?" isn't allowed in NTFS filenames - you can't have "approx?.rb" on
| 154397 [transfire gm] That's correct. And in fact esacaping all the file/method names with
+ 154395 [transfire gm] Ah, both the same problem. A file (approx?) is in the package with a
  154399 [gavin refine] Invalid argument - pub/www/doc/files/lib/nano/float/approx?_rb.html
  154401 [transfire gm] Strange. I wonder where that underscore is coming from? Well, I did an
  + 154405 [gavin refine] That got it installing correctly for Windows :)
  | 154410 [transfire gm] Great! Thanks for letting me know.
  | 154423 [george.mosch] At least this is released :)
  + 154451 [rhkramer gma] I should have asked this question on the earlier post where an entity (?
    154474 [transfire gm] URI codes, so ? -> %3F. % is acceptable, so it should work okay.
    154488 [rhkramer gma] Thanks!

^ RMagick question
154383 [ptkwt aracne] I'm trying to convert several (300) .tif files to .gif files using

^ Latest info on embedding Ruby in a C++ app
154384 [byrd.timothy] I'm looking for info on calling multiple Ruby scripts from inside a C++
154409 [dooby d10.ka] Hope that'll help.
154673 [byrd.timothy] Thanks.  I did look at that, and it gives some answers and raises some

^ beginners YAML question
154392 [adam.shelly ] I needed a class that acted like a container, as well as doing other things=
154407 [dooby d10.ka] Thanks - makes it much easier :-)
154551 [adam.shelly ] Thanks,
154816 [dooby d10.ka] In short, @size is an attribute of Box ... but you're
155088 [adam.shelly ] Right.
158635 [dooby d10.ka] Hey, Adam!

^ More elegant replacement for global variables
154416 [invalid dev.] I'm playing around with a ruby app using XML-RPC. Currently I'm using
+ 154419 [dave.burt gm] Constants are a kind of global variable. Classes get free constants.
+ 154420 [transfire gm] Avoid globals by using container classes/modules. In your cace you
+ 154428 [bob.news gmx] Although your scenario is not fully clear to me, I'd have a session

^ Ruby Weekly News 22nd - 28th August 2005
154430 [timsuth ihug] Ruby Weekly News 22nd - 28th August 2005

^ Ruby documentation typo
154435 [behrangsa gm] I just stumbled upon a typo in the Ruby documentation and thought it
+ 154437 [dblack wobbl] %w-a b c-
| 154439 [behrangsa gm] Thanks for the information. Actually I'm new to Ruby, and I've not passed=
| + 154441 [mailing-list] You can try the examples in the book in the interactive ruby shell, irb.
| + 154455 [james_b neur] Welcome to Rubyland!
| + 154487 [gfb tonesoft] It may serve as a guideline for new people -- try finish the book before
+ 154440 [sastph sas.c] The character following %w can be any "non-alphabetic or non-multibyte

^ Compiling a Ruby extension
154436 [anieden gmx.] I am trying to manually compile a tiny Ruby extension, but finally run
154438 [steve bogus.] You can't use mingw to compile your extensions. You need to use the MS
154605 [anieden gmx.] Thanks for answering so quickly!

^ Intercepting, Resuming Overridden Methods
154442 [gavin refine] class Human; end
+ 154443 [bob.news gmx] I once hacked something together which might help you.  It's here
+ 154818 [dooby d10.ka] Shorter (as long as __send__ handles private method calls) ...

^ Spread binaries for Ruby Windows
154448 [bww00amdahl ] I am looking for Spread binaries for RUBY.
154463 [Ara.T.Howard] what do you mean?  spread for ruby is a shared library extension - is that
154681 [bww00amdahl ] I have installed spread.

^ Semantics of << and <<-
154457 [chucky dtek.] I recently joined this list, so please forgive me if this question has
+ 154459 [shortcutter ] My guess would be that it's an omission in the documentation. I don't
| 154460 [shortcutter ] ...
+ 154553 [w_a_x_man ya] The purpose of quoting the here-document label is to make the

^ Error with a not useful message.
154462 [pirata gmail] =20
+ 154466 [bob.news gmx] Without further looking at this I guess you forgot a closing "end",
+ 154485 [SmartGPX gma] Might it be that your Ruby installation does not have the
+ 154503 [joevandyk gm] Your last 'begin' statement has no 'end' statement.  That's the start

^ Good code examples
154475 [pierre.barbi] I'm very new to ruby, and I would like to know if there is some
+ 154545 [Ara.T.Howard] i'm doing alot of stuff - mostly little image processing tasks.  can you
| 154550 [barbier barb] Dans l'article <Pine.LNX.4.62.0508311529190.29620@harp.ngdc.noaa.gov>,
| 154554 [Ara.T.Howard] great - you'll find ruby a treat then.
| 154596 [barbier barb] Dans l'article <Pine.LNX.4.62.0508311740230.29620@harp.ngdc.noaa.gov>,
| 154619 [Ara.T.Howard] these may be helpful, if the sovlers can be used.  there are some good graph
+ 154546 [joevandyk gm] There should be a lot of code out there on Ruby extensions written in C.
  154568 [dave burt.id] Pierre, check out the standard library, which comes with Ruby.
  154595 [barbier barb] Dans l'article <RMsRe.18439$FA3.3660@news-server.bigpond.net.au>, Dave

^ [ANN] Nitro + Og 0.23.0 Scaffolding reloaded, Taggable, Nano/Mega integration...
154478 [george.mosch] New versions of Nitro (Web Application Framework) and Og (Object

^ [ANN] Nitro Spark 0.5.0 Tagging support
154479 [george.mosch] I am proud to announce a new version of Spark.

^ building a gallery layout
154498 [codeslave gm] Ive been trying to build a gallery layout for images. let say i have an=20
154499 [gavin refine] Are you talking about an HTML table, or some other output/layout
+ 154504 [codeslave gm] html table ideally
+ 154506 [josh.charles] psuedo code from the top of my head
  154508 [josh.charles] an array-less way to do it
  154521 [codeslave gm] ok here is what i did may not be the most elegant but it works. thanks for=

^ breakpoint and scite
154500 [bret pettich] I often teach ruby to people and usually use scite to do this. It's quick
+ 154518 [dooby d10.ka] Doesn't look good, Bret :(
+ 154558 [florgro gmai] This is no fix, but could solve your trouble anyway: I'm working a GUI
  + 154569 [dave burt.id] Looks great!
  + 154606 [surrender_it] you may become my personal hero with that :)
  + 154617 [martindemell] Looking good!!

^ how to convert binary array into integer
154507 [sunh11373 ho] for example: 00 00 00 0A => 10
+ 154510 [joevandyk gm] Have you looked at String#unpack?
| 154513 [zdennis mkte] "\000\000 A".unpack( "f" ) => 10.0
| 154524 [SimonKroeger] This was a joke, right?
+ 154511 [Ara.T.Howard] p( [0x0, 0x0, 0x0, 0xA].pack('c*').unpack('N').first )

^ Time (leap year??)
154522 [csjasnoch wi] Is there a simple way to see if a year is a leap year (rather than
+ 154526 [csjasnoch wi] I know I could do somethine like this (and it works for future years)
| 154564 [gavin refine] "Every year divisible by 4 is a leap year.
+ 154527 [dblack wobbl] irb(main):023:0> Date.today.leap?
| 154528 [mkelly eleve] now = DateTime.now
| + 154529 [csjasnoch wi] Wow that was fast:)
| + 154531 [csjasnoch wi] Where could I find descriptions of the DateTime class?
|   + 154532 [mkelly eleve] I usually go here: http://www.ruby-doc.org/stdlib/.
|   + 154534 [levin.alexan] <http://www.ruby-doc.org/core/classes/Date.html>
+ 154530 [khaines enig] irb(main):001:0> require 'date'
  154533 [csjasnoch wi] Thanks Kirk. That should get me to where I need.
  154536 [khaines enig] As you saw, there are more concise ways to do a check for today, but that

^ [suggestion+code] timed deq for the Queue class?
154525 [andrew.townl] Based on my earlier emails and further thinking, I've implemented the

^ nano & mega
154542 [jeff.darklig] What's up with the funky names ... AND, is there an easy way to just requir=
+ 154566 [transfire gm] The nice thing about Nano is that you can require just the extension
+ 154567 [gavin refine] require 'nano' #Same as require 'nano/base', a common set of
+ 154571 [dave burt.id] In the API docs at nano.rubyforge.org and mega.rubyforge.org, check out the
| 154590 [jeff.darklig] Yeah, about 10 seconds after I sent the mail I found that part of the
+ 154572 [transfire gm] Since Ruby methods can have/be punctuation marks, it is necessary to
  154591 [jeff.darklig] Wow, I'd say that the punctionation ( with conversion or not ) should
  154592 [dave burt.id] You'd have to have a better alternative, and I can't think of one.
  + 154624 [florgro gmai] Why not? I think I would prefer this over uri escaping. It's also the
  | 154626 [james graypr] Yeah, I have to agree here.  I can translate ! to _bang a lot easier
  | + 154629 [ruby.brian g] It thought nano tweaks include to do the conversion behind the scenes.
  | + 154631 [gavin refine] charset=US-ASCII;
  |   + 154633 [jeff.darklig] This is what I mean ... why not just package them all based on the class
  |   + 154635 [james graypr] You're probably right.
  |   | 154638 [ mfp acm.org] $ grep "rb_define_.*\[\]" ~/src/ruby/ruby.head/array.c
  |   + 154658 [dblack wobbl] Maybe set_at and foo_set or something like that...?
  |     154709 [transfire gm] While _bang and _equals might be easy to remember, how easy will it be
  |     154755 [florgro gmai] But I'd rather see this based on meaningful, easy to understand naming
  |     + 154817 [dave burt.id] Florian Gro
  |     | 154821 [gsinclair gm] P is for "predicate".  It's a Lisp or Scheme thing; can't remember
  |     | 154823 [mailing-list] Common Lisp.  Scheme uses '?'.  Common Lisp isn't 100% consistent,
  |     | 154827 [chneukirchen] <<quote
  |     + 154819 [transfire gm] While I agree that this is a well thought out transform, I wonder, what
  |     + 154860 [transfire gm] I've given this some more thought. If I do this, I could enforce a rule
  |       + 154973 [transfire gm] The change is afoot.
  |       + 155407 [florgro gmai] Let me give a late okay to this. My mapping was initially for going from
  |         155415 [transfire gm] Thank you, Florian! And yet your luck perhaps is even better. I decided
  |         156800 [jeff.darklig] A while back I posted a message talking about some issues I'd found with
  |         156885 [transfire gm] Except for some additional tests I need to write, the next version of
  + 154625 [jeff.darklig] well, there are many alternatives.. I'd just have require 'nano/array'
threads.html
top