delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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:to:cc:subject:message-id:references | |
:mime-version:content-type:in-reply-to; q=dns; s=default; b=UU2Q | |
xVZ8HJ86Ho9IXRqH6hQ9cACTgixhWdK+OKSb26Vscw29Ubj+LfoXVI/UBzl3nfVG | |
8n/rxb9yBBItr9LxFqQob4VrOsUmy3IJ7JXdORiqW7cIUHcDAT5ppte/vdcTydUN | |
heR6K37899GlbBjFLaTbdgenA0JfAsTY9Nn7PZo= | |
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:to:cc:subject:message-id:references | |
:mime-version:content-type:in-reply-to; s=default; bh=9gTixr1rbP | |
HOmbpBbXeaYCy+4+o=; b=EAovMgXx3J7v+9yiNSkHsItYGAXJpqhtdu56N7i3gs | |
TNnqf8hbqY+oREo21Hr9/ppmVRDeU08frx3QThUbDGostnW76VbLpkqaKuu+4Ox4 | |
iQGNDvnk64M4WE1heG/vwD5DxSwOH7VyKS9iRWpL35ELG2yCbfkAsxzI/qqbtESC | |
w= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.1 |
Date: | Thu, 11 Apr 2013 16:00:41 -0700 |
From: | Steve Kargl <sgk AT troutmask DOT apl DOT washington DOT edu> |
To: | "N.M. Maclaren" <nmm1 AT cam DOT ac DOT uk> |
Cc: | cygwin AT cygwin DOT com, fortran AT gcc DOT gnu DOT org |
Subject: | Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0 |
Message-ID: | <20130411230041.GA30988@troutmask.apl.washington.edu> |
References: | <5166A0B3 DOT 70801 AT net-b DOT de> <5166BCA1 DOT 5040204 AT net-b DOT de> <20130411134835 DOT GD18333 AT calimero DOT vinschen DOT de> <51670B6B DOT 3000503 AT net-b DOT de> <20130411195200 DOT GJ18333 AT calimero DOT vinschen DOT de> <51671EAA DOT 8030901 AT net-b DOT de> <20130411213934 DOT GA30487 AT troutmask DOT apl DOT washington DOT edu> <Prayer DOT 1 DOT 3 DOT 5 DOT 1304112323420 DOT 8772 AT hermes-2 DOT csi DOT cam DOT ac DOT uk> |
MIME-Version: | 1.0 |
In-Reply-To: | <Prayer.1.3.5.1304112323420.8772@hermes-2.csi.cam.ac.uk> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Apr 11, 2013 at 11:23:42PM +0100, N.M. Maclaren wrote: > On Apr 11 2013, Steve Kargl wrote: > >On Thu, Apr 11, 2013 at 10:35:54PM +0200, Tobias Burnus wrote: > >> > >> * 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: ! ! This is only an example. Use with extreme caution. ! -- Steve -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |