140520-147000

140266-141166 subjects 140716-143731

[ANN] foxGUIb 0.4 (for FXRuby 1.2.6) released
140520 [me@so ew er ] foxGUIb 0.4 (for FXRuby 1.2.6) has been released.
140559 [lymans@gm il] Henon,
140575 [me@so ew er ] thanks for that hint. i will fix that for 0.4.1

Could you tell me if this is good meta programming style?
140521 [vfoley@gm il] I finished playing yet another game of Chrono Trigger the other day,
+ 140528 [Ara.T.Howard] using my attributes module this would be
+ 140529 [kig@mi fi in] I've been using a pretty similar class for my config needs, maybe the

comment rant amplifications
140526 [seth@cq .c m] ^r commentsAndCodeInRuby

advice requested / attributes.rb
140531 [Ara.T.Howard] i just made a mod to my attributes module which allows this
140539 [dave@bu t. d] POLS belongs to Matz, doesn't it? :)
140544 [Ara.T.Howard] if it WERE simply an @@var you'd have

ruby and COM
140532 [vjoel@PA H. ] What's the best way to work with a COM interface from ruby? I found a
140558 [adelle@bu le] Yes.

drb question
140536 [joevandyk@gm] class Player
140541 [joevandyk@gm] Oh, and the DRb clients (there's probably only one or two of them at a
140553 [kig@mi fi in] Depends on the amount of data and the bandwidth of the link. If the
140599 [joevandyk@gm] The player attributes aren't quite 50bytes.. probably a max of 10 or so.

Building Ruby extensions on OS X Tiger
140540 [rich@in oe h] _____
+ 140543 [chadfowler@g] sudo gem install fixrbconfig
| + 140549 [ptkwt@ar cn ] You are indeed on the cutting edge ;-)
| + 140598 [jim@fr ez .o] [snipped patch instructions]
+ 140619 [nobu.nokada@] ARCH_FLAG should be "-arch ppc" on darwin.  As what is it
  140626 [chadfowler@g] CONFIG["ARCH_FLAG"] = ""
  140627 [nobu.nokada@] From where has the flag come?
  140661 [chadfowler@g] rbconfig.rb
  141573 [nobu.nokada@] Do you mean they are misconfiguration by Apple, but not a bug
  147000 [chadfowler@g] Sorry for the VERY delayed response.  It is a misconfiguration by Apple.

KDE 'applets' in Ruby?
140546 [ptkwt@ar cn ] It seems I recall an announcment sometime in the last six months or so
140550 [tsuraan@xy n] It's quite a bit older than six months, but korundum is the name of the
140584 [Richard_Dale] I would use KDE::System tray to add an icon with a menu to the kicker system
141842 [maillist@no ] Easier

Re: Days in month
140551 [botp@de mo t] Date.civil(year, month).cal_print

arg, metaclass bug found?
140557 [lthiryidontw] A lot explore the deeps of the metaclass/idioclass stuff, so do I. I've done
140562 [nobu.nokada@] true is returned in 1.9.
+ 140587 [lthiryidontw] Ok, I'm reassured, thanks! :)
+ 140615 [bob.news@gm ] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
  140640 [msparshatt@y] According to the Pickaxe if Test2 is a subclass of Test1 then Test2.meta
  140641 [bob.news@gm ] "mark sparshatt" <msparshatt@yahoo.co.uk> schrieb im Newsbeitrag
  + 140643 [decoux@mo lo] Well, I've tried one day to give a *STUPID* example
  | 140668 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
  | 140672 [msparshatt@y] I don't think that that much has changed. In the case of
  | 140704 [bob.news@gm ] "mark sparshatt" <msparshatt@yahoo.co.uk> schrieb im Newsbeitrag
  + 140646 [chr_mail@gm ] A main difference between, actually the main difference, between
  + 140647 [chr_mail@gm ] A main difference between, actually the main difference, between

[OT] Mozilla/Firefox & Gmail/Web Development
140560 [agorilla@gm ] Just saw a post mentioning the issue about gmail using proportional
140561 [james_b@ne r] GMail seems ripe for Greasemonkey.
140564 [agorilla@gm ] That looks like it would solve one problem I'm having... the web

Kwartz-ruby 2.0.0 released - Ruby on Rails support
140565 [kwa@ku at -l] I'm pleased to announce the release of Kwartz-ruby 2.0.0.

BLOG: zenprofile (& berkeley) & zenoptimize
140571 [ryand-ruby@z] I've recently written two (three) blog entries, focusing on a new set
140601 [george.mosch] zenoptimizer is a profiler or an optimizer? From your blog entry it
140602 [ryand-ruby@z] Well, they are both true really, since it only optimizes stuff that it

ActiveRecord auto populated columns
140576 [brandonjc@gm] ...
140585 [c.r.mcgrath@] Chris
140596 [brandonjc@gm] ...

instantiating metaclasses, sorta [Was: determining when inside 'class << self']
140578 [discordantus] While experimenting with this, I discovered something interesting: it
+ 140580 [g_ogata@op u] Well, duping a metaclass doesn't really return a metaclass.  That is,
+ 140594 [Ara.T.Howard] i dunno - but that's cool.
+ 140597 [dblack@wo bl] I find it pretty startling.  I've often wondered whether there was a
| + 140600 [Ara.T.Howard] he __is__ amazing isn't he!
| + 140607 [discordantus] Sure enough, this doesn't work in 1.6.8. Also, the singleton class
+ 140605 [jim@fr ez .o] As is said later, duping the object 'erases' the singleton methods
  140620 [chr_mail@gm ] It's true that duping erases class method for general
  140625 [jim@fr ez .o] I'm not sure I understand your point here.
  140629 [chr_mail@gm ] Cloning a Module object and cloning an object that

Performance of SyncEnumerator
140591 [matt.mower@g] Thanks to H. Yamamoto I am now able to profile my ART-2 implementation
140593 [matt.mower@g] As if often the case, pressing send made me think "why don't i just find out?"
140636 [kennethkunz@] Matt,
140639 [matt.mower@g] code at least it might have reminded me that Enumerable#zip was an

[EVALUATION] - Feedback, xClass, Updated Diagramm, Thoughts, Exchange, Project
140592 [ilias@la ar ] The updated UML Diagramm: "The Ruby Object Model" (V1.3), which contains

Continuation Confusion
140603 [blainebuxton] I was playing around with continuations by studying the generator code in
140658 [pit@ca it in] if you look at this small example, you see that local variables are

[ANN] RMagick 1.8.0 released
140604 [cyclists@nc ] The RMagick home page is: http://rmagick.rubyforge.org

IRB MacOS X Dashboard Widget
140606 [gavin@re in ] Sorry if I got anyone unduly excited - this isn't an announcement of
140610 [rich@in oe h] I totally agree re: dashboard widget.  There is a 'system' call in
140740 [lukfugl@gm i] (Disclaimer: I'm not home to test this on my own OSX)
140743 [discordantus] While these are both great ideas (I would certainly use one of them ifthey were available) I used another easy way to get IRB moreaccessible.

[OT] Trouble trying Tao - myriards of compile errors :-<
140609 [ jupp@gm .d ] Now that Fu Limin (BTW: does that read Fu LIMIN or FU Limin?) has

Cloning into an object
140612 [eric_mahurin] Anybody know how to generically copy (shallow like clone) an
+ 140614 [g_ogata@op u] I hear that evil.rb has Object#become, which will do that with some
| 140616 [bob.news@gm ] "George Ogata" <g_ogata@optushome.com.au> schrieb im Newsbeitrag
+ 140628 [acharlieblue] Is the only difference between this and Object#clone that the object_id
  140630 [eric_mahurin] Thanks for the pointers.  I downloaded evil.rb and tried
  + 140631 [dblack@wo bl] I thought that was the whole point of "become".  Certainly it doesn't
  + 140632 [nobu.nokada@] Nobu Nakada
    140650 [eric_mahurin] What evil.rb has works great for me.  It should probably be
    140705 [florgro@gm i] I agree that "replace" would be nice, but on the other hand I think the

about rubyforge: skills and advogato
140613 [lthiryidontw] seems to me that nobody uses it. Did anybody ever use it? And if not, why?
140618 [tom@in oe he] It's something that came built in to GForge, so I haven't bothered

OpenGL 3D gears demo for Ruby
140635 [arto.bendike] ...

[ANN]: PageTemplate 2.1
140638 [brian.wisti@] Late one evening, in the dark of the night when nobody was looking, we

parsing xml documents using rexml
140644 [derekhaskin@] ...
+ 140664 [mrcode@ne ro] CODE_BEGIN
+ 140671 [bob.news@gm ] "Derek" <derekhaskin@optusnet.com.au> schrieb im Newsbeitrag

[ANN] Pimki 1.7
140645 [assaph@gm il] I'm proud to announce Pimki release 1.7.092. This is a bug fix & small
140938 [rasputnik@he] No choccy yet :)

Formatting and parsing dates according to locale?
140648 [michael@sc u] I know that I can parse and format dates given a format string. I'd

[ANN] Ruby-GetText-Package-0.9.0
140649 [mutoh@hi hw ] Ruby-GetText-Package-0.9.0 is now available.
140659 [se@di it le ] Ah, thank you Masao, I will integrate this as soon as I can. Much
140701 [mutoh@hi hw ] I appreciate you too ;). This release is depend on your ideas heavily.
140720 [se@di it le ] Correct, but not an issue. At least not in Rails applications. And when

Newbie Question About files
140653 [jsinger@fr s] I am still fairly new to ruby, and have been working on a fairly small
+ 140654 [decoux@mo lo] What is your OS, windows ?
| 140655 [jsinger@fr s] ...
| 140657 [jsinger@fr s] ...
+ 140656 [pit@ca it in] "gets" returns the string you entered *including* the CR, try
+ 140710 [bob.news@gm ] "Jeff Singer" <jsinger@freshlooktech.com> schrieb im Newsbeitrag
+ 140731 [Ara.T.Howard] guess you figured out the 'gets.chomp' bit (though i'd actually do gets.strip
  140738 [Ara.T.Howard] oops - hit sent before this was done...  meant

collections with values of fixed classes/lengths
140660 [eric_mahurin] Anybody know of any collection (i.e. Array/Hash) classes where
+ 140662 [martindemell] I suspect the easiest way is to make a C extension (possibly copying
+ 140663 [ruby-ml@ma i] There is no built-in collection that would behave in that manner;
+ 140665 [discordantus] You are looking for the String class, which can contain any data you
+ 140673 [chneukirchen] Shouldn't NArray be good for such things?
+ 140676 [bob.news@gm ] "Eric Mahurin" <eric_mahurin@yahoo.com> schrieb im Newsbeitrag
  140683 [eric_mahurin] Thanks Robert and Christian.  I think NArray will work for many
  140706 [bob.news@gm ] "Eric Mahurin" <eric_mahurin@yahoo.com> schrieb im Newsbeitrag
  140735 [eric_mahurin] That would be great.  What do you mean by "fixed size type"?
  + 140741 [discordantus] I can see some benefit in an array (or even hash) of fixed-size data
  | 140764 [eric_mahurin] I think you answered your own question - "sometimes memory
  | 140853 [matju@ar en ] ...
  | 140868 [eric_mahurin] I just did some memory measurements to see how much various
  + 140742 [bob.news@gm ] "Eric Mahurin" <eric_mahurin@yahoo.com> schrieb im Newsbeitrag
    140773 [eric_mahurin] But, you still wouldn't have to store the class info for each
    140832 [bob.news@gm ] "Eric Mahurin" <eric_mahurin@yahoo.com> schrieb im Newsbeitrag

Thinking of creating a small mini-language-interpreter using Ruby
140667 [glenn.ruby@g] Always something I've wanted to write - an interpreter of my own.  Now
+ 140669 [agorilla@gm ] Brian Wisti just announced a new release of PageTemplate, you might
| 140674 [glenn.ruby@g] Ah - the hair is doing that on it's own!!
+ 140675 [cc1@ce .w st] domain language.  Racc takes a little bit to get used to but it works
+ 140680 [jtregunna@bl] I've used racc before and its quite nice.
+ 140709 [bob.news@gm ] "Glenn Smith" <glenn.ruby@gmail.com> schrieb im Newsbeitrag
| 140711 [lyndon.samso] Or even better, do like GCC and have switchable 'back-ends' that
| 140715 [glenn.ruby@g] Sounds like I need to craft a "Richard Stallman" style beard then!!
| 140718 [lyndon.samso] He'd slay us for top-posting :-)
| 140726 [chneukirchen] Well, Emacs with gnus can deuglify "Outlook" posts, which also inverts
+ 140836 [rcole@it e. ] I played a bit with RACC but found the documentation a little terse so I
  140846 [glenn.ruby@g] Excellent Richard, thanks!!

[ANN] fm.rb 0.5.0 - program to split fm newsletters
140670 [ jupp@gm .d ] I am proud to announce the availability of fm.rb 0.5.0 (Shamshiel).

[ANN] eXPlain Project Management Tool - 1.1 Released
140677 [johnwilger@g] Greetings!

A small DSL for ASP.NET smoke tests
140678 [jlam@iu kn w] ...
140685 [rampant@gm i] include RbTester

Re: [Re: [Re: Emacs vs. VI vs. IDE
140679 [snowzone5@ho] personally i don't think it's scary... i don't really have a problem

Re: [good] Re: [Re: Emacs vs. VI vs. IDE
140681 [snowzone5@ho] it's not the length so much as it's the hand and finger contortions.
140733 [michael.camp] And if all you want to do is edit text, vi(m) is a fine editor.
140746 [lyndon.samso] Huh? http://www.vim.org/scripts/index.php Maybe not on a par with

Rake goes into infinite loop on Windows
140682 [djberg96@ho ] Windows XP
140684 [lthiryidontw] It's a bug.

Stats comp.lang.ruby (last 7 days)
140686 [bsd.SANSPAM@] Stats comp.lang.ruby (last 7 days)
+ 140687 [joevandyk@gm] What the hell is that supposed to mean??!
| + 140688 [jason.sweat@] Lookup last weeks post
| | + 140689 [joevandyk@gm] Ah... I see.  :-)
| | + 140694 [agorilla@gm ] That thought had crossed my mind too, but I still read the disclaimer
| + 140693 [alex@ve k. n] I think, something like: "Yes, there are people who post 30+ pages of
+ 140698 [martindemell] Wow - what happened to all the tin users? Surely I can't be the only

Call for Papers: ACM Symposium on Dynamic Languages
140690 [curt@hi bs c] Looks like the ACM is having a one day symposium on dynamic languages
140713 [surrender_it] notice the program committee includes matz :)

Complete Fix for Ruby on Mac OS X 10.4 Tiger
140691 [lucas@ru y. ] In case some of you are still struggling with fixing readline on Tiger

[SOLUTION] Barrel of Monkeys (#30)
140692 [gavin@re in ] Following is my solution to the Barrel of Monkeys quiz. I got the
+ 140727 [james@gr yp ] These file names are great.  :)
+ 140749 [james@gr yp ] Here is my solution.  It's not terribly clever.  I basically punt on
  140882 [kig@mi fi in] ...

Last rites declaration of Ioannes Paulus PP. II (Karol Wojtyla)
140695 [john_paul_ii] "The unforgiveable sins this earth must confront and overcome are

[ANN] Instiki 0.10.1 - The Safe Option
140696 [alex@ve k. n] With much less fanfare than the last time, here is a minor release of

Re: Inverting a regular expression?
140697 [Harry_Ohlsen] It was pretty much an academic question, but my colleague actually
140802 [dolio@ca e. ] Well, if you want an academic answer... :)
+ 140809 [logancapaldo] In this case, I would imagine that (Not having taken theory of
| + 140823 [dolio@ca e. ] I've never investigated things like regex engines in real programming
| | 140837 [mailing-list] Backreferencing is an NP-complete problem,
| + 140839 [mailing-list] Oniguruma uses a backtracking NFA simulator,
+ 140838 [mailing-list] Discrete?  Don't you mean deterministic?,
| 140841 [dolio@ca e. ] Oops. Yes, that's what I meant.
+ 140842 [kristof@vl e] I am afraid that wouldn't work.  For example /ab/ would become
  140855 [mailing-list] Yes, Dan's description isn't quite clear enough.  Here's what you do to

Problem with Rake's RDoc task on Windows
140699 [alex@ve k. n] If you have ever wondered, why none of the rdoc tasks in any rakefile
140702 [langstefan@g] An easy and clean way to solve this problem is to invoke rdoc
140703 [james_b@ne r] Yet I can run

Consequences of not calling ruby_finalize()?
140700 [ptkwt@ar cn ] Instead of embedding Ruby into a C program with a main() function I want
+ 140721 [decoux@mo lo] Like the name say it, it run proc and finalizer at the end of ruby.
| 140730 [Ara.T.Howard] why?
| 140732 [decoux@mo lo] To don't give the possibility to the user to run code with $SAFE < 12.
| 140736 [Ara.T.Howard] i assume the problem was that $SAFE could be elevated or ignored in
| 140737 [decoux@mo lo] Yes, I've given an example in ruby-talk where a finalizer was defined with
| 140803 [tsuraan@xy n] Is this still a problem?  Are $SAFE levels to be trusted, or is it
+ 140751 [ruby-ml@ma i] You may want to employ some sort of a file lock for concurrency
+ 140805 [logancapaldo] Could you conceivably use atexit() to to finalize ruby?

Error while running gem update
140707 [hweeboon@gm ] I've just installed Ruby 1.8.2 on Mac OS X Panther, followed by RubyGem
140797 [assaph@gm il] RubyGem
140861 [hweeboon@gm ] Thanks for replying. If you mean changing from head to get solves the

[SOLUTION] Barrel of Monkeys (#30)
140708 [dave@bu t. d] And it requires my solution to last week's quiz, HighLine::Dave, available

[ANN] Ri18n 0.0.3 Ruby application internationalization library
140712 [dmertz@on in] I just released Ri18n-0.0.3

Ruby, Rails and now og
140714 [andrew.balla] ...
+ 140719 [ilias@la ar ] "og" is the persistency part of "Nitro" (a web-application framework)
| 140722 [batkins57@gm] ...
| 140728 [ilias@la ar ] Please take care of your tenor.
+ 140724 [rampant@gm i] You just have to write your models using og instead of ActiveRecord.
+ 140729 [james_b@ne r] It is an alternative to Active Record (which is a part of Rails).
  140942 [david@lo dt ] Heh. This would of course only be true be under the assumption that
  + 140953 [Stephen.L.Mo] add another table, and on we go.
  | 140959 [andrew.balla] Steve,
  | + 140961 [Stephen.L.Mo] Actually no.  I don't have an alternative ORM to hawk.  And I should
  | + 140962 [james_b@ne r] Of course there are alternatives to Rails.
  | + 141062 [george.mosch] Try Nitro/Og, http://nitro.rubyforge.org
  |   141130 [andrew.balla] George,
  |   141144 [tom@in oe he] Welcome aboard!
  + 140956 [andrew.balla] David,
  + 141061 [george.mosch] David,
    + 141076 [paulha@ar cn] Oooo George---  Now you've got me excited!  ;-)
    + 141120 [david@lo dt ] That sure depends on the application and your willingness to eat your
      + 141121 [marcel@ve ni] Hashes certainly are women. Primarily because they don't respect order.
      + 141177 [george.mosch] naah, you are exagerating here... You don't put real data on a project
        141191 [ilias@la ar ] you cannot know every use-case of every potential users.
        141194 [george.mosch] Ohh well :-) :-)
        141201 [ilias@la ar ] smilies as the last response.
threads.html
top