10683-11931 subjects 11089-14251
^ book review, opportunity for advocacy
10873 [nconway klam] Ruby' for kuro5hin.org (if you don't know the site, it's a weblog like
+ 10879 [feldt ce.cha] www.ce.chalmers.se/~feldt/ruby/summaries/comparing_ruby_and_smalltalk.html
+ 10884 [Dave Pragmat] I think it's a fair review. Your major complaint is with the coverage
^ Re: When will 8.4 be ready?
10874 [schneik aust] That would certainly make many Perl, Python, and Ruby users of Tk happy.
^ are any RUGs taking off?
10875 [dblack candl] It doesn't look like too many people are swarming to the Ruby User
+ 10876 [bryan_zarnet] Hey David,
+ 10880 [feldt ce.cha] GOTRUG is not large but we'll soon have our first meeting. We expect 3-6
+ 10887 [hal9000 hype] There are at least three in Austin, Texas. I'll make it over there
10930 [schneik us.i] # It doesn't look like too many people are swarming to the Ruby User
^ Ruby/Tk Grid Geometry Example
10877 [jkaurin Mind] ...
+ 10925 [jfn enteract] ...
| 10932 [schneik us.i] # >All my attempts with grid geometry and Ruby/Tk have met with failure.
+ 10944 [jkaurin Mind] ...
10878 [tmylen2 bell] ...
^ Newbie question on method scope.
10881 [nickb fnord.] ...
^ /bin/sh script beats pants off ruby script
10889 [gstrock pacb] ...
+ 10895 [harryo zipwo] ...
+ 10901 [behrends cse] ...
10904 [gstrock pacb] ...
10926 [jfn enteract] ...
11005 [dgjs acm.org] Rather than using 'syscopy' in Ruby, I'd try using using 'sysread' and
^ Avoid bad advocacy, please
10906 [ben_tilly ho] Last night I went to a talk by Damian Conway. (Wonderful
10917 [matz zetabit] <snip all good words>
10933 [Robert.Dawso] Wow.....
+ 10935 [john_van_v y] Uncanny... Larry W's dad was a missionary, I think his linuguistics interest
| 10936 [ptkwt shell1] ...
| 10937 [will softboo] And let's not forget rn :)
| 10940 [ben_tilly ho] unorthodox opinions about what a programming language
+ 10950 [matz zetabit] I think it's too off-topic, sorry in advance.
10968 [neil purplem] Hey Matz,
11014 [matz zetabit] I was here in Matsue, 100 miles notheast from Hiroshima.
^ rwiki *hangs* in send()
10909 [wys helbling] ...
+ 10941 [nahi keynaut] Though I have not tried 1.7.0 yet, try
| 10956 [wys helbling] ...
| + 10957 [hdstich comm] are you using an apache with mod_ruby?
| + 10958 [nahi keynaut] These are normal outputs with -d environment(in some
| 10961 [WYS helbling] What a bad typing ;-(
+ 10949 [matz zetabit] This patch might change the situation (i.e. it was a socket bug).
10965 [wys helbling] ...
^ Making Hash from two lists
10912 [kom mail1.ac] a Hash from lists of keys and values.
10915 [dblack candl] There were a couple of flurries of discussion about a possible
10916 [kom mail1.ac] Beside the method naming, I choose to make it as Hash.map
+ 10919 [aleksi.nieme] I'm sure they're useful to have around, but I'm not convinced they should be
| 10922 [kom mail1.ac] Yes, that was the exact reason I wanted to put my snipet into
+ 10931 [dblack candl] I agree. In fact, I think I'm regressing. In some of the discussions
10938 [schneik us.i] Kenichi Komiya
^ Any writeups of how to write extconf.rb (and use mkmf)?
10913 [ljohnson res] ...
10921 [jrosenblum e] please unsubscribe me
^ [ANNOUNCE] FXRuby - Ruby bindings for FOX GUI toolkit
10923 [ljohnson res] ...
11439 [knu iDaemons] Nice work! And praise be to the SWIG power! :)
^ Mashal.dump 10000 records, Marshal.load only reads 9939 records
10924 [mdavis sevai] I have provided a small ruby script to test Marshal dump and how efficient
10927 [mike stok.co] They're probably lurking in the writing file's buffer. Try adding an
10928 [hgs dmu.ac.u] File.open() can be followed by a block, which is useful because the close
10929 [mike stok.co] # make sure t and rows are available later
10963 [decoux moulo] ...
10964 [mdavis sevai] Thanks. Sometimes I just have to wonder about myself :)
^ ANN: Windows Installer for 1.6.2
10943 [andy toolshe] ...
10972 [hgs dmu.ac.u] Will installing this uninstall the previous version or do I
10986 [andy toolshe] ...
10992 [hgs dmu.ac.u] could be performed if the user wishes, if an earlier version is detected.
11000 [andy toolshe] ...
^ How do I get current login (like Perl's getlogin)?
10945 [ptkwt shell1] ...
+ 10946 [eban os.rim.] % ruby -r etc -e 'p Etc.getlogin'
+ 10947 [matz zetabit] require 'etc'
| 10952 [ptkwt shell1] ...
+ 10948 [hal9000 hype] getlogin)?
^ Etc module documentation?
10953 [ptkwt shell1] ...
10954 [Dave Pragmat] Have a look in the ext/ and lib/ subdirectories in the standard
^ Re: Borrowing some Perl infrastructure
10955 [ptkwt shell1] ...
^ AW: Re: rwiki *hangs* in send()
10959 [WYS helbling] I do have mod-ruby installed, but it is not used with for rw.cgi, but I only
^ AW: Re: rwiki *hangs* in send()
10960 [WYS helbling] yes, it still hangs...
^ ****SPECIAL REPORT****
10962 [wilsoncredit] ...
^ RCR Summary 02/16/01
10966 [wmwilson01 h] I thought that maybe every Friday, I could list the open change requests to
10967 [dblack candl] Very, in my opinion.
10975 [ben_tilly ho] Do you mind just anyone adding a request? I was about to
10976 [decoux moulo] ...
10978 [wmwilson01 h] Well, I don't really mind right now, but thought I should get folks in the
10983 [ben_tilly ho] Sorry for the unclarity. By an assertion I meant a
10985 [decoux moulo] ...
10987 [ben_tilly ho] By default you recognize that a is a variable.
10990 [ben_tilly ho] Well 1 and 2 are intertwined.
+ 10994 [glen enabled] Are you talking about something like VBs (GASP!) Option Explicit for #1?
| 10996 [ben_tilly ho] My actual inspiration is actually Perl's strict pragma.
| 11002 [wmwilson01 h] done. geez, now I've got carpel tunnel syndrom ;) ow! ow!
+ 11011 [ zak ale.cx] ruby -v -e'a="b"; $c="d"; @e="f"; def g; "h"; end; puts "#a #$c #@e #g";'
11013 [decoux moulo] ...
11015 [ben_tilly ho] I should follow up by noting that it is unwise to plan
11016 [decoux moulo] ...
11018 [ben_tilly ho] Yes. And with Perl I throw in "my" whenever I have
11019 [ben_tilly ho] I listed it because it is a complaint I have seen.
11043 [decoux moulo] ...
10969 [cyoungbl leg] ...
10973 [aamine dp.u-] GOTOU Yuuzou is writing SSL-HTTP class (alpha version yet).
10981 [cyoungbl leg] ...
^ subscribe Guerry Semones
10970 [gsemones pri] subscribe Guerry Semones
^ Re: RCR Summary 02/16/01 -suspend
10971 [hgs dmu.ac.u] Yes, it was me. "wants" should be "wants discussion on" -- I've not
+ 10997 [harryo zipwo] ...
+ 10998 [Dave Pragmat] does each call site get its own, or is it based on scope. For example,
+ 10999 [ben_tilly ho] sub fib_generator (x=0, y=1)
+ 11003 [hgs dmu.ac.u] I can't remember. In Icon the sequence can be finished by fail or
+ 12011 [hgs dmu.ac.u] "The Icon Programming Language", 3rd Edition, Griswold and Griswold.
^ Problem with Windows Installation 1.6.2
10974 [cyoungbl leg] ...
+ 10979 [cyoungbl leg] ...
+ 10991 [andy toolshe] ...
| 11010 [carlyoungblo] ...
+ 11001 [noel.rappin ] This looks very similar to the telnet problem I reported a few weeks back
^ Net::HTTP with basic authentication
10980 [cyoungbl leg] ...
10984 [decoux moulo] ...
11020 [carlyoungblo] ...
^ Ruby in the (almost) news
10993 [Dave Pragmat] Need-To-Know is a weekly sarcastic newsletter from the UK. Ruby is
10995 [mjais web.de] cool article.
11095 [ ddj kmd.dk] ...
11097 [aleksi.nieme] Good for you!
11099 [ray hackfoo.] I've missed some of this thread I believe, but it seems the user is
11101 [aleksi.nieme] My understanding is that the poster wasn't looking for any particular
11168 [ ddj kmd.dk] ...
11170 [neumann s-di] No!
^ Generators (was: RCR Summary 02/16/01 -suspend)
11007 [jweirich one] How about this ...
11073 [crippel prim] [really neat example]
11181 [matju cam.or] Despite a regular functional implementation of fib(n) being in O(fib(n))
+ 11183 [ben_tilly ho] Actually isn't it O(n*n)? There are n steps, with numbers
| 11186 [matju cam.or] Yes. Sorry.
+ 11205 [crippel prim] I was curious how the ``callcc'' solution (much more interesting
^ ****SPECIAL REPORT****
11009 [wilsoncredit] ...
11017 [matju cam.or] a = "FooBar"
11025 [erne powerna] a doesn't exist thus a[6,2] doesn't exist, thus Ruby says "Ain't no such
+ 11026 [gnhurst hurs] Yes, but b doesn't exist, either, so why should b[6,2] exist?
| 11032 [yashi yashi.] maybe just a typo?
| + 11055 [matz zetabit] oops.
| + 11059 [matju cam.or] Thanks, but I think the problem is more with String...
+ 11027 [jweirich one] b doesn't exist either. Yet b[6,2] returns an empty string.
11028 [jweirich one] Oops ... I meant "empty list". But of course you knew that :-)
11078 [elderburn mi] Yes, but we are comparing apples and crates.
^ RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2001-02-17)
11021 [schneiker ju] ...
^ Ruby Netiquitte
11022 [schneiker ju] ...
11023 [joe vpop.net] I happen to prefer replies *above* the quoted text (and sometimes
+ 11024 [ben_tilly ho] I certainly hope "if". Many years of experience with
+ 11029 [hal9000 hype] Thank you, Joe. I, for one, agree completely.
| + 11030 [Dave Pragmat] I can see your points, but...
| | 11033 [hal9000 hype] Heh heh... thanks, Dave (and Guy).
| | + 11034 [Dave Pragmat] Turn your screen upside down, perhaps.
| | | 11035 [ben_tilly ho] I just asked what people do in an interactive forum
| | | 11079 [elderburn mi] Well, since I qualify as someone who processes hundereds of emails per day, I
| | + 11054 [duncan nycap] Is _that_ why my email client (Netscape) always puts me at the _bottom_ of the
| | 11080 [john_van_v y] I suppose I have always left enough original text to tell everybody wants going
| | 11091 [ffiloseta ca] ...
| + 11031 [gnhurst hurs] Sorry Hal, but I make my mail client put the most recent emails
| + 11036 [behrends cse] ...
| | 11039 [spwhite char] Excellent point.
| + 11151 [jdf pobox.co] "I resent having to use my turn signal and wait for an safe and
| 11171 [john_van_v y] Brilliant quote, where did you find/hear it ??
+ 11038 [spwhite char] I prefer to see the original message above the reply because it gives me the
^ to_s and <<
11037 [tarod home.c] list = [1, 2.3, 'four', false]
+ 11040 [barry_shultz] I think you can only concatenate with another string ( so you could use
+ 11041 [spwhite char] a = "hello"
11042 [dblack candl] I notice, though, that the pickaxe book gives the argument type for
+ 11044 [spwhite char] rb_define_method(rb_cString, "<<", rb_str_concat, 1);
| 11052 [spwhite char] Gawd, I'm thick. I overlooked this when it was jumping up and down and
| + 11053 [hal9000 hype] Hmm, don't apologize... I'm thicker than you are.
| | 11057 [matz zetabit] 'to_s' is a mean to convert something into a string (if you really
| | 11061 [jonas.bulow ] Wouldn't name like "as_str" and "to_str" make more sense?
| | 11063 [duncan nycap] The problem with this explanation is that i have no idea what it means for
| + 11062 [tarod home.c] Don't beat yourself up--give the rest of us a chance!
+ 11048 [hal9000 hype] [snip C code]
| 11067 [Dave Pragmat] Perhaps, but I don't think so. to_str is not the same as to_s. to_str
| + 11068 [ben_tilly ho] Think of it this way. foo.to_s tells foo to describe itself
| | 11072 [duncan nycap] Wow! That was a little too subtle for me to guess. I think because of the
| | 11074 [dblack candl] No, because to_s is inherited from Object by every object, whereas
| | + 11075 [harryo zipwo] ...
| | | 11077 [spwhite char] I'm kinda thick, so I have a simpler view...
| | | 11083 [hal9000 hype] string
| | | 11085 [ben_tilly ho] Example. Ruby allows you to check whether a string
| | | + 11086 [hal9000 hype] OK, I think one more neuron in my brain reached out to
| | | + 11090 [elderburn mi] [ Excellent more detailed explanation snipped]
| | + 11082 [elderburn mi] Or, consider that varying methods either assume an object is a string
| + 11069 [hfulton aust] Well, if you look at the << method, it just says it takes "anObject"...
| 11070 [Dave Pragmat] It's talked about on 382, under to_str.
+ 11050 [decoux moulo] ...
^ parsing XML in ruby?
11045 [ tk hcsd.de] I just tried to ask wether there's some code to parse xml in ruby.
+ 11046 [Dave Pragmat] Which is a wrapper for expat.
+ 11049 [neumann s-di] There is xmlparser, an "Expat Module for Ruby", or if you want
+ 11051 [ zak ale.cx] I'm not sure I understand the second and third lines of your mail, but
^ xml - found.
11047 [ tk hcsd.de] sorry for my question. I've just found
^ DTD for Ruby reference XML
11056 [news-9825099] ...
11084 [ x y.z] all that stuff was generated automatically, so the structure is fairly
^ ****SPECIAL REPORT****
11058 [wilsoncredit] ...
^ Win32 extension module proposal
11060 [ptkwt shell1] ...
11088 [feldt ce.cha] I've got some stuff related to Process start and control and registry
11064 [ppladijs cag] # get 10804
^ MetaRuby 0.5
11065 [matju cam.or] MetaRuby 0.5
11071 [crippel prim] matju what do you think about organizing the different
11177 [matju cam.or] It depends on what benefit there would be to. I organized such methods
11207 [crippel prim] I remember this discussion. The problem with set operations is
^ Re: RubyChangeRequest #U002
11066 [ppladijs cag] The explanation of Hash#indexes at
^ Re: Irix build + __builtin_frame_address(2)
11081 [jonnalag stu] I was able to build ruby on IRIX. However a change had
^ Summary: RCR #U002 - proper new name for indexes
11087 [matz zetabit] (a) Hash#values, Array#values
11093 [dblack candl] (i) Hash#values_for, Array#elements_at
11094 [aleksi.nieme] My vote(s) go for choice i, or if in the end game it's considered too long,
+ 11098 [jvradelis me] (k) Hash#, Array#
| + 11107 [jmichel schu] I must say that despite the fact that this would change incompatibly the
| | 11128 [matju cam.or] a=[2,3,5,7,11,13]
| | 11131 [schneik us.i] #
| | 11133 [dblack candl] In spite of being an advocate of having two different names, I do
| | + 11135 [Dave Pragmat] a = 
| | | + 11138 [crippel prim] ...
| | | + 11140 [dblack candl] There's no question that they behave differently, and offer different
| | + 11143 [matju cam.or] Maybe that's because it's called Array#include? ?
| | 11144 [dblack candl] I meant I never missed being able to call it as #has_value? (as one
| | + 11145 [dblack candl] Whoops. I mean as one can in the case of Hash#has_key?/#include?.
| | | 11148 [matju cam.or] Sorry, saw this reply just after pointing out the same.
| | + 11147 [matju cam.or] ok, i understand now.
| + 11110 [decoux moulo] ...
| | + 11112 [wmwilson01 h] Just wanted to jump in and give 3 cents worth. This is an argument that
| | | 11114 [gnhurst hurs] Hey, that is a great idea! As my four-year old likes to play "goldfish"
| | + 11196 [jvradelis wi] Well, you can't make an omelette . . .
| | 11220 [schneik us.i] #
| | 11227 [ zak ale.cx] Good point.
| + 11245 [dfan harmoni] You probably already know this, but the Array functionality you
| 11254 [schneik us.i] #
+ 11100 [decoux moulo] ...
| 11190 [jvradelis wi] In the example given, the result of myArray[4,2] would be [5, 3].
+ 11102 [jmichel schu] I like to consider an array conceptually as a special case of hash where
11105 [feldt ce.cha] I fully agree with this and would like to add that its easier to learn one