104010-104514 subjects 104456-105311
^ Rake desc bug
104244 [ jimm io.com] I think I've found a minor bug in Rake with the "desc" method and -T flag.
104248 [jim weirichh] Thanks for the report. I think this is a case where it works as designed,
+ 104250 [ jimm io.com] Jim,
+ 104308 [jim weirichh] The latest rake in CVS now supports additive comments. Multiple
104336 [ jimm io.com] Jim,
^ newbie problem with a hash
104263 [graham rockc] def initialize(fname)
+ 104264 [sean celsoft] How are you calling get_datum? Show us the line where you call it that gives
| 104323 [graham rockc] printf("%s",datid.class)
+ 104276 [discord mac.] Where did you get 'datid'? Are you absolutely positive it's a String? I
^ A question about Class and Object
104272 [ssk chol.nos] I found a strange thing.
+ 104274 [drbrain segm] See Module#nesting in ri
+ 104275 [ksibilev bel] $ irb
| 104290 [ssk chol.nos] Thanks for your reply.
| 104291 [drbrain segm] Class inherits from Module, Object does not. A Module has a nesting,
| 104295 [rcoder gmail] Sam,
+ 104300 [wilkesjoiner] What version of Ruby are you running? From irb,
| 104302 [ssk chol.nos] I'm using Ruby 1.8.
| + 104307 [assaph avaya] Object is a concept ("a thing")
| | 104316 [ssk chol.nos] With your help, my brain starts building up concepts...:)
| | + 104318 [cpine hellot] Well, thanks!
| | + 104329 [burtdav hotm] I found so, too -- thanks Chris.
| + 104326 [george.marro] The key is that what class an object is doesn't say everything about
| | 104351 [ssk chol.nos] Thank you!
| + 104332 [decoux moulo] well, try to forget about metaclass.
| + 104352 [ssk chol.nos] I don't think it's a stupid explanation...:)
| + 104361 [surrender_it] wow, this was a wonderful explanation, thanks
+ 104325 [bob.news gmx] "Sam Sungshik Kong" <email@example.com> schrieb im Newsbeitrag
104350 [ssk chol.nos] Thank you for the explanation.
+ 104378 [discord mac.] foo = Class.new do
+ 104388 [hal9000 hype] I think this was well said. Personally I have been using Ruby for nearly
| 104395 [assaph avaya] Class).
| + 104397 [ssk chol.nos] Who are you?
| | 104399 [martindemell] Okay, try this. *Everything* in ruby is an object. There are certain
| + 104398 [quixoticsyco] I'm glad you mentioned Godel; I was going to make a Godelian remark
| + 104404 [decoux moulo] or after :-)
| + 104406 [surrender_it] actually, does really ruby forbids it?
| 104408 [hal9000 hype] I think strange behavior is to be expected when you do
| 104410 [surrender_it] that's reasonable but IMO one of
| 104412 [bob.news gmx] "gabriele renzi" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 104403 [bob.news gmx] "Sam Sungshik Kong" <email@example.com> schrieb im Newsbeitrag
^ Ruby OO (Re: About top-level method)
104273 [jamesUNDERBA] Java and (to the best of my knowledge) C# have a particular philosophy
104281 [ssk chol.nos] James, thanks you so much for your elaborate answer.
^ opening a file in ext
104277 [Ara.T.Howard] what's the correct way to do this? i'm poking around in file.c now - no
+ 104278 [sean celsoft] return rb_funcall(rb_cFile, rb_intern(":new"), rb_str_new2("filename"));
| 104279 [sean celsoft] return rb_funcall(rb_cFile, rb_intern(":new"), 1, rb_str_new2("filename"));
| + 104282 [nobu.nokada ] rb_intern(":new") differs from rb_intern("new").
| | 104288 [sean celsoft] Typing too fast again, you're right.
| + 104283 [ahoward noaa] hmmm. is this really the best way? i mean, why not call the dispatched to
| 104289 [sean celsoft] Since in C you don't have access to all of the C functions that implement
+ 104284 [cyclists nc.] Hmmm...do you want MakeOpenFile() from rubyio.h?
+ 104285 [nobu.nokada ] You should see io.c.
104293 [ahoward noaa] bingo. that solve's problem one.
104296 [nobu.nokada ] Not provided publicly. See prep_stdio() in io.c.
104301 [ahoward noaa] thank you.
^ Enabling/disabling HTML with Amrita
104280 [emschwar pob] I know with Amrita, if you pass nil as the data for a template
+ 104297 [aredridel nb] <tr><td><span amrita:id='cell2'>Cell 2</span></td></tr>
| 104299 [emschwar pob] Right, but that still leaves the extra <tr> in there. I want to have
+ 104304 [rubyzbibd ub] Notice that cell2 is a child of row2.
104356 [emschwar pob] This is very cool. I'll have to re-read the Amrita docs to see if I'm
^ Full-featured untaint() method for Ruby?
104286 [jm zzzzzzzzz] I was wondering if there was a full-featured untaint() method available
+ 104287 [drbrain segm] =20
| 104294 [jm zzzzzzzzz] We're using a default $SAFE level of 2.
| + 104320 [usenet andre] Do you want to escape all the characters that are dangerous for Shell,
| | 104330 [martindemell] You could use pluggable modules, just to prevent people writing the same
| | 104331 [eule space.c] Are the semantics of untainting not really dependent on what one wants
| | 104334 [martindemell] Yes, but what one wants to protect against has both application-specific
| + 104340 [pbrannan atd] I do not know of such a method, but I agree there should be one.
+ 104321 [surrender_it] for the SQL atuff it's up to the DBMS drivers to provide a quote()
^ Rake and timestamps (ideoms or methods?)
104292 [ptkwt aracne] #begin rakefile
104306 [jim weirichh] Normal tasks don't look at timestamps. If the goal of a task is to
104322 [ptkwt aracne] Jim,
104333 [jim weirichh] You could embed ncvhdl into a script that produces a .vhdo file whose
104357 [ptkwt aracne] That's probably a reasonable way to do it.
^ pics of ruby gurus (RE: [ANN] EuRuKo 2004 News)
104305 [botp delmont] Is there a site where we could see pics/faces of all ruby
+ 104314 [jamesUNDERBA] Certainly the wiki should (I would think) allow links to images hosted
+ 104327 [mneumann nte] Regards,
+ 104389 [djberg96 hot] There are a bunch of Ruby folks with pics on Orkut, if that appeals to you.
^ ext portability question
104311 [Ara.T.Howard] i've got a little statfs ext which works fine. the man page, however, claim
+ 104317 [nobu.nokada ] $ ruby18 -v -rmkmf -e 'have_struct_member("struct statfs", "f_blocks", "sys/statfs.h")'
| 104342 [ahoward noaa] never knew about that one - guess i need to read mkmf! thanks.
+ 104346 [djberg96 hot] See "filesystem" by Mike Hall. The RAA entry is outdated (Mike!) so
| 104381 [ahoward noaa] thanks daniel - i checked this out but gave up on the dead link too soon.
+ 104396 [aredridel nb] Strongly in favor.
^ Anonymous CVS service restart
104312 [shugo ruby-l] = Anonymous CVS service restart
+ 104313 [vjoel PATH.B] Will new snapshots start going out to the mirrors soon?
+ 104315 [dooby d10.ka] Congratulations, this must have been a horrible job.
| 104338 [shugo ruby-l] Thank you:)
+ 104341 [pbrannan atd] Thank you very much!
+ 104360 [surrender_it] wonderful, I was trying to access cvsweb.cgi just before this message
^ popen3 and spawn
104319 [hal9000 hype] When I invoke telnet with PTY.spawn, I can easily send it the
+ 104337 [steven.jenki] I'd guess it's because the pipe is buffered. Try IO#flush or IO#sync.
| 104387 [hal9000 hype] A reasonable guess, but it doesn't work for me.
+ 104421 [evanm frap.n] Forgive me if I don't explain this fully (I'm far from an expert), but the
^ Cocoa Controller Layer and RubyCocoa?
104328 [hvs1 chello.] did anyone succeed in using Cocoa Controller Layer/Cocoa Bindings
^ mod_ruby and Apache ForceType
104335 [ gm navel.gr] I am trying to use the ForceType directive of apache
+ 104359 [carl.youngbl] One other approach that I've used is to use mod_rewrite to cause some
+ 104401 [rasputnik he] Can't answer directly , but isn't this the same as
^ Bug: Ruby 1.9.0 installs executable into wrong place
104339 [malteDELETET] At least I think this is a bug. Since I get a "404 not found" when
^ sub proces with '
104343 [roelandmoors] files = `ls -1 | sed 's/\..*$//' | sort -u`
104345 [decoux moulo] It's \ that you must escape
104348 [roelandmoors] damn, you're right, what was I thinking..
^ Warnings when using RedCloth and Rake
104344 [Stephan.Kaem] first of all thanks a lot for Rake and RedCloth, Jim and _why.
104349 [jim weirichh] It is set in the first line of the the main script invoked by the Rake
104377 [Stephan.Kaem] Wow.
104393 [sdate everes] "Stephan Kš╬per" <Stephan.Kaemper@Schleswig-Holstein.de>
^ [BUG] Segfault - from Ye Olde Ruby/TK!
104347 [mhm26 drexel] 1) version
104354 [nagai ai.kyu] It's a known bug. This version has troubles about Ruby/Tk.
^ passing a block in an extension
104362 [cmills frees] I am trying to write a function in C which calls a Ruby function using
+ 104363 [quixoticsyco] return rb_yield(ary);
| + 104368 [cmills frees] Not exactly what I am after. I was hoping to be able to use the block
| + 104370 [cmills frees] Not exactly what I am after. I was hoping to be able to use the block
+ 104374 [sean celsoft] Look at rb_scan_args in http://www.rubycentral.com/book/ext_ruby.html.
+ 104383 [nobu.nokada ] return rb_iterate(rb_each, ary, rb_yield, 0);
^ Newbie question - how to replace multiple whitespace within a string?
104364 [btully gstoc] Sorry if this is too basic a question but I just inherited a handful of Ruby
+ 104365 [cribbsj oakw] state.squeeze!(" ")
| 104369 [btully gstoc] Simply MAH-velous! :) thanks a bunch!
| 104371 [vjoel PATH.B] str.squeeze! is destructive (changes the String object referred to by
| 104373 [btully gstoc] Hmmm I'm a little hazy...
| + 104375 [cribbsj oakw] You are correct.
| + 104376 [msparshatt y] this is correct
| | 104379 [btully gstoc] Aha! Thanks Mark :)
| + 104497 [vjoel PATH.B] @state = @user['state']
+ 104366 [usenet andre] "New York".gsub(/ /, ' ')
^ [ANN] CKHTMLTable 0.1
104367 [rb raphinou.] this is my first announcement here. I hope I'm not too verbose, but I
104380 [jamesUNDERBA] No, not too verbose. And, in general, I prefer when people write a
104372 [cmills frees] Can this macro raise an exception?
104384 [nobu.nokada ] * no memory even after GC
^ Webrick and Cookies
104385 [stedak chart] Using a WEBrick::HTTPServer can some point me to an example
104400 [usenet andre] cookie = Webrick::Cookie.new(name, value)
104407 [surrender_it] I wonder if it could be possibile to unify Webrick::Cookie and
104422 [dross code-e] There are plenty of people who know how to build secure code. It would be
^ thread id's
104390 [snowzone5 ho] how does one go about getting the thread id from within the thread
104392 [hal9000 hype] Thread.current will tell the current thread id.
104394 [snowzone5 ho] and there it is right on page 390 of the pick axe book...right where i
^ yaml and initialize_copy
104402 [hal9000 hype] I was reliving this post just now: http://ruby-talk.org/96022
^ YAML.load and exception objects
104405 [don na.rim.o] I found a problem about YAML.load() and exception objects.
^ [OT] #! with WinXP's cmd.exe (was: Re: Warnings when using RedCloth and Rake)
104409 [Stephan.Kaem] Well... I actually do. :-)
+ 104413 [sdate everes] And so it is to me too :-0
| 104417 [Stephan.Kaem] Hmmm, I'm getting more and more puzzled by this...
| 104418 [drbrain segm] You did.
+ 104414 [nobu.nokada ] Current ruby implementation takes options from the first line
^ embedded document meets end of file
104411 [neoneye adsl] I am curious to what that message means?
104415 [nobu.nokada ] =end line must not be followed by non-space characters. It is
104416 [neoneye adsl] if it isn't part of the syntax.. wouldn't it then be better if Ruby rejected
+ 104420 [hal9000 hype] I thought rdoc made use of this behavior?
| 104430 [dave pragpro] On the =begin
+ 104434 [nobu.nokada ] It is a part, but quite different from other parts. And
^ ANN: KirbyBase 1.6
104419 [cribbsj oakw] KirbyBase is a small, plain-text, dbms written in Python or Ruby. It
^ Why doesn't this work? (CGI)
104423 [orion2480 ho] Using eruby/mod_ruby on an apache webserver. In the following code, I
104425 [bg-rubytalk ] I don't know the internals of the CGI module well, but you're mixing a
104427 [orion2480 ho] <html><head></head><body>
+ 104428 [orion2480 ho] Forgot to mention that method="GET" doesn't change anything. It appends the
| 104436 [sdmitry lrn.] See ruby-talk:96394 for the same problem and example of solution.
| 104439 [patrick hexa] I maintain an alternate CGI library, of debatable merit (in another
| 104441 [eyez illuzio] I would argue that you should have some standard way of overwriting
+ 104438 [eyez illuzio] Yes, you can absolutely mix and match POST and GET as long as your
+ 104458 [bg-rubytalk ] In that case, you're not mixing and matching. You're only doing a "GET"
^ PTY.spawn error-prone?
104424 [hal9000 hype] I've been playing with PTY and it seems to me that this
104426 [bg-rubytalk ] What kind of errors? Exceptions, like the child exiting, and the fun
104429 [hal9000 hype] The former, I suppose. Isn't it the case that the child may exit for
+ 104432 [john.carter ] Firstly, most people _won't_ notice this as a problem. If you working
| 104433 [hal9000 hype] Thanks, John. Didn't mean to quote you out of context.
+ 105011 [billk cts.co] Funny thing... A day or two after reading this, and smiling
^ Ruby/Tk - Windows - disableforeground
104431 [mhm26 drexel] Is there any reason disableforeground and disablebackground don't work
^ Re: FXRuby question
104442 [lyle knology] Probably the fxruby-users mailing list is a better choice, although I
^ does anybody have a win32-binary of quixml?
104443 [t0rsten pixe] i am searching a win32-binary of the quixml-libary (
104448 [eban os.rim.] % ruby extconf.rb --with-quixml-lib=c:/Expat-1.95.7/Libs --with-quixml-include=c:/Expat-1.95.7/Source/lib
104452 [t0rsten pixe] checking for expat.h... no
104504 [djberg96 hot] Torsten,
104522 [t0rsten pixe] checking for main() in libexpat.lib... no
^ [ruby-gnome2] segfault with Gtk::ListStore.reorder
104444 [davinciSINSP] Now my problem is with function from subject. When I use it in my
104445 [joaopedrosa ] Are you on Windows? What GTK version? What Ruby
104446 [davinciSINSP] El jueves 24 de junio, Joao Pedrosa escribiˇ║
104447 [joaopedrosa ] Good. At least you aren't on Windows. :-)
104450 [davinciSINSP] El jueves 24 de junio, Joao Pedrosa escribiˇ║
+ 104453 [joaopedrosa ] I could reproduce it on Windows with both GTK 2.4.1
+ 104457 [mutoh highwa] Thanks. Your example is really helpful.
104483 [rcoder gmail] FYI, on Fedora Core 1, using the system RPM for ruby-1.8.0 and
104507 [joaopedrosa ] Thanks. Are you using GTK 2.4.x? Because I think this
104508 [rcoder gmail] Yes, I'm using a 2.4 version of Gtk. That could help to explain the difference.
^ Net::Telnet and TERM
104451 [nml fjserv.n] Anyone know how to set the TERM environmental variable on the remote box
^ N Dimensional Hash?
104454 [jim freeze.o] I'm looking for an object that behaves like a
+ 104463 [bob.news gmx] "Jim Freeze" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 104464 [sdate everes] I always thought that Arrays cannot be used as hash keys,
| + 104482 [alexmchale g] What about something like this?
| + 104523 [bob.news gmx] "Shashank Date" <email@example.com> schrieb im Newsbeitrag
+ 104723 [john.carter ] An idiom I quite often use is...
^ rubygems thoughts
104455 [fugalh xmiss] My participation here is sporadic at best, so forgive me if these
+ 104459 [jim weirichh] Thanks!
| + 104461 [lyle.johnson] Is there someplace that non-RubyForge projects can upload their gems,
| | + 104462 [curt hibbs.c] From an outsider's perspective (i.e., I'm not Rich or Tom), you could always
| | | 104481 [tom infoethe] That would work too - and you wouldn't have to wait for anyone to put
| | + 104480 [tom infoethe] Could be doable; perhaps a CGI script that accepted the files, verified
| + 104465 [hfugal wenco] Ok, that seems like a great solution. Guess not all the docs have been
| | 104466 [sean celsoft] I didn't realize this either. Someone ought to write a definitive tutorial on
| | 104468 [jim weirichh] "Beware of bugs in the above code; I have only proved it correct,
| | 104470 [jim weirichh] <nothing!>
| | + 104473 [sean celsoft] Use YAML as the control file instead of native Ruby. I think it would make
| | | 104485 [jim weirichh] Actually, the .gemspec file is optional, and I never build one for my
| | | + 104490 [sean celsoft] That sounds like what I need. Can I re-constitute the YAML into a native Ruby
| | | | + 104492 [gsinclair so] I'm sure you can, but I reckon this sounds like the more difficult way
| | | | | 104493 [sean celsoft] I agree, but I don't mind having to call a little code to load my own YAML and
| | | | + 104503 [jim weirichh] Yes.
| | | | 104506 [sean celsoft] Sounds like it! When you guys update the documentation, be sure to make a
| | | + 104491 [batsman.geo ] I think he's referring to a 2-stage install, like the one in FreeBSD's
| | + 104474 [sean celsoft] Hey, at least you didn't accidently send a love letter for your wife to the
| | + 104475 [chadfowler g] While vacationing in Europe, I'm working on what will hopefully be a
| | 104478 [sean celsoft] It would be nice if Gems also used the directory structure used by setup.rb;
| + 104489 [gsinclair so] $ ruby -r ruby-doom -e ''
+ 104460 [batsman.geo ] RubyGems no longer requires you to use that scheme; it can install
| 104467 [hfugal wenco] A good start would be working in signatures and letting people do with
| + 104469 [drbrain segm] =20
| + 104479 [batsman.geo ] What I meant is that the more technical part of the problem is easily solved
| 104488 [hfugal wenco] Which is also what I meant. The hard part here is not the technical, but
| 104518 [rcoder gmail] As a temporary fix, why not have the URLs at which gems can be
| + 104524 [batsman.geo ] This sort of centralized system is the easiest solution (I'm soon
| + 104538 [hfugal wenco] As Mauricio said, a centralized system like you propose requires the
| 104560 [rcoder gmail] Why not just use the public-key system already build into SSH/SCP/SFTP
+ 104471 [quixoticsyco] [ piggybacking my request onto this thread :) ]
104472 [lyle.johnson] Could you be more specific about the "without success" part? I somehow
104486 [quixoticsyco] Well there were several problems and I was hoping to mooch off a