From: James Gray Date: 2008-09-02T06:48:44+09:00 Subject: Re: generate uuid On Sep 1, 2008, at 4:27 PM, Ezra Zygmuntowicz wrote: > On Aug 31, 2008, at 6:12 PM, Heesob Park wrote: > >> 2008/8/28 Newb Newb : >>> How Can I generate uuid ? any references or Ideas could You people >>> suggest.I have not even heard about it? >> >> You get get UUID on the WEB like this: >> >> require 'open-uri' >> uuid = open('http://www.famkruithof.net/uuid/uuidgen'). >> read.scan(/

([-[:alnum:]]+)<\/h3>/).to_s >> puts uuid >> >> Regards, >> >> Park Heesob > > > One thing I;ve found is that all of the UUID generators are > painfully slow if you need to make a bunch of uuid's. My favorite trick is: uuid = `uuidgen`.strip It has always been fast enough for my needs. James Edward Gray II