132042-132688 subjects 132548-133001

[QUIZ] Phone Typing (#21)
132353 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
132416 [dave@bu t. d] Let me offer these two additions to Hans' interface: a CharPhonePad that
132419 [dave@bu t. d] Note to self: test, then post.

132357 [pat.eyler@gm] and
+ 132362 [se@di it le ] I fear nothing. Programming in Ruby and Rails is so easy, there is not a
+ 132376 [neil@ha ub .] IBM is a big company, and various tentacles work on many things.
  132400 [matt@te hn r] I'm trying to promote Ruby.  I'm working around a bunch of Japanese
  132402 [agorilla@gm ] Perhaps this is worthy of it's own thread?  I'd hate for your effort

Purpose of rb_assoc_new()
132363 [ian@ca ib n.] I recently took over the maintenance of the Ruby/LDAP library and am
+ 132374 [cmills@fr es] on.
+ 132399 [matz@ru y- a] Yes.

Reports on Ruby
132364 [paniagua@pc ] Do anyone know about a library capable of generating a printable report?
132366 [halostatue@g] Why, yes.
132398 [paniagua@pc ] Thanks!  Checked the units and they seems great.. Will test them on

License of the Ruby user's guide ?
132365 [jd@ap nc or ] A group of French ruby programmers launched RubyFR.org two weeks ago, a
132483 [matz@ru y- a] Perhaps I missed the mail.  I'd choose CC-BY license.  Is that OK?
132514 [jd@ap nc or ] No mystery here : Alain may have send that email six months or one year

Re: [Ruby] IBM and PHP
132367 [joevandyk@gm] Quiet you.  Rails and Ruby is a competitve advantage of mine.  If the

gem update Seqfault
132369 [robert.mcgov] I know this won't help anyone debug but I just tried running gem

[ANN] IHelp 0.3.0
132372 [kig@mi fi in] Announcing the release of IHelp 0.3.0.
132423 [rhkramer@gm ] Does help use HTML?  (In other words, do any of the help renderers render
132436 [kig@mi fi in] Nope, but it's doable. If anyone knows a good way to turn
132453 [kig@mi fi in] Made the html renderer, added a help_html -method too. And fixed some
132459 [rhkramer@gm ] Ilmari,
132461 [rhkramer@gm ] Ilmari,

[OT] Ajax: A New Approach to Web Applications
132373 [curt@hi bs c] I always have trouble remembering whether its HttpXmlRequest, or
+ 132375 [petite.abeil] Hmmm... is not Ajax a brand of detergent or such?
| + 132378 [rampant@gm i] Unless they have also trademarked there name for software, I dout it
| + 132401 [matju@sy pa ] Is not Linux a brand of detergent?
| | 132410 [surrender_it] well, the point is that people have been using XmlHTTPRequest for more
| | 132417 [jamis_buck@b] Innapropriate or not, it's certainly easier to talk about "Ajax" than
| | 132450 [curt@hi bs c] Yes, that is precisely why I made the original post that started this
| + 132409 [surrender_it] well, in the last hours I read this news in various forms on many sites
|   132415 [lists@be tr ] I further know of dogs named Ajax.
+ 132379 [ruby.talk.li] It's not a technique per se, it's a the name of a JavaScript object
| + 132382 [curt@hi bs c] I know, but it hasn't gotten much attention until Google wowed us with
| | + 132383 [dion@al ae .] I have been doing a lot of work w/ Ajax, and the server side action piece.
| | | + 132389 [curt@hi bs c] I don't know of anyone who is working on this in Rails (if I'm wrong, maybe
| | | | 132395 [jamesUNDERBA] I'd rather not see anything tied to Rails, but an framework-independent
| | | | 132397 [curt@hi bs c] That would be even better!
| | | | 132403 [dion@al ae .] It doesn't have to be Rails specific, of course. However, I think it would
| | | | 134639 [shalev@si pl] Hear Hear (or is it Here Here ?)!!
| | | + 132390 [david@lo dt ] I've started this in the small with my current Rails project (code
| | + 132384 [mneumann@nt ] Hm, in Wee, this should be pretty easy (if someone can point me to an
| | | 132437 [kig@mi fi in] (live-updating search + content divs + editing) for a website project.
| | + 132418 [rasputnik@he] Isn't this what Borges and Seaside do?
| |   + 132420 [mneumann@nt ] Yeah, Wee can do that in the same way as Seaside or Borges. It supports
| |   + 132451 [curt@hi bs c] If they do, I'm not aware of it.
| |     132452 [rampant@gm i] I know of a project for PHP working on this called JPSpan.
| + 134364 [sera@fh an .] Old discussion, but regarding whether Ajax is a concept that deserves a
|   134367 [horacio.lope] Having implemented similar stuff myself at work 5 years ago I have to
|   134426 [drewmills@gm] mine completely in Javascript and called it Mediate.  But will this
|   134430 [horacio.lope] Maybe someone wants to develop Ajax-like apps for Ruby ?
|   134434 [jamesUNDERBA] There are some distinctions between using JSON-RPC (as with Orbjson) and
|   134560 [horacio.lope] Thanks for the clarification, James.
+ 132431 [bg-rubytalk@] HA!

Re: Ruby on Radio
132381 [ jupp@gm .d ] Indeed. One day, near the central station of Bonn. I was irritated

Spanish community (again)
132385 [imobachgs@gm] We're trying to raise an spanish speaker's Ruby community, and I'd
132386 [pat.eyler@gm] Maybe you should start with a wiki or a blog and work from there.

[gem] what is the rubygems-update package?
132387 [lthiryidontw] What is the rubygems-update package? What is its exact purpose?
132391 [chadfowler@g] After you install it, you do `update_rubygems` to complete the
132441 [lthiryidontw] Thanks a lot!

lis of languages (codepages) in ruby on rails
132388 [marco@vo te ] i am creating a web page connected to MySQL
132393 [se@di it le ] I think you might want to read this if you use MySQL 4.1.x

[ANN] win32-dir 0.1.0
132394 [djberg96@ho ] The Win32 Utils Team is happy to announce the first release of
132405 [dave@bu t. d] It's possible to make symlinks to directories in Windows.

Error installing Rails on Win2K
132404 [jamesUNDERBA] I'm trying to update my installation of Rails on a Win2k box, and get

webrick & cookies
132406 [navindra@cs ] Wouldn't it have been nicer if Webrick stored cookies as a hash keyed

Re: win32-dir 0.1.0
132407 [djberg96@ho ] Here's a bit more info in case that was too vague.
+ 132408 [botp@de mo t] //> The Win32 Utils Team is happy to announce the first release of
| + 132411 [djberg96@ho ] a GUID
| + 132412 [djberg96@ho ] nmake when
|   + 132413 [botp@de mo t] //It's a C extension (using SHGetFolderPath() behind the
|   + 132421 [sdate@ev re ] Will work on it right away .... get ready to test by Sunday morning.
|   + 132424 [usenet@an re] Why not Ruby/DL?
|     132425 [djberg96@ho ] yes,
+ 132542 [guslist@fr e] To be even more basic, what would be the equivalent of the UNIX
  132547 [dave@bu t. d] File.join(Dir::PROFILE, ".irbrc")

AJAX? Why not AJYL?  (Re: [OT] Ajax: A New Approach to Web Applications)
132428 [jamesUNDERBA] That's also were the problems come in, too.  In the case of design
+ 132429 [sera@fh an .] AJYL would be pronounced like Agile, and that word is already taken in
| 132434 [jamesUNDERBA] That's  the point.  Different spelling, same principle.
+ 132430 [jamis_buck@b] I agree. The name is not a replacement for real understanding, but no
| 132435 [jamesUNDERBA] I think this just proves my point.  My understanding of 'Ajax' is the
+ 132433 [agorilla@gm ] Or you could use JAYL and JAYLR.  Not that I'm locked into those...

File resource location?
132432 [jim@cr ss ey] I have a Java application that I wish to port to Ruby.  One of its
132442 [bob.news@gm ] "Jim Crossley" <jim@crossleys.org> schrieb im Newsbeitrag
132465 [halostatue@g] % irb --noprompt

Bisect module
132438 [   a@ag i. s] Python has bisect module: This module provides support for maintaining
132566 [bob.news@gm ] "mepython" <a@agni.us> schrieb im Newsbeitrag

WEBrick: Has anyone used WEBrick::Session?
132444 [ljz@as as .c] Does anyone know of any examples of this being used within a simple
132458 [ljz@as as .c] Well, I found it.  I should have searched more diligently on the same

Can I remove methods from a single object, but not its class?
132448 [sroberts@un ] class Foo
+ 132449 [mailing-list] class Foo
+ 132477 [dblack@wo bl] class << self
  133158 [sroberts@un ] Thank you both!

[ANN] IHelp 0.3.1
132454 [kig@mi fi in] IHelp

[ANN] RubyGems 0.8.5
132455 [jim@we ri hh] = Announce: RubyGems Release 0.8.5
+ 132460 [jamesUNDERBA] Sweet. Thanks.
+ 132463 [jamesUNDERBA] BTW, is this guide up-to-date?
| 132466 [chadfowler@g] The RubyGems chapter of the Pickaxe2 is probably the best online guide
+ 132468 [marcel@ve ni] Usually I'm not one to split hairs about speed differences but this is very
| + 132493 [shalev@si pl] Yeah,
| + 132495 [chadfowler@g] Marcel, are you saying that based on the numbers Jim published or your
|   132499 [marcel@ve ni] I've experienced this in person. A substantial difference. I don't dread
+ 132502 [jim@fr ez .o] Thanks for the nice update.
| 132523 [chadfowler@g] irb(main):026:0> Gem.cache.to_a.select {|g|
| 132527 [jim@we ri hh] You can dump the gemspec and see the dependencies ... but it's not pretty...
+ 132565 [eule@sp ce c] (In response to news:200502262032.54698.jim@weirichhouse.org by Jim

Working with Tempfile class
132456 [rnicz@fi er ] 1. Tempfile is not useful for working with binary data on Windows - I
+ 132462 [tpeters@in a] Tempfile#binmode should solve that problem.
| 132517 [rnicz@fi er ] If only there was IO#binmode=...
| 132520 [rnicz@fi er ] Oops, it realy works. I'm sorry that I have not checked this well
+ 132504 [halostatue@g] If your code is looking for #kind_of?(File) or #kind_of?(IO), it

[ANN] ncurses-ruby-0.9.2
132457 [tpeters@in a] Ncurses-ruby made another small step on its way to reach the 1.0 version

Problem with Rake calling safe_ln
132464 [jamesUNDERBA] I'm trying to get Rake to  build a gem for me, and it seems to be having

[ANN] Rails CMS(with live demo): community response needed
132467 [sdmitry@lr .] First,  let me introduce myself and my project.

assignments and thread safety
132473 [csaba@ph ny ] Is "$a ||= 1" thread safe? I'd guess so, as "||=" is one piece of
132474 [ysantoso-rub] It is not guaranteed to be thread-safe, although in current official
+ 132479 [nobu.nokada@] It is impossilbe.
| 132487 [csaba@ph ny ] Well, I had there "$a ||= 1", and fetching 1 is not a
+ 132485 [csaba@ph ny ] So that means it thread safe now, but it's not guaranteed to stay so?
  132519 [ruby-ml@ma i] Just answering to this point: there's a trick called the double-checked
  + 132558 [csaba@ph ny ] Thanks!
  + 132568 [bob.news@gm ] "ES" <ruby-ml@magical-cat.org> schrieb im Newsbeitrag
    132657 [ruby-ml@ma i] Er, no, I was just being stupid :) Since ||= already checks if @a exists,
    132658 [ruby-ml@ma i] Er, no, I was just being stupid :) Since ||= already checks if @a exists,

Ruby Weekly News 21st - 27th February 2005
132475 [timsuth@ih g] Ruby Weekly News 21st - 27th February 2005

ri Time.parse
132478 [wybo@se va y] $ ri Time.parse
132482 [malteNOSPAM@] Maybe (!) try
132497 [wybo@se va y] That was it: the remnants of a 1.9 install. Thanks!

132484 [malteNOSPAM@] my question about Ruby/X11 (the pure-Ruby implementation of writing X11
+ 132488 [horacio.lope] Very readable, clean code, still, you should know at least the basics
| 132508 [malteNOSPAM@] should know the overall structure of the X11 protocol? That's going to be
+ 132602 [drbrain@se m] Ruby/X11 is an X protocol implementation.  It lacks many of the helpful

Formatted Text in Gtk::TreeView
132486 [mail@mi et c] I wanna have some formatted text in my treeview. The problem is: I wanna
132491 [mutoh@hi hw ] Use Gtk::CellRendererText#markup=.
132511 [mail@mi et c] Yeah great, thanks!!

for vs. each
132489 [feardubh@sp ] for foo in bar do ...
+ 132490 [decoux@mo lo] uln% ruby -e 'for a in [12] do end; p a'
| 132498 [feardubh@sp ] Thanks!
| 132507 [bob.news@gm ] "Fear Dubh" <feardubh@spam.spam> schrieb im Newsbeitrag
| + 132515 [feardubh@sp ] (NameError)
| | + 132518 [bob.news@gm ] "Fear Dubh" <feardubh@spam.spam> schrieb im Newsbeitrag
| | + 132654 [gavri.fernan] In eRuby templates when used with html.
| |   132659 [jamis_buck@b] It's definitely a matter of personal esthetics. To me, the #each
| + 132555 [csaba@ph ny ] $ ruby -v
|   132636 [navindra@cs ] I have to say, I often wonder why people post Ruby code in this
+ 132494 [chneukirchen] I strongly prefer #each over for, because it is more consistent and
| 132521 [vjoel@PA H. ] I agree. Because of the consistency, it's very easy to convert an each
+ 132522 [neil@ha ub .] I use 'each' because I never learned the 'for', but I think I'll probably

Why can I not connect MySql from Ruby ?
132492 [ariekusumaat] I'm new here so please be kind to me :-)
+ 132496 [agorilla@gm ] Welcome to Ruby :)
+ 132535 [navindra@cs ] Give your file another name.  require 'mysql' might be including

Parsers vs. Homemade "Parsing" via REs
132500 [rhkramer@gm ] I have the need to translate several megabytes of TWiki marked up text to
+ 132501 [halostatue@g] Ruwiki uses regular expressions to convert. There are portions of
+ 132506 [tamc2@ca .a ] Instiki uses RedCloth which converts a language called Textile.  The
+ 132510 [mailing-list] Yes, this is a rather horrendous misuse of regular expressions.  It
+ 132512 [ruby-talk@wh] I've written probably twenty different parsing libraries -- including
+ 132562 [sanobast-200] <plug>deplate (http://deplate.sf.net)</plug> uses a syntax that has some
+ 132587 [rob.02004@gm] My implementation of an "auto-indent and insert end" feature in a
+ 132606 [probertm@ac ] I think that you mileage may vary, depending on the nature of the text markup
+ 132640 [aredridel@gm] I've written a wiki, though in PHP, not Ruby (yet; I'm porting)
  132750 [rhkramer@gm ] Thanks to everyone who responded on this thread, and especially to

Thanks, Bugs, and Observations re. KDE Tutorial (was Re: Simple HTML Renderer / Browser?)
132503 [rhkramer@gm ] Just wanted to come back and thank Alexander Kellet again for pointing me to
132505 [ruby-lists@l] concealed at the bottom of
132584 [rhkramer@gm ] Ahh, thanks, that's (part of) what I needed! (more below)
132621 [spoooq@gm il] How long does it take to open a roughly equivalent pure-C Qt program?
132633 [rhkramer@gm ] konsole ~3 seconds

Re: [SOLUTION] [QUIZ] Phone Typing (#21)
132509 [dave@bu t. d] Despite getting a bit long, my answer to this week's quiz is still mostly a
132524 [james@gr yp ] Hmm, I'm going down through the generations.  ;)  Still just a II, not
+ 132533 [robert.mcgov] Poking around James just drop into the directory above the files
+ 132549 [dave@bu t. d] Sorry. Fixed in code comments.
  132646 [ruby@br an s] The LetterWise algorithm seems quite natural. After reading the quiz description I wanted to implement a markov based model and it turns out thats more or less what letter wise is.

[ANN] RubyGems 0.8.6 (was Re: [ANN] RubyGems 0.8.5)
132525 [chadfowler@g] When it rains, it pours!
+ 132526 [jd@ap nc or ] Indeed it workds and it is great :)
+ 132528 [sdate@ev re ] Cool ! Worked like a charm :-)
  + 132529 [chadfowler@g] Good question.  I'll make a note to try it tomorrow on my Windows
  | 132530 [sdate@ev re ] I have HOMEPATH and HOMEDRIVE but not HOME.
  | 132531 [jim@we ri hh] RubyGems checks for the following environment variables in searching for a
  | 132536 [sdate@ev re ] I get the same result even though ENV['USERPROFILE'] and
  | 132543 [jim@we ri hh] Hmmmm ... I double checked the code again.  It seems that we very carefully
  + 132757 [sera@fh an .] Maybe there was discussion of this already and I missed it, but: Is it
    132767 [jim@we ri hh] That one slipped by me.  All my machines have a .gemrc file so I didn't
    132771 [chadfowler@g] It was actually gone in CVS before Francis's email came through :)  Good catch.

missing dispatch.servlet
132534 [jopwork@gm i] I've installed Rails last Feb 23 and I am following the video tutorial.
132537 [tobias.luetk] its script/server now
132545 [jopwork@gm i] Great!
132585 [tobias.luetk] On http://manuals.rubyonrails.com there are several upgrade docs which

132538 [contact_us@h] Any body now how to do some thing like this in ruby
132539 [halostatue@g] def foo; end
+ 132540 [navindra@cs ] irb(main):014:0> defined? defined?
| + 132541 [halostatue@g] defined? may be a keyword. I don't recall for certain.
| + 132550 [aamine@lo er] Because second defined? does not have argument.
| + 132559 [lists@be tr ] `defined?' is an operator, not a method.
+ 132546 [contact_us@h] Thanks

[ANN] Orbjson, a JSON-RPC ORB for JavaScript/Ruby interaction
132544 [jamesUNDERBA] An initial gem release of Ruby Orbjson is available.  It provides an ORB
+ 132592 [jamis_buck@b] Nice work, James! I'm anxious to try this out.
+ 132622 [lukfugl@gm i] Thanks, James, this is awesome. I've been playing with it a bit today
  132627 [jamesUNDERBA] Thanks.  I hope to have another version out tonight or tomorrow.
  + 132652 [lukfugl@gm i] Great!
  + 132838 [shalev@si pl] Well, it appears as if async operations have now been implemented (as
    132902 [jamesUNDERBA] Figures.  I just worked out a few bugs in my own async version.