96054-97895

95965-96707 subjects 96307-98016

^ 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 bel] 94522-95545
96076 [aredridel nb] Ah, thank you -- just what I needed.

^ calling break in proc
96055 [bhilton vpop] 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 vpop] 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 vpop] My app is still raising an error, so I've simplified things as much as
  + 96329 [bhilton vpop] I found a simpler example that exposes this strange proc/break problem.
    96361 [matz ruby-la] The point is the break destination.
    96363 [bhilton vpop] Thanks for the explanation - it makes sense.  What surprises me is that
    96366 [matz ruby-la] Oops, there must be somewhere.  Let me see.

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

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

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

^ General observations
96066 [greg brondo.] 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 cql.com] My take on this is slightly different.
| + 96077 [daniels pron] Does the existence of Ruby/Python
| | 96078 [daniels pron] /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 adsl] 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 email.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 gmx] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag

^ possible Time & DateTime RCR: reconciling and extending their apis
96071 [sroberts uni] (Maybe this should be 3 emails... there are 3 issues, but I will try one
96355 [tadf rc5.so-] Perhaps, there is difference in concept.
97457 [sroberts uni] I see no difference in concept, only a difference in construction.
97858 [tadf rc5.so-] Ruby's Time as a wrapper of the time facilities in C.  It's not only a
97895 [gavin refine] 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 fatt] look at the pstore and yaml impls in the distribution.

^ Attr_constructor
96086 [daniels pron] I've been writing a couple of very struct-like classes, and got annoyed
+ 96088 [daniels pron] I don't know why I was using instance_variable_set... I think it was a
+ 96093 [ahoward fatt] class Foo
+ 96133 [bob.news gmx] "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 adsl] Simon Strandgaard
+ 96110 [ajohnson cpa] @seen = Hash.new {|h,k| h[k] = []}
  96119 [casillas sag] Ah.  This is good.

^ Protecting commercial Ruby source
96108 [puyo optusho] 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 puyo.cj] Ah, that's quite clever because I presume it also gets around the
96172 [daniels pron] I was unaware of any licensing issues with using exerb. I was under the

^ Change in semantics on multiple values
96111 [puyo optusho] I noticed this here: http://www.rubygarden.org/ruby?Rite
96115 [matz ruby-la] 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 quovad] [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 ruby-la] 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 ruby-la] 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 yeyo.no] I know absolutely nothing about programming, but lots of time and will to
+ 96127 [stelid-6 stu] /Stefan
+ 96129 [neuro seclab] regards
+ 96136 [ccos alphali] i think ruby would be a great place to learn to program. it is very
| 96138 [yaya yeyo.no] ccos <ccos@alphalink.com.au> escribien news:C243E8F0-824A-11D8-99A5-
+ 96139 [rocioestrada] No You're not, is very feasible, I'm "self" taught ;-)
+ 96151 [unet rexx.co] It's very feasible.  Get _Teach Yourself Ruby in 21 Days_ by Mark Slagell.
  96190 [cpine hellot] 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 atla] I'm having a really weird issue trying to use rubyzip on FreeBSD 4.9.
+ 96202 [thomass delt] I have never experienced the Errno::EFBIG exception myself. If anyone
| 96242 [whitton atla] irb(main):002:0> require 'zip/zip'
| 96246 [whitton atla] I've distilled the problem down to the following lines of code.
+ 96371 [thomas First] 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 uni] 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 adsl] This piece of code yields a warning.
96170 [nobu.nokada ] I think it should be like followings.
96180 [matz ruby-la] Commit this fix, please.
96188 [neoneye adsl] Thanks Nobu+Matz for a perfectly working solution.

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

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

^ DateTime.now offset is 1 off
96168 [shu rufuran.] I am not understanding the behavior of DateTime.now.

^ How are Symbol objects used
96173 [daniels pron] Just saw this over at http://www.c2.com/cgi/wiki?IwannaLearnRuby and
+ 96175 [harryo qiqso] A couple of reasons are ...
+ 96176 [aredridel nb] One reason: Speed.
| 96219 [robo mars.co] 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 gmx] "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 gmx] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
+ 96198 [bob.news gmx] "Daniel Sheppard" <daniels@pronto.com.au> schrieb im Newsbeitrag

^ [ANN] Instiki 0.2.5: Works properly on Windows
96174 [david loudth] What new in Instiki 0.2.5?

^ Subclassing Test::Unit::TestCase
96181 [mikei gwnsof] (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 cec.wust] 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 cec.wust] Hmm, perhaps I scanned it too quickly, but this feels more like a
| 96274 [sroberts uni] Well, I've been meaning to do this, for the same reasons (I have
+ 96286 [djberg96 hot] 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 avaya] 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 mac.] The "and", "or" and "not" operators all have lower precedence. If you
96275 [assaph avaya] ... 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 optu] It's from Perl.
| 96300 [jean_hugues_] From perl... makes sense (in a perlish way). Thanks.
+ 96306 [discord mac.] 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 adsl] Will an 'alias' help you?   like this
| + 96193 [assaph avaya] irb(main):001:0> class A
| | 96195 [daniels pron] A = Class.new
| + 96199 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
|   96269 [ggarramuno a] Indeed.  remove_method and undef_method is what I want.
|   + 96271 [dblack wobbl] I don't think it would match them, in that instance variables are not
|   + 96291 [bob.news gmx] "GGarramuno" <ggarramuno@aol.com> schrieb im Newsbeitrag
+ 96206 [stelid-6 stu] ./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 avaya] 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 gmx] "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 gmx] "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 quovad] [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 lover] This is a summary of ruby-dev ML in these days.
+ 96225 [ahoward fatt] i like this idea.  i could be a place to do things like
| + 96229 [akr m17n.org] readpartial is rejected because matz doesn't like the name.
| | 96233 [ahoward fatt] matz, how about
| + 96290 [george.marro] You could also have ..
+ 96258 [surrender_it] would'nt it make  sense to have this as

^ look/feel of Tk.getOpenFile
96227 [Ara.T.Howard] rtk'rs-
96265 [ferenc engar] Maybe Tk resources.

^ VFS
96228 [akr m17n.org] open-uri.rb and pathname.rb provides a VFS for HTTP, FTP and local

^ prevalence (was: Re: [ANN] Madeleine 0.6)
96241 [vadimn redha] ...

^ Makefile for mysql-ruby?
96244 [rich lithino] I really hope nobody gets offended by my plea for some mercy.
96304 [NOSPAMcs96an] Try ruby-mysql instead of mysql-ruby.  Its written in pure ruby so

^ How to get internal state of DateTime in seconds
96247 [smejmoon yah] How do you get internal state in seconds of DateTime instance?
+ 96250 [stelid-6 stu] Use to_i if you want it as an integer number of seconds
| 96301 [smejmoon yah] There is no DateTime#to_i
| 96305 [ahoward fatt] iff
| 96312 [cc1 cec.wust] Umm I don't understand how this relates, I can construct Time objects
| + 96318 [hal9000 hype] simple method sec2dhms that took seconds and returned [days,hours,
| + 96320 [ahoward fatt] i think i would be suprisingly difficult to do this for anything other than
|   96331 [cc1 cec.wust] Utc doesn't start out at a completely zeroed out date, so you
+ 96254 [sroberts uni] 'possible Time & DateTime RCR: reconciling and extending their apis'

^ script loading question
96248 [greg brondo.] I like working in the style of Java (one class per file) for some projects
+ 96249 [greg brondo.] Um, ok, it worked in IRB but not in my script.  The hash if referencing a
| 96253 [neoneye adsl] Maybe do ?
+ 96251 [surrender_it] I suppose this is reasonable, even if I'd simplify it using an agent/
  96255 [greg brondo.] Woo hoo!  thanks much.  I could not find the info about const_get(name).
  96284 [assaph avaya] const_get(name).

^ tk bind help
96252 [Ara.T.Howard] rtk'rs-
96267 [ferenc engar] txt=TkText.new()
96280 [ahoward fatt] thanks. that worked.

^ Prototyping ruby? (Based on Software Maintenance and Prototype Based  Languages)
96263 [ferenc engar] I develop a ruby/tk app, and although there is no compilation, the app's

^ IO.seek behaving strangely on FreeBSD 4.9
96272 [whitton atla] Initially I thought that this was a bug with rubyzip, but it appears that
96277 [neoneye adsl] I get the EINVAL error on freebsd5.1
96281 [whitton atla] Anybody here have a FreeBSD 4.9 system they can test on with ruby 1.8.1?
96282 [matz ruby-la] I did.  It raises Errno::EFBIG.
96344 [thomas First] Is this something the ruby interpreter will work around?
96354 [matz ruby-la] We just can't provide every work around for every bad behavior on

^ Exception#set_backtrace doesn't have any effect
96273 [neoneye adsl] I want to attach debug information to some of my exceptions, however I
96278 [matz ruby-la] It's a bug fixed in the latest CVS.
96279 [neoneye adsl] Thanks.. I better use cvs-head ;-)
96283 [neoneye adsl] Installation via cvs went fine.. no problems.

^ string !~ string, not possible in cvshead
96285 [neoneye adsl] While upgrading and reinstalling misc modules I regulary use, I bumped
96289 [gfb tonesoft] [mac.gfbm:51]bystr> irb
96296 [neoneye adsl] Thanks for the answer.

^ Kwartz feature requests
96287 [shu rufuran.] Kuwata-san he,
+ 96292 [usenet andre] <span id="load:'first.plogic'"/>
| 96297 [shu rufuran.] Bah, now I feel stupid. :)
+ 96346 [shu rufuran.] The solution seems to be as simple as adding a || chr == ?? in Scanner#word?
  96465 [kwa kuwata-l] Sorry for late reply.
  96475 [shu rufuran.] Quite all right. :)

^ [ANN] Kansas 0.0.1
96288 [khaines enig] What Is Kansas?

^ how to match acented letters on windows
96298 [surrender_it] I just noticed that accented letters like  (actually, if someone
96302 [Stephan.Kaem] irb(main):001:0> a = "Wrongly ct"
96303 [peter semant] Well if your locale was french then you would expect the accented
96309 [discord mac.] I wouldn't want it set based on a pre-set locale... I don't think that
+ 96328 [neoneye adsl] Have a look at this document for more info about i18n/m17n in regexp
+ 96349 [surrender_it] I like perl solution, take a look here at the section 'matching
threads.html
top