28216-33478 subjects 28646-29390
^ ANNOUNCE: Extending Ruby With C++ Mini How-To
28446 [ITrotts Idol] If anyone has comments I'd like to hear them!
28448 [paul atdesk.] 1) AFAIK, the only functions you should need extern "C" in front of are
28455 [ITrotts Idol] Good point.
^ Ruby on s390
28453 [anany ece.vi] I just wanted to post this to the list. IBM approved the use of an s390
28456 [ITrotts Idol] Is there a function that takes a string and evaluates
28459 [dblack candl] def thing(s,b)
28461 [dblack candl] Whoops --
28462 [ITrotts Idol] That's a good thing to know, and it almost answers my question.
+ 28465 [paul atdesk.] This isn't a particularly safe or good thing to be able to do, and Ruby
+ 28466 [hal9000 hype] An interesting idea, and it's been discussed before...
28467 [ITrotts Idol] Well, I only want it for read-only access so it shouldn't be
^ Ruby entry In the Dictionary of Programming languages
28457 [henning ikso] In the Dictionary of Programming languages
+ 28460 [dblack candl] My opinion is that Ruby does support reflection :-)
| 28469 [vruz www.dig] I already sent the author of that webpage a link
+ 28506 [olivier vibe] "....Ruby also supports exceptions with functionality similar to that of
28516 [vruz www.dig] that was updated last night, Olivier, after the
^ Re: ANNOUNCE: Extending Ruby With C++ Mini
28463 [paul atdesk.] The compiler is correct. "static" in front of a function name means
28464 [ITrotts Idol] That's sensible. I should at least allude to it in the how-to, though
^ Ruby and XML
28468 [rubyhacker n] I've seen a couple of packages in the www.rubyxml.com site. I am
+ 28479 [james rubyxm] The sablot package (http://www.rubycolor.org/sablot/) is a Ruby binding to the Sablotron
| + 28483 [maki inac.co] What's problems did you have?
| | 28485 [james rubyxm] Getting everything to play nice together. It was a few months ago, but as I recall I got
| | 28591 [maki open-ne] I shoud add some notices on document...
| + 28509 [neumann s-di] XSLT4R does not (currently) implement several XSLT tags (e.g. <xsl:copy> to mention only one).
| | 28625 [ser germane-] I've had this problem with REXML, as well. It seems that the one function
| + 28999 [pc000 passth] One of the limitations with Sablotron is the requirement to re-parse the
+ 28480 [ser germane-] XML and XSL are two different beasts. There are no complete packages that
28507 [neumann s-di] XML -> XSLT ?
28622 [ser germane-] I'm sorry; I misspoke. There are no complete pure *Ruby* packages for
^ mysql issues...looking for wrong socket
28475 [dempsejn geo] i've got ruby 1.6.5 working well on redhat 7.2 and now i'd like to add
28477 [daniel zeped] On any redhat system (and derivatives like mandrake) that I've ever worked
28478 [dempsejn geo] The daemon's definitely running....i of course tested out my normal command
28484 [daniel zeped] Hmmm... Is it possible you have more than one version of MySQL installed?
+ 28486 [dempsejn geo] nope
+ 28487 [dempsejn geo] i think i've got it...
+ 28488 [dempsejn geo] ok, long and short of it, i still can't get it to compile correctly, but i tried the soft
^ how can this work correctly?
28491 [dempsejn geo] just cruising through the standard example the comes with the Ruby
28508 [neumann s-di] puts "selecting..."
^ allocate and 1.7.x
28492 [rich infoeth] class Foo
+ 28493 [matz ruby-la] Sorry.
| 28510 [rich infoeth] No problem...what I was doing was weird anyway. I had a factory
+ 28542 [ptkwt shell1] Just curious: What does #allocate do in 1.7.x?
28545 [paul atdesk.] See [ruby-talk:23358] and [ruby-talk:23395].
^ Get classes from file
28494 [anton webstr] How can I get all new class names in file after require?
+ 28496 [WYS helbling] ====
| 28497 [feldt ce.cha] class Object
+ 28607 [angus quovad] See [ruby-talk:27510].
^ internal server errors
28495 [dempsejn geo] i'm almost there...apache's correctly dealing with *.rbx files, and i
28541 [alan digikat] I think we need more information.
28549 [dempsejn geo] this is from the error_log
28550 [alan digikat] You are, of course, free to recompile. But what what in the rhtml
28551 [dempsejn geo] thanks for the help on this...the rhtml file was the simple foo.rhtml file in the
28558 [alan digikat] Let's check your http.conf file.
28560 [dempsejn geo] thanks again...yeah, not to downplay the possibility that i've done something stupid,
28565 [alan digikat] Well, eruby works from the command line, but the error in your log is in a mod_ruby file. What version of mod_ruby are you running, I'm running mod_ruby-0.9.4 and eruby-0.9.7, apache 1.3.9.
+ 28579 [dempsejn geo] using eruby 0.9.4, mod_ruby 0.9.3 and apache 1.3.22...maybe i should try mod_ruby 0.9.4?
+ 28580 [dempsejn geo] does mod_ruby.c need to be in any specific place? i can see mod_ruby.so in the libexec folder of apache (along with other modules that ARE working)...and i just compiled the most recent
^ SWIG on Windows: where do I find mswin32-ruby16.lib?
28499 [rshaw1961 ya] I am trying to get SWIG going for Ruby on Win2K so I can build some
28642 [mikkelj-anti] I recently checked out SWIG on windows. I had sort of the same problem.
28670 [nobu.nokada ] Run configure.bat before nmake.
^ A Review of "Ruby in a Nutshell" book
28500 [holmberg iar] An elegant language deserves an elegant book. This one isn't.
+ 28525 [matz ruby-la] Sorry for inconvenience. All is my fault. I guess I'm not qualified
| + 28536 [dempsejn geo] Matz,
| | 28561 [tom.hurst cl] Blegh, I should be getting the book tomorrow, although it's a chrismas
| | + 28576 [matz ruby-la] I wished if we had find function too. But the current book making
| | + 28596 [mike stok.co] You don't mean something like http://www.oreilly.com/order/upgrade.html do
| | + 28647 [Stephan.Kaem] Hmm, 'Safari' O'Reilly's online book program offers RiaN - and supports
| + 28559 [info mjais.d] I have not yet read the book, but I do not think that you are a bad writer.
| + 28573 [harryo zip.c] No. It sounds like your editor simply wasn't a technical person (somewhat
| + 28656 [csawtell par] Your humility is an example to everybody.
| + 28665 [vjoel PATH.B] Got the Nutshell. You gotta love Cody's in Berkeley.
| + 28683 [tom.hurst cl] Well, after Ruby I think we're entitled to expect a little more from
| + 28720 [matz ruby-la] Ah, you have to look at how many bugs I produced in Ruby and books.
| | 28724 [dempsejn geo] Matz,
| | 29008 [peterr ieee.] I've made enough programming errors that I can forgive a few trifling
| | 29024 [LLewin oreil] I am the editor of Ruby in a Nutshell, and I've been reading these
| + 28745 [peter semant] Even God had a day off.
+ 28527 [peter semant] I hope you did something useful like fill in the errata form on O'Reilly.
+ 28533 [vruz www.dig] you could have been there to help before the book got
+ 28659 [csawtell par] Warning!! Poor English Grammar. -- Plural Noun does not match Singular Verb.
| 28662 [vruz www.dig] I could go on for quite a while describing similar defects.
+ 29294 [schneiker ju] While it's easy to dismiss or attack the bearer of uncomfortable news, I for
^ ~ UML SVG
28501 [tobiasreif p] HTH,
^ Why doesn't IO#popen raise exceptions?
28503 [thomharp cha] ...." to stderr and exits. Wouldn't the Ruby way be to raise an exception? The
28512 [nobu.nokada ] No, the message is emitted by forked child process. You can
28521 [paul atdesk.] No, but you can make a good guess. Most programs return an error code
^ Re: Package Naming (loading)
28505 [aaron.barnet] i missed the begining of this conversation but i'll jump in anyway :)
28511 [nobu.nokada ] Where action_name is the class name and actions[action_name]
28515 [nobu.nokada ] require actions[action_name]
^ binary package
28513 [Jean-Francoi] please, where can I find a binary distribution of ruby *with tk* for
^ Problem with the post command.
28514 [olczyk inter] I've tried the following using a "server simulator"
+ 28518 [nobu.nokada ] resp,data = h.post('/',"Hello.\n",nil)
| 28522 [olczyk inter] That fixed things.
+ 28528 [aamine mx.ed] resp, data = http.post( '/', "Hello.\n" )
28534 [nobu.nokada ] Doesn't Net::HTTP#post flush after sending data without
28535 [aamine mx.ed] This is just confirmation.
28538 [nobu.nokada ] Then, just my guess, Thaddeus's simulator uses gets and is
^ Front end for ruby?
28517 [olczyk inter] Do front ends like ddd work with ruby?
28540 [vjoel PATH.B] Supposedly, ddd will drive the python debugger, so it might be possible
^ questions about embedding Ruby
28520 [rcalco corte] I'd like to embed Ruby in an agent/service program that keeps running, but
+ 28526 [neumann s-di] It's explained in the book "Ruby Developers Guide" which will ship
+ 28530 [toddg mail.m] I've found embedding Ruby to be a breeze compared to other scripting
^ low priority bug
28529 [chr_news gmx] there is a problem with the error message (in the current cvs) when
+ 28531 [nobu.nokada ] That 3 special constants are treated specially.
| 28619 [chr_news gmx] am aware of this - however there does not seem
| 28729 [nobu.nokada ] I'm not sure but guess it is because class names are not
+ 28532 [decoux moulo] Look at rb_f_missing() in eval.c
^ WeBrick 1.0.0 error
28537 [mikkel incre] It ran perfect on my win box....but on my linux it crashes...
+ 28548 [mikkel incre] I figured out...needed the eruby library....
+ 28598 [maki open-ne] It seems to be Socket#getaddrinfo problem.
28611 [mikkel incre] yeah...that did solve my problems....
^ Ruby script to see the contents of a windows DLL
28539 [mdavis sevai] Does anyone have a ruby script that will report the functions in a window's
28546 [rich infoeth] SWin wraps the core Win32 GUI event model/windows and VRuby contains
^ [ANN] ruby-gsl 0.1
28544 [aerpenbe uos] Dear all,
^ help with ^M (line endings ) removing
28552 [Desai.Dinaka] I have some files that were created in windows. When I use vi editor
+ 28553 [gnuvince yah] Vincent Foley-Bourgon
| 28557 [rick beerdri] <esc> :g/^v^m/s///
+ 28554 [billk cts.co] ruby -i -pe 'gsub(/\015/, "")' somefile
| 28556 [Desai.Dinaka] Thank you very much for your emails.
+ 28555 [Ephaeton gmx] recode pc <filename>
+ 28564 [csawtell par] cat windows_file.txt | tr -d "\015" > unix_file.txt
| 28601 [j.travnik sh] YAUUOC - yet another useless use of cat :-)
| 28602 [csawtell par] That is the noise it made when I trod on its tail by mistake.
+ 28566 [yurleik tut.] ruby -p -e '$_.sub!(/\r/,"")' < in.txt > out.txt
+ 28707 [wakou fsinet] (CR or CR + LF) --> LF
28708 [wakou fsinet] oops
^ memory management
28567 [CK1 wwwtech.] I'm new on this list, so please advise me if I'm polluting this list.
+ 28572 [nobu.nokada ] Yes.
+ 28577 [matz ruby-la] When the memory manager in Ruby is asked to allocate an object, and
^ Blocking exceptions
28568 [thomharp cha] I think it would be useful if there was a shorthand way to say you want to
28574 [nobu.nokada ] def ignore(exc)
28575 [nobu.nokada ] Alternative.
^ Are Array#delete and Array#push thread safe?
28578 [harryo zip.c] I'm in the middle of writing something about using Mutex for mutual
+ 28588 [hal9000 hype] They're not thread-safe, so I think
| 28597 [harryo zip.c] Thanks. There's nothing worse than reading an example in an article,
+ 28608 [neumann s-di] You might use AspectR (AOP) to prevent concurrent access to an Array or
28614 [harryo zip.c] I was actually hoping that Array updates were NOT thread safe, because
^ Sourceforge and licenses
28581 [Dave Pragmat] If I wanted to create a SourceForge project for RDoc, what license do
+ 28590 [ jimm io.com] I don't know if it's acceptable, but that's what I did. On SourceForge or
+ 28593 [vjoel PATH.B] SourceForge accepted the Ruby license for my project. It wasn't one of
^ What is the partner of concat?
28582 [jim freeze.o] I am looking for an array function that will prepend the way
+ 28583 [nobu.nokada ] a[0, 0] = b
| 28585 [jim freeze.o] Yes, thanks. That is what I was looking for.
+ 28584 [jweirich one] How about this ...
+ 28586 [dblack candl] a.unshift *b
28587 [k1e2i3t4h5r6] [snipped from mailing list]
28600 [notdanielt3 ] Unfortunatly, I write video games for 5 year olds for a living. The only
28613 [ronjeffries ] Possibly Daniel T overstates his case. Certainly GUIs are important in
28620 [notdanielt3 ] I may very well be overstating my case just to make a point. Isn't that
+ 28638 [ronjeffries ] I believe I could write an automated test for collision detection.
+ 28643 [rmartin obje] I presume that you have a data structure that represents the ball
+ 28651 [johnroth ame] only
| 29011 [truediogen m] Having some test automation experience I wouldn't recommend anybody
| 29130 [johnroth ame] program,
| + 29198 [k1e2i3t4h5r6] I've never taken the time to learn to use Virtual User, but Apple has
| | 29218 [johnroth ame] actually
| + 29225 [truediogen m] There are tools allowing to process a screen content and return some
+ 28653 [nat.pryce b1] I haved written automatic tests for pixel perfect collision detection of
| 28657 [phlip_cpp ya] In my exalted opinion, this project is an amazingly successful
| 28667 [nat.pryce b1] Could you describe this technique in more detail? I don't understand the
+ 28698 [notdanielt3 ] This is a single general response to the replies written by Mr.
+ 28706 [ronjeffries ] These are separate replies to just a couple of points, and not to be
+ 28780 [rmartin obje] hasn't broken any of the older code.
+ 28781 [rmartin obje] And you think it's different in other domains?
^ internal 500 errors -- solved
28589 [dempsejn geo] well, i finally got it...using the most recent mod_ruby and eruby, i
^ Re: Welcome to our (ruby-talk ML) You are added automatically
28592 [mbowen59 att] unsubscribe
^ REXML 1.2.2 install.rb patch
28594 [maki open-ne] I cannot install it, because cannot create dtd dir.
28626 [ser germane-] Ouch! I'm sorry, folks! I recently added the DTD stuff in an attempt to
^ REXMLBuilder: REXML meets XMLParser
28595 [maki open-ne] We have a fast parser: XMLPaser. And we have a useful XML object
28624 [ser germane-] Cool. I'll include the patch in the next release.
^ rruby b
28599 [dempsejn geo] Matz,
+ 28609 [neumann s-di] m = Mysql.new(host, user, passwd, db)
| 28628 [dempsejn geo] i knew it had to be that easy....thanks so much!!
+ 28742 [matz ruby-la] Don't use defined? for local variables like this. Determination is
28743 [dempsejn geo] Yeah, I've seen that defined? gives me results I'm not really looking
^ One year anniversary
28603 [ptkwt shell1] Well, it's kind of a tradition around here for people to post something on
28980 [protokow cpi] It is also my ~1 year anniversary of programming in Ruby. I heard
^ assigning to class variable works in string, not in block
28604 [vjoel PATH.B] In the following code, the first class_eval results in "uninitialized
28606 [decoux moulo] Write it like this
28639 [vjoel PATH.B] Thanks, Guy, that works.
28669 [decoux moulo] For class variable (like for constant) you have 2 steps : declaration and
^ A question about Ruby versions
28621 [ser germane-] I feel uneducated for not knowing this, but I'd like to get some
28623 [neumann s-di] This is true. 1.7 is development branch, 1.8 stable release.
+ 28631 [anany ece.vi] Yes, the even subrelease numbers are the stable versions (1.4.x, 1.6.x)
+ 28632 [ser germane-] Thanks, Michael.
28661 [maki open-ne] see doc/NEWS file in CVS.
^ GUI testing with GTK?
28630 [list chromat] I see GTK::Widget has got an add_events(events) method. I believed it
+ 28640 [phlip_cpp ya] I test Tkinter at work by building a GUI, putting data in it, sampling that
| 28649 [list chromat] I am not sure that I understand what you mean by ``putting data in
| 28652 [phlip_cpp ya] Not really. I can post pseudo code. But I don't have an example of this
| 28675 [list chromat] Please bear with me and tell me whether I am understanding it
| 28690 [phlip_cpp ya] Because I do this all the time, and because you are trying to do it a
| + 28694 [phlip_cpp ya] ....with a link in from www.rubygarden.com
| + 29309 [list chromat] Phlip, thanks for taking the time to put your practices into GTK code.
+ 28663 [jacekpodkans] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28674 [list chromat] Thanks Jacek, I can already design GTK interfaces that act the usual
28678 [list chromat] The widget.add_events method does not add events to widget event
28641 [olczyk inter] Does anyone know when it is supposed to be out?
28741 [brixi unicod] It seems to be in March 2002.
^ irb works, ruby doesn't...
28645 [dempsejn geo] ok, this is bugging me...seems simple, but what's going on?