64429-65862

64279-65388 subjects 64703-65709

^ [ANN] Test::Unit 0.1.8
64429 [nathaniel NO] If you don't know what Test::Unit is, I've included an explanation
+ 64431 [dcarrera mat] I'm not familiar with Test::Unit.  I'm certainly familiar with software source
| 64432 [bruce codedb] You'll notice TDD (Test Driven Development) listed in the list of XP practices
| 64433 [dcarrera mat] Thank-you.  I was *really* confused there.
+ 64439 [matt lickey.] This is great!  In my case, Test::Unit is now only a tiny bit slower
  + 64461 [William.L.Kl] Actually I do: that is the only way I can tell that it re-ran sometimes
  | 64620 [nathaniel NO] Actually, a date/time stamp sounds like the better, more direct solution
  + 64622 [nathaniel NO] Was the rest of what you were going to say interesting? ;-)
    64658 [matt lickey.] It used to be about 100% slower than RubyUnit, now it is only about

^ PostgreSQL and embedded Ruby
64449 [drejewic wsi] PostgreSQL, but part of work should be done by RUBY.
64453 [decoux moulo] &DBconn
64459 [drejewic wsi] -e:1: method call on terminated object (NotImplementedError)
64460 [decoux moulo] pigeon% cat a.c

^ Re: [OT] German (Re: was Re: turning modules into classes)
64450 [pit capitain] Yeah, I know. See the smiley above. I often had hard times

^ Using open and then LockFile for a file
64455 [vcotirlea ho] I'm porting a Unix application to Windows. Im using M$ VC++ compiler.
+ 64497 [matt lickey.] What about File#flock?
+ 64608 [jackklein sp] Please don't post non-standard stuff like this to comp.lang.c++ in the
  64609 [hal9000 hype] comp.os.ms-windows.programmer.win32,comp.lang.ruby,comp.lang.c++,microsoft.p

^ Dear friend
64464 [jamesehizoji] Dear Friend,

^ fund transfer
64466 [kkalume blue] Dear Sir,

^ class MOD_FCGI < FCGI
64468 [ahoward fsl.] rubyists-

^ Need regex help (or bug in match)
64470 [jim freeze.o] I seem to be having a problem with match and I can't figure
64471 [dblack candl] I get Id, not Vg, for s[1].
+ 64476 [jim freeze.o] % cat test.rb
| 64480 [decoux moulo] It's broken your solaris
+ 64477 [jim freeze.o] I just checked 1.7.3 on FreeBSD. Gives Id.
  + 64478 [dblack candl] I've been checking a few other versions, and I can't duplicate the Vg
  + 64487 [ahoward fsl.] also on

^ creating objects using strings
64481 [geo drasil.n] I'm new to ruby and this list, so please forgive me if this is a silly
+ 64483 [decoux moulo] a class is stored in a constant, if you have its name you can retrieve the
+ 64504 [dave pragmat] Cheers
  64553 [pabs pablotr] =20
  + 64642 [botp delmont] I prefer after it.
  + 64651 [gsinclair so] If it's a big chunk and you don't want to interfere with what's

^ Re: Can we attack the 'not enough libraries' thing straight on?
64493 [wdueber indi] Perl. I'm pretty aware, I think, of the limitations of Perl (don't get me
64549 [hal9000 hype] maintain
+ 64551 [mike osdn.or] And is this the call for Ruby Micro Edition, or 2.0, bytecode and
| 64556 [batsman.geo ] matz has already said that Ruby without Array, Hash and String (to name
| 64559 [mike osdn.or] Those differ.  Building blocks and fancy extensions do differ.
+ 64574 [matt black-b] Well, I'm saying negative things.  CPAN (the Module) has given me too many
  64582 [hal9000 hype] Do you think the problems are (in principle) fixable if we
  + 64588 [matt black-b] Maybe,
  + 64613 [mike osdn.or] Ummm... but why?
  + 64650 [batsman.geo ] Of the module information (inside the tarball) or of the repository?

^ Ruby, mod_ruby, eruby
64496 [usenets nyc.] I  installed ruby 1.7.3, mod_ruby-1.0.4, and eruby-1.0.2 recently and

^ MQS
64506 [armin xss.de] for one client we evaluate whether we should use Ruby

^ sprintf() bug
64510 [wkb airmail.] I have run across a discrepancy between the documentation and ruby
+ 64515 [ahoward fsl.] man printf
+ 64565 [matz ruby-la] Pickaxe is great, but not perfect (nor me).

^ Ruby mention in article
64512 [STUCKNER MUL] This is a multi-part message in MIME format.

^ Flash GUI on Ruby vs. FreeBSD
64513 [mikkelfj-ant] Recently there were yet another Ruby Flash discussion.

^ mod_ruby insecury op
64524 [lists debona] /tmp/showrun.rhtml.18210.0:54:in `exists?': Insecure operation - exists?
+ 64525 [nemo hellotr] Make sure the string isn't tainted.
| 64531 [lists debona] Thanks guys, this one stings me every time. What exactly does untaining
| + 64536 [dcarrera mat] If you turn on safety, any data received from outside your program is
| | + 64538 [nemo hellotr] To untaint data you use regular expressions.  In this case a directory
| | + 64644 [decoux moulo] Probably you make confusion with another language
| |   64701 [dcarrera mat] Actually no, I'm not.
| |   + 64704 [decoux moulo] From your previous message
| |   + 64714 [nemo hellotr] Ruby's taintedness behaves differently between internal and external data.
| |     64723 [dcarrera mat] No, I really do mean that they are different.  Look at the examples I
| |     + 64725 [batsman.geo ] I'm reading the Pickaxe p. 259 and for the life of me I cannot
| |     | 64732 [dcarrera mat] Well, actually I was being slow yesterday.
| |     + 64735 [nemo hellotr] I'm going to have to agree with Mauricio, who said I was right.
| + 64537 [nemo hellotr] Thanks guys, this one stings me every time. What exactly does untaining
+ 64526 [dcarrera mat] I'm not familiar with Ruby's safety level, but I would suppose that 'dir'

^ Windows support
64527 [dcarrera mat] Suppose I write a Ruby module with some C code in it.  This is no problem
+ 64533 [djberge qwes] Buy  VC++ 6.0 or later.  Share .so files for folks who don't have (or can't
| 64539 [dcarrera mat] Well.  I'm not going to go out and buy Windows and then buy VC++ just for
| 64552 [djberge qwes] I'm responding to both Daniel's and Lyle's responses here...
| + 64558 [dcarrera mat] I'm just implementing simple math algorithms.  The only thing I am likely
| + 64568 [lyle users.s] Responding to Daniel Berger's response to my response ;)
+ 64540 [lyle users.s] I think the number one recommendation is to rovide precompiled binaries
+ 64583 [nobu.nokada ] Half yes.
+ 64687 [gsinclair so] Look into MinGW.  I don't use it at the moment myself, but I

^ hm,... arr[1]["name"]
64528 [offstuff aon] $arr = Array();
+ 64529 [dcarrera mat] arr = Array.new
+ 64530 [putsch mxim.] arr = []
+ 64534 [nemo hellotr] #  Create an empty hash in each slot of the array.
| 64572 [B.Candler po] arr = Array.new(10) { {} }
| 64655 [batsman.geo ] In 1.6.x the block is ignored. The change was introduced in 1.7.
+ 64535 [kentda stud.] arr = Array.new
+ 64543 [dblack candl] arr = (0..9).map {|x| { "name" => "daniel", "age" => 20 } }
| + 64547 [martindemell] Do I hear a vote for 10.map == (0...10).map? :)
| + 64548 [inoffstuff a] shit,
+ 64546 [martindemell] arr = (0...10).map { {"name" => "daniel", "age" => 20} }
+ 64555 [ahoward fsl.] will allows array's to have named fields, which is nice because then all the
+ 64652 [bob.news gmx] "daniel" <offstuff@aon.at> schrieb im Newsbeitrag
  64654 [matz ruby-la] a = (1..10).collect{{"name" => "daniel", "age" => 20}}
  64683 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
  64745 [matz ruby-la] a = Array.new(10){{"name" => "daniel", "age" => 20}}
  64761 [botp delmont] Ruby never stops to amaze me. ..oh well, matz.. :-)

^ [ANN] MusicBrainz-Ruby 0.1.0
64544 [pabs pablotr] I just released MusicBrainz-Ruby version 0.1.0.  MusicBrainz-Ruby is a

^ [ANN] FreeType2-Ruby 0.1.0
64557 [pabs pablotr] Just announcing the initial (alpha) release of FreeType2-Ruby,=20

^ problems sending binary data in cgi
64560 [hschottm gmx] I'm trying to send binary data (e.g. gif file) to a web browser using
64563 [ahoward fsl.] perhaps
64856 [hschottm gmx] sorry, that's not the problem. I've used f.binmode as well as

^ Unit Testing Private Methods
64561 [whitton atla] It seems that in order to be able to unit test a method it has to be
+ 64566 [batsman.geo ] I used to believe that Unit Testing would consider things in a black-box
| 64662 [batsman.geo ] Thinking on it again, I should have written
| 64689 [gsinclair so] I try to only test public methods, but sometimes run into a situation
+ 64577 [matt lickey.] You can use instance_eval to subvert "private."  Though when I run

^ Should substrings be modifiable in-place??
64573 [hal9000 hype] I've been thinking about this for
+ 64581 [matt lickey.] Implementation problems.  The reverse! must be sent to some object --
+ 64585 [lyle users.s] str[x, y] = ... some string ...
+ 64590 [nemo hellotr] str[x,y].reverse!
| + 64593 [nobu.nokada ] Agree, and also Array#reverse.
| + 64676 [martindemell] class String
+ 64598 [matz ruby-la] It introduces too tight relationship between str and what str[x,y]
  64599 [hal9000 hype] I guess the reality is: Not very often.

^ How to use HTMLParser silently?
64576 [Peter.Booth ] This message is in MIME format. Since your mail reader does not understand
64760 [maki rubycol] use NullFormatter instead of AbstractFormatter.

^ how to call a functino through a variable name
64584 [lists debona] def blah
+ 64589 [lists debona] String.send
+ 64592 [nemo hellotr] eval a
+ 64712 [gminick unde] eval(a)
  64722 [B.Candler po] self.send(a)

^ .sig - was Re: Windows support
64591 [hal9000 hype] 98]
64600 [billk cts.co] LOL... :)  Were you joking, Hal?  Or is my 1.6.6 mswin32 possibly
64603 [hal9000 hype] str
64604 [billk cts.co] I definitely included the srand....  Haven't checked the Ruby src;
64605 [hal9000 hype] puts str
+ 64616 [drbrain segm] rand() is probably implemented in terms of rand(3).  On FreeBSD, 4 and 5
+ 64649 [decoux moulo] 1.8 use Mersenne Twister, which is not the case for 1.6

^ respond_to? in mod_ruby
64595 [lists debona] <%
64648 [kentda stud.] $ irb
+ 64661 [batsman.geo ] batsman@tux-chan:~/src/cvs/ruby$ irb
+ 64718 [lists debona] We seem to get different results.
  + 64726 [batsman.geo ] When you define "functions" as in
  + 64727 [kentda stud.] $ ruby -v

^ How to use HTMLParser silently? {PlainText email}
64596 [Peter.Booth ] Apologies for first sending this as HTML

^ postgresql question
64597 [erne powerna] I'm brand new to using postgresql.  I'm real familiar with M$ sqlserver and
+ 64663 [uu9r rz.uni-] There's little documentation about DBI on http://ruby-dbi.sourceforge.net/
+ 64672 [B.Candler po] Grab the source tarball from raa, then look at the doc/ and examples/

^ von Rossum on Strong vs. Weak Typing
64602 [jbritt ruby-] Strong versus Weak Typing
+ 64606 [rpav nwlink.] Interesting, although he doesn't seem to know the difference between
| + 64617 [mwilson13 co] It is interesting and consistent with Python's design that Guido von
| | 64618 [rpav nwlink.] This isn't strong typing by any definition I've heard... ruby isn't
| | + 64625 [matz ruby-la] Hmm, by my definition, strong typing means that every data has its own
| | | 64659 [batsman.geo ] because of coercions (?)
| | | 64746 [matz ruby-la] Because of cast and union.
| | | 64749 [rpav nwlink.] Also because when you get down to it, everything is just a number. ;)
| | | 64798 [dan sidhe.or] You're not getting down far enough. It's all just bits, man! :)
| | + 64778 [qrczak knm.o] I would not call Java strongly typed
| |   + 64789 [pbrannan atd] OCaml is a statically typed language with type inferencing.  It seems to
| |   | + 64793 [matt lickey.] Type inferencing doesn't mean the types aren't fully checked at
| |   | | + 64804 [pbrannan atd] C is weakly typed, but it does not do run-time type checking.
| |   | | | 64811 [dan sidhe.or] I dunno, C lives outside the set of languages that really care about
| |   | | | + 64815 [B.Candler po] C is portable machine-code.
| |   | | | + 64819 [chris m-audi] Increasingly off-topic, but I'm curious about which three types you
| |   | | |   64823 [dan sidhe.or] Integer, pointer, and float are it. I don't consider integer buffers
| |   | | |   64836 [pbrannan atd] I would argue that the C language defines many types, some of which are
| |   | | |   64840 [rpav nwlink.] I would argue that C doesn't define any types, but merely makes it
| |   | | |   64898 [pbrannan atd] Both 'A' and 65 are literals with type int.  You haven't shown that C is
| |   | | |   + 64902 [rpav nwlink.] I said C doesn't really define types, but it just lets you address
| |   | | |   + 64903 [jweirich one] Actually, I would say C is weakly typed because it is easy to accidently
| |   | | |     64905 [rpav nwlink.] I'm not sure... is it weakly typed just because you can lie to it? ;)
| |   | | |     64935 [jweirich one] Actually, no.  K&R C will just pass whatever data you give it to the
| |   | | + 64812 [qrczak knm.o] For me "weakly typed" means that either there is no well-defined
| |   | |   + 64826 [batsman.geo ] Am I right if I say that by your definition Ruby is strongly typed?
| |   | |   + 64975 [qrczak knm.o] Sort of, among dynamically typed languages.
| |   | + 64817 [mhm26 drexel] The languages like ML/Haskell/OCaml are strongly typed - and that type
| |   + 64877 [frankm bayar] A Java cast is different from a C cast.  A Java cast is an assertion,
| + 64632 [jbritt ruby-] <snip/>
+ 65713 [sroberts uni] Huh? Since when is qmail implemented in python?
  65862 [mike osdn.or] Nope.  And it's pretty awful regarding MIME (to begin with).

^ Re: [lists@debonair.net: respond_to? in mod_ruby]
64615 [shugo modrub] Because blah is a private method.
64630 [modruby 7thf] I can swear I tried that successfully in a normal script.

^ Re: Does FX/Ruby have some standard icons?
64621 [botp delmont] Good link (Good timing, too :-)

^ Why does Array#compact! return the array, but uniq! return a count?
64626 [sroberts uni] @fields.collect{ |field| field.group }.compact!.uniq!
+ 64627 [sroberts uni] Oops, sorry, uniq! doesn't return a count, but it doesn't return the
+ 64628 [matz ruby-la] Array's bang methods return nil if it does not modify the receiver, so
| + 64631 [sroberts uni] Ah. I misread the compact! docs, and thought it was different.
| + 64666 [google tompa] I'm not suggesting a change, but what is the rationale for this?
|   + 64684 [michael_s_ca] I'm with Tom on this one.  The whole thing seems like a Pythonista form of "Do
|   | 64690 [jfh cise.ufl] I guess the main question is
|   | 64702 [hgs dmu.ac.u] I like this...
|   | 64705 [hgs dmu.ac.u] I elided the ctrl-H chars and left in the spurious '/'!
|   + 64748 [matz ruby-la] Because their's no cheaper way to detect modifies, without making
+ 64629 [dblack candl] Keep in mind that a lot of the ! methods return nil if there's no

^ persistance again
64634 [lists debona] I'm just wondering how you guys deal with persistance while developing.
+ 64638 [rpav nwlink.] Look in the ruby lib dir.  There's a nice module called 'autoload', I
+ 64691 [nemo hellotr] My upload script also restarts apache.  It's the easiest way I know of to
+ 64863 [mike stok.co] When I'm debugging mod_perl I'll use apache's -X flag so that there's

^ Web Automation
64635 [john johnkni] I have a project which involves visiting a url
+ 64636 [jbritt ruby-] Not sure where cgi would come in, as this appears to be a client-side application.
+ 64698 [daniel zeped] What you want is http-access2, look for it on RAA. Depending on how the site is
+ 64742 [chrismo clab] Using net/http could work well. If you're on Windows and using IE, I've got

^ TkText resizing
64640 [bsl04 comp.u] require 'tk'
64656 [nagai ai.kyu] The size restricted by the 'height' option of the text widget.
64699 [bsl04 comp.u] That was perfect! Thank you.

^ Re: random number generator - was .sig - was Re: Windows support
64653 [batsman.geo ] Yes, as it has changed...

^ ASSISTANCE
64660 [richng bluem] Happy New Year and Complements of the season to you. My name is Richard Williams.,

^ Private Email Message.
64665 [olivsav nets] Good Day,

^ FreeBase/Databus design of FreeRIDE
64692 [coma_killen ] I've been looking into FreeRIDE and I'm quite impressed
+ 64694 [rich infoeth] I am the main coder of the databus/FreeBASE (based on a design by Curt
+ 64724 [mikkelfj-ant] I'm not a FreeRIDE developer, but let me give it a shot.

^ Unit testing or mocking Net::SMTP
64696 [matt lickey.] smtp.send_mail(message, sender, *recipients)

^ Attn GUI Masters
64697 [mxvera qwest] Greetings,
64700 [mike osdn.or] Got a look at gspeakers already?
threads.html
top