Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Statistics are no substitute for judgement. -- Henry Clay


devel / comp.lang.python / Re: Question(s)

SubjectAuthor
* Re: Question(s)Thomas Passin
`* Re: Question(s)Michael F. Stemper
 `- Re: Question(s)Thomas Passin

1
Re: Question(s)

<mailman.38.1698188813.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24181&group=comp.lang.python#24181

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Question(s)
Date: Tue, 24 Oct 2023 18:50:32 -0400
Lines: 52
Message-ID: <mailman.38.1698188813.3828.python-list@python.org>
References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ml2nvJFKQt6YTMYBHgcH0QaWnsIXvC9WTFRmTbKOPcpQ==
Cancel-Lock: sha1:+B0Z0RBpbCqxDHfXpsyE9zPygac= sha256:euGfXlTctvZXk6qf9n/iHW70BjpoMAUGLMi9/WZHt3A=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=V3FMxga9;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.086
X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'programming.': 0.05;
'else.': 0.07; 'byte': 0.09; 'received:23.83.212': 0.09;
'received:elm.relay.mailchannels.net': 0.09; 'responses': 0.09;
'that.': 0.15; 'arbitrary': 0.16; 'bugs': 0.16; 'bugs.': 0.16;
'computers': 0.16; 'create,': 0.16; 'o1bigtenor': 0.16;
'personally,': 0.16; 'received:10.0.0': 0.16;
'received:23.83.212.17': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:bird.elm.relay.mailchannels.net': 0.16;
'received:dreamhost.com': 0.16; 'symbol': 0.16; 'which,': 0.16;
'wrote:': 0.16; 'hardware': 0.19; 'subject:Question': 0.19;
'to:addr:python-list': 0.20; 'basically': 0.22; 'code': 0.23;
'installed': 0.23; 'idea': 0.24; 'anything': 0.25; 'cannot': 0.25;
'programming': 0.25; 'done': 0.28; 'header:User-Agent:1': 0.30;
'am,': 0.31; 'program': 0.31; 'question': 0.32; 'accomplish':
0.32; 'concept': 0.32; 'mission': 0.32; 'python-list': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'but': 0.32; "i'm": 0.33;
'there': 0.33; 'header:In-Reply-To:1': 0.34; 'complex': 0.35;
'developed': 0.35; 'question.': 0.35; 'using': 0.37; 'way': 0.38;
'could': 0.38; 'read': 0.38; 'ago': 0.39; 'beginning': 0.40;
'difficult': 0.40; 'learn': 0.40; 'something': 0.40; 'want': 0.40;
'lack': 0.60; 'team': 0.60; 'best': 0.61; 'remember': 0.61;
'here': 0.62; 'subject': 0.63; 'verify': 0.64; 'full': 0.64;
'subject:(': 0.64; 'your': 0.64; 'less': 0.65; 'years': 0.65;
'wish': 0.66; 'header:Received:6': 0.67; 'received:64': 0.67;
'experience.': 0.70; 'little': 0.73; 'article': 0.73; 'read,':
0.75; 'proven': 0.76; 'supposed': 0.76; 'business': 0.77; 'out.':
0.80; 'ambitious': 0.84; 'assembled': 0.84; 'code)': 0.84;
'itself.': 0.84; 'moon': 0.84; 'poorly': 0.84; 'sensors': 0.84;
'errors,': 0.91; 'mistakes': 0.91; 'magazine': 0.93
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1698187833; a=rsa-sha256;
cv=none;
b=AYpPnHahO1PsBnA17uvNUni1ZbfV+2gW8hawdDwV+wuDgiLMUHUtMo+Eds9Y3GS7D6Wgtc
GQkQXOpdNac/3Lx7tJwgoIlKyXu7rMqFJpTYvDBq/4km6Pr0Fmon3p1txoSAuqpQhfVUT9
MNSXPUNwUnzC/B6GclOBFU/dPa7JTBiCndCG2Q708HZQnWBEr9v+0SPIYVawi+W3CVcdum
1RMj1yJbPNu2rjBUpyp7PTKnxvmyGg5zjL+OsY3ViXYRIwxdsW4tQOV97K+Uej68VMXYrO
ZTJfM1YmxPOMeE2127mAOgSko8yQ+aO7YrPbrtEjMyBHQE60PFxkcMeO/n5xdQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1698187833;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=DoVudIjvy4JN0ZfiD6XLAvNrnV2wxl2nqcidpsVUNCU=;
b=gWhuOgY2B+EP4kBeIXMBGeByK3GJuEUulV5rZxmhQjwEAHi/PZuvmRLAzfXMNK3FjR8lM6
ei+VZOIvr16Kh3RD05xYlTwP97G2xbvLgYK5TrfoFOcOzi1WkMD/0Hb1YvJKyjTljL0yei
a+4UZtu4e7ffUyXV12jB/p/wl1behw+wYwd0P+mqoPAiiAA7s9NrDjimRP6IGL1+ShqKeF
HXHB4mxZukCtUnrCYC/FJkoW+zg3Zt0ZUckd3MwsWkXVNgNwtU1x/Irm05Y1ZwFP7fe63e
iXoCjpFeU1e5TkxAK0Tf9wBzfceHgdbN9F69RzulP9bJdzb+rZ2XEuSl7ulX7Q==
ARC-Authentication-Results: i=1; rspamd-86646d89b6-zcc88;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Industry-Tangy: 7efa668540b7251c_1698187833912_460204418
X-MC-Loop-Signature: 1698187833911:1247174837
X-MC-Ingress-Time: 1698187833911
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1698187833;
bh=DoVudIjvy4JN0ZfiD6XLAvNrnV2wxl2nqcidpsVUNCU=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=V3FMxga9r4C+qoyWyJJDcJp3QfI8GE6KtvsawRoB9ZgR92vbQlE3EYzHKr894Rgxr
YsxTIUaSjUtSwnLX1BFNTXeiiCCRFD43zcjUHxgwfLmoqxbkatgbA+ZKWL08Y1G7Q5
Znv+ymcPKFrT0hYrKzcR+T9Oqj/pO683QS1ojQBPFnfHYaTy+g0EJag96W863M4EOy
7hE9SP58RTmAjthEYcAjUf/OmBtD77l1pDFNqHtWsXCSZX0rLz4aZA0L3K4mZzWcJB
SBmzJx0PrLlWf4lScxPYZn4puTe1Fspwtm/XYDX3JjVnLRDvtxj+eIh03bURj1Ngur
dBpMazJDaKJkQ==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
X-Mailman-Original-References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
 by: Thomas Passin - Tue, 24 Oct 2023 22:50 UTC

On 10/24/2023 8:22 AM, o1bigtenor via Python-list wrote:
> Greetings
>
> (Sorry for a nebulous subject but dunno how to have a short title for
> a complex question.)
>
> I have been using computers for a long time but am only beginning my
> foray into the
> galaxy of programming. Have done little to this point besides
> collection of information
> on sensors and working on the logic of what I wish to accomplish. Have
> been reading code that accompanies other's projects in the process of
> self development.
>
> Is there a way to verify that a program is going to do what it is
> supposed to do even
> before all the hardware has been assembled and installed and tested?
>
> (Many years ago I remember an article (if not an issue) in Byte magazine about
> mathematically proven constructs a.k.a. programs - - - this idea is
> what I'm pursuing.
> The concept is that in non-trivial programs there are plenty of places where a
> poorly placed symbol or lack of a character will result in at best an inaccurate
> result and at worst - - - no result. This is the kind of thing
> (correct code) that I'm
> hoping to accomplish - - - to rephrase the question - - - how do I
> test for that?)
>
> TIA

By now you have read many responses that basically say that you cannot
prove that a given program has no errors, even apart from the hardware
question. Even if it could be done, the kind of specification that you
would need would in itself be difficult to create, read, and understand,
and would be subject to bugs itself.

Something less ambitious than a full proof of correctness of an
arbitrary program can sometimes be achieved. The programming team for
the Apollo moon mission developed a system which, if you would write
your requirements in a certain way, could generate correct C code for them.

You won't be doing that.

Here I want to point out something else. You say you are just getting
into programming. You are going to be making many mistakes and errors,
and there will be many things about programming you won't understand
until you get some good solid experience. That's not anything to do
with you personally, that's just how it will play out.

So be prepared to learn from your mistakes and bugs. They are how you
learn the nuts and bolts of the business of programming.

Re: Question(s)

<uhb4mb$p2hu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24213&group=comp.lang.python#24213

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: michael....@gmail.com (Michael F. Stemper)
Newsgroups: comp.lang.python
Subject: Re: Question(s)
Date: Wed, 25 Oct 2023 08:20:11 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <uhb4mb$p2hu$1@dont-email.me>
References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
<mailman.38.1698188813.3828.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 13:20:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3cdd55664877c01d38208e8c0a09d64c";
logging-data="821822"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7U/C4CQDT6558CjClW80318XrAnu5m6M="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:0g50GGKBNuee41cZv9zuP23oMN0=
In-Reply-To: <mailman.38.1698188813.3828.python-list@python.org>
Content-Language: en-US
 by: Michael F. Stemper - Wed, 25 Oct 2023 13:20 UTC

On 24/10/2023 17.50, Thomas Passin wrote:

> The programming team for the Apollo moon mission developed a system which,> if you would write your requirements in a certain way, could generate correct
> C code for them.
Since the last Apollo mission was in 1972, when C was first being developed, I
find this hard to believe.

--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.

Re: Question(s)

<mailman.78.1698259367.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24231&group=comp.lang.python#24231

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Question(s)
Date: Wed, 25 Oct 2023 12:26:31 -0400
Lines: 15
Message-ID: <mailman.78.1698259367.3828.python-list@python.org>
References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
<mailman.38.1698188813.3828.python-list@python.org>
<uhb4mb$p2hu$1@dont-email.me>
<1df731e5-ded7-4f80-a3ef-8916af73736d@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de UxNuQiEvT2bwAEuPdxiXJggpEcsUnfeLOd5pzwcI3AxA==
Cancel-Lock: sha1:fCx+4BOJA+dUi7vH44ajqgSXLHI= sha256:HpzGr6d6asVC60r6zwWhbRu73MdirDNiCRNwDgNvhw0=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=dCGu9H+3;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.072
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'post.': 0.09;
'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'sorry,': 0.16; 'wrote:': 0.16;
'subject:Question': 0.19; 'to:addr:python-list': 0.20; 'code':
0.23; 'programming': 0.25; 'output': 0.28; 'header:User-Agent:1':
0.30; 'am,': 0.31; 'mission': 0.32; 'python-list': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'header:In-Reply-To:1':
0.34; 'developed': 0.35; 'yes,': 0.35; "it's": 0.37; 'hard': 0.37;
'could': 0.38; 'michael': 0.60; 'team': 0.60; 'subject:(': 0.64;
'your': 0.64; 'header:Received:6': 0.67; 'received:64': 0.67;
'tools': 0.74; 'moon': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1698251191;
bh=cyiJ7b46PrGAVjy24DNko21COSXXBO9K6Cb5hLT2If4=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=dCGu9H+3qXQzLXlASjbcRBpsqKpR63szXYceCA4MOcz6jiXMv38AF8ST87qQGIkzq
kJzGGR9K/k+GgHvaXxXDYHeB711YKFuxSV80Y4am918q9NE+TO2aPebka2TbJ40HQh
C0XJMEReq8cPLUcauZGccFmyJieb/ubmyzZMZe81ftnBMaXY/u0dhxhZp2k+Z7hEBo
GbIkt4jlZvqRhCHhi+bOpwuVCV+UJ5SsnEO4ROSzTmSO1YBZLZJjWIlYvatsdomD3x
dX0zSxUiDodIs28IZqpQ1giW0qYy1ikdsmHnAhC00YKZjhIO9rSXLJlPG8n8sy6mhX
VrM3W0gpn46nQ==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uhb4mb$p2hu$1@dont-email.me>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <1df731e5-ded7-4f80-a3ef-8916af73736d@tompassin.net>
X-Mailman-Original-References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
<mailman.38.1698188813.3828.python-list@python.org>
<uhb4mb$p2hu$1@dont-email.me>
 by: Thomas Passin - Wed, 25 Oct 2023 16:26 UTC

On 10/25/2023 9:20 AM, Michael F. Stemper via Python-list wrote:
> On 24/10/2023 17.50, Thomas Passin wrote:
>
>
>>    The programming team for the Apollo moon mission developed a system
>> which,> if you would write your requirements in a certain way, could
>> generate correct
>> C code for them.
> Since the last Apollo mission was in 1972, when C was first being
> developed, I
> find this hard to believe.

Yes, sorry, see my previous post. It's the current-day evolution of the
tools that can output C.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor