93053-93724 subjects 93394-103351

Instance variable capitalization
93243 [jim@fr ez .o] I have a question about how ruby-like is it to capitalize
+ 93247 [bob.news@gm ] "Jim Freeze" <jim@freeze.org> schrieb im Newsbeitrag
+ 93248 [dblack@wo bl] You've questioned its ruby-like-ness (correctly, I think), and
  93253 [jim@fr ez .o] It just bugs me? :)
  93257 [dblack@wo bl] But surely that's a reason *to* avoid it :-)
  93258 [jim@fr ez .o] For me, but I don't think that will fly for everyone else
  + 93262 [ahoward@fa t] class Foo
  + 93279 [Tim.Hunter@s] How about because using lowercase for instance variable names is a
  | + 93289 [jim@fr ez .o] Thanks. I like that.
  | + 93450 [bob.news@gm ] "Tim Hunter" <Tim.Hunter@sas.com> schrieb im Newsbeitrag
  + 93284 [dblack@wo bl] I'm definitely an advocate of traditional Ruby style, and I like to
    93286 [dblack@wo bl] variable and method names, ...

Introducing myself and my interest in ruby
93260 [larryj@gs .e] This is just a note introducing myself to the list, and
+ 93263 [ahoward@fa t] howdy
| + 93266 [neoneye@ad l] Yes, welcome to Ruby.
| + 93291 [hal9000@hy e] Ara,
|   93299 [ahoward@fa t] ha!  check out the url in my sig for general info...
|   93313 [bobx@li ux a] I didn't understand half of it. But that is what makes it way cool! :-)
+ 93264 [lyle@us rs s] Welcome aboard! Ruby should be more than capable for the kinds of system
+ 93769 [noSpam@no pa] Perl was my favorite language for over a decade, with C and then later C++ being
  + 93775 [ahoward@fa t] wow - D looks very cool indeed.  thanks for the pointer.
  + 93812 [discord@ma .] Which leads to a question that has been bouncing around in my mind for
    93837 [surrender_it] IIRC lisp has eval() too, and there are plenty of compiler out ther ;)
    93839 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
    93842 [discord@ma .] I understand that. The attraction would not be that you can just
    + 93845 [jim@we ri hh] the basic Smalltalk system in a subset of smalltalk that could be easily
    + 93855 [surrender_it] first and last sounds much like pyrex[1].
    | 93857 [discord@ma .] Indeed, it does :) I wasn't thinking so much of translation to C, but
    | 93858 [hal9000@hy e] Mark,
    | 103100 [ser@ge ma e-] There are a few severe roadblocks to implementing this, the biggest one
    | 103166 [nick@ac iv h] A compiler could attempt to translate evals into other constructs. I
    | + 103167 [DocBoobenste] It is difficult already to implement reification in compiled code, and
    | + 103182 [bob.news@gm ] "Nicholas Van Weerdenburg" <nick@activehitconsulting.com> schrieb im
    | + 103207 [llothar@we .] No. Simply grep through the 1.8.1 standard library and you  see that
    |   103208 [surrender_it] obj.instance_eval{ initialize(src) }
    |   + 103209 [tom@in oe he] Right on.  Seems like if it an instance_eval usage can be safely
    |   + 103220 [discord@ma .] Would instance_evals (assuming they take blocks) really be that big of
    + 93891 [spyck@ly at ] Lisp has always had an eval statement, ever since 1960 when the first
    | 93916 [discord@ma .] actually, I was meaning that as a joke. I haven't ever gotten beyond
    | 94002 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
    + 93966 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
      93975 [cc1@ce .w st] Currently it does not ever hit bytecode at all, it just interprets using

[BUG] RDoc lists classes twice
93261 [gavin@re in ] Given the following two file test case, RDoc lists each class/module
93290 [dave@pr gp o] Send them to me directly

tainted symbols?
93265 [google@jo nw] irb(main):001:0> t = "p 'hello world'".taint
+ 93269 [msparshatt@y] At first it appears to be since you can then do
+ 93280 [angus@qu va ] $SAFE=1
  + 93281 [decoux@mo lo] svg% ruby -e 't = "aa"; t.taint; p t.intern.tainted?'
  | 93287 [angus@qu va ] It was hypotetical example to show why I think it is a bad idea to
  + 93314 [ng@jo nw on ] I'm not quite sure what you are trying to point out here. In the above
    93382 [angus@qu va ] 'us' and 's' refer to the same object.

Unix daemon conventions
93272 [anon@no pa .] There might be better grouop, however I  just finished writing a ruby
+ 93273 [thomas_adam1] 0 -> 499. 500 is normally not assigned to normal users.
+ 93294 [discord@ma .] I'm not exactly sure about other platforms, but under Darwin/MacOSX,

Trailing comma in method call
93274 [gavin@re in ] [1,2,3, ]  is valid Ruby

threads and blocking
93278 [Ara.T.Howard] under which conditions will a blocking operation in a thread block the entire
93285 [shanko_date@] ...
93322 [vjoel@PA H. ] Doesn't block in ruby 1.9.0 (2004-02-15) [i686-linux]. Maybe a windows
93362 [stevetuckner] On windows sockets will not generally block Ruby, but if you try a
93372 [bob.news@gm ] "Steve Tuckner" <stevetuckner@yahoo.com> schrieb im Newsbeitrag

String#hex confusion
93292 [steven.jenki] $ irb x
93295 [discord@ma .] irb(main):001:0> '22'.sub(/(\d\d)/, "#{'\1'.inspect}")
93302 [steven.jenki] OK, that makes sense. '\1'.class == '22'.class. Thanks, Mark (& Eric).

Re: [ruby] String#hex confusion
93293 [sunshine@su ] You are applying 'hex' to the literal string "\1".  Since '\' is not a hex

TCPserver client disconnect
93296 [noahd@ju o. ] ruby newbie question...
93319 [vjoel@PA H. ] Does sample/svr.rb (in the ruby distribution) help?
93323 [noahd@ju o. ] drops
93324 [vjoel@PA H. ] In samples/svr.rb, I replaced
93326 [noahd@ju o. ] client
93327 [vjoel@PA H. ] Thread.abort_on_exception = true

93298 [rubytuezdayz] #!c:/apps/ruby/bin/ruby.exe
93301 [rocioestrada] Well, both work...what error are you getting?, how are you using those?
93303 [rubytuezdayz] Oops ... I'm using them on the browser. Both of those files is in cgi-bin
+ 93307 [bobx@li ux a] Because Apache is interpreting text/html to be HTML and when it sees
| 93309 [rubytuezdayz] DefaultType text/plain
+ 93311 [jlsysinc@al ] Internet Explorer is the problem.  When a content type of text/plain is sent
| 93366 [bobx@li ux a] Is that a Ruby thing? That certainly isn't how Perl does it. Perl does
| 93367 [cc1@ce .w st] I'm pretty sure under the rfs your supposed to do \r\n\r\n, but I think
| 93368 [cc1@ce .w st] Oops dunno what I was typing, I meant RFC, not rfs,
| 93373 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| 93380 [bobx@li ux a] I would agree except every tutorial I have ever seen on it uses \n\n and
| 93384 [rubytuezdayz] I've tried both using \n\n and \r\n\r\n on Perl and Ruby as well. Both
| 93404 [drtrey@mi so] I doubt that it's an IE vs. Mozilla. This is just basic HTTP stuff. The
| 93432 [rubytuezdayz] The above works for me as well on both IE6 and Mozilla. But try to change
| 93435 [drtrey@mi so] #!C:/ruby/bin/ruby.exe
+ 93312 [rocioestrada] Thought so ;-)
  93325 [rubytuezdayz] Yes, I'm familiar with eruby. I'd rather to use mod_ruby and eruby if I can.
  + 93329 [rocioestrada] In the msg 92598 is link to mod_ruby binaries, but I didn't managed to
  | + 93332 [jlsysinc@al ] Do you know what the difference is between erb.rb and eruby.exe?
  | | 93338 [rocioestrada] Good question, I haven't used erb before, short and honest answer: not
  | + 93431 [rubytuezdayz] with IE and MS-Windoze.
  |   93436 [rocioestrada] Others have pointed out that changing the extension would work, so...
  |   93519 [jlsysinc@al ] Doing a scan of the TDiary code, it's because it sets the the content-type to text/html
  + 93330 [jlsysinc@al ] One way around the problem is to change the extension from .rb to
  | + 93351 [ng@jo nw on ] I'm running it right now on Apache 2.
  | | 93524 [jlsysinc@al ] Oops sorry, you are correct sir.
  | + 93430 [rubytuezdayz] Well, the same problem appears with Perl(.pl) as well. Anyone has the same
  |   93433 [happy@us r. ] it worked for me in the past.
  |   93515 [rubytuezdayz] Internal Server Error
  + 93413 [discord@ma .] If I understand right, when IE gets a text/plain file, It assumes it's

[ANN] Raggle 0.3.0
93300 [pabs@pa lo r] Last night we released version 0.3.0 of Raggle.  Raggle is a console RSS

Ruby syntax highlighting for Ruby
93305 [ jupp@gm .d ] Add the following to $HOME/.nanorc for Ruby syntax highlighting in
93401 [cpine@he lo ] Great!  Thanks.
93426 [ jupp@gm .d ] [Errors while nano parses syntax highlighting for Ruby]
93453 [dmertz@fr e.] There were some missing escape backslashes, here are the regexps that work for
93590 [ jupp@gm .d ] The difference is that '+=' has been changed to '\+='. Very strange.

When will ruby181-11.exe be fixed?
93310 [jwkenne@at g] Are rdoc and ri going to be made usable anytime soon?
93317 [gavin@re in ] What about rdoc do you not find usable currently?
93320 [jwkenne@at g] The ruby181-11.exe version (I'm assuming that there is only one, dated
+ 93335 [curt@hi bs c] Thank you for reporting these problems, they are in our bug list.
+ 93336 [surrender_it] yes, ri has no data. And both need to have a (ri|rdoc).bat without
| 93337 [surrender_it] BTW, I forgot to say that probably, Andy won't ever have time to
| 93360 [bobx@li ux a] Actually you should just customize your ruby.properties and save it out.
| 93377 [surrender_it] eh, already done :)
+ 93345 [Stephan.Kaem] I reported some issues here in c.l.r. I remember that I had the problem
  93356 [curt@hi bs c] Thanks, I added you comments.

Calling JDBC from with Ruby
93321 [mdavis@se as] I am building a web application for a client in Ruby.  The application is working but now needs to access data using JDBC.  My client is requiring both ODBC (for Windows) and JDBC (for Sun) access to data.  I am looking for an example of how to use JDBC from within Ruby.  I have looked at Jruby but would prefer to write my own code rather than rely on a third party add-on that is beta, especially one that has not been updated in a while.  If I write the data access portion in Java that uses JDBC, can I then write a Java wrapper that would allow Ruby to call the Java methods?  Are there any examples available showing how to call a Java method from within Ruby similar to the C interface to Ruby?
+ 93331 [gsinclair@so] If I may go out on a limb here, I've never heard anything so
| 93333 [jlsysinc@al ] Yes.  JDBC is ODBC for Java and Java only.  I suppose one could call the
+ 93451 [bob.news@gm ] "Michael Davis" <mdavis@sevasoftware.com> schrieb im Newsbeitrag
  93467 [mdavis@se as] No.  The data that I need to access may not always be relational and I have been given specific requirements for using both JDBC and ODBC.  I explored many possible options for accessing data with my client and they have several very good reasons for these requirements.
  + 93469 [bob.news@gm ] "Michael Davis" <mdavis@sevasoftware.com> schrieb im Newsbeitrag
  + 93475 [dhtapp@co .n] {snip...}
  | 93478 [mdavis@se as] Thanks.  I offered the original question because I am also unclear about what choices I have.  Having a separate Java process running that my Ruby application would talk too for JDBC access is worth considering, however, I am concerned about my clients willingness to supporting an additional process that must always be running.
  | + 93480 [rasputnik@he] Yuk.
  | | 93482 [mdavis@se as] My application needs to talk to a proprietary database that supports only ODBC only some platforms and only JDBC on other platforms.
  | + 93481 [billk@ct .c ] Have you seen the threads in ruby-talk about rjni ?
  | + 93495 [bob.news@gm ] "Michael Davis" <mdavis@sevasoftware.com> schrieb im Newsbeitrag
  |   93501 [mdavis@se as] I trust you are referring to DBI's ability to use ODBC in Windows.  I am aware of this and if my requirement were to only to access data using ODBC on Windows, I would strongly consider using DBI.  However, this does not address my need to access data using JDBC in a unix environment.
  |   93554 [bob.news@gm ] "Michael Davis" <mdavis@sevasoftware.com> schrieb im Newsbeitrag
  + 93502 [ser@ge ma e-] Are you trying to cheat?  The only reason I can think of for
  | 93506 [mdavis@se as] 1) I hadn't considered this possibility.  Thanks for suggesting it.
  | 93512 [mspath@ar or] did you consider some sort of http-based facade for accessing your JDBC only
  | 93536 [mdavis@se as] Interesting suggestion but I'm not sure I understand.  Would you mind offering a little more detail about what would be needed to set up the http-based facade?
  | + 93547 [mspath@ar or] * a servlet-container (e.g. Tomcat)
  | + 93553 [bob.news@gm ] "Michael Davis" <mdavis@sevasoftware.com> schrieb im Newsbeitrag
  + 93503 [cmiller@pa t] If JDBC is an absolute requirement, I'd say be pragmatic, roll up your

Re: Ruby to Parrot compiler (where is Ruth?)
93328 [ptkwt@ar cn ] But that appears to be an old version.  A newer version was announced last
93334 [dooby@d1 .k ] Still temporary, but this worked just now.
+ 93339 [msparshatt@y] Thanks, that link works. Though the file linked there is misnamed. It
| 93347 [feldt@ce ch ] On Ruby parsers I might also mention that the new version of Rockit
| 93364 [cc1@ce .w st] How hard is it to just piggyback on top of parse.y from the ruby source?
| 93369 [msparshatt@y] Ripper uses parse.y to generate it parser, so it is possible.
+ 93341 [ruby-lists@l] patch to make it compile for my 1.8.1.
+ 93346 [feldt@ce ch ] Oops, I never updated that page. Anyway that's the latest released

Ruby Syntax highlighting for *NANO* (Was: Ruby syntax highlighting for Ruby)
93344 [ jupp@gm .d ] Oops :->

Minor bug in RedCloth (?)
93349 [martin@zs fh] just had RedCloth barf on me with a fairly large document and a bullet list at
93358 [ruby-talk@wh] say, do you want to try checking out from redcloth cvs?  a number of
93395 [martin@zs fh] thanks - i have done so and it looks good.

Exception not caught / require BUG
93352 [mailinglists] I found that the following exception does not raise an exception
93354 [decoux@mo lo] normal, LoadError don't inherit from StandardError

YAML Aborting with large data set?
93353 [martin@zs fh] I have a large document in yaml which I can't load or dump using YAML in ruby
+ 93355 [decoux@mo lo] Best to use the CVS version of ruby, and see if you can reproduce the
| 93357 [martin@zs fh] thanks for the quick response.  Indeed ruby 1.9.0 does not have this problem.
+ 93379 [gsinclair@so] The code you gave worked for me

TkPhotoImage :data=>buf
93359 [Ara.T.Howard] does anyone know if this is simply a limitation of the gif formatted images?
93472 [nagai@ai ky ] It's a bug. I understand the reason og the trouble.
93532 [ahoward@fa t] thanks for the detailed reply!

Photo's of Matz?
93361 [barry@ix an ] Are there any pictures of Matz lurking anywhere on the web?
+ 93375 [discord@ma .] -Mark
| 93493 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
+ 93378 [klausm0762@y] yes, there are some on this page...
  93551 [barrycarr@ix] Thanks very much - that will do nicely

Tk on OSX
93363 [ptkwt@ar cn ] OK, I've finally joined the world of MacOS X.  (It's good to be here:)
93434 [tibbetts@ac ] Wow, I didn't know about the Aqua version, but I unless it turns out to be

[ANN] Tycho - A PIM under development
93374 [hal9000@hy e] I hate announcing things that don't really exist yet, but I'm
+ 93400 [chrismo@cl b] Wow - I used to run Info Select, I ran across an old copy the other day.
| 93439 [hal9000@hy e] I think there are some similarities in concept.
| + 93461 [sroberts@un ] I, too, was thinking how similar to a wiki this sounds, a few months ago
| | 93487 [chrismo@cl b] VisualTour link at the bottom of the page.
| | 93497 [sroberts@un ] I cranked the width and depth, and couldn't get more than a dozen nodes
| + 93488 [chrismo@cl b] I have a private, local Wiki on my home machine. I'd guess this boils
+ 93444 [itsme213@ho ] Wow! ... would love to help but I don't think I'll be able to.
| 93447 [hal9000@hy e] Thanks for the positive feedback. Is it a lack of time that would
| 93528 [itsme213@ho ] Not just time ... but that may change in the future.
| 93621 [assaph@av ya] Tycho sounds very interesting, but I doubt I will have time to help
+ 93452 [careck@ci cl] I will like to assist.
| + 93477 [hal9000@hy e] Glad to hear it, welcome! :)
| | 93483 [curt@hi bs c] I just wanted to add my two cents in here.
| + 93770 [noSpam@no pa] I use Info Select, but would love to see a replacement too.
|   93785 [hal9000@hy e] Glenn,
|   + 93786 [Patrick.Benn] And why would something in Ruby be faster than Freemind (which I believe
|   | 93789 [hal9000@hy e] Agreed. There's no intrinsic reason a Ruby program should be faster.
|   + 93804 [careck@ci cl] I'm using freemind a lot and I can tell you that it is not slow at all.
+ 98892 [rickc@da la ] I like the user interface, looks like it would be really nice to use.

Calculating a cryptographic MD5 hash
93381 [tim@ba es id] I want to generate an MD5 hash of a password in the same format as is
93392 [cez-misc.rub] As far as I can see, you have two options. You can either port re-write

make instal failed
93383 [happy@us r. ] ../miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags=""
93387 [nobu.nokada@] Sorry, my fault.  Thanks.

Beginner here, have some questions
93385 [reset@ny .r ] Ruby beginner here.  Heard of it before and on a whim decided to check
+ 93388 [happy@us r. ] Your simple code is being executed in the context of some private Object
+ 93390 [gsinclair@so] Welcome.

Webrick slow when running on a stand-alone system
93386 [jim@we ri hh] I've developed a small app for a laptop using Webrick.  It serves pages to
+ 93398 [nathaniel@ta] ...
+ 93405 [mmead@go f. ] My guess would be it's doing a reverse lookup for a PTR record
+ 93415 [nathaniel@ta] Socket.do_not_reverse_lookup = true
| 93417 [jim@we ri hh] Good hunch.  Unfortunately, it didn't seem to do anything.
+ 93558 [rubytuezdayz] Use 'localhost' ip address. It probably try to go out for dns lookup.

Rexml xpath question
93393 [han.holl@po ] require 'rexml/document'
93500 [ser@ge ma e-] Nope.  That's a bug.  Thanks for finding that; in the future, you
+ 93544 [gsinclair@so] REXML is distributed with Ruby, so you'll never be able to prevent
| 93636 [ser@ge ma e-] Oh, I couldn't prevent people from posting here.  What I'm saying is
| + 93867 [ser@ge ma e-] Someone has kindly offered me access to their usenet server.  If this email
| + 93893 [gsinclair@so] Good point.
+ 93550 [han.holl@po ] Now that REXML is included in Ruby, I think (possible) bugs are of
  93638 [ser@ge ma e-] Yeah, that's the downside to REXML in Ruby.  There is a dedicated
  94422 [han.holl@po ] /program/item[ starts-with( @rnum, "1")]