From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: random doesn't feel very random Date: Sun, 26 Aug 2012 07:25:08 +0800 Message-ID: References: <876288yh72.fsf@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345937123 5210 80.91.229.3 (25 Aug 2012 23:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2012 23:25:23 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 26 01:25:23 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 1T5PjF-0001RF-Kr for ged-emacs-devel@m.gmane.org; Sun, 26 Aug 2012 01:25:21 +0200 Original-Received: from localhost ([::1]:60603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5PjD-0006rR-R9 for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2012 19:25:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5PjC-0006rM-1M for emacs-devel@gnu.org; Sat, 25 Aug 2012 19:25:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5PjA-0003zG-Hm for emacs-devel@gnu.org; Sat, 25 Aug 2012 19:25:17 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:46331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5PjA-0003y0-BA; Sat, 25 Aug 2012 19:25:16 -0400 Original-Received: by pbbro12 with SMTP id ro12so5611432pbb.0 for ; Sat, 25 Aug 2012 16:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=w634y6vZ44XUL7ZwMsN9BH4d6Xb70KSNStwq/PZcYIo=; b=nIfgz+yHf/SdPPTmQEXLMgXtv+NCQvc16vGcXgOszNxhLoyQf/HBTXqynnyNuzRSE+ LHDteVOjSXxTXStkfN9/uIb8eSKefKlpDm0CR1DgqJXRorVflC5JAW4P5AD/r+EfiSpm fE83Fr+TjFPG1Gn0yRC+poDzwTdoo9hzh1kACQfBgZdWktkjIzYEqA/js1OC0ld8iciQ UntBm3S8x1IQN2BGJ3B25rWLrFdk95v8uJUdJzJWUQB6554lsiKrz9lpDxo/nrHC55sG isKu2XLVJrkDUcL/CIrc+hxhTd1/eb0zM1YNYJjPON5B9CcZaewm4HUhcbvjTfU6b3vY IAjw== Original-Received: by 10.68.193.162 with SMTP id hp2mr23270666pbc.34.1345937115518; Sat, 25 Aug 2012 16:25:15 -0700 (PDT) Original-Received: from localhost ([123.114.41.178]) by mx.google.com with ESMTPS id tv2sm11333975pbc.25.2012.08.25.16.25.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 25 Aug 2012 16:25:14 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= In-Reply-To: (Richard Stallman's message of "Sat, 25 Aug 2012 16:55:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.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:152837 Archived-At: On 2012-08-26 04:55 +0800, Richard Stallman wrote: > (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. Every time I compose an email, (random t) is called. So the random number stream I am getting is disrupted i.e. I am no longer getting an uniform distribution. Leo