65349-83925

65121-65923 subjects 65574-83937

^ ANN: FXRuby-1.0.20 Now Available
65349 [lyle knology] All,

^ proc {} vs. Method#to_proc
65351 [dblack candl] Proc objects created by Method#to_proc seem to care about their arity
+ 65358 [jim freeze.o] Interesting. I would have just done
| 65362 [drbrain segm] & turns a proc into a block.
| 65363 [jim freeze.o] So why the error wrong # of arguments?
| 65373 [batsman.geo ] It seems that Method#to_proc works like
+ 65372 [batsman.geo ] Procs don't care about the arity when they are transformed into blocks
| 65379 [dblack candl] But that isn't what's happening with the to_proc procs.  That's why
| 65409 [batsman.geo ] Read the rest of my message :)
| 65425 [dblack candl] I understand that (we were already playing around with
+ 65383 [matz ruby-la] Method#to_proc returns a Proc defined like
  65387 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
  65390 [drbrain segm] eems
  65408 [bob.news gmx] "Eric Hodel" <drbrain@segment7.net> schrieb im Newsbeitrag
  + 65412 [matz ruby-la] proc{|a|...}.call(1,2,3)
  + 65413 [kentda stud.] I think it has to do with being dynamic so that iterators and blocks can
  | 65415 [bob.news gmx] thanks for the lengthy explanation.  Some remarks below.
  | 65420 [kentda stud.] And alot more symmetric with methods, which is yet another argument for
  | 65422 [bob.news gmx] "Kent Dahl" <kentda@stud.ntnu.no> schrieb im Newsbeitrag
  + 65482 [martindemell] def initialize(*factors)
    65625 [bob.news gmx] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
    65627 [martindemell] To have the array start indexing from 0 :) The bane of array programmers
    65633 [bob.news gmx] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag

^ nil.to_s
65352 [Ted.Meng Nie] I think it was discussed before but I do not remember a conclusion.

^ West Nile Virus < Anna Kournikova Virus, get protected.
65356 [Emma9856a am] This is a multi-part message in MIME format.
65359 [B.Candler po] It seems that even virus writers are saving work by subclassing an existing

^ Inconsistent behavior in Array methods
65361 [wkb airmail.] cards = cards.sort.uniq
+ 65365 [matz ruby-la] I know, but I thought the order of execution time was more important,
| 65378 [STUCKNER MUL] I ran into a similar issue that also surprised me. Below is an example of
| 65380 [matz ruby-la] It uses Hash inside, so that you have to override "eql?" and "hash" as
+ 65403 [bulatz integ] are you sure? :)
  65451 [wkb airmail.] Bulat,

^ Can Ruby build an executable file?
65364 [jason1111200] I was just wondering if Ruby could compile and/or
+ 65366 [djberge qwes] See exerb on the RAA (MS Windows only)
+ 65371 [lyle users.s] ...

^ require quirks
65367 [ahoward fsl.] i know this has been hashed out, but i seem to have missed the conclusion to
65375 [vjoel PATH.B] ...
65377 [ahoward fsl.] cool.

^ Extending existing classes under mod_ruby...
65368 [frank nospam] sure that it can work under mod_ruby.  Everything so far has been quite
65376 [kentda stud.] This is not the String class your are looking for. In mod_ruby, the

^ ** YoungNature.com ::  your BMW
65374 [support youn] <html>

^ DL2 issues on solaris 9, gcc 3.2
65381 [djberge qwes] I just tried to build DL2 (from RubyGarden)
65401 [ttate kt.jai] Thank you,

^ Array#===  (ps:  bug in irb?)
65389 [nemo hellotr] class Array
65391 [drbrain segm] =3D'.

^ rubygarden html madness
65394 [ahoward fsl.] wiki'rs-
65395 [mgushee have] It probably is (see below)
65396 [mgushee have] BTW, if I remember right, the item you want to turn off is labeled "Style Sheets"--

^ [OT] Re: rubygarden html madness
65397 [ahoward fsl.] i suspected as much... 4.77 and 4.78.
+ 65398 [kentda stud.] The linux version of Opera is not written in Java, if that is what you
+ 65419 [hgs dmu.ac.u] The case for CSS is too strong.

^ Re: Sourcing files
65404 [feldt ce.cha] It struck me that you can actually accomplish what the orig poster wants

^ [OT] Re: [OT] Re: rubygarden html madness
65410 [batsman.geo ] AFAIK it's done in C++ using QT.

^ [OT] Re: Embedding Ruby in C code
65411 [batsman.geo ] Conspiracy theories sure are a lot of fun.

^ $200 FREE CASH AT SAVOIA INN CASINO !
65416 [pitboss savo] FREE $200 AT SAVOIA INN CASINO

^ [ANN] First Europeen Ruby Conference
65418 [uu9r stud.un] Dear Rubyists,
65421 [uu9r stud.un] The language will be English (unless all visitors are able to understand German).
65423 [hgs dmu.ac.u] OK, thank you.  I'm interested in this, but if my attending were to
+ 65428 [feldt ce.cha] I plan to come (if I'm not on vacation) and I don't speak German! ;)
| 65429 [robertm spel] I am certainly interested. just n4eed to see what I am doing then.
+ 65430 [armin xss.de] We all speak some kind of "English" :-) and of course Ruby.
+ 65435 [uu9r stud.un] This will not be the case.
  65439 [hgs dmu.ac.u] OK, it sounds like you have decided on English, if the unless clause

^ Regexp help: Parsing a CSV file
65424 [tim bates.id] I've dumped a CSV (comma separated values) file from Excel, and I want to
+ 65426 [di020754 dik] line.split(',').collect do |e|
| 65427 [di020754 dik] ....which, at a second thought, doesn't quite do the job (ignores commas
+ 65431 [dossy panopt] What would happen if you split on "," still?
+ 65432 [bob.news gmx] irb(main):087:0* line='first, "se cond", third , four th'
+ 65434 [mikkelfj-ant] in
+ 65438 [ahoward fsl.] i would not use regexps to parse this... they can be very slow,not to mention
| 65447 [jweirich one] Just to be a little contrary ... consider the following function
| + 65448 [michael_s_ca] Aren't regex's state machines anyway?  Seems to me that if you can
| | 65457 [B.Candler po] They can be parsed by state machines. In fact, a true regexp can be
| | + 65458 [J.Hawkeswort] No doubt other people will suggest much more elegant solutions but I'd
| | + 65461 [mikkelfj-ant] expressions"
| |   65477 [B.Candler po] Agreed. I was wondering why implementors have gone for non-deterministic
| |   65492 [ahoward fsl.] every NFA can be reduced to a DFA, and so either a NFA or DFA is 'regular' by
| |   65496 [mikkelfj-ant] by
| + 65450 [ahoward fsl.] a very interesting analysis!  i am in complete agreement with you as well.  i
|   65456 [jim freeze.o] Have you tried racc?
+ 65440 [hgs dmu.ac.u] would seem to be relevant.  I've not used it myself, though, so
+ 65443 [B.Candler po] require 'csv'   # see RAA and http://rrr.jin.gr.jp/doc/csv/
| + 65444 [spoon dellah] Well, definitions of CSV are somewhat flexible. Some programs happily
| | 65446 [mikkelfj-ant] You've got that right - the Excel export can profoundly trash date formats
| + 65728 [nahi keynaut] Thanks.
|   65729 [nahi keynaut] parse_line and generate_line are methods of CSV2.
|   65748 [B.Candler po] That looks like it will be much nicer, thank you.
|   65781 [nahi keynaut] Thank you for your comment.
|   65938 [dave landrit] It seems to me that there has been a lot of talk of sample CSV files
+ 65453 [gemerson eva] Regexps aren't good for everything.  CSVs are a good example of something
+ 65463 [wkb airmail.] Tim,

^ Ruby-swig for C struct plus methods
65433 [William.L.Kl] We've been playing with testing a C-code via Ruby and testunit,
+ 65442 [ahoward fsl.] * designed simple C 'classes' with member functions (f pointers)
+ 65445 [lyle users.s] OK.
+ 65465 [ptkwt shell1] I've done what you're doing to unit test C++ classes.  Swig worked great

^ raa
65436 [zhoujing com] I tried to install raa on my computer. But it didn't work properly.

^ FXRuby error handling
65452 [chrismo clab] When I run my .rbw script on Windows, the default is to use rubyw.exe, and

^ [ANN] xml-configfile 0.8.0
65454 [contact maik] Yo!
65455 [dcarrera mat] You know, this could be used for a lot more than just config files.
+ 65462 [contact maik] One of the most important points in my TODO file is "allow write
+ 65466 [batsman.geo ] If you want to serialize objects, YAML4R makes it quick and easy...
  + 65469 [chrismo clab] And if you want XML, you can try http://clabs.org/clxmlserial.htm. Biggest
  + 65480 [dcarrera mat] YAML looks pretty neat.  It's simple enough for an introductory tutorial.
    65489 [batsman.geo ] .to_yaml
    65502 [dcarrera mat] I'd love to stay in the standard lib.  Could you give me a link to
    65504 [vjoel PATH.B] irb(main):001:0> Marshal.load(Marshal.dump([1, "2", :three]))

^ Re: Extending existing classes under mod_ruby... (and the "ruby way")
65464 [frank nospam] That makes sense.  This requires a different solution then.  What is the
65486 [B.Candler po] Perhaps a class method. This particular operation is not tied to a

^ GUI and serial communications
65468 [dboland9 tds] I was told about the Ruby language, and have been doing some homework on
+ 65470 [chrismo clab] FXRuby is one option for GUI. I'm sure Lyle will jump on here if he's around
+ 65481 [surrender_it] we've plenty of gui, I think fxruby is the most used (and it's very
+ 65483 [dcarrera mat] 1) I am partial for Ruby-GNOME2.  Gtk+2 is a great, cross-platform
| 65491 [mikkelfj-ant] I haven't looked at the Gnome2 side of Gtk2, but I did take a brief look at
| 65495 [dcarrera mat] Fair enough.  I didn't know that it was slow under Windows.
| 65501 [roger.sperbe] Actually I would say the greatest development in cross-platform gui building
+ 65490 [dboland9 tds] Thanks Chris, Gabriele, and Daniel - I appreciate the information and will

^ unit testing: method actions vs. results
65472 [jd204 NSnih.] Can unit testing be used to test (or test-first develop) methods that
+ 65479 [chrismo clab] Essentially, these things are all various forms of output. Your question is
+ 65493 [batsman.geo ] You might want to use mock objects to check that your code is passing

^ Style question: using 'block_given?'
65473 [wdueber indi] I'm new to Ruby, and want to know what The Best Way To Do It is...
65485 [B.Candler po] You don't need to put @data or @kids; the assignments in 'initialize' are
+ 65488 [B.Candler po] else
+ 65494 [batsman.geo ] This is the class instance variable police. Freeze! Keine Bewegung!
  65498 [B.Candler po] - Class variables (@@data) are fine.
  + 65500 [gfb tonesoft] It helps to keep in mind that classes in Ruby are objects as well (instances
  + 65511 [dblack candl] It's probably most useful in an accessor.  For example, if you want to
    + 65514 [B.Candler po] I think we need a RubyBlackMagic page on the Wiki :-)
    | + 65515 [B.Candler po] Here's another one while we're on the subject of "consistent and
    | + 65517 [nobu.nokada ] All classes have their anonymous superclasses.
    | + 65518 [gsinclair so] It's perfectly obvious at a glance to me.  True, I've faced difficulty
    | + 65520 [dblack candl] Whoops -- delete the 'protected'.  I was trying to see what that would
    |   65523 [B.Candler po] It is. Thank you.
    + 65551 [ptkwt shell1] Why wouldn't I just use a class variable to do this (which is how I
      + 65553 [dblack candl] It does what I want; isn't that enough? :-)  That's the thing --
      + 65559 [batsman.geo ] You're right on the distinction instances of this class (class

^ ruby on QNX 6?
65474 [vjoel PATH.B] Does ruby run on QNX 6?
+ 65484 [dcarrera mat] I can't imagine why it wouldn't run.  Why don't you give it a shot and let
+ 65506 [vjoel PATH.B] I'm pleasantly surprised to see that ruby-1.6.7 is actually available as
+ 65508 [sroberts uni] I built ruby on QNX6 (I think... maybe it was QNX4...). Anyhow,

^ Number data-types: Control and meta combinations
65475 [ralph.rotond] In the Programming Book I came across a passage in chapter 5 page 50
65478 [seth cql.com] This is more or less the emacs syntax for keyboard characters.  \C- is

^ Does Struct#to_a guarantee the order of the values
65497 [Tim.Hunter s] The Pickaxe implies this, but I thought it would be wise to make
65509 [matz ruby-la] Yes.  Struct is array (not hash) with symbolic index.
65516 [cyclists nc.] Thanks, matz!

^ [Q] TreeView in Ruby-Gnome2
65503 [dcarrera mat] 1) When the user clicks on an entry in a TreeView widget, how can I find
65525 [mutoh highwa] 1. Use Gtk::TreeView's "cursor-changed" signal.
65542 [dcarrera mat] 1) The first question was not asking which signal I could use.  I already
65560 [mutoh highwa] tree_view.signal_connect('cursor-changed') do |e|
65597 [dcarrera mat] I've been trying to Gtk::TreeSelection this all weekend.  I doesn't work.
65613 [dcarrera mat] It doesn't work in the sense that the 'iter' returned does not correspond
65649 [mutoh highwa] Thanks. I understood your issue.

^ Gimp Question.
65505 [emeza saisam] I am working with Gimp. I need  Ruby-Gimp extension,  I ran

^ キャッシングキャンペーン
65510 [finannce_lik] 特別融資キャンペーン実施中

^ embedded docs
65526 [schatten nos] Is ruby going to have (in a reasonably predictable future :) embedded
+ 65530 [B.Candler po] See http://www.rubycentral.com/book/rdtool.html
+ 65533 [surrender_it] if you're talking about __doc__
  + 65537 [brian coolna] Will ri (or some other doc browser) be available as part of the standard
  | + 65540 [surrender_it] I think it already is.
  | | + 65544 [dcarrera mat] I don't know what -f does, but perldoc is one of the most fantastic things
  | | | 65566 [brian coolna] Very well put.  Take whatever I said about Perldoc and put this in its place,
  | | + 65565 [brian coolna] I had to download and install ri myself on my Linux machine, but I'm not
  | + 65567 [simon simon-] Perhaps the best thing about perldoc is that I can install a new Perl
  |   65572 [piers ompa.n] It's funny how these conversations all seem to lead back to the same
  |   + 65573 [seth cql.com] I agree that this is very important.
  |   + 65575 [simon simon-] No, I think you underscored my point better than I could have done. Thanks.
  + 65656 [schatten nos] Ok. I was curious about matz plans.

^ On class variables and their scopes. Was: Re: Style question: using 'block_given?'
65527 [batsman.geo ] The class whose variable will be used is selected at compile time.

^ [Q] Fixed parameter evaluation order
65528 [rubytalk box] today when I was hacking my old sources I found interesting line
65529 [batsman.geo ] AFAIK Ruby does no optimization on the AST as of now, so it should be

^ [Q] class << self [Was-Re: Style question: using 'block_given?']
65532 [mwilson13 co] Gavin,
+ 65536 [batsman.geo ] (skip as much as required :)
| 65552 [sdate everes] [SNIP]
+ 65564 [gsinclair so] You've seen the other replies, now look at ClassMethodsTutorial on the

^ OS X - eruby install problem: "libruby.a: No such file or directory"
65534 [sera fhwang.] I'm trying to install eruby on OS X -- it's 10.2, meaning Ruby was
+ 65543 [jim freeze.o] I haven't ran across this lib yet. Is it just a soft link?
+ 65550 [bystr mac.co] Standard OS X distribution does not have libruby.a, however it is very
  + 66370 [sera fhwang.] Okay, I built ruby 1.6.8, no problem, but on installing the stable
  + 83925 [sera fhwang.] Okay, I built ruby 1.6.8, no problem, but on installing the stable
    66372 [gfb tonesoft] directory"

^ YAML in std lib (was Re: [ANN] xml-configfile 0.8.0)
65535 [ruby-talk wh] If the Yaml module can gain some maturity, I'd like to make a run for
+ 65548 [rich infoeth] why,
+ 65549 [mikkelfj-ant] Obviously, peoply seeking simplicity and power would be found here :-)
| 65558 [batsman.geo ] Yaml :) Take a look at doc/yamlrb.yod: it is a "Yaml document", to be
+ 65568 [matz ruby-la] We are open.  When you feel you're prepared, feel free to tell us.  We

^ 未承諾広告※激安タオルで経費の削減!!
65545 [staff osyare] <事業者><送信者>

^ make test failed for default-kcode=utf8
65546 [schatten nos] When building ruby-1.6.8 on my cygwin environment, make test fails if
65697 [matz ruby-la] Misfeature, which I may call.  Put

^ install
65547 [jim freeze.o] I just built ruby-1.8.0 on Mac OS X and it seemed to build ok,

^ String.to_re ??
65554 [peronio adri] Messaggio in formato MIME composto da piy parti.
+ 65555 [bystr mac.co] charset=ISO-8859-1;
+ 65556 [dblack candl] Regex.new(Regexp.escape("abc+def"))  # => /abc\+def/
  65557 [nobu.nokada ] puts a[/G.*#{Regexp.quote(b)}.*rk!/]

^ STEP Structured Text Entry Processor
65569 [mikkelfj-ant] This was orignally a follow up to my question about YAML documentation, but
+ 65570 [mikkelfj-ant] is
+ 65571 [mikkelfj-ant] is
+ 65586 [hgs dmu.ac.u] If TeX and LaTeX are too complex, have you looked at Lout?
| + 65591 [mikkelfj-ant] Thanks for the response.
| + 65594 [mikkelfj-ant] OK, I think I got this wrong in my previous answer - I thought you meant
+ 65615 [nathaniel NO] Just a quick note: STEP might not be a good name for it, as there is
+ 66108 [frankm bayar] Just for comparison, Python is beginning to use a format called
  + 66109 [frankm bayar] Sorry for following up my own post -- and mentioning one of the dreaded
  + 83890 [frankm bayar] Sorry for following up my own post -- and mentioning one of the dreaded
threads.html
top