167334-168102

167090-169742 subjects 167523-168418

^ Re: RRobots - ducks, armed and dangerous
167334 [edder tkwspi] Just tried it out, and here is the first bug report. You use \\ for the
167337 [SimonKroeger] Doh!
+ 167342 [nohmad gmail] ...
| 167344 [SimonKroeger] Hehe, nice!
| 167395 [hhausman gma] You get a gold star on the chart for the day!
| + 167404 [SimonKroeger] to cool.
| | 167439 [hhausman gma] no, you're too cool. ;)
| + 167409 [edder tkwspi] After quite a bit of tweaking I'm also ready to release my aptly named
| | 167427 [faivrem gmai] Against SittingDuck, it performed very badly :)
| | 167473 [edder tkwspi] Yeah SittingDuck is a though one, it seems only NervousDuck is really
| + 167490 [SimonKroeger] I hope i got it. Would you download v0.1.2 and try it?
|   167492 [hhausman gma] Just downloaded it. It's killer... Absolutely rockin'
+ 167450 [flecktone gm] I added a little status display in the canvas so each robot's health
  + 167452 [flecktone gm] Just wanted to add, well done, and I'm looking forward to creating some robots!
  | 167460 [jannis harde] I converted a new explosion animation based on the robocode one but
  | + 167472 [SimonKroeger] Hehe, nice!
  | + 167517 [ces.fci gmai] Another robot to play with...
  |   167543 [SimonKroeger] I wasted my time creating my first real bot (should have fixed
  |   167546 [jeff.darklig] I think this has grown enough that there needs to be a separate website &
  |   167627 [SimonKroeger] true,
  |   167628 [jeff.darklig] I"m saying there's been a lot of traffic on the topic over the past
  |   167676 [kero chello.] And you'll have to continue making noisy, shooting ducks on this list.
  |   167701 [SimonKroeger] Maybe this can entice you: :)
  + 167477 [SimonKroeger] Thanks,
    167479 [gavin refine] Feature request: support an arbitrary number of bots on the field,

^ [SUMMARY] Euchre Hands (#55)
167346 [james graypr] My wife can't stand how Euchre reorders the suits.  "Everyone know Jacks come
167350 [bob_showalte] Having much to learn, I have since discovered that it works fine even if

^ UDP Socket problem
167349 [xrfang hotma] I try to write a comm program based on udp broadcasting protocol. I did the
+ 167351 [decoux moulo] I can't reproduce
| + 167425 [xrfang hotma] I run the program on winxp, is that causing problems???
| + 167435 [xrfang hotma] I have tested this on my linux, it worked fine, but this problem do exist on
+ 167448 [vjoel path.b] Can't reproduce that. Does it happen repeatably? Does it happen if you do
+ 167449 [kozlov.y gma] yuray@yuray:~/r$ ruby --version
  167540 [xrfang hotma] This problem confirmed to be a winsock problem, not ruby's. tks! btw, I run

^ Re: Euchre Hands (#55)
167352 [james graypr] Yes, but I think it was more correct as is, since it showed that it was

^ SOAP Problem with Non-ASCII Characters
167355 [achim.domma ] I use Ruby to access a .Net Webservice which returns german umlauts
167564 [nakahiro sar] If your server allows UTF-8, whichever of these should work.

^ Legal symbol names and generics
167356 [drjflam gmai] I've just started thinking about generics in my Ruby <=3D> CLR bridge. This=
+ 167360 [drjflam gmai] channel =3D ChannelFactory<IOutputChannel>("
| 167376 [gwtmp01 mac.] I'm not sure I follow your example relative to the arguments to new
| 167382 [drjflam gmai] Whoops forgot to reply-all on this one.
| + 167384 [florgro gmai] Use a method .fetch for indexers on classes?
| | 167385 [drjflam gmai] Yes - this is by far the most straightforward way of making this happen.
| | 167391 [sean.ohalpin] You could use a factory method - method names and constants are disjoint.
| + 167398 [hgs dmu.ac.u] I've come in on the middle of this and don't know how to interpret
+ 167362 [lopexx autog] x = :"< ... >"
  + 167363 [drjflam gmai] QWgsIHNvIGl0IGlzLCBidXQgaWYgSSBvdmVycmlkZSBPYmplY3QuY29uc3RfbWlzc2luZywgSSBz
  | 167369 [dblack wobbl] I think constant names with < and > would be so hard to read for
  | 167371 [drjflam gmai] Thanks David, I wasn't really thinking about those corner cases at all
  | + 167373 [decoux moulo] What is the type information ?
  | | 167377 [drjflam gmai] The type information is a CLR type reference (in this case an interface
  | + 167374 [dblack wobbl] ChannelFactory<IOutputChannel>("
  |   167378 [drjflam gmai] The problem here is that ChannelFactory is a CLR generic type, which is
  |   167386 [pit capitain] def Dictionary.[]( *types )
  |   167389 [daniel.schie] Though of course it should be
  + 167364 [lopexx autog] oops...
    167366 [drjflam gmai] U29ycnkgYWJvdXQgdGhlIG1pc2xlYWRpbmcgc3ViamVjdCA6KSBJIGp1c3QgbmVlZCB0byBmaWd1
    167370 [dblack wobbl] Maybe you should use nested constants (using ::).

^ Re: Pickaxe tutorial section missing info on writing to file
167357 [james graypr] File.open("data.txt", "w") do |file|

^ [ANN] New beta of Komodo 3.5 includes Ruby interactive shell
167381 [eric.promisl] The Ruby interactive shell is finally available for Komodo, like

^ Mac OS X TK
167396 [james graypr] Is it possible to get a pure aqua TK running through Ruby on Mac OS X?
+ 167399 [M.B.Smillie ] Was (apparently) recently merged with Gnome CVS, so should presumably
+ 167403 [rf.oodanaw s] <http://tcltkaqua.sourceforge.net/>
+ 167486 [logancapaldo] If you use the apple installed ruby its all of
| 167494 [james graypr] If you have X11 installed.  I have this working now.  Thanks.
| 167500 [hramrach gma] tcltklib is the part that requires tcltk iirc.
| 167502 [james graypr] $ ruby -r tk -e1
| + 167504 [peter semant] I tried the following on my Powerbook, 10.4.3. I believe that I have run
| + 167562 [nagai ai.kyu] It loads older version of 'tkutil.so'.
|   167563 [james graypr] Hmm, I assume that means the --enable-mac-tcltk-framework option
|   167568 [nagai ai.kyu] 'tkutil.c' does NOT depend on Tcl/Tk libraries.
|   167589 [james graypr] And this compile would have happened as a natural part of Ruby's
|   167593 [nagai ai.kyu] I don't know the directory name of Ruby's dynamic library on MacOS X.
|   167601 [james graypr] ["/usr/local/lib/ruby/site_ruby/1.8", "/usr/local/lib/ruby/site_ruby/
|   167640 [nagai ai.kyu] Hmm... Don't you have tkutil.* in
|   167679 [james graypr] No, that directory appears to bee empty.
|   + 167703 [nagai ai.kyu] The change about _define_attribute_aliases was done at
|   | 167713 [james graypr] $ /usr/local/bin/ruby -r tk -e 'p TclTkLib::RELEASE_DATE; p
|   | 167721 [nagai ai.kyu] Ah, sorry.
|   | + 167763 [james graypr] RELEASE_DATE = '2004-12-24'.freeze
|   | | 167824 [nagai ai.kyu] Hmmm...
|   | | 167844 [james graypr] Bingo!  That fixed it.
|   | | 167921 [ezra yakima-] James-
|   | | 167925 [gavin refine] I certainly would. I have Tk working by using the built-in /usr/bin/
|   | | 167937 [gregory.t.br] If you have not yet installed 1.8.3 / 1.8.4, you shouldn't have any
|   | | 167971 [james graypr] Greg is right that most of my trouble was causes by bad library
|   | + 167765 [james graypr] Yes, I always extract to a clean directory.
|   + 167730 [nagai ai.kyu] Oh! tcltklib on 1.8.2 doesn't support many of those configure options.
+ 167682 [gregory.t.br] James, if you do get this working with non-apple install ruby...

^ Mac OS X TK
167406 [james graypr] Is it possible to get a pure aqua TK running through Ruby on Mac OS
167408 [gregory.t.br] ...

^ system() on windows
167407 [snacktime gm] I'm trying to figure out why a particular system command is returning
+ 167411 [lyndon.samso] Windows return codes where never as standardised as Unix. Plus dir is part
+ 167421 [damphyr free] Try cmd=ExecCmd.new("rake");puts cmd.success?;puts cmd.output  using the
| 167443 [snacktime gm] In initialize block_given? is returning false for me.  Any idea why?
| 167447 [damphyr free] Did you pass a block? Actually I missed cmd.run in there (what do you
| 167518 [snacktime gm] Ya I shouldn't be up this late either.  No I didn't pass the block:)
+ 167446 [eule space.c] (In response to
| 167488 [greg.kujawa ] How is this broken? the system() method works directly with the Windows
| + 167508 [eule space.c] eule@makkara:~> rake
| | 167821 [greg.kujawa ] You're correct. The fact that system() works much differently under
| + 167738 [w_a_x_man ya] No;  system('cal') works.
+ 167521 [eule space.c] A small follow up...
+ 167736 [nobuyoshi.na] system('rake.bat')

^ ruby/rails where is the obj session?
167412 [sayoyo yahoo] Does any one knows where the object "session" in rails is stored? Is it
167432 [tobias.luetk] its stored on the server's file system by default but there are other

^ rails:  Will controller obj be created (re-created) each time an action is called
167413 [sayoyo yahoo] Does someone know if the controller obj is created (re-created) each
167415 [james_b neur] James

^ From where can I download SOAP for Ruby?
167414 [wikied gmail] Thanks.
167419 [tsumeruby ts] If you wish to use the latest version of soap4r, the web site where the files

^ It's part of the standard library (was: Re: From where can I download SOAP for Ruby?)
167416 [james_b neur] You're welcome.

^ Improving min/max for Range
167420 [madevilgeniu] Range relies entirely on Enumerable to implement #min and #max, which
167424 [matz ruby-la] #min makes sense.  I'd like to merge your idea.  #max needs to
167429 [madevilgeniu] Good point. I think max should throw if the number doesn't support the
167430 [matz ruby-la] I've just committed my implementation of Range#min and #max to CVS
167433 [madevilgeniu] I see you decided to return nil instead of throwing; acceptable, I
167441 [matz ruby-la] Sounds reasonable.  Can you check my new modify?
167520 [madevilgeniu] Great, that works. Thanks.

^ Zlib issue
167423 [breno.leitao] I am having a issue trying to compile the zlib for ruby. I think I am
167440 [pjhyett gmai] Have you installed zlib?

^ Keyword based text summarizer ?
167442 [phukan_ruban] Are there any text summarizer in ruby to generate search result page summary from the complete text based on the searched keywords.
167459 [gene.tani gm] Yes.  (also a source code indexer, gonzui)
167929 [phukan_ruban] Thanks Gene.

^ platform.rb (was: PLATFORM tests)
167445 [eule space.c] Matt Mower has developed a PLATFORM matching library that seems quite

^ [ANN] Rote - Textual templating for website and docs
167451 [rosco roscop] I'd like to take a moment to introduce Rote, a static page rendering and

^ Faster way to pick the every other array member?
167453 [damphyr free] we have [1,2,3,4,5,6,7] and want [2,4,6]
+ 167455 [christophe.p] fields = ["a", "b", "c", "d", "e", "f"]
| 167456 [gene.tani gm] ...
+ 167457 [SimonKroeger] f = true
| 167458 [christophe.p] are rather dirty hacks.  They are short but they do not clearly convey
| 167464 [gene.tani gm] require 'enumerator'
+ 167467 [dblack wobbl] irb(main):016:0> a = [1,2,3,4,5,6,7]
| + 167516 [matti.georgi] module Enumerable
| + 167544 [jzakiya mail] res=[]; 1.step(a.size-1,2) {|n| res << a[n] }
| | 167545 [jeff.darklig] I'm kind of surprised that you don't get an array of values back if you cal=
| | + 167547 [dblack wobbl] I can see your reasoning though I tend to come down on the side of not
| | + 167560 [ mfp acm.org] a = (0..20).to_a
| |   167577 [jeff.darklig] Other than having to do the * that's very cool.
| + 167561 [jzakiya mail] res=[]; 1.step(a.size-1,2) {|n| res << a[n] }
+ 167471 [dooby d10.ka] #--------
+ 167484 [gregory.t.br] class Array
+ 167527 [pit capitain] fields.values_at(*(0...fields.size).select{|i|i%2==1})
+ 167541 [w_a_x_man ya] fields.values_at( 1,3,5 )

^ SOAP / EncodingStyle
167454 [fabienpenso ] I've been trying to do something with SOAP for hours with no luck. I
167582 [nakahiro sar] I think the cause of the problem is that you are sending
167778 [fabienpenso ] Works like a charm. Thanks !

^ Tree class
167461 [faivrem gmai] Is there a tree class in the language or a good lib out there ?
167462 [bob.news gmx] Kind regards
167463 [faivrem gmai] Thanks for your reply.
167469 [ruby.brian g] The question should be what you want to do with your tree. You should
167511 [faivrem gmai] My question was simple, the concept of tree is simple too, I don't
167512 [ruby.brian g] What I wanted to say, was that most probably you do not have to

^ `finalize' method?
167465 [daniel.schie] Yeah, it's me again, your friendly neighbourhood power-suggester!
+ 167468 [jim-keyword-] class Klass
| + 167470 [daniel.schie] In that case I'd expect $global_reference to be nil after the `finalize'
| | + 167475 [jim-keyword-] "after the 'finalize' method is done" => Tricky.
| | | 167478 [daniel.schie] I just think it's weird that PHP has destructors and Ruby doesn't ;)
| | | 167480 [hgs dmu.ac.u] I find this tricky too: the only model I can think of is that where
| | | 167489 [daniel.schie] No, not really. I really can't stretch enough that I'm a noob... :)
| | | + 167491 [logancapaldo] Matz has also said that define_finalizer was in ObjectSpace on purpose to
| | | + 167498 [hgs dmu.ac.u] The braces, curly brackets, are a block.  The CS people will tell
| | |   167501 [daniel.schie] class Klass
| | |   167503 [hgs dmu.ac.u] # like releasing resources, yes.
| | |   167529 [daniel.schie] What would you call such an approach? Encapsulating? I use this often
| | |   167576 [decoux moulo] A bad approach, at least for me.
| | |   167583 [daniel.schie] module Encapsulatable
| | + 167514 [matti.georgi] This would force the interpreter to keep a back reference for all
| + 167497 [chneukirchen] What's the problem if this method ran on the first GC once and then
|   167505 [jim-keyword-] (1) Detecting that the finalizer has created new reference to a object
|   167513 [chneukirchen] No, this is not required by my scheme.  Methods which have a finalize
+ 168099 [peter no-non] How about making self a WeakRef in the finalize method?
  168102 [eric.mahurin] Or just say in the docs that any references to self will become

^ Re: string range membership
167466 [jim-keyword-] How about "within?" for a value within a given range?
167474 [dooby d10.ka] (0..5).within?(3)
167534 [flori nixe.p] Yes, I agree. I think, just finding a new word for a method that does
+ 167621 [logancapaldo] I was going to suggest r.has_element?(x) for the equavilent of #member.
+ 167623 [transfire gm] Florian, your double dispatch is interseting. While I still have no

^ SOAP 'Mapping error'
167476 [gandalfmeist] I'm trying to expose a few methods for database searching & updating
167584 [nakahiro sar] The method "update" at server side returns DBI::StatementHandle as a
167613 [fghfghfh hom] Ahh.. I understand. Thx for the clarification.

^ recursion
167481 [cyberco gmai] I'm trying to print every combination of three characters from the
+ 167483 [erik terpnet] ('aaa'..'zzz').to_a
| + 167482 [erik terpnet] Or 'a'..'zzz' if you want every combination 'up to' 3 characters.
| + 167660 [cyberco gmai] Thanks! That is certaily a elegant solution, but I wonder what the
|   167669 [g_ogata optu] ('aaa'..'zzz').to_a is clearly a call to Range#to_a.
+ 167485 [nathan.smith] charset=US-ASCII;
+ 167487 [ruby.brian g] Thoug 'aaa'..'zzz' is certainly the most elegeant, maybe it would help
+ 167535 [meta pobox.c] Definitely not recursion.  Consider that your problem is equivalent to
| 167698 [gavin refine] ( 'aaa'.to_i(36)..'zzz'.to_i(36) ).map{ |i| (str=i.to_s(36)) =~ /^[a-
+ 167661 [cyberco gmai] __________________________

^ Dynamic finding of missing constants.
167493 [Ola.Bini ki.] I'm doing some slightly interesting things with Ruby, and I wanted to know
+ 167495 [james graypr] Yep, const_missing().
| 167499 [Ola.Bini ki.] Ah, sorry. Thanks for the pointer. I thought I checked for it. But
+ 167496 [decoux moulo] You have Module#const_missing

^ Newbie Mixin Problem
167507 [jonathan.ruc] about it I'm attempting to re-write some of my Java code. However I
+ 167509 [hgs dmu.ac.u] This suggests that you are trying to call validate on the
+ 167510 [caleb aei-te] It looks to me like you're calling validIndex? on Board, and not on an

^ [QUIZ] Pinewood Derby Chart (#56)
167515 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until

^ Cross tabulation
167519 [smith voxrat] For a little background and comparison, there's an article on O'Reilly

^ forced extension compilation
167522 [micah atomic] Is there a way to force the compilation of any or all native extensions
threads.html
top