109323-110221 subjects 109728-111478
^ WEBrick deadlock under Cygwin
109555 [probertm nos] I am using IOWA / Webrick on Cygwin (DLL version: 1.5.10) under Win2k and
109567 [khaines enig] /usr/lib/ruby/1.8/webrick/httpresponse.rb:303
+ 109571 [flgr ccan.de] I once was able to reproduce a deadlock using Sockets directly with the
| 109580 [khaines enig] So, that would indicate that it is a problem with sockets on Windows? I
| 109584 [flgr ccan.de] Hm, an EINVAL exception shouldn't cause Thread deadlocks AFAIK. (Thread
| 109594 [khaines enig] I should have been clearer. I have not been able to get a thread deadlock
| 109602 [drbrain segm] The right (wrong) sequence of locking can easily create a deadlock in
| 109615 [flgr ccan.de] But isn't this considered a Ruby bug?
| 109633 [drbrain segm] No, this is definetly my bug. If a developer can't synchronize threads
| 109672 [flgr ccan.de] I just think that a developer shouldn't be able to raise the fatal
| 109757 [drbrain segm] ue
| 109763 [flgr ccan.de] How so?
| 110113 [drbrain segm] File.unlink "no such file"
| 110412 [flgr ccan.de] Oh, that's not the fatal exception. The fatal exception can't be rescued
+ 109614 [probertm nos] It seems to be sporadic and not load related. Perhaps related to changes
^ Bug in gsub with "\\" ?
109556 [drosihn gmai] In a program I worked on, I wanted to replace all single-quotes
+ 109558 [halostatue g] This is working as designed. Not clean, but it's right.
+ 109560 [msparshatt y] when Ruby parses the string "\\'" it converts it into "\'" which is
109561 [drosihn gmai] Ah. Okay -- thanks for the explanation!
^ [ANN] One-Click Ruby Installer 1.8.2-14 RC8 for Windows
109564 [curt hibbs.c] This release candidate of the One-Click Installer for Windows
+ 109573 [ryco gmx.net] First of all, thanks for the effort, it's really appreciated! :)
| + 109574 [ryco gmx.net] Grmph, just saw the install directory issue in the bug database. Sorry
| | 109578 [curt hibbs.c] I tried to fix that one today, but it looks like its a bug in the NSIS
| + 109577 [curt hibbs.c] Thanks!
| + 109889 [trevor.andra] There was a feature that I used to want in Perl, that was somewhat difficult
| 109893 [rcoder gmail] Trevor,
| 109899 [mailinglists] This is different from Trevors question if i understand it correctly.
+ 109586 [jamesUNDERBA] When I downloaded the .exe using Firebird 0.6, the browser seems to
| 109599 [mvondung gmx] It worked fine with Firebird 0.9.3. Time to update? :)
| 109603 [jamesUNDERBA] Might be. I did a download of the one-click, using wget, and it gives
+ 109588 [jamesUNDERBA] I just installed RC8, selected the installation of FreeRIDE, but
| 109610 [curt hibbs.c] That's pretty strange. I'll try to duplicate it and see if I can figure out
+ 109589 [ptkwt aracne] I just installed the RC8 release. Looks good, except that the tk examples
| 109613 [curt hibbs.c] Thanks. I've been making changes to the TCL/TK setup based on the advice of
| + 109621 [nobu.nokada ] Sorry, it's my fault.
| | 109625 [curt hibbs.c] That makes more send to me, too. Since the current release seemed to fail
| + 109630 [ptkwt aracne] I didn't try RC7.
+ 109598 [mvondung gmx] Thanks for the effort and the dedication. Much appreciated!
^ Re: c extension troubles on windows
109566 [michael hale] I recently resurrected my code to try to get it working again. So far
109667 [pbrannan atd] All identifiers that begin with an underscore are reserved for use by
109704 [michael hale] I updated my code to remove the initial underscores and removed the int
^ Gtk::Menu question
109569 [Joseph.V.Lau] I have a Gtk::TreeView popuplated with rows. When the user right-clicks on
+ 109575 [joaopedrosa ] When the user right-clicks on a row, it gets selected
+ 109581 [Joseph.V.Lau] Another GTK question: Isn't there some type of a GTK timer event that I can
109583 [joaopedrosa ] Like this? :-)
^ Getting the binding of the caller
109579 [mneumann nte] Is there a way to get the binding of the caller?
+ 109582 [flgr ccan.de] Moin!
| 109587 [mneumann nte] require 'binding_of_caller'
| 109593 [flgr ccan.de] That's weird -- can't find an explanation for it, because the following
| 109596 [mneumann nte] Hm, it still doesn't work in my special case, as I get a
| 109607 [flgr ccan.de] It works by installing a temporary trace_func. trace_funcs get an event
| 109662 [mneumann nte] Thanks for this explanation. Now I understand. It's a bit like a time
+ 109585 [gsinclair so] It's been discussed on -talk this year, so a search in the archive for
| 109590 [mneumann nte] Thanks, this trick did it for me. Of course, it's not 100% perfect but
+ 109592 [batsman.geo ] Sure.
^ Path of Home directory
109591 [martin.anker] I am writing a ruby application (http://speedreader.rubyforge.org/),
+ 109600 [aero6dof yah] windows
+ 109606 [flgr ccan.de] Based on my test on Windows XP, yes.
109609 [brian pocket] Neither work on my XP Pro machine, HOME isn't a defined environment
109611 [flgr ccan.de] I have HOME, USERPROFILE and HOMEDRIVE + HOMEPATH. Ruby seems to be
109619 [nobu.nokada ] Now modified in CVS HEAD.
+ 109622 [flgr ccan.de] Moin!
+ 109647 [martin.anker] That was quick. Thanks!
^ Google "programming language" and look at the #1 rank ;)
109595 [assaph avaya] ramming
+ 109601 [sean celsoft] They got line-wrapped by the extraneous stuff; these should work better.
+ 109629 [ptkwt aracne] I get a link to "Programming in C" first and second is "Python
| 109632 [assaph avaya] No, just wanted to show the evolution of programming, and hopefully make
+ 109652 [se hexatex.d] <a href="http://www.ruby-lang.org">Best programming language</a>
109653 [drossruby ya] Each time I recommend Ruby to another programmer, and
+ 109655 [ruby-lists l] They are just jealous.
+ 109675 [mortonda dgr] ...
| 109694 [drossruby ya] Well you have to pity them becuase they are usually
+ 109733 [burtdav hotm] Methinks Rubyists tend to be less rabid than those LISPers... (what's (with
+ 109743 [bill 32768.c] As a user of both Ruby and Lisp, I assure you that are a noisy few
+ 109747 [brianwisti y] Hey now, that's not quite fair. Amusing, but not quite
^ Method Instrospection
109604 [zdennis mkte] Is there a way to determine what method you are in?
+ 109617 [sstephenson ] Sam
+ 109620 [DocBoobenste] You can use Kernel.caller to get the execution stack. The first item
^ Observer Pattern -- generalized implementation
109608 [brian pocket] I know you can emulate sending different messages using the 'observer'
+ 109618 [dblack wobbl] The way you're describing can't really work, though; you'd end up with
| 109624 [brian pocket] That's true. I figured there was a reason for it, just wasn't sure
| 109627 [dblack wobbl] I guess it's just a case of not making a special case :-) a += b is
+ 109642 [vjoel PATH.B] You might find http://redshift.sourceforge.net/observable interesting. I
109644 [brian pocket] seems a reasonable enough limitation :) I tend to think of the Observer
109646 [vjoel PATH.B] Thanks. I've tended to use the signal methods less than the others, but
^ Re: any ideas for a shell based on Ruby?
109636 [transami run] Sorry I caught this thread so late. I actually did a little work on this. You
^ Re: Apache 2.0.50 failed to start after installing latest PHP 5.0.1 - wrong post
109638 [sarahtanemba] Sorry, wrong post!
^ Apache 2.0.50 failed to start after installing latest PHP 5.0.1
109639 [sarahtanemba] Faulting application Apache.exe, version 188.8.131.52, faulting module
109640 [sstephenson ] I always knew not to expect much from PHP users, but this takes it to
^ Ruby 1.9 on XP using mingw/msys
109648 [eule space.c] I posted earlier asking how to compile Ruby 1.9 on a win32 system using
^ Begin/rescue/end versus do/end
109650 [tunah.usenet] These don't seem orthogonal. It feels like I should be able to do
109660 [bob.news gmx] "Sam McCall" <email@example.com> schrieb im Newsbeitrag
109670 [tunah.usenet] Thanks, I'll have a look.
^ rpa-base, ruby-gems and native package installers
109654 [Ruben.Vandeg] I was wondering about the relation between rpa-base and/or ruby-gems
+ 109656 [drossruby ya] The system package manager and rpa base can live next
| 109671 [Ruben.Vandeg] I am rather reluctant about installing files that the native package
| 109692 [drossruby ya] Right, thats what it is planned, both rpa *and* the
+ 109663 [batsman.geo ] I wanted integration with the system package/port manager even before
109673 [Ruben.Vandeg] This sounds very good :) I hope you'll reach this goal, this should
^ Regexp scanning with MatchData (Re: multiple regexp matches)
109659 [bob.news gmx] "Austin Ziegler" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 109661 [neoneye adsl] What about $~ ?
| 109664 [bob.news gmx] "Simon Strandgaard" <email@example.com> schrieb im Newsbeitrag
+ 109680 [halostatue g] There's a simple solution, and I'll probably open an RCR about this
+ 109683 [neoneye adsl] Agree.. this would be nice.. I think I have seen an RCR about it long time
+ 109726 [flgr ccan.de] I agree with this and it seems that matz only hasn't done this yet,
+ 109780 [bob.news gmx] "Austin Ziegler" <firstname.lastname@example.org> schrieb im Newsbeitrag
110110 [halostatue g] Here is the RCR I will be submitting. There is a server error on
+ 110139 [halostatue g] This has been resolved. This is now RCR 276.
| 110148 [bob.news gmx] "Austin Ziegler" <email@example.com> schrieb im Newsbeitrag
+ 110170 [nobu.nokada ] #to_str doesn't solve everything. MatchData# returns a matched
110177 [halostatue g] Agreed. It also is 100% incompatible on #scan with groups in the
110199 [bob.news gmx] "Austin Ziegler" <firstname.lastname@example.org> schrieb im Newsbeitrag
110262 [halostatue g] [Note: I'm continuing the discussion here, because RCR276 seems to
+ 110266 [neoneye adsl] Wouldn't it be better to introduce a new method String#substitute.
| 110267 [neoneye adsl] [snip talk about substitute]
| 110312 [martindemell] String#replace
| 110327 [dblack wobbl] What would you replace the current String#replace with? :-)
| 110350 [martindemell] martin
+ 110319 [bob.news gmx] "Austin Ziegler" <email@example.com> schrieb im Newsbeitrag
^ ruby shim
109665 [cameron.mcbr] Reading a couple day old thread (on installing new ruby for shared
113580 [hramrach cen] Did you find it?
113599 [cameron.mcbr] Haven't installed it, as I didn't find this immediately (so I
113683 [hramrach cen] I did not notice it offers tarballs.
^ Re: POT (partly offtopic) Re: Q: Shifting a hash and an array
109666 [Meino.Cramer] I only can repeat what I said previously about my inabillity to
109782 [bob.news gmx] "Meino Christian Cramer" <Meino.Cramer@gmx.de> schrieb im Newsbeitrag
^ ruby + linux /proc/acpi deadlock?
109668 [wmorgan-ruby] I'm working on a predictive battery monitor in Ruby. One issue I've
+ 109965 [roelandmoors] PROC_FILE = "/proc/acpi/battery/BAT0/state" # freezes
| 110272 [wmorgan-ruby] So, guys, is this a bug in Ruby, or what?
| 110280 [roelandmoors] PROC_FILE = "/proc/acpi/fan/CFAN/state" # freezes
+ 110278 [crf sbox.tu-] back when I was starting in Ruby one of the first small tries was...
110598 [wmorgan-ruby] Check out http://tdbatmon.rubyforge.org and you can see what I've done.
^ [ANN] **updated** One-Click Ruby Installer 1.8.2-14 RC8 for Windows
109669 [curt hibbs.c] I just posted an RC8a that (I hope) corrects the problems with TCL/TK
^ When to use parentheses around method args?
109674 [Richard_Dale] On Patrick Logan's blog he gives a ruby example in discussing design
+ 109676 [cyclists nc.] <posted & mailed>
| + 109677 [Richard_Dale] No, not really - I don't see this as divisive - what is the opposing
| | + 109682 [jamesUNDERBA] Yes, *really*!
| | + 109684 [cyclists nc.] <posted & mailed>
| | 109698 [Richard_Dale] Well I've read that - thanks for the link. I think that discussion is about
| + 109679 [jamesUNDERBA] But well worth reading. Also search the archives for 'static typing'
+ 109719 [vjoel PATH.B] So, even though every expression in ruby does return a value, in those
| + 109724 [brianwisti y] The pattern that eventually emerges is that I *don't*
| + 109744 [jamesUNDERBA] But instant variables are only accessed through methods; using parens
| 109745 [vjoel PATH.B] Quite right. Append "...and you are passing arguments." That rule is
+ 109723 [ptkwt aracne] When I'm defining an operator method (like '<<' in this example) I always
+ 109773 [mikael phubu] In method definitions, I use parens unless there's only one argument.
+ 109776 [g_ogata optu] I don't think there are "rules of thumb" for definitions, but assuming
| 109783 [martindemell] Whereas I always use them for defs, since it fits my perception of x as
| 109793 [Richard_Dale] But thanks everyone for the comments - I think I need to read more of other
| 109807 [mikael phubu] Er, not that it really matters, but I meant to say ``unless the argument
+ 109795 [dblack wobbl] Personally I like to adhere as much as possible to the style
109799 [Richard_Dale] "Anyway, if you want to be a conformist sheep like me.." - i
^ [RAILS] Why not a DBIAdapter?
109678 [djberg96 hot] Well, since the rails mailing list idea was rejected, and since I
+ 109681 [david loudth] To stay in touch with the wiki, I recommend looking into RSS. Nobody
| + 109685 [mortonda dgr] And of course, you can use your own "model" instead of ActiveRecord, if
| + 109699 [jim weirichh] Agreed! I just added the Rails/ActiveRecord/ActionPack wikis to my
| + 109702 [sdate everes] "David Heinemeier Hansson" <firstname.lastname@example.org>
+ 109686 [transami run] I've asked on Rails FAQ why new adapters and not DBI. But no answer yet. I know one reason right off the bat. The #insert method returns the id key of the newly inserted record. DBI dosen't have a standard mechinism for this. I asked about it on DBI mailing list. There is disagreement on how to do, b/c keys can be more complex. I.e they can be multi-field keys and also auto-incremental or not. Plus lack of standard between backends. Active Record assumes you always have a field called id that is auto-incremental.
^ Can't compile racc under windows
109687 [martindemell] $ ruby setup.rb setup
109720 [aamine lover] Try "ruby setup.rb --without-ext".
109777 [martindemell] Thanks!
^ Hashing across different types
109688 [nsmith5 nist] class A
109690 [nobu.nokada ] h["Bob"] = "foo"
109696 [nsmith5 nist] Sorry, I made a small mistake in what I sent out. Instead of
^ Hashing across different types
109691 [nsmith5 nist] Sorry if this was sent more than once.
^ Standard Parser vs. My Object Model for Very Abstract ML
109693 [transami run] +---------------+
109711 [rcoder gmail] Standard parser-generators like yacc are designed to support the kind
109739 [transami run] Thank you. That's what I need to know.
^ Threads + Ncurses
109695 [usenet plenz] I'm fairly new to ruby and wanted to write some example programs in
+ 109697 [rcoder gmail] Julius,
+ 110121 [tpeters inva] Ncurses.getch blocks not only other ncurses-functions. It blocks the
110346 [pabs pablotr] [snipped]
^ Documenting a class interface when there are no types in the method signature
109700 [nicolai.czem] I've recently started using Ruby, coming from a C++/Java background.
+ 109706 [halostatue g] Actually, it *is* key to the question, as it's (basically) the Ruby
+ 109708 [firstname.la] Oh, great, hidden inside another thread... sorry. How do I get it out?
+ 109765 [gsinclair so] Regarding your example of initialize, I tend to do this.
^ [OT] RSS Aggregators (Was [RAILS] Why not a DBIAdapter?)
109701 [jgb3 email.b] Since you mentioned it: I've tried a few RSS aggregators and found that
+ 109703 [rt alum.wpi.] I read a bunch of RSS feeds inside Gnus. What's nice about that,
+ 109710 [david loudth] I felt the same way for a long time. Until I got NetNewsWire on the
+ 109714 [aengstrom gn] I've tried a number of aggregators (nttp/rss, raggle, amphetadesk,
+ 109715 [carl.youngbl] On Windows I really like Feedreader--very lightweight and fast.
| 109717 [carl.youngbl] Sorry I didn't answer your other question. With Feedreader, I just
+ 109716 [ruby-talk wh] Like Josh and Anders mentioned, I think an e-mail-ish paradigm works
| 109730 [jgb3 email.b] Wow, that's what I need, right there. That sounds like a perfect fit. I
+ 109735 [rasputnik he] Raggle (www.raggle.org) runs curses, drb or webrick interfaces to your
+ 109758 [drbrain segm] Firefox + Sage.
^ IOWA: hyperlinks and dynamic components
109705 [daniel danie] I've been doing a tour of web application frameworks and right now I'm
^ Documenting a class interface when there are no types in the method signature
109709 [firstname.la] I've recently started using Ruby, coming from a C++/Java background.
+ 109712 [flgr ccan.de] No, RDoc itself can't extract information from Unit Tests. I'm right now
+ 109729 [jamesUNDERBA] Sometimes, though I'd prefer not to. Too lazy.
^ [RAILS] way too slow...
109713 [mortonda dgr] I'm having a heck of a time justifying ruby/rails dues to speed issues.
+ 109718 [carl.youngbl] In today's world, boxes are cheap. Development time is what costs
| + 109721 [ehames gmail] That sounds fine to me, but is it really _that_ slow?
| | 109725 [carl.youngbl] I haven't tried it with fcgi yet, so I can't tell you. Sorry.
| + 109734 [csshsh struc] plus caching can be applied in soo many situations. arg! that reminds
| + 109737 [mortonda dgr] What kind of answer is that? You can't possibly justify one server per
+ 109722 [david loudth] What are you doing on your test page? If I don't need to have sessions
+ 109732 [david loudth] I might have been overstating myself there. I just ran a few quick
| 109740 [mortonda dgr] Sigh. Well, let me know when it does, because for now, it's completely
| 109741 [wildwildwes ] David, how complex is your site going to be and how much traffic do
| 109746 [mortonda dgr] I don't have an application for it right now, but I'm arguing the
| + 109748 [jgb3 email.b] Welll... I know you're being facetious, but rails does handle a LOT more
| + 109751 [wildwildwes ] It sounds like you would rather use something that has impressive
| + 109752 [david loudth] First of all, I don't know where the 1 request per second thing came
| + 109837 [mortonda dgr] Yes, I realize what you are saying, and rails devel *is* fun. Except
| | + 109839 [david loudth] Are you running in CGI mode? If so, 1 req/sec is similar to what I'm
| | | 109845 [beast system] Random thought: auto-reload.rb from the mod_ruby distribution. Does
| | | 109847 [david loudth] They're not too fond of each other. It won't reload the requires of
| | | + 109848 [beast system] Hmm? What version did you try? I'm looking at the one from mod_ruby
| | | + 109849 [carl.youngbl] I too am using webrick and it is much faster than 1 request per second
| | + 109846 [wildwildwes ] That's strange that page reloads are slow to the point that it's
| | + 109861 [csshsh struc] like david already said, that requests can take up to one second using
| | 109872 [mortonda dgr] Hmm, that makes me wonder if part of the rails framework could be set up
| | + 109874 [pate gnu.org] If profiling indicates it, you might look into rubyinline ... really a
| | + 109879 [csshsh struc] no. that would be such a waste of time. i also meant the ruby standard
| | + 109891 [carl.youngbl] ...
| + 109896 [mailinglists] Sorry but this is not a good suggestion.
| 109907 [khaines enig] Oh, I bet there is. My "killer app" is Iowa because of the development ease
| 109912 [mailinglists] Compared to what ?
| + 109915 [k v2studio.c] It might be on the application server side of things (stuff like request
| + 109930 [khaines enig] Compared to my years of working in the Perl world doing web work.
| + 109952 [csshsh struc] quite honestly i think only looking at the webpage and the examples
+ 109738 [mortonda dgr] Exactly what I said. It is the default page put there by the