X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=Kt0iDEKsKTIJ7dzI
	gQbbQVgdvQ8Jm7ZCb7ZfwwcSro7WiI2Oz8FvP/Cha2ikoxTRVcC/JC7K/3TL2pVV
	htuB5kUIMBetWNpr4OP5J9/iHaQgyKDX49TBKtQxCViqKKQSJgBAwtK0r85fNthn
	ipMG8RQG/wp01DsK1ImGUnrc5LQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=B5TwkiB1yHCEnHY35ZvNgj
	DyY08=; b=bXs9dmq5nE7Bsh9R0Hon7KoKc919F3Q2WUdCZbzwrBBmAZcE8kj01C
	/xjrG7ya5g12P2NbC0PL9ulGsmxFhbynV2PP+AHw/KgrtRPCiIv6eQk6RWWcsnT1
	qq/MbTNajXqPScuCOuPkv6BMEanFdeVJk/axCM2XLPzD1kBaqoDX4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL autolearn=no version=3.3.1
Date: Fri, 12 Apr 2013 06:31:32 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <583204587.20130412063132@mtu-net.ru>
To: Steve Kargl <sgk@troutmask.apl.washington.edu>, cygwin@cygwin.com
Subject: Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0
In-Reply-To: <20130411230041.GA30988@troutmask.apl.washington.edu>
References: <5166A0B3.70801@net-b.de> <5166BCA1.5040204@net-b.de> <20130411134835.GD18333@calimero.vinschen.de> <51670B6B.3000503@net-b.de> <20130411195200.GJ18333@calimero.vinschen.de> <51671EAA.8030901@net-b.de> <20130411213934.GA30487@troutmask.apl.washington.edu> <Prayer.1.3.5.1304112323420.8772@hermes-2.csi.cam.ac.uk> <20130411230041.GA30988@troutmask.apl.washington.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Steve Kargl!

>> >> * gfortran's example for random_see should be change to not use
>> >> system_clock for the random seed.
>> >
>> >I disagree.  The example is just that a short example
>> >that demonstrates how to use random_seed.  Anyone using
>> >that example in his/her code without testing the results
>> >in his/her potentially broken environment should not be
>> >programming.
>> 
>> That is unfair.  Few scientists will know that system clocks are
>> an iffy aspect of a programming language, especially as there are
>> no fundamental reasons that should be the case.

> This has nothing to do with the iffy-ness of system clocks.  My
> disagreemnet is predicated on the stupidity of using a 10 line
> example subroutine without actually inspecting what it does on 
> whatever OS that one chooses to use.  Perhaps, my expectations
> for the IQ of scientists is too high.  Are you suggesting that
> every code snippet in the manual should contain a cautionary
> comment of the form:

No, I expect a code snippet in manual to produce sensible, reliable and
predictable results across the board, especially for such generic cases.

> ! 
> ! This is only an example.  Use with extreme caution.
> !



--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 12.04.2013, <06:29>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

