132778-135498

132548-133001 subjects 132965-136616

^ post inc problem
132778 [segabor chel] A quick and dumb question: does Ruby (1.6) support postincrementation
+ 132779 [ruby-ml magi] Nope; all number variables reference number objects and you can't change
+ 132780 [ruby.brian g] In ruby every operation is a method call. You can make this visible by writing
  132793 [rhkramer gma] Five introductory remarks:  I dislike the ++ operator in C, etc., I don't like
  132801 [halostatue g] This comes up every so often, and as much as it has to do with the
  + 132805 [ruby.brian g] Maybe I didn't understand you, but how would such an implementation
  | 132807 [halostatue g] Well, that's part of what I forgot to mention; had a scrum meeting
  | 132810 [ruby.brian g] This may be a dumb question, but what is the meaning of the @ in your
  | 132811 [decoux moulo] uln% ruby -e 'class A; def +@() "unary operator" end end; puts +A.new'
  | 132816 [ruby.brian g] Thank you. I searched in the pickaxe 2, but I couldn't find it.
  + 132806 [chneukirchen] Well, define it as a += a.succ. :-)
    132839 [guslist free] I guess you meant: define it as a = a.succ.
    132940 [chneukirchen] D'oh. Sure.

^ RAA Status & The Problem with Ruby
132783 [curt hibbs.c] I think that this guy has really called it right. There have been a few
+ 132784 [curt hibbs.c] What is really bad about this is that many of the libs that are current are
| + 132786 [ruby-lists l] this issue comes up every few months.
| | + 132794 [sera fhwang.] I was never quite clear on how RPA was supposed to do this. Not to
| | | + 132797 [rhkramer gma] +1!
| | | | 132799 [curt hibbs.c] A wiki would not be the best choice for this. Anyway, this is what should be
| | | | + 132804 [james graypr] I agree that this is the right way to go.  We just need a little more
| | | | + 132809 [jamesUNDERBA] Good point.
| | | + 132800 [ruby.brian g] Those are just halvedone thoughts but I wanted to write it up. If you
| | | | + 132803 [tom infoethe] Very true!  I remember converting my Outlook data to Evolution; there
| | | | + 132818 [horacio.lope] So I +1 your props to the RPA guys. :-)
| | | |   132819 [agorilla gma] I'll jump on that bandwagon too, and I'll add a +1 for the folks at
| | | + 132817 [horacio.lope] First of all, RPA was never intended to replace RAA.
| | | | 132873 [sera fhwang.] < snip >
| | | | 132877 [horacio.lope] And that's exactly what we did.
| | | | 132973 [sera fhwang.] I recognize the intent of a page like this, but I don't know if it does
| | | | 132979 [jamesUNDERBA] Which sounds something like FOAF for code.
| | | + 134831 [sgbirch imsm] Maybe some tool should be created that can be voluntarily installed on
| | |   134838 [martin.anker] This already exists, when using ruby gems. The statistics are available
| | + 132798 [curt hibbs.c] RPA could provide a very good answer to this problem. But no matter what
| | + 132823 [lyle.johnson] In my opinion, the lack of support for the RPA had a lot to do with,
| |   + 132825 [halostatue g] While it is certainly true that the RPA team never saw this as a case
| |   + 132845 [curt hibbs.c] There was never any rivalry between the RPA and RubyGems teams (perhaps this
| |     132859 [matz ruby-la] I think there's need for both a packaging "system" and a package
| |     + 132862 [botp delmont] //I don't think that the two goals are incompatible. I think
| |     + 132864 [james graypr] This is a silly simple idea that could do a lot.  Test listings once a
| |     + 132901 [bitserf gmai] In my mind, the problem consists of these components, each caring only
| |     | 132910 [matz ruby-la] RAA would refuse to be a central repository.  Despite the name, it is
| |     | 132938 [chadfowler g] Matz, I don't think RPA's goal was so much to be the _physical
| |     | + 132948 [bg-rubytalk ] Chad, do you think it's possible to combine what RPA wanted to offer,
| |     | | + 132950 [chadfowler g] Definitely.  There has been much discussion about this.  Search
| |     | | | + 132953 [agorilla gma] Rough Gems, Polished Gems.
| |     | | | + 132956 [bg-rubytalk ] Except as time goes on, that list might get huge, and you might be
| |     | | |   132962 [chadfowler g] I'm not really suggesting that this is a great final solution, but
| |     | | + 132972 [horacio.lope] ...
| |     | + 132975 [batsman.geo ] [order modified for readability purposes]
| |     + 132922 [nakahiro sar] Here's a result of a dead link check I did today.
| |       + 132923 [horacio.lope] that's great,  what's the current policy ?
| |       | 132949 [nakahiro sar] There's no policy defined yet.  I just open-uri-ed URLs and just saved
| |       + 132958 [bg-rubytalk ] NG
| |       | 132976 [matz ruby-la] Sorry, I've just fixed.
| |       + 134341 [nakahiro sar] 213 projects which have a link to unaccessible resource are archived and
| |         134398 [nakahiro sar] I added author's names to the list.  And unarchived wrongly removed 2
| + 134829 [sgbirch imsm] That is exactly my problem. I have come over from the python world
+ 132785 [mailing-list] I agree.  However, there are projects that radiate excellence.  Anything
+ 132788 [kig misfirin] An archive of production-quality libraries, kept up-to-date, with the
  + 132790 [glenn.parker] Sadly, I found that page to be 100% wikispam.  Looks like
  + 132796 [sera fhwang.] I don't think it's a given that just because a certain library gets
    132813 [probertm acm] The "usual" way around this are standards and review.  If a library fails to

^ Env class bug?
132787 [  ruby eq.cz] cd ~
+ 132789 [decoux moulo] yes,
| 132792 [  ruby eq.cz] root@machine:~# su - everyuser
+ 132791 [a.r.ferreira] Etc.getlogin likely "implements the C library function of the
  132808 [  ruby eq.cz] Ok, now I see. 'su -', according to man page, should ``Simulate a full
  132812 [zdennis mkte] Not noise, I learned from this. Thanks for posting this to the list so I

^ [SUMMARY] Phone Typing (#21)
132802 [james graypr] The topic of this week's quiz was very interesting to me.  I regret that I

^ Time.parse bug?
132815 [snowzone5 ho] i was porting some perl log parsing code over to ruby. final results
132847 [matz ruby-la] You need to specify the time format explicitly to parse.  This small
+ 132854 [snowzone5 ho] ah, perfect.  actually that bit of code solves two problems for me.
+ 132924 [snowzone5 ho] i tried changing it to Time.strptime(log, %d/%m/%y %r")
  133057 [matz ruby-la] That means invalid format error.  %r only accepts hours 1..12, use %R
  + 133114 [snowzone5 ho] ok, i see now...once i have it parse properly then i can format it
  + 133191 [snowzone5 ho] my attempts to make it more generic have hit a brick wall

^ [ANN] deplate 0.7.1 - A tool for converting documents written in an unobtrusive, wiki-like markup to LaTeX, HTML, "HTML slides", or DocBook
132820 [sanobast-200] deplate is a ruby based tool for converting documents written in an

^ Re: RAA Status & b
132821 [jamesUNDERBA] <snip/>
+ 132822 [curt hibbs.c] I pretty much agree with your assessment, but I think one more thing is
| 132826 [bg-rubytalk ] When I saw the description of the problem, I immediately thought of how
| + 132827 [ruby.brian g] I'm not really good informed, but as far as I know to use ruby gems
| | + 132829 [guslist free] You don't really need to change your code. I have RUBYOPT=-rrubygems set
| | + 132830 [jim weirichh] You do need to assure that the rubygems package manager is loaded in order
| |   132907 [halostatue g] Only in the specifics. In the general case, though, it's correct. I
| |   + 132909 [jim freeze.o] ++1
| |   + 132931 [chadfowler g] Nice ideas.  One note below...
| + 132834 [bg-rubytalk ] If nobody understands what the stats mean, or where they come from, are
|   + 132835 [drbrain segm] How would you handle projects that don't use RubyForge CVS? That don't
|   | + 132842 [guslist free] And a cron job to download it every minute to bump your download counts.
|   | + 132848 [rampant gmai] Hay, looks like you've been doing lots of work on that!
|   + 132837 [tom infoethe] Well, the stats are somewhat understood - they're based on totting up
|     132849 [bg-rubytalk ] Right, but "activity percentile", in my experience, is not terribly
|     + 132851 [rampant gmai] Could a check for something being abandoned be based on x percentage
|     | 132852 [bg-rubytalk ] Good suggestion.  There are some drawbacks, but I think it's better than
|     | 132857 [tom infoethe] Sounds like Curt might be on to something nifty with that tab thingy he
|     + 132853 [curt hibbs.c] Yes it is, especially if you want to make it truly useful.
|     + 132855 [tom infoethe] I concur wholeheartedly.
|       132856 [tom infoethe] I'd give it a whirl, sure thing!
|       132861 [curt hibbs.c] Tom Copeland [mailto:tom@infoether.com]
+ 132863 [sroberts uni] I don't agree at all. I go first to RAA, then google, I've never
| 132870 [curt hibbs.c] There are many projects on RubyForge that do not host their project there.
| 132875 [sera fhwang.] Yes, but should they have to do that to be considered alongside all the
| + 132878 [agorilla gma] That sounds like a great answer... generic release data (dev, name,
| + 132930 [jamesUNDERBA] This is an appealing idea.  The fewer places a developer needs to go to
|   132952 [chneukirchen] +1. A generic project pinger would be very useful to register/update
+ 132890 [bitserf gmai] I disagree strongly with this "dump the RAA" verdict.
  + 132893 [sroberts uni] ++100
  + 132895 [hal9000 hype] That gives me an interesting idea. What if the unused features
  | + 132896 [curt hibbs.c] You can already do that. The project admin can turn off those features and
  | + 132898 [rich infoeth] Each project admin can turn off tabs, but that is up to them.
  | + 132933 [tom infoethe] Always :-)
  + 132897 [rich infoeth] The RubyForge team has always viewed RAA as THE project metadata repository
  | 132908 [bitserf gmai] I wasn't clear: I'd rather see it opt-in than opt-out. Otherwise, it
  | 132934 [tom infoethe] Yup, that's the rub - there's a lot of data in the 50+ table GForge DB
  + 132906 [jamesUNDERBA] Indeed it is; the question I'm trying to provoke is, Is that the best path?
    132911 [bitserf gmai] UI matters, and, I'd want the directory/search interface of the One

^ rb_cObject vs. rb_cData
132831 [mailing-list] OK, what's the deal with rb_cData?  When do I use it?
132843 [matz ruby-la] When you want to wrap C pointer into Ruby object in a C extension for

^ Unifying RPA and RubyGems
132833 [bg-rubytalk ] IMHO that's a shortcoming of Ruby's "require" statement to begin with.
+ 132840 [aredridel gm] The problem with that is that you can't require foo 1.0 and foo 2.0
+ 132858 [jim weirichh] Actually, I'm not sure a version number on the require statement is a good

^ Checking RDE
132836 [paniagua pcm] Has anyone checked RDE (Ruby Development Enviroment)?  in SourceForge?
132846 [polyergic gm] I like it pretty well, but it's got some bad problems and doesn't seem

^ IHelp: a bugreport and an extension (mocked-up repost)
132841 [csaba-ml bea] A couple of days ago I posted this stuff to comp.lang.ruby, but it
132869 [kig misfirin] I hear the news-ml gateway has been less than cooperative lately.
132880 [csaba-ml bea] Hm, I truly don't know. I have a Gentoo system with ruby-1.8.2.

^ ruby gems, and the require problem (was Re: RAA Status & b)
132860 [sroberts uni] It *is* correct.
+ 132867 [drbrain segm] You have to add a require line somewhere in your code to load any
| + 132871 [botp delmont] //>
| | 132879 [sroberts uni] Maybe, rpa without the admin overhead, where anything on RAA can be
| | 132881 [botp delmont] //> +10
| | 132883 [sroberts uni] Sometimes you don't need quality.
| | + 132884 [rich infoeth] I thought for a while if we had a...
| | | + 132888 [jim freeze.o] I'll vote for that.  ++1
| | | + 132889 [sroberts uni] Would be a work-around, and I'm afraid it is oriented at the installer
| | |   132894 [rich infoeth] gem install net-mdns
| | |   + 132899 [sroberts uni] They don't, so the script won't work.
| | |   | + 132903 [ruby-ml magi] Somewhat heated this discussion of yours.
| | |   | + 132904 [jim freeze.o] If I understand correctly, you shouldn't have to make
| | |   | | 132915 [ruby-lists l] for some reason this aggravates the
| | |   | | 132918 [jel tundra.a] Agreed.  To me,
| | |   | + 132913 [halostatue g] solve it, too. Easily.
| | |   | | 132929 [sroberts uni] Guys,
| | |   | | 132943 [halostatue g] Sam, hit pause.
| | |   | | 132947 [chadfowler g] Well put.  I think a lot of the fire would fade out of this debate if
| | |   | | 132959 [ruby-ml magi] Chad, why does Gems need to override #require (or provide #require_gem)?
| | |   | | + 132960 [jim freeze.o] I'm not Chad, but...
| | |   | | + 132961 [chadfowler g] Let's hope I can make it concise and clear :)
| | |   | |   + 132963 [tobias.luetk] To further back up this point. Versioning is one of ruby gems killer features.
| | |   | |   + 132977 [ruby-ml magi] Hm. So there are no cunning plans to take over all of the Rubyists'
| | |   | |   + 134715 [batkins57 gm] Hmm.  What if require 'rubygems' just added the paths for the latest
| | |   | + 133033 [snowzone5 ho] i've solved the problem by not doing anything related to gems.  i'd
| | |   + 132905 [jim freeze.o] Rich
| | + 132885 [aredridel nb] You can! It's not well documented yet, but quite possible. The rpa tool
| | + 132912 [halostatue g] Right. And that will be RubyGems, plain and simple. RubyGems is
| + 132874 [sroberts uni] Libraries have never magically *disappeared* for me because a
+ 132891 [jim freeze.o] For singular library version requirements, gems works fine.

^ Bug: SortedSet gives warning.
132866 [john.carter ] In both ruby 1.8.2 and 1.9 (2005-02-10) use of SortedSet gives a warning
132868 [matz ruby-la] Here's the patch.
132882 [john.carter ] Thanks!

^ [ANN] Amrita2 1.9.2 and reverse engineering
132876 [tnakajima br] I released Amrita2 1.9.2 and opened the home page of it.
+ 132916 [jel tundra.a] Hmm, looks like a lot of work went into this.  As a ruby newbie, though, with
| 132974 [aredridel nb] Purity. You can load the templates into any XHTML aware editor and not
+ 135489 [ljz asfast.c] I have always been happy with Amrita 1.0, and I thank you for all this
  135498 [ljz asfast.c] I fixed this problem, but I think that my "solution" is actually just a

^ Part 2 of ONLamp.com Rails article is online
132886 [curt hibbs.c] ONLamp.com has finally published part 2 of my Rails article! You can find it
132951 [bg-rubytalk ] Lots of comments too.  And me with Mod points... I think I'll comment
132955 [bg-rubytalk ] Wow, I just read the comments, almost nothing negative so far.  The only

^ Readline: how to resurrect an old RCR?
132887 [csaba-ml bea] I'm about putting together a completion for irb which rocks. More

^ Building an Oracle module on Ruby under Win32
132892 [dido.sevilla] I have had some success using ruby9i (http://ruby9i.sourceforge.net/)

^ [ANN] YARV - Yet Another RubyVM 0.2.0
132914 [ko1 atdot.ne] I'm happy to announce that I released YARV: Yet Another RubyVM 0.2.0.
133077 [jeffm ghostg] yes, but it is documented that's 100% better than I normally manage ;-).

^ 'include <module>' and infinite recursion
132917 [B.Candler po] I am having trouble understanding what's going on here, and I wonder if any
132919 [ruby.brian g] When you are doing a top level include, you include into Object.

^ [ANN] Brrain, another Brainf*** interpreter
132920 [lists bertra] yesterday, I had fun to write the ultimate interpreter the

^ [QUIZ] Roman Numerals (#22)
132925 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 132927 [agorilla gma] VIII is 8
| 132928 [james graypr] Oops.  Thank you.
+ 132936 [ruby.brian g] I know that in reality roman numbers didn't always follow the
| + 132939 [james graypr] This is just me tripping myself up it seems.  I'm not trying to be
| | + 132942 [agorilla gma] CD is 400
| | | 132945 [james graypr] Egad.  Good thing I have all of you to look after me!
| | + 132944 [ruby.brian g] 400 I'd say ;)
| + 132984 [discordantus] The rule of thumb as I remember it is that you can't prefix a symbol
|   132991 [ruby-ml magi] This is the correct modern stipulation. The Romans were slightly less
|   133008 [chneukirchen] Afaik, this was the reason for Christians not to use IV (especially on
+ 132937 [mailing-list] These are the "new" roman numerals, the old ones were not expressed in
+ 133072 [agorilla gma] require 'optparse'
  133100 [dave burt.id] duplication. (The gateway seems to be one-way at the moment.)
  133104 [james graypr] Thanks for copying it over here so I would see it, Dave.  I went back

^ Open Source Conference in Japan: Open Source Realize Forum 2005
132926 [pat.eyler gm] (includes a link to the home page (in Japanese) and a google translation of it)
132978 [maki rubycol] I guess Open Source Japan, Ltd. is a company that try to give

^ Whoo Hoo... We're on the Slashdot front page!
132932 [curt hibbs.c] Part 2 of my Rails article on ONLamp.com just made the slashdot front page!
+ 132935 [alang cronos] Knowing Slashdot it'll probably be on the front page again on Monday.  ;)
+ 132941 [agorilla gma] Congrats!  And thanks for all your work!

^ indent.rb <- does such a beast exist?
132957 [bg-rubytalk ] Does anybody have a standalone Ruby app and/or library that will
+ 132969 [ryan-ruby tr] This is not a ruby solution, but vim will reformat ruby code if emacs
+ 132970 [ryan-ruby tr] This is not a ruby solution, but vim will reformat ruby code if emacs
+ 132971 [mailing-list] I'm going to write a indent.rb one of these days.  I've had some

^ Chicago Ruby users
132964 [pat.eyler gm] I see that there's no Chicago meetup group listed at ruby.meetup.com,
132967 [chadfowler g] I'm tentatively planning to be there as well.  So, if there was a
132980 [ng johnwlong] We are a small group, but there are two other active members. There are
+ 132982 [pat.eyler gm] John,
+ 132986 [david loudth] Sounds like fun. We had a good time at the Omni offices when I was in
threads.html
top