73238-76230 subjects 73646-74517

^ Re: ruby_run dies w/Borland Builder 5
73397 [sean REMOVEM] Answering my own question so the group and anyone Googling in the future
73413 [nobu.nokada ] You might need to use SetStdHandle() instead of freopen().
73436 [sean REMOVEM] program

^ Confused about to_s in Ruby / irb
73403 [itsme213 hot] I wish to control the default display of my objects, and thought to_s
+ 73406 [gfb tonesoft] Actually, irb uses "inspect" in this case.
+ 73407 [hal9000 hype] I guess you know about p and puts, right?
| + 73427 [sdate everes] Meaning ?
| | 73428 [hafu manning] You're not dense. I still find it highly non-obvious.
| + 73441 [itsme213 hot] about p and puts, right?
|   + 73444 [mwilson13 co] A class is an object. As such it gets a minimum collection of methods.
|   + 73445 [batsman.geo ] That's because
+ 73429 [mwilson13 co] irb just shows what the input expression returns. The things you see

^ ANN: REXML 2.7.0 (3.0b)
73405 [ser germane-] Greetings,
+ 73439 [mjais web.de] thanks for Rexml. impressive work. I will download 2.7.0 and try
+ 73454 [jbshaldane h] Excellent.
  73556 [ser germane-] Can a man ever have *enough* tea cozies?

^ Re: REXML 2.7.0 (3.0b)
73412 [sean REMOVEM] Far and away my favorite XML library ever; thanks for the updates.

^ module include and class re-opening
73415 [itsme213 hot] Can module2 include module2 and add features to a class from module1?
73418 [vjoel PATH.B] module M2
73438 [batsman.geo ] => nil

^ [ANN] RMagick 1.2.2
73419 [cyclists nc.] RMagick 1.2.2 is now available. RMagick is a Ruby binding to the

^ Interactive Console Program with Tab-Completion
73420 [kapheine hyp] I am running into a lot of trouble trying to find a good way to
73453 [bob.news gmx] bash (and I belive tcsh) have programmable completion that does exactly
73458 [batsman.geo ] But bash (and probably tcsh too) uses readline...
+ 73467 [bob.news gmx] "Mauricio FernŠŌdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
+ 73468 [roberto REMO] Nope, tcsh being a BSD licensed program doesn't use the GPL readline. It
  73497 [kapheine hyp] I'm not having a problem using the features that ruby's readline

^ Still stuck on gets for stdin under Win2000ProSP3
73423 [RLMuller com] Daz helped me with the following code running under SciTE 1.52 & 1.52
73440 [dooby d10.ka] Try giving your script an extension of '.rbw' instead of '.rb'

^ OT: Chess computer programs
73433 [androflux re] See, that's the problem with chess computers: They're so good at it, it's no

^ problems with Net::FTP
73443 [John.Jennisk] I want to make a program that transfers a lot of files to another computer
73557 [dooby d10.ka] Like ruby itself, many libraries provide classes of exceptions

^ blacjat
73456 [jfontan cesg] toma ya

^ Hispeed String concat
73463 [dwerder gmx.] What is the fastest way to add many small Strings to a big buffer?
+ 73464 [mneumann nte] Use the << method.
+ 73466 [batsman.geo ] AFAIK, if you stay w/ Ruby (and don't write extensions in C), the best
+ 73472 [dave pragpro] I don't believe there's a single fastest way.
  + 73483 [feldt ce.cha] For "Ruby Developer's Guide" I did some measurements on this and join was
  | 73486 [djberge qwes] I'll add string concatenation to the next benchmarksuite. :)
  | 73488 [feldt ce.cha] I missed that one. RAA?
  + 73655 [dwerder gmx.] "Pre#{i.to_s}Post" seams to me cheaper than 'Pre'<<i.to_s<<'Post'
    + 73656 [botp delmont] these speed quirks are interesting.. do we have something similar on wiki?
    + 73657 [nobu.nokada ] to_s inside #{} isn't needed.
      73714 [ jupp gmx.de] Saluton!
      + 73747 [feldt ce.cha] To me Storage is too general a name. StringBuffer?
      | 73794 [ jupp gmx.de] Saluton!
      + 73809 [batsman.geo ] [some 86 lines of code]

^ ISP that offers eRuby
73471 [info atlanti] Is there a ISP that offers eRuby on their webservers?
73473 [michael_s_ca] rootr.net.  http://rootr.net/ruby.html

^ regex interpolation (in ruby from CVS)
73476 [mike ratdog.] I have been experimenting with building regular expressions from
+ 73480 [bob.news gmx] "Mike Stok" <mike@ratdog.stok.co.uk> schrieb im Newsbeitrag
| 73492 [mike ratdog.] The problem with this is that .source seems to lose information (the /i
+ 73481 [decoux moulo] Can you try this (1.6.8)
  + 73489 [mike ratdog.] [mike@ratdog mike]$ irb --simple-prompt
  + 73495 [mike ratdog.] This works well but seems to break (under 1.8.0) if I use a trivial
    + 73496 [michael_s_ca] As an almost completely irrelevant nit...
    + 73549 [decoux moulo] Well, this is this case
      73589 [mike ratdog.] [Mike grumbles about constructing regexes:-)]

^ Blogging Software Created with Ruby
73484 [info atlanti] Is there a blogging software created using the Ruby scripting
+ 73487 [chrismo clab] Two I know of - Dave's RubLog[1] and my own Wiki[2] which can be used
| + 73491 [urban oops.s] Burger is a blogging tool written in Ruby, as per
| + 73494 [wjl icecaver] If want a real simple one to build off of, there is Cherry Bloxsom (I
+ 73537 [ruby jamesbr] I'm in the middle of a rewrite of Blogtari
+ 73554 [leej citymut] And this has WHAT? to do with xml please?
  73559 [ruby jamesbr] Most blogging tools provide a way to serve up an RSS feed.

^ ignoring invalid options with optparse
73498 [pbrannan atd] def go!
73606 [nobu.nokada ] other_options = []

^ Hispeed String concat / Failsafe (RE)ALLOC_N usage?
73501 [ jupp gmx.de] Saluton!
73513 [mneumann nte] It raises a NoMemoryException (see ruby_xmalloc in gc.c). So you don't
+ 73529 [sdate everes] [cool sig snip]
| 73545 [sebastian_ka] "display" probably refers to the ImageMagick package. Haven't tried it
| 73561 [michael_s_ca] ...
+ 73573 [ jupp gmx.de] Saluton!

^ RaaInstallInRuby petition
73503 [ptkwt shell1] The RaaInstallInRuby petition now has more signers than the YamlInRuby
+ 73504 [hal9000 hype] I didn't know it was a race. :)
| + 73505 [ tom u2i.com] Windows compatibility is pretty good, I think - though I haven't tested
| | 73512 [hal9000 hype] Was that recently? I tried it a few months ago
| | + 73514 [ tom u2i.com] I don't recall, and he probably didn't test on 98. Worth a try though.=20
| | + 73516 [michael_s_ca] Correct on all counts.  "\r" worked everywhere I tried it.
| + 73507 [joey joeygib] I use Windows almost exclusively and Ruby has always worked quite well
| | 73510 [ tom u2i.com] That's a good idea. And actually the version in CVS alredy keeps track
| + 73517 [ptkwt shell1] The implication being that since YAML was accepted into 1.8 with less
|   + 73518 [mwilson13 co] I think raa-install is excellent and I use it regularly. I have no
|   | + 73519 [ tom u2i.com] Why do you say it's unstable? RAA-Install (+RAA) is essentially a CPAN
|   | + 73526 [ptkwt shell1] Well, it's a chicken-and-egg problem.  We need a package manager available
|   | | 73530 [mwilson13 co] chicken-egg, egg-chicken ... I see your point. Ruby and package
|   | + 73552 [martindemell] It's not the standard *library*, it's the standard *distribution*. I
|   |   73585 [mwilson13 co] Right. Where I said standard library I meant to say standard
|   + 73521 [hal9000 hype] I knew what you meant. I was just being silly.
+ 73506 [ oct zoy.org] just a quick question. Does raainstall support installation to
  73509 [ tom u2i.com] It doesn't, but could be added - though the underlying installer that

^ ruby design: keyword arguments
73508 [surrender_it] I just met for the first time a situation where I'd like to have
73511 [djberge qwes] See http://www.rubygarden.org/ruby?KeywordArguments for a discussion on

^ Re: Ruby packaging
73534 [aredridel nb] An educated guess says "Yes, but not easily yet".

^ un_extend - dynamic mix-out?
73535 [mfp cs.mu.OZ] I know that I can do obj.extend(Mod) to dynamically mixin a module.
73550 [decoux moulo] Well, see [ruby-talk:39234] to find where is the problem

^ Testing mail-news gateway...
73541 [hal9000 hype] This is only a test.

^ Late night eRuby
73547 [josh weirdch] I'm trying to get eRuby 1.0.3 running with Apache 1.3.27 on Windows
73551 [josh weirdch] ScriptAlias /ruby/ e:/ruby/
73568 [calvin8 t-on] The following is a workaround, posted originally on
73619 [josh weirdch] I tried that, and it worked. That's the way I'm doing it now, but

^ ##$15,500 to over $650,000 in FREE Grant Money<<<<  tvwsdghhpa
73548 [GovtGrants12] This is a multi-part message in MIME format.

^ Swig and Multiple inheritance
73553 [brailsmt yah] I am trying to use swig to embed ruby in an exitsing C++ app which makes
73578 [lyle users.s] Starting with SWIG 1.3.20 (not yet released), SWIG provides some limited

^ I need a code beautifier or formatter
73555 [joaopedrosa ] I have some source code that is terribly formatted. It needs some good
+ 73558 [mneumann nte] Vim can format Ruby code (visual select then press '=').
| + 73562 [michael_s_ca] The emacs mode that comes with the distribution does a pretty good job as well.
| + 73569 [ahoward fsl.] for me this simply lines eveything up in a column - could you post the
|   + 73571 [mneumann nte] Nothing special in there, except the usual "syn on".
|   | 73575 [ahoward fsl.] i've got all that - which vim version?
|   | 73581 [mneumann nte] filetype plugin indent on
|   + 73572 [batsman.geo ] _           _
|     73577 [joaopedrosa ] Nice link.
|     73580 [batsman.geo ] I think I found the bug in indent/ruby.vim responsible for that (assuming
|     73582 [joaopedrosa ] Right on target :-)
+ 73563 [heaney cable] I use XEmacs in Ruby mode. It has an indent function, which you can
| 73567 [joaopedrosa ] Vim did format it, but not as expected. It doesn't even indent
| + 73570 [batsman.geo ] Works for me most of the time, but sometimes there's problems w/
| + 73574 [0bz63fz3m1qt] I tried the '=' in VIM and the indent then got screwed up..
| + 73620 [vor_lord hot] I use vim for my ruby coding.  I set smartindent on as well--not sure how
| | 73622 [lone-star ho] if i get my mind of coding my web pages any time soon i'm going to add
| | 73626 [michael_s_ca] foo = "something long" +
| + 73633 [bjst01 stude] I thought about this not long ago, while working on a piece of software along
+ 73587 [han.holl pri] complete, and will only handle a subset off all possible ruby programs

73564 [ser germane-] This is a solicitation for API suggestions.

^ creating classes dynamically ??
73565 [info mjais.d] I would like to create classes dynamically and also the name of the class
+ 73566 [decoux moulo] Eagle = Class.new # the argument to Class::new is the superclass
+ 73576 [ahoward fsl.] ~ > cat bird.rb

73579 [doname thema] I need your help,I am DONANA MAKALE the son of a Late minister during the reign of mobutu seseko, I came to know you in the course of my search for a reliable and God fearing partner and I decide to contact you because I believe you are a reputable person and I felt you can help us over this confidential matter. I count on your intergrity and honesty to be able to handle this business. My father was a minister in Democratic Republic of Congo during the reign of Late President Mobutu. Our father was killed during the rebel attack and our house was burnt. We manage to escape to South Africa with my mother and two of my sisters where we are now taking refuge.Before the death of my father he deposited US$20 MILLION, with a security company in Europe.The money is kept in a Metal Crates and was registered as precious substance. Thus there is nobody that knows that it is money that is in the metal crates. All the document with which the money was deposited is with us. I am looking f

^ problems with regex.h in an extension module
73590 [brailsmt yah] I am working on embedding ruby into a C++ application but I cannot get
73594 [0bz63fz3m1qt] You will have to make a wrapper around '/usr/include/regex.h', so
73607 [brailsmt yah] It would be much more preferable to rename ruby's regex.h to not clash

^ Ruby on Linux IA-64?
73591 [hinoue cs.un] I've seen previous messages that imply that Ruby can be built on
73592 [dcarrera mat] I didn't know that AIX ran on IA-64.

^ Good & cheap mp3 player, USB Flash disk, cd/vcd/mp3 player and digital camera etc
73595 [hytechhk 163] My dear friend,

^ How to remove a singleton method from within an instance method?
73596 [hal9000 hype] Is this possible?
+ 73597 [decoux moulo] svg% cat b.rb
+ 73599 [swap gmx.net] Besides Guys solution I'd probably would do this

^ Get songtitle from Winamp
73600 [calvin8 t-on] I just got the following to run, maybe someone finds it useful. All it
+ 73601 [dcarrera mat] What is an "hWnd"?   That's the weirdest variable name I've seen in a
| 73602 [chadfowler c] It's a Win32API convention meaning "Window Handle".
| 73603 [dcarrera mat] Why don't they call it "WindowHandle" or "window_handle"?
| 73605 [wjl icecaver] cBecause sthey vare dextremely pinto aHungarian nnotation.
| 73609 [dcarrera mat] I just looked up "hungarian notation" in microsoft.com.  I cam accross a
+ 73604 [nobu.nokada ] The third to GetWindowText() isn't the length of the second
  73608 [calvin8 t-on] Hence my comment... I wasn't very clear on what it should actually be.

^ Re: Hungarian Notation
73610 [yura opmr.co] You all know this already, but ...
73611 [jj5412 earth] Sometimes one, sometimes many, ie. lpstrMyMessage.
+ 73612 [dcarrera mat] I guess that it might be an indiosyncratic term that a Windows programmer
| + 73704 [fgeiger date] There's almost never any point in using any name containing "tmp". Most
| | 73738 [dcarrera mat] A tmp variable is one that is so temporary that it's use doesn't span more
| + 73715 [ jupp gmx.de] Saluton!
+ 73613 [calvin8 t-on] I somehow feel the need to justify myself :) There was no conscious
+ 73705 [fgeiger date] HN tends to lead to bad OO design.

^ [OT] Re: Get songtitle from Winamp
73614 [kent zerosph] Don't scoff at MS programmers because they're using hn; pity them
+ 73615 [dcarrera mat] A better solution would be to avoid global variables, to avoid jumping
| 73618 [M.B.Smillie ] [OT] Re: Get songtitle from Winamp
+ 73666 [rasputin ido] Yep, it's the FNG again - what threw me more than anything was
  73697 [martindemell] One of my nice little 'aha' moments was when I realised that classnames
  73719 [surrender_it] <msg type="useless">

^ [OT] Re: Hungarian Notation
73616 [cyclists nc.] My memory (and my memory goes back a long way :-) is that Hungarian
73625 [wjl icecaver] I think this is very true--some (hopefully small) amount of

^ ###<>>><Largest Loan Program mxbcf i
73621 [GovtGrants30] This is a multi-part message in MIME format.

^ OT: Re: Hungarian Notation
73623 [hal9000 hype] have
73624 [calvin8 t-on] *g* Thanks, I fully agree.

^ question on Struct and class_eval
73628 [info mjais.d] country = Struct.new("france".intern, :person)
+ 73631 [batsman.geo ] this doesn't seem right, should be
+ 73644 [dooby d10.ka] I thought Mauricio was going to take your head off ;-)
  73647 [batsman.geo ] Didn't mean to be harsh. Sorry if I was, I guess I was too tired to
  73651 [dooby d10.ka] Fear not.  I was engaging in playful exaggeration for
  73654 [mjais web.de] thanks for your help!

^ Bridge Ruby and PHP (in a CMS) ?
73634 [itsme213 hot] I have not found any CMS-like framework in Ruby, and may have to fall
+ 73635 [surrender_it] possibly, this could help?
+ 73669 [tom.hurst cl] class Meh

^ [REXML] getting line/file from element
73636 [vjoel PATH.B] Is it possible to get the line number(s) and file name where an element
73701 [ser germane-] Not currently, although that's a good idea.  I'll stick it in the

^ Good guide to writing Ruby extensions in C?
73637 [ jupp gmx.de] Saluton!
+ 73638 [0bz63fz3m1qt] Agree.. not much documentation.
+ 73650 [batsman.geo ] #define REALLOC_N(var,type,n) (var)=(type*)xrealloc((char*)(var),sizeof(type)*(n))
  74534 [mrand nic.fi] If I reserve memory with e.g. ALLOC_N, do I need to register it to gc

^ Web Hosts That Support mod_ruby and eRuby?
73639 [al3x al3x.ne] A friend and I are embarking on the development of a "next generation"

^ Standardizing Installers
73640 [ tom u2i.com] I was thinking about some of the issues raised involving ruby libraries
+ 73642 [aredridel nb] In light of the benefits, I personally say "Yes!"
| + 73643 [ tom u2i.com] Please excuse my ignorance, but what's the difference/benefit?
| | 73645 [aredridel nb] With --prefix, you're telling a package it's final home: /usr,
| | + 73648 [mwilson13 co] One idea would be to add a field to RAA for "raa-install compatible?".
| | | 73720 [surrender_it] I suppose the "Raa-installable flag" was already mentioned.
| | + 73660 [rasputin ido] One thing I've found in my month or so of using ruby is that most
| | + 73679 [guslist free] Minero Aoki's install.rb/setup.rb supports this option already, doesn't
| + 73671 [lucid connec] IMO, we should initially modify RAA slightly.
+ 73742 [androflux so] automake/autoconf would be hard to get working on a Windows systems.
  + 73763 [sroberts uni] Most people don't have cygwin installed, and lots don't have MSDev
  | 73779 [ tom u2i.com] I think this is correct. What we need to the RAA-Packages to do is to be
  | 73785 [hal9000 hype] Personally, I think it's possible... although
  + 73777 [ tom u2i.com] So does anything requiring c-code. Including stuff using extconf.rb.
    + 73778 [djberge qwes] InstallShield.  And no, I don't know how. :/
    | 73784 [hal9000 hype] Well, I know that djgpp works fine for me
    | 73810 [batsman.geo ] Well, I know that djgpp works fine for me
    + 73828 [aredridel nb] There's the mingw toolchain: GNU that compiles against msvcrt32.dll,
    + 73830 [androflux so] But not nearly as hard as getting a UNIX shell script to run on Windows. :-)