80782-81204

80504-81134 subjects 80953-92543

^ can't use 'require' with mod_ruby?
80782 [mgarriss ear] raise 'postgres' unless require 'postgres'
80784 [rpav mephle.] 1)  mod_ruby keeps the same interpreter around for each invocation;
80785 [mgarriss ear] YES!  I'm a bit slow sometimes, ugh, I need this kind of push every so

^ encapsulating instance data
80787 [quixoticsyco] Happy Holidays!
80836 [dblack super] Looking ahead to your code: you're not actually dealing here with

^ Theory of Encapsulation (was: Python vs. Ruby)
80791 [easco mac.co] Your original interpretation of the idea of encapsulation is one that I
80805 [sean cSePlso] Well, now, that's the big catch, isn't it?  =)

^ Re: Binding server to port < 1024
80794 [markjreed ma] You can't.  Only root can bind to ports under 1024 on *nix.
+ 80815 [markjreed ma] The euid is the one that matters for permission checks.  The real uid
+ 80832 [rasputin ido] Other alternative is to go ahead and bind to a high port and then use

^ [ANN] Log4r 1.0.3
80798 [leon ugcs.ca] Blurb
80799 [leon ugcs.ca] Oops, the download info!

^ Email with attachments?
80801 [sdate everes] I have searched RAA and ruby-talk (esp. [40428]) and I have
80812 [angus quovad] ^^^^^^---  should be #{@from}
80817 [sdate everes] Thanks for pointing that out ... I corrected them and some more
80834 [angus quovad] Here is the original script, with superfluous linefeeds removed (and
80840 [sdate everes] Great ! I will take your word for it ... until I figure out  how to
80846 [angus quovad] Just put the name of the smtp server you normally use to send mail. I guess
80929 [sdate everes] welcome.
+ 80967 [robertm spel] gave
| 80981 [sdate everes] No proxy ! But I have a router .... will that make a difference ?
+ 81066 [sdate everes] I tried changing the read timeout variable @read_timeout (line 270 of
  81105 [robertm spel] And this is what I am still struggling with. Any ideas are highly
  81116 [sdate everes] Correct ! I am not behind any proxy (this is my Home PC).

^ Here is your chance
80802 [ceo ceohelp.] This is a multi-part message in MIME format.

^ rescue AnyUndefined simply hangs
80804 [skywizard ti] Guys, observe these:-
80807 [nobu.nokada ] Thank you for the report, fixed now.

^ Problem building quixml on Win32 - possible mkmf bug
80816 [djberg96 yah] Win2k Pro
80820 [nobu.nokada ] Use --with-quixml-include=c:/expat-1.95.6/source/lib and
80823 [sean cSePlso] Thanks for the quick reply Nobu.  I will fold this information into the

^ postgreSQL array datatype and DBI
80819 [mgarriss ear] PostgreSQL has an Array type (other DBs probably do too but I only know

^ copy-on-write in Ruby
80824 [be9-ml be9.r] I've got a big object that holds references to other objects which,
+ 80826 [idan idanso.] From your description it's not really clear what the class is doing(does it
| 80830 [gedb01 yahoo] The command pattern.  This is used by Java's Swing to
+ 80887 [austin halos] I realise you want to avoid deep-copying, but I don't really see a clean way
+ 80893 [djd15 po.cwr] I don't know what your object looks like exactly, but you might want to

^ warning: toplevel constant XX referenced by YY::XX
80829 [thomass delt] Is there a way to turn the warning in subj. into an error?
80966 [thomass delt] I've submitted an RCR on this now.
80980 [matz ruby-la] I want to tell you that you are not ignored.  I just don't know how to
+ 81026 [dagbrown LAR] ruby -pedantic ?
+ 81099 [thomass delt] Since you ask, I don't think it is intuitive that a qualified constant
  81109 [matz ruby-la] Yes, but I think we need to wait for a while to make a transition.
  81131 [thomas First] Yes, sure.

^ suggestion: rb_eval_string_location
80831 [basile-news ] Dear All Ruby implementors,

^ Change to sprintf function
80839 [msparshatt y] While testing the Log4r module I've discovered that the sprintf function has
+ 80844 [B.Candler po] It was discussed on this list a few days ago. See http://ruby-talk.org/
| 80851 [msparshatt y] Oops, I guess that I missed that discussion.
+ 80845 [decoux moulo] Well, it want

^ BUSINESS PROPOSAL
80841 [gregmakata n] This is a multi-part message in MIME format

^ HELP ME
80842 [freddyumbabe] This is a multi-part message in MIME format

^ Running SpecRuby under Cygwin
80843 [ejb theworld] If any of you are experimenting with SpecRuby,

^ Read/Writing to the same file
80847 [thomas_adam1] I've been lurking on this list for a while, and I have a basic question
80856 [msparshatt y] I can see two problems with the program
80859 [thomas_adam1] arr = []
80867 [msparshatt y] Actually this line isn't needed.

^ Simple question(s)
80849 [michael_s_ca] (I think...)
+ 80850 [thomas_adam1] list = %q(foo bar baz)
| + 80853 [fxn hashref.] That surely was meant to be
| | 80855 [thomas_adam1] LOL, yes quite right -- one of my freudian slips. Sorry about that.
| + 80858 [gsinclair so] str = "Dec 12"
| | 80868 [michael_s_ca] Ah hah, #captures was what I was searching for.  Thanks Gavin (and
| + 81073 [androflux so] MatchData has a #captures method as of 1.8,so you could also do
|   + 81092 [thomas_adam1] That's right, Jason -- I couldn't for the life of me remember what it was
|   + 81093 [thomas_adam1] That's right, Jason -- I couldn't for the life of me remember what it was
|   + 81102 [gsinclair so] Good point.  I'd probably use exception handling.
|     81114 [thomas_adam1] Presumably, one can also use a "try..catch" scenario here too?
|     81120 [gsinclair so] "try" and "catch" mean nothing in Ruby.
+ 80852 [joey joeygib] list = %W{foo bar baz}
+ 80854 [dblack super] %w{one two three}   # => ["one","two","three"]
| 80869 [michael_s_ca] 220, 221, whatever it takes.  =)
+ 80906 [surrender_it] this?

^ LOTTERY WINNING NOTIFICATION
80857 [universallot] This is a multi-part message in MIME format

^ good day
80860 [luckman3030 ] This is a multi-part message in MIME format

^ Re: Problem building quixml on Win32
80862 [djberge qwes] checking for expat.h... yes

^ ANN: Guis-1.3 a GTK2 widget server (scriptable in Python & Ruby)
80865 [basile-news ] Dear All,

^ Re: Are perl-style global variables thread-safe?
80866 [denshimeiru-] They look thread-safe

^ show me the ruby way
80870 [nordehacedod] This works, but there must be a more natural way to do
+ 80871 [decoux moulo] try this (only with ruby-1.8)
| 80916 [aero6dof yah] On a related note, with ruby 1.8.0 (2003-08-04) [i386-mswin32],
| + 80918 [wkb airmail.] alan,
| | 80933 [aero6dof yah] Hmm, I meant h[k] not h[h] as I originally posted below...
| | + 80934 [nordehacedod] Thanks everyone.
| | | 80969 [decoux moulo] You can also write
| | + 80958 [code joechen] Eek.  Consider that in the common case, where the undefined key is being set
| | + 80991 [B.Candler po] Doesn't really seem to be that useful a test to me. If you want to write
| |   80999 [markjreed ma] It's not a bug.  The block you pass to Hash.new is not expected to
| |   81036 [aero6dof yah] md = Hash.new { |h,k| h[k] = 0; 3 }
| |   81037 [markjreed ma] No.  The block is ony used for return values WHEN THE KEY DOESN'T
| |   81086 [aero6dof yah] .... hash logic snipped
| |   + 81098 [dblack super] I think we all constantly depend on the fact that the return value of
| |   + 81126 [markjreed ma] It already behaves perfectly consistently.  The return value of the
| |   + 81135 [aredridel nb] hb3 = Hash.new { |h,k|
| |     + 81165 [aero6dof yah] Since it's clear that I'm out of sync with everybody else on this
| |     + 81175 [hal9000 hype] I find this to be very clever. I'd want it to be
| + 81072 [androflux so] ~$ ri Hash.new
+ 80872 [B.Candler po] h = Hash.new { |me,k| me[k]={} }
  80908 [nordehacedod] Perfect.
  80914 [markjreed ma] def new

^ RDoc: how to turn off automatic linking for a word?
80873 [leikind mova] How do I turn off creating a link out of a word that looks like
80962 [wew williamw] Unfortunately, there's no way to do this that I am aware of,
80985 [Dave PragPro] Is the problem here that you want to mention the name of a class but
81022 [hgs dmu.ac.u] #--rdoc-no-link: this that the_other
81040 [Dave PragPro] # Class CGI handles requests in a CGI context.
+ 81046 [austin halos] # Class CGI handles requests in a CGI<Common Gateway Interface> context.
| + 81056 [Dave PragPro] That might work. Before I get too deep in to this, though, could
| | 81070 [austin halos] Note that this doesn't solve every case. On the main page for that one, I
| | 81111 [Dave PragPro] Except it _would_ make sense to link to yourself if it's a ways down
| + 81177 [william will] I vote for this.  However, it does mean that in the situation of a class
|   81204 [Dave PragPro] It's on the list of things to do.
+ 81048 [hgs dmu.ac.u] Oh, yes, caffeine underflow error.  What about

^ what's wrong with REBOL?
80874 [mnhenley msn] I first came across rebol a while ago; it seemed interesting but then
+ 80876 [hal9000 hype] [snippage]
+ 80878 [B.Candler po] You're not selling it very well :-)
+ 80879 [newsgroups j] I don't know that there's anything "wrong" with it, other than
+ 80880 [peter semant] It has exactly the same faults as php, perl, python, java, ruby or any other
+ 80881 [ben thingmag] comp.lang.php,comp.lang.perl,comp.lang.python,comp.lang.java,comp.lang.ruby
| 80885 [hal9000 hype] Right. I failed to notice it was crossposted.
+ 80882 [feldt ce.cha] I'm not sure anything is wrong with it. In fact there
+ 80883 [matz ruby-la] Short answer: nothing.
+ 80886 [tjreedy udel] where
+ 80895 [rodrigo.berm] Very Intelligent SPAM ! (at least better than the nigerians =)
+ 80913 [cbbrowne acm] ... much omitted ...

^ Summary: callbacks (called in C embedding or extending Ruby)
80875 [basile-news ] A summary for people embedding Ruby

^ Dear  Friend
80877 [gabrielgazi2] This is a multi-part message in MIME format

^ YAML / Exerb problem
80888 [Meinrad.Rech] This is a multi-part message in MIME format.
80925 [tksano m3.kc] I'm not sure about this, but isn't it because your script is created

^ CAN YOU HELP?
80891 [seungchang2 ] MR. SEUNG CHANG

^ ANN: Phoenix eXtreme Programming User Group Meeting - September 8th
80892 [jay.turpin i] This is a multi-part message in MIME format.
80901 [james_b neur] Gee, I hope the meeting runs late ...

^ AW: EXErb
80894 [Meinrad.Rech] check out exerb from cvs, install, and compile. there are vc-project files.
80923 [tksano m3.kc] You can get precompiled ruby core files by downloading exerb-cc

^ DVD  120 ߥ!!!.......rRztiCJTcr......
80897 [jcode5 inter] This is a multipart message in MIME format.

^ Chinese Website Translation Service
80898 [info_s chine] Are you interested at the big Chinese market?

^ BigDecimal Bugs
80899 [unet rexx.co] I can't get BigDecimal to generate a -Infinity,
+ 80912 [unet rexx.co] Sorry to follow up to myself, but...
+ 80919 [unet rexx.co] Even after correcting bigdecimal.h so that

^ AW: YAML / Exerb problem
80900 [Meinrad.Rech] This is a multi-part message in MIME format.

^ OOP flavors - was Re: Python vs. Ruby
80903 [hal9000 hype] I'm sometimes interested in "varying flavors" of OOP. The one
+ 80907 [sean cSePlso] The Image object manages the image buffer.  It should control what goes
| + 80911 [feldt ce.cha] Sean O'Dell <sean@cSePlsoAfMt.com[REMOVE_THE_SPAM]> skrev den Wed, 3 Sep
| | 80917 [sean cSePlso] Object and method delineage will never be clear-cut, especially since
| + 80915 [ben thingmag] If you step back and try to think about these things in the real,
|   + 80920 [sean cSePlso] I don't think atomic physics is a good paradigm for programming, it's
|   | 80957 [martindemell] money = ATM.get_money(customer.atm_validation)
|   + 80938 [dagbrown LAR] Yeah, BUT, what the heck is the pen drawing?
|     + 80941 [rpav mephle.] The fact all of these "feel weird" is a good indication that you're
|     + 80942 [dossy panopt] Verb subject object.
|     + 80956 [martindemell] Shorthand for
+ 80935 [james_b neur] Note, though, that none of these cases require the receiver to know
+ 80990 [B.Candler po] But perhaps more importantly: we expect the receiver of a message to modify
  + 81004 [hal9000 hype] Thank you, that is perceptive.
  | 81016 [gedb01 yahoo] I think you have to recognise that there are different
  | 81038 [sean cSePlso] [...snip...]
  + 81027 [sean cSePlso] The principle of encapsulation is that only the receiver can actually
  + 81031 [rpav mephle.] Careful.  This is no more procedural than "stack.push(item)".  Consider

^ [ANN] ncurses-ruby-0.8
80910 [tpeters inva] ncurses-ruby makes most ncurses functions accessible from ruby. It can

^ [PATCH] RE: BigDecimal Bugs
80921 [wkb airmail.] Bret,
+ 80976 [shigeo tinyf] Yes, these bugs have been fixed in the most recent CVS version.
+ 81029 [unet rexx.co] [bigdecimal patch]

^ PRIVATE!!!!!
80926 [ekiomor670 h] MRS. EKI OMORODION

^ Class libpcap
80927 [hackerotaku ] Greetings to All,
+ 80930 [hackerotaku ] disregard
+ 81091 [maillist bes] found a much better one on raa. Goto raa (raa.ruby-lang.org) and search

^ Re: OOP flavours - was Python vs. Ruby
80928 [david.naseby] I like this style too, and Ruby allows one to do it well via Mixin Oriented
80931 [rpav mephle.] Actually this isn't a very good example.  This whole argument about
80932 [gsinclair so] I'm surprised nobody has mentioned the built-in method Object#display.  It
80936 [rpav mephle.] In fact, while I usually define #inspect or #to_s for simple debugging,

^ Segmentation fault when using FXRuby on 1.8.0
80939 [ruby4lover y] I am trying to run a simple FXRuby sample program from
+ 80950 [sdmitry lrn.] 8-<
| 81032 [ruby4lover y] Dmitry,
+ 81011 [lyle users.s] This looks fine to me. Which version of FXRuby are you using? Do the
  + 81034 [ruby4lover y] I am using version 1.8.0 built 2003-08-12.
  | 81050 [lyle users.s] 1. Which version of FXRuby are you using?
  + 81035 [ruby4lover y] Sorry, I forgot to tell you that the image appears to
    81047 [lyle users.s] Hmmm. If possible, please e-mail me a copy of the image.

^ How to bail from an iteration but not the program?...
80943 [keuler porta] All-
+ 80944 [dcarrera mat] dcarrera ~ $ cat control.txt
+ 80946 [anita everes] not leave the program?
  80947 [keuler porta] Thanks Daniel, Anita!

^ Possible to make compound if statements...
80945 [keuler porta] All-
+ 80948 [hal9000 hype] Don't repeat the if. It's like most languages.
| 80949 [keuler porta] Thanks Hal. Question: What do you mean by use ||? Could you give an example? (I'm new to Ruby and programming.)
| 80952 [hal9000 hype] && is essentially the same as and
| + 80955 [keuler porta] Say, do you think you'll be updating Ruby Way with info on the later version?!
| | 80992 [hal9000 hype] I'd like to think so, but the first edition has to sell
| | 80995 [andre digira] Amazon.com says there are only 5 left in stock. Is that a good thing?
| | 81005 [hal9000 hype] Hmm, I'm not sure what Amazon means by "in stock" -- I
| | 81008 [andre digira] Yes. The only store that has the book on their catalog says it can take
| | 81009 [hal9000 hype] I think it is available electronically from safari.net
| | + 81010 [robertm spel] You can get it off safari.oreilly.com or safari.informit.com, bascailly
| | | 81017 [andre digira] I'll search a bit more, and go for it if i don't find anything.
| | | 81020 [hal9000 hype] I have heard an unconfirmed rumor that they do.
| | + 81089 [fredde pobox] It's safari.oreilly.com.
| + 80978 [joey joeygib] Also 'and' and 'or' have "extremely low precedence" (according to Ruby in a
|   80982 [nobu.nokada ] foo = false || bar = true	# foo = true, bar = true
|   81001 [hal9000 hype] In case a newbie gets confused: He does mean = here, not ==.
|   81006 [nobu.nokada ] Maybe.
|   81007 [markjreed ma] Well, && and || are traceable back to C, no matter what route they took to
|   81052 [batsman.geo ] I don't know if it is this way in Perl too, but I believe matz said once
+ 80951 [austin halos] if field[0] == "AIX" or field[2] =~ /ldap/
+ 81071 [androflux so] Wrong syntax, use 'or'
threads.html
top