34207-36127

34034-35129 subjects 34467-39402

^ Windows Ruby/GTK
34207 [soyun ibm.ne] I am trying to learn Ruby and so I donwloaded Windows(cygwin) version of
34314 [alex_oscol y] you need to puts gtk libraries in c:\windows\system

^ the proc argument to Marshal.load
34209 [vjoel PATH.B] Marshal.load((Marshal.dump [0.5,1,[2],"three"]), proc {|x| p x})
34226 [matz ruby-la] The latter [] is the [2] to be.  I guess it's better to change the

^ New user can't get started
34213 [buttd attbi.] I downloaded ruby-1.6.6 & guzipped & tared it.
34225 [pcs3 mailhos] I'm running Mandrake 8.1, a distant relative of RH, but from one of the

^ IRC channel for Ruby
34215 [matju sympat] of the #ruby-lang channel on IRC.OpenProjects.net.

^ Ruby for web development
34217 [beripome yah] I've just recently discovered ruby. I have a very large database
+ 34218 [tom.hurst cl] URI?
| 34245 [beripome yah] Hey!
| + 34248 [jerickson ey] What about Mac OS X?  Ruby and Apache run great on it's Unix backend and
| + 34285 [tom.hurst cl] That wasn't a typo, URL's are subsets of URI's.
|   34506 [sascha meta-] I've made quite good experiences with iowa in a small pet project.
|   34519 [tom.hurst cl] Iowa isn't really compatible with what I want or the sort of websites I
|   34542 [gnhurst hurs] I have been slowly working on something like this - but I wonder what
|   34544 [tom.hurst cl] 1. Index
|   34553 [gnhurst hurs] Ok, I see what you mean by hierarchical documents. Reminds me a Tree
+ 34222 [sean chitten] Join the club.  ;~)
| + 34224 [matz ruby-la] We need not only requests, but also volunteers to fix, especially the
| | 34244 [beripome yah] Hey as soon as I actually know enough about it to make a contribution
| + 34227 [james rubyxm] <snip/>
|   34230 [Dave Pragmat] For folks like me who are not up on the Windows stuff, could someone
+ 34237 [tobiasreif p] I think your descriptions of the issues and your suggestions for
+ 34261 [paul atdesk.] If eruby doesn't work for you, then perhaps (as someone else pointed
+ 34292 [patrick-may ] The ruby installer at pragmaticprogrammer.com is quite easy to use,

^ Version numbers (was Re: Ruby for web development)
34252 [nat.pryce b1] Version numbers *are* used to communicate stability.  A major version of 0
34253 [tobiasreif p] I thought so too.
34254 [gehlker fast] Others are a variation on these themes.

^ Initial version of ruby-expect
34255 [jfontan cesg] I've just uploaded development version of libexpect interface. Could be a bit

^ Curses on OS X
34271 [kevin recurs] I'm a ruby newbie (oh, gawd...it rhymes)
+ 34277 [gehlker fast] configure --enable-shared --mandir=usr/local/share/man
+ 34321 [j.travnik sh] I don't know how to fix it, but I recommend to use JTTui to do serious

^ Updated Swig/Ruby interface document
34273 [cfiles coxco] I decided that the SWIG/Ruby interface document needed some updating

^ Perl IO to Ruby IO help needed
34274 [craig_files ] I want to convert the following lines from Perl to Ruby.  And I cannot
+ 34278 [nobu.nokada ] s = open($input_def) {|f| f.read}	# 1.6 or earlier
+ 34280 [tom.hurst cl] begin
+ 34281 [selander pdc] Well, I better start to contribute to the list, as I have recieved help
+ 34283 [tobiasreif p] Something like
| 34301 [craig_files ] Thanks to you and Mike Stok,
+ 34288 [mike stok.co] What about sonething like
+ 34442 [ser germane-] <posted & mailed>
  34450 [mike stok.co] But it returns an array of \n terminated strings in lines rather than the
  34452 [vjoel PATH.B] content = File.open(input_def) {|f| f.read}

^ advice on dispatch tables
34284 [probertm nor] I am playing around with using a dispatch table rather
+ 34287 [matt lickey.] @dispatch['a'] = :do_a
| + 34290 [paul atdesk.] Using symbols is definitely faster than using strings.  As an
| + 34295 [alan digikat] Or you could use method objects which should run a bit faster.
+ 34291 [rich infoeth] class Bob

^ Java JNI and Ruby
34294 [rich infoeth] I know about the JRuby project, but has anyone looked in to just embedding
+ 34359 [avi beta4.co] I believe there used to be some code that did exactly that, for an old
+ 34367 [edsin swes.s] Tcl Blend uses JNI to provide access to Tcl engine written in C. AFAIK
| 34386 [rich infoeth] (Thanks to George Marrows for this link)
+ 34377 [dcorbin impe] No, but I think that would be a good thing....(think Eclipse)

^ strings embedded inside strings
34304 [paul atdesk.] I've seen this on the ML before, but searching the ruby-talk archives I
+ 34306 [    s xss.de] Paul,
| 34307 [paul atdesk.] Hmm, I don't remember any more.  It made sense at the time.
+ 34310 [mike stok.co] You might want to use %Q to change the quotes e.g.
+ 34320 [jeffp crusoe] [posted & mailed]
+ 34365 [edsin swes.s] puts "#{\"'\"}"

^ different execution under the debugger.
34312 [joe vpop.net] I'm seeing different output when I run my script with -rdebug than
34344 [matz ruby-la] -rdebug turns on $VERBOSE and $DEBUG, that make interpreter far more

^ eRuby and require
34315 [beripome yah] I've got eruby going however, whenever I try to require, the script times out.
34317 [sean chitten] What's your httpd.conf file look like?
+ 34331 [patrick-may ] Also, are you trying to
+ 34349 [beripome yah] I've got that stuff in my http.conf.

^ WEBCAMS
34319 [piedra filos] Alucinaras por un tubo, aplaudiras con las orejas, te sonaras en estereo,

^ Changing String Without Changing The Address
34324 [yuns us.ibm.] Based on what I have read, it seems that assignment just change the string
+ 34325 [dblack candl] Does this address what you're wondering about?
+ 34327 [vjoel PATH.B] irb(main):001:0> x = y = "foo"
+ 34345 [matt lickey.] Yeah, see the [], []=, replace, <<, and any of the other String

^ [ANN] RGL (Ruby Graph Library) 0.1
34326 [duchene main] I have prepared the first public release of RGL.  This

^ ruby booting?
34329 [kurisu softh] This is gonna sound crazy but how hard would it be to make ruby boot as
+ 34333 [msassak spea] A _lot_ of work would have to go into this, and in the end, you'd
| 34347 [pcs3 mailhos] Aside from the fact that it's Perl, would this be the same kind of thing
| 34353 [msassak spea] /me runs 'tclsh' for the first time...
+ 34336 [wheelerwjx9 ] Not crazy at all.  The last time I looked some Sun machines boot up
| 34346 [gehlker fast] Ah the glories of OpenFirmware. It's not just Suns that use it. So do Macs
+ 34340 [pcs3 mailhos] Hell why not (*rhetorical*)!  Didn't Modula-2 or Oberon have its own
| 34374 [chris darkro] A cool hack?
+ 34385 [tetryl tokyo] I am trying to do same thing with Perl using OSKit.

^ Might be IO.pipe, not eruby (was Re: eRuby and require)
34332 [patrick-may ] I've gotten timeouts using eruby with scripts that had a section like
34338 [matz ruby-la] I guess it's the OS limitation of pipe(2).  They have limited sized
34428 [patrick-may ] Thanks for the info!

^ patch to allow dump/load to work on DATA objects
34335 [vjoel PATH.B] This is a multi-part message in MIME format.
34343 [matz ruby-la] Thank you for interesting idea.  I'm thinking of a new marshal
34393 [vjoel PATH.B] That sounds like the best approach for the future. I especially like
34404 [matz ruby-la] * it will be remain undocumented.
34408 [vjoel PATH.B] That's great. Thank you very much.
34423 [matz ruby-la] OK, I start checking on your patch.
34429 [nobu.nokada ] I guess r_object() should use `allocate' instead of `_alloc'

^ Switching stdin from program to data
34342 [gehlker fast] I'm looking for an *easy* way to get ruby to switch from reading the program

^ FAQ for comp.lang.ruby
34350 [hal9000 hype] This is a multi-part message in MIME format.

^ Linking opengl under windows
34351 [Dave Pragmat] Continuing my masochistic quest to build Ruby under mswin32, I'm
34425 [horie smail.] I've checked the situation of opengl module of ruby.

^ ANN: RHDL (Ruby Hardware Description Language)
34352 [ptkwt shell1] I suspect that the set that contains Ruby Programmers AND HDL coders is
34382 [wmwilson01 h] Ya' gotta love that moment where you realize that you just became 4 times

^ Re: FAQ comp.lang.ruby; correction, Ruby vs Python 2.2
34354 [jdonner0 ear] Ruby is no longer more OO than Python (at least as pointed out in this
+ 34356 [hal9000 hype] Thanks... this will be fixed in the next
+ 34357 [matz ruby-la] I admit Python people done great job recently, I still feel like "Ruby
| 34383 [Dave Pragmat] I wonder if we need to be taking pokes at other languages in the FAQ,
| + 34396 [curt hibbs.c] I agree wholeheateredly. Keep the FAQ straight-forward and Ruby-focused
| + 34397 [ptkwt shell1] You're right that it doesn't really fit in that part of the FAQ.  What
| | 34400 [hgs dmu.ac.u] This is something that would be difficult to keep up to date. How much
| + 34418 [james rubyxm] I second this.  No matter how you phrase it, certain comparisons (pretty much anything
|   34439 [ser germane-] Hear, hear.
|   + 34440 [hal9000 hype] languages
|   + 34477 [james rubyxm] On the other hand, "How does Ruby compare to ..." may be a FAQ.
+ 34360 [ptkwt shell1] showed up on Freshmeat.net last month.  After it showed up. there was a
+ 34364 [ptkwt shell1] OK, maybe we do need to change it a bit since you can subclass basic types
+ 34370 [tim vegeta.a] Python's type/class unification is a great improvement over it's

^ "Powered by Ruby" - my first effort
34355 [hal9000 hype] This is a multi-part message in MIME format.

^ REBOL vs Ruby
34361 [beripome yah] On the subject of amazing new languages (ie Ruby): REBOL ->
+ 34362 [stephan.schm] what's new about REBOL ? It has been around for some years now and is in
| 34363 [curt hibbs.c] Last month I cleaned out my library and donated my REBOL books to a local
+ 34371 [matz ruby-la] Logic sometimes help people, sometimes don't.
  34373 [feldt ce.cha] This is interesting. What do you think of Lisp-style macros? I've only
  + 34376 [stephan.schm] I like macros in lisp which make lisp very powerful and I would like to
  + 34387 [matz ruby-la] I love Lisp, but Ruby turned out NOT to be Lisp.
  + 34421 [toddg linux1] If you look at that 'problem' in the larger scope, you see that the same
    34424 [feldt ce.cha] Yes, thats important.
    34461 [toddg linux1] Something I didn't point out is that many of the macros in Common LISP

^ Setting the Ruby continued
34375 [jostein.bern] Sorry, but I lost the orginal 'Setting the Ruby' mail where the sender
+ 34378 [curt hibbs.c] We're working on this one!
+ 34384 [paulo bewnet] ruby-dev in english.
| + 34438 [ser germane-] No, no, no... _Esperanto_.  Or let's make it REALLY interesting, and do it
| + 34479 [patrick-may ] a. this wouldn't be practical, since the current developers probably
| + 34545 [maki rubycol] Don't worry.
|   34582 [paulo bewnet] Ok, I can't take part in developing ruby not becouse of the language
|   + 34585 [Dave Pragmat] A summary of all patches is already distributed in the ruby-cvs
|   | + 34590 [ptkwt shell1] This is within the realm of possibility...
|   | | + 34702 [paulo bewnet] I fully agree with you. The fact is: today, the 'de facto' international
|   | | + 34712 [maki rubycol] See below, please.
|   | + 34611 [pcs3 mailhos] Amen, let the code speak for itself.  And let's all in the west be
|   |   34612 [matz ruby-la] Did I?  I'm using ISO-2022. ;-)
|   |   34613 [pcs3 mailhos] Sorry I wasn't clear enough.  What I was driving at was that although
|   |   34618 [matz ruby-la] During pre 1.0 period, documents, changelog and part of comments are
|   + 34605 [dsafari xtra] Something like this could perhaps go in the Ruby Weekly News, although I
|     34701 [paulo bewnet] Yes, o think that would be great. I'm pretty sure we can't force anyone
|     + 34704 [decoux moulo] ruby is written in C, if you don't understand this language it's hopeless
|     | + 34705 [tobiasreif p] He also said
|     | + 34725 [paulo bewnet] Off course. But if you do understand C, great documentation and info on
|     + 34713 [maki rubycol] OK. I'll ask the members of ruby-list making summary of
|       34726 [paulo bewnet] Thank you.
+ 34427 [dsafari xtra] Coming along.

^ including files in eruby
34379 [mmaciaszek g] I'm using eruby on some of my web pages. Now they became big and
+ 34380 [520079130762] <% ERuby.import "filename.rhtml" %>
| 35089 [evan_leonard] I've been running into a similar problem and tried to use
| 36127 [evan_leonard] grr grr grr.  "make sure you have the newest versions *before* posting
+ 34398 [alan digikat] I've just been require'ing the files as normal ruby code. I've been
  34399 [paul atdesk.] I don't know if this is the "best" way, but I've been doing something
  34401 [alan digikat] Actually, I've been using mod_ruby too so I just have the rhtml file. :)

^ How do I get the GET from gets in an open socket?
34381 [moonerent ho] I have a Flash movie using xmlSocket to connect to a Ruby server.

^ Marshal::load and $DEBUG
34388 [Klaus.Spreck] The following condensed script throws an EOFError
34391 [decoux moulo] Can be seen equivalent to

^ Global variables, mod_ruby
34390 [dmcnulty min] I see Shugo stated (back in July 2001) that the use of global
+ 34394 [paul atdesk.] Have you considered using fastcgi?
| 34411 [dmcnulty min] Yes I have considered it but I am not sure it facilitates clean
| 34414 [tobiasreif p] I thought about doing it something like
+ 34402 [alan digikat] How exactly do you intend to use the globals?  I'm not sure that you
  34410 [dmcnulty min] I am currently also using HTML Template

^ Now I'm really confused!
34405 [gehlker fast] I'm still struggling with producing RubyStudio. The following example
+ 34459 [gehlker fast] Here I go answering my own question. I'm doing this for the sake of the
| 34466 [paul atdesk.] I've struggled with a similar problem myself [ruby-talk:32646].  In C,
| 34480 [gehlker fast] I've been programming Macs so long that I had this model in my head that
+ 34476 [tim vegeta.a] I'm not familiar with RubyStudio, but it occurs to me that it may
  34481 [gehlker fast] That's it. I didn't know that stdio was smart like that.

^ Ruby Licensing (was: Epic4/Ruby)
34407 [tom.hurst cl] c) rename any non-standard binaries so the names do not

^ Installers
34409 [john.carter ] I have been doing battle with InstallShield. It does what I want (sort

^ dang it, CGI::Session is broken again
34412 [dmcnulty min] What is wrong with this?  I swear this was working yesterday, but now
+ 34415 [alan digikat] Replace session_key with session_id. session_key is a valid option for
| 34435 [dmcnulty min] Hmmmm, nope, no joy after changing session_key to session_id.  The way
| 34437 [alan digikat] I retested that script on my side, when I entered a session_id, the id didn't have
| 34470 [    s xss.de] Quoting from cgi/session.rb
+ 34436 [dmcnulty min] Well I found out a problem here.  I set Mozilla to notify me when any
  + 34448 [gotoken notw] Your script does NOT send HTTP header, where cookies shoud be put.
  + 34460 [clem well.co] I've been having a similar problem when using CGI::Session with eruby.
    34469 [gotoken notw] #!/usr/local/bin/eruby

^ confused about '::' vs '.' in method calls
34416 [rafemonkey y] I must admit I'm a bit confused... probably because I never realy
+ 34417 [vjoel PATH.B] =====
| + 34430 [tobiasreif p] I thought method names have to start with a lower case letter(?)
| | 34431 [pcs3 mailhos] No, but you need parenthesis to get Ruby to recognize it as a method
| + 34471 [rafemonkey y] Thanks! that helps a bunch... looks like I should spend a little more time
|   34483 [vjoel PATH.B] It's one of the nicest command line interpreters I've used. The editing
|   34497 [tobiasreif p] me too.
+ 34419 [pcs3 mailhos] [/C/ruby]$ cat try.rb

^ "Powered by Ruby" banner [other post garbled?]
34420 [hal9000 hype] I'm reposting this because someone pointed out that

^ Ruby-interbase and Firebird?
34426 [sal spookype] Has anyone managed to get the ruby-interbase package to work with

^ eRuby and erb
34446 [moontoeki ao] I would like to use either of eRuby or erb for my web design.
34468 [m_seki mva.b] It is dependent on your application.
34588 [daniel zeped] ns etc. *and*  finally, a more portable program, since you don't have to worry about if erb|eruby is installed, configured properly, etc.  I find this simple, flexible approach superior to the embedding techniques, which IMHO are just carrying over bad programming practices from Microsoft, whom probably stole the idea from someone else anyway.
34614 [beripome yah] The embedding techniques just make it slightely more

^ different languages and encodings
34447 [olonichev sc] Plz. give me links where can I read how Ruby supports different languages

^ Re: Epic4/Ruby (embedding Ruby in commercial apps)
34456 [ptkwt shell1] First off, I have to say that I'm very supportive of the GPL.
+ 34485 [pcs3 mailhos] No, it's not subjective if you mean as a language.  For ease of
+ 34486 [matz ruby-la] First of all, it's not under a modified GPL.  It's under *either*
  34493 [cboos bct-te] Speaking about licenses issues...
  34495 [matz ruby-la] You have to read LGPL by yourself.  The point is you can use it in

^ Help with blocks?
34457 [patternChase] I'm trying to learn Ruby; just started. I like what I've understood
+ 34458 [jason jvoege] The nearest concept in C++ is the function pointer (or perhaps "function
| + 34462 [tobiasreif p] is there a dirrefence to simpler
| | 34464 [dblack candl] puts array
| + 34465 [alwagner uar] writing documentation.
+ 34463 [mkelly2002NO] Also if you can find an online reference to SmallTalk check
threads.html
top