94487-94838

94267-96840 subjects 94695-99146

Looking for HTML templating system
94487 [usenet@an re] I am looking for a templating system for my forum
+ 94506 [khaines@en g] Your performance requirements should be no problem at all for any decent
+ 94508 [ruby@hi me i] I'm just about to do the same thing (mutli-language), and here's the solution
| 94513 [usenet@an re] The problem is that the methods generating html could end up containing
| 94514 [shu@ru ur n.] I agree with Andreas here. Templates are templates, there should be no logic
| + 94519 [usenet@an re] Most template systems have "if" constructs, iterators etc...
| | + 94521 [nick.faiz@ce] I'm a Ruby newbie.
| | | 94524 [khaines@en g] There are oodles of them.
| | | 94526 [nick.faiz@ce] Thanks Kirk,
| | + 94530 [shu@ru ur n.] Yeah, heh, I would hate it too. But you get the hyperbole.
| | + 94562 [aredridel@nb] Have you tried Amrita with the bytecode compiler enabled?
| |   94733 [usenet@an re] No, not yet; but what is this bytecode compiler good for, wouldn't it be
| |   94734 [usenet@an re] I tried use_compiler = true, but my simple example (table with 30 rows)
| |   94735 [usenet@an re] The new version is about 4 times faster but uses quite a lot of RAM
| + 94532 [ruby@hi me i] Presentation DEFINITELY needs logic, for anything beyond the
|   + 94533 [david.naseby] I'd take some issue with this. Sort of. The colour of the flag is (should
|   | 94542 [ruby@hi me i] I guess from my experience I feel that the business-logic is the code that
|   | 94555 [usenet@an re] I agree on this point; the template needs some basic methods to process
|   + 94578 [kwa@ku at -l] If you need a fast temlate system, try Kwartz.
|     94579 [khaines@en g] Kwartz!  That's the one that I was trying to think of for my mini-list of
+ 94510 [usenet@an re] Thanks, I'll have a look at it.
+ 94512 [shu@ru ur n.] I have also chosen to write a forum in Ruby, and the solution I came up with
| 94515 [usenet@an re] Yes, of course.
| 94516 [shu@ru ur n.] The translation files (po's and mo's) are in the gettext format, which means
| 94523 [usenet@an re] I'm not convinced that gettext has many advantages in a web application,
+ 94582 [chad@ch df w] # I am looking for a templating system for my forum

[ANN] Ruby-GNOME2-0.9.0
94493 [mutoh@hi hw ] Ruby-GNOME2-0.9.0 is out. Enjoy!
94547 [markusjais@y] very cool. thanks !

Calling a Windows .bat file from Ruby program
94495 [colotechpro@] I want to call a Windows .bat file from inside my Ruby program and I
+ 94497 [usenet@an re] `batchfile.bat` should work.
+ 94551 [wsdng@on in ] Cheers
| 94627 [colotechpro@] Thanks for the help. I got it to work.
+ 94720 [jussij@ze se] To run a batch file just run the command processor and passing the
  94737 [vjoel@PA H. ] I'm not near a windows box to test right now, but wouldn't
  + 94739 [MoranCM@na a] system("cmd /c C:\\path\\to\\batchfile\\batchfile.bat")
  + 94753 [nobu.nokada@] We expect so, and unless you want to detach the batch process,

proposal:  class<<obj to invoke extend_object
94517 [neoneye@ad l] 'obj.extend'  and  'class<<obj' are close cousins..
94520 [matz@ru y- a] 'obj.extend' add a module to the inheritance graph (per object base),
94525 [neoneye@ad l] I don't get this.. (thanks+sorry matz).
94527 [dblack@wo bl] (Testing a new way of posting to Usenet.... hoping it works....)
94528 [happy@us r. ] To be precise, class << obj; self end.ancestors changes :-)
94529 [neoneye@ad l] Thanks David and Kent,  now I understand. it seems logical that the
+ 94531 [dblack@wo bl] I don't think there needs to be such a thing.  (If there is, it
+ 94534 [matz@ru y- a] Describe yourself deeper.  What exactly is your proposal?  And why do
| 94535 [neoneye@ad l] When 'class<<obj' is seen by Ruby, then an init method should be invoked.
| + 94537 [happy@us r. ] 'class << obj' by itself simple changes the current scope to the
| + 94538 [matz@ru y- a] You didn't explain why you need "extended" for singleton class
|   94552 [neoneye@ad l] I don't have a serious need for 'class<<obj'.
|   94556 [dblack@wo bl] Here's another way to look at all of this.
+ 94536 [neoneye@ad l] Sorry.. this doesn't work in the following example.
  94565 [angus@qu va ] [Simon Strandgaard <neoneye@adslhome.dk>, 2004-03-08 04.24 CET]
  94567 [neoneye@ad l] I tried poking around with 'singleton'.. but no luck.
  + 94572 [dblack@wo bl] Here's something which might suggest some possibilities for the kind
  + 94573 [angus@qu va ] [Simon Strandgaard <neoneye@adslhome.dk>, 2004-03-08 16.19 CET]
    + 94574 [dblack@wo bl] class Class
    | 94576 [angus@qu va ] ["David A. Black" <dblack@wobblini.net>, 2004-03-08 17.53 CET]
    + 94575 [happy@us r. ] I don't understand this. What should singleton method/attribute return?
      94577 [angus@qu va ] ["Kent S." <happy@user.com>, 2004-03-08 17.54 CET]

Publications Receptive to Ruby Articles?
94522 [jamesUNDERBA] I have some ideas for articles about, or using, Ruby, and while I know
94550 [surrender_it] I'm not much in the internals of this, but I remember reading ruby

Atlanta Ruby User Group: First Meeting 03/30/2004
94544 [joey@jo yg b] To anyone in or about the Atlanta, GA area, the inaugural meeting of the

cgi.header works too
94546 [me@pr va y. ] require "cgi"

PDF of "Test first by Intention"
94548 [Stephan.Kaem] Does anyone know where to get the PDF of this translation (from
94652 [surrender_it] translations of that paper ?

unsubscribe
94557 [blackdav@sh ] unsubscribe
+ 94558 [dblack@wo bl] Whoops, sorry :-)  Still messing with combinations of email/
+ 94561 [gsinclair@so] At least that message got through :)
| 94566 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
+ 94563 [surrender_it] argh, even people on the list since years still get unsubscribe wrong

How to remove an instance variable ?
94580 [itsme213@ho ] So "@a" refers to (and creates if needed) an instance variable.
94581 [angus@qu va ] [Its Me <itsme213@hotmail.com>, 2004-03-08 19.54 CET]

RubyCocoa and Net::HTTP
94586 [ben@bl hr co] I'm having a bit of a problem getting RubyCocoa to work with Net::HTTP.

bizare yaml values
94587 [Ara.T.Howard] i have tk gui which owns a config object - derived from hash.  i have an
94589 [vjoel@PA H. ] irb(main):008:0> x = []
94599 [ahoward@fa t] ah - should have guessed - but i'm still worried!  ;-)
94610 [angus@qu va ] ["Ara.T.Howard" <ahoward@fattire.ngdc.noaa.gov>, 2004-03-09 15.34 CET]
94624 [ahoward@fa t] yes - i see both but never the data.  i've gotten around it by taking a #dup,

How do I enforce variable declarations in Ruby?
94594 [dejaspam@ba ] Is there any way to require that all variables and class attributes be
+ 94595 [bob.news@gm ] "Bill Atkins" <dejaspam@batkins.com> schrieb im Newsbeitrag
+ 94601 [ahoward@fa t] method one - use ruby's ability to declare accessors
+ 94626 [Bil.Kleb@NA ] require 'test/unit'

[ruby-gnome2] Problem with combos in 0.9 version
94596 [davinciSINSP] I have a very strange problem with last version of ruby-gnome2. When
94597 [mutoh@hi hw ] ...
94598 [davinciSINSP] Thanks. I have compiled with your file and now there is no problem :)

Borges app registration
94600 [ jimm@io co ] I'm playing with Borges, and I'm trying to understand the application
+ 94605 [chrismo@cl b] Aren't you running a Borges server (.rb script from the cmd line) prior
+ 94682 [drbrain@se m] The application registration process is complicated :)

when a required module redefine another module => problem
94602 [shasckaw@sk ] module SomeModule
+ 94604 [surrender_it] this is a problem that I have'nt faced yet, but people talk about it
+ 94608 [bob.news@gm ] "shasckaw" <shasckaw@skynet.be> schrieb im Newsbeitrag
  94638 [shasckaw@sk ] Well, I must tell I wasn't aware of this until recently. But that's
  94642 [bob.news@gm ] "shasckaw" <shasckaw@skynet.be> schrieb im Newsbeitrag

Re: How to remove an instance variable ? - remove a variable
94603 [kgergely@mc ] And can I somehow remove a variable?
94609 [bob.news@gm ] "Gergely Kontra" <kgergely@mcl.hu> schrieb im Newsbeitrag

using postgres.bundle from JRuby
94606 [yvon.thorava] I'd like using postgres.bundle from JRuby

RubyInstaller (Windows) and SQLite
94607 [greg@br nd .] Anyone know what I need to to do to have the DBI/DBD working for SQLite

Borges app registration: mystery solved
94611 [ jimm@io co ] I think I understand what's happening with the out-of-the-box Borges examples.
94685 [drbrain@se m] ples.

[ANN] RedCloth 2.0.2 -- A Textile Humane Web Text Generator
94612 [ruby-talk@wh] RedCloth 2.0.2.  To upgrade: raa-install -i redcloth

Self-extracting archives.
94613 [dcarrera@ma ] This is a question for people who distribute Ruby programs to folks
+ 94614 [cribbsj@oa w] Go to the RAA and grab rubyscript2exe.  It is great!  If you compress
| + 94615 [aredridel@nb] Try NullSoft installer.
| | + 94619 [jamesUNDERBA] Really quite a nice tool.  The HM NIS editor helps a lot, too.
| | + 94620 [rc@va ca er ] Or Inno installer.
| + 94617 [kgergely@mc ] Can I do the same with ruby-gtk? (The answer is no, I'm afraid :(
|   94623 [cribbsj@oa w] You are right, it's not as easy with ruby-gtk.  You can get fairly close
+ 94616 [chrismo@cl b] see http://www.rubygarden.org/ruby?DistributeARubyAppInASingleExecutable

Non-funny jokes :-< (Re: unsubscribe)
94622 [ jupp@gm .d ] Delivering false message delivery problem reports on a mailing list
94630 [bob.news@gm ] "Josef 'Jupp' SCHUGT" <jupp@gmx.de> schrieb im Newsbeitrag

eRuby installation on Windows server
94625 [tmswayze@ju ] I'm quite new in the Ruby field and I'm trying to configure our server

Re: I know I am beginning to sound whiney...  but I need help  :/
94628 [candiazoo@co] YaHOOOOOO!  The dir_config did it.  Thank you all!

Compiling Ruby source to binary via JRuby and gcj - anyone tried it?
94629 [im_not_givin] Just wondering (before I try it:)
+ 94633 [im_not_givin] Oh sorry: I misunderstood the purpose of JRuby: I thought it compiled
| 94640 [ndrsbngtssn@] Yeah, but the difference isn't really that big. Most of the code in
+ 94636 [ndrsbngtssn@] I think you'll be a little disappointed to find that JRuby doesn't

Why there is no Continuation.new ?
94631 [surrender_it] I'm trying to get a grip on continuations.
+ 94639 [angus@qu va ] [gabriele renzi <surrender_it@rc1.vip.ukl.yahoo.com>, 2004-03-10 09.14 CET]
| 94641 [surrender_it] I understand hat callcc calls the block passing the continuation to
| 94644 [angus@qu va ] [gabriele renzi <surrender_it@rc1.vip.ukl.yahoo.com>, 2004-03-10 13.34 CET]
+ 94643 [matz@ru y- a] There's no consensus that where the continuation should point when
+ 94654 [bg-rubytalk@] I wanted a Continuation.new and a Continuation.run.  It made sense to me
+ 94671 [avi@be a4 co] For what it's worth, in Smalltalk I use the equivalent of
+ 94681 [flgr@cc n. e] Moin!

Dir::glob with a block
94632 [ian@ca ib n.] Dir.glob( string, [flags] ) => array
94657 [ahoward@fa t] running on a directory with 100,000 files - which we do alot.  the
94668 [ian@ca ib n.] Good point. It seems, then, that this behaviour should be selectable.
94696 [botp@de mo t] but what is Dir#each ?

Re: raa-install problem (Was: [ANN] RedCloth 2.0.2 -- A Textile Humane Web Text Generator)
94634 [nomail@he e.] raa-install threw up the following for me. don't think it has got
94759 [ruby-talk@wh] yes, this is an incompatibility between 1.8 and raa-install.  try the
94776 [nomail@he e.] It works without a hitch now. Will check out the cloth in detail, thank

bug in fileutils.rb
94635 [chris@ch ll ] it seems that i found a bug in fileutils with symbolic.links
94645 [aamine@lo er] Thank you very much.

Re: :glob with a block
94637 [botp@de mo t] Well I've never used that form before (nuby here) but thank you for the info

require is excluding too much
94646 [neoneye@ad l] Is this a bug?
94647 [shasckaw@sk ] When requiring a module twice, it is probable that ruby just use its
94648 [neoneye@ad l] It seems so.
+ 94649 [oelkers@zr .] The alternative is to use 'load' instead of 'require' which forces the interpreter to reload
| 94651 [neoneye@ad l] I am also aware of 'load'.. my intension with the piece of code I posted,
+ 94658 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
  94716 [neoneye@ad l] rescue OutofwordsError => e

ruby-dev summary 23108-23174
94650 [ko1@na ik la] This is "ruby-dev summary" of last week: 23108-23174.

ruby power tools
94653 [shasckaw@sk ] Has anybody already thought about a project like "Perl Power Tools" but
+ 94655 [surrender_it] from time to time people suggest it, togheter with a rubyshell.
| 94656 [neoneye@ad l] A rubyshell would be nice to have.
| 94659 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 94661 [happy@us r. ] and do
+ 94693 [djberg96@ho ] Not standalone tools, mind you, but I did implement a few "power tool"

ORE v0.1 codename "Man titties" released!
94660 [bighead@us r] Hey all
94667 [surrender_it] my hard drive is dying, so this may be my issue. but is it possible
94669 [bighead@us r] Hey

Re: ORE v0.1 codename ...
94662 [michael_s_ca] 11:30am EST
94665 [jamesUNDERBA] Besides, I think the technical term is "moobs."
94666 [michael_s_ca] offended
94670 [bighead@us r] Hmm

using Oniguruma with Ruby 1.8.1
94663 [intc_ctor@ya] We're planning to use Ruby in a commercial setting where licensing

Rite - class variables still shared?
94664 [childNOSPAM@] Does anyone know whether in Rite class variables will still be
94692 [matz@ru y- a] No, you don't have to.  Ruby2 class variables will be private to the
+ 94712 [surrender_it] so we won't see the uber-ugly @_vars ?
| 94713 [matz@ru y- a] It's different story.  I'm only saying the scope of @@variable will be
+ 94715 [childNOSPAM@] Thanks, Matz - glad to hear that. Don't allow anyone to change your

saving array
94672 [mopthisandth] After I do bunch of computations and create a huge array with bunch of
+ 94673 [hal9000@hy e] There are numerous ways. You might use Marshal, for instance.
+ 94674 [vjoel@PA H. ] array = ...
| 94675 [vjoel@PA H. ] ^^^ should be "rb" (it matters on windows)
+ 94676 [surrender_it] $irb
| 94721 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
+ 94754 [mopthisandth] Thank you for the responses. But I forgot to mention one thing. My
| + 94755 [bighead@us r] Hmm is narray.rb part of ruby-1.8.x? or a separate package? I'm guessing
| | 94804 [mopthisandth] Sorry. NArray is not a standard package. I got it from
| + 94756 [gavin@re in ] Er, how about you please provide US with what you are doing, what
| | 94757 [vjoel@PA H. ] IIRC there is a similar problem with rbtree.
| + 94768 [nahi@ke na t] When the object not a sparse array,
+ 94762 [dhtapp@co .n] An instance of PStore, maybe?
  94833 [mopthisandth] I tried, but it did not seem to work either...
  94838 [ruby-talk@wh] Here's one way to do it in YAML.  Hopefully we can make this simpler in

Novice question, tranlate awk code to ruby code
94677 [hcaste@fc ia] I'm a novice ruby user, but ancient user in Linux world. We assume
+ 94683 [neoneye@ad l] Of cause this could be simplified a lot.. but here is a
+ 94684 [gsinclair@so] # times.rb
+ 94687 [shanko_date@] This may not match the terseness of the awk script and
+ 94697 [chad@ch df w] cat foo.dat |ruby -ane 'puts $F[0].to_i * $F[1].to_i'
| + 94699 [botp@de mo t] cool tip. thank you very much.
| + 94724 [bob.news@gm ] "Chad Fowler" <chad@chadfowler.com> schrieb im Newsbeitrag
| + 94727 [hcaste@fc ia] Thanks, that is I looked for
|   94730 [michael_s_ca] assume
+ 94749 [ jupp@gm .d ] First some remark on the above command line: It is unnecessarily

Manual on line
94678 [hcaste@fc ia] Excuse me if my question is very trivial, but, where are there
+ 94679 [gsinclair@so] Cheers,
+ 94680 [surrender_it] look at ruby-doc.org, rubycentral.com, and the wiki at

Possibility of 2nd edition of _The Ruby Way_
94686 [hal9000@hy e] There is some discussion about a second edition of _The Ruby Way_.
+ 94689 [rasputnik@he] A YAML section would be good too.
| 94690 [ahoward@fa t] i second that
| + 94691 [rt@al m. pi ] - ruby/dl ?
| | 94694 [ian@ca ib n.] That's a great list. 1.8 has so many literally obscure modules, because
| + 94698 [jamesUNDERBA] Yes.  A section on preparing your code for distribution would be very
|   94700 [jason@jv eg ] An expanded version of this would make a great Wiki entry.  Would you (or
|   + 94701 [botp@de mo t] trw stopped on introducing 1.8; why not discussed it (and 1.9) fully now so
|   + 94709 [rasputnik@he] RubyBaby mentioned a tutorials site - is it worth making a new category
+ 94705 [lists@za a. ] As many have said: YAML. This is one of Ruby's strength since of all the
| 94706 [cc1@ce .w st] I don't think potential updates is something that makes sense in a
+ 94707 [curt@hi bs c] How about something on mkmf and how to write extconf.rb files.
| 94708 [ruby@hi me i] I *loved* The Ruby Way book, and am excited for an update.
| 94711 [vjoel@PA H. ] ...
+ 94714 [frido@q- of ] More about Windows automation would be helpful IMHO. I know real
+ 94723 [Stephan.Kaem] That would be really good news.
+ 94799 [roberto@RE O] [courtesy cc of this posting sent to cited author via email]
threads.html
top