unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Leo <sdl.web@gmail.com>
Cc: 9118@debbugs.gnu.org
Subject: bug#9118: 23.3.50; Don't seed the RNG in message-unique-id
Date: Tue, 19 Jul 2011 17:24:36 +0200	[thread overview]
Message-ID: <m31uxmwax7.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <m1fwm21evl.fsf@gmail.com> (Leo's message of "Tue, 19 Jul 2011 23:14:54 +0800")

Leo <sdl.web@gmail.com> writes:

> But you can arrange to seed it once when that file is loaded. No need to
> seed it every time.

Calling it once every time you send an email isn't really heavy usage of
the re-seeding.

> BTW, (random t) produces no random numbers.
>
> (loop repeat 5 collect (random t))
>
> =>
>
> (2265815277832325116 2265815277832325116 2265815277832325116
> 2265815277832325116 2265815277832325116)

Oops.  :-)  Fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-07-19 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 16:42 bug#9118: 23.3.50; Don't seed the RNG in message-unique-id Leo
2011-07-19 14:57 ` Lars Magne Ingebrigtsen
2011-07-19 15:14   ` Leo
2011-07-19 15:24     ` Lars Magne Ingebrigtsen [this message]
2011-07-19 15:44       ` Leo
2011-07-19 15:49         ` Lars Magne Ingebrigtsen
2011-07-20  2:12           ` Leo
2011-07-20 20:28             ` Lars Magne Ingebrigtsen
2011-07-21  4:45               ` Leo
2011-07-21 11:57                 ` Juanma Barranquero
2011-07-21 15:58                   ` Leo
2011-07-31 15:39                     ` Lars Magne Ingebrigtsen
2011-07-31 16:02                       ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31uxmwax7.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=9118@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).