From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Should Emacs provide a uuid function? Date: Thu, 28 Apr 2011 11:11:17 -0400 Message-ID: <1699D3E3-58E4-4050-BAD9-82D6E8BFC8EC@raeburn.org> References: <87ipu3v0ru.fsf@stupidchicken.com> <871v0raqub.fsf@uwakimon.sk.tsukuba.ac.jp> <42A7030B-DE0C-4CCA-A768-B82BE70C42F9@raeburn.org> <87liyynm6a.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304003497 17936 80.91.229.12 (28 Apr 2011 15:11:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2011 15:11:37 +0000 (UTC) Cc: Emacs Dev To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 17:11:33 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QFSsM-0007KQ-5G for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2011 17:11:30 +0200 Original-Received: from localhost ([::1]:57650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFSsI-0004zq-KO for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2011 11:11:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFSsC-0004qf-0g for emacs-devel@gnu.org; Thu, 28 Apr 2011 11:11:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFSsB-0004q5-21 for emacs-devel@gnu.org; Thu, 28 Apr 2011 11:11:19 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:64538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFSsA-0004q1-Vx for emacs-devel@gnu.org; Thu, 28 Apr 2011 11:11:19 -0400 Original-Received: by vws4 with SMTP id 4so2749753vws.0 for ; Thu, 28 Apr 2011 08:11:18 -0700 (PDT) Original-Received: by 10.52.98.34 with SMTP id ef2mr1477023vdb.293.1304003478640; Thu, 28 Apr 2011 08:11:18 -0700 (PDT) Original-Received: from squish.raeburn.org (c-24-128-48-142.hsd1.ma.comcast.net [24.128.48.142]) by mx.google.com with ESMTPS id f32sm403713vcm.14.2011.04.28.08.11.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2011 08:11:17 -0700 (PDT) In-Reply-To: <87liyynm6a.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138872 Archived-At: On Apr 25, 2011, at 15:52, Chong Yidong wrote: > Ken Raeburn writes: >=20 >> I wouldn't consider the elisp 'random' function to be remotely good >> enough though. >=20 > You mean, because of the way it's seeded? I guess we can (should?) > improve it to use /dev/random where that's available. How it's seeded currently, yes, but also the fact that it can (depending = on the system) use some fairly weak PRNG algorithms, with patterns in = their output and relatively small amounts of internal state. Ken=