94059-95427

93848-100122 subjects 94267-96840

Problem adding new module...
94059 [candiazoo@co] Stats = Ruby 1.6.8 on BeOS R5 BONE
94061 [ahoward@fa t] does this file exist?
94069 [nobu.nokada@] In general, when LoadError for .so reports the full path, the
94076 [ahoward@fa t] ah.  so perhaps _sqlite.so cannot find the sqlite libs.
94078 [candiazoo@co] Yes.   :)  It exists.
94079 [candiazoo@co] Mike J.
94082 [candiazoo@co] Also...

pickaxe with pics?
94062 [rasputnik@he] Rasputins theorem: In the infinite universe of online versions of the
+ 94063 [happy@us r. ] /kent
| 94077 [rasputnik@he] I have one but its hard to instant message it to someone.
+ 94064 [dave@pr gp o] I suspect not, unless they're good with a pen... :)
| + 94066 [Gavri_F@in o] The German version of the Pickaxe has illustrations. Rip 'em. I don't think they'd mind  :)
| + 94074 [news@st d. t] Or don't have the emotional baggage connecting them to the TeX source
| | 94081 [dave@pr gp o] Touch?!
| | 94101 [harryo@qi so] Just out of interest, what are you using instead?
| | 94104 [dave@pr gp o] If the brand new books, the images are in external files and included
| | 94189 [itsme213@ho ] If you don't mind my asking, what else do you'll use in your writing? Write
| | 94191 [dave@pr gp o] Books written for the Pragmatic Bookshelf now are written in XML, with
| | 94348 [jim@fr ez .o] Excuse my ignorance, but is the XML transformation to <whatever> via
| | 94361 [dave@pr gp o] It's just standard XSLT: we're using xsltproc to do it at the moment,
| | 94366 [jim@fr ez .o] Thanks Dave.
| | 94369 [dave@pr gp o] Cheers
| + 94091 [intc_ctor@ya] Let's commission Why the lucky stiff to do the illustrations for the
+ 94070 [NOSPAM@ke py] Check http://home.vr-web.de/juergen.katins/ruby/buch/
  94086 [thien_vuong@] There is an English version of it at the same site also, but you have to

non-root binary distribution
94067 [lists@za a. ] 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@za a. ] Thanks, it works beautifully. The only thing left is that a user needs
94176 [nobu.nokada@] a) use static linked ruby
94230 [lists@za a. ] 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@za a. ] But will static Ruby be problematic when building extensions? For
94323 [nobu.nokada@] Don't worry, even with --disable-shared, standard extension
94327 [lists@za a. ] 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@PA H. ] irb(main):001:0> class C; end
+ 94072 [dblack@wo bl] #instance_variable_set & ...get
+ 94075 [ajohnson@cp ] 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@gm ] "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@ce .w st] Hey you know you could stuff prime? as a method in Integer as well.
  + 94216 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
  | 94249 [discord@ma .] Why not store it in the number itself?
  | + 94254 [hal9000@hy e] When did this start working? :) This seems to be a good step
  | | 94258 [discord@ma .] => true
  | | 94259 [hal9000@hy e] The last time I tried this, it was a little deceptive. A variable
  | | 94275 [chr_mail@gm ] Well with 1.8.1 you get
  | | 94284 [botp@de mo t] simply cool.
  | + 94313 [bob.news@gm ] "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@ho ] Ruby 1.8.1 (64 bit)
94163 [kubo@ji ba .] I don't have 64 bit oracle server and I hadn't tested it on

bug(?) when using symbols for variables/methods
94087 [discord@ma .] 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@by .e] str = '<html><body><a href="http://google.com/">Google</a></body></html>'
94090 [discord@ma .] Does this do what you want?
94095 [fugalh@by .e] Thank you, that is a solution to my question. Now I've found I asked the
95248 [ser@ge ma e-] 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@vp p] 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@hi me i] 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@ma .] The problem in terms here is that PHP blurs the lines between hashes,
| 94168 [ruby@hi me i] Thanks for your help and advice, everyone.
| 94171 [ahoward@fa t] there ARE associtive arrays in ruby if you want...
+ 94117 [ahoward@fa t] ~ > cat a.rb
+ 94118 [dooby@d1 .k ] Go on, force yourself ;)
+ 94125 [aidan@yo o. ] Just FYI, in PHP they aren't true hashes - they are associative arrays.
+ 94133 [lists@za a. ] Most language don't guarantee insert order for hash, in fact IIRC some
| 94165 [jwkenne@at g] They /all/ do, or else they're calling something a "hash" that ain't.
| 94173 [hal9000@hy e] 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@gm ] "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@ho ] 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@ev re ] "Ara.T.Howard" <Ara.T.Howard@noaa.gov>

Ruby binding for GLFW
94116 [noSpam@no pa] Someone over in the news://news.digitalmars.com/D newsgroup
94136 [spyck@ly at ] 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@ce .w st] def foo(x)
+ 94120 [nobu.nokada@] Current inner method just keeps undefined until the outer
| 94121 [tim@ba es id] Probably quite intentional; I quite often use it for dynamic
| 94131 [cc1@ce .w st] Nah, I don't really need it, I was just trying to scope out what the
| 94193 [tim@ba es id] def mk_func(:name)
| 94212 [dblack@wo bl] You can use define_method, if you want to avoid both eval and def.
+ 94138 [gsinclair@so] foo(5) # ->> 6
+ 94166 [discord@ma .] Intended feature :)
  94172 [vjoel@PA H. ] class A
  94174 [hal9000@hy e] It's still the current instance. The current instance here happens
  94177 [vjoel@PA H. ] That use of "current instance" is confusing to me. Maybe "current
  94180 [hal9000@hy e] 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@hy e] I guess Stefan is kidding you. There is nothing wrong with your English.
  + 94204 [botp@de mo t] 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@hi hw ] What charset do you use ?
94153 [davinciSINSP] UTF-8
94157 [mutoh@hi hw ] Autocomplete ? Is it Gtk::Combo?
94198 [davinciSINSP] Yes :)
94248 [mutoh@hi hw ] ...
94309 [davinciSINSP] Same problem. I suspected it ;)

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@te pn t] Python support is already planned. It would be really cool to be able to
+ 94146 [lists@za a. ] 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@ar cn ] Looking on Ruby-talk archives I see that someone is willing to offer a
  95371 [ser@ge ma e-] That someone was me, and I was talking about a fund, specifically.
  + 95379 [curt@hi bs c] Double-ditto.
  | 95417 [drbrain@se m] SeaMonkey is the codename for the Mozilla application suite,
  | 95427 [curt@hi bs c] Oops... you're right! (I've been away from Mozilla development for a year
  + 95418 [drbrain@se m] 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@gm ] "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@gm ] "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@gm ] "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@gm ] "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@gm ] "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@gm ] "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@se as] 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@pr va y. ] Mandrake 9.2
+ 94182 [paul@vu ma k] That's possible but more likely, in my experience, you need to make the
| 94183 [me@pr va y. ] Well it's 755, so it is executable. And the print statements are working, so
+ 94234 [news@st d. t] How does the relevant sections of your httpd.conf file look?
  94261 [me@pr va y. ] // It works without the following 2 lines, although instructions say it

Accessing Command line on German Mac OS X?
94184 [ jupp@gm .d ] 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@gm .d ] [German text]
94583 [bernhard.lei] Oh, sorry! Merely regarded it as somewhat "pragmatic" and as making at

Ruby on pre-X Mac OS?
94185 [ jupp@gm .d ] While translating Chris Pike's "Learn to Program" I came across the
94192 [cc1@ce .w st] No builtin gcc compiler for pre Mac OS X, we could pre-compile it, but

rescue inside block -> syntax error
94190 [neoneye@ad l] What is the reason that this isn't possible ?
94221 [cpine@he lo ] irb(main):001:0> loop do
94227 [neoneye@ad l] 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@st d. t] For starters, it would start drifting do..end blocks and {..} blocks
| + 94253 [hal9000@hy e] 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@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
|   94314 [joe@no ch rl] But wouldn't the ruby way be to write this?
|   94321 [bob.news@gm ] "Joe Mason" <joe@notcharles.ca> schrieb im Newsbeitrag
|   94344 [joe@no ch rl] Right.
|   94346 [bob.news@gm ] "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@ad l] 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@fr nz] Are you using design pattern? And do you want to help me with my

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

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

ruby-dev summary 23015-23107
94236 [ksaito@ur nu] This is a summary of ruby-dev mailing list.

IRB with completion
94247 [happy@on .c ] 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@re in ] Personally, I downloaded the source, built it, let it install in the
| 94265 [discord@ma .] I believe you can solve this by editing the apache startup item to run
| 94271 [bdarcus@my e] New to the list and to ruby (and to coding for that matter), but may as well jump in here.
| 94272 [discord@ma .] To get it to work, I had to change my path, putting /usr/local/bin at
| 94290 [bdarcus@my e] # ri File
| 94300 [discord@ma .] Hmm... okay.
| 94337 [bdarcus@my e] I don't know. I downloaded the ri package separately, not knowing that
+ 94263 [discord@ma .] I tried a few different ways; for me the best way was to configure ruby
| 94301 [ptkwt@ar cn ] I would expect that your RubyCocoa bindings would need to be built with
| 94303 [discord@ma .] 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@ar cn ] Pardon my ignorance, but how does one use these ports?
| 94461 [roberto@RE O] [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@wo bl] Anyone who posts directly to ruby-talk (which is probably the only
+ 94307 [cc1@ce .w st] I use an nntp server and I saw this message, so something just be working.
| 94322 [blackdav@sh ] It turns out that if I start a thread, the message goes through, but
+ 94469 [dooby@d1 .k ] Quite perverse that this post got through :)
  94482 [gsinclair@so] Making it a RubyForge project might help, no?  Get some more eyes
  94492 [dooby@d1 .k ] Hope so.
threads.html
top