101228-102402
101012-108288 subjects 101343-102078
Ruby on Rails questions
101228 [carl@yo ng l] I'm really interested in seeing Ruby on Rails. As far as I can tell it
+ 101233 [carl@yo ng l] Never mind about this question. I suppose it uses some version of
+ 101238 [david@lo dt ] Thank you and no, it's not available yet. It'll be available under an
| 101260 [jim@fr ez .o] Is RoR somewhat like CGIKit, but with more automation via reflection?
+ 101239 [feldt@ce ch ] I think it is described in the pickaxe but the idea is that since every
FXRuby widget suggesttion anybody?
101230 [philrob@HO Y] I'm looking to create a simple info grid such as the one shown in the
101278 [lyle@kn lo y] Did you pass in the HSCROLLER_NEVER and VSCROLLER_NEVER flags to the
101311 [philrob@HO Y] Lyle Johnson <lyle@knology.net> shot from the breach towards his
101338 [lyle@kn lo y] @table = FXTable.new(inputGroup, 6, 2, nil, 0,
101353 [philrob@HO Y] Lyle Johnson <lyle@knology.net> shot from the breach towards his
Design Question
101248 [zdennis@mk e] I am having a small dillema. In a program I and a friend are writing I am
101258 [dblack@wo bl] A quick hint: rather than use methods that start with "get" and "set"
101491 [rasputnik@he] This reminds me of errno in C. You'll find your program becomes
101492 [zdennis@mk e] Let me better define my Status object. It would be used to handle displaying
101508 [Ruben.Vandeg] The way i look at what you wanna do, is that you wanna inform the user
How to pp-enable a class?
101249 [hal9000@hy e] Are there good docs or even a tutorial on how to enable a class
101269 [gsinclair@so] I've never expended any effort "preparing" a class for pp'ing. I just
101271 [hal9000@hy e] True in general.
101280 [ahoward@no a] the other case where it does not work is in cases where you might want to use
Webrick & HOWTO type docs?
101250 [khaines@en g] I think I know the answer to this already, but....
+ 101251 [drbrain@se m] PI=20
| 101256 [khaines@en g] 1) Can the code that executes the server.mount() dynamically alter the mount
| 101264 [drbrain@se m] These two questions tell me you have one instance that handles many
| 101265 [khaines@en g] What I would like to replicate is basically how I have it working with my
| 101266 [drbrain@se m] It sounds like a subclass of FileServlet would fit perfectly. If its
+ 101257 [mneumann@nt ] the current Iowa release.
101261 [khaines@en g] Cool. It won't work with the current release, but it should help give me a
RCR? change Proc#inspect to show start..end lines
101253 [vjoel@PA H. ] #<Proc:0x401c6d54@file.rb:3>
+ 101270 [flgr@cc n. e] Heh, are you wanting to do the same that I want to? :)
| 101306 [vjoel@PA H. ] That's much more sophisticated than what I need. I've got a little
+ 101319 [nobu.nokada@] Unfortunately, there's no more room for it.
+ 101425 [vjoel@PA H. ] Oh, well. :/
+ 101428 [matz@ru y- a] Commit the patch, please.
Possible _very_ part-time Ruby job
101255 [khaines@en g] I'm looking for a few people who might be interested in a little occasional
pp and (my) sstruct
101274 [hal9000@hy e] OK, I've narrowed the problem down a little further.
101277 [dblack@wo bl] If (({self})) has a customized (redefined) (({inspect})) method,
101279 [hal9000@hy e] Quite right, David. That does the trick.
101283 [akr@m1 n. rg] Define pretty_print and alias inspect pretty_print_inspect.
101284 [hal9000@hy e] Thanks very much for this reply. Always a pleasure to get advice
101285 [akr@m1 n. rg] Copy pretty_print from Struct#pretty_print in pp.rb.
101286 [hal9000@hy e] My goal was to have a normal inspect that did not depend
101287 [akr@m1 n. rg] Define both inspect and pretty_print.
101289 [hal9000@hy e] Oh, I see now. This is the puzzle piece that I was missing.
mod_ruby/eruby for mswin32 for Ruby 1.8.1/Apache2.0.49
101282 [canuckdba@ya] Does anybody have a solution for mod_ruby/eruby binaries for
101321 [surrender_it] But I can't remembr where a modruby binary was.
+ 101331 [se@he at x. ] Yes! Please! We all have been waiting for this for so long. Is there
+ 101355 [phil.wilson@] Thanks...this would be a greatly appreciated iof someone came up with
Ruby ftp class help
101291 [greg@br nd .] Ok. I seem to be the one to use the "not-so-well-written" classes in the
+ 101293 [jm@tr ns ct ] What happens when you ftp in manually and try chmod-ing?
| 101294 [jm@tr ns ct ] The following quick script worked for me. I had to use sendcmd() as I'm
+ 101296 [greg@br nd .] Ok, seems the FTP server now disallows the SITE command (it used to work at
[RCR] Numeric#of
101292 [ahoward@no a] RCR - Numeric#of - an accumlative version of Numeric#times
+ 101295 [matz@ru y- a] What if n is very large number?
| + 101300 [ahoward@no a] same problem with using #map vs. #map! isn't it?
| | 101301 [matz@ru y- a] Yes, but they are for Enumerables, collecting items for number of
| | + 101302 [botp@de mo t] the op returns an array; so array_of perhaps?
| | + 101303 [hal9000@hy e] I understand the idiom, but I agree that it is a little vague.
| | + 101304 [botp@de mo t] cool thinker.
| | + 101305 [vjoel@PA H. ] Visually nice, but some would read that as "five times array dot new",
| | + 101307 [botp@de mo t] so maybe, we'd want rather
| | | 101308 [hal9000@hy e] Not IMO. I still like the other much better.
| | | + 101309 [hal9000@hy e] Actually I guess both these are bad syntax. You would have to
| | | + 101310 [vjoel@PA H. ] Low tech pair programming--it happens.
| | | 101312 [botp@de mo t] yes.
| | | 101325 [batsman.geo@] Beware
| | + 101320 [gsinclair@so] I think that if we are to support this Numeric#of idea, then the above
| | + 101324 [batsman.geo@] I do make a number of assumptions regarding Integer#times; specifically,
| | | + 101326 [mneumann@nt ] I agree completely with all you said. What about a method
| | | | 101334 [kristof@vl e] require "enumerator"
| | | + 101357 [gsinclair@so] I certainly agree that that idiom is clear enough and we don't need to
| | | 101618 [androflux@so] If you were going to do that....
| | + 101327 [guslist@fr e] But in that case, an array is built and return even if I use times as a
| + 101314 [martindemell] I don't like it in the case where the block actually uses the index -
| + 101328 [dblack@wo bl] My problem with it (the word, rather than the idea) is that it doesn't
| | 101354 [gavin@re in ] Don't method names ending in ! imply that the receiver is being
| | + 101356 [decoux@mo lo] svg% ri Kernel#exit!
| | | 101363 [gsinclair@so] Lighthearted observation: Kernel.exit! (why does 'ri' say Kernel#exit!
| | + 101358 [hal9000@hy e] There is at least exit! and I think one or two others.
| | | 101399 [ahoward@no a] i must say that idea of a collecting block syntax is a nice one...
| | | + 101400 [neoneye@ad l] Your 'of' is a mix between times and map. Wouldn't it be better to
| | | | 101401 [neoneye@ad l] Even simpler.. it would make sense to me if it were just named 'maps'
| | | | 101438 [martindemell] Or even just map (there's no Numeric#map) - I don't like that either
| | | | + 101440 [neoneye@ad l] Agree, Numeric.map would be perfect.
| | | | | + 101441 [quixoticsyco] I think we should bring in all Enumerable rather than implementing just #map.
| | | | | + 101454 [kristof@vl e] I feel that an integer represents only that integer,
| | | | + 101448 [surrender_it] I believe it is Integer#map more than Numeric. What whould you expect
| | | | 101449 [neoneye@ad l] A) what the default element are
| | | | 101450 [surrender_it] well, I'd just prefer to see it working like times(().
| | | | 101451 [neoneye@ad l] Times walks the range 0..(n-1) :-)
| | | | 101453 [surrender_it] oh sure, I meant 0...n (I hate this :)
| | | + 101415 [surrender_it] please, no more syntax :)
| | | + 101422 [botp@de mo t] thank you for the warning.
| | | + 101640 [martindemell] Add % to the list of acceptable method name suffixes? (I'd say we've
| | | + 101643 [surrender_it] Well, I'd love ruby to stay simple. I have this ugly feeling of ruby
| | | + 101663 [kristof@vl e] I think it will not work with this syntax.
| | | + 101655 [martindemell] Same peoblem with hashes and blocks now, no?
| | | + 101688 [michael.camp] Get rid of "poetry mode" and there's no ambiguity.
| | + 101365 [dblack@wo bl] I put the little note over on the right in the hope of pre-answering
| + 101330 [kristof@vl e] Isn't "3.of { Array.new }" the same as
+ 101322 [news@st d. t] them = 3.times_collect{ Array.new }
101410 [harryo@zi .c] What about
101414 [surrender_it] them 3.instances_of {'foo'}
+ 101423 [harryo@qi so] Good point!
| 101426 [quixoticsyco] The "root cause" of this RCR (and others), I think, is the desire to
| 101475 [gavin@re in ] Although not as short (or memorable for the usage of a,b,c = 3.of {
| 101484 [dmartenson@m] 100% agreement.
| 101486 [WBrown@is ft] Or to be even more precise, we could add Integer#to_range, since
| 101490 [quixoticsyco] I would not use Range because #=== and #exclude_end? and perhaps
+ 101445 [news@st d. t] Couldn't agree more. I also think it is visually too similar to
separating ruby-talk from comp.lang.ruby?
101329 [dblack@wo bl] Given that the gateway between ruby-talk and comp.lang.ruby is still
+ 101332 [neoneye@ad l] I used the newsgroup, but it was a terrible mess, replies wasn't mirrored
| + 101335 [robertm@sp l] parts.
| + 101337 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| | + 101340 [robertm@sp l] I assume its been tried on another system, using a different NNTP
| | + 101346 [dblack@wo bl] It wouldn't be a matter of the list disappearing, just having the list
| | | 101383 [bob.news@gm ] "David Alan Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | + 101359 [gsinclair@so] I could not easily submit to a solution that meant I didn't see
| | 101385 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
| + 101344 [dblack@wo bl] If your posts get through to the newsgroup. For me it doesn't work.
| 101347 [neoneye@ad l] I had the impression Google did correct mirroring.. but I have
| + 101348 [dblack@wo bl] No, the missing messages never seem to make it to any NNTP server or
| + 101619 [tanuk@mb et ] No one has yet suggested Gmane, maybe there is a good reason for that...
| 101617 [decoux@mo lo] This ?
| 101623 [tanuk@mb et ] Oh, I hadn't checked if this list was already mirrored via Gmane.
| + 101626 [decoux@mo lo] I don't know but apparently c.l.r and ruby-talk are separated actually
| | 101627 [tanuk@mb et ] I've got the impression that every post gets to the ruby-talk, and only
| | 101629 [decoux@mo lo] Well actually (since 3 or 4 hours) : I don't see on my news server the
| + 101682 [curt@hi bs c] Maybe someone could do a comparison of the mirror to see if it is
+ 101336 [angus@qu va ] [David Alan Black <dblack@wobblini.net>, 2004-05-25 13.23 CEST]
| + 101345 [dblack@wo bl] Ummm, OK. Any suggestions?
| | 101351 [angus@qu va ] [David Alan Black <dblack@wobblini.net>, 2004-05-25 14.28 CEST]
| + 101350 [surrender_it] I would agree.. And I think most people do. But the problem seem to
+ 101341 [raphael.baud] I would be more of the opinion to fix the problem. Is there a precise description of the problem
+ 101361 [cpine@he lo ] Well, I'm all for separating them. It's been nothing but a pain for quite some time now.
| 101364 [gsinclair@so] Yeah, DRY as in "don't create a situation where you need to read a
+ 101371 [crf@sb x. u-] I'm counting 39404 articles since 20030101 from c.l.r in my local archive
| + 101374 [WBrown@is ft] Martin,
| + 101386 [bob.news@gm ] "Martin Pirker" <crf@sbox.tu-graz.ac.at> schrieb im Newsbeitrag
| + 101429 [matz@ru y- a] You can get them from <ftp://ftp.ruby-lang.org/ruby/ML/>.
| + 101470 [lists@za a. ] Btw, how is helium.ruby-lang.org connected to the Internet (how big is
| | 101511 [matz@ru y- a] It's at my company's office connected with 2 1M lines.
| + 101792 [crf@sb x. u-] got a full copy
| 101794 [dblack@wo bl] Over time, yes, but the recent problems are a lot more acute :-) The
| + 101809 [rohitlodha@h] Sorry to repeat, but the way GMANE.org works it should be okay.
| + 101871 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | 101883 [dblack@wo bl] I sent Dennis comparative sets of headers a few months ago, when all
| | 101970 [bob.news@gm ] "David Alan Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | 102007 [dooby@d1 .k ] ============================================================
| | 102018 [dooby@d1 .k ] ====================================================================
| | 102101 [bob.news@gm ] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | 102335 [dooby@d1 .k ] <Late response>
| | + 102362 [bob.news@gm ] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | + 102376 [trash@ph lk ] I still don't think that the `References' header should be a problem,
| | 102377 [dblack@wo bl] But doesn't the above indicate that it's "required for all follow-up
| | + 102394 [trash@ph lk ] Sorry. I thought I read that it's required on every message. So the newsserver
| | + 102402 [dooby@d1 .k ] I don't try to confuse :-(
| + 101915 [crf@sb x. u-] ok, rerun
+ 101388 [ptkwt@ar cn ] Personally, I think there is already too much fragmentation in Ruby-land.
| + 101390 [carl@yo ng l] One other important thing to keep in mind is that some of us are forced
| | + 101434 [rohitlodha@h] How is GMANE.org .We can try it.
| | + 101506 [sven_schott@] Hear ,hear. I'm on the mailing list because of the those very reasons.
| + 101391 [dblack@wo bl] That's already the case, though; if you're not reading ruby-talk,
| | 101459 [sroberts@ce ] Aren't there a million-and-a-half mail to news gateway implementations
| | 101478 [dblack@wo bl] I don't think it's the gateway code. It's worked for years, basically
| | 101485 [sean@ce so t] Check Google.
| | 101487 [hal9000@hy e] There have been problems and bug fixes over the years, of course.
| | 101499 [sean@ce so t] What I mean is, 3 years of problems are enough. Whatever the reason, the ML
| | 101502 [carl@yo ng l] Because I don't want to be isolated from some of you Ruby geniuses just
| | 101507 [ruby-talk@wh] There are tons of news servers that have public access to the news group.
| | + 101510 [carl@yo ng l] Proxy settings keep me from accessing NNTP servers. My only choice is
| | + 101533 [curt@hi bs c] I looked at this list excitedly, only to be sorely disappointed. There is
| | 101557 [ruby-talk@wh] I'm using the netlab.jp server and it seems fine. Posted earlier and
| | + 101560 [app1tam@up .] Here, here, hear, hear. No NNTP here.
| | | 101565 [dblack@wo bl] OK... but let me clarify: this isn't about the question of which is
| | | 101569 [dave@pr gp o] I very much regret that this discussion is happening.
| | | 101571 [dblack@wo bl] It's kind of the other way around: if I send a message that initiates
| | | 101616 [dblack@wo bl] the mail side. I'd thought it was more the other direction, but it
| | | + 101684 [decoux@mo lo] It's broken since 26/05/2004 -- 16h00 (approx.)
| | | | 101698 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| | | | 101699 [decoux@mo lo] MTZ : moulon time zone
| | | + 101686 [dave@pr gp o] So, see if these missing articles are making it to the news server used
| | | | + 101691 [dblack@wo bl] Of course, right after posting that, I got an influx of about 30+
| | | | + 101890 [dblack@wo bl] Sorry everyone, testing again.... small meaningless tweak to
| | | | + 101891 [decoux@mo lo] What is the difference : the header Sender: ?
| | | | | 101893 [dblack@wo bl] Yes. I'm not claiming it's an intelligent idea :-) Just trying
| | | | | 101894 [hal9000@hy e] What, if any, are the differences in headers between messages
| | | | | 101896 [dblack@wo bl] None that I've been able to spot. For samples: ruby-talk 101880 got
| | | | | 101905 [angus@qu va ] ["David A. Black" <dblack@wobblini.net>, 2004-05-31 18.25 CEST]
| | | | | 101909 [angus@qu va ] [Carlos <angus@quovadis.com.ar>, 2004-05-31 19.57 CEST]
| | | | | + 101911 [beast@sy te ] Well, technically it's 'folding', used to ensure that headers doesn't
| | | | | | 101916 [dooby@d1 .k ] Many headers fold. They're O.K.
| | | | | + 101917 [dblack@wo bl] Thanks for the info, but that's not it. It appears to be
| | | | | 101946 [joaopedrosa@] All my messages don't reach the newsgroups as well.
| | | | + 101948 [dooby@d1 .k ] Mirrored using mail2news.rb (the version you sent me - unmodified).
| | | | + 101950 [dblack@wo bl] OK... so the appearance of that msg on the newgroup was because you
| | | | | 102009 [dooby@d1 .k ] There was some evidence in the headers ...
| | | | + 101957 [quixoticsyco] I do not know if this is related or relevant, but I often
| | | | 101959 [joaopedrosa@] Me too. I always wondered if I was the only one :-)
| | | | 101990 [dblack@wo bl] If this gets through to comp.lang.ruby, then it's possible that the
| | | + 101712 [bg-rubytalk@] For those of us who are interested in the matter, but aren't aware of
| | | + 101775 [bob.news@gm ] "Ben Giddings" <bg-rubytalk@infofiend.com> schrieb im Newsbeitrag
| | | + 101781 [dooby@d1 .k ] Your 'fire and forget' description makes me think you've been looking :-)
| | | 101931 [dooby@d1 .k ] There were problems last year which were fixed by using the more
| | | + 101933 [dblack@wo bl] I've got a request in to Dennis for log files, but I am almost certain
| | | + 101969 [bob.news@gm ] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | | | 102008 [dooby@d1 .k ] Definitely not. In ML to NG direction, *all* mails should be mirrored
| | | | 102010 [bob.news@gm ] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | | | 102012 [decoux@mo lo] Well, for me, your response to "daz" <dooby@d10.karoo.co.uk> was
| | | | + 102013 [dblack@wo bl] I think that was a different one. The one that seems to be missing started
| | | | + 102014 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| | | | 102015 [decoux@mo lo] No, I don't see it
| | | + 101979 [dblack@wo bl] Here's a bit of an IRC exchange I had with Dennis in April which
| | + 101568 [curt@hi bs c] I was basing this on the reported stats. Thanks for your recommendation,
| + 101471 [lists@za a. ] Agreed, but only in terms of the various websites for Ruby resources
+ 101621 [androflux@so] I think mirroring the newsgroup and the mailing list is great. Just
threads.html
top