realbasic-nug
[Top] [All Lists]

Re: random seed generator?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: random seed generator?
From: Michael <mdeh at comcast dot net>
Date: Wed, 29 Nov 2006 14:40:50 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20061129223804 dot 918A86AA788 at mail dot verex dot com>
Joe,
How does random self-seed. Does it use time?
I ended up using ticks....but I take your point.
Thanks.





On Nov 29, 2006, at 2:38 PM, joe at strout dot net wrote:

There is no point in using a random sequence to seed itself; this gains
you absolutely nothing.  Let it self-seed, or seed it from some other
source (such as, the number of milliseconds the machine has been
running or the /dev/random file or something like that).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Wed 29 Nov 2006 15:44:19 -0700
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id A520B1274AFF; Wed, 29 Nov 2006 14:44:45 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on www.realsoftware.com X-Spam-Level: X-Spam-Status: No, score=-1.6 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 5EF221274AEE;
        Wed, 29 Nov 2006 14:44:41 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 1044616BE711; Wed, 29 Nov 2006 16:44:31 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
        by lists.realsoftware.com (Postfix) with ESMTP id 1030216BE6FC
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 29 Nov 2006 16:44:22 -0600 (CST)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id B87096AA7C9
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 29 Nov 2006 15:44:19 -0700 (MST)
Date: Wed, 29 Nov 2006 15:44:19 -0700
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <DA9A2373-6E0C-42A7-8107-953163B97E0F at comcast dot net>
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20061129224419 dot B87096AA7C9 at mail dot verex dot com>
Subject: Re: random seed generator?
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Nov 29, 2006, at 22:40 UTC, Michael wrote:

How does random self-seed. Does it use time?

That's not documented... but I might conjecture that it's something
like that.  Why, have you found its self-seeding to be inadequate?  Or
were you assuming that it didn't do so at all?

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>