Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

24 Apr, 2024: Testing a new version of the Overboard here. If you have an issue post about it to rocksolid.nodes.help (I know. Everyone on Usenet has issues)


computers / comp.os.vms / Re: ChatGPT

SubjectAuthor
* ChatGPTArne Vajhøj
`- Re: ChatGPTArne Vajhøj

1
ChatGPT

<tntn5q$1vo$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26022&group=comp.os.vms#26022

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: ChatGPT
Date: Tue, 20 Dec 2022 20:23:06 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tntn5q$1vo$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="2040"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 21 Dec 2022 01:23 UTC

There has been a lot of hype around ChatGPT recently.

But DCL people do not need to worry about their job.

https://www.linkedin.com/feed/update/urn:li:activity:7009460498299539456/

Arne

Re: ChatGPT

<tntnin$64t$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26023&group=comp.os.vms#26023

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: ChatGPT
Date: Tue, 20 Dec 2022 20:29:59 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tntnin$64t$1@gioia.aioe.org>
References: <tntn5q$1vo$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="6301"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 21 Dec 2022 01:29 UTC

On 12/20/2022 8:23 PM, Arne Vajhøj wrote:
> There has been a lot of hype around ChatGPT recently.
>
> But DCL people do not need to worry about their job.
>
> https://www.linkedin.com/feed/update/urn:li:activity:7009460498299539456/

I obviously needed to try myself.

First two attempts:

$ scale = 100*1000*1000
$ nit = 1000
$ pi = 0
$ i = 1
$ sign = 1
$ loop:
$ if i .gt. nit then goto endloop
$ pi = pi + sign * scale / (2 * i - 1)
$ sign = -sign
$ i = i + 1
$ goto loop
$ endloop:
$ pi = 4 * pi
$ write sys$output f$fao("The value of pi is approximatetly: !SL.!8ZL",
pi / scale, pi - (pi / scale) * scale)
$ exit

get 2 decimals correct (can be increased to 4 by increasing nit
to 100000, but then it becomes a CPU benchmark!)

$ scale1 = 100 * 1000
$ scale2 = 1000
$ scale = scale1 * scale2
$ nit = 100
$ pi = 0
$ i = 1
$ sign = 1
$ loop:
$ if i .gt. nit then goto endloop
$ pi = pi + sign * scale / (2 * i - 1)
$ sign = -sign
$ i = i + 1
$ goto loop
$ endloop:
$ pi = pi + sign * (nit * nit + 1) * scale1 / (4 * nit * nit * nit + 5 *
nit) * scale2
$ pi = 4 * pi
$ write sys$output f$fao("The value of pi is approximatetly: !SL.!8ZL",
pi / scale, pi - (pi / scale) * scale)
$ exit

get 4 decimals correct (and are still fast)

Arne

PS: No need to state that DCL is one of the worst possible
languages for such a task.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor