95994-97895

95901-96707 subjects 96227-98016

[ANN] rbbr-0.6.0
95994 [mutoh@hi hw ] rbbr-0.6.0 released. Enjoy!

[ANN] ruby-root v0.0.2
95996 [elathan@ph s] ruby-root v0.0.2 is released!

[newbie] What is String#dump for=?koi8-r?Q?=3F?=
96003 [alex_verk@ma] [quoted from http://c2.com/cgi/wiki?IwannaLearnRuby]
96005 [flori@ni e. ] (flori@lambda:flori/ 0)$ ri String#dump
96007 [alex_verk@ma] _="puts'_='+_.dump+';'+_";puts'_='+_.dump+';'+_
96013 [flori@ni e. ] It's not the same method as inspect, but similar. There is also

Re: [newbie] What is String#dump for?
96004 [lyle@kn lo y] See the "Reflection, ObjectSpace and Distributed Ruby" chapter of
96009 [sroberts@un ] Yes, that is one important use, though you could use it for other things.

YAML and initializers
96014 [hal9000@hy e] Here's a thought question for you. If you read the subject line, you
96022 [ruby-talk@wh] Good discussion, Hal.  I've been really rethinking the YAML+Ruby typing
+ 96025 [hal9000@hy e] Good, I have some other random thoughts below. Thanks for replying...
| + 96029 [surrender_it] yes! and
| + 96046 [ruby-talk@wh] Okay, yeah.  It's one of those things I'd like to have, but there hasn't
|   + 96051 [hal9000@hy e] I understand about not looking forward to coding it.
|   | 96117 [martindemell] I like this - it's elegant. Strings would probably be better than
|   + 96147 [guslist@fr e] Let me add my name to the list of people interrested in this feature.
+ 96030 [bob.news@gm ] "why the lucky stiff" <ruby-talk@whytheluckystiff.net> schrieb im

OT: Licenses [Was Re: [ANN] Madeleine 0.6]
96016 [aredridel@nb] or compatible.

[ANN] Ruby/CAPTCHA 0.1.2
96018 [jgb3@em il b] This is not actually a new release... just a move to RubyForge.

wrapping interactive console program in Windows
96019 [edward@ni on] I am trying to write a wrapper for a program with an interactive shell,
+ 96023 [nobu.nokada@] At close_write, your myprogram.exe reaches EOF.  You have to
+ 96080 [bg-rubytalk@] You might want to look at rexpect.rb or expect.rb.  I think expect.rb is
  96087 [edward@ni on] I thought of that but It is not apear to be included with the windows
  96091 [nobu.nokada@] Windows doesn't pty support.  I'd like to know how to create
  96102 [edward@ni on] I think this is how to do it.
  96121 [nobu.nokada@] I didn't mean how to use console, but how to provide console
  96204 [edward@ni on] I am not sure I am understanding but would this be what you are refering
  96313 [nobu.nokada@] Default console provided by Windows quite differs from pty.
  96362 [edward@ni on] I have read it but probably not understood.  I realize it should not

proposal - delayed intropolation in heredoc
96035 [neoneye@ad l] yet another crazy proposal from me.. read on, am I crazy?
96038 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
96042 [neoneye@ad l] I was afraid of that. If you are a genius then its ok to be crazy,
+ 96126 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 96157 [neoneye@ad l] I prefer being my self, rather than pretending to be somebody else ;-)
| 96196 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
+ 96128 [kjana@dm la ] This particular case, you can use sprintf or String#%, can't you?
  96158 [neoneye@ad l] Bommer..  Yes '%' does the trick.  Silly me.  I have been using this many
  96159 [neoneye@ad l] def write_page(body, title, css, filename)

Ruby on Windows
96037 [rubytuzdayz@] Is there any good Ruby example that manipulate any Office Docoments,
+ 96049 [curt@hi bs c] I haven't done this myself, but you probably want to take a look at Winole.
+ 96109 [frido@q- of ] Have you tried some Ruby ODBC?
+ 96143 [jussij@ze se] For what it's worth, I have been playing with the RubyScript WSH
+ 96177 [sdate@ev re ] This should get you started ...
+ 96260 [rubytuzdayz@] I will try each and find which one is easier to move my data in Access
  96264 [bret@pe ti h] ______________________________________

[Ann] Atlanta Ruby User Group: First Meeting
96039 [joey@jo yg b] To anyone in or near the Atlanta area, the first meeting of the Atlanta

OT: licenses [Was Re: [ANN] Madeleine 0.6]
96041 [aredridel@nb] None of them have a no-commmercial-use clause -- you can do whatever you

Ruby/DL and output char* parameter
96054 [aredridel@nb] I'm trying to wrap the xattr system calls with Ruby/DL (mostly to learn
96058 [ksibilev@be ] 94522-95545
96076 [aredridel@nb] Ah, thank you -- just what I needed.

calling break in proc
96055 [bhilton@vp p] It looks like a recent change has been introduced to the 1.8 branch in
+ 96067 [batsman.geo@] $ ~/ruby1.9/bin/ruby  -v -e "p lambda{ return 1 }.call"
| 96069 [bhilton@vp p] Just creating a proc {} or labmda {} doesn't display the problem.  You
+ 96085 [nobu.nokada@] And works with latest 1.8 and 1.9 in cvs.
  + 96090 [bhilton@vp p] My app is still raising an error, so I've simplified things as much as
  + 96329 [bhilton@vp p] I found a simpler example that exposes this strange proc/break problem.
    96361 [matz@ru y- a] The point is the break destination.
    96363 [bhilton@vp p] Thanks for the explanation - it makes sense.  What surprises me is that
    96366 [matz@ru y- a] Oops, there must be somewhere.  Let me see.

Re: classes dynamic loading
96056 [rasputnik@he] Ooh! Ooh! I know this one!
96060 [neoneye@ad l] This probably needs more tweaking.

Fox questions...
96061 [hal9000@hy e] I'll return to Tycho when I'm less busy, but right now I'm stuck on
96112 [alex@pr ss r] IIRC (I don't have the app running in front of me now) it just worked
96194 [hal9000@hy e] It may have been renaming items that was the issue. I'll check.
96261 [alex@pr ss r] For this app, I'm using the PragProg 1.6.8 windows build of Ruby; When I

creating a directory
96063 [paul@vu ma k] Unix / 1.6
+ 96064 [andre@di ir ] No, it's read/write/execute for *others*. If you are the owner of the
+ 96065 [ehames@va es] 0007 is read/write for everyone but the owner/group
  96072 [paul@vu ma k] Using 0700 worked , Thank you! I thot 'others' would be what i needed

General observations
96066 [greg@br nd .] I've used Python on many a project but now am moving to Ruby more and more.
+ 96074 [jamesUNDERBA] I'm not that familiar with the state of Python, but I've heard these
| 96075 [seth@cq .c m] My take on this is slightly different.
| + 96077 [daniels@pr n] Does the existence of Ruby/Python
| | 96078 [daniels@pr n] /index.htm
| + 96079 [childNOSPAM@] I couldn't agree more. The lack of good, up to date and thorough
+ 96124 [surrender_it] I believe you're referring to PIL and reportlab in python.
  96131 [cyclists@nc ] Last update was in February. I'll have a new update when ImageMagick 6.0.0
  96132 [surrender_it] any chance to see it working on windows ?(I mean, without cygwin)
  96145 [Tim.Hunter@s] Sorry. I don't have the tools or experience to do a windows port. I've

Software Maintenance and Prototype Based Languages
96068 [neoneye@ad l] I read this article and just thought.. wow
96215 [surrender_it] I read this and I thought that teh author was talking about
+ 96224 [batsman.geo@] The author doesn't seem to know about open classes, or singleton methods
+ 96232 [jgb3@em il b] Prototype-based languages are not better than class-based langauages,
  96234 [surrender_it] I discovered it on c.l.py but from the long threads started I could
  96235 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag

possible Time & DateTime RCR: reconciling and extending their apis
96071 [sroberts@un ] (Maybe this should be 3 emails... there are 3 issues, but I will try one
96355 [tadf@rc .s -] Perhaps, there is difference in concept.
97457 [sroberts@un ] I see no difference in concept, only a difference in construction.
97858 [tadf@rc .s -] Ruby's Time as a wrapper of the time facilities in C.  It's not only a
97895 [gavin@re in ] If this is so, I can't help but mention my MutableTime class, the

Examples of well written ruby programs?
96073 [revision17@p] I'm in the process of learning ruby on the side.  I was wondering what
96092 [ahoward@fa t] look at the pstore and yaml impls in the distribution.

Attr_constructor
96086 [daniels@pr n] I've been writing a couple of very struct-like classes, and got annoyed
+ 96088 [daniels@pr n] I don't know why I was using instance_variable_set... I think it was a
+ 96093 [ahoward@fa t] class Foo
+ 96133 [bob.news@gm ] "Daniel Sheppard" <daniels@pronto.com.au> schrieb im Newsbeitrag

Playing sounds in Ruby
96101 [charleshixsn] Does anyone have any examples of how to play sounds from within a Ruby

Surprise with Hash#new
96105 [casillas@no ] Today I spent 15 mins baffled by very weird behavior with a Hash, and I
+ 96107 [neoneye@ad l] Simon Strandgaard
+ 96110 [ajohnson@cp ] @seen = Hash.new {|h,k| h[k] = []}
  96119 [casillas@sa ] Ah.  This is good.

Protecting commercial Ruby source
96108 [puyo@op us o] Are there any accepted or already practiced ways for companies to prevent Ruby source code from being read by potential competitors? I can vaguely imagine redefining Ruby's "require"-type methods so they can include zipped and passworded ".rbz" files, say. Or using exerb (except for UNIX and without the potential license issues).
96113 [mailinglists] Just look at the "eval.c" file, i think the require is defined there
96130 [greg@pu o. j] Ah, that's quite clever because I presume it also gets around the
96172 [daniels@pr n] I was unaware of any licensing issues with using exerb. I was under the

Change in semantics on multiple values
96111 [puyo@op us o] I noticed this here: http://www.rubygarden.org/ruby?Rite
96115 [matz@ru y- a] The former.

[newbie] Array of Arrays (JRuby raise an exception)
96114 [yvon.thorava] columnFields = fieldsHash.keys
+ 96116 [yvon.thorava] I'm sure now datas is an Array of Arrays (by printing size) the the
+ 96213 [angus@qu va ] [Yvon Thoraval <yvon.thoravalNO-SPAM@free.fr>, 2004-03-30 10.44 CEST]
  96218 [yvon.thorava] no, it is a so called "OrderedHash"...

Problem with binary files in mswin ruby
96123 [jbshaldane@h] Because of a problem that manifested itself when running Madeleine on
96141 [matz@ru y- a] eof? operation fills the internal stdio buffer before binary mode is
96155 [ndrsbngtssn@] Could the methods in Marshal check for this and raise an exception if
96179 [matz@ru y- a] I'm not sure what you want exactly.  Making "binmode" to raise
+ 96201 [ndrsbngtssn@] Something like that, yes. Currently you can get silent errors when
+ 96211 [jbshaldane@h] I think that this would probably be sane behaviour.  If you change to

Learning Ruby?
96125 [yaya@ye o. o] I know absolutely nothing about programming, but lots of time and will to
+ 96127 [stelid-6@st ] /Stefan
+ 96129 [neuro@se la ] regards
+ 96136 [ccos@al ha i] i think ruby would be a great place to learn to program. it is very
| 96138 [yaya@ye o. o] ccos <ccos@alphalink.com.au> escribi? en news:C243E8F0-824A-11D8-99A5-
+ 96139 [rocioestrada] No You're not, is very feasible, I'm "self" taught ;-)
+ 96151 [unet@re x. o] It's very feasible.  Get _Teach Yourself Ruby in 21 Days_ by Mark Slagell.
  96190 [cpine@he lo ] It assumes no previous programming experience.

disconnect problem with IMAP via ssl
96134 [robertgogolo] I'm wondering what's the proper way to disconnect from an imap server via ssl.

Strange rubyzip behaviour (Errno::EFBIG)
96149 [whitton@at a] I'm having a really weird issue trying to use rubyzip on FreeBSD 4.9.
+ 96202 [thomass@de t] I have never experienced the Errno::EFBIG exception myself. If anyone
| 96242 [whitton@at a] irb(main):002:0> require 'zip/zip'
| 96246 [whitton@at a] I've distilled the problem down to the following lines of code.
+ 96371 [thomas@Fi st] I have committed a fix for this problem to the CVS version of rubyzip.

re.c/ri's Regexp.=== documentation has an error/typo
96150 [sroberts@un ] It doesn't put the [] character class brackets in, so the example

[ANN] Madeleine 0.6.1
96154 [ndrsbngtssn@] What is Madeleine?

patch to delegate.rb to disable warning
96156 [neoneye@ad l] This piece of code yields a warning.
96170 [nobu.nokada@] I think it should be like followings.
96180 [matz@ru y- a] Commit this fix, please.
96188 [neoneye@ad l] Thanks Nobu+Matz for a perfectly working solution.

RickCheck -- automated testing of general assertions
96161 [phubuh@ph bu] Hej hej, fellow Rubyists!
+ 96164 [phubuh@ph bu] I know some insiders at Chalmers, so surely it will end up there
+ 96256 [feldt@ce ch ] Hej Hej Mikael,
  96266 [phubuh@ph bu] Indeed, it is!  I was kind of sceptical at the potential use of it at
  96294 [feldt@ce ch ] Yes, or we could even

require usage and namespaces
96162 [greg@br nd .] Ok, I'm a little confused but I know you guys know the answer ;-)
+ 96163 [neoneye@ad l] require checks the filename, and skips if the file already is loaded.
| + 96171 [assaph@av ya] module C.
| + 96245 [greg@br nd .] Thanks much for the info!
+ 96200 [bob.news@gm ] "Greg Brondo" <greg@brondo.com> schrieb im Newsbeitrag

DateTime.now offset is 1 off
96168 [shu@ru ur n.] I am not understanding the behavior of DateTime.now.

How are Symbol objects used
96173 [daniels@pr n] Just saw this over at http://www.c2.com/cgi/wiki?IwannaLearnRuby and
+ 96175 [harryo@qi so] A couple of reasons are ...
+ 96176 [aredridel@nb] One reason: Speed.
| 96219 [robo@ma s. o] Symbols are like Atoms in other languages -- they are invariant, and a
| 96221 [surrender_it] when you use something related to reflection
| 96223 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
| 96226 [surrender_it] I agree that it's a question of semantics.
| 96230 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
+ 96198 [bob.news@gm ] "Daniel Sheppard" <daniels@pronto.com.au> schrieb im Newsbeitrag

[ANN] Instiki 0.2.5: Works properly on Windows
96174 [david@lo dt ] What new in Instiki 0.2.5?

Subclassing Test::Unit::TestCase
96181 [mikei@gw so ] (Apologies if this is an obvious question, I'm new to Ruby.)
96186 [nathaniel@ta] No apology necessary... and welcome :-)

Representing Time Ranges (Difference)
96182 [cc1@ce .w st] Is there a nice library for representing Time differences?  I mean it's
+ 96268 [mlipper@US A] I've been busier than a one-legged man at an ass-kicking contest, so
| 96270 [cc1@ce .w st] Hmm, perhaps I scanned it too quickly, but this feels more like a
| 96274 [sroberts@un ] Well, I've been meaning to do this, for the same reasons (I have
+ 96286 [djberg96@ho ] A while back I tinkered with a class I called "FixedTime".  You can

Test (please ignore)
96183 [stevetuckner] This

Syntax: eval( "a = !a) != eval( "a = not a")
96184 [jean_hugues_] Is there a reason why eval( "a = not a") raises a syntax error
96187 [assaph@av ya] Probably because the statement "a = not a" is also a syntax error
96216 [jean_hugues_] OK, so precedence of: not, is lower than precedence of: =. Thanks.
96243 [discord@ma .] The "and", "or" and "not" operators all have lower precedence. If you
96275 [assaph@av ya] ... a coding style that personally gives me the hibby-jibbies, but at
+ 96295 [jean_hugues_] Skip this mail unless ruby's syntax for "not" operator matters to you.
| 96299 [g_ogata@op u] It's from Perl.
| 96300 [jean_hugues_] From perl... makes sense (in a perlish way). Thanks.
+ 96306 [discord@ma .] Man, I had just woken up, and I sent out a truly ugly example. That is

Test post (please ignore)
96185 [stevetuckner] This is

Silly question...
96191 [ggarramuno@a] Is there any way of completely remove a class object's methods instead of
+ 96192 [neoneye@ad l] Will an 'alias' help you?   like this
| + 96193 [assaph@av ya] irb(main):001:0> class A
| | 96195 [daniels@pr n] A = Class.new
| + 96199 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
|   96269 [ggarramuno@a] Indeed.  remove_method and undef_method is what I want.
|   + 96271 [dblack@wo bl] I don't think it would match them, in that instance variables are not
|   + 96291 [bob.news@gm ] "GGarramuno" <ggarramuno@aol.com> schrieb im Newsbeitrag
+ 96206 [stelid-6@st ] ./first.rb:20: warning: method redefined; discarding old initialize
+ 96208 [surrender_it] this works (with warnings)

[BUG?] rubyw poping console-windows on calls to system()
96197 [assaph@av ya] If a script has a call to system(...), or `...`, or IO.popen(...) and is

[newbie] prob with join "/"
96205 [yvon.thorava] (fs stands for file.separator)
+ 96207 [surrender_it] use File.join() and you'r life will be beter :)
| 96212 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
| 96217 [yvon.thorava] ok, tanxs, however my pathes are comin' from java-side (i'm using
| 96222 [bob.news@gm ] "Yvon Thoraval" <yvon.thoravalNO-SPAM@free.fr> schrieb im Newsbeitrag
| 96231 [yvon.thorava] File.split doesn't apply here, IMHO, because i do have "hard coded" path
+ 96210 [angus@qu va ] [Yvon Thoraval <yvon.thoravalNO-SPAM@free.fr>, 2004-03-31 10.29 CEST]
  96214 [yvon.thorava] context = $tag.getPropertyInTree("context") # = "/com-ultrid-yvonthor/"

ruby-dev summary 23214-23268
96220 [aamine@lo er] This is a summary of ruby-dev ML in these days.
+ 96225 [ahoward@fa t] i like this idea.  i could be a place to do things like
| + 96229 [akr@m1 n. rg] readpartial is rejected because matz doesn't like the name.
| | 96233 [ahoward@fa t] matz, how about
| + 96290 [george.marro] You could also have ..
+ 96258 [surrender_it] would'nt it make  sense to have this as
threads.html
top