72433-72844 subjects 72882-75398
^ [OT] mandelbrot, was: Binary Tree vs. Hash
72661 [schatten nos] [snip Array lookup problem]
72696 [mneumann nte] Regards,
^ PHP serialize()/unserialize() module, and a dotlocker
72664 [tom.hurst cl] Might be handy to some of those web guys using Ruby backends to PHP
72684 [tom.hurst cl] Struct's are now handled, along with (in theory) any other PHP object
^ Interactive programming
72665 [jason_watkin] 1.) Write ruby in the interactive interpreter
+ 72667 [billk cts.co] I'm a huge fan of irb. I primarily seem to do 2. but perhaps
+ 72668 [mwilson13 co] I do both, though I use 1. mostly for small programs (no new classes).
+ 72669 [phlipcpp yah] 3.) Pure Test Driven Development, from RubyUnit.
+ 72671 [dooby d10.ka] If you never run Ruby under Windows, skip this post!
+ 72672 [ahoward fsl.] i always have an irb window open, but code in files (sometimes i even have
^ How to structure a program for unit testing
72685 [jj5412 earth] The time has come. I'm tired of that unsure feeling when I'm about to
+ 72687 [0bz63fz3m1qt] my ruby files is about 250 lines.
+ 72688 [jweirich one] The best way to learn about unit testing is to ... do unit testing.
| + 72690 [billk cts.co] There's also a nice translation of the "pink book" test-first
| + 72731 [sdate everes] but looks like it is not yet moved to your new website.
| | 72740 [jweirich one] No it hadn't been moved yet. I've moved off of the Nuvox (nee OneNet)
| | 72767 [sdate everes] Aha! Great ... I always refer to it from time to time. Haven't yet mastered
| + 72869 [frank.schmit] There's a nice book online available at
+ 72698 [lyle users.s] Others have already given you good advice about unit testing itself, and
72699 [Peter.Booth ] The Kent Beck book Test Driven Development: By Example explains this in
^ telnet.rb patch
72686 [jbshaldane h] I am using net/telnet.rb in ruby 1.8 with Telnetmode = false.
72691 [matz ruby-la] Yes. Thank you for reminding us.
^ ANN: Reminder Phoenix eXtreme Programming User Group Meeting - June 9th
72701 [jay.turpin i] This is a multi-part message in MIME format.
^ Programming generators with threads
72702 [ gv cs.uu.nl] Callcc. He then gave an example with Calcc. Works fine. Here is my
72714 [pbrannan atd] I tend to prefer using callcc for generators, because there are fewer
^ 2003 Scheme Workshop - Call for Papers
72709 [mflatt cs.ut] .. 2003 Scheme Workshop
^ [ANN] FXRuby Users Mailing List Now Available
72715 [lyle knology] All,
72716 [vjoel PATH.B] Glad to hear it. I've already subsribed to the discussion list. I assume
72723 [lyle users.s] I will cross-post all of my announcements to both fxruby-announce and
^ Unit Testing Style
72717 [emschwar pob] I know I should have written my tests first, but I didn't, so now I'm
+ 72718 [michael_s_ca] In the general sense, I have a number of tests (in java, mind you)
+ 72719 [walter mwsew] see inline...
+ 72736 [jweirich one] Just remember that the test method will terminate with the first failing
| 72739 [jim freeze.o] So Jim, do you have a short example of using rake to
| 72743 [jweirich one] I was wondering if anyone would catch the Rake reference.
| 72746 [jim freeze.o] Thanks for the example.
+ 72747 [phlipcpp yah] The best way to do this (in my exalted opinion) is to point the tests at an
72779 [emschwar pob] Unfortunately, that works out to effectively rewriting the code from
^ Re: OT
72724 [dcoshel mac.] I'd love to do it, but my technical vocabulary is too pathetic for
^ With Utmost Sincerity
72728 [derricknyeme] DR DERRICK NYEMEGOH,
^ CALL FOR ASSISTANCE
72729 [ikecollins n] MR.IKE COLLINS
^ With Utmost Sincerity
72730 [derricknyeme] DR DERRICK NYEMEGOH,
^ case of sub! not working
72732 [ian caliban.] [ianmacd@baghdad]$ irb
+ 72734 [vjoel PATH.B] ENV is not exactly a Hash, but a singleton that behaves kinda like one.
| 72744 [ian caliban.] Thanks for the explanation. This definitely violates the principle of
| + 72749 [hal9000 hype] A surprise but not a bug. Things that interact with
| + 72752 [matz ruby-la] Never say that. You had two assumptions
| | 72755 [emmanuel.tou] value.
| | + 72757 [vjoel PATH.B] ENV['foo'] = 'bar'
| | | 72758 [emmanuel.tou] of
| | | 72797 [ jupp gmx.de] Saluton!
| | + 72763 [matz ruby-la] Do you mean freezing strings from ENV? Hmm, maybe.
| | 73018 [lists zara.6] don't take this seriously...
| | + 73019 [lists zara.6] sorry, i meant .
| | + 73020 [hal9000 hype] of
| + 72769 [michael_s_ca] Can someone mention *why* this is like it is? (ENV keys are copies
| 72787 [hal9000 hype] I'll take a stab at it. I can't promise that
| + 72789 [michael_s_ca] I gotcha. Ruby is doing this to avoid having to track the actual
| | 72801 [ian caliban.] In my program, however, I would have been quite happy to have sub! just
| | + 72802 [Ephaeton gmx] Which again needs the setenv() call to actually alter the value in the
| | | 72806 [michael_s_ca] Oh lord, now I realize I only half understood what was going on.
| | | 72807 [hal9000 hype] Yes, except there's really no ENV##sub! method, if you know
| | + 72805 [matz ruby-la] I understand what you feel, but still, environment variables are
| | 72808 [ian caliban.] I understand your reasoning, but why is = any different to sub! ?
| | 72809 [hal9000 hype] It's not really =, it's =.
| | 72813 [ian caliban.] That's a very lucid explanation and I find I can now appreciate the
| | 72814 [hal9000 hype] No problem. Explaining is the best way to
| + 72860 [sroberts uni] Somebody suggested that strings returned by ENV# be frozen,
+ 72856 [flgr ccan.de] This is a multi-part message in MIME format.
^ setuid/setgid ruby scripts
72735 [wjl icecaver] charset="utf-8"
72741 [nobu.nokada ] A perl script creates such wrappers can be found in Camel book.
72754 [matz ruby-la] A wrapper is a friend of you.
72756 [nedry mail.b] Thank you, for that totally ridiculous image at 8:00am... that made my morning!
^ MAJOR George
72737 [georgeowen1 ] Reply to email@example.com
^ MAJOR George
72738 [georgeowen1 ] Reply to firstname.lastname@example.org
^ Win $50,000 Towards Your New Home
72742 [giveaways ze] Zehomes is giving you the chance to win $50,000 towards your new home!
^ FXRuby question - Getting the SEL_CHANGED event to work
72745 [colotechpro ] I'm trying to test if a combo box field in FXRuby has changed, to warn
72770 [lyle users.s] The combo box sends a SEL_CHANGED message to its message target
72904 [colotechpro ] Thanks, Lyle. I took the 1st approach.
^ Dynamically scoped variables
72748 [dave pragpro] Just as a bit of fun I posted a piece on implementing dynamically scoped
+ 72750 [vjoel PATH.B] Very cool!
+ 72751 [vjoel PATH.B] And, a variant that allows nested contexts to be cumulative, at the cost
+ 72753 [akr m17n.org] def with_context(params)
72759 [bob.news gmx] "Tanaka Akira" <email@example.com> schrieb im Newsbeitrag
^ this is for you
72760 [onyia_1 juno] Dear sir,
^ Ruby Weekly News
72761 [Dave Pragmat] Ruby Weekly News: 06/03/2003
^ German mailing-list still alive
72762 [mneumann nte] Is ruby-de still alive?
72796 [ jupp gmx.de] Saluton!
72821 [mneumann nte] Does this really work on your machine?
^ file I/O: how can I disable auto-convert of the 2-byte sequence 0x0D, 0x0A into a single byte '\n'?
72764 [frank.polsch] This is a multi-part message in MIME format.
+ 72766 [ oct zoy.org] Have you tried switching to binary mode ?
+ 72786 [tcfelker mtc] Tom Felker
+ 72811 [dooby d10.ka] file I/O: how can I disable auto-convert of the 2-byte sequence 0x0D, 0x0A into a single byte '\n'?
^ good & cheap mp3 player, USB Flash disk, cd/vcd/mp3 player and digital camera etc
72765 [hechun1978 s] My dear friend,
^ FTP (with extended uri) package available?
72768 [erik solidco] SFTP.cp '/tmp/foo', 'johndoe:firstname.lastname@example.org/somedir/'
72795 [sera fhwang.] Did you try using Net::FTP?
^ Ruby install question
72771 [jim freeze.o] I have asked this question before, long ago, but did not
72772 [B.Candler po] A lateral answer which is probably not what you want: but if you configure
72773 [jim freeze.o] My initial knee jerk response is that /opt/ruby is not guaranteed to exist.
72774 [B.Candler po] Call it /foo/bar if you like. Just on the target machine, create it as a
72775 [djberge qwes] My initial knee jerk response is that /opt/ruby is not guaranteed to exist.
72777 [jim freeze.o] Can't get the latest from these guys.
72835 [jim freeze.o] I thought I would post the results of a study recently done on
^ which book ?
72776 [Pierre.Bru s] I already have "Programming Ruby: A Pragmatic Programmer's Guide" but
72791 [info mjais.d] I think both "The Ruby Way" and "Ruby Developer's Guide" are great books.
^ ruby-dev summary 20201 - 20315
72778 [ksaito uranu] This is a summary of ruby-dev mailing list.
+ 72827 [batsman.geo ] Why not do
| 72841 [pbrannan atd] IMO, this is indicative of a more general problem than just IRB. If
| + 72845 [chad ns1.cha] This topic came up at RubyConf 2001 during David Black's Ruby Behaviors
| | 72851 [dan sidhe.or] It's actually not all that difficult under some circumstances, but
| | 72862 [chadfowler c] Could you whip us up a quick working prototype so we can see how it
| + 72846 [ahoward fsl.] module FooBar
+ 72839 [pbrannan atd] What exactly does this mean? Do both forms of '*' now use the same
72840 [decoux moulo] svg% cat b.rb
^ Looking for Mail file parser for netscape mail
72781 [jim freeze.o] Is there a mail parser for netscape mail files.
72783 [emschwar pob] Netscape just uses mbox format for its mail files. This *should* be
^ sent e-mail
72782 [jmccall64 ho] you sent an e-mail on 29 april 2002 at 11:02 pm, can you remember where that
^ Scam? Re: sent e-mail
72784 [khindenburg ] What type of scam is this?
+ 72790 [lyle users.s] This is a new one to me too. I just forwarded it to snopes.com since I
+ 72792 [wkb airmail.] They're probably just trying to get you to validate your email address
72832 [robert.j.lal] You get people's e-mail address nicely sorted by location. Direct mailers
^ Saving the results of Eruby::import in a string instead of just printing them?
72785 [sera fhwang.] Does anybody know if it's possible to have Eruby::import return its
72995 [kwatch lycos] Use a class 'ERuby::Compiler'.
^ manufacturer of garments and bags in China
72788 [rachel publi] Dear Sir or Madam,
^ Re: Ruby Weekly News [OT]
72793 [wkb airmail.] Not to mention an unprecedented 203.8 million dollars in six separate
72824 [dsafari para] You have lost me, which scam are you referring to?
72850 [wkb airmail.] Holden,
72861 [jj5412 earth] The scam may also involve kidnapping, imprisonment in Nigeria, death, and
^ [OT] GC benchmarks and comparison (and What GC we're using now?)
72798 [surrender_it] I know that there are Programmer here from ADA to zsh, so I thought I
72822 [matz ruby-la] Just because the original Python GC was a mere hack.
^ Test::Unit::MockObject not working
72799 [sdate everes] [05-31 20:35 test-unit-mock Mock objects for Test::Uni..
72848 [pit capitain] Here you said you expect two method calls...
^ Hasta 10 cargas de impresora por 1
72803 [ma easyinkje] Este mensaje se renvia una sola vez
^ ruby-1.8.0 (cvs) build failed on HP-UX 11.11
72804 [waisun.chia ] Looks like it's having problem building the socket extension. I tried to
72810 [eban os.rim.] Could you show us ext/socket/mkmf.log ?
72817 [waisun.chia ] This is a multi-part message in MIME format.
72823 [matz ruby-la] In addition, show us lines from 484 to 490 of
72828 [waisun.chia ] This is a multi-part message in MIME format.
72834 [eban os.rim.] It is GCC's problem.
^ Should the rescue modifier take a block?
72812 [hal9000 hype] Would something like this make sense?
+ 72815 [vjoel PATH.B] def boom
+ 72816 [dooby d10.ka] I thought rescue modifier was for the current line.
^ RCR: Enhancing matrix.rb
72818 [mneumann nte] Following three methods would make Ruby's Matrix class (matrix.rb) more
72826 [matz ruby-la] Keiju will make final decision. I will forward your proposal to him.
72923 [matz ruby-la] Keiju and others feel reluctant against making Matrix mutable. I
+ 72933 [mneumann nte] No problem, as I can still extend Matrix locally in my own applications.
| 72936 [0bz63fz3m1qt] How about adding it to rubygarden ?
| 72942 [mneumann nte] Didn't knew about this great link. I'll add it there.
| 72943 [hal9000 hype] applications.
+ 72955 [pbrannan atd] I do not understand their reluctance. I see no good reason for Matrix
^ File retrieval problems
72825 [kingsley ice] go to a url
72829 [pierre_b epi] you can use rubyzip to access data in your zip files
72830 [nvivek ncst.] Get the html file
72831 [kingsley ice] The main problem there is that I have no clue how to do step
72836 [nvivek ncst.] Yes, you do. Just take all the data that you get and write it to the file.
72909 [kingsley ice] Thank you so much - that worked perfectly !
^ ruby-libneural distfile?
72833 [rasputin shr] can anyone get it ? I've been trying all week.
73225 [akimichi mbo] My http server had been down for weeks.
72837 [omorodioneki] This is a multi-part message in MIME format
^ remove_method question
72842 [djberge qwes] Searched the archives but didn't quite find what I was looking for.
+ 72843 [decoux moulo] You can remove the method only in the class where this method is defined
+ 72847 [B.Candler po] class Bar
72852 [bob.news gmx] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
72867 [B.Candler po] class Bar
72870 [decoux moulo] What do you think that undef_method do ?
72872 [B.Candler po] Well, I don't know exactly :-) It doesn't define a dummy method if one does
+ 72873 [decoux moulo] It define a dummy method, but ruby know this :-)) This is why it give an
+ 72877 [bob.news gmx] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
72878 [B.Candler po] Not really - just pointing out that it's being a bit cleverer than what I
72888 [bob.news gmx] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
^ Ruby 1.8.0
72849 [ gm navel.gr] I was wondering if Matz or another Ruby hacker has a tentative release
72924 [matz ruby-la] I will release preview3 soon after REXML is checked in to the CVS.
73011 [slumos unlv.] Is the TODO file in CVS intended to be for 1.8.0? I've been checking
73017 [surrender_it] I suppose it is more general purpose.. I just asked matz about the
^ More set methods
72853 [mwilson13 co] I've added some additional draft set methods to the Ruby Garden Wiki at
^ Ruby web hosting survey.
72854 [wkb airmail.] All,
+ 72855 [frank nospam] Absolutely, however your costs are through the roof! $250 per month (plus
| 72871 [m_libby ands] Virtual hosting with Ruby CGI & MySQL costs $9/month from rootr.net.
| 72875 [Jamey.Cribbs] I heartily second the praise of RootRoute! They host my website and my
+ 72881 [harold 1st-s] When I joined JaguarPC as my virtual host , they did not have Ruby
+ 75155 [james_b neur] What setup costs? Does it take that long to install Ruby and add
75214 [volker_grabs] Usually not ...
75237 [aredridel nb] Well, mod_ruby and suexec are mutually exclusive -- mod_ruby runs things
^ Ruby Windows Installer "ruby180-9"/yaml
72857 [yura opmr.co] This message is in MIME format. Since your mail reader does not understand
72859 [ruby-talk wh] included in Ruby 1.8.0. Send me the parse error(s) and we'll get the new
72865 [yura opmr.co] This message is in MIME format. Since your mail reader does not understand
^ Re: Test::Unit::MockObject not working (like _I_ want it to)
72858 [sdate everes] My bad !
72864 [pit capitain] Sorry for telling you the obvious.
72879 [sdate everes] Aha ! Perfect ... exactly what I wanted.
^ ios.gets doesn't seem to work as advertised
72863 [RichardLMull] I've got the following script in a Win2000SP3 environment running Ruby
+ 72866 [dooby d10.ka] You're re-opening the file each time and reading
| 72885 [RLMuller com] but for your explanation of the flaw in my approach.
+ 72880 [RLMuller com] I solved one part of my problem, i.e. how to loop through individual
72903 [RLMuller com] I forgot to look at the hex version of the file before posting the
^ A unit testing problem...
72868 [hal9000 hype] I'm trying to figure out how to test something
+ 72874 [B.Candler po] Could you use a couple of IO.pipe objects instead, and run your mock object
| 72890 [hal9000 hype] object
+ 72876 [jweirich one] Agreed.
| 72891 [hal9000 hype] Yes, that assumption is valid.
+ 72993 [sdate everes] require 'test/unit/mock'
72997 [hal9000 hype] That is very interesting... I've never used