172360-197936

172049-173969 subjects 172569-180298

^ Re: [OT-ish] Rails DB convention info is a big fat secret??
172360 [groups grand] You mean "Associations between objects controlled by simple

^ How can I create a ruby class in runtime
172362 [sayoyo yahoo] Does anyone know how to create a ruby class in runtime?
+ 172366 [florgro gmai] child = Class.new(parent) do
+ 172367 [flori nixe.p] klass = Class.new Parent

^ kernel#select and threads
172375 [jonsmirl gma] Does calling kernel#select stop all ruby threads while it is waiting
172377 [billk cts.co] Ruby multiplexes it behind the scenes, using just one native thread.
172380 [jonsmirl gma] if ruby threads waiting, select with zero timeout; if no ruby threads
172398 [billk cts.co] If *all* ruby threads go to sleep forever, ruby's scheduler will

^ Translate from Python to Ruby
172388 [sam.s.kong g] I am trying to get a powerset (all subsets) of a set.
+ 172399 [lopexx autog] def powset seq
+ 172400 [stefan.walk ] I'm sure you can translate this for sets...
| 172401 [SimonKroeger] class Array
| 172685 [mictro gmail] lovely peace of code!
+ 172405 [florgro gmai] Here's mine. It's not 1:1, but you should be able to recognize the
+ 172463 [pine29 myfas] require 'set'

^ How to sort this hash?
172389 [caldridge gm] Is it possible to sort the jobs hash below based on values such as
+ 172390 [florgro gmai] sort_keys = ["start_time", "stop_time"]
| 172394 [caldridge gm] Thank you for the reply.
| + 172397 [caldridge gm] Simon!!  That worked :-D   *huge grin*
| + 172404 [florgro gmai] Ah, I was assuming jobs to be an Array in error.
+ 172393 [SimonKroeger] jobs.sort{|a,b|a[1][sort_by] <=> b[1][sort_by]}.each do |k, attributes|
  172402 [cohen.jeff g] I just can't quite understand the [sort_by] usage here...?
  172407 [florgro gmai] It looks up the value in the hash from a[1] (a[0] is "2231" / "1131" /
  172409 [cohen.jeff g] Ah!  I thought it was referring to something related to

^ Comparison of versions
172403 [transfire gm] With regard to version numbers  does one consider
+ 172408 [ruby-forum-r] Assuming it is not rounded, yes :)
+ 172410 [dave burt.id] Not necessarily. 1.0 may include 1.0.0 and 1.0.n.

^ Installing Ruby and Rails on Ubuntu
172411 [mark.ericson] -510
+ 172412 [marcel verni] Debian splits up Ruby's standard library into some 34 packages which are not
| 172452 [mark.ericson] Thank you!  I asked here, rather than rails, because I hadn't even really
+ 172427 [stefan mahli] You have to install the ruby1.8-dev package.
+ 172465 [ffsnoopy gma] apt-get install rails
  172474 [mark.ericson] I've gotten a lot farther with the instructions at this URL

^ Re: Bruce Eckel and Ruby - other reading material
172414 [phil pricom.] Isaac,

^ Suse 10 irb navigation keys does not work
172415 [lalerijo gma] is there any configuration in suse to activate navigation keys in IRB,
172651 [interfecus g] I'm not sure exactly what you mean here. I run ruby 1.8.4 (2005-10-29)

^ Ruby Syntax Highlighter for Nano
172417 [jrjung gmail] I spent around an hour looking for a Ruby syntax highlighter for Nano.
+ 172429 [m.fellinger ] charset="utf-8"
+ 172455 [ryansobol gm] One quick edit to your script.
  172458 [jrjung gmail] Version 0.8.1

^ howto tab completion
172419 [mictro gmail] I use [1] to process a string from cmdline-user-input to call methods
172469 [dca.gis gmai] Have you tried using the Readline module?
172682 [mictro gmail] thanks a lot, thats what i need!

^ Ruby christmas
172422 [porschefranz] Dear Ruby community,
172423 [porschefranz] oh how very embarassing! i wanted to attach "christmas.jpg" and clicked on
+ 172424 [porschefranz] why can't i send an animated gif to this list? i have a very funny christmas
| 172426 [matz ruby-la] Maybe it was too big.  ruby-talk list server restrict size of a mail
+ 172425 [porschefranz] why can't i send an animated gif to this list? i have a very funny christmas
| 172496 [blargity gma] Perhaps because there are those of us on bad connections that don't want to
| 172503 [chneukirchen] So spread your Xmas cards as ASCII art!
+ 172431 [mictro gmail] Peace

^ Merry Christmas!
172428 [chneukirchen] # Trying to top last year (ruby-talk:124391)...
+ 172430 [ml marmaro.d] Great!
+ 172439 [robert.mcgov] Very neat!
| 172447 [phurley gmai] Thank you and I further the peaceful holiday wishes to everyone at
+ 172475 [ezmobius gma] Very cool, Thanks!
| 172477 [hcatlin gmai] Merry Christmas everyone!
+ 172481 [rosco roscop] Wow, I missed that until now. Takes me back to the old BBS days does that
| 172501 [chneukirchen] Guess I gotta go OpenGL next year.  :-)
| 172514 [vjoel path.b] From you, we are expecting OpenGL rendered in ASCII.
| 172524 [perrin apoth] Just use AAlib for that.
+ 172484 [rubydevelopm] Hands down, you topped it!
+ 172505 [makenai gmai] Fantastic! I can't wait to see what you brew up next year.
+ 172522 [daniel.schie] And happy Hannukah!
+ 172692 [chneukirchen] Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org

^ ruby 1.8.4 released
172435 [matz ruby-la] Merry Christmas!
+ 172437 [theaney cabl] Ossum! I was just thinking about this and then you posted! I mean, We
+ 172438 [robert.mcgov] Thank you Matz and to everyone else for your hard work!
| 172441 [chneukirchen] Seconded.
| 172443 [jellenchan g] Thanks, Matz!
+ 172442 [rosco roscop] Thankyou!! And merry Christmas to you, thanks for everyone's hard work :)
+ 172445 [rubydevelopm] This is great, matz. Thank you so much for this Xmas present.
+ 172450 [ml.chibbs gm] Thansk, Matz!
| 172667 [halostatue g] I am currently going through the process of trying to compile Ruby
| 172699 [ml.chibbs gm] Is their any advantage to using VS2005 C++?
| 172700 [Patrick.Benn] Better optimizations...
| 172706 [halostatue g] At least in theory, yes. More importantly: 1) it is now the supported
| 172707 [halostatue g] ...on the other hand, it will face the same difficulty that is still
| 172735 [ml.chibbs gm] I think I'm going to stick with VC++ 7.1 for this round. I have a
| 172736 [nobuyoshi.na] I rather recommend VC6 or gcc -mnocygwin.
| 172754 [george.mosch] Thanks a lot! Merry Xmas to all ruby hackers!
| 172827 [glenn.ruby g] I haven't been around for a while so sorry to dive in all of a sudden again
| 172847 [james_b neur] Patience.
| 172857 [glenn.ruby g] OK, patience it is.  And perhaps a game of Hearts too :o)
+ 172460 [mental rydia] Thanks matz!!  Merry Christmas to you and all the core hackers too!
+ 172476 [ezmobius gma] Thank you Matz! Happy Holidays to everyone!
+ 172485 [tom infoethe] Thank you to the Ruby development team, and Merry Christmas to all!
+ 172486 [enleverlesO.] And, also ActiveRuby 1.8.4.0

^ Ruby 1.8.4
172444 [hawkman.gelo] Matz, thank you for releasing 1.8.4!!
172446 [dave burt.id] Let me second (or whatever it's up to) that. Thanks for allowing the Syck
172528 [ericrchr gma] Has anyone else tried to build this with MSVC Version 14? At first, I
+ 174110 [dpbjinc gmai] .\miniruby.exe ./win32/mkexports.rb -output=msvcr80-ruby18.def
| 174225 [halostatue g] You need to use a snapshot after 2006/01/01. I am working on the steps
| 197824 [krisleech in] Is a stable 1.8.4 compilable on Windows yet?
| 197936 [halostatue g] Yes, but you don't want to. It's *not* Ruby itself. I will be talking
+ 175225 [g.szolderits] set MAKE=nmake

^ [ANN] Instant Rails 1.0 preview8 -- very, very minor version
172449 [curt.hibbs g] Instant Rails 1.0 preview8 has been released. This is identical to preview7

^ Please help on gem packaging
172453 [beeplove gma] First let me show you my gemspec file,
+ 172456 [pan erikveen] Between building a gem and using that gem, you probably have to
| 172459 [beeplove gma] Ohh yes, I did it by using,
+ 172464 [jim weirichh] You autorequire 'ruby-agi', but don't provide a file named 'ruby-agi.rb'
  173066 [beeplove gma] Thanks for your help.

^ Ruby 1.8.4 Mac OS X readline problems
172462 [dharple gene] Is anyone else having this problem?
+ 172492 [ryansobol gm] My advice is to wait until the 1.8.4 package is available from Darwin
| 172515 [jim.menard g] Yes, I am. I don't want to install Fink or Darwin ports. I got
| + 172553 [hramrach gma] Your extension was not properly linked when ruby was built. If you didthe ruby tests it would probably reveal that. Since ruby does linkwith -undefined suppress it happily builds and installs extensionsthat do not work.You can find the LDFLAGS change among the fink patches for ruby. I donot know why ruby does this. I tried to post the patch here or to somebugtracking system but I never noticed any explanation coming my waynor was the patch applied.
| | 172590 [gregory.t.br] Have you offered this patch on the ruby-core mailing list?
| | 172670 [hramrach gma] No, I am not subscribed to ruby-core.
| + 172662 [jim.menard g] Here's how I fixed this problem: after installing Ruby 1.8.4, I edited
+ 172701 [paul cnt.org] wget ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
  + 176924 [ruby-forum r] curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
  + 188060 [ryan jimmmye] I did this (though I couldn't get make distclean to run). And the test

^ 1.8.4 Struct bug
172466 [jamis 37sign] irb(main):001:0> Struct.new(:valid?).new.valid?
172470 [nohmad gmail] FWIW, it seems to be broken since 1.8.3.

^ Rake and 1.8.4
172467 [jamis 37sign] Looks like there may be a problem with Rake 0.6.2 and Ruby 1.8.4. If
+ 172468 [florgro gmai] I think you are supposed to use FileUtils::DryRun somehow instead.
+ 172479 [rosco roscop] IIRC I encountered this very bug some time ago, with 1.8.3. The advice I
  172674 [jim weirichh] Rake 0.6.99.2 is the release candidate for Rake 0.7.0.  There is still

^ Any reason 'Core API Docs' include non-core classes?
172471 [nohmad gmail] Abbrev
172478 [james_b neur] Coincidence?  The core  rdocs are the result of running rdoc over the
172480 [rosco roscop] After initially exploring it, I forgot all about it and probably respoked

^ [ANN] gonzui-emacs-0.2
172472 [rubikitch ru] == Abstract
172516 [vic rubyforg] I've just installed gonzui for emacs and liked it a lot. Just finished some
172519 [rubikitch ru] Thank you!!

^ UTF-8 regular expressions
172473 [benjamin.n.l] So I read the post from awhile back about packing multi-byte UTF-8

^ Regex: how to match duplicate syllables?
172487 [basi_lio hot] Merry Christmas!
+ 172488 [james graypr] Back at ya.  ;)
+ 172489 [mike stok.co] What about using \1 e.g.
  172491 [basi_lio hot] Thanks to James and Mike. Both suggestions work!

^ Where is the attribute definition of Category class?
172490 [sadys.humble] I'm trying <<Rails4Day>> those days, and I found some code generated by
+ 172493 [ryansobol gm] In most cases, you won't find any code in Active Record objects that
+ 172506 [dblack wobbl] It's done at runtime via method_missing.  Have a look in
  172511 [sadys.humble] I know, i know,:-)
  172512 [ryansobol gm] Obviously every organization's coding practices differ, but I'll bet
  172530 [sadys.humble] Thanks, ryan. I'v joined the rails mailing list now, but I think as we goin=
  + 172538 [ryansobol gm] Good work! :-D
  + 172541 [krishna.vive] Rails implements access to record fields using at runtime using

^ why there's no ruby 1.8.4 for win-one-click-installer?
172494 [ariekusumaat] why there's no ruby 1.8.4 for win-one-click-installer? thx
+ 172495 [james_b neur] The source for Ruby 1.8.4 was released less than 24 hours ago.
| 172546 [ml.chibbs gm] Thanks, James.
| + 173004 [steve waits.] I wonder if you might be able to trim it back a bit.  Perhaps survey
| | 173016 [sskim.box gm] It might not be too difficult to include options of including or excluding
| | 173021 [james_b neur] Examples of how to do this are welcome.
| | 173048 [wilsonb gmai] Basically the various extensions need to be split out into named
| | 173086 [ml.chibbs gm] I already do this for many/most of the extensions, but doing so
| | 173354 [steve waits.] Thanks Curt, sounds great!
| + 176609 [corey.ssf.la] But, except for the Tk/Fox stuff, is it possible to drop it in to an
+ 172580 [surrender_it] please notice that even if it is not a one-click installer you can get a
  172607 [takahashimm ] Yet Another Ruby for windows user is ActiveScriptRuby.

^ convert perl code to ruby: help please
172497 [vnpenguin gm] %charmap =(
+ 172502 [angus quovad] [vnpenguin@gmail.com, 2005-12-25 11.02 CET]
+ 172504 [angus quovad] [vnpenguin@gmail.com, 2005-12-25 11.02 CET]
  172513 [vnpenguin gm] Thank you so much! It works.

^ Method introspection question
172498 [amrangaye gm] Is there anyway to get back the definition of a method within a running
+ 172518 [gene.tani gm] look at ParseTree or Scrit_lines__,
+ 172539 [ilias lazari] If you implement an solution, please contact me via private email, thus

^ [ANN] Rolls - Christmas Present Pre-release
172499 [transfire gm] Ooo... I've released a version of Rolls this evening that I think is

^ Block comments syntax
172507 [lists turnip] It says at http://www.rubygarden.org/ruby?RubyFromC that I can do block
+ 172508 [wybo servaly] =begin
+ 172509 [tokikenshi g] Make sure that you don't indent them...
+ 172510 [langstefan g] * Ensure that there is no space/tab before =begin and
  172517 [lists turnip] This was it, thanks all.
  + 172521 [tokikenshi g] ...
  + 172740 [meta pobox.c] Maybe it's like that because it's a facility you're not supposed to use;
    172762 [lists turnip] Well if you want to temporarily get rid of a large number of lines,
    + 172816 [ruby-forum-r] Perhaps.
    + 173112 [shot shot.pl] In vim, I simply use block select (ctrl-v) to select the first column

^ Talking to Java Code from Ruby
172520 [blargity gma] I'm attempting to use YAJB to talk to JasperReports from Ruby.
173968 [m.sakurai dr] Sorry for late response.

^ SF Bay Area Beer and Pizza SIG (RSVP request)
172523 [rdm cfcl.com] Although I don't _need_ RSVPs for this event

^ Using an existing session to grab a page
172525 [laytoc rpi.e] I'm rather new to both web programming and ruby so forgive me if my
+ 172529 [james_b neur] I suspect that the user agent (i.e., the code, as opposed to a browser)
| 172549 [laytoc rpi.e] Thank you, James. I see that when I login to the site 4 cookies are set,
| 172889 [james_b neur] I *think* you pass a hash into the Net::HTTP initializer, or perhaps as
+ 172542 [narf968 gmai] Don't if this'll help, but www-mechanize is able to login to a site

^ Inconsistent testing Ruby 1.8.4 on Tiger.
172526 [sean.swolfe ] I was able to build ruby 1.8.4 on my Tiger (OSX 10.4.3) box here.
172551 [chneukirchen] I noticed that too (late), doing "make install" before testing makes it go
172594 [sean.swolfe ] Hmmm... So this may have something to do with the already installed
172603 [sean.swolfe ] Hmmm.. Wierd, I just built 1.8.4 without the CFLAGS using GCC 4.0, and

^ Re: Welcome to our (ruby-talk ML) You are added automatically
172527 [sadys.humble] # help
172531 [sadys.humble] help
172552 [blargity gma] Please send the "# help" to the address <ruby-talk-ctl@ruby-lang.org>

^ Ruby Eventing
172532 [rpan houston] charset="us-ascii"

^ TCPSocket Connection
172535 [bbryant gmai] I am working on a network application on an unstable network. I need to
172547 [ysantoso-rub] If the network is unstable, that means there could be instances where
172560 [bbryant gmai] I should have mentioned that this is only a one way write from the

^ Ruby Neural
172536 [bbryant gmai] I had a need to put together a feedforward neural network in ruby. It
172550 [dave.m email] Sure it would be great!

^ Simple ShoutCAST streamer /w browser
172537 [ilmari.heikk] I don't know how interesting this is, but I found it useful forlistening to music on my home computer (tunneled over SSH) whilevisiting my folks over the holidays.

^ [EVALUATION] - E05 - Ruby 1.8.4 ri class documentation
172540 [ilias lazari] I've seen that ruby 1.8.4 was released.
+ 172543 [rubydevelopm] obj.class    => class
| 172544 [ilias lazari] Thanks - and my apologies!
| 172548 [gunnar.larss] This is my output to ri Class
| 172578 [ilias lazari] Thanks for posting the output.
+ 172598 [ilias lazari] confirmed.

^ Re: Ruby Eventing (update)
172545 [rpan houston] Here's the latest <a

^ Re: Rolls - Christmas Present Pre-release
172554 [gsinclair gm] Interesting write-up.  If only it were available as a gem :)

^ Thread synchronization: Mutex or Monitor??
172559 [slonik.az gm] Mutex (defined in thread.rb) and Monitor (defined in monitor.rb). They
172644 [bob.news gmx] => true
+ 172652 [slonik.az gm] Robert,
+ 172702 [billk cts.co] Agreed, with regard to multiprocessor environments.  With ruby's
  172714 [bob.news gmx] I expect exactly that to happen - even more so, these classes are likely
threads.html
top