From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: random doesn't feel very random Date: Sun, 02 Sep 2012 20:27:24 +0800 Message-ID: <87627wsj83.fsf@gnu.org> References: <876288yh72.fsf@kanis.fr> <87wr0livd4.fsf@Rainer.invalid> <83k3wfqtyx.fsf@gnu.org> <83vcfzosri.fsf@gnu.org> <5041626B.6080608@cs.ucla.edu> <87harirz13.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346588865 9587 80.91.229.3 (2 Sep 2012 12:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 12:27:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 02 14:27:46 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 1T89HA-00011x-VU for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2012 14:27:41 +0200 Original-Received: from localhost ([::1]:43415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T89H8-00048I-9v for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2012 08:27:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T89H6-00048A-8S for emacs-devel@gnu.org; Sun, 02 Sep 2012 08:27:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T89H5-0006B6-6o for emacs-devel@gnu.org; Sun, 02 Sep 2012 08:27:36 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:50391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T89H5-0006B0-05 for emacs-devel@gnu.org; Sun, 02 Sep 2012 08:27:35 -0400 Original-Received: by pbbro12 with SMTP id ro12so7369686pbb.0 for ; Sun, 02 Sep 2012 05:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=eCIYO+oOm0E6/VyScNsu/71pv8dfcjc1QtYVmAwPidk=; b=EmApX0M5PeUDHSz3UdTyFoGvcLQrPCalHh6Dh/sGk6vG8mmpQw9Jh0mTkWyfnYmPI9 FKsMEavPw13GXUrN4ticFV/ftQckqgU3QNgFazhMp+ob4hXrw9eHA0eOocpiBCn4O0/Z NonnPrk2WEqzkQix1OCi9ZXOD9r+Mh+7olDvLlRCSPyfa2scQUUpRg7qld6aYzGZ7suy tvMozVdYoi3zT30Z1vO0k7wSb3dJEyXUCS7Z4zyjERUKbisLWz1t6GGsA03+4M0fWRXB KNsDVtDmds5Uhg9gME5s+8GSpLH4jukAbfZlkwdNaDeWHgk6i+dMiduTvu/Z/9HQ1z8E qfJw== Original-Received: by 10.68.235.68 with SMTP id uk4mr30407772pbc.52.1346588853828; Sun, 02 Sep 2012 05:27:33 -0700 (PDT) Original-Received: from home.jasonrumney.net ([180.75.154.97]) by mx.google.com with ESMTPS id pk9sm7662198pbb.4.2012.09.02.05.27.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Sep 2012 05:27:32 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 85461170B; Sun, 2 Sep 2012 20:27:24 +0800 (MYT) In-Reply-To: <87harirz13.fsf@Rainer.invalid> (Achim Gratz's message of "Sat, 01 Sep 2012 09:19:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) 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:152948 Archived-At: Achim Gratz writes: >> One thing that wasn't discussed was how to set the >> seed, for people who want to do debugging and who want >> repeatable random sequences. > > I don't think it's a good idea to be able to change the global PRNG > state in general. For some uses of pseudo-random numbers, repeatability is desirable. Not every problem that requires randomness involves security.