6134-6492

5949-6906 subjects 6348-7087

^ emacs-mode
6134 [jhspies adep] My emacs-mode does not work correctly.  I did put the following in my
6168 [c.hintze gmx] Of course,
6174 [jhspies adep] Thanks.  I still have Ruby 1.4 and irb is missing.  At least now I

^ Thoughts on a Ruby browser
6138 [hal9000 hype] I have to issue a disclaimer first, that I am not a code browser user,
+ 6145 [schneik us.i] Well from this and some other related quality-oriented and
+ 6171 [steve deaf.o] That was a cool wish-list. We want a lot of things in common!
| 6198 [schneik us.i] #
| + 6203 [steve deaf.o] Matz would have to provide the answer to this one, but it would be
| + 6243 [matju cam.or] * Self/Morphic
+ 6366 [charleshixsn] I agree totally.  But this isn't a real problem for Ruby.  (A benefit of a
  + 6384 [schneik us.i] #
  | + 6385 [hgs dmu.ac.u] [Layout mercilessly munged for brevity :-)]
  | | 6388 [schneik us.i] # I've not got into GTK yet.  Things I'd want to know about it before
  | + 6399 [charleshixsn] Glade is a reasonable choice, but my experience has been that unless you are
  |   6404 [schneik us.i] # Glade is a reasonable choice, but my experience has been that unless you
  |   + 6406 [schneik us.i] #
  |   + 6492 [keith groupd] My opinion is that ease-of-installation is paramount here.  Asking
  + 6429 [hal9000 hype] been

^ please unsuscribe me.
6140 [m_prabhakar ] Please unsubscribe me..
6141 [kikutani gal] See your mail header.

^ Ruby hi(gh), and pointer to Jotto program
6149 [dblack candl] The "hi" part of the subject pertains to the fact that I'm new to this
+ 6151 [andy toolshe] Thank you!  That's pretty much the same reaction Dave
+ 6152 [Dave thomase] I like it (i even caught me cheating). Have you considered putting it
  6204 [dblack candl] Done!
  + 6209 [Dave thomase] String mixes in Enumerable, so each_with_index is available.
  | 6216 [dblack candl] But doesn't that just split (inclusively) on $/, rather than
  | 6217 [Dave thomase] Yup - I'm totally wrong on that one. Also, I just tried it with
  + 6244 [matju cam.or] +/w1=w2

^ Re: Thoughts on a Ruby browser -- Komodo Technology Preview available
6153 [schneik us.i] #

^ Ruby Book Eng tl -- hiadokyumento ?
6154 [jon kanji.co] ヒアドキュメント (hiadokyumento)?
6155 [crouton weat] It is so called "here documents".
6156 [jon kanji.co] Well, I thought it might be 'here' but it seemed strange, so...
6157 [kikutani gal] According to perl man pages, 'here documents' seems appropriate.
6158 [gnhurst hurs] I never even heard of 'here documentation' before. That sounds funny ;-)
6159 [jon kanji.co] Hear! Hear!

^ mail archive
6160 [maurice.szmu] This message is in MIME format. Since your mail reader does not understand
6162 [crouton weat] Here it is:-) => http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml
6163 [aleksi.nieme] This message is in MIME format. Since your mail reader does not understand

^ mkmf: Why not have_library(lib, [funcs])?
6165 [feldt ce.cha] Why can you only test that one func is available with
6166 [decoux moulo] You want to test if a library is available.
6167 [feldt ce.cha] Ok, I thought of it more like a simplistic version check so that you can

^ Mapping text to method calls
6169 [aschneiderma] I'm writing a voice-driven code editor, and I need to be able to map
6170 [hipster xs4a] class Dispatcher
6172 [aleksi.nieme] Besides hipster's beautiful dispatcher (I guess it needs argument passing,
6173 [aschneiderma] Thanks very much to hipster and Aleksi for their examples; it's just
6179 [schneik us.i] #
6185 [steve deaf.o] You got that pretty much right, but I wasn't proposing to implement all

^ Lazy operators
6175 [aleksi.nieme] Oh, this must be your lucky day. I just noticed my version of Ruby (which
6182 [gnhurst hurs] Wow, I am delighted that you have met this challenge already :-)

^ Minimal but practically useful Ruby browser?
6181 [schneik us.i] What do you all think would be a "reasonably minimal" set of capabilities
+ 6183 [Dave thomase] I think that's a good question.
| + 6184 [steve deaf.o] I don't think it'd make sense to show singletons in a class list, as
| + 6186 [jweirich one] I would welcome support for Ruby in OOBR.
|   6196 [decoux moulo] ruby -e 'a = proc { return "hello" }'
|   6201 [steve deaf.o] Not equivalent in operation, but the same in the sense that it associates
|   6202 [decoux moulo] In this case, a method is just a block of code associated with a variable
+ 6400 [charleshixsn] Edit, Print, Coordinate files, Highlight reserved words, cross-platform.

^ WTB: Old Digital DEC PDP-8 Computer or software
6187 [johnb teache] I am trying to aquire  a PDP-8 computer (eg: PDP-8/L, PDP-8/M, PDP-8/E, etc..). Also, any software, boards, manuals for a PDP-8.

^ SOAP?
6188 [chadfowler y] First post to the list.  I recently got hooked on Ruby via combination of "Pragmatic Programmer" (learn a new language every year) and "Programming Ruby" (Great Books!).
6191 [nahi keynaut] I am NaHi, author of SOAP4R.
6197 [schneik us.i] # I recently got hooked on Ruby via combination of "Pragmatic
+ 6200 [chadfowler y] NaHi,
+ 6207 [Dave thomase] Japanese would be useful at the moment.

^ What is "ii"?
6189 [green FreeBS] I've repeatedly seen posts using -rii and getting a method to dump actual
6190 [Dave thomase] Guy Decoux has a similar program, ii, available at
6195 [decoux moulo] [[ retry, the first message has bounced. sorry if you see this message

^ Ruby exposure on linuxtoday.com
6199 [hipster xs4a] we're getting some nice exposure on

^ marshal.dump again
6205 [hgs dmu.ac.u] The second parameter is supposed to be optional.  How does ruby determine
6206 [decoux moulo] If you have only 2 parameters and the second is a FIXNUM then it's the
6208 [hgs dmu.ac.u] But how does it work?  Does it use 'type' to find this, or is there
+ 6210 [decoux moulo] static VALUE
| 6211 [hgs dmu.ac.u] sort of using type then. Ok. thanks.
| 6213 [Dave thomase] I could have sworn it was 100. It's a bug.
+ 6212 [matz zetabit] You've found the second (?) bug in the Dave&Andy's book.
  6214 [Dave thomase] Oh, there are more than that...
  6215 [hgs dmu.ac.u] There are not so many listed, really, for such a large book.  And the
  6218 [aleksi.nieme] Well, it's probably just within any statistical test, but otherwise it seems

^ A book!
6219 [Dave thomase] ...
6230 [matz zetabit] Hmm, before subimitting any update...

^ ruby-lang.org
6220 [Dave thomase] Is anyone else having trouble getting through to ruby-lang.org. It
6221 [gnhurst hurs] I get there faster than ever.
+ 6222 [hgs dmu.ac.u] Seems quick to me too.
+ 6223 [Dave thomase] It's still dead for me: it looks like www.ruby-lang.org is redirecting
  + 6224 [hgs dmu.ac.u] That's right, 'tis helium.
  | 6226 [Dave thomase] I can get through using the IP address, and...
  + 6225 [ms iastate.e] I just asked for <www.ruby-lang.org> and landed on

^ MatchData#[](0)
6227 [hal9000 hype] Question for you.
+ 6228 [aleksi.nieme] ruby -v -e' "abc".gsub!(/\w/) {|m| p m }'
| 6232 [matz zetabit] It seems for me it's working nice.  What's wrong?
+ 6229 [Dave thomase] Well.. you can use the fact that $~ is set the the last MatchData
| 6234 [Dave thomase] Sorry, that should have been      Regexp::last_match
| 6235 [aleksi.nieme] Forget it. My blunder. I read the code like I moved from \w to [a-z]. So the
+ 6231 [matz zetabit] 1. use $~

^ Amazon interview
6233 [Dave thomase] No, not talks with large, lopsided women.
6236 [schneik us.i] # There's an interview that Amazon did with Andy and me at

^ [ruby-list:25865] Re: new host at ruby-lang.org (or rubyist.org)
6237 [matz zetabit] Your guess is incredibly right.  We are talking about
6266 [gnhurst hurs] I favor the proliferation of many ruby sites.
6279 [matz zetabit] Thank you for the ideas.
6303 [schneik us.i] # > ...  We are talking about
6312 [gnhurst hurs] That is very interesting - thanks for bringing this up.
+ 6313 [Dave thomase] Just as an aside, DDJ does have some Ruby information at
| 6320 [schneik us.i] # >
| 6335 [chadfowler y] I would prefer something more like Linux Kernel
| 6345 [schneik us.i] # > >
+ 6373 [akuchlin mem] What you're after is something more like the python-dev summaries

^ Regular expression puzzle: user error or bug?
6238 [schneik us.i] Is this another case of overlooking something obvious? (Besides the
6241 [matz zetabit] This worked fine for ruby 1.6.2 (2000-11-08) [i586-linux].
6250 [huber mclx.c] I thought this might be an endian problem, but this seems to work fine
6259 [schneik us.i] # > |using ruby 1.6.2 (2000-10-12) [rs6000-aix4.3.2.0].
6260 [huber nights] ruby 1.6.2 (2000-10-18) [powerpc-linux]
6305 [schneik us.i] FWIW, I still get the same error when compiling with the added "-O
6306 [schneik us.i] Oops, pasted old output.

^ quiz of the week
6239 [matz zetabit] Can you tell the results from the following?
+ 6245 [green FreeBS] Ooh, fun!!
| 6246 [green FreeBS] In case anyone wants something else to try an example of how fun
| + 6247 [matju cam.or] cool!!!
| | + 6248 [matz zetabit] Aaaaaghhhh!  This is a bug!
| | + 6249 [ms iastate.e] Yeah, try it under Windows 98 ... kaboom!
| |   6268 [matju cam.or] kaboom? ruby, or the whole os?
| |   6270 [ms iastate.e] The whole OS. Probably it just reflects on how unpredictably W98 can
| |   6271 [hal9000 hype] Hmm... see below.
| |   6275 [ms iastate.e] The 'full environment'.  But I think the system must have been in an
| + 6272 [schneiker ju] For the benefit of newcomers (and for those of us who haven't had spare time
| + 6274 [decoux moulo] pigeon% ruby -riis -e '!?!?!?::?!??*:?!??!*??:?! ; puts dump'
+ 6276 [js adept.co.] When I tried this, I saw something funny different from what you
+ 6277 [decoux moulo] This is the same, the reason is because 'line' is a local variable for
  6278 [ms iastate.e] Or try the revised eval.rb,
  6302 [schneik us.i] # >

^ Dynamic languages need formal typing of public interfaces
6240 [panu way.com] Dynamic languages need formal typing of public interfaces
6405 [andy toolshe] No they don't.
6407 [charleshixsn] Can we even define the semantics of a routine (other than by the source code)?
6410 [Dave thomase] def sqrt(n)

^ Excite translation problem
6242 [Dave thomase] The Excite translation of ruby-list doesn't seem to be working. This

^ Embedding Ruby?
6251 [olivier vibe] I've recently discovered Ruby wich seems a very cool language.
6252 [Dave thomase] Indeed it is.
6253 [decoux moulo] Yes, it's easy
6257 [olivier vibe] Ok, thank you all, I haven't noticed this last chapter.

^ Rescue problems
6254 [aschneiderma] I'm having problems getting rescue to work.  I can catch a specific
+ 6255 [decoux moulo] By default 'rescue'  catch only StandardError.
+ 6256 [Dave thomase] A rescue with no exception catches exceptions of type StandardError

^ YA newbie: mod_ruby vs mod_perl
6258 [anr agestado] I just received my copy of `Programming Ruby'. It's a page turner!
6262 [mascarenhas ] I'm planning to use Ruby for a class assignment this semester (it's a web
6309 [anr agestado] OK. I'm also interested in your XP class experience, please let me

^ A Really Simple Class Browser
6261 [jweirich one] After all the talk about a class browser, I threw this together to try
+ 6263 [schneik us.i] # After all the talk about a class browser, I threw this together to try
+ 6281 [steve deaf.o] This was fun! I enjoyed playing with it and thinking about the

^ aliasing class methods
6264 [dblack candl] Is there more compact way to alias class methods than this
6267 [aamine dp.u-] class T

^ Source Navigator and Ruby
6265 [Dave thomase] Just as a proof of concept, I hacked the Ruby parser into an add-in
6282 [steve deaf.o] I'd be interested in having a look at that! I'm downloading the source
6287 [Dave thomase] post details.
6304 [schneik us.i] # Just as a proof of concept, I hacked the Ruby parser into an add-in
6310 [Dave thomase] I frankly don't know. I normally swear by emacs, but I'm going to try

^ RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2000-11-11)
6269 [schneiker ju] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2000-11-11)

^ SOAP4R/1.0.2 (was Re: SOAP?)
6273 [nahi keynaut] Chad,
6280 [chadfowler y] Thanks so much!  I'll try it out today and let you know how things go.
6285 [chadfowler y] undefined

^ Dir.mkpath
6284 [aleksi.nieme] May I propose an add to standard library, namely method mkpath to class Dir.
6286 [CQN02273 nif] ir.

^ lchown()/etc. and Unix syscall completeness
6288 [green FreeBS] Ruby as it is now isn't very consistent with the system calls it provides.
+ 6290 [matju cam.or] patch below.
| 6291 [matju cam.or] hehehe... lchown() probably isn't either, but it's on Linux though, and
| 6292 [decoux moulo] moulon% ls -al /proc/6077/root
| 6298 [matju cam.or] Ok, now tell me what effects it has on file opening =)
+ 6294 [matz zetabit] In fact, POSIX.1 is inconsistent.  sigh.
  + 6296 [Dave thomase] I've been thinking about this a bit. I'm wondering why it's a bad idea
  + 6297 [green FreeBS] It is not to criticize you; rather, I would like to know where the limit is

^ eRuby  & Malformed Header
6293 [bryan_zarnet] I just installed eRuby under Apache (not the module)
6295 [c.hintze gmx] May I ask, how the .rhtml files looks like?
6299 [bryan_zarnet] Sure,
6301 [chadfowler y] What does your configuration look like?  How exactly
6307 [decoux moulo] Probably eruby segfault
6308 [hal9000 hype] Heh... maybe we could give it a command line flag so that

^ Daily Ruby snapshot
6314 [pschoenb sol] recently, I wanted to compile the daily Ruby snapshot, but "configure"
6315 [Dave Thomase] If you run autoconf, it generates the configure script.

^ Q: Sandbox security, SAFE and system
6316 [feldt ce.cha] I'm trying to understand SAFe and tainting in Ruby but I can't see how it
+ 6317 [Dave thomase] If you're on a Unix box, could you use Dir.chroot?
| 6319 [feldt ce.cha] Probably, but I need something that is at least portable to Windows
+ 6344 [matz zetabit] I'm afraid it is.  You might accomplish it by using fork and chroot

^ Format of Subject line.
6318 [chris fedde.] It bugs me that my first posting to this list is going to be a
6352 [schneik us.i] Anyone know how comp.lang.python handles this? Isn't it also mirrored to a

^ dup vs clone
6323 [jweirich one] I spent some time this weekend purusing the "Programming Ruby" book
+ 6326 [aleksi.nieme] Jim,
+ 6328 [matz zetabit] `clone' copies everything; internal state, singleton methods, etc.
+ 6330 [Dave thomase] dup is used to copy the contents of an object, but not necessarily all
  + 6332 [aleksi.nieme] Eval is probably good. But the simple way doesn't always work. The problem
  + 6334 [jweirich one] Oops.  I wasn't clear.  I was thinking out load about the problems of

^ arity
6324 [jweirich one] Next question ...
6329 [matz zetabit] Try the REAL one argumented closure.
6339 [matju cam.or] [[1],[2],[3],[4]].collect{|x |x} #=> [[1], [2], [3], [4]]
6343 [matz zetabit] I know.  I couldn't think of a proper term.  Why all the people using

^ Class Browser Questions
6325 [jweirich one] I did some more work on the GemFinder Class Browser I posted last
6331 [aleksi.nieme] I don't know about the best way, but here's a home-made way which avoids
6353 [schneik us.i] # I did some more work on the GemFinder Class Browser I posted last

^ If Data_Make_Struct(class,c-type,mark,free,ptr) is called but
6333 [jsmall laser] If
6341 [matz zetabit] rb_obj_call_init() has no relation with freeing ptr.   It just call

^ Another Smalltalk control structure idea
6336 [jweirich one] Just as the if_none / when_missing / nil_gives discussion has died
+ 6337 [aleksi.nieme] Inject should be on the FAQ (http://www.rubycentral.com/faq/rubyfaq.html),
| 6342 [matz zetabit] The only reason I didn't put it in 1.5 (or 1.6) was I felt `inject'
| + 6346 [schneik us.i] # In message "[ruby-talk:6337] RE:  Another Smalltalk control structure
| | + 6350 [johann physi] Common Lisp uses "reduce."  In Scheme, I'm used to seeing this named
| | + 6351 [hipster xs4a] Credits go to Dave Thomas, see [ruby-talk:03178]. I merely archived
| | | 6355 [hgs dmu.ac.u] Is it any help to remind people that Python has
| | | 6357 [hipster xs4a] The following list contains all standard list operations as defined in
| | + 6358 [pixel mandra] mercury uses foldl and foldr
| + 6347 [gnhurst hurs] I didn't really like the name 'inject' either.
+ 6338 [Dave thomase] Page 102 ;-)
  6340 [matz zetabit] Yeah, maybe in 1.7.  Remind me periodically, please.
threads.html
top