38363-39452
38136-42057 subjects 38582-39644
^ Pascal to Ruby
38363 [mark.firesto] Been working on my line editor. Just have the insert left. Anyway... is
38364 [decoux moulo] Well, I've not understood you don't want a String method but an Array
38365 [mark.firesto] Well, ya... I have a bunch of text, in (in pascal terms) an array of string.
38380 [chris cmb-en] "Firestone, Mark - Technical Support"
38382 [dblack candl] I was trying something along similar lines with Array. I don't know if it's
+ 38388 [chris cmb-en] <Pine.LNX.4.30.0204151510070.10068-100000@candle.superlink.net>,
+ 38414 [decoux moulo] What is wrong with my initial proposition [ruby-talk:38364] ?
38420 [dblack candl] Nothing -- I just didn't look at it carefully enough :-)
38501 [mark.firesto] thanks for everybody's help. it works great now. I just can't get used to
+ 38503 [pate eylerfa] This depends on which ports you're trying to use. anything under 1024
+ 38509 [mwg fluffy.i] Under ordinary user, your port number should be not less that 1024.
38539 [mark.firesto] Ok. I wanted to use port 23.. so people could just telnet to this thing
38553 [pate eylerfa] You can run as a daemon at any port (witness mysql at 3306, and X at
^ windows newbie question
38367 [Jean-Francoi] under Unix, I have my (ruby) application under /usr/local/myapp
38368 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
38419 [nobu.nokada ] Win9x don't set it. How about making File.expand_path("~")
^ need help on using Ruby to replace some SED expressions
38373 [kackson yaho] I tried sed. But it is getting really tough when I keep realizing I've
+ 38383 [pabs pablotr] #!/usr/bin/ruby
| + 38384 [pabs pablotr] [snipped]
| + 38390 [dblack candl] $ ruby thing.rb
| 38392 [pabs pablotr] Hahah. Guilty as charged. O:)
| 38395 [chris cmb-en] Perl isn't evil. It's just written that way.
+ 38386 [chris cmb-en] This seems like it should work, but hangs when I try to run it...
38394 [chris cmb-en] # Much improved version. Switched sub! with self[...] = "something"
^ Ruby Weekly News
38375 [Dave Pragmat] Ruby Weekly News: 04/15/2002
^ Ruby get together in San Jose?
38381 [wvucenic net] Since you and Pete McBreen are going to be in San Jose, and maybe
38405 [matz ruby-la] Sounds great. Unfortunately, I'm afraid I won't be there. Flying
38407 [james rubyxm] Dave, when you're in San Jose, give the folks at CMP a kick in the shins.
38477 [Dave Pragmat] CMP is/are (shall we say) frugal - they pay for almost nothing. The
^ [ANN] Ruby/Google 0.2.0
38385 [ian caliban.] Version 0.2.0 of Ruby/Google has been released.
38415 [nahi keynaut] Thank you for creating packages for SOAP4R.
38435 [ian caliban.] You're welcome.
38475 [nahi keynaut] It is used when you use one of DateTime, Date, or Time
^ re-raising exceptions, revisited
38387 [pbrannan atd] It seems that today is exception day for me.
38396 [matz ruby-la] class Exc < Exception
38424 [pbrannan atd] I suppose my example was flawed. I have some exceptions where
^ Fw: Problem with the PDF of Programming Ruby
38389 [philip dynas] Dave, I was wondering what have you used to generate the PDF for the
38410 [brailsmt yah] While I can't speak for Andy and Dave. You can use LaTeX to produce pdf
38413 [cameron cwru] or pdflatex (also part of the standard distro of teTeX).
^ RCR: xx: yy as shorter notation for :xx => yy
38391 [jean_hugues_] I am considering making a RCR but first I would like to make sure it has
38402 [matz ruby-la] Hmm, I was thinking to use "xxx: yyy" for keyword arguments in the
+ 38403 [rich infoeth] Actually, since the current Ruby-way of faking out keyword arguments
| + 38412 [jean_hugues_] arguments" (aka "named arguments").
| + 38835 [busellim ppr] 3a) method(x: 1, z: 2) # keyword arguments
+ 38423 [pbrannan atd] From the few posts we have so far, it sounds like mixing the two would
38453 [jean_hugues_] Such a choice may not be necessary, keyword arguments and xxx: yyy shorter
^ Weekly RCR Summary
38393 [RubyGarden t] This is an automatically generated list of Ruby Change Requests.
^ Ruby/Qt2 install problem
38409 [alwagner tca] I am running SuSE 7.1/KDE 2.2.2/Qt 2.3.2 and am trying to install
^ Floating icons over FXCanvas area
38411 [dmg tragsate] First of all I admit I am a completely newcomer to Ruby.
38469 [lyle knology] Can't you just paint over the previous rectangle occupied by the icon (after
38482 [dmg tragsate] The problem it is al little bit more dificult, because in my FXcanvas
^ [Patches] - Cleanups
38432 [m.rokos sh.c] - year tags update
38438 [matz ruby-la] I like them, except one for irb.rb. Since a feature name
38442 [m.rokos sh.c] Thanks and sorry - irb.rb patch came there just accidentaly.
38455 [matz ruby-la] No. I've already merged it.
^ [SoD] regexp
38433 [decoux moulo] SoD is an acronym for "Stupidity of the Day" :-)
^ Ruby Google problem
38434 [andrew_queis] I've played with Ruby Google 0.1.0 and thanks to some help from this list
38436 [ian caliban.] Do you perhaps use an HTTP proxy for normal Web browsing? If so, grab
^ Odd STDERR behaviour under rubyw.exe
38441 [mattbee soup] I've had some really weird errors from testers on this one: I develop &
^ HTTP-Access2 problem (was Ruby Google problem)
38444 [andrew_queis] Thanks, but I still get the same error. I tried the sample
38474 [nahi keynaut] Error
38498 [andrew_queis] NaHi,
38504 [andrew_queis] Problem fixed, I was using the wrong proxy port. Our server
^ Ruby on RedHat 6.0
38445 [sean celsoft] Does anyone run Ruby on RedHat 6.0? I have a machine we've leased running
38446 [pbrannan atd] [user@host]$ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.6.7.tar.gz
38454 [james rubyxm] Same with me. I've built 1.6.7 and 1.7.2 on Redhat 6.0 (or 6.1?)
^ Help wanted for statvfs extension
38449 [djberg96 hot] A few people (including myself) have asked about a ruby interface to
+ 38465 [nobu.nokada ] I guess File.statvfs and File#statvfs are better.
| 38467 [nobu.nokada ] Sorry, some mistakes.
+ 38468 [matz ruby-la] I think this variable should not be global. Just local variable to
| 38494 [djberg96 hot] Oh, thanks. I think I made a portability mistake here, though.
| 38505 [matz ruby-la] No. It's Python, not Ruby.
+ 38470 [jfh cise.ufl] Fs.stat("/tmp") { |fs|
38473 [nobu.nokada ] statvfs() and fstatvfs() are specified in The Single UNIX
+ 38487 [jfh cise.ufl] Sure. My point is simply not to name the Ruby module after the
| 38489 [nobu.nokada ] Almost agree, but isn't "Fs" too short? Is it obvious enough?
| 38492 [jfh cise.ufl] I guess that's a matter of personal taste. I like it, but perhaps
| + 38495 [nobu.nokada ] Perhaps. At least, looks more obvious to me. Anyway, how
| | 38496 [jfh cise.ufl] My preference would be to keep filesystem stuff separate from the
| | 38607 [nobu.nokada ] # I was very surprised looking your mail translated to japanese
| + 38497 [ rik kde.org] #if James F.Hranicky
| + 38512 [djberg96 hot] Ok - let's settle on Filesys. Seems intuitive and it's the same name
| 38520 [mghall enter] Oh, well...
| + 38521 [ rik kde.org] #if Mike Hall
| + 38524 [djberg96 att] So *now* you jump into the conversation. :-P
| + 38550 [djberg96 hot] - #include <mntent.h>
| + 38552 [mghall enter] Yep.
| | 38570 [djberg96 hot] I don't know nearly enough about the preprocessor or ruby.h to know
| + 38565 [pabs pablotr] Yes, unfortunately.=20
| + 38567 [pabs pablotr] [snipped]
| | 38593 [nobu.nokada ] Just,
| + 38584 [djberg96 att] Posting attachments in newsgroups is generally considered poor form.
| + 38598 [pabs pablotr] Posting condescending 76-character wide emails to a mailing list instead
| | 38639 [djberg96 hot] I hereby apologize to you and this group. I'd much rather get a
| + 39226 [tom linuxbri] PGP signed emails are considered quite acceptable, it would appear the
+ 38490 [djberg96 hot] I knew the BSD's would be an issue. Should I cross that bridge when I
38493 [jfh cise.ufl] IIRC from messing around with this at some point, not only are the
^ Hi All
38450 [subscription] I am new to the list and would like to start in it by introducing myself
38458 [dempsejn geo] Hey Maxim,
38460 [subscription] That was historical, Jack. Thanks!
^ Carbone Ruby VM
38456 [markus.lado ] let me notify you that I imported the Carbone Ruby VM into it's project
^ [Patch] IO cleanup
38459 [m.rokos sh.c] - complete off_t handling
38476 [matz ruby-la] Thank you. I will merge this one too.
^ Redefining module methods
38461 [sean celsoft] In two Ruby script files I have two methods of the same name within a single
38462 [nobu.nokada ] Although I'm not sure what do you want exactly, how about this?
38464 [sean celsoft] sure is
38466 [nobu.nokada ] Sorry, use remove_method instead of undef_method.
38480 [sean celsoft] says
^ =?ks_c_5601-1987?B?c3Vic2NyaWJlYiBDaWJvIEVpbmU=?=
38463 [cibo16 empal] PGh0bWw+Cjx0aXRsZT48L3RpdGxlPgo8L2hlYWQ+Cjxib2R5Pgo8cHJlPgpjaWJvMTZAZW1wYWwu
^ alternatives to nanosleep / usleep ?
38471 [dennisn pe.n] I'm looking for suggestions / ideas as to how to get around a
38472 [nobu.nokada ] sleep(0.125)
^ visual c, ruby, and fastcall hassle
38483 [loriend bigp] today I tried to embed ruby in a computer game I'm working on. It uses
38486 [nobu.nokada ] Since __cdecl is default, that Jet 3d engine's header should
38507 [loriend bigp] No, because you have to set __fastcall as default in the project settings.
+ 38513 [andrew_queis] Try explicitly casting your function to the correct
+ 38527 [nobu.nokada ] I meant, __fastcall is NOT default, so Jet header SHOULD use
38531 [loriend bigp] No, that isn't the URL, that is a completely different Jet that is based on
38533 [nobu.nokada ] Oops, sorry. But too confusing.
^ private variables (again)
38485 [mattmsykes y] I found some old threads on this topic so I'm probably belaboring the
38500 [matz ruby-la] It's in the ToDo list. But it is little bit difficult to implement.
^ Debugging under Windows
38499 [andrew_queis] Is there a better way of debugging under Windows than just using
38506 [wvucenic net] I use RDE on Windows. It provides a visual interface to the debugger
^ odd problem
38502 [roy milican.] Greetings,
^ Ways methods return values
38508 [sean celsoft] I know in Ruby, the last evaluation is returned by a method and you can also
+ 38511 [hal9000 hype] also
| 38514 [dmartenson m] This message is in MIME format. Since your mail reader does not understand
| 38515 [dmartenson m] This message is in MIME format. Since your mail reader does not understand
| 38522 [jean_hugues_] Would someone please clarify one point ? The "value" of a method call is
| 38523 [dblack candl] irb(main):030:0> def thing; ensure "bye"; end
+ 38526 [jweirich one] I would like to suggest an alternate style that you might find
38529 [sean celsoft] Pascal actually does the same thing and I usually find "result" much more
^ Hi
38516 [qute klog.dk] I making a multithreaded downloader and was thinking there must be an easier
^ unsubscribe
38517 [khruathong.s] This is a multi-part message in MIME format.
^ (none)
38518 [khruathong.s] This is a multi-part message in MIME format.
^ unsubscribe
38519 [choong eng.i] Choong Rhee
^ resolv.rb Bug
38525 [roy milican.] Greetings,
+ 38530 [matz ruby-la] Could you tell me about your platform OS and the version of Ruby
| 38532 [roy milican.] Greetings,
+ 38536 [akr m17n.org] I succeed to reproduce the problem.
38537 [nobu.nokada ] I guess unused Sockets should be closed.
+ 38538 [akr m17n.org] Since a DNS object uses a socket for all requests by multiplexing, the
| 38545 [nobu.nokada ] Oops, it's certainly necessary. Additional patch to
| 38551 [roy milican.] Greetings,
| 38554 [nobu.nokada ] After applying the second patch, you need to close the DNS
| 38604 [roy milican.] Greetings,
| + 38611 [gnhurst hurs] DNS.open{|x| x.do_stuff }
| + 38613 [nobu.nokada ] Sorry, I was wrong completely. Try with following patch.
| 38616 [akr m17n.org] It causes an error with -d.
| 38620 [nobu.nokada ] Oops, sender thread must be killed.
| 38621 [roy milican.] Greetings,
| 38624 [nobu.nokada ] It was a typo, but ignore older patches in [ruby-talk:38537],
| 38634 [roy milican.] Greetings,
+ 38540 [kh.wild wico] Great. It works for me on an FreeBSD and an OpenBSD too.
^ RFC: article about testers using Ruby.
38535 [marick testi] I've written a first draft of an article with several ulterior motives. One
^ Ruby/Google
38542 [stephan.schm] I tried Ruby/Google and have a problem.
38543 [nahi keynaut] URI module is included from ruby/1.6.7.
38544 [stephan.schm] thanks a lot,
^ Building Ruby 1.6.7 with vc7
38546 [m10434_at ab] I'm having slight problems building 1.6.7 in Windows with
38548 [usa osb.att.] Both of them are already fixed on our CVS repository.
^ Tk under Ruby [newbie to ruby]
38547 [kgergely mla] I'd like to use Tk under ruby.
38785 [Jean-Francoi] use Tk.after in a thread to read in your socket, then launch
38884 [kgergely mla] Now I don't think Thread.new { Tk.mainloop } looks ugly anymore.
+ 38986 [Jean-Francoi] when entering Tk.mainloop, you don't exit of the loop, so it must be the
| 39042 [nagai ai.kyu] You can stop Tk.mainloop. But then, re-drawing of widgets stops too. :-)
+ 39000 [kgergely mla] Azt irtad, hogy
39044 [nagai ai.kyu] For example,
39452 [kgergely mla] Thanks. So the main idea is to run Tk.mainloop in the main thread, and
^ Emacs/Ruby
38549 [szegedy nosp] I use xemacs (with ruby-mode.el) to edit Ruby files.
+ 38572 [ms iastate.e] Would this help? Have a shell script like the one below, call it
+ 38573 [huber alum.w] (require 'after-save-commands)
38586 [bluetea nc.r] This doesn't work for me under FSF Emacs 20.7. I don't have
38614 [ms iastate.e] Another approach is to make anything starting with a shebang line
38629 [szegedy nosp] Thanks a lot!
^ ruby/postgres problem
38555 [stevecranfor] I'm trying to determine if a resultset is empty. if it is, I want to
+ 38558 [daniel zeped] if result.num_tuples == 0 then
| 38568 [alan digikat] Unless you need the column headers, I usually use the conn.query call
+ 38566 [daniel zeped] Are you sure result.num_tuples is returning a Fixnum?
^ Re: how to sort array of integer (or any number)?
38556 [chris cmb-en] Array#sort or Array#sort!
^ Confused by example in Pickaxe book
38557 [djberg96 hot] On p. 181 of the Pickaxe, the example defines the "initialize" method
+ 38559 [decoux moulo] Well, you are at C level if you don't give the object ruby will not know
+ 38583 [cboos bct-te] You should have a look to the signature of those
38618 [djberg96 att] Thanks go to both you and Guy. I'm less confused now. :)
^ recursive require warning...
38571 [ptkwt shell1] I ran into a problem with a Ruby script on Windows due to the fact that
38603 [nobu.nokada ] It's easy, but really desirable in common?
38619 [ptkwt shell1] It would have made it much easier to find the problem on Windows in this
+ 38623 [Reply.To.The] proportion...can you say: "BloatWare"???)
+ 38625 [nobu.nokada ] Sometimes recursive require is used intently. Actually, once
38685 [ptkwt shell1] I'm not saying that we should restrict it but that it could be a warning
38880 [nobu.nokada ] I'm just afraid it's noisy in such case, but it may not be a problem.
^ Object#send with $SAFE >= 1
38574 [jason jvoege] I'm writing a web application for which I need to call methods dynamically
+ 38575 [pbrannan atd] irb(main):001:0> $SAFE = 1
| 38577 [jason jvoege] Strange. I tried your example in irb and got following error. Perhaps my
| + 38578 [jason jvoege] ruby 1.6.7 (2002-03-01) [i686-linux]
| + 38579 [pbrannan atd] I don't have a 1.6.6 to test on, but I tested on Ruby 1.7 (CVS), 1.6.7,
| | 38580 [jason jvoege] I've got 1.7 installed on my machine at home. I'll try it on that one when
| | 38581 [jason jvoege] Actually, I was wrong about having 1.7 at home, but it works fine on my
| + 38591 [ged FaerieMU] This happens because IRB evals the string you type (ie., "class Foo; def foo;
+ 38596 [matz ruby-la] Use no irb with $SAFE >= 1.
^ calling a class method in "class << obj" context
38576 [vjoel PATH.B] class A
38595 [matz ruby-la] Fixed in 1.7; should I backport this behavior?
+ 38612 [chr_news gmx] It is comes as a very pleasant surprise to me that you considered the
+ 38615 [vjoel PATH.B] Not for my sake, but thanks for asking :)
+ 38630 [chr_news gmx] Playing around a bit I find the new ``meta behavior'' much richer and actually
threads.html
top