142683-145039

142446-149865 subjects 142879-143941

[ANN] HtmlClipping 0.1.0
142683 [sera@fh an .] I've just released the first version of HtmlClipping.

how do I tell RDoc to show "Classes and Methods" in FILE_PAGE ?
142687 [polyergic@gm] I'm having trouble getting RDoc to create the "CLasses and Modules"

Formatting date without leading zeros
142688 [alltom@gm il] I've tried to do the best research I can into this before posting here,
+ 142690 [heron@jp .n ] Tom,
| + 142695 [nobu.nokada@] irb(main):003:0> t.strftime('%b %-2d %Y %-2H:%-2M')
| | 142696 [dblack@wo bl] irb(main):002:0> Date.today.strftime('%b %-2d %Y %-2H:%-2M')
| | 142702 [nobu.nokada@] It looks like system dependent.
| | 142703 [ruby-ml@ma i] Le 15/5/2005, "nobu.nokada@softhome.net" <nobu.nokada@softhome.net> a
| | 142707 [dblack@wo bl] ...
| | 142709 [ruby-ml@ma i] Actually, it was a separate thread, I did not even realize it.
| | 142728 [snowzone5@ho] i think that was the thread i started.
| + 142708 [alltom@gm il] Okay, so it looks like I can use a regular expression for removing the
+ 142693 [dblack@wo bl] I think the %e and %l modifiers will give you the day of month and the

compiling opengl
142689 [enrike@al er] i am trying to compile opengl for ruby. I found two different distros on
+ 142712 [billk@ct .c ] I found that on my OS X system, files like gl.h and
| 142828 [enrike@al er] i was actually using the distro from
+ 142795 [james.adam@g] Any problems, give me a shout
  142961 [enrike@al er] i was actually following this instructions and this distro
  143401 [james.adam@g] Hmm... I can't replicate that. try changing the line from

Recursively listing files into directories
142692 [Alain.Feler@] I want to load an array (not at tree) with all the paths and names of
+ 142698 [dave.m@em il] have you thought to use Find.find(directory) ?
| 142701 [alain.feler@] if it is not in the keyword list, you must do it yourself ...).
+ 142722 [nospam@lu ac] If you'd like to ask your questions and have replies in french, you

[Ruby Problem Report] Strange behaviour of class Fixnum in exponentation
142697 [wonado@do ne] The german Ruby forum recognized a strange behaviour of the Fixnum class.
143015 [dmertz@on in] The right place for ruby bug reports is on Rubyforge. There is a 'Report a
143025 [wonado@do ne] The Problem is, that this page, as well as several others, require a login. I want nothing else than report
143035 [halostatue@g] 1. Having an account on RubyForge is generally a good idea if you're

ruby + Berkeley DB: BDB::Fatal
142700 [fake_address] I'm trying to build a Berkeley DB that holds a bilingual dictionary, say

Why is this DRb code so slow?
142704 [jim@fr ez .o] Ok, I'm stumped. I have a simple drb example, and it is
+ 142719 [chadfowler@g] $ time ruby simple-client.rb
| 142736 [jim@fr ez .o] Hmm, interesting. That used to work for me. It is probably DNS
+ 142721 [rasputnik@he] I'd guess DNS. check your forward and reverse for both the client
  142743 [jim@fr ez .o] That is what I was thinking too, but then I ran it on a different

I can't establish network connections with Ruby.
142705 [meaneyedcat@] For some reason, I am unable to establish network connections anymore
142714 [ruby@cr zy e] I tried your code and it worked just fine for me - so there's no problems
142726 [arustad@gm i] didn't work. I uninstalled it and everything seems to work for me now.

(none)
142720 [hal9000@hy e] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2005-4-14)

comp.lang.ruby FAQ
142723 [hal9000@hy e] Sorry-- I have a technical problem I forgot to fix.

RCR 307: allow attributes to take arguments for assignment
142729 [eric_mahurin] I just put in a RCR that allows for a little more syntax sugar.
+ 142730 [ruby-ml@ma i] Call me stupid, but I am afraid I do not understand what this
| 142732 [eric_mahurin] I put 3 examples (just added one more) in the RCR.  Here is one
+ 142757 [nobu.nokada@] I'd tried it once and found it was so tough to let yacc swallow

Cannot get Tk extension samples to work with Windows XP
142731 [goran2@sw el] ...
+ 142793 [nagai@ai ky ] I don't know whether tcltklib included 1.8.2-15 supports libraries
+ 142824 [joevandyk@gm] I'd remove your previous tk/ruby installations.
  142867 [goran2@sw el] ...

help about yaml/eval code
142733 [dave.m@em il] ddir = ENV['DOCUMENT_ROOT'] + '/data'
142740 [ruby-ml@ma i] I am not sure if I should be answering since I seem to be
142815 [dave.m@em il] it sounds good, tnx again.

[ANN] Precedence 0.6
142735 [farrel.lifso] I've made the initial release of Precedence which is a small API to
+ 142738 [surrender_it] wow, this seem cool, thanks for releasing it.
| 142739 [farrel.lifso] I actually never thought about it but some post facto justification is
| 142742 [surrender_it] net << act1 << act2 << act3
+ 142769 [pjpizza@rs e] Farrel, neat idea and I myself was thinking about what it would take to do some of the things a certain popular scheduling package (with initials O.P.) does, doing prededence networks but also with holidays (or "calendars") and the constraints of PDM method start-start, start-finish, finish-finish, etc.

Ruby/Odeum vs. Lucene Performance
142737 [zedshaw@ze s] At the risk of starting a major flame war and giving Java player-haters
+ 142741 [ruby-ml@ma i] Woo hoo! Java sux0r, Ruby rules!
| 142791 [robert.feldt] Even though performance comparisons are really hard to get right/fair
+ 142804 [snail@ob me ] <zedshaw@zedshaw.com> writes
  142862 [zedshaw@ze s] Actually, I have a confession to make in that I anticipated this and set
  142881 [snail@ob me ] <zedshaw@zedshaw.com> writes
  142908 [steven.jenki] True (mostly), but irrelevant. Those statistics apply to problems of
  142923 [snail@ob me ] <steven.jenkins@ieee.org> writes
  142933 [steven.jenki] Your rationale invoked an analogy to estimation of proportions, which,

FOX toolkit
142744 [Stephan.Kaem] after getting a new OS up and running on two machines I tried to compile
142785 [mailinglists] Wait and try again. This site is often down as the server is in

mod_ruby + dbi inconsistency
142747 [belorion@gm ] and eruby.  I've installed both the dbi and ruby-mysql packages.
142748 [belorion@gm ] I apologize for the noise.  It turns out, for some strange reason, the
142753 [belorion@gm ] Since there was an older version of Ruby installed at one point

Bug printing classes - Re: infinite number of singleton_classes
142749 [chr_mail@gm ] At least you can print any self referential (looping) object involving the
142750 [dblack@wo bl] I'd rather just see the #inspect bug fixed :-)
+ 142756 [chr_mail@gm ] If you are "singleton class" you only have to do house keeping for a one
| 142761 [dblack@wo bl] Klass = class << Class; self; end
| 142770 [chr_mail@gm ] It also works if the subclass is an ordinary singleton class of an
| 142773 [dblack@wo bl] class << obj; def self.x; end; end
| 142777 [chr_mail@gm ] I was kind of proposing to throw an error at the next level
| 142779 [dblack@wo bl] You're three-deep here, though.  I thought you meant to disallow
| 142784 [chr_mail@gm ] Sorry for being  my confusing self::-)
+ 142789 [nobuyoshi.na] I rather guess singleton class would not be allowed to copy, from its
  142790 [matz@ru y- a] Agreed.  Can you commit the patch?

The world is really unstable these days......
142755 [TheConcerned] We've got a lot to deal with these days. Terrorism, Recession, Weather and more. It's all got me concerned.

Visibility and the "self" receiver
142760 [skull2crush@] I'm new to Ruby (coming from Java) and puzzled
+ 142762 [dblack@wo bl] In Ruby everything you define with "def" is a method, and has a return
+ 142763 [discordantus] ... which should work.
+ 142776 [skull2crush@] Oh well, that seems to explain it...

Stats comp.lang.ruby (last 7 days)
142764 [bsd.SANSPAM@] Stats comp.lang.ruby (last 7 days)
142766 [dblack@wo bl] I don't mean to sound lacking in humility, but could you please stop
+ 142797 [ruby@gt d. e] I think you may have the wrong idea here.  I suspect the reference to
+ 142799 [bsd.SANSPAM@] I'm sorry, if you feel offended, but the said disclaimer has nothing to
  142831 [dblack@wo bl] In that case you now have two reasons to delete it: first, it is

Class.forName ?
142765 [rcs@bg ar .n] Class clazz = Class.forName("Person");
+ 142767 [naseby@gm il] irb(main):001:0> class A; def initialize; puts 'in A'; end; end
+ 142768 [mithrandir@t] how about
| 142774 [rcs@bg ar .n] Ahh, exactly what I needed! Thanks!
+ 142771 [discordantus] Person = Class.new

[ANN] icalc 0.0.3
142780 [bsd.SANSPAM@] URLS

[ANN] pscan 0.0.2
142781 [bsd.SANSPAM@] URLS

[ANN] Su Doku 0.0.2
142782 [bsd.SANSPAM@] URLS

determining common characters from start of two strings?
142794 [billk@ct .c ] Is there any ruby built-in that might tell me how
+ 142800 [farrel.lifso] .I don't know of anything in built but you could implement Suffix
| 142803 [kero@ch ll .] Yeah, but sounds like overkill (reading the strings already takes O(n),
+ 142802 [bob.news@gm ] "Bill Kelly" <billk@cts.com> schrieb im Newsbeitrag
  + 142805 [kero@ch ll .] evil!
  | 142807 [ruby.brian@g] class String
  | 142809 [dblack@wo bl] ...
  | + 142827 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  | + 142829 [billk@ct .c ] Cool solutions, guys - thanks !
  + 142826 [billk@ct .c ] Heheheheheheheh.... Nice.  ;)

Re: [QUIZ] [Solution] Cows and Bulls (#32)
142798 [ruby.brian@g] Thank you for the quiz,
+ 142801 [kig@mi fi in] ...
+ 142909 [james@gr yp ] I didn't build a player, but did provide three different interfaces.

IRB, Mac OS X, command-line require via "-r" and Bus Errors
142806 [james.adam@g] Hey All,
+ 142810 [lucsky@ma .c] I've been tracking this down to the same level as you did, and just like
| 142814 [james.adam@g] I'm not sure it's going to have much to do with anything new in
| 142876 [lucsky@ma .c] Right, I have just installed 10.4.1 (which is now available) the crash
| 142890 [james@gr yp ] Just FYI, my secret to OS X Ruby happiness was to build my own copy
| + 142896 [gavin@re in ] ...
| + 142921 [lucsky@ma .c] Oh, we do agree on this, that's also what I do, although I have started
|   142924 [james@gr yp ] Oh no.  Sorry if I implied that.  I was just trying to be helpful in
+ 142884 [lucsky@ma .c] Allright, here's some more data.
  + 142893 [jp-www@dc .g] I've investigated this a bit more, after seeing your post which was very
  | 142922 [lucsky@ma .c] Very interesting. So we now know exactly what happens and why it
  | 142928 [jp-www@dc .g] Fiddling with command line arguments like this is a common unix idiom for
  + 142936 [nobu.nokada@] Is this function called at each time when .so is loaded, and
    + 142938 [jp-www@dc .g] The _NSGetArgv function would appear to be an private function (inferring
    | 142939 [nobu.nokada@] "-AppleLanguages" can be disappeared?
    | 142962 [jp-www@dc .g] I'm not entirely sure what you mean here. The CFRuntime code removes -AppleLanguages
    | 142995 [nobu.nokada@] The code "around line 720" you posted doesn't remove
    | 143017 [jp-www@dc .g] Sorry, you are right. I misread the CFRuntime code. It just copies the
    | 143024 [nobuyoshi.na] Caller's argv is changed but *argv isn't changed.  Pointers pointed by
    | 143027 [jp-www@dc .g] You are right. I was getting mixed up. Sorry! This solution looks like it
    | 143049 [nobu.nokada@] By hand.
    + 142948 [lucsky@ma .c] This block of code is taken from the __CFInitialize function in

Ruby Weekly News 2nd - 15th May 2005
142808 [timsuth@ih g] Ruby Weekly News 2nd - 15th May 2005

Newbie: pinpoint my mistake please..
142811 [dobest03@em ] Can anyone pinoint me where I made a mistake?
+ 142817 [glyconis@gm ] Well, I can try to explain why you are getting your error, or I can
| + 142873 [dobest03@em ] I see.. Right.
| + 142874 [dobest03@em ] I'd like to do happy-rubying.. :-)
|   143364 [glyconis@gm ] Sorry I'm taking so long to reply.  I've been away from the list for a bit.
|   143657 [dobest03@em ] Ah..
|   143689 [gene.tani@gm] maybe look at "Head First Design Patterns" (OReilly) or Shalloway/Trott
+ 142818 [james_b@ne r] Calling 'super' invokes the method of the same name in the parent class.

Nitro + Og 0.17.0, Og Reloaded, Elements
142816 [george.mosch] new versions of Nitro and Og were just released.

Encode strings for bytea (postgres) with dbi
142820 [mano_mk@gm .] I don't know if I just don't get it, but are there any functions encoding
143053 [ilveroluca@n] The ruby postgres library has what you need, though it doesn't seem to be

Re: RAA down?
142821 [Daniel.Berge] Yes, that is interesting.  I'd be interested to know what made it crash,
143945 [nakahiro@sa ] ruby 1.9.0 (2005-04-06) [i686-linux] crashed and I didn't have core.

[ANN] ruby-services 0.1.0
142833 [Daniel.Berge] The Win32 Utils team is happy to announce the first release of
142835 [halostatue@g] wrapped-up service.

Doubt about GC
142834 [eustaquioran] - -------------------------------------------------------------------------
+ 142837 [threeve.org@] You script returns the expected result for me (only car 1).  WinXP, Ruby 1.8.2.
| 142839 [eustaquioran] 1.8.2.
+ 142838 [ksruby@gm il] Creating car no. 1:20722128
+ 142840 [mailinglists] Unlikely but the stack marking is conservative. Maybe there is
  142842 [eustaquioran] Kind of some "memory dirty" or something like that?
  + 142843 [eric_mahurin] I'm also having troubles with garbage collection.  The previous
  + 143347 [caiot1@ib st] I'm in such a different hardware and I got a result somehow different in

app like orkut.
142844 [rsmartins@gm] i try to find out some application wich has same features of orkut and
142846 [vacindak@gm ] I'm writing one.

rb_gc_mark question
142850 [Ara.T.Howard] static VALUE convertgslmatrixToRubyMatrix(gsl_matrix *dm)
+ 142853 [cmills@fr es] Qnil);
| 142859 [Ara.T.Howard] right - so it should only be called from a mark function passed to
+ 142855 [mailing-list] I don°«t understand why you need to rb_gc_mark those values.  They°«re
| 142857 [Ara.T.Howard] ...
+ 142856 [nobu.nokada@] GC may run while resizing rows, however many platforms don't
  142861 [Ara.T.Howard] why does it matter if the GC runs while re-sizing rows?  it seems like rows
  142864 [nobuyoshi.na] I forgot that it was an already fixed bug on platforms passing
  142869 [Ara.T.Howard] thanks nobu - this is good to know.

rdoc error when generating diagrams
142851 [polyergic@gm] (it seems to repeat this error for each diagram)

[OT] Alternatives to Meetup.com?
142858 [ruby.talk.li] I've received E-mail from Meetup.com that the Phoenix Ruby Group is
+ 142860 [tom@in oe he] Yours,
+ 142882 [jim@fr ez .o] We are using Yahoo Groups for Austin.rb -- or as we call it
+ 142885 [tom.ward@gm ] Many meetup groups have moved over to Andy Baio's upcoming.org
| + 142897 [pat.eyler@gm] The good folk in pdx.rb are talking about writing their own rb-runner
| | 142904 [curt@hi bs c] Last I heard, John Long and Ryan Platte were planning to write a
| | 143134 [ng@jo nw on ] Yup, we are still looking for a third person. It would be nice if they
| + 142905 [james_b@ne r] I just poked around upcoming.org, but don't see a way to define a
|   142906 [pat.eyler@gm] They do have an API (which I've not yet looked at) though.  What about using
|   142972 [matchbo@gm i] I'm moving the Melbourne Ruby group over to google groups
+ 143141 [premshree.pi] The Ruby India group (ruby-india) is using Yahoo! Groups. Works kinda

Rails on Altix ia64
142863 [ajenkins@in ] Has anyone successfully run a Rails application on an Altix, or other
+ 142866 [nobuyoshi.na] Some bugs about GC on IA64 have been fixed since 1.8.2 release.  Try
| 142868 [thorin@th sh] Thank you for your quick response.  I tried 1.8.3 preview1, and get the
| 142959 [ajenkins@in ] I was able to work around the problem by using a version of Ruby
| 144605 [matz@ru y- a] Sorry for being late.
+ 144769 [akr@m1 n. rg] I'd like to know following patch fix your problem or not.
  144898 [thorin@th sh] Thank you very much!  I just tried applying this patch, and now the
  144939 [akr@m1 n. rg] I see.  I think I understand why ruby is so unstable on IA64, now.
  144943 [matz@ru y- a] Can you commit?
  144955 [akr@m1 n. rg] committed.
  144971 [matz@ru y- a] Hmm, I will look into Boehm GC later.  If you have any further
  145039 [akr@m1 n. rg] Another possible problem is that rb_thread_restore_context and

Extending an Instance only Once
142870 [gavin@re in ] ...
+ 142883 [dblack@wo bl] Unless I'm missing something, #is_a? would do it.
| 142887 [gavin@re in ] ...
+ 142891 [Peter.Vanbro] irb(main):001:0> module M ; end
  142899 [gavin@re in ] ...
  142917 [peter.vanbro] ^^^                  ^^^
  142950 [chr_mail@gm ] The explanation is probably simpler -  f.extend(M) makes hook calls to
  142982 [peter.vanbro] to

freenode call for coders
142871 [martindemell] Just passing this along
142875 [mailinglists] Is it just me who find that this "volunteer"'s thing is going way to
+ 142878 [martindemell] IMHO freenode has provided considerable value, for free, to the open
+ 142937 [drbrain@se m] I believe this goes hand-in-hand with Freenode's support of open-
+ 143074 [sera@fh an .] Well, whatever the market will bear, you know? Sometimes people find it
threads.html
top