106604-122661

106419-108647 subjects 106823-112265

^ Do you want ":=" operator?
106604 [xiangyu.yang] (I may start a new thread. )
106606 [xiangyu.yang] I can't use << and other operators, for they are all meaningful in my
+ 106607 [matz ruby-la] I don't think I'm going to add ":=" just for cosmetic purpose.  But
| 106610 [xiangyu.yang] my
| 106611 [matz ruby-la] Then how about changing R0 to R[0]?
| 106617 [ptkwt aracne] I suspect that the problem with doing this would be that R0 and R1 are
| + 106618 [vjoel PATH.B] R[0]=R[0]&R[1]
| + 106619 [hal9000 hype] But then this would become R[0][0]. Not *so* bad perhaps.
|   106622 [xiangyu.yang] It seems that I need more words to explain my CPU model. I'll show why
|   + 106625 [ptkwt aracne] Quite true, you would lose all your 'future' (as in events scheduled
|   + 106627 [nobu.nokada ] Isn't this acceptable?
|     106631 [xiangyu.yang] on
+ 106614 [ptkwt aracne] yes, usually these operators ('<<' and '>>' ) are used for shifting or
| 106624 [xiangyu.yang] You may wonder why I focus on program appearance so much. The key point
| 106636 [martindemell] How about writing a small preprocessor that converts := to .value= ?
+ 106654 [surrender_it] R0.set or set(R0, newvalue) could be acceptable :)

^ ActiveRecord PostgreSQL patch
106605 [mccallister ] As ActiveRecord doesn't have a bug tracker or mailing list, I am not
106632 [david loudth] Thanks for the patch. In the future, you can post such patches to

^ Fundamental question
106620 [Meino.Cramer] when I am using rbbr, I get at anytime the same out -- despite the
+ 106621 [hal9000 hype] I can't answer your question. I hope someone can.
| + 106629 [rcoder gmail] In rbbr, you have to import the modules you want to examine manually;
| + 106651 [jgb3 email.b] It's not hard, but it's not pretty, either. You have to use the
+ 106647 [angus quovad] [Meino Christian Cramer <Meino.Cramer@gmx.de>, 2004-07-16 07.17 CEST]

^ test please ignore
106626 [jm transact.] this is a test due to problems with my mail server. please ignore.

^ Another little algoritmic help needed...
106642 [Meino.Cramer] I want to produce from a give string all permutations of its
+ 106643 [martindemell] See also http://rec-puzzles.org/sol.pl/combinatorics/permutation
+ 106653 [Ruben.Vandeg] Seemed like a nice little challenge... so this is what i came up with.
| 106655 [Ruben.Vandeg] Just for clarity.. my solution is recursive, but it doesn't have the 2
+ 106781 [discussionru] There is a solution in the pleac cookbook, I have transferred it from
  106822 [assaph avaya] class Array
  106870 [WBrown isoft] charset="us-ascii"

^ [BUG] rb_gc_mark(): unknown data type 0x34(0x8a69570) non object
106657 [Ruben.Vandeg] perm.rb:17: [BUG] rb_gc_mark(): unknown data type 0x34(0x8a69570) non object
106659 [decoux moulo] In rb_callcc(), th->thread is assigned too late (and not set to zero in
106699 [matz ruby-la] Thank you.

^ man pages for ruby - was Re: Fundamental question
106660 [ahoward noaa] ~ > cat sample.rd
106671 [guslist free] Linux Doc Book supports man pages. You can create the sgml with lyx  for

^ Altering method lookup
106663 [DocBoobenste] I'm working on a project based on a Smalltalk paper, and a part of it
+ 106664 [decoux moulo] Search for CLOS method combination in ruby-talk
+ 106665 [surrender_it] was'nt it doesNotUnderstand: ?
+ 106672 [martindemell] I'm not sure I understand this - why would you expect bar to be
  106690 [DocBoobenste] Thanks to everyone who posted suggestions and links. They are quite

^ Wo publishes Pickaxe II?
106668 [mvondung gmx] Might have missed a message, but has it it been mentioned who is going
+ 106669 [mvondung gmx] The "wo" in the subject line should have been "who". Dang, I should pay
+ 106670 [Stephan.Kaem] Dava and Andy. (see http://www.pragmaticprogrammer.com/)
| 106706 [childNOSPAM ] Marek Janukowicz
+ 106677 [dave pragpro] It's published by The Pragmatic Bookshelf, and will be available both
  106696 [mvondung gmx] Thank you, this is excellent news. Lehmanns is perfect, that's where I

^ Dynamically replacing methods for efficiency
106675 [hal9000 hype] I have an idea here, but I'm afraid of crossing the line from
+ 106676 [lyle.johnson] I have a nagging feeling that aspect-oriented programming figures in
| + 106678 [jbshaldane h] Have you checked the AOP proposal?
| | 106681 [hal9000 hype] Very interesting. In the universe of that page, the sets
| + 106679 [hal9000 hype] That is probably true, but I am not necessarily looking for a major
| + 106685 [jim freeze.o] Sounds like adaptive programming (used alot in mobile
|   122661 [blydyuqx sea] ...
+ 106680 [aero6dof yah] Exactly, you *never* want to code yourself into a corner where one
| 106688 [vjoel PATH.B] IIRC, you'll get better performance if you arrange the tracer so you can
| 106726 [aero6dof yah] can
| 106729 [martindemell] If trace is set to ignore its argument, trace message will evaluate
+ 106682 [flgr ccan.de] Maybe something like this will work reasonably?
| 106683 [rubylist0981] I'm totally new to ruby, but it seems like blocks are the right way to
+ 106684 [ahoward noaa] look at my source for arrayfields - i do exactly this.  the general idea is as
+ 106686 [sean celsoft] Perhaps "states" would apply here.  Check out [ruby-talk:103859].
+ 106704 [bob.news gmx] "Hal Fulton" <hal9000@hypermetrics.com> schrieb im Newsbeitrag

^ Using Ruby for hardware design/EDA?
106689 [ptkwt aracne] I've seen a few posts recently where people seem to be using Ruby to
+ 106705 [mneumann nte] no, but I would use if it becomes a good "alternative" to VHDL etc.
+ 106816 [xiangyu.yang] questions

^ Bug? String literal %s{#{a}} cause irb to abort
106691 [alex verk.in] irb(main):001:0> s = "#{aaa}"
+ 106698 [matz ruby-la] It's a bug in irb.  Thank you for the report.
+ 106700 [nobu.nokada ] Does this help?
  106711 [alex verk.in] The bug I reported earlier is not reproduced, but there is some other
  106715 [nobu.nokada ] $ ruby -e '%s' -e ''
  106718 [alex verk.in] You are right, it doesn't assign anything to the variable, just delays
  106721 [discord mac.] irb(main):009:0> a=%s
  106723 [alex verk.in] Aha... now I understand.
  106725 [discord mac.] In this test, I used a plus sign to indicate that the statement should
  106728 [alex verk.in] Thanks for the explanation. Acquiring such subtle understandings is what

^ tk_trace_variable
106692 [vjoel PATH.B] Does anyone know why tk_trace_variable, in tk.rb, is commented out in
106717 [nagai ai.kyu] I'm very sorry. It was my mistake.

^ Optimizing Ruby
106693 [jm zzzzzzzzz] Anyone know of a Ruby book with a chapter devoted to optizing Ruby?  Or
+ 106703 [DocBoobenste] I'd be interested in such a collection too. Now that I've learned to
+ 106829 [bob.news gmx] "Randy Lawrence" <jm@zzzzzzzzzzzz.com> schrieb im Newsbeitrag
+ 106963 [drejewic wsi] In "Ruby Developer's Guide" published by Syngress you will find a

^ [ANN] midilib 0.8.3
106697 [ jimm io.com] midilib is a pure Ruby MIDI library useful for reading and writing standard

^ ext/dl problem with unsigned char*
106701 [jm zzzzzzzzz] The string I pass to a c function does not appear to get modified if I
+ 106702 [jm zzzzzzzzz] Well...it seems just keeping it as "char*" in ruby seems to work fine
+ 106776 [ttate ttsky.] Basically pointer types are treated as 'void*', but 'char*' is treated

^ IRB crashing silently with non ASCII characters?
106707 [surrender_it] I just noticed that if I type italian accented letters in a irb

^ Re: scripting language
106713 [rich infoeth] Its very stable and I think would meet your needs.

^ Having Trouble with IO.popen example
106714 [ foo foo.com] I am new to ruby and I am reading the SAMS "Teach yourself Ruby in 21
106716 [msparshatt y] this should be
106720 [ foo foo.com] Thank You:)  That did the trick:)

^ Problem with defined?
106722 [dirk.einecke] class CgiParamsToLocal
+ 106727 [flgr ccan.de] Moin!
+ 106732 [bob.news gmx] "Dirk Einecke" <dirk.einecke@gmx.de> schrieb im Newsbeitrag

^ Ruby require path issues
106724 [nick activeh] How does one get $: to seamlessly include the directory of the parent
106810 [assaph avaya] $LOAD_PATH << File.expand_path(File.dirname(__FILE__))

^ rfind-1.0: search-on-typing for all your files
106730 [martin.anker] I have created a little application that indexes a given directory,
+ 106733 [flgr ccan.de] Moin!
| + 106737 [michael.fivi] </michael fivis>
| + 106761 [martin.anker] I already use Find.find, it's somewhere in src/hierarchy.rb. But I
+ 106750 [nick activeh] If Microsoft used Ruby, Longhorn would already be out :).

^ [NUBY] Code sample from The Ruby Way
106731 [alex verk.in] class String
106734 [flgr ccan.de] It looks like a bug -- the only Object that returns true on .nil? in

^ [QUESTION] : about class method
106735 [kurk_lord no] can somebody tell me if a class method can call (or use) a instance method ?
+ 106738 [alex verk.in] WHICH instance of Foo would you expect it to call?
| 106739 [alex verk.in] Sorry, hit "send" too fast.
+ 106749 [dooby d10.ka] You could arrange the "bar" instance method so that it calls a class method
+ 106760 [kurk_lord no] Thanks for all guys,

^ [NUBY] Ruby Way code for shuffling an array doesn't behave as expected
106736 [alex verk.in] One example in The Ruby Way claims that in the following snippet second
+ 106740 [msparshatt y] This is due to changes in Ruby between v1.6.8 and 1.8
| 106742 [alex verk.in] So, Ruby iterators operate on the original collection and let you modify
| 106743 [discord mac.] I'm not sure that an exception would be The Right Thing, but I do
| 106745 [alex verk.in] A smilie was inadvertently omitted in my earlier post. It should have
| 106746 [nospam nospa] One alternative solution is to provide for all three options using a
+ 106741 [discord mac.] It appears that #each is being affected by the slicing of the array
+ 106764 [flgr ccan.de] By the way, if you just want to shuffle an Array you can also use the
  106770 [hal9000 hype] And by the way, the code which modified the array while iterating

^ Ruby way to make a thumbnail of an AVI on Linux
106744 [cpine hellot] I'm looking for a way to take the first frame of an AVI and turn it into a thumbnail.  The program is running on my linux server.  I tried rmagic a while back (which I love, BTW), but it didn't work... something about some kind of bad chunk type or something, IIRC.  Does anyone know of any way to do this?
106775 [cyclists nc.] Thanks for the compliment!

^ Fine Grained Security in Ruby 2.0?
106747 [nospam nospa] Are there plans to provide more control over the security options
+ 106765 [flgr ccan.de] Moin!
| 106766 [surrender_it] +1 from me.
+ 106768 [matz ruby-la] No plan.  Just because I don't have any good idea for fine grain

^ Request: Lib to  create HTML E-mail?
106748 [jamesUNDERBA] I'm looking for code to create HTML E-mail.  I'd rather not re-invent
+ 106769 [khaines enig] I do HTML emails regularly, using tmail.  They, however, are simple straight
+ 106773 [opengeometry] For dis/assembling MIME email, look over
  106779 [jamesUNDERBA] I shall do that now!

^ DUPSETUP
106751 [cmills frees] I was wondering what the purpose of the DUPSETUP() macro is in ruby.h.
106757 [dooby d10.ka] I guess it may, eventually, be replaced by rb_obj_init_copy
+ 106758 [dooby d10.ka] Sorry, to save someone correcting me ...
+ 106777 [cmills frees] Thanks for the response.
  106808 [dooby d10.ka] Yes, I think, because it's a part of constructing an empty object

^ REXML : add text to element without temp variable?
106752 [cdbaby gmail] <music>
+ 106763 [aengstrom gn] doc =3D Document.new
+ 106778 [cdbaby gmail] Thanks everyone for your help.
  106795 [gsinclair so] Or some more energetic music!? :)

^ other meanings of ( and ) aka Lispy usage
106753 [nick activeh] What's the meaning of ()  outside of being function parameter delimiters
+ 106755 [discord mac.] First, there is the expression grouping. That is what lets you say (23
| 106772 [nick activeh] I think "statement grouping" clears it up for me. I guess in another
+ 106756 [jamesUNDERBA] Well, they help define evaluation order for expressions.
  106774 [nick activeh] Thanks. The code example is enlightening.

^ Ruby Debugger options: v[ar] g[lobal] ...
106771 [jay fleeingr] I am confused about a feature of the Ruby debugger. The debugger documentation lists all the
+ 106811 [jay fleeingr] Tonight I fooled around with the debugger, and I found that the v[ar] g[lobal] and v[ar] l[ocal]
+ 106936 [matz ruby-la] I can't reproduce your problem.  More information please.
  + 106951 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
  | + 106952 [decoux moulo] /usr/local is 1.8.1, r182 is 1.8.2
  | + 106967 [jay fleeingr] ra88it:~ jcotton$ uname -a
  + 106965 [jay fleeingr] I compiled and installed Ruby 1.8.1 with the default configuration on a G3 PowerPC running Mac OS

^ Looking at a Class's source
106780 [DocBoobenste] Is there a way to look at the source of a class? E.g.
106787 [halostatue g] Not without going back to the actual source files. Ruby does not keep
106788 [DocBoobenste] Alright, understandable. Now the one question that remains (sorry for
106789 [halostatue g] I'm not understanding your question. Ruby interprets the code into an
106794 [DocBoobenste] Aha. I'll look into it, thanks.

^ ruby idiom for parsing function arguments?
106782 [sean.zuzu gm] this may be a silly question, but can someone provide for me the ruby
106783 [cc1 cec.wust] optparse, getoptslong, getopts::declare are all for parsing commandline
106803 [sean.zuzu gm] 1.) information on this looks scarce. other than just reading
+ 106809 [halostatue g] foo(bar, baz, :a => a, :b => b)
+ 106830 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
  106831 [sean.zuzu gm] word.  http://c2.com/cgi/wiki?DuckTyping
  + 106832 [assaph avaya] to the
  + 106833 [surrender_it] look in the archives of the group for exact definition. I think the
  + 106835 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
  + 106871 [aredridel nb] In essence, I don't: I don't ask what class and object is, I tell it to

^ Current method
106784 [DocBoobenste] How could I know which method (if any) is currently being executed? E.g.
106785 [jamesUNDERBA] Here is an example based on something I believe Rick Kilmer posted here
+ 106786 [DocBoobenste] Hmm. So there is no built-in way of doing this? What about lambdas?
+ 106801 [flgr ccan.de] Using Binding.of_caller (available from

^ ruby-1.8.2-preview1-i386-mswin32.zip (2004-07-16)
106802 [nospam nospa] ruby-1.8.2-preview1-i386-mswin32.zip (4,732KB)

^ RubyGarden Wiki spammed again
106804 [cyclists nc.] Subject says it all.

^ ANNOUNCE: #ruby.dk @ irc.freenode.net
106807 [madsen lille] Actually this is a re-announce, we're just starting to get bored. :-)

^ Ruby equivalent of C# StringCollection container?
106812 [no_replies f] What is the Ruby equivalent of the C# StringCollection container?
106813 [rich infoeth] a  = ['rich', 'dave', 'tom']
106917 [no_replies f] Richard,
106957 [JRoshan blr.] charset="us-ascii"

^ Vim-Ruby [Was: Anyone tried Arachno Ruby?]
106818 [harryo qiqso] I figured as much.  In fact, I was sure I'd used it at one point, but failed to find it when I looked recently.
106836 [djkea2 mugca] Yes; too many hours of my life typing sourceforge!  :-)

^ Which compiled language is closest to Ruby?
106819 [nospam nospa] I am currently using C++ as my compiled language but fell in love with
+ 106820 [jgb3 email.b] Well, there's Groovy. It depends on what you mean by "compiled". Groovy
+ 106821 [mailinglists] You can find this only in the area of functional languages. I don't
| 106827 [just-for-new] Sather comes to my mind. It seems it is not longer supported but at
+ 106825 [martindemell] I've been looking at OCaml recently, and it seems like a pretty decent
+ 106834 [surrender_it] Look for some kind of smalltalk. I think they're usually jitted like
+ 106849 [grzegorz pit] Apart from ML dialects such as SML or Ocaml, there are Lisp variants. These
| 106873 [rcoder gmail] If you're considering Lisp, you might take a look at Goo -- it's an
+ 106924 [cc1 cec.wust] While technically interpreted from byte code C# in version 2.0 will have
| 106938 [surrender_it] and the ICollection api seems quite similar to Enumerable in C# 2
| 106946 [JRoshan blr.] charset="us-ascii"
+ 106930 [schnitkerAff] Isn't that obvious?  C++, of course.
| 106950 [bob.news gmx] "Uwe Schnitker" <schnitkerAffenschaukel@sigma-c.com> schrieb im
| 107056 [schnitkerAff] No.
| + 107067 [rasputnik he] First off, I'd admit I'm not a C++ programmer at anything other
| + 107075 [bob.news gmx] "Uwe Schnitker" <schnitkerAffenschaukel@sigma-c.com> schrieb im
|   + 107152 [schnitkerAff] <SNIP>
|   + 107153 [schnitkerAff] <SNIP>
|     107169 [bob.news gmx] "Uwe Schnitker" <schnitkerAffenschaukel@sigma-c.com> schrieb im
|     107173 [mailinglists] Look at Objective-C which is also full backward compatible to C and
|     + 107175 [surrender_it] or maybe a revolutionary step backward :)
|     + 107181 [nospam nospa] I read that the real reason C++ is complex is because it is a product of
|     + 107183 [bob.news gmx] "Lothar Scholz" <mailinglists@scriptolutions.com> schrieb im Newsbeitrag
+ 106947 [ged.byrne gm] For a fully object oriented compiled language you might want to take a
| 107438 [snowzone5 ho] the windows version is a 60+ meg download...and i think it mentioned
| + 107459 [michael.camp] Not sure where you're getting some of those numbers, but a
| | + 107462 [jgb3 email.b] I believe he is referring to the size of the .NET runtime, which must be
| | + 107496 [nospam asdlk] Will that .NET program run on a machine without .NET runtime already
| + 107507 [ged.byrne gm] Eiffel Studio is a large download, but that is an entire development
+ 107061 [shugo ruby-l] Did you tried Sather?
+ 107087 [jfh cise.ufl] I haven't seen anyone mention it, but I believe Objective C has a similar
+ 107217 [avi beta4.co] What do you really mean by "compiled"?  Are you interested in
| 107243 [nospam nospa] Great questions.
| 107264 [avi beta4.co] Ok.  The closest thing to Ruby, then, is almost certainly Smalltalk/X,
+ 107292 [wsdngtmp onl] D (http://www.digitalmars.com/d/) is very similar to C++ and has
  107313 [rcoder gmail] You also might consider using Objective-C: easy to link into C
threads.html
top