From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: random doesn't feel very random Date: Sat, 25 Aug 2012 16:55:29 -0400 Message-ID: References: <876288yh72.fsf@kanis.fr> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1345928137 10227 80.91.229.3 (25 Aug 2012 20:55:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2012 20:55:37 +0000 (UTC) Cc: sdl.web@gmail.com, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 25 22:55:38 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T5NOK-0004hD-Ra for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2012 22:55:36 +0200 Original-Received: from localhost ([::1]:44025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5NOJ-0007O9-5l for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2012 16:55:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5NOG-0007Nu-2i for emacs-devel@gnu.org; Sat, 25 Aug 2012 16:55:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5NOF-0002pk-2N for emacs-devel@gnu.org; Sat, 25 Aug 2012 16:55:32 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5NOE-0002pg-Vb for emacs-devel@gnu.org; Sat, 25 Aug 2012 16:55:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T5NOD-00088i-Hn; Sat, 25 Aug 2012 16:55:29 -0400 In-reply-to: (message from Andreas Schwab on Sat, 25 Aug 2012 00:57:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 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:152836 Archived-At: > Why would extra invocations of (random t) cause repetitive behavior? Depends on how random your seed is. (random t) calculates a seed based on the current time. Unless it is done repeatedly in a very short time, that should make a different seed each time. Unless there is a bug in the code that initializes the seed. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call