133492-134449

133344-144852 subjects 133683-170548

Re: how do I convince Hash that two keys are the same?
133492 [sroberts@un ] (I sent this to ruby-doc by accident, and got a response, but I am
+ 133494 [ruby-ml@ma i] When you derive, you establish an is_a relationship. Str is_a String.
| 133499 [sroberts@un ] I don't think thats the answer, its not how things normally work.
| 133500 [ruby-ml@ma i] static VALUE
+ 133501 [drbrain@se m] Please don't top post.  With all the stuff in this thread, I find it

play ogg file from Ruby (on windows)
133493 [cpine@he lo ] Just wondering if anyone has managed to play ogg files from Ruby?  I'm
+ 133496 [mailing-list] Search for °»ruby-vorbisfile°… and °»ruby-audiofile°… on RAA [1],
| 133498 [cpine@he lo ] Sorry, but I meant to say "on Windows".  (Well, I did say that in the
+ 133506 [premshree.pi] You could probably try ruby-xmms: http://pablotron.org/software/xmms-ruby/
  133519 [cpine@he lo ] Yeah, but again, I'm looking for something on Windows.

[ANN] FastCST 3.0 (Now w/ meta-data, get, and put)
133502 [zedshaw@ze s] Just a quick announcement to say that I've put up another release of

[QUIZ] Quoted Printable (#23) SOLUTION
133507 [matthew.moss] Here is my partial solution for the Quoted Printable quiz.  I'm still
133656 [flgr@cc n. e] ...

[ANN] MuraveyWeb -- Ruby CMS (with demo)
133509 [sdmitry@lr .] I'm glad to announce first public release of MuraveyWeb -- Ruby CMS
133510 [psm041@ig co] I'm an (ex)plone user, and learning Rails right now ... if i can help ;-)
133564 [sdmitry@lr .] Thanks Paulo!

RubyURL.com
133511 [robby@pl ne ] I felt like giving myself a small project to get my feet a bit more wet
+ 133516 [sroberts@un ] and got
| 133517 [james@gr yp ] Hmm.  It's working for me...
| + 133520 [alex.martin@] Try to put "http://rubyurl.com/" in the form field and you will get this
| | 133521 [mailing-list] See http://rubyurl.com/4U1Cm on why this is so,
| + 133654 [martin.anker] It seems to work for all urls, except when trying to create a link to
|   133698 [robby@pl ne ] Indeed, it's displaying an error as I have a constraint on the
|   133815 [martindemell] If you're blocking stuff, you should probably block other common
|   133816 [robby@pl ne ] I could spend days adding filters. I guess at some point, you just have
|   133817 [hal9000@hy e] Had you considered a scheme in which the original
|   + 133820 [robby@pl ne ] Well, that's an interesting idea. It doesn't quite chop the size down as
|   | 133860 [discordantus] It could be optional. When your app gets a request, check for
|   | 133861 [robby@pl ne ] I can probably live with something like that. Was considering having a
|   + 133823 [martindemell] +1 - slashdot has had great success in cutting down on shock site
|     133830 [robby@pl ne ] As I mentioned in a previous post. I could have it wait for a few
|     133831 [martindemell] There are already sites that do that, though, and it's less elegant than
+ 133523 [jamesUNDERBA] Nice.  I noticed, though, that you do not get the same rubyURL for the
| + 133525 [robby@pl ne ] Yeah, that's on the list for things to do. It'll just return the
| + 133657 [wyhaines@gm ] In my little IOWA based system, I just do a query back to the database when
| | 133660 [martindemell] martin
| | 133669 [wyhaines@gm ] Sure, but is that a _bad_ thing, or merely a thing?  That is, is it a
| | + 133671 [wyhaines@gm ] Argh.  Never type while reading something else.  Thomas Hurst is the name
| | + 133680 [martindemell] Just a thing :) More fun than otherwise, IMO.
| + 133658 [martindemell] This comes down to an issue of how compressible urls are. I think most
|   133767 [jamesUNDERBA] Quite true; this occurred to me after I posed that question.  As nice as
+ 133527 [tom.hurst@cl] In my case qurl was a small project to get a bit more used to writing
  133529 [billk@ct .c ] Heheheheh.... Very nice !!

[ANN] RubyGems Documentation Site
133512 [jim@we ri hh] == Announcing the RubyGems Documentation Site

[ANN] RubyGems Release 0.8.7
133513 [jim@we ri hh] = Announce: RubyGems Release 0.8.7
+ 133515 [chadfowler@g] For those of you trying to use "gem update --system", it looks like
| 133522 [chadfowler@g] We've discovered a significant problem that will prevent installation
+ 133670 [usenet@an re] # gem -v
  133709 [jim@we ri hh] There was a problem with the 0.8.7 gem file such that it was never

WEBrick guide gone?
133514 [Bil.Kleb@na ] Thanks,
+ 133540 [shalev@si pl] Works fine for me.
| 133543 [robert.mcgov] It is now, it wasn't earlier, seems the author had added a redirect to
+ 133866 [ysantoso-rub] Sorry, for the interruption. The guide is now hosted on a new
  133869 [Bil.Kleb@na ] Sad. :(

sys-proctable segfault on Ruby 1.8.2
133530 [john-mason@s] a = ProcTable.ps()
133531 [Daniel.Berge] Hm...I don't have access to a Linux box at the moment, but I've run it
+ 133667 [wyhaines@gm ] Bingo!  That was it.  That was the problem that I couldn't recall the
+ 133751 [john-mason@s] Dan,
  + 133752 [Daniel.Berge] Hrm...I'll install Linux on my home box tonight and see what I can see.
  + 133934 [djberg96@ho ] cut

Re: [fxruby-users] Does anyone have access to an x86-64 box?
133534 [polyergic@gm] I'm running PLD, and have installed ruby-1.8.2-2.20040906.4.  I looked

[ANN] Getting Started with Orbjson tutorial
133550 [jamesUNDERBA] applications with XmlHttpRequest + JSON-RPC.
133553 [horacio.lope] This is great, anything that makes it less painful to use javascript
133562 [jamesUNDERBA] Thanks. BTW,  I *like* JavaScript.  It has Rubyesque qualities.
+ 133566 [horacio.lope] how about a unix-friendly tarball, or a windows-friendly zip file, for
| 133569 [jamesUNDERBA] They are there, along with the gem.  I just haven't glommed an installer
| 133577 [horacio.lope] great, thank you
| 133580 [jamesUNDERBA] Ah, yes, thanks!
+ 133567 [horacio.lope] I can appreciate prototype-based languages like Self, and to be fair,
+ 133582 [curt@hi bs c] I agree. In fact it was my positive experiences with JavaScript that

[ANN] RubyGems 0.8.8 (please upgrade from 0.8.7)
133555 [jim@we ri hh] Ruby Gems 0.8.8 is now available.  It fixes a bug in 0.8.7 where gem files
+ 133590 [Bil.Kleb@NA ] sudo gem update --system
+ 133679 [lthiryidontw] I had a
  + 133686 [surrender_it] it seem a normal warning from rdoc, so nothing to be worried. But IIRC
  + 133718 [jim@we ri hh] It is RDoc complaining as it is running its fingers through the code.

OptionParser question
133559 [jos@ca no k.] OptionParser is still a mystery to me. In the example below, how do I
+ 133596 [wybo@se va y] require 'optparse'
| 133764 [jos@ca no k.] Thanks, but the problem with this is that when one adds the line
+ 133684 [jp-www@dc .g] opt.parse! returns the remaining non-option arguments (which is in fact
  133774 [jos@ca no k.] I might use this. The downside here is that one doesn't know which option
  133792 [nobu.nokada@] Actually, #parse! just raises a exception, subclass of
  133825 [jos@ca no k.] [example snipped]

somebody still interested in bounces from MAILER-DAEMON@arch.dtop.jp ??
133560 [sroberts@un ] ...
133602 [shalev@si pl] ...
133605 [dennis@la sc] Hey folks,

[ANN] Orbjson 0.0.4 released
133571 [jamesUNDERBA] Ruby Orbjson is a JavaScript/Ruby object request broker for JSON-RPC
133572 [joaopedrosa@] Oi,
133574 [horacio.lope] but it's good to have asynch calls, no hype there :-)

Bay Area Rubyists?
133573 [halostatue@g] I will be in the Bay area on vacation from 18th - 25th March.

Advice on PDF::Writer
133576 [halostatue@g] # Set the stroke style. Assume a PDF object instance.
+ 133578 [joaopedrosa@] I vote for release as 1.0 without the complete API. Else, you will get
| 133579 [horacio.lope] +1   I say do it  :-)
+ 133585 [aredridel@gm] I say release, but call it not-quite-1.0
+ 133685 [surrender_it] pdf.stroke_style= ss
  133701 [halostatue@g] This is partially because of internal implementation issues. The

[SOLUTION] Quoted Printable (#23)
133587 [phurley@gm i] stole Dave Burt's test cases - thank you. I also found one test case
+ 133682 [dave@bu t. d] Quiz tests are for sharing - I think that's established. In any case, you're
| 133723 [phurley@gm i] Thanks for the kind response.
| 133772 [dave@bu t. d] Any TAB (HT) or SPACE characters
| 133778 [phurley@gm i] Thanks for the update on the RFC, guess I should have just read that myself.
+ 133696 [james@gr yp ] (from Patrick's solution--for those who missed it)
+ 133846 [dave@bu t. d] As always, I'm amazed by your concise code. But your solution seems to be
  133868 [flgr@cc n. e] Moin Dave.
  133896 [dave@bu t. d] "Florian Gross" <flgr@ccan.de> responded

Problem with aliasing String#index
133592 [niklas@gr n.] "rollo".index(/../, 1)
133724 [flgr@cc n. e] There's a solution in the ruby-talk:79283 thread that was posted by
133743 [niklas@gr n.] Ah... interesting... but that technique doesn't really work with
133769 [flgr@cc n. e] ...
+ 133779 [phurley@gm i] Thanks for that code, I was lurking reading this thread and have been
+ 133958 [niklas@gr n.] Nice. Thanks a lot. I will probably be able to put that to use.

Autovivification & Javascript (was Re: [ANN] Getting Started with Orbjson tutorial)
133593 [nickwoolley@] I've had positively *painful* experiences with ActionScript (a variety
+ 133598 [dblack@wo bl] You do have to be careful spelling instance variables, as they default
+ 133600 [curt@hi bs c] I've had problems with that level of frustration in *every* language I used

Help: activeLDAP installation
133597 [Bil.Kleb@NA ] I'm stumped.  How do I install activeLDAP?
133603 [rasputnik@he] require 'rubygems'
+ 133604 [rasputnik@he] sorry, that should be 'ruby-activeldap'
+ 133722 [Bil.Kleb@na ] Doh!  I guess my lack of sleep is taking a heavier

RubyGems, RPA and best tool for the job
133606 [batsman.geo@] [I write this reluctantly, such a d?j? vu]
+ 133745 [chadfowler@g] With the same reluctance....
| 133807 [matz@ru y- a] I just don't want to discourage one side by merging another.  If RPA
+ 133788 [bg-rubytalk@] I know there are a lot of people who don't want to talk about RPA and
  133802 [rampant@gm i] Both sides have the *same* goal: Get code from the writers to the users.

need for a class_attr methods collection
133610 [lthiryidontw] I believe there is a need in class_attr methods collection.
133608 [decoux@mo lo] class << self
133609 [lthiryidontw] Oh my! Completly forgotten that way of writing things. Thnaks for the tip.

[newby] class variables and class instance variable?
133611 [lthiryidontw] class Test
+ 133621 [flgr@cc n. e] Currently class variables are also shared between different classes that
| + 133627 [lthiryidontw] I ignored that. *doing some testing* My! You're right.
| + 133644 [wonado@do ne] Wolfgang N?dasi-Donner
|   133645 [decoux@mo lo] With this version of ruby
|   + 133647 [flgr@cc n. e] So the behavior has been changed to lookup by surrounding module/class
|   + 133661 [lthiryidontw] I've refactored a bit the code of Wolfgang. Now, it do a lot of reuse through
|   | 133666 [decoux@mo lo] with 1.9.0
|   | 133668 [lthiryidontw] Thanks a lot! :)
|   | 133659 [decoux@mo lo] no it does the same
|   + 133706 [rhkramer@gm ] (Sorry for the top posting.)
|     + 133708 [rhkramer@gm ] In the previous line, it would have been more clear (and correct ;-) to say
|     + 133725 [lthiryidontw] Oops, there is some confusion here: "class variable", "class instance variable"
|       133758 [rhkramer@gm ] Ok, thanks!  I think I've got the general idea--a class variable and class
+ 133635 [wonado@do ne] Wolfgang N?dasi-Donner
  + 133637 [flgr@cc n. e] It will. Note that the poster said "class instance variable" which is
  | 133641 [wonado@do ne] Wolfgang N?dasi-Donner
  + 133640 [decoux@mo lo] svg% cat b.rb
  + 133643 [lthiryidontw] I've tested your code and I've been surprised that it actually worked. If I
    133672 [wonado@do ne] Wolfgang N?dasi-Donner

Re: Great Computer Language Shootout
133612 [igouy@ya oo ] old
133613 [igouy@ya oo ] old
133622 [w_a_x_man@ya] programs.
133849 [angus@qu va ] [William James <w_a_x_man@yahoo.com>, 2005-03-15 14.56 CET]
133894 [daniel.amela] That always bothered me, since I lose my method chaining with !
+ 133899 [michael.camp] It's been suggested many times.  I agree, but my vote hardly counts.  =)
+ 133900 [hal9000@hy e] It's been discussed a lot over the years. My impression is that

[shootout] n body problem
133614 [martindemell] Here's a first pass at the n body problem in the shootout - I've tried

[ruby2] will '@@' disapear in ruby2?
133616 [lthiryidontw] I remember I have read some post of Matz saying '@@' will disapear in ruby2.
+ 133620 [flgr@cc n. e] AFAIK it will only change in that it will have a better defined role.
+ 133692 [dblack@wo bl] I think you may have read my post saying that if I could change one
| 133707 [lthiryidontw] by skynet.be (unknown) with NNTP id 129042
| 133834 [csaba@ph ny ] I do like having them. In fact, they are globals, wrapped in the
| + 133844 [dblack@wo bl] You can always use class_eval or instance_eval.  I think part of the
| | 133948 [csaba@ph ny ] (c = class_factory).class_eval { puts @@x }
| | 133962 [dblack@wo bl] Ugh.  Well, as I've said, I'd like @@var to disappear anyway :-)
| | 134006 [lthiryidontw] I agree!
| + 133855 [lthiryidontw] There's still class instance variable.
|   133950 [csaba@ph ny ] Yes, you are right, you can in fact go that way. @@ is almost nothing
+ 133695 [matz@ru y- a] Did I?  I remember I admitted it's ugly.
  133713 [lthiryidontw] by skynet.be (unknown) with NNTP id 129044

Re: what about a rails-based gforge like?
133617 [martindemell] I don't think of GForge as primarily a webapp, even though the frontend

Re: n body problem
133618 [igouy@ya oo ] tried
+ 133619 [martindemell] Will do, once the list has had time to improve it. This is just a first
+ 133629 [surrender_it] is the input from the form actually received?
  133636 [igouy@ya oo ] message
  133642 [igouy@ya oo ] The message form seems to operate just fine.

Re: Ruby and white-space delimitation?
133624 [g_ogata@op u] I think this sort of thing has come up before.  Certainly the whole

Re: mod_ruby and irb weirdness
133625 [csaba@ph ny ] While I am far from being able to give you help, I am interested in your

Re: Rubygems doesn't update itself..
133626 [g_ogata@op u] Nice to know.  Thanks.

Is there a working SDL module yet?
133630 [thedcm@gm il] I tried RUDL and Ruby/SDL to no avail
133650 [neil@ha ub .] Ruby/SDL works for me,  maybe you should be more specific about what's

Re: Who's written 10kLOC?
133632 [g_ogata@op u] Good guess.

Ruby Weekly News 7th - 13th March 2005
133633 [timsuth@ih g] Ruby Weekly News 7th - 13th March 2005
133691 [curt@hi bs c] This is awesome, Tim. I don't know how you find the time, but *please* keep

Re: YAML obj merging
133634 [flgr@cc n. e] I'm coming a bit late to this discussion (I've only spotted it after
133648 [sdate@ev re ] I am not able to understand how the collision block thing will work

Re: FastCST 3.0 (Now w/ meta-data, get, and put)
133651 [george.mosch] perhaps you should consider changing the name, it 'sounds' badly.

Mocking new and other class methods
133663 [jeem.hughes@] def testItResizesTheImage
133673 [bob.news@gm ] "jeem" <jeem.hughes@gmail.com> schrieb im Newsbeitrag
+ 133676 [jeem.hughes@] Sorry, I'll try to clarify.
| 133689 [bob.news@gm ] "jeem" <jeem.hughes@gmail.com> schrieb im Newsbeitrag
| 133693 [jeem.hughes@] Let me try again.
| 133699 [bob.news@gm ] "jeem" <jeem.hughes@gmail.com> schrieb im Newsbeitrag
| 133766 [jeem.hughes@] Jim
+ 133677 [jeem.hughes@] (I just noticed this part of your note.)
  133690 [bob.news@gm ] "jeem" <jeem.hughes@gmail.com> schrieb im Newsbeitrag

One Click Installer
133665 [bugmenot@wo ] Will there be a release of the One Click Installer (at least patching bugs
133674 [wonado@do ne] Wolfgang N?dasi-Donner
133675 [Stephan.Kaem] You'll need to place a file called ".inputrc" at the right place

Re: Feature or bug ??
133681 [lthiryidontw] It's a bug. (or a really surprising feature)
133712 [matz@ru y- a] A "super" without any argument nor parentheses would pass all given
+ 133716 [nobu.nokada@] A "super" (with or without arguments) would pass the block
| 134007 [lthiryidontw] If even Matz does mistakes when explaining something about ruby, then how can
| 134024 [matz@ru y- a] It's not uncommon for me to make mistakes.  This case I forgot you
| 134030 [lthiryidontw] Mmm, I realize I haven't truly looked at this problem from the other potential
| + 134031 [matz@ru y- a] Thank you.  I hope you will find it convenient.
| + 134449 [matju@sy pa ] super and super(...) are method calls in the sense that a method of some
+ 134012 [cmills@fr es] What about making those who want to pass a block to super do something
  134026 [matz@ru y- a] It may be more consistent, I don't know.  But I know it makes programs
threads.html
top