41883-43622

41677-48386 subjects 42093-42578

^ DRb, Rinda and Jini
41883 [ahumphreys p] I've been experimenting with DRb and Rinda recently - a beautifully
+ 41888 [list chromat] A while ago I modified an XML marshalling module and put the tuple
| 42197 [ahumphreys D] Sounds very interesting indeed. Publishing the code would be great.
+ 41901 [ned bike-nom] Perhaps. I need to make a Ruby/Squeak/possibly Perl system that can do
+ 41977 [pit capitain] On 6 Jun 2002, at 17:42, Aidan asked about interests in DRb, Rinda and Jini.
  41979 [pbrengard bc] I am searching for some docs about Rinda. Are there any ?

^ Struct :symbol vs 'string' difference
41887 [timsuth ihug] ruby 1.6.6 (2001-12-26) [i586-linux]
+ 41902 [matz ruby-la] If the first argument to the "new" is a string, it will be the name of
| 42033 [timsuth ihug] Thanks for the explanation.
+ 41903 [tom.hurst cl] If Struct#new's first argument is a string, it's used as the name of the

^ unsubscribe
41899 [BMahadevan N] This message is in MIME format. Since your mail reader does not understand

^ Array.foldr (Array.reduce)
41900 [kgergely mla] I've noticed ruby has nice high level functions.
+ 41905 [ned bike-nom] #   foldr(e, array) { |partial,b| partial+b }
| + 41909 [nobu.nokada ] Enumerable doesn't have reverse_each.  Array#reverse_inject may
| + 41910 [rawlins cs.u] Just a note in the case that you want a really correct solution, AFAIK you
| + 41913 [kgergely mla] Thanks for your solution.
+ 41914 [matz ruby-la] "inject" *is* available in 1.7.  The point is the method name, for

^ 200元起即可使用自己的邮箱,宣传自己的品牌!赶快行动吧!
41904 [001isp www.a] 安全 稳定 超大容量--时创网络第三代邮件系统

^ Hashes sensitive to simularity
41907 [tom.hurst cl] I'm after something like nilsimsa[1]; a hashing algorithm that allow you to
+ 41912 [ned bike-nom] Perhaps Levenshtein distance?
| 41915 [tom.hurst cl] Mmmn, the thing is, I really need a key I can use for a database and a
| 41918 [djberge qwes] Perhaps Napster will open-source their fingerprinting technology now that
+ 41921 [pbrannan atd] Since I don't know your application, I'm not sure how closely this
+ 41946 [r2d2 acc.umu] That is not possible in the general case, consider for example
  41948 [rick rickbra] On the contrary, soundex meets the poster's criteria, it just may not be

^ —弓桂—离帕パック猛布げ—
41916 [eto vip.163.] This is a multi-part message in MIME format

^ 1-second events
41919 [pbrannan atd] I need to create an event that occurs exactly once per second.
+ 41920 [djberge qwes] I've never looked at the internals of Time::HiRes (a Perl module), but it
+ 41954 [nobu.nokada ] SIGALRM is used by the interpreter internally, so you can't use
  + 41955 [dossy panopt] def do_after(sec, &block)
  | 41958 [nobu.nokada ] loop do
  | 41987 [pbrannan atd] p Time.now
  | + 41989 [dossy panopt] Welcome to the world of soft real-time systems.  You're battling
  | | 41997 [pbrannan atd] Five milliseconds of drift is a lot of drift, even for a non-real-time
  | | 42005 [cbbrowne acm] If you strictly _need_ that kind of accuracy, then you'll need to
  | + 41998 [wakou ruby-l] loop do
  | | 42003 [Dave Pragmat] def every(period)
  | | 42065 [pit capitain] You can get it even simpler with the original code and a method
  | + 42069 [nobu.nokada ] See [ruby-talk:41954].
  + 41990 [michael_s_ca] This seems a rather heavy handed tact to take by the language; do
    41996 [pbrannan atd] I think it uses SIGVTALRM for threading; this is a common trick to
    42068 [nobu.nokada ] Sorry, mistaken.  You're right.

^ Unflatten
41922 [ADATE kc.rr.] This is probably a general programming question but  I am using Ruby as my
+ 41937 [vjoel PATH.B] actually only a right inverse since flatten is not injective.) What you
| 42031 [vjoel PATH.B] FWIW, I just realized that a grouping can be done very easily using
| 42074 [ADATE kc.rr.] Excellent suggestions, Joel, I have added them my perosnal "goodies"
| 42097 [vjoel PATH.B] Thanks. BTW, I'll include #nest and #group in future versions of
+ 41949 [r2d2 acc.umu] def unflatten(list, left='(', right=')')
  41962 [phasis hanan] list
  41973 [szegedy nosp] Sometimes it may work, but it's quite simple to construct more

^ BlackAdder good/bad?
41925 [JERRY Kenra.] I just came across a visual development for Ruby and Python.  It's called BlackAdder.  Has anyone had experience with this?  It looks like the Ruby integration is still in fairly early stages but they are working on enhancements.
+ 41926 [djberge qwes] I heard it was originally called "BlackVegetable", but they decided that
+ 41927 [sean BUHBYES] Sean
+ 41980 [nat.pryce b1] Maybe the developers have a cunning .plan.

^ Getting a reference to the object which called a method
41928 [mjohnston it] Is it possible to get the same effect as the following, but without
+ 41929 [pbrannan atd] Yes, but all the solutions I know of are either slow or buggy (see
| 41940 [mjohnston it] Hmm :) What I'm trying to do is ensure that only the object which
| + 41950 [r2d2 acc.umu] I would probably do this by creating a proxy to the object with a safe
| + 42008 [alan digikat] Is your intent that some methods in object B will be callable by
|   42010 [pbrannan atd] Or, alternatively, use have objects A and B share a common object C (and
+ 41970 [jean_hugues_] Do you need to know about the calling object or do you intend it to

^ Weightless threads?
41930 [whizkid xnet] I was reading through IBM Developer Works newsletter today, and I came
41933 [ned bike-nom] Sure; Squeak (Smalltalk) has very lightweight threads. People have had
41934 [whizkid xnet] Ok, so how can we use them in Ruby? Or aren't them impelemnted yet?

^ [Marketing] IMPRESORA LASER MINOLTA SP1000
41932 [clientes his] This is a multi-part message in MIME format.

^ Returning an instance from a different class from new
41935 [jos catnook.] [For some reason I am no longer subscribed to ruby-talk and I don't get any
+ 41938 [vjoel PATH.B] def self.new(sel=nil)
| 41952 [jos catnook.] [clever mods deleted]
+ 41942 [alan digikat] I would recommend breaking out the functionality in
  41953 [jos catnook.] module FooFactory
  41960 [alan digikat] BTW, if you change the signature of build to
  42032 [jos catnook.] Yes, that works, but why? self.type prints as "Module".

^ Error accessing www.rubyconf.com
41939 [kathy.philli] due to the following error:  Time Out

^ InternetSeer Free Activation Confirmation
41941 [ndsub mail.i] Dear InternetSeer,

^ InternetSeer Alert
41943 [ndsub.7g7j5Y] <html>

^ Cancel
41944 [harryo zip.c] ...
41945 [rick rickbra] It's a spammer.  I've been reporting them (and another obnoxious spammer
41957 [Dave Pragmat] It does - the list isn't open because of the gateway.
41963 [rick rickbra] You're right (I'd misremembered the thread starting at [ruby-talk:39724]).

^ InternetSeer Recovery
41947 [ndsub.7g7j5Y] <html>

^ how do I get the referer from eruby?
41951 [sera fhwang.] How do I get the HTTP_REFERER in eruby? I haven't been able to find
41964 [ned bike-nom] Isn't it passed in the environment as usual?

^ Ruby 1.6.7 core dump
41956 [mattbee soup] I had a core dump with Ruby 1.6.7 (built from the RPMs at Caliban.org) and
41959 [nobu.nokada ] What's the release date?
41976 [mattbee soup] $ ruby -v
42275 [nobu.nokada ] Can you try with newer version?

^ ADV: Direct Email Blaster, email addresses extractor,maillist verify, maillist manager ...........
41965 [targetemaile] =3Chtml=3E

^ Ruby pros: Please help...How to create multiple copies of FileA u sing names from FileB?
41966 [keuler porta] All-
41968 [phasis hanan] line has three colon delimted fields (field1, field2, field3). What I want
41999 [keuler porta] Thanks, Park. I'll give this code a try.
42023 [han pobox.co] Well, ir worked for me. Maybe (if you are using a Unix variant) you

^ ANNOUNCE: PageTemplate 0.3.1
41967 [brian coolna] I finally had enough time away from job stuff to add things to
+ 42006 [sean BUHBYES] Awesome Brian, love this PageTemplate library.  =)  I'm making massive
| 42013 [brian coolna] Wow.  Somebody's actually using it?  Thanks, it's a nice pat on the
+ 42052 [sangamon t-o] I'm just trying it out and it looks really nice and simple.
  42127 [brian coolna] Thanks for finding and fixing!  The error you describe has been added

^ subclassing SWIG generated c++ class
41969 [Martin.Man s] I've created simle c++ class
+ 41971 [pbrengard bc] maybe, the generated code lacks the call 'rb_obj_call_init' in the code
| 41972 [Martin.Man s] well that could be, I can see by walking thru ObjectSpace that my class has
+ 41974 [szegedy nosp] .... and this is completely correct and intended. The object in
| 41975 [Martin.Man s] well the problem is that you'd expect my program to output something like
| 42000 [lyle users.s] Just to be clear for anyone else following this thread; the Ruby method
+ 41988 [jlj cfdrc.co] Martin,

^ Your InternetSeer Account Update
41978 [support inte] As per your request, I have inactivated your account.

^ ANN: Test::Mock 1.0
41981 [nat.pryce b1] src/rough/lib directory of the Ruby CVS repository.

^ How to create one hash from two arrays
41982 [Radek Hnilic] How can I simply build one hash from two arrays.  One containing keys
+ 41984 [Radek Hnilic] After sending question I found this solution
+ 41985 [airboss node] Assuming a one-to-one correspondence between keys[0] and vals[0],

^ Local works, Instance fails
41983 [x ichimunki.] I have written a TkSlide widget which essentially incorporates a conversion
41986 [decoux moulo] This is the way to do it, because if TkPhotoImage::new has a block it will

^ time_t seconds since 1970 to Ruby Date?
41991 [herman_graal] Is there a simple way to get a Ruby Date object from a unsigned int32 number representing the number of seconds since January 1st 1970?
41992 [christian ri] Time.at( Time.now.to_i )
42001 [mike stok.co] But if you want a Date object you might end up saying

^ Need a ruby book
41993 [khindenburg ] Well, I really need a ruby book; something to grab hold of and occasionly
41994 [tobiasreif p] Tobi
42050 [Chad.Fowler ] #Well, I really need a ruby book; something to grab hold of and occasionly
42051 [vmreyes us.i] #Well, I really need a ruby book; something to grab hold of and occasionly
42053 [bill tasis.c] So that not all of have to buy all of the books would you like to
+ 42054 [khindenburg ] I noticed that Matz has a new book being released this month.  I wonder if
+ 42055 [ahumphreys p] Hop over to amazon.com and amazon.co.uk. There are reviews of The Ruby
  42056 [tobiasreif p] ... to *not* make... ?

^ rdtool question & suggestions
41995 [djberge qwes] I'm using rdtool 0.6.11.  I see that there are several formats to choose

^ SWIG & the New Allocation Framework (Ruby 1.7)
42004 [lyle users.s] All,
42007 [decoux moulo] If you do this all method call must be protected to be sure that
42015 [jlj cfdrc.co] Of course you're correct, but is it intended that the user will call
+ 42049 [decoux moulo] Yes, some users can find usefull to use ::allocate
+ 42083 [chr_news gmx] impression

^ random comments on announcement
42009 [martine cs.w] Link from "programmer's perspective" page to "designer's perspective"
+ 42012 [brian coolna] Argh ... so much for CSS saving us all from browser issues.  I'm using
+ 42014 [rick rickbra] That wouldn't happen to be an IE 5.* browser on a Mac would it?
  42027 [martine cs.w] (To the list:  sorry, I intended to make my initial response off-list,
  42029 [rick rickbra] ``Reply-To Munging Considered Useful''

^ Is mod_ruby safe to use?
42011 [pmak animegl] Is it safe to use mod_ruby yet? I have to develop a small
42180 [sean chitten] Yes.  I use mod_ruby extensively and have had no problems with it to
43600 [jonathan alu] I remember seeing not too long ago a little gotcha somewhere in the
43622 [sean chitten] Actually, it's graceful that you have to watch out for, but that's not

^ Re: How to use a Python library
42016 [lyle users.s] Haven't tried this at all, but I do see a "Ruby/Python" entry in the
42058 [pbrannan atd] I've tried it.  The web page looks really nice and has some good

^ precedence of =, and, or
42018 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
+ 42019 [mike stok.co] You can use the higher precedence && and || operators e.g.
+ 42020 [Dave Pragmat] 'or' and 'and' are statement level joiners, while '||' and '&&' are

^ big dumb very newbie question
42022 [aleph aleph-] i'm not just new to ruby, i'm quite new to programming in general (beyond
+ 42024 [han pobox.co] You are using undefined variables ($randomComment, $protect).
| 42025 [aleph aleph-] no, i just didn't want to clutter the mail, sorry - like i said, printing the
| 42028 [ms iastate.e] Sure - it's often useless to try to figure out why something doesn't
| 42034 [aleph aleph-] o, i see.  thanks!
+ 42038 [nat.pryce b1] It would help if you told us *how* the script broke.  E.g. what error

^ anything similar to Jython ?
42030 [sbalu nyx.ne] Is there anything similar to Jython in
42041 [dsafari xtra] I think you may be wanting JRuby.

^ FIFO IPC questions
42035 [piman sacred] stupid/frequently asked.
42036 [martine cs.w] Hey Joe!  :)

^ 'quit' instead of 'exit' for irb?
42037 [pmak animegl] A suggestion: How about making 'quit' a synonym for 'exit' in irb? I
42039 [vjoel PATH.B] Just put 'alias quit exit' in your .irbrc file.

^ GTK w/ ruby
42040 [cmatheson3 h] Hey,
42059 [alan digikat] If it's a recent version, the library should also have sample code,

^ words[0] ! =~ /#*/ doesn't match "#aaaaaaaaa"
42042 [pbooth nocoi] I am attempting to parse the following file and ignore lines that begin with
+ 42043 [rick rickbra] /#*/            will match any string (the '*' makes '#' optional)
+ 42044 [dossy panopt] Use /^#/ and not /#*/ -- these are regular expressions, not
+ 42045 [dsafari xtra] Maybe this helps, you are looking for "does not match"
+ 42142 [erik bagfors] For easier reading of the code I suggest doing like the following

^ Help: Improper use of gsub?
42046 [keuler porta] All-
42047 [armin xss.de] try calling gsub! instead of gsub as otherwise

^ How to view the ruby-tk81-demos-english
42060 [mxiao ee.ual] I have downloaded the demos file, but I cannot view it.When I typed "wish83
42061 [angus quovad] I don't know about these specific demos, but it seems to me that you are
42062 [mxiao ee.ual] Thanks, but  according to the "readme", these demos file should run under
42063 [angus quovad] Sorry. Just to test, I downloaded the demos from
42064 [mxiao ee.ual] Thank you evry much. Your mails are really helpful. May i ask you to try
42099 [angus quovad] I think these files are not supposed to be run directly. The script "widget"
42183 [mxiao ee.ual] Thank you so much. Now I try to run these scripts and learn how to use

^ How to redirect output to another directory?...
42066 [keuler porta] All-
42067 [keuler porta] File.new("./output/"+field[0],"w+").write(content2)

^ Possible memory bug in Ruby? I'm stumped!
42070 [keuler porta] All-
42071 [phasis korne] correctly inserts the contents of file "intro_subtemplate.txt" into a
42084 [sean BUHBYES] This is exactly the sort of problem that GC causes.  Those files should

^ auto translation ML
42072 [wakou ruby-l] I make auto translation mailing lists for Ruby.

^ Hash#===()
42073 [han pobox.co] require 'benchmark'
42075 [han pobox.co] Of course
42076 [decoux moulo] I've not understood you want to write this ?
42077 [han pobox.co] Yes,  like a test for set membership. It seems
42079 [kentda stud.] I'd be more inclined to alias it to the Enumerable#include? myself. That
+ 42080 [decoux moulo] In this case you change Array#===
| 42081 [decoux moulo] Forget it I've said stupidity, as usually
+ 42082 [han pobox.co] I believe it does. My point is that Hash#=== doesn't have a useful purpose

^ Freshmeat article on Ruby Templates
42078 [jack_d_herri] Sorry about the self advertising.

^ Ruby 1.8
42085 [kevinethridg] When is 1.8 going to be released?

^ ANN: REXML 2.3.5 && 2.2.3
42086 [ser germane-] <posted & mailed>
+ 42087 [tobiasreif p] Agreed. Especially complex modular ones like DocBook or XHTML 1.1.
| 42091 [ser germane-] <posted & mailed>
| + 42092 [james rubyxm] be
| | 42102 [ser germane-] In this case, I mean what is likely to be used.  The W3C does tend to act
| | + 42104 [james rubyxm] None of the above.  REXML should not do validation.  It should, perhaps,
| | | + 42111 [ser germane-] Hmm.  Ok.  What I meant was that I sort of feel obligated to provide a
| | | | 42128 [james rubyxm] Are there validation schemes that require the entire document be in memory
| | | | 42167 [ser germane-] I don't think so, but consider how you're going to do validation outside of
| | | | 42168 [tobiasreif p] When working with XML documents, this is often true as well. Especially
| | | | + 42174 [hutch recurs] Hmm, this is an interesting point of view expressed here by both you and
| | | | + 42179 [james rubyxm] What I've found, though, is that that cost of incessant validation is often
| | | |   42246 [ser germane-] This may be true in your domain, but there are often circumstances where you
| | | |   42315 [dossy panopt] While I totally agree with Sean, I think Sean missed James's point.
| | | |   42349 [ser germane-] Hm.  Yes, there's definately been some miscommunication.  I never implied
| | | + 42139 [tobiasreif p] call Xerces via `` :)
| | + 42184 [comp.lang.ru] - - I don't know if this is much help or not, but there is a tool
| |   42255 [ser germane-] This /is/ very useful.  It doesn't solve the basic problem where the schema
| + 42149 [comp.lang.ru] - - There aren't as many tools as for XMLSchema, but there are
+ 42088 [pierre.baill] I know this is probably naive from me but I thought I was told that "<",">"
  + 42089 [ser germane-] '>' is a legal character -- it is allowed, unquoted, in XML.  The only ASCII
  + 42090 [james rubyxm] ">" is OK, though some (me) find it easier to read if all such markup is
    42094 [tobiasreif p] "The ampersand character (&) and the left angle bracket (<) may appear
    42106 [ser germane-] You quoted this out of context, Tobi.  The spec states that the right angle
threads.html
top