93875-95186 subjects 94282-96840

^ non-root binary distribution
94067 [lists zara.6] Is there a binary .tar.gz or a relocatable RPM for ruby 1.8.x which can
94106 [nobu.nokada ] Ruby embeds absolute load paths, for the sake of UNIX tradition
94160 [lists zara.6] Thanks, it works beautifully. The only thing left is that a user needs
94176 [nobu.nokada ] a) use static linked ruby
94230 [lists zara.6] Based on your suggestion, I've created a C wrapper like below. The real
94237 [nobu.nokada ] I recommend static-linked binary after all. You'd have no merit
94318 [lists zara.6] But will static Ruby be problematic when building extensions? For
94323 [nobu.nokada ] Don't worry, even with --disable-shared, standard extension
94327 [lists zara.6] Yes, standard extension are all built successfully. I also just tried

^ dynamic assignment of instance variables
94068 [ gv cs.uu.nl] $ cat try.rb
+ 94071 [vjoel PATH.B] irb(main):001:0> class C; end
+ 94072 [dblack wobbl] #instance_variable_set & ...get
+ 94075 [ajohnson cpa] To set instance variables, pass in :@instance_variable symbols
+ 94200 [ gv cs.uu.nl] Thanks for pointing out the existence of Object#instance_variable_set
  94203 [bob.news gmx] "Gerard A.W. Vreeswijk" <gv@cs.uu.nl> schrieb im Newsbeitrag
  94207 [ gv cs.uu.nl] I agree.  This should be basic Ruby (and perhaps basic OO).
  94209 [gsinclair so] This seems like a good idea to me.  I'll add it to the 'extensions'
  94210 [ gv cs.uu.nl] Gavin, do you  have a URL?  Thanks.
  94213 [gsinclair so] Gavin
  94215 [cc1 cec.wust] Hey you know you could stuff prime? as a method in Integer as well.
  + 94216 [bob.news gmx] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
  | 94249 [discord mac.] Why not store it in the number itself?
  | + 94254 [hal9000 hype] When did this start working? :) This seems to be a good step
  | | 94258 [discord mac.] => true
  | | 94259 [hal9000 hype] The last time I tried this, it was a little deceptive. A variable
  | | 94275 [chr_mail gmx] Well with 1.8.1 you get
  | | 94284 [botp delmont] simply cool.
  | + 94313 [bob.news gmx] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
  + 94218 [gsinclair so] Yeah, sounds nice.  I'd be a little concerned about performance

^ Ruby, Solaris and Oracle drivers
94083 [djberg96 hot] Ruby 1.8.1 (64 bit)
94163 [kubo jiubao.] I don't have 64 bit oracle server and I hadn't tested it on

^ bug(?) when using symbols for variables/methods
94087 [discord mac.] Is this a bug, a feature, or just something weird?
94099 [nobu.nokada ] Indeed.
94105 [nobu.nokada ] Sorry, wrong patch.

^ REXML set default namespace
94089 [fugalh byu.e] str = '<html><body><a href="http://google.com/">Google</a></body></html>'
94090 [discord mac.] Does this do what you want?
94095 [fugalh byu.e] Thank you, that is a solution to my question. Now I've found I asked the
95248 [ser germane-] Hans,

^ Hint for the day: .keys.sort
94094 [john.carter ] I often have cause to refer to .keys of a hash, or .each_pair

^ mkmf.rb broken in cvs?
94098 [bhilton vpop] I recently noticed I was unable to install a ruby module that used mkmf

^ why are Hashes so unsorted? what's your solution?
94110 [ruby hitmedi] I try to avoid questions like "Why doesn't Ruby do what ___ does?"
+ 94112 [david.naseby] Simplest solution: use an ordered hash implementation, such as rbtree
| 94122 [mailinglists] Please don't use this term "ordered hash" anymore. It is just stupid
| 94126 [discord mac.] The problem in terms here is that PHP blurs the lines between hashes,
| 94168 [ruby hitmedi] Thanks for your help and advice, everyone.
| 94171 [ahoward fatt] there ARE associtive arrays in ruby if you want...
+ 94117 [ahoward fatt] ~ > cat a.rb
+ 94118 [dooby d10.ka] Go on, force yourself ;)
+ 94125 [aidan yoyo.o] Just FYI, in PHP they aren't true hashes - they are associative arrays.
+ 94133 [lists zara.6] Most language don't guarantee insert order for hash, in fact IIRC some
| 94165 [jwkenne attg] They /all/ do, or else they're calling something a "hash" that ain't.
| 94173 [hal9000 hype] You're correct, of course, as is Lothar.
| + 94178 [gsinclair so] When I was at uni, we were taught that the interface was "dictionary"
| | 94179 [david.naseby] Since I was the one that made the original gaffe that caused the
| + 94194 [mailinglists] The offical names are unordered collection (short form: collection),
+ 94134 [bob.news gmx] "Ruby Baby" <ruby@hitmedia.com> schrieb im Newsbeitrag
+ 94139 [gsinclair so] Surely you get an _array_ of results from the database?
+ 94141 [hatespyware ] I hope I don't sound as anal as lothar, but a perfect hash key would
+ 94154 [djberg96 hot] If you use DBI, it *is* the key.
  94155 [gsinclair so] I really must present the above code in a more Rubyish fashion for

^ narray on windows?
94114 [Ara.T.Howard] anybody compiled successfully for 2000 or XP?
94147 [sdate everes] "Ara.T.Howard" <Ara.T.Howard@noaa.gov>

^ Ruby binding for GLFW
94116 [noSpam noSpa] Someone over in the news://news.digitalmars.com/D newsgroup
94136 [spyck lysato] If you haven't seen it already, you can use GLUT which has at least a

^ Why do inner methods count in outer scope?
94119 [cc1 cec.wust] def foo(x)
+ 94120 [nobu.nokada ] Current inner method just keeps undefined until the outer
| 94121 [tim bates.id] Probably quite intentional; I quite often use it for dynamic
| 94131 [cc1 cec.wust] Nah, I don't really need it, I was just trying to scope out what the
| 94193 [tim bates.id] def mk_func(:name)
| 94212 [dblack wobbl] You can use define_method, if you want to avoid both eval and def.
+ 94138 [gsinclair so] foo(5) # ->> 6
+ 94166 [discord mac.] Intended feature :)
  94172 [vjoel PATH.B] class A
  94174 [hal9000 hype] It's still the current instance. The current instance here happens
  94177 [vjoel PATH.B] That use of "current instance" is confusing to me. Maybe "current
  94180 [hal9000 hype] I think I have misspoken. Let me examine this. Sorry...

^ Is JRuby dead?
94124 [dvoelkerts w] I'd like the idea to integrate ruby scripts in my application written in
+ 94127 [ndrsbngtssn ] There has been development in JRuby since then, and still is. Try the
+ 94195 [stesch no-sp] First let me say what everybody wants to answer to the question in
  94199 [dvoelkerts w] I know, I know. After I've posted the thread I wondering if any native
  94202 [hal9000 hype] I guess Stefan is kidding you. There is nothing wrong with your English.
  + 94204 [botp delmont] it's a left fork, we (hope to) get the existing Java extensions :-)
  + 94206 [dvoelkerts w] Yes. But for my application I'm searching a extension to extend the
  + 94208 [raphael.baud] There's always the possibility JSR 223 will come to fruition one day....
  + 94211 [ndrsbngtssn ] Yeah, it's a re-implementation of the Ruby interpreter in Java, so the

^ [Ruby-gnome2][Bug] segmentation fault with ComboBox and spanish characters
94129 [davinciSINSP] I have a little problem when setting a list of options in a ComboBox
94151 [mutoh highwa] What charset do you use ?
94153 [davinciSINSP] El miñÓcoles 03 de marzo, Masao Mutoh escribióº
94157 [mutoh highwa] Autocomplete ? Is it Gtk::Combo?
94198 [davinciSINSP] El miñÓcoles 03 de marzo, Masao Mutoh escribióº
94248 [mutoh highwa] GTK+ C version gets same result.
94309 [davinciSINSP] El jueves 04 de marzo, Masao Mutoh escribióº

^ AST for Ruby
94143 [rohitlodha h] Is there any AST for ruby? in C or ruby?

^ Mozilla gets support for other client-side languages in the future, how about Ruby?
94144 [erik terpnet] Python support is already planned. It would be really cool to be able to
+ 94146 [lists zara.6] Indeed. I'm waiting for the days where I can write cross-platform
+ 94148 [raphael.baud] Having ruby supported would be cool indeed. I guess the only need is people wanting to do it :-)
  95285 [ptkwt aracne] Looking on Ruby-talk archives I see that someone is willing to offer a
  95371 [ser germane-] That someone was me, and I was talking about a fund, specifically.
  + 95379 [curt hibbs.c] Double-ditto.
  | 95417 [drbrain segm] SeaMonkey is the codename for the Mozilla application suite,
  | 95427 [curt hibbs.c] Oops... you're right! (I've been away from Mozilla development for a year
  + 95418 [drbrain segm] I don't think you have to worry too much about this, it seems to be

^ Ruby won, of course (was: language contest ==> unit test framework from lisp to ruby)
94150 [p_bossi_AGAI] **********************CUT HERE**********************
94156 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im
94158 [p_bossi_AGAI] You didn't miss anything. Infact in my version (rubytalk:93734) I have
94162 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im
94197 [p_bossi_AGAI] stack = caller.map {|m| m[/\w*(?=')/]}.compact.reverse.join " "
94201 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im
94223 [p_bossi_AGAI] You are right, my fault. Fact is that having eliminated combine_results
94235 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im
94239 [p_bossi_AGAI] Ok, I have to repost the code, otherwise we don't understand each other.
94244 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im
94330 [p_bossi_AGAI] GOSH!! I didn't know anything about all? method!!
94331 [bob.news gmx] "Piergiuliano Bossi" <p_bossi_AGAINST_SPAM@tiscali.it> schrieb im

^ Bus Error with tk app
94161 [wmwilson01 h] I have a (horribly written) tk app which used to work just fine.  I recently

^ Connecting Java Virtual Machine
94175 [mdavis sevas] I have successfully connected to the Java Virtual Machine (Java 1.4) within Ruby using a small piece of C code.  The technique is very similar to how Rjni connects to the Java Virtual Machine.  The problem is when my Ruby script exits it hangs resulting from the JVM connection and I have to abort the Ruby interpreter.  Any suggestions on what could be causing this and how to eliminate it?  I am running Red Hat 7.2 with Ruby 1.8.

^ mod_ruby & Apache
94181 [me privacy.n] Mandrake 9.2
+ 94182 [paul vudmask] That's possible but more likely, in my experience, you need to make the
| 94183 [me privacy.n] Well it's 755, so it is executable. And the print statements are working, so
+ 94234 [news stud.nt] How does the relevant sections of your httpd.conf file look?
  94261 [me privacy.n] // It works without the following 2 lines, although instructions say it

^ Accessing Command line on German Mac OS X?
94184 [ jupp gmx.de] Another problem translating 'Learn to Program': I don't know much
94393 [bernhard.lei] ich habe seit kurzem einen Mac und wie sagen die dazu, schaumamal, es
94464 [ jupp gmx.de] [German text]
94583 [bernhard.lei] In <c2dqph$1sdeuc$4@ID-53633.news.uni-berlin.de> Josef 'Jupp' Schugt

^ Ruby on pre-X Mac OS?
94185 [ jupp gmx.de] While translating Chris Pike's "Learn to Program" I came across the
94192 [cc1 cec.wust] No builtin gcc compiler for pre Mac OS X, we could pre-compile it, but

^ rescue inside block -> syntax error
94190 [neoneye adsl] What is the reason that this isn't possible ?
94221 [cpine hellot] irb(main):001:0> loop do
94227 [neoneye adsl] Sorry if it wasn't clear.. I wanted to express that it would
94243 [surrender_it] +1, and IIRC that rcr just felt in some limbo.. What was wrong with it
+ 94245 [news stud.nt] For starters, it would start drifting do..end blocks and {..} blocks
| + 94253 [hal9000 hype] Personally, I wouldn't mind this. I only use {} on single lines
| + 94274 [gsinclair so] But what is the alternative?  I mean, how often do you see code like
|   94311 [bob.news gmx] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
|   94314 [joe notcharl] But wouldn't the ruby way be to write this?
|   94321 [bob.news gmx] "Joe Mason" <joe@notcharles.ca> schrieb im Newsbeitrag
|   94344 [joe notcharl] Right.
|   94346 [bob.news gmx] "Joe Mason" <joe@notcharles.ca> schrieb im Newsbeitrag
+ 94273 [gsinclair so] +10 for me!  The RCR probably needs to be resubmitted in the new
  94518 [neoneye adsl] I located the lost RCR... its
  94564 [surrender_it] It's not so weird to me, but maybe I did'nt understand.

^ after database probs again: DESIGN PATTERN
94196 [krauth franz] Are you using design pattern? And do you want to help me with my

^ destructor?
94205 [kgergely mcl] can I somehow get a ruby object from ruby destruct?
94217 [bob.news gmx] "Gergely Kontra" <kgergely@mcl.hu> schrieb im Newsbeitrag
94231 [pbrannan atd] Another less obvious (and very important) difference between C++

^ class<<inst -> neither included nor extended works
94219 [neoneye adsl] I would like to execute some code at the point
+ 94220 [dblack wobbl] I'm not sure what you mean.  Aren't the 'def's being executed?
+ 94222 [angus quovad] def txt.singleton_method_added(mthd) ... end
| 94225 [neoneye adsl] Yes its close..  I wonder if there is anything closer?
| 94226 [neoneye adsl] Said so, done so...  Its not pretty.  I keep wondering why
+ 94228 [nobu.nokada ] I don't know what you really want...
  94229 [neoneye adsl] Yes.. however if I invoke 'install' instead of above 'puts',
  94233 [dblack wobbl] class <whatever>

^ ruby-dev summary 23015-23107
94236 [ksaito uranu] This is a summary of ruby-dev mailing list.

^ IRB with completion
94247 [happy one.co] 1)

^ HP-UX Depots
94252 [rodrigo.berm] Is there any hpux-depot for ruby-1.8.*  ?
94358 [brett_willia] I am not aware of any.  We run ruby on HPUX, but we compile it ourselves

^ Ruby 1.8.1 on OS X Panther and RubyCocoa
94256 [intc_ctor ya] Being new to OS X (about 2 weeks now).
+ 94262 [gavin refine] Personally, I downloaded the source, built it, let it install in the
| 94265 [discord mac.] I believe you can solve this by editing the apache startup item to run
| 94271 [bdarcus myre] New to the list and to ruby (and to coding for that matter), but may as well jump in here.
| 94272 [discord mac.] To get it to work, I had to change my path, putting /usr/local/bin at
| 94290 [bdarcus myre] # ri File
| 94300 [discord mac.] Hmm... okay.
| 94337 [bdarcus myre] I don't know. I downloaded the ri package separately, not knowing that
+ 94263 [discord mac.] I tried a few different ways; for me the best way was to configure ruby
| 94301 [ptkwt aracne] I would expect that your RubyCocoa bindings would need to be built with
| 94303 [discord mac.] yeah. I'm nearly positive that if you build RubyCocoa against a certain
+ 94297 [mwilson13 co] DarwinPorts has a fair amount of Ruby stuff (including RubyCocoa).
| 94304 [ptkwt aracne] Pardon my ignorance, but how does one use these ports?
| 94461 [roberto REMO] [courtesy cc of this posting sent to cited author via email]
+ 94324 [jan.sabbe ea] I'm using darwinports (http://www.darwinports.com/), so I just had to do

^ diagnosing the mail<->news gateway: please help
94266 [dblack wobbl] Anyone who posts directly to ruby-talk (which is probably the only
+ 94307 [cc1 cec.wust] I use an nntp server and I saw this message, so something just be working.
| 94322 [blackdav shu] It turns out that if I start a thread, the message goes through, but
+ 94469 [dooby d10.ka] Quite perverse that this post got through :)
  94482 [gsinclair so] Making it a RubyForge project might help, no?  Get some more eyes
  94492 [dooby d10.ka] Hope so.

^ Aliasing and the back-quote
94267 [bob peirce-f] charset=ISO-8859-1;
94269 [hal9000 hype] The bactick is a special case, with a special syntax. It's the only

^ Calling ruby scripts
94276 [bob peirce-f] charset=ISO-8859-1;
+ 94278 [rodrigo.berm] if you are on linux/unix
| 94283 [bob peirce-f] That's not it.  I have hello and tst1 through tst7.  They are all
+ 94281 [joe notcharl] What happens if you type "/usr/bin/env ruby --version" on the command
| 94285 [bob peirce-f] That's not it.  I am using the same first line in several other scripts.
+ 94286 [nobu.nokada ] I vote line ending code issue.
  94288 [bob peirce-f] That was it!!  Hello came from a Windows machine where lines end in
  + 94295 [nobu.nokada ] Yes, but the OS kernel doesn't nor env doesn't strip it.  You
  + 94310 [wsdng online] Have a look at the command "recode", which is availiable on most linux
    94341 [bob peirce-f] I'm running BSD on a Mac PowerBook G4.  However, Uwin (Unix for

^ More alias problems
94277 [bob peirce-f] charset=ISO-8859-1;
+ 94280 [assaph avaya] Ruby aliases are just making an object respond to a different name with an existing method; not expanded like shell aliases.
| 94287 [bob peirce-f] charset=US-ASCII;
| 94289 [hal9000 hype] Aliases aren't macros, and the parser doesn't have the artificial
| 94294 [bob peirce-f] Thank you.  That explains the situation exactly.  If I understand you
| 94296 [assaph avaya] At a guess, I'd say the interpreter knows that "operators" have a magic
+ 94291 [Peter.Vanbro] You're mixing up syntax and semantics. Syntactically, + is treated as an
  94293 [Peter.Vanbro] Wanted to cancel after Hal's reply, but sent it by accident (x and c are

^ Re: [Q] --with-static-linked-ext
94279 [rodrigo.berm] ...