134651-135596 subjects 135168-138243
Ruby article on DevSource
134896 [hal9000@hy e] FWIW, DevSource.com (previously mentioned here) now has
+ 134904 [Daniel.Berge] Nice Hal. Good work.
+ 134906 [martindemell] Excellent article. Both informative and a very enjoyable read.
+ 134909 [bg-rubytalk@] Here's a correction. I think your parentheses are outta whack here.
+ 134912 [mark@oc we .] FYI, the "Print" link at the bottom of the page takes you to a different
+ 134915 [bg-rubytalk@] Wow, that's a really great article Hal. It really makes me happy to
+ 134918 [sastph@sa .c] Wonderful stuff, Hal! And I read it with Internet Explorer :-)
+ 134919 [Stephan.Kaem] A great pleasure to read, indeed.
| 134927 [Stephan.Kaem] Huh, now I got it. Hal's article *is* at that link. At the very end of
| 134941 [shalev@si pl] Great article!
| 134965 [agorilla@gm ] That it was.
| 134986 [hal9000@hy e] Hmm. Maybe I lied. :)
+ 134921 [james@gr yp ] Hal, I learn something every time I read your work and this instance
+ 134922 [vjoel@PA H. ] Oh, my. Line counts.... I hear the sound of fur being rubbed the wrong
Block Passing and &foo Parameters
134914 [brianm@ap ch] My understanding of the ¶meter syntax is that it just wraps a
134946 [assaph@gm il] You can easily pass a lambda to somethig that expects a block - just
134973 [brianm@ap ch] Ah hah! Thanks, I knew this had to be way too common to not have been
need Rails advice
134930 [Chris.Newman] ...
+ 134932 [shalev@si pl] Rails will run with mod_ruby or fastcgi.
+ 134933 [pat.eyler@gm] fastcgi
+ 134934 [rasputnik@he] fastcgi. can't think of any compelling reason to use mod_ruby for rails
+ 134937 [tobias.luetk] Mod_ruby, while supported, is not much of an option.
problem building ruby-gnome
134939 [joevandyk@gm] I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.
+ 134940 [joevandyk@gm] Generally, what I do with autoconf is
| 134943 [joevandyk@gm] % ruby extconf.rb --prefix=$HOME/mine-linux
| 134944 [joevandyk@gm] Oh, and LD_LIBRARY_PATH is set to $HOME/mine-linux/lib.
+ 135016 [mutoh@hi hw ] You need to modify pkg-config files(*.pc) by hand, or re-install pkg-config
ruby 1.8.2 compile warning
134942 [Chris.Newman] ...
134958 [cmills@fr es] Solaris 8.
Credit Card Verification as an exercise
134948 [jeff@op nd m] ...
+ 134953 [flgr@cc n. e] Nice code and I guess it will be quite useful as well! Thanks for
| + 134954 [jeff@op nd m] free your mind neo
| | 134964 [flgr@cc n. e] Hm, I get the reference, but I'm not sure I understand what you're
| | 134969 [jeff@op nd m] They were good suggestions, I haven't quite adjusted to ruby, still in a
| | 134981 [flgr@cc n. e] Heh, that's one reason we love it so much. :)
| + 134955 [bg-rubytalk@] Actually, you don't need the "then"s either (and you should probably
| 134963 [flgr@cc n. e] I know, but I somehow think it looks more balanced that way. Though I
+ 135008 [2GTimbo@gm i] There is this: http://rubyforge.org/projects/creditcard
exctags deficiencies (was Re: Getting the word to conventional programmers)
134959 [sroberts@un ] I've never seen a version of tags that searches inheritance trees for
RAA update bug? [SiSU]
134968 [ralph@am ss ] Let's see,
(Maybe) a simple question about regex
134975 [sam.s.kong@g] I think that I am missing a very simple concept about regex.
+ 134979 [angus@qu va ] [Sam Kong <firstname.lastname@example.org>, 2005-03-24 02.49 CET]
+ 134980 [jason.sweat@] You can use a negative assertion to say you want to skip "45", but it
| 134995 [sam.s.kong@g] Thank you and other posters for the answers.
| + 135003 [neoneye@gm i] does this help?
| + 135115 [csaba@ph ny ] Why don't you use a dedicated html parser? Eg. there's htmltokenizer,
+ 134982 [assaph@gm il] s.scan /(?!4|5)\d\d/
+ 134983 [phurley@gm i] What they said, but also if you can be more precise about your real
+ 134994 [bob.news@gm ] "Assaph Mehr" <email@example.com> schrieb im Newsbeitrag
[oneliners] prime genrator in 34 bytes
134984 [neoneye@gm i] The previous record seen on http://rubygarden.org/ruby?OneLiners
[ANN] Syntax 0.7.0
134990 [jamis@37 ig ] Syntax is a pure-Ruby framework for doing lexical analysis (and, in
+ 135011 [flgr@cc n. e] And is indeed a wonderful Ruby library. It's just so very cool to have a
+ 135020 [sroberts@un ] Would this be an appropriate tool for parsing ruby to generate ctags?
| + 135034 [jamis@37 ig ] Hmmm, maybe. Not in its current incarnation, though. One thing the
| + 135038 [surrender_it] why not ParseTree or ripper ?
| 135042 [sroberts@un ] module Foo
| + 135043 [flgr@cc n. e] Ripper basically is Ruby's integrated Ruby parser. It will invoke
| | + 135044 [flgr@cc n. e] Oh, and you need to do require 'ripper' before you can use it, of course.
| | | 135058 [sroberts@un ] There is no files released, and the cvs is not building for me, I'll
| | | 135072 [flgr@cc n. e] Odd, doesn't it come bundled with Ruby already?
| | | 135076 [jamis@37 ig ] I'm on MacOSX and built Ruby myself, and there is no 'ripper' lib...
| | | 135083 [ksibilev@be ] ripper is part of Ruby 1.9 which you can get from the cvs HEAD branch.
| | | 135090 [phurley@gm i] There is also a version included in the 1-Click windows install;
| | | 135100 [surrender_it] but the problem of that ripper is that it is based on a very old (and
| | + 135068 [sroberts@un ] Hm, look like it returns whitespace, and other non-syntactic elements.
| | 135075 [flgr@cc n. e] The above produces quite a few events. Here's a few which seem to be
| + 135048 [guslist@fr e] Maybe I don't understand what you need exactly, but exuberant ctags
| + 135054 [sroberts@un ] "Support", and "supports well" aren't the same thing.
| | + 135059 [cameron.mcbr] oops. time overlap.
| | + 135061 [guslist@fr e] Well, I think you have been addicted to tags way more than I have. I use
| + 135056 [cameron.mcbr] But I'm with Guillaume, perhaps I'm missing something.
+ 135025 [tobias.luetk] Thanks you so much for updating this wonderful library of yours.
[ANN:] IORCC Crossword Puzzle Tips and Hints!
134996 [iorcc@ya oo ] There has been a healthy flow of positive response to the 2005 IORCC
134998 [dave@bu t. d] Is there a version available that I can do in my text editor rather than my
ClassLoaders of Java in Ruby?
134999 [mystifier@us] ...
koders has indexed rubyforge.org
135002 [martin.anker] martinus
135318 [nakahiro@sa ] And RAA opened its own EXPERIMENTAL source code search. See
+ 135319 [surrender_it] this is really really cool, thanks a lot :D
+ 135329 [flgr@cc n. e] Nice. I'm now linking directly to
| 135392 [nakahiro@sa ] I updated ruby-breakpoint project in gonzui database. It seems to
| 135551 [flgr@cc n. e] Thank you!
+ 135510 [martin.anker] Thanks! gonzui really rocks. It also has the nice feature of indexing
+ 135658 [nakahiro@sa ] Sorry, *.zip files were not imported. I've imported these today.
Instead of templates
135004 [adelle@bu le] I have some methods that I want to add to several classes.
+ 135006 [bob.news@gm ] "Adelle Hartley" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 135026 [adelle@bu le] Close, but no banana.
| 135037 [bob.news@gm ] "Adelle Hartley" <email@example.com> schrieb im Newsbeitrag
| + 135086 [adelle@bu le] Fantastisch!! You have not only shown me how to do what I want but also how
| + 135298 [adelle@bu le] ARggh.
| 135341 [bob.news@gm ] "Adelle Hartley" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 135007 [surrender_it] => #<Class:0x2be5788>
+ 135264 [matju@sy pa ] I don't claim to represent the "Ruby Way", but personally I've done
135291 [adelle@bu le] That's a neat idea. I think I will keep that up my sleeve. I am bound to
Re: RAA update bug? [SiSU] - sorted and quickly, thank you.
135005 [Ralph.Amissa] Sorted, thank you.
Usos de Ruby
135009 [joaopedrosa@] Fale people,
What options for embedded ruby in c/c++?
135010 [david@pa me ] I want to use ruby in a c++ app and also a cgi app (without using
Syntax for gem list file when hosting own rubygems repository
135013 [james_b@ne r] Are there online docs for creating the YAML file needed when
135019 [rich@in oe h] Well...documentation...no, but its a good idea to document. Here is what
+ 135029 [george.mosch] thanks for the info,
+ 135033 [james_b@ne r] Ah, very nice.
| 135129 [jim@we ri hh] "Beware of bugs in the above code; I have only proved it correct,
| 135134 [james_b@ne r] Fast.
| 135156 [jim@we ri hh] (This actually has been distributed with RubyGems for the past year ... Rich
| 135221 [james_b@ne r] Wow.
+ 135114 [chadfowler@g] At risk of stating the obvious, If you don't mind running webrick, you
135121 [james_b@ne r] Um, obvious?
[SUMMARY] Texas Hold'Em (#24)
135015 [james@gr yp ] that tough, but there are quite a few combinations to check for, which seemed to
[maybe ot?] RubyForge now supports SFTP...
135018 [tom@in oe he] ...many thanks to Brian Candler for making this work. An example
+ 135021 [flgr@cc n. e] Thanks a *bunch* to both of you for making this work!
| 135024 [tom@in oe he] Exactly! Let's see, /var is at 9163272 blocks used... maybe that number
+ 135022 [james_b@ne r] Thanks Tom, Brian. I just tried it out and it's quite sweet. Well done.
| 135041 [kohljonathan] done.
+ 135069 [drbrain@se m] Sweet!
| 135073 [tom@in oe he] True, that would be nice... hm. We'll see!
+ 135088 [jkugler@bi f] Woohoo! Thank you very much.
135089 [tom@in oe he] Hm. This will probably be introduced when we upgrade to GForge 4.0...
Is there a way to bind a socket to a specific local interface in a client application?
135023 [jmille24@le ] I am creating an application that I would like to have bind to one of
+ 135040 [sroberts@un ] Not with TCPSocket. Since it does a connect() inside the #new, a local
+ 135081 [phurley@gm i] Try binding to 0.0.0.0, if I understand what you are trying to do that
+ 135611 [sroberts@un ] Can't remember if I replied to this... use the Socket class.
Problem with have_struct_member
135028 [djberg96@ho ] Ruby 1.8.2
135031 [decoux@mo lo] Try it with
135032 [Daniel.Berge] Ah, thanks Guy.
Re: Syntax 0.7.0
135039 [transfire@gm] Speacking of RDOC. Did anyone take up the call for a new maintainer? I
[ANN] Ruby/GtkMozEmbed 0.3
135047 [mirko@li ik ] Ciao,
+ 135049 [joaopedrosa@] This is an awesome project. I look forward to trying it out.
+ 135060 [mailinglists] How difficult is it to set the whole thing up without installing
| 135070 [mirko@li ik ] I think this is possible, but you'll need a lot of mozilla libraries to
+ 135370 [mirko@li ik ] ....and the first bug-fix release (0.3.1) that fixes some build problems
135696 [aredridel@gm] Mirko, great work. I'll probably end up using this at some point.
135812 [mirko@li ik ] Thank you Aredridel,
Keyboard problem using IRB (Interactive Ruby Shell)
135051 [eskape@td ad] My first entry. Completely new to Ruby. Have downloaded
135333 [halostatue@g] This is the problem -- please search on the archives for IRB and
135665 [Steffen_Pede] Thank you Austin!
135079 [phlip_cpp@ya] [x-post from the TDD mailing list, because I kept writing Ruby in it...]
RubyGems 0.8.8 not working on Suse 9.2 x64
135080 [glenn.ruby@g] I've installed SUSE 9.2 on my home pc, the 64-bit version.
135112 [chadfowler@g] It looks like there is a bug in Date.parse, but I'm not able to
135132 [glenn.ruby@g] Chad
135170 [glenn.ruby@g] Don't think this is a "date" issue, more a general memory problem (in ruby?).
135435 [glenn.ruby@g] FIXED! :o)
OO database concepts...
135092 [hal9000@hy e] I've been thinking about OO databases -- never having really
+ 135093 [aredridel@gm] An ORDBMS like that would be very nice.
| 135095 [ay1204@qa i.] There are loads of OO databases for that bloody 'J' language - but
| + 135096 [horacio.lope] There has been Aruna DB around for a while.
| + 135101 [surrender_it] In pythonland they have a concept of OODB wich includes "atop", "zodb"
| + 135133 [halostatue@g] There's no such thing as a good OODBMS.
| 135135 [glenn.parker] +1
+ 135102 [avi.bryant@g] Hal, you're thinking too much in the relational model still. Real
135136 [halostatue@g] There are three fundamental problems with OODBMSs -- and they stem
+ 135143 [doug@be ve .] [ snip good summary of three fundmanetal problems of OODBMSs (hard to
+ 135145 [glenn.parker] Maybe four. Austin mentions poor indexing, searching limited by
+ 135146 [surrender_it] I think there is a need to clarify (at least for me, since I'm dumb and
| 135342 [halostatue@g] Five minutes ago, I knew nothing about OQL. Now that I know the
| 135391 [samuel_x_win] - Every class can have an extent and queries can start here
| 135421 [halostatue@g] If I understand this ("extent" appears to mean something different
| + 135430 [avi.bryant@g] Austin, this seems to be the core of your point: that it's easier to
| + 135444 [samuel_x_win] Perhaps you have a different notion of "rest of the universe", but it
| 135509 [halostatue@g] And as you've used it, it means something entirely different than it
| + 135567 [billk@ct .c ] Maybe we need a way to combine double-entry bookkeeping,
| | 135582 [halostatue@g] I understand the latter two quite well (well, SQL databases at least
| + 135584 [samuel_x_win] And if that were the "rest of the universe", you earlier sweeping claim
+ 135187 [itsme213@ho ] Is that true with queries (both OO method and OQL-like queries)? Indexes are
| 135343 [halostatue@g] I think that you're looking at RDBMS from a while back. As I
+ 135204 [avi.bryant@g] I'm not going to address all of your points right now, though if you
Syck 0.51 and RubyGems 0.8.8 problem
135105 [sdmitry@lr .] I've updated Syck to 0.51 after getting segfaults with old YAML parser
135131 [ruby-talk@wh] The Syck 0.51 loader is unfinished. It is only barely usable. The core
Rake, rdoc, and Windows
135117 [ jimm@io co ] Herein is described a problem with using Rake's RDocTask on Windows, and a
+ 135118 [phurley@gm i] FYI under xp batch files support a %* notation to mean all the command
+ 135138 [sellberg@go ] Why use a .bat file at all? The one click installer makes .rb files
| + 135142 [phurley@gm i] rdoc.rb
| | + 135171 [ykloubakov@f] It will if you add ".rb" to the PATHEXT system environment variable.
| | + 135180 [sellberg@go ] But it will!
| + 135243 [flgr@cc n. e] I'm not sure if I'm the only one doing this, but I prefer my Ruby files
| + 135504 [ jimm@io co ] I didn't create the .bat file. I assume the rdoc installation process did so.
+ 135553 [polyergic@gm] set __RDOC__=%1 %2 %3 %4 %5 %6 %7 %8
[ANN] Bangkok: Musical Chess
135123 [ jimm@io co ] Bangkok reads chess game descriptions and re-play the games. Notice of events
Fwd: [EVALUATION] - E03 - jamLang Evaluation Case Applied to Ruby
135124 [james@gr yp ] I checked this one myself, because it surprised me when you said it.
135128 [flgr@cc n. e] caller.first[/in `(.+?)'/, 1] || "(anonymous")
135250 [ilias@la ar ] [looks nicer.]
Problem with "gem install rails"
135127 [lasse.koskel] Darn. Sorry about the subject of my previous email.
Best Way to Distribute Non-Code Files
135137 [zedshaw@ze s] I was just wondering what other folks have done when distributing files
+ 135139 [aredridel@gm] What sort of data? /usr/share/yourapp sorts? Icons? Config files?
| 135208 [binkley@al m] In general, is there a JAR-like format well-supported by Ruby? Most
| + 135245 [aredridel@gm] Heh. There's tarballs and their variants (gems, rps and such)
| + 135305 [google@er kv] It's the third entry when searching with Google: ruby jar.
+ 135322 [dido.sevilla] otherwise loaded GIF icons from a certain path, all of which were
debugging core dumps
135141 [joevandyk@gm] I'm developing a GUI program using ruby-gnome2. It's core dumping on exit.
135181 [gfb@to es ft] You can inspect coredumps with gdb together with the application that
135144 [fugalh@xm ss] I am writing a log analyzer (hans.fugal.net/src/clog) that uses a sort
+ 135150 [phurley@gm i] base = "."
+ 135151 [demerzel@gm ] I'm not sure if it fits the bill, but take a look at FreeBASE. It
| + 135160 [phurley@gm i] Oops I realized you might want to "discover" what classes you loaded
| | + 135166 [batkins57@gm] That's a little heavy on memory (and time). Alternatively, you could do
| | + 135197 [fugalh@xm ss] Thanks for the ideas, but the question isn't so much about mechanics as
| + 135190 [curt@hi bs c] FreeBASE is probably overkill for this.
+ 135246 [aredridel@gm] The unix way would be to have /usr/share/yourapp/plugins/FooClass.rb
135147 [jeem.hughes@] 1. Do you use Ruby in your "day job"?
+ 135149 [mrmargolis@w] 1. 'a' (rails based web applications mostly)
| + 135152 [phurley@gm i] 1. 'b heading toward a'
| + 135153 [glenn.ruby@g] 1. started with 'c', moved to 'b' but hoping to move to 'a' :o) I'm
+ 135154 [cmills@fr es] I'll
+ 135155 [joaopedrosa@] 1. "a"
+ 135157 [lists.ruby.t] 'd' with an eye towards moving to 'c' or hopefully 'a'.
+ 135158 [pat.eyler@gm] b (wishing I could do a)
+ 135159 [alex@ve k. n] (b)
+ 135161 [lukfugl@gm i] c and d. I use it for scripting (automating maintenance, etc.) and
| 135292 [dave@bu t. d] How's Perl's Inline::Ruby these days? :))
+ 135162 [wyhaines@gm ] Yes, substantially and almost exclusively.
+ 135164 [guslist@fr e] 1. a.)
+ 135165 [jason.sweat@] 1. c
+ 135167 [ggg@se 1. et] 1. Mostly b; periodically a
+ 135169 [mailinglists] 1 b)
+ 135172 [barry@an le ] 1) c
+ 135173 [agorilla@gm ] c.) I little bit when I can get away with it.
+ 135174 [drbrain@se m] a.) Yes! Lots!
+ 135177 [bg-rubytalk@] 1. c
+ 135182 [a.r.ferreira] d.) I wish!
+ 135183 [premshree.pi] d.) I wish! :-(
| 135427 [snowzone5@ho] a.) Yes! Lots!
+ 135189 [laurent.sans] 1. c
+ 135191 [ykloubakov@f] b.) Some.
+ 135192 [james@gr yp ] It's been C for me until recently, but I just got contracted for my
+ 135193 [jimburton1@g] c, but this is due to me being new to ruby (nobody stopping me using
| 135233 [Avdi_B_Grimm] c.) I little bit when I can get away with it.
+ 135194 [ezra@ya im -] ...
+ 135196 [none@no e. e] c.) I little bit when I can get away with it.
| 135223 [medalliance@] 1. Do you use Ruby in your "day job"?
+ 135198 [probertm@ac ] 1. b (sometimes a depending on the project)
+ 135201 [lists@ha ff ] d.) I wish! (oh truly, how I pine.)
+ 135203 [toby.tripp@g] c - Whenever they say "we need it yesterday!"
+ 135207 [binkley@al m] c.) I little bit when I can get away with it.
+ 135209 [news-1111784] 1. c.) hopefully heading toward b.)
+ 135210 [belorion@gm ] 1) A (bioinformatics and computational biology)
+ 135213 [vjoel@PA H. ] 1. (a)
+ 135215 [mikael.x.lar] 1. d
| 135218 [blaumag@gm i] 1. A
+ 135219 [matju@sy pa ] (a), but only if it counts as a day job.
+ 135227 [wannes@oe ni] I'm still a (computer-science)student, and none of my cources mention
+ 135237 [Stephan.Kaem] 1. a.
+ 135240 [patrick.spen] 1. c.)
| 135242 [jimburton1@g] Thats OK, it's not a spectacular thread :-)
+ 135244 [aredridel@gm] All the time. A.
+ 135247 [w3gat@nw ag ] j 1. c.)
+ 135248 [dblack@wo bl] A weird mixture of a and d :-) My day job isn't computer-related, but
+ 135266 [regexman@gm ] 1) c headed toward b
+ 135269 [hensleyl@gm ] 1. c
+ 135274 [jeremy.bear@] 1) "d) I wish!" = I work in the auto manufacturing industry. I'm just
+ 135287 [george.mosch] 1> Yes! Lots!!
+ 135294 [rob.02004@gm] c. I little bit when I can get away with it.
+ 135296 [bob.news@gm ] "jeem" <email@example.com> schrieb im Newsbeitrag
+ 135300 [chneukirchen] I don't have a day job (student), but when I program, I primarily
+ 135304 [lists@be tr ] C++, Python, TeX
| 135337 [lists@be tr ] Bertram
+ 135306 [google@er kv] 1. B
+ 135310 [petite.abeil] Java. Objective-C.
+ 135311 [john-mason@s] a. Almost Exclusively for last 9 mos.
+ 135315 [dcorbin@ma h] 1. a - Or core application in is in Java, but we have four different
+ 135321 [dido.sevilla] 1. a -> I've managed to convince a Perl-using company we work for that
+ 135358 [sam.s.kong@g] 1. C
+ 135375 [jtregunna@bl] 1: c
| 135381 [binary42@gm ] =begin
+ 135387 [klaus.momber] 1. c)
+ 135394 [nathaniel@ta] a. Definitely, thankfully a.
+ 135422 [pberry@gm il] 1) d, moving to c
+ 135424 [horacio.lope] 1. b , moving almost everything to ruby except for lower level stuff
+ 135508 [martin.anker] 1. c.) I little bit when I can get away with it.
+ 135534 [kero@ch ll .] Aren't you missing