92269-93539

91727-92815 subjects 92361-101252

Re: flip flop operator proposal (from condition to condition do )
92269 [intc_ctor@ya] languages) so that could also be confusing.  ~~ might be better.
+ 91465 [vjoel@PA H. ] irb(main):001:0> until(1) {}
| + 91501 [intc_ctor@ya] Couldn't you just use the returned FlipFlop object for those purposes?
| + 91902 [intc_ctor@ya] Couldn't you just use the returned FlipFlop object for those purposes?
| + 92092 [intc_ctor@ya] Couldn't you just use the returned FlipFlop object for those purposes?
| + 92282 [intc_ctor@ya] Couldn't you just use the returned FlipFlop object for those purposes?
+ 91508 [jgb3@em il b] What if we just use the keyword 'in' to introduce a flipflop, and retain
  + 91513 [nobu.nokada@] Agreed, and it seems easy to implement.
  | 91521 [jgb3@em il b] As evidenced by your patch.  Thanks!
  | 91522 [nobu.nokada@] Will set_state turn the state true, or false?  Seeing the next
  | 91574 [jgb3@em il b] FlipFlip#get_state: return the current truth value of the flip flop.
  + 91520 [ptkwt@ar cn ] I use the flip-flop pretty commonly when I'm parsing files.  For my usage,
  + 91908 [ptkwt@ar cn ] I use the flip-flop pretty commonly when I'm parsing files.  For my usage,
  + 92098 [ptkwt@ar cn ] I use the flip-flop pretty commonly when I'm parsing files.  For my usage,
  + 92288 [ptkwt@ar cn ] I use the flip-flop pretty commonly when I'm parsing files.  For my usage,

Where to install data files?
92274 [childNOSPAM@] connected with .rb files, so they should stay in the same directory, but
+ 91485 [jim@we ri hh] You might consider creating a RubyGem.  Each gems installs in its own
| + 91502 [childNOSPAM@] Actually I just looked at RubyGems before asking the question, but now
| + 91901 [childNOSPAM@] Actually I just looked at RubyGems before asking the question, but now
| + 92091 [childNOSPAM@] Actually I just looked at RubyGems before asking the question, but now
| + 92281 [childNOSPAM@] Actually I just looked at RubyGems before asking the question, but now
+ 91492 [kapheine@hy ] The nice thing about putting it in something like /usr/share is rbconfig

Documentation for C extension
92276 [childNOSPAM@] (http://subversion.tigris.org). How should I document it to create
91484 [dave@pr gp o] Sure you can: RDoc handle C extensions just fine :)

Newbie question
92277 [ sjt@5j .c m] We are two grey-haired programmers studying Ruby and have a question so
+ 91486 [nathaniel@ta] class Money
+ 91489 [wjl@ic ca er] charset="utf-8"
+ 91493 [jim@we ri hh] Perhaps another grey-haired programmer can answer :-)
+ 91494 [gsinclair@so] class Money
| 91495 [gsinclair@so] ^^^^^^^^^ er, Money#initialize...
+ 92448 [billk@ct .c ] Is Method.new a typo for Money.new?

eistein's riddle
92278 [Ara.T.Howard] this will keep you busy
+ 91516 [avi@be a4 co] Hardly efficient (in fact I haven't yet run it through to completion),
+ 91526 [niklas@ka i.] [... riddle snipped]
+ 91906 [avi@be a4 co] Hardly efficient (in fact I haven't yet run it through to completion),
+ 91910 [niklas@ka i.] [... riddle snipped]
+ 92096 [avi@be a4 co] Hardly efficient (in fact I haven't yet run it through to completion),
+ 92100 [niklas@ka i.] [... riddle snipped]
+ 92286 [avi@be a4 co] Hardly efficient (in fact I haven't yet run it through to completion),
| + 91566 [guslist@fr e] Excuse my ignorance, but what is amb?
| | 91577 [guslist@fr e] Sorry to respond to myself. You posted earlier a description and
| | 91592 [emeza@sa sa ] Very interesting code... but  hangup forever...
| + 92591 [guslist@fr e] I ran it and it crashed on me after 4 days of hard computation (on a
|   92592 [dcarrera@ma ] Wouldn't it be faster to do it with a pencil and paper?  It took me less
|   92599 [guslist@fr e] Agreed. On that particular example I was more interested by the amb
+ 92290 [niklas@ka i.] [... riddle snipped]

ARGV
92295 [merke@ju it ] how do I recognize if a ruby file prg.rb was called as a separate program
+ 91535 [ian@ca ib n.] if $0 == __FILE__
+ 91536 [dblack@wo bl] See Ian's answer -- but also, just for future reference if needed,

New Computer, version, confusion
92301 [ronjeffries@] I just got a new computer and need to get stuff moved over to it.

two questions
92305 [il_piccione@] question that i cannot find answers for.
+ 91580 [discord@ma .] Interpolating is done the same way, it doesn't matter whether you are
| 91587 [gsinclair@so] class Time
+ 91582 [surrender_it] ciao :)
+ 91601 [sera@fh an .] Basically, you can treat the regex source like a normal string. Like
+ 91925 [surrender_it] ciao :)
+ 91931 [sera@fh an .] Basically, you can treat the regex source like a normal string. Like
+ 92115 [surrender_it] ciao :)
+ 92122 [sera@fh an .] Basically, you can treat the regex source like a normal string. Like
+ 92304 [surrender_it] ciao :)
+ 92312 [sera@fh an .] Basically, you can treat the regex source like a normal string. Like
+ 92454 [zdennis@mk e] Use the #{var} syntax.

Creating mixed content elements in REXML
92306 [sera@fh an .] Say I have a string that represents an XML element that I want to
+ 91597 [kapheine@hy ] I'm no expert, but after looking at the REXML source, I don't think this
+ 91622 [austin@ha os] xhtml_elt << REXML::Document.new(xhtml_string).elements[1]
+ 91673 [sera@fh an .] Oh, for Pete's sake. All I had to do was use REXML::Document#root.
+ 91960 [sera@fh an .] Oh, for Pete's sake. All I had to do was use REXML::Document#root.
+ 92150 [sera@fh an .] Oh, for Pete's sake. All I had to do was use REXML::Document#root.
+ 92366 [sera@fh an .] Oh, for Pete's sake. All I had to do was use REXML::Document#root.

Trouble using Exerb
92313 [gedb@ru hc d] I'm having trouble using Exerb.

Irb Ri integration (Was: An assimilators guide to Python?)
92321 [cc1@ce .w st] Now that we have alot of the standard docs in ri format available in
+ 91611 [surrender_it] ?)
| 91613 [Gavri_F@in o] it's a pending RCR
| 91614 [nobu.nokada@] A quick hack.
| 91617 [matz@ru y- a] Interesting.  Can you commit?
| 91655 [nobu.nokada@] What about 1.8?
| 91662 [matz@ru y- a] Let us see a while before backporting.
+ 91625 [rodrigo.berm] My wish ...
+ 91639 [vjoel@PA H. ] ==== .irbrc ====
| 91645 [ppi@am g. rg] I tried this and it works great!
+ 91939 [surrender_it] ?)
+ 92129 [surrender_it] ?)
+ 92322 [surrender_it] ?)

Re: Method Reflection / Keyword Arguments
92332 [itsme213@ho ] When Ruby supports keyword arguments, will the names of keyword method

io/nonblock
92335 [Ara.T.Howard] i love this module.  what is it's status?  any plans to remove/modify in
91656 [nobu.nokada@] I have carelessly added it under ext/io/wait, but it doesn't
+ 91658 [ahoward@fa t] why not have it in the core io methods?
+ 91959 [ahoward@fa t] why not have it in the core io methods?
+ 92149 [ahoward@fa t] why not have it in the core io methods?
+ 92362 [ahoward@fa t] why not have it in the core io methods?
  91661 [nobu.nokada@] Well, IIRC, because it is not portable enough, for io/wait at
  + 91705 [ahoward@fa t] i don't really know - i was just saying that is it such a useful method it
  + 91971 [ahoward@fa t] i don't really know - i was just saying that is it such a useful method it
  + 92161 [ahoward@fa t] i don't really know - i was just saying that is it such a useful method it
  + 92389 [ahoward@fa t] i don't really know - i was just saying that is it such a useful method it

YAPV (Yet Another Pickaxe Version)
92337 [gavin@re in ] As promised in another thread, I am working on a new web version of the
+ 91634 [gavin@re in ] (1) I said I'm 'done' with most of the sections; that's not quite true.
+ 91640 [mreed@th re ] Why HTML 4 rather than XHTML 1.1?
+ 91663 [kapheine@hy ] =20
+ 91757 [cc1@ce .w st] Looks really nice, unfortuneatly I can only get it to render in IE,
| 91759 [michael_s_ca] of
+ 91769 [maillist@be ] sooo slllooowwww.
| 92583 [gavin@re in ] Glad you like it :)
| 92636 [pbrannan@at ] I'm using Mozilla and the loading of the TOC frame does take about 10
| 92748 [gavin@re in ] Thanks. Fixed.
+ 91947 [gavin@re in ] (1) I said I'm 'done' with most of the sections; that's not quite true.
+ 91950 [mreed@th re ] Why HTML 4 rather than XHTML 1.1?
+ 91985 [cc1@ce .w st] Looks really nice, unfortuneatly I can only get it to render in IE,
+ 92137 [gavin@re in ] (1) I said I'm 'done' with most of the sections; that's not quite true.
+ 92140 [mreed@th re ] Why HTML 4 rather than XHTML 1.1?
+ 92182 [cc1@ce .w st] Looks really nice, unfortuneatly I can only get it to render in IE,
+ 92334 [gavin@re in ] (1) I said I'm 'done' with most of the sections; that's not quite true.
+ 92343 [mreed@th re ] Why HTML 4 rather than XHTML 1.1?
| + 91642 [gavin@re in ] For various reasons. The two main ones are that
| + 91951 [gavin@re in ] For various reasons. The two main ones are that
| + 92141 [gavin@re in ] For various reasons. The two main ones are that
| + 92346 [gavin@re in ] For various reasons. The two main ones are that
+ 92408 [cc1@ce .w st] Looks really nice, unfortuneatly I can only get it to render in IE,
| 92582 [gavin@re in ] It may have been at the time. It now should be rendering perfectly in
| + 92607 [cc1@ce .w st] I'm running mozilla firebird .7, and it still has trouble.  I shoudln't
| + 92610 [harpo@ne s. ] It also renders well in Opera.
|   92617 [dennis.ranke] IE shows the same behaviour when the frame doesn't have enough horizontal
+ 92567 [me@ch is lt ] Works well with Moz 1.6, but the left frame seems to load very slowly.
  92584 [gavin@re in ] See my previous post in response to Paul William.

Newbie:  1.8.1, ri, and Windows
92340 [stevec890@ya] Sorry for being dense, but I can't seem to get ri to work either with
93539 [rubytuezdayz] Steve, this is what I did to install Ruby 1.8.1 mswin32 manually.

How do I bounce?
92348 [adavies@op u] I use pop.rb to download emails on a whitelist
+ 91676 [austin@ha os] Yes, you can, but you shouldn't.
+ 91688 [news@st d. t] No idea how you'd do this, but I'd like to suggest that you don't.
+ 91966 [news@st d. t] No idea how you'd do this, but I'd like to suggest that you don't.
+ 92156 [news@st d. t] No idea how you'd do this, but I'd like to suggest that you don't.
+ 92378 [news@st d. t] No idea how you'd do this, but I'd like to suggest that you don't.
  91732 [aredridel@nb] For a project that aims to stop some of this, check out SPF,
  91758 [thelenm@cs u] Just a typo, I think you meant http://spf.pobox.com/

test::unit caller stack feature request
92349 [neoneye@ad l] A typical call stack of mine look like the following.
91285 [nathaniel@ta] Note that there is only a three line stack here. The noise below is
+ 91298 [neoneye@ad l] Ok. I just never have noticed these lines until now.  Earlier I have
+ 91837 [neoneye@ad l] Ok. I just never have noticed these lines until now.  Earlier I have
+ 92027 [neoneye@ad l] Ok. I just never have noticed these lines until now.  Earlier I have
+ 92217 [neoneye@ad l] Ok. I just never have noticed these lines until now.  Earlier I have
+ 92367 [neoneye@ad l] Ok. I just never have noticed these lines until now.  Earlier I have
  + 91300 [neoneye@ad l] I have made my own 'assert_regex' method, which checks several things.
  + 91838 [neoneye@ad l] I have made my own 'assert_regex' method, which checks several things.
  + 92030 [neoneye@ad l] I have made my own 'assert_regex' method, which checks several things.
  + 92219 [neoneye@ad l] I have made my own 'assert_regex' method, which checks several things.
  + 92372 [neoneye@ad l] I have made my own 'assert_regex' method, which checks several things.
    + 91301 [neoneye@ad l] Ok I found my problem.
    + 91840 [neoneye@ad l] Ok I found my problem.
    + 92029 [neoneye@ad l] Ok I found my problem.
    + 92220 [neoneye@ad l] Ok I found my problem.
    + 92373 [neoneye@ad l] Ok I found my problem.
      91305 [nathaniel@ta] We all have those days... :-)

FAQ: File object vs OS file
92350 [martindemell] Should "Where are File#copy, File#move, File#delete etc?" be added to
91664 [gsinclair@so] Good point.  I'll attend to it when the FAQ web page gives me a more

impersonating ruby
92353 [anon@no pa .] can I somehow change a ruby interpreters uid from 0 to something and
+ 91654 [surrender_it] Process.uid= newuid
+ 91659 [ahoward@fa t] it's tricky.  you need a setuid binary (cannot be a script).  to accomplish
+ 91681 [discord@ma .] I may be wrong, but I think you can't do this in pure ruby. You'll need
+ 91726 [anon@no pa .] With Process.uid a script can change and read it's uid as it likes to.
+ 91956 [surrender_it] Process.uid= newuid
+ 91958 [ahoward@fa t] it's tricky.  you need a setuid binary (cannot be a script).  to accomplish
+ 91976 [anon@no pa .] With Process.uid a script can change and read it's uid as it likes to.
+ 92146 [surrender_it] Process.uid= newuid
+ 92148 [ahoward@fa t] it's tricky.  you need a setuid binary (cannot be a script).  to accomplish
+ 92166 [anon@no pa .] With Process.uid a script can change and read it's uid as it likes to.
+ 92355 [surrender_it] Process.uid= newuid
+ 92359 [ahoward@fa t] it's tricky.  you need a setuid binary (cannot be a script).  to accomplish
+ 92394 [anon@no pa .] With Process.uid a script can change and read it's uid as it likes to.

Silly question
92354 [BCoish@Dy ax] This may be mentioned somewhere, but I have yet to see an explanation
+ 91278 [djd15@po cw ] Based on your two methods there, I'd say that the person writing means
| + 91281 [dblack@wo bl] It is :-)
| + 91282 [BCoish@Dy ax] Thanks for the response!  Now that I know, everytime I look something
| + 91833 [BCoish@Dy ax] Thanks for the response!  Now that I know, everytime I look something
| + 92020 [BCoish@Dy ax] Thanks for the response!  Now that I know, everytime I look something
| + 92206 [BCoish@Dy ax] Thanks for the response!  Now that I know, everytime I look something
| + 92356 [BCoish@Dy ax] Thanks for the response!  Now that I know, everytime I look something
+ 91280 [gsinclair@so] Class#instance_method         (Array#size)
| + 91284 [BCoish@Dy ax] Hey thanks for the reply!  I kind of figured that the use of '#' between
| + 91832 [BCoish@Dy ax] Hey thanks for the reply!  I kind of figured that the use of '#' between
| + 92022 [BCoish@Dy ax] Hey thanks for the reply!  I kind of figured that the use of '#' between
| + 92209 [BCoish@Dy ax] Hey thanks for the reply!  I kind of figured that the use of '#' between
| + 92360 [BCoish@Dy ax] Hey thanks for the reply!  I kind of figured that the use of '#' between
|   91289 [dave@pr gp o] ...
|   + 91293 [BCoish@Dy ax] Thank you for your response, it's appreciated.
|   + 91835 [BCoish@Dy ax] Thank you for your response, it's appreciated.
|   + 92025 [BCoish@Dy ax] Thank you for your response, it's appreciated.
|   + 92214 [BCoish@Dy ax] Thank you for your response, it's appreciated.
|   + 92364 [BCoish@Dy ax] Thank you for your response, it's appreciated.
+ 91288 [dave@pr gp o] It's a way of distinguishing between an instance method and a class
  + 91329 [ jimm@io co ] MyClass >> instanceMethod
  + 91850 [ jimm@io co ] MyClass >> instanceMethod
  + 92040 [ jimm@io co ] MyClass >> instanceMethod
  + 92230 [ jimm@io co ] MyClass >> instanceMethod
  + 92400 [ jimm@io co ] MyClass >> instanceMethod
    91340 [vjoel@PA H. ] irb(main):001:0> class Class; alias >> instance_method; end

[newbie question] Variable visibility
92357 [harpo@ne s. ] [I do apologize for my bad english]
91701 [angus@qu va ] I'm not design expert, but I would call a method on the application object
+ 91739 [harpo@ne s. ] The problem was the number of parameters, with a too long parameter list
+ 91978 [harpo@ne s. ] The problem was the number of parameters, with a too long parameter list
+ 92169 [harpo@ne s. ] The problem was the number of parameters, with a too long parameter list
+ 92397 [harpo@ne s. ] The problem was the number of parameters, with a too long parameter list
threads.html
top