108686-109329 subjects 109074-110829
^ What are people using Ruby for?
108937 [j_m_h cox.ne] I'm not currently a Ruby user but have heard about it for a
+ 108938 [khaines enig] All of the above. My biggest use of Ruby is for writing web applications
+ 108940 [madsen lille] The short answer is 'yes'. ;-)
+ 108941 [drossruby ya] I recently created a commercial application which was
+ 108943 [ahoward noaa] * satelite image processing using combinations of ImageMagick, Mmap, and
+ 108951 [se hexatex.d] And of course the famous site: http://www.rubygarden.org/ruby?RealWorldRuby
| 108969 [lists zara.6] One area which amazingly hasn't been conquered after years and years is
| + 108970 [martindemell] I've noted that ruby developers seem to prefer wrting libraries to
| | + 108980 [neoneye adsl] I like making generate patterns with ruby
| | + 108982 [khaines enig] I don't think that is true. People write libraries because the libraries
| | + 109018 [hal9000 hype] Quite true. I wonder if there is a (Rubyland) cultural explanation?
| | 109022 [jamesUNDERBA] It might jut be a practical matter, and maybe a Good Development Practice.
| + 108976 [bob.news gmx] "David Garamond" <email@example.com> schrieb im Newsbeitrag
| + 109027 [aredridel nb] I'm writing a mailing list manager, there's rublog and several other
| 109059 [j_m_h cox.ne] Well, I'd say the group covered all the bases spectacularly!
+ 108953 [ptkwt aracne] ....which doesn't really fit into any of the above catagories ;-)
| + 108956 [rcoder gmail] Nothing so cool as quantum computing libraries for me...mostly just
| + 108957 [drossruby ya] Nice. I thought about doing scientific computations,
| 109023 [ptkwt aracne] I'm definately going to have to re-implement some of the matrix functions
+ 108961 [martindemell] Everything I possibly can :) Mostly parsing and code generation these
+ 108968 [lists zara.6] Personally, I've started to use Ruby for things that I used to use Perl
+ 108984 [joaopedrosa ] I use Ruby-GTK for my GUI apps. For example, there is
^ Interesting Ruby anomaly
108944 [hal9000 hype] I ran across an interesting bit of behavior, and I'm not sure I
+ 108945 [jamesUNDERBA] MegaStruct
| + 108946 [carl.youngbl] How bout UberStruct? (JK)
| + 108947 [hal9000 hype] Har har... yeah, I've also thought of
| 108948 [madsen lille] ObStruct
| 108972 [ jani iv.ro] grep -i struct /usr/share/dict/words
| 108978 [madsen lille] That wouldn't give you anything with "truck" and "abstruct"/"abstract"
| 109009 [jamesUNDERBA] I'm pretty sure that "beat this" was a facetious, not serious, challenge.
| 109020 [hal9000 hype] That makes more sense than some of the RCRs I have seen.
+ 108952 [nobu.nokada ] `len' is length of `args' to messod_missing at first, not
| 109013 [hal9000 hype] Of course! That is so clear now.
+ 108962 [bob.news gmx] "Hal Fulton" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 108963 [bob.news gmx] "Robert Klemme" <email@example.com> schrieb im Newsbeitrag
+ 109016 [hal9000 hype] Actually, it might. The code does need simplifying.
^ Random variable library?
108954 [gsinclair so] Folks,
+ 108960 [martindemell] martin
| + 108964 [drossruby ya] Oh neat. Is this in a tarball anwhere? I guess its
| + 109054 [vjoel PATH.B] Nice, but it is based on Kernel.rand.
| | 109061 [khaines enig] I have a Ruby implementation of the ISAAC cryptographically secure random
| | 109066 [vjoel PATH.B] That's great! I hope it ends up in RAA :)
| | 109069 [gsinclair so] The work I'm doing now doesn't strictly require, but would benefit from a
| | 109098 [batsman.geo ] You can do that easily by taking a uniform random variable and feeding
| | 109261 [gsinclair so] Thanks for the tip. How do you write a distribution function?
| | + 109263 [batsman.geo ] Well, that's more or less what the rand.rb mentioned somewhere else in
| | | 109287 [cmills frees] If your really interested in how to use a uniform random variable to
| | + 109303 [paulNO SPAM.] Actually that's the inverse of the distribution function.
| | 109314 [gsinclair so] That's fine and understood. I'm not looking for distributed random
| | 109411 [mghallNO SPA] - run Rand.rb and it will show you sample distributions of all the distributions it knows. Maybe one will be close to what you're looking for.
| + 109096 [m3ha11 rcn.c] Heh... I was going to say that. :-)
| 109302 [vjoel PATH.B] Not that there's anything wrong with Kernel.rand--it uses MT19937, which
| 109304 [feldt ce.cha] This has been discussed/proposed before so isn't it time someone patched
| 109305 [cmills frees] Could you explain this more?
| 109306 [vjoel PATH.B] It was a bad idea. After looking more closely at ruby's random.c, I
| 109307 [khaines enig] Just as an FYI, I've requested a RubyForge project for Crypt::ISAAC. As
+ 108971 [dmertz free.] the gsl library has a lot of random distribution generators. There are
^ ruby-dev summary 23971-24053
108967 [ko1 atdot.ne] [ruby-dev:23973] overwrite parameters and 'super'
^ Curly syntax for muliline blocks...
108973 [radley25 gma] I've seen a mix between the curly syntax and the normal syntax for
+ 108975 [bob.news gmx] "Radley Smith" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 108977 [madsen lille] Anders K. Madsen --- http://lillesvin.linux.dk
+ 108983 [ljz asfast.c] I always thought that the curly syntax _was_ the normal syntax. :)
+ 108988 [mneumann nte] I agree with Jim, but don't know if I always follow these rules ;-)
108991 [radley25 gma] That seems like a good idea. Thanks!
^ ruvi 0.4.11
108974 [ruby-lists l] in the very near future i'll be releasing ruvi 0.4.11.
109053 [carl.youngbl] This would probably be a departure from vi, but one thing that I've
+ 109055 [batsman.geo ] ruvi does this already.
| + 109057 [mailinglists] Modern displays have many columns (my framebuffer has 132) so people
| | + 109058 [carl.youngbl] I too prefer the file/buffer list on the side, especially considering
| | | 109060 [botp delmont] tried rpa-ing...
| | | + 109065 [chadfowler g] I don't believe curses works on the Windows install of Ruby. It's
| | | | 109088 [ruby-lists l] actually ruvi works just fine in win32 as long as you
| | | + 109089 [ruby-lists l] curses is part of default install on unix and thusly imo
| | | + 109099 [batsman.geo ] There is a limit to what RPA can provide before becoming a cross-OS
| | | 109105 [botp delmont] Yes, you're right, sir batsman, and I'm sorry (but if you can package win
| | | 109113 [batsman.geo ] hehe, that's something I had thought of actually :)
| | + 109091 [ruby-lists l] the multiple statusbar thing was really just a quick personal
| + 109063 [aredridel nb] After viewing the screenshot, I tried to close the browser tab with :q.
+ 109064 [djkea2 mugca] There are a number of vim plugins that provide this functionality such
109090 [ruby-lists l] minibufexpl (with a few minor local changes that i made - different
^ how to think in Ruby way
108981 [hjleochen ho] I'm new with developping with Ruby, When i deal with a problem ,always
108986 [bob.news gmx] "H.J.LeoChen" <email@example.com> schrieb im Newsbeitrag
^ [proto-rcr] Blocks: default arguments and method signatures
108987 [tunah.usenet] and then got told that the issue had already been addressed in plans for
+ 108993 [bob.news gmx] "Sam McCall" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 109000 [tunah.usenet] Thus the reason block_given? should return false when the default value
| 109007 [bob.news gmx] "Sam McCall" <email@example.com> schrieb im Newsbeitrag
+ 108995 [dblack wobbl] I can definitely see the point of the default assignment, but I
| 109005 [tunah.usenet] That was a typo :-#
+ 109026 [discord mac.] Since most of the problems in here have been hashed over already by
^ [Q] ActiveRecord - Sqlite
108996 [npoly_iki ya] First of all is there an activerecord tutorial available anywhere?
108998 [gsinclair so] I'm working on one with SQlite. It's a phonebook database with four
^ gem remote installation does not work
109001 [th.uehlinger] I'm trying to remote install some gems, but i only get
+ 109002 [madsen lille] I know this is kinda the bad way to answer, since it involves installing
| 109010 [jamesUNDERBA] The RPA page says, "RPA will be a controlled repository of Ruby
| 109014 [batsman.geo ] A qualified 'no', but read on...
| 109570 [mmirra liber] This is very important. The main reasons I like rpa are that it does
| 109597 [batsman.geo ] And many more goodies planned for 0.3.0 :-))
| 109736 [mmirra liber] Speaking of taking Debian things for granted, it seems you simply did
| 109742 [batsman.geo ] I've been thinking about renaming rpa-base for some time; your
+ 109003 [chadfowler g] I'm not able to reproduce this problem, and I'm in a kind of limited
+ 109028 [jim weirichh] Hmmm... I've not tried gems on 1.9. That _could_ be the problem. I'll
+ 109032 [th.uehlinger] Yes, that could be. I found out that it works correctly on 1.8.1.
+ 109115 [jim weirichh] Seems to be a YAML problem 1.9. I've sent a message to Why to confirm.
109221 [th.uehlinger] With a 1.9 checkout from today it works. (in contrast to a checkout some
109223 [chadfowler g] Thanks for following up (and for your patience), Thomas.
^ Feedback on Iowa installation?
109015 [khaines enig] Is anyout out there who has tried Iowa out via the Rubyforge download
109030 [mneumann nte] Only tried with webrick. I'd love if it would become easier to run an
109034 [khaines enig] Ask and ye shall receive. Working on it right now.
109040 [mneumann nte] Cool ;-)
^ Implementation ideas? Flexible string matching
109017 [khaines enig] Here is the puzzle. You have a string. You have a list of strings and/or
+ 109021 [martindemell] If you only need to know that there is a match, rather than what
| 109029 [khaines enig] a
| 109038 [bob.news gmx] "Kirk Haines" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 109043 [flgr ccan.de] Is this a trie optimization? I've written something similar for
| 109106 [bob.news gmx] "Florian Gross" <email@example.com> schrieb im Newsbeitrag
| 109173 [khaines enig] I would love to see your script, Robert. I was flirting in my head with the
| 109182 [bob.news gmx] charset="iso-8859-1"
+ 109042 [mjkay stanfo] charset=US-ASCII;
^ Reasons for precedence? (Was: Curly syntax for muliline blocks...)
109019 [discord mac.] This is how I do it...
109025 [jim weirichh] [... examples elided ...]
^ How about a String#chars method?
109024 [WBrown isoft] With all of the recent discussions on String#each_char, I have been
109031 [ahoward noaa] something like this
109035 [WBrown isoft] Ara,
+ 109037 [hal9000 hype] And anyhow, some of this will be addressed in 2.0, so I'm not sure
+ 109039 [bob.news gmx] "Warren Brown" <WBrown@isoft.com> schrieb im Newsbeitrag
109044 [lewisd f00f.] unsubscribe
^ Re: Problem with socket
109048 [austin.moody] I am having the same problem wth socket installing on AIX 4.3.
^ Online Ruby interpreter somewhere?
109052 [mneumann nte] I know there's the great www.ruby.ch online interpreter. But is the code
109262 [ s xss.de] Well, we have the Sandbox class in Appendix F of our Ruby book, IIRC.
109264 [mneumann nte] Yes of course ;-)
^ Ruby as Windows Service
109062 [assaph avaya] I almost got to the point where I can install any ruby program as a
+ 109067 [chadfowler g] Not exactly what you're asking for, but there used to be a program
+ 109110 [pan erikveen] It's probably due to the fact that the Ruby interpreter
| 109122 [assaph avaya] Thanks, will google for it :)
| 109124 [assaph avaya] Who is the self in this case? TCPServer?
| 109133 [pan erikveen] def trap(signal)
+ 109126 [rc vaccapern] I have successfully used FireDaemon to run things as a service. Free for a
109130 [lenya chemse] I second the recommendation of FireDaemon - been using it for a month to
^ Installing newer Ruby on a shared webserver
109068 [rubyguru hot] My webhost currently has 1.6.8 installed, along with eRuby, mod_ruby and
+ 109139 [halostatue g] Your ISP would be the one required to place it globally -- that would
+ 109203 [rcoder gmail] Chris,
109371 [rubyguru hot] Thanks. That's pretty much the answer I got from them, eventually.
109376 [david loudth] You can easily run Rails in CGI-mode like this, but that's not really
^ Relationship between classes
109070 [luke madstop] I think this is a ruby question, as my problem is written in ruby, but it
+ 109134 [dblack wobbl] Maybe create some classes to wrap all of this in, so that you would
| 109230 [luke madstop] Hmm. I'll look into that; after sending my email out last night, I think
+ 109150 [bob.news gmx] "Luke A. Kanies" <firstname.lastname@example.org> schrieb im Newsbeitrag
109162 [bob.news gmx] "Robert Klemme" <email@example.com> schrieb im Newsbeitrag
^ RubyForge project and gem distriubtion
109071 [jamesUNDERBA] I seem to recall a mention at some point that if a project on rubyforge
109072 [rich infoeth] Release the file like you would any file (in the Files tab). RubyForge
+ 109073 [jamesUNDERBA] Excellent! Thanks.
| 109075 [drossruby ya] Heres food for thought..
| + 109076 [rich infoeth] Should we remove your rubyforge account now?
| | 109079 [drossruby ya] Heh, I didn't say I was going to do it. I was thinking
| | + 109082 [chadfowler g] <BIGSNIP/>
| | | 109086 [drossruby ya] I did, they wouldn't catch it immediately :)
| | + 109087 [rich infoeth] OK...so you want to bet I can write malicious Ruby code that a QA person
| | | 109104 [ruby-lists l] [ummm wish i could get send hooks to change my from addr]
| | | + 109119 [batsman.geo ] Right.
| | | + 109138 [dave pragpro] Or do what I do, and install everything non-root... There's nothing
| | | + 109140 [rich infoeth] You don't need to run as root, only if you want to install in a system-wide
| | | 109154 [batsman.geo ] Please read http://ruby-talk.com/blade/109119.
| | + 109097 [jim weirichh] [... attack scenario elided ...]
| | | 109100 [batsman.geo ] IIRC both the extconf.rb and the Makefiles supplied with the gem will
| | | + 109117 [jim weirichh] I stand corrected. I forgot about extension builds.
| | | + 109136 [dave pragpro] Absolutely, exactly the same as anything downloaded off the web, or off
| | | + 109143 [ruby-lists l] i must say this is erm. confusing me a tad.
| | | | 109160 [curt hibbs.c] I think you missed the point about the orimary functionality of rpa being
| | | | + 109163 [ruby-lists l] *baffled*
| | | | + 109164 [drossruby ya] I have to disagree. Batsman has plans for rpa-base and
| | | | | 109174 [curt hibbs.c] I stand corrected!
| | | | + 109167 [horacio.lope] Please count the lines of code Mauricio Fernandez has kindly
| | | | + 109171 [chadfowler g] I was going to make this point. It's kind of ridiculous to go
| | | | + 109175 [curt hibbs.c] No doubt, this is excellent and commendable!
| | | | + 109176 [chadfowler g] The project description on RubyForge could actually be taken as a
| | | | | 109183 [horacio.lope] oh I was sure you were going to make this point.
| | | | + 109181 [horacio.lope] I was going to make this point, it's ridiculous to go counting lines in order
| | | | + 109185 [chadfowler g] Agreed. Though it was, as I mentioned, a matter of timing. We were
| | | | + 109187 [jamesUNDERBA] I confess to not having the time to read every message on ruby-talk, so
| | | | 109189 [chadfowler g] something new going on in the hotel bar. To me, that's one of the
| | | | + 109190 [dblack wobbl] And we haven't reached 50 yet, so there are still free Pickaxe2 copies
| | | | | 109191 [walter mwsew] Just out of curiosity, how many people normally attend these conferences?
| | | | + 109206 [jamesUNDERBA] Well, I'm giving a presentation, so I expect to be there. :)
| | | | 109210 [chadfowler g] I meant join us in coding. I knew you were going to be there of course :)
| | | | 109212 [jamesUNDERBA] Well, I'll have to periodically acknowledge my S.O., who'll be traveling
| | | + 109147 [drossruby ya] I often have a phrase
| | | + 109161 [horacio.lope] "How do you get to be a great musician? It helps to know the theory,
| | | | 109188 [dave pragpro] But musicians typically don't release their practice sessions.
| | | | + 109193 [horacio.lope] I'm lost, who is the apprentice musician here ?
| | | | | 109195 [dave pragpro] No, no no!!
| | | | | + 109197 [chadfowler g] What isn't really coming out in this thread is that (at least)
| | | | | | 109202 [drossruby ya] It wasn't knocking, it was stating that there need not
| | | | | + 109198 [drossruby ya] This can't happen, chad already said he had different
| | | | | 109200 [chadfowler g] QA'ing other people's code and filtering out the bad stuff is not a
| | | | + 109196 [ahoward noaa] i think the great ones realize there is nothing else but practice sessions.
| | | + 109168 [halostatue g] I thought I read somewhere that Gems will be using something similar
| | | + 109169 [drossruby ya] They are both too early to even be considered to be a
| | | + 109172 [rich infoeth] So, with gems you can have multiple versions of a single library installed
| | + 109135 [dave pragpro] There are a fair number of people with commit access to ruby-lang. I,
| | 109137 [drossruby ya] No motive. I for one don't want to run RubyGems as
| | + 109142 [dave pragpro] Of course, but you'd be irresponsible to run _any_ open source
| | | + 109144 [decoux moulo] How do you know that /usr/local is owned by root ?
| | | | 109146 [dave pragpro] Another good point: changing /usr/local to be writable by the install
| | | + 109159 [Ruben.Vandeg] I hope you wouldn't "just install" a gem "for fun" on such a box. Such
| | + 109145 [dblack wobbl] That's fine; just don't single RubyGems out as any more or less
| | 109149 [drossruby ya] In my world, everything is insecure. There is a little
| | 109151 [billk cts.co] I had to look it up myself, neat word: (er, phrase :)
| + 109077 [jamesUNDERBA] Possible, perhaps. Maybe in unit test code. I believe that the code
| | + 109080 [sean celsoft] What's the difference between relying on a third-party designated to look out
| | | + 109084 [drossruby ya] Batsman said it was in the plans after a 0.3 release.
| | | + 109102 [batsman.geo ] Debian is a major source of inspiration; keep in mind that RPA is in
| | + 109081 [drossruby ya] Well there is an answer of having a QA team.
| + 109078 [chadfowler g] This is not a design flaw. It's an add-on feature for RubyForge. It
| 109083 [drossruby ya] hmm. Okay, not design flaw, security flaw. I always
| + 109085 [chadfowler g] So, this is the equivalent of having two release streams: the
| + 109333 [sera fhwang.] A remarkable statement, that. Life would be a lot easier if all sorts
| + 109334 [ruby-lists l] oh come on.
| + 109335 [hal9000 hype] Thank you, Francis. A quite sensible reply.
| | 109339 [jamesUNDERBA] Yes. I might add that, the more someone tells me that I should be happy
| | 109343 [drossruby ya] Wow, you must be suspicious of all developers then,
| | 109365 [lymans gmail] Mr. Ross,
| | 109369 [drossruby ya] I happen to be right on many points, it would be a
| | 109370 [drossruby ya] Okay, dig through my bad grammar. I need to learn how
| + 109473 [nick activeh] I can't agree with that. That's exactly how life works. Progress and
+ 109315 [sdmitry mura] Richard, aside of all that RubyGems security/design flaws flame, I want to thank you and Tom
109316 [drossruby ya] Flame? no critique, you don't care about your
109317 [sdmitry mura] Oh, sorry.. I do care. But the fact that I care means that I prefer to check