52471-53347

52227-53062 subjects 52670-55052

^ Pc System i Terra, ofereixen Oferta octubre ADSL GRATIS
52471 [infopcs terr] oferta octubre

^ ruby if no input
52483 [kgergely mla] I've seen a great idea in pike (not a big one, but helps beginners...)
52496 [szegedy nosp] This is quite common (see e.g. hugs).
+ 52498 [ndrsbngtssn ] It could actually do both. If stdin is a tty then it could give an
| 52533 [messju lammf] bash and tcsh, i would say. and gnuplot.
+ 52551 [jos catnook.] [GCC 2.95.3 20010315 (release)] on freebsd5
  52555 [gminick unde] % irb

^ Threading implementations (was: Please help, question regarding threads)
52484 [ndrsbngtssn ] No, the language itself behaves the same.

^ SOAP4R proxy support?
52487 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
52493 [nahi mwd.big] Hmm.  It works for me (squid).
52541 [nahi mwd.big] No.  It was a bug of http-access2/G.  I used another
52604 [volkmann2 ch] Thank you for fixing it!
+ 52614 [mikkelfj-ant] can
+ 52707 [nahi keynaut] Ruby
  + 52708 [nakahiro sar] This means, i.e. it supports all SOAP encoding data types
  + 52709 [nahi keynaut] This means, i.e. it supports all SOAP encoding data types
    52752 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
    52961 [nahi keynaut] Sure.  For the latter point, I can implement SWSAPI as a

^ assertions in Ruby
52489 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
+ 52490 [bulatz integ] are you know about RubyUnit and concept of unit testing? it is another
| + 52491 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
| | 52495 [jason jvoege] It's an implementation of Design By Contract for Ruby put together (I
| + 52505 [mikkelfj-ant] as
+ 52509 [alan digikat] I have an unreleased, partailly completed module which include the
  52516 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
  + 52518 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
  + 52521 [alan digikat] Sorry, I didn't mean to imply that unit testing and assertions should
  | 52523 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
  + 52549 [patrick-may ] RubyUnit and TestUnit assertions raise some variation of an

^ Allowing " " within Amrita
52499 [ljz asfast.c] I have a question about the excellent amrita-0.9.4 package, that I hope
+ 52504 [chrisg appli] Lloyd,
+ 52553 [tnakajima br] I think this is a bug of amrita.
  52578 [ljz asfast.c] I commend you on an excellent piece of software.

^ rtgsgnksdg
52502 [ti_gui82 hot] <html><div style='background-color:'><DIV>buhtyujnrtdjynxtjg</DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://g.msn.com/1HM1ENCA/c156??PI=44318'>Click Here</a><br></html>

^ mingw install
52507 [probertm nor] I have just built the latest snapshot using mingw and
+ 52512 [mikkelfj-ant] Could it be that the .so dll's from the other installation are being loaded
| 52515 [probertm nor] Same behavior, unfortunately.
+ 52528 [nobu.nokada ] Does it work before install, in the build directory?
  52531 [probertm acm] scripts that were posted a while back also work.  Seems to

^ CONFIDENTIAL
52514 [frank_chukwu] FEDERAL MINISTRY OF WORKS AND HOUSING
52544 [ajksharma ho] Hmm..
52558 [lyle users.s] True. Dr. Chukwuma should do some research into e-mail encryption

^ [French] Interview of Matz in Login
52519 [ oct zoy.org] In the last issue of "Login", a french linux magazine, there is an
52526 [vruz ruby-es] Can we possibly read an excerpt from that interview ?

^ RubyConf: insurance problems solved
52535 [dblack candl] I'm happy to say that the event insurance problem with the Conference
+ 52543 [james jamesb] Thanks!
+ 52545 [rich infoeth] Great work David...looking forward to seeing everyone.

^ ITIL in Major Corporations - Has it worked?  BREAKFAST SEMINAR - Tue 22/10/02
52537 [service arto] ITIL in Major Corporations - Has it worked?

^ ITIL in Major Corporations - Has it worked?  BREAKFAST SEMINAR - Tue 22/10/02
52538 [service arto] ITIL in Major Corporations - Has it worked?

^ ITIL in Major Corporations - Has it worked?  BREAKFAST SEMINAR - Tue 22/10/02
52539 [service arto] ITIL in Major Corporations - Has it worked?

^ ITIL in Major Corporations - Has it worked?  BREAKFAST SEMINAR - Tue 22/10/02
52540 [service arto] ITIL in Major Corporations - Has it worked?

^ Mail filter (was RE: announce@ == less email (FAQ item?))
52542 [botp delmont] cool filter.
52550 [    s xss.de] I guess he's using ruby to fetch his mail
52552 [botp delmont] Thank you.
52554 [    s xss.de] Well, it's not that difficult ... when I upgraded
52748 [comp.lang.ru] - - Here's mine. It's got a whole bunch of wierd stuff in it since

^ [ANN] WNS XFormer version 0.0.0 released
52546 [james jamesb] WnsXFormer converts a text file describing a weekly news summary (as might

^ Ruby to approximate 'file'?
52547 [austin halos] Is there a file-type detection script available for Ruby, similar to
+ 52548 [ljz asfast.c] module FileTest
| + 52559 [sdate kc.rr.] [...code snip]
| + 52566 [austin halos] Thanks. That'll be a good start to make sure that I don't run tidy on
+ 52556 [qrczak knm.o] In Perl both are true for an empty file.
+ 52613 [martindemell] martin

^ Speed of Ruby/modruby vs PHP
52557 [jim freeze.o] I was doing some simple timing tests with modruby
+ 52560 [mikkelfj-ant] If you bother, I'd be interested to hear about similar timings for
| + 52563 [jim freeze.o] I'll look into it today and report back here.
| | 52569 [jim freeze.o] The data on that page says that FCGI (C version) is 2x faster
| | 52574 [mikkelfj-ant] Nope - sometimes the site is down altogether but seems to work except for
| + 52567 [alan digikat] I thought one of the benefits of mod_ruby was having the interpreter pre-loaded
+ 52577 [moonwolf moo] see
  52598 [mikkelfj-ant] a) 400 request/sec with mod_ruby and cached Ruby script
  52600 [jim freeze.o] How do I configure mod_ruby to run with a cached script?
  52601 [moonwolf moo] <IfModule mod_ruby.c>
  52607 [jim freeze.o] Is 'apache/myapp' a literal here?
  52609 [moonwolf moo] see mod_ruby Documents
  52611 [jim freeze.o] Ok, first things first. I have created the following tree
  52626 [sean ruby-la] [moving to modruby@modruby.net]
  52627 [jim freeze.o] Ok, I'll move it to site_ruby/apache/preload_timetest.rb.
  52628 [jim freeze.o] Ok, here is how I understand this.
  52636 [jim freeze.o] Ok, I did all the above and it works from a browser,
  52774 [sean ruby-la] Don't trust your browser with anything.  Dime to dollar what's

^ Segfault when installing Test::Unit
52570 [n1k0 rogers.] ..../../../lib/test/unit/assertions.rb:352: [BUG] Segmentation fault
+ 52590 [decoux moulo] I've no problem with
| 52592 [decoux moulo] No problem with
| 52615 [n1k0 rogers.] I compiled ruby myself, using the following optimizations: '-O3 -fomit-frame-pointer -march=athlon'
| + 52616 [decoux moulo] Try to remove your optimization, and compile it with '-g -O2'
| | 52621 [n1k0 rogers.] OK, i tried that and it works now.
| + 52625 [sean ruby-la] -march=athlon is the culprit, iirc.  GCC 3.2 is horribly broken when
+ 52622 [nobu.nokada ] It's known that 1.6 and 1.7 before 2002-10-03 have the problem

^ =?GB2312?B?tefE1LXNvNuz9srb?=
52575 [sevice com.c] ̩ʺ!

^ Coroutines for discrete event simulation?
52579 [eclipse skim] Is it possible to use Ruby to design a discrete event simulator using
+ 52580 [gotoken notw] How about
| 52589 [eclipse skim] Thanks Gotoken.  Unfortunately, these coroutines are based on Ruby threads,
| + 52593 [gotoken notw] Hmmm, I think that coroutines can be implemented with only theads
| + 52620 [chr_news gmx] How about using stackless Python?
+ 52644 [bulatz integ] but there is very cheap threads (it is not native OS threads). of

^ Platform again
52581 [frido q-soft] Well I ask again. On what platforms are you using ruby most of the
+ 52587 [ptkwt shell1] Linux.
| 52647 [frido q-soft] Outch, sorry, for asking. I did not know that it was asked before ...
+ 52588 [decoux moulo] See http://www.rubygarden.org/pollBooth.php?op=results&pollID=11
+ 52591 [mcix gmx.net] LINUX
+ 52634 [drbrain segm] FreeBSD (-CURRENT and 4.x)
+ 53037 [tarasis btop] A combination of Linux, Windows Native & Cygwin
| 53047 [gsinclair so] Those three *most* of the time, eh?  And where do you run it the rest? :)
| 53051 [tarasis btop] *chuckles* Thanks Gavin, it seems I need to learn to open my eyes.
| 53072 [gsinclair so] Damn!  I was hoping you'd say "Commodore 64"...
| 53075 [jweirich one] Just this past week here, Rob Wehrli (of Arizona Cooperative Power) just
| 53085 [billtj z.glu] Depending on the power of that embedded board, I am not sure if you can
| 53088 [jweirich one] I do expect a good deal of tweaking to be involved.  However, the board
| 53103 [billtj y.glu] I don't know which is better, to program in FORTH or just directly program
+ 53050 [alwagner tca] Linux exclusively.  There is no way I would run windows without someone
+ 53057 [nobu.nokada ] Linux, or compiling/testing ruby on Windows.
  53065 [x ichimunki.] I run Ruby on Debian GNU/Linux and Gentoo Linux.
  53070 [canyonrat ma] Mac OS X, mostly, and NetBSD.

^ CGI sessions as threads?
52594 [B.Candler po] One of the things which interests me most about Ruby is its built-in
+ 52595 [davegaramond] i think you will need at least needs a web server that supports this
| 52599 [mikkelfj-ant] According to the Ruby FastCGI page the clean Ruby version supports multiple
+ 52624 [avi beta4.co] Brian,
  52657 [B.Candler po] That sounds excellent, exactly what I was looking for. I look forward to

^ Another take on ensuring right args to methods
52602 [list NOSPAMc] Since #respond_to? only checks whether an object responds to a call,
52605 [dblack candl] Personally I like #can?  but it doesn't help with the awkward two-headed
+ 52632 [michael_s_ca] I'm guessing it runs some suite of unit tests and returns true IFF all of them
+ 52650 [list NOSPAMc] I know, but I'm still convinced that you'd only want to do that when
  + 52717 [batsman.geo ] What if the object represents /dev/null and you cannot read back what you
  | 52777 [list NOSPAMc] Oh, I knew it was coming... ;-)
  | 52836 [batsman.geo ] I only needed about .1s to find the /dev/null example. There must be
  | 52991 [list NOSPAMc] Now if only it showed something...
  + 53042 [dblack candl] if obj.respond_to?(x)

^ Update on HTTP session handling in Ruby?
52608 [ sz szasz.hu] I did spend a lot of time on searching the web (including

^ Block Puzzle
52617 [dominic.fox ] I have recently started playing with Ruby, and I'm currently being
52618 [decoux moulo] Write it like this
52619 [dominic.fox ] Ah, *syntax*! [Faint 'ting' of penny dropping]. Great, thanks a lot.

^ Simple DBI Question
52629 [doug.tillman] I'm a Ruby new-bee and am working on a simple DBI
+ 52633 [roberto sidh] [courtesy cc of this posting sent to cited author via email]
+ 52756 [520079130762] For this kind of SQL query, method select_one of class DatabaseHandle is

^ ANN: JRuby beta 1.6/0.5.1
52630 [ndrsbngtssn ] JRuby (http://jruby.sf.net) is a pure Java implementation of the Ruby

^ [ANN] JRuby beta 1.6/0.5.2 (disregard last announcement)
52631 [ndrsbngtssn ] Sorry everyone, sent the release for an old version instead of the new one. *blushes*

^ Net/HTTP does not read RubyRequire page in mod_ruby
52637 [jim freeze.o] I have set up a pre-loaded page with mod_ruby that I access with the URL
+ 52638 [meier meiste] Caching? Proxy?
| 52655 [jim freeze.o] Neither.
+ 52640 [drbrain segm] Do you have Vhosts?  You should be sending the Host: mysite header after
  52656 [jim freeze.o] It is a named host, but that has not affected net/http from working
  52689 [drbrain segm] $ telnet 63.106.140.203 80
  52700 [jim freeze.o] Thanks
  52702 [drbrain segm] It should be doing that automatically for you, provided you give
  52704 [jim freeze.o] It looks like net/http is not specifying the host, or not doing

^ regex speed
52641 [davegaramond] i am noticing ruby is much slower than perl when matching patterns with
+ 52642 [ryand-ruby z] So, I'm using ruby 1.6.7 and perl 5.6.0 on mac os x and I found
| 52652 [davegaramond] thanks for the tip (strange, i had always thought/heard that non-greedy
+ 52651 [waisun.chia ] RH7.3 box, Perl 5.6.1, Ruby 1.7.3 (2002-09-13)
+ 52658 [tom.hurst cl] Um, this hangs on my machine.  Fine when I execute it from a file
  52662 [davegaramond] sorry, the code was obviously miscopy-pasted. it should have been 'ruby

^ Rapid Development with Ruby
52643 [vinfoley iqu] They talk about a book they eventually want to write, "Rapid Development
52660 [Dave Pragmat] Unfortunately, that project got somewhat sidetracked by the somewhat
52831 [vinfoley iqu] OK, I can understand that.  Well, if there are any updates on a future
52842 [batsman.geo ] =====================
52843 [Dave Pragmat] I like your style...

^ webforms
52653 [kgergely mla] I'm just curious, if anyone developed a library.
52654 [kentda stud.] (\[ Kent Dahl ]/)_    _~_    __[ http://www.stud.ntnu.no/~kentda/ ]___/~

^ Ruby equivalent 'roundup' tracking software
52659 [W.L.Kleb lar] Does anyone know if there is a Ruby equivalent to the Phython-based issue
52685 [gemerson eva] I don't know of one, but that would be really keen.  I use roundup here, and

^ ruby-dev summary 18407-18457
52661 [ttate kt.jai] This is a summary of ruby-dev ML in these days.

^ Lexer
52663 [mikkelfj-ant] There has been some talk about Regular Expression performance.

^ Regexp.MULTILINE
52664 [davegaramond] while we're still on it, i wonder whose decision it is to remove perl's
+ 52665 [decoux moulo] //s  means SJIS encoding
| 52697 [davegaramond] oh, sorry. i wasn't reading the documentation carefully enough. but then
+ 52666 [dblack candl] All Ruby decisions are matz's, as far as I know :-)  I like this one
  52698 [davegaramond] well, "single line" or "multiple line" is just a matter of terminology.
  52699 [matz ruby-la] Agreed.  Besides I felt Perl's combination of /s and /m was insane.

^ Problem with Ruby v1.67 on Solaris 2.6
52667 [e_dragoev ya] I have a few scripts that used to run fine with older version of Ruby
52668 [decoux moulo] First, display the load path, i.e.

^ Things That Newcomers to Ruby Should Know
52669 [billtj glue.] I have also updated the list at
+ 52675 [mikkelfj-ant] Some of the wiki pitfall pages are located on a japanese server. The html
| 52883 [nahi keynaut] I told Seki-san who maintains rwiki.jin.gr.jp and tried
| 52895 [mikkelfj-ant] In us-ascii I can't write my name: Mikkel Fahnoe Jorgensen (In case it
| 52960 [nakahiro sar] Likewise I can't write my name: ʤ (In case it doesn't display,
+ 52805 [bulatz integ] ruby vars holds references to objects and '=' operator copies these
| + 52840 [batsman.geo ] This is OT, but just to show you I have nothing against you, I'd like to
| | + 52860 [gsinclair so] The Wiki is good, but Bill is the maintainer for the newcomers' list, so he
| | | 52890 [billtj glue.] Thanks for all the inputs.  I have seen the Wiki and it looks pretty
| | | + 52893 [Dave Pragmat] There-s a bi-directional gateway between the two.
| | | + 52915 [gsinclair so] Small == Good.
| | | + 52951 [bulatz integ] yes, i also think that my topic is too big and complicated. you must
| | |   52955 [james jamesb] Well, one of the pains of writing is learning, as William Faulkner said, to
| | + 52877 [bulatz integ] well, i changed this to text below. but i think it is better described
| + 52979 [kgergely mla] But this is for one deep.
| | 53132 [bulatz integ] sorry, i misread documentation. you are right
| + 52982 [kgergely mla] If this is true, a+=1 creates a new object. Can't it be avoided?
|   + 52984 [billtj y.glu] Very interesting observation, Gergely.  If it is true, like you said, then
|   | + 52986 [kgergely mla] Azt irtad, hogy
|   | + 52990 [szegedy nosp] Before a long discussion starts, I would suggest you
|   |   53016 [billtj y.glu] It is a very interesting reading.  Now I realize more and more that all
|   |   + 53022 [szegedy t-on] Moreover I also started a discussion (like you) about the possibility
|   |   | 53135 [bulatz integ] Fixnum is not a pointer, though :)
|   |   + 53053 [alwagner tca] I think that would be comparing wax apples with real apples.  Both "look" like
|   |   | 53056 [billtj y.glu] Ruby                 C++
|   |   | + 53058 [alwagner tca] Oh, I understood OO to mean using Object Oriented criteria: encapsulation,
|   |   | | 53079 [hal9000 hype] That's very interesting, Albert... maybe I'm betraying
|   |   | | 53081 [alwagner tca] I don't know.  I have googled for OOP several times looking for such a list,
|   |   | | 53140 [bulatz integ] this lists specific properties of obj-c itself
|   |   | + 53138 [bulatz integ] to be exact, all data except Fixnum/nil/true/false are represented by
|   |   |   53248 [B.Candler po] I don't think so: all data _including_ Fixnum/nil/true/false are represented
|   |   + 53134 [bulatz integ] ruby also explicitly discusses these questions. at least we (you and
|   + 52988 [dblack candl] In the case of numbers, it doesn't create a new object, because
|   + 53043 [B.Candler po] If I understand my maths correctly: numbers always exist, they are neither
|   | + 53040 [B.Candler po] ... which I presume is cleverly exploiting the property that in the
|   | + 53044 [ sz szasz.hu] Wow, excellent!
|   | + 53049 [gsinclair so] When I discovered this some time ago, I wondered deeply what might be occupying
|   | | + 53052 [decoux moulo] pigeon% ruby -e '[false, true, nil].each {|i| p i.id}'
|   | | + 53055 [billtj y.glu] That's because 1000000001 still can fit in Fixnum, so Ruby calls INT2FIX
|   | | | 53074 [gsinclair so] Interesting; thanks!
|   | | + 53089 [B.Candler po] irb(main):001:0> false.id
|   | | | 53092 [gsinclair so] occupying
|   | | | 53154 [B.Candler po] Why not? It would be very efficient to be able to take an object ID and
|   | | + 53137 [bulatz integ] afair, this is documented in readme.ext
|   | + 53054 [alwagner tca] I've seen a numeral but have never seen a number.
|   + 53133 [bulatz integ] what you mean? if you want to increment in place, use another
|     53146 [kentda stud.] It is also senseless for Bignum, Float and just about any number class,
+ 52916 [peter semant] Ruby has no pre/post increment operator!
  + 52917 [billtj z.glu] Thanks for the input.  I think the pre operators are really valid
  | 52936 [botp delmont] I hope this is in ruby's wish list :-)
  | + 52938 [dblack candl] If you search for ++ -- on http://www.ruby-talk.org, you'll see a lot
  | | 52943 [botp delmont] Thanks sir David for the note.
  | | 52944 [dblack candl] I think if Matz wanted this in Ruby, it would be there by now :-)  The
  | + 52969 [szegedy nosp] I think
  | + 53345 [AntiATField_] ++x
  |   53347 [peter semant] That would make a great error message.
  + 52954 [bulatz integ] Ruby has no pre/post increment operator! instead of "++x", "--x" use
    52956 [peter semant] The lack of pre/post increment operators is a fact of life for
    52957 [bulatz integ] irb(main):007:0>> x = 3
    52958 [peter semant] Now that you mention it...
    52959 [bulatz integ] never mind. and you?
threads.html
top