Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and may be fixed. Will keep monitoring.


computers / comp.os.vms / Re: VAX Common Lisp

SubjectAuthor
* VAX Common LispRobert Carleton
+* Re: VAX Common LispDave Froble
|`* Re: VAX Common LispRobert Carleton
| `* Re: VAX Common LispArne Vajhøj
|  `* Re: VAX Common LispRobert Carleton
|   `* Re: VAX Common LispRobert Carleton
|    `* Re: VAX Common LispArne Vajhøj
|     `* Re: VAX Common LispRobert Carleton
|      `* Re: VAX Common LispCraig A. Berry
|       `* Re: VAX Common LispRobert Carleton
|        +* Re: VAX Common LispArne Vajhøj
|        |`- Re: VAX Common LispRobert Carleton
|        `* Re: VAX Common LispDave Froble
|         +- Re: VAX Common LispRobert Carleton
|         +* Re: VAX Common LispSimon Clubley
|         |`* Re: DCL, DLM, APIs, RAS, RuleWorks, etc (was: Re: VAX Common Lisp)Stephen Hoffman
|         | `* Re: DCL, DLM, APIs, RAS, RuleWorks, etcDave Froble
|         |  +* Re: DCL, DLM, APIs, RAS, RuleWorks, etcArne Vajhøj
|         |  |+- Re: DCL, DLM, APIs, RAS, RuleWorks, etcArne Vajhøj
|         |  |+- Re: DCL, DLM, APIs, RAS, RuleWorks, etcArne Vajhøj
|         |  |`* Re: DCL, DLM, APIs, RAS, RuleWorks, etcDave Froble
|         |  | `- Re: DCL, DLM, APIs, RAS, RuleWorks, etcArne Vajhøj
|         |  `* Re: DCL, DLM, APIs, RAS, RuleWorks, etcStephen Hoffman
|         |   `* Re: DCL, DLM, APIs, RAS, RuleWorks, etcDave Froble
|         |    `- Re: DCL, DLM, APIs, RAS, RuleWorks, etcStephen Hoffman
|         +* Re: VAX Common LispArne Vajhøj
|         |`- Re: VAX Common LispArne Vajhøj
|         +* Re: VAX Common Lisphb
|         |`* Re: VAX Common LispRobert Carleton
|         | `* Re: VAX Common LispArne Vajhøj
|         |  +* Re: VAX Common Lisphb
|         |  |+- Re: VAX Common LispArne Vajhøj
|         |  |`* Re: VAX Common LispSingle Stage to Orbit
|         |  | `* Re: VAX Common LispRobert Carleton
|         |  |  `- Re: VAX Common LispRobert Carleton
|         |  `* Re: VAX Common LispRobert Carleton
|         |   `- Re: VAX Common LispRobert Carleton
|         `* Re: VAX Common LispVAXman-
|          `- Re: VAX Common LispStephen Hoffman
`- Re: VAX Common LispScott Dorsey

Pages:12
Re: VAX Common Lisp

<38f12010-c2b1-40b1-905d-0e0dadfcd97bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5bcf:0:b0:3a4:f2a4:58b8 with SMTP id b15-20020ac85bcf000000b003a4f2a458b8mr2154424qtb.462.1666804916410;
Wed, 26 Oct 2022 10:21:56 -0700 (PDT)
X-Received: by 2002:a05:6214:2264:b0:4bb:63b9:c160 with SMTP id
gs4-20020a056214226400b004bb63b9c160mr18162855qvb.119.1666804916177; Wed, 26
Oct 2022 10:21:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 26 Oct 2022 10:21:55 -0700 (PDT)
In-Reply-To: <519d8d222c5c4f390ffd61a3657cb4b085c6f5ba.camel@munted.eu>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:8ba0:f3d0:0:0:0:a;
posting-account=VmWFOwoAAABWjl4v-Ee6AEQC6bP-ioIR
NNTP-Posting-Host: 2600:1700:8ba0:f3d0:0:0:0:a
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me>
<tjavio$17l7$1@gioia.aioe.org> <e42b7ccf-a76b-442d-8740-1437c6769887n@googlegroups.com>
<tjbee2$d6m$1@gioia.aioe.org> <tjbi3i$860$1@gioia.aioe.org> <519d8d222c5c4f390ffd61a3657cb4b085c6f5ba.camel@munted.eu>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38f12010-c2b1-40b1-905d-0e0dadfcd97bn@googlegroups.com>
Subject: Re: VAX Common Lisp
From: rbc...@rbcarleton.com (Robert Carleton)
Injection-Date: Wed, 26 Oct 2022 17:21:56 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2605
 by: Robert Carleton - Wed, 26 Oct 2022 17:21 UTC

On Wednesday, October 26, 2022 at 11:01:58 AM UTC-5, Single Stage to Orbit wrote:
> On Wed, 2022-10-26 at 17:01 +0200, hb wrote:
> > According to https://en.wikipedia.org/wiki/VAX_Common_Lisp, VAX LISP
> > was sold to Lucid Inc. There is a wikipedia article about Lucid. It
> > says that Lucid went bankrupt in 1994 and Lucid Common Lisp was sold.
> > VAX LISP isn't mentioned. Lucid Common Lisp ended up at LispWorks,
> > which sells it under their own name: Liquid Common Lisp.
> Interestingly enough LispWorks run on a deep space probe, rather
> successfully, I might add.
> --
> Tactical Nuclear Kittens

Someone did a fairly deep dive into using VAX Common Lisp:

https://netzhansa.blogspot.com/2018/08/evaluating-vax-lisp-30.html

It makes for some interesting reading.

Re: VAX Common Lisp

<edd1dabf-3067-4516-8dc4-7399ad5f10b3n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5cee:0:b0:4ba:54bb:2d10 with SMTP id iv14-20020ad45cee000000b004ba54bb2d10mr30180295qvb.15.1666891904507;
Thu, 27 Oct 2022 10:31:44 -0700 (PDT)
X-Received: by 2002:ac8:7dc6:0:b0:39d:2e1:33c3 with SMTP id
c6-20020ac87dc6000000b0039d02e133c3mr37940743qte.16.1666891904314; Thu, 27
Oct 2022 10:31:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 27 Oct 2022 10:31:44 -0700 (PDT)
In-Reply-To: <6cad5d53-97da-4978-aca9-540b06c8a6cdn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:8ba0:f3d0:0:0:0:a;
posting-account=VmWFOwoAAABWjl4v-Ee6AEQC6bP-ioIR
NNTP-Posting-Host: 2600:1700:8ba0:f3d0:0:0:0:a
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me>
<tjavio$17l7$1@gioia.aioe.org> <e42b7ccf-a76b-442d-8740-1437c6769887n@googlegroups.com>
<tjbee2$d6m$1@gioia.aioe.org> <6cad5d53-97da-4978-aca9-540b06c8a6cdn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <edd1dabf-3067-4516-8dc4-7399ad5f10b3n@googlegroups.com>
Subject: Re: VAX Common Lisp
From: rbc...@rbcarleton.com (Robert Carleton)
Injection-Date: Thu, 27 Oct 2022 17:31:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3348
 by: Robert Carleton - Thu, 27 Oct 2022 17:31 UTC

On Wednesday, October 26, 2022 at 12:21:16 PM UTC-5, Robert Carleton wrote:
> On Wednesday, October 26, 2022 at 8:58:31 AM UTC-5, Arne Vajhøj wrote:
> > On 10/26/2022 6:44 AM, Robert Carleton wrote:
> > > So, who wound up with the intellectual property/source for VAX Common Lisp? Is it LispWorks Ltd?
> > I don't know Lisp so this may be a stupid question, but are there
> > any reason to believe DEC did not create VAX Lisp from scratch based
> > on language definition?
> >
> > If they did and they did not sell it off like Rdb and a few other
> > things, then IPR must have gone DEC->CPQ->HP->HPE and VSI
> > should have a license to use the source (the word here is
> > that VSI got license to everything VMS from HPE).
> >
> > Which will not help much as HPE has no interest in VMS any
> > longer and VSI will not see a business case for
> > migrating Lisp to Alpha/Itanium/x86-64.
> >
> > Arne
> My understanding is that VAX Common Lisp was created from Spice Lisp. Apparently, some of the DEC Lisp team came from CMU. I asked the LispWorks team if they have any stake in VAX Common Lisp. We'll see what they say.
>
> Cheers,
>
> --Bruce

According to a LispWorks representative, VAX Common Lisp wasn't passed down from Lucid. Apparently it's development stopped with Lucid. Well, if anyone knows where the source code landed, maybe it could be released under a public license and a cross-compilation could be attempted.

Re: DCL, DLM, APIs, RAS, RuleWorks, etc (was: Re: VAX Common Lisp)

<tjeh5n$2qp49$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc (was: Re: VAX Common Lisp)
Date: Thu, 27 Oct 2022 14:03:35 -0400
Organization: HoffmanLabs LLC
Lines: 59
Message-ID: <tjeh5n$2qp49$1@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com> <tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com> <tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com> <188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org> <d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me> <e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="7b3a613985e13de8141be8a65cad199e";
logging-data="2974857"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Drq75NXs5bA0yUMVAGPyoAGo0hZChjuE="
User-Agent: Unison/2.2
Cancel-Lock: sha1:WZ/8ePxcAVc45ye1C/RNnXofAb8=
 by: Stephen Hoffman - Thu, 27 Oct 2022 18:03 UTC

On 2022-10-25 13:12:39 +0000, Simon Clubley said:

> On 2022-10-24, Dave Froble <davef@tsoft-inc.com> wrote:
>> On 10/24/2022 6:06 PM, Robert Carleton wrote:
>>>
>>> Lisp implementations frequently have the ability to save an image of
>>> their state to disk. Coordinating one cluster node to save the image,
>>> then have a new process start on a different cluster node from the
>>> image should be possible. Is there a C API for DLM?
>>>
>>
>> VMS is not (hawk, spit, gag) C, and (hawk, spit, gag) C is not VMS
>>
>> There are a system services for using the DLM. Callable from ALL VMS
>> languages.
>> Even (hawk, spit, gag) C.
>>
>
> Not DCL however (at least as a part of VMS). That's a really big omission.

The DLM API was and remains a nice box of parts arising from the 1980s,
and does still work and does work well, but the API is really showing
its age.

Also showing OpenVMS development's longstanding proclivity for
flexibility over usability, combined with the avoidance of having
opinions, but I digress.

Doing a doorbell scheme is just stupidly complex with a whole lot of
user-written code, and the same for electing a primary process in a
cluster.

API support and documentation for creating cluster-aware and secure
networked apps is unfortunately lacking, too.

What is available is scattered around in the programming concepts and
networking manuals, and Y2K and newer is absolutely missing from the
security manuals, among other rough patches.

NB: I know how to do all of this. I've done this. All of it. I know the
APIs. I know the value. But wow, this stuff is just absurd to use.

And that's all before discussions approaching the addition of support
for app checkpoint-restart, whether that single host or cluster,
writing apps for clusters, or the utter lack of online backup sync, and
other software reliability-availability-scalability features.

And yes, the lack of DCL support for DLM, and the lack of DCL ssh and
sftp/scp, and the lack of SSH/TLS networking and authentication
generally, and a whole pile of other areas, is, well, lacking.

As for Lisp at DEC, that faded out with the DEC OPS-5 RuleWorks era,
and that's been available on the Freeware.
https://www.digiater.nl/openvms/freeware/v50/ruleworks/ Also see past
Lisp discussions here in the c.o.v. archives, too.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VAX Common Lisp

<00B7CDA8.6740E11F@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: VAX Common Lisp
Date: Thu, 27 Oct 2022 20:19:50 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B7CDA8.6740E11F@SendSpamHere.ORG>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com> <tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com> <tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com> <188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org> <d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me> <e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="58235"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Thu, 27 Oct 2022 20:19 UTC

In article <tj8nc7$20fgj$3@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-10-24, Dave Froble <davef@tsoft-inc.com> wrote:
>> On 10/24/2022 6:06 PM, Robert Carleton wrote:
>>>
>>> Lisp implementations frequently have the ability to save an image of their state to disk. Coordinating one cluster node to save the image, then have a new process start on a different cluster node from the image should be possible. Is there a C API fo
>>>
>>
>> VMS is not (hawk, spit, gag) C, and (hawk, spit, gag) C is not VMS
>>
>> There are a system services for using the DLM. Callable from ALL VMS languages.
>> Even (hawk, spit, gag) C.
>>
>
>Not DCL however (at least as a part of VMS). That's a really big omission.

Why would you think you'd need DLM for a DCL procedure?

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: VAX Common Lisp

<tjesbn$2rlnm$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VAX Common Lisp
Date: Thu, 27 Oct 2022 17:14:31 -0400
Organization: HoffmanLabs LLC
Lines: 28
Message-ID: <tjesbn$2rlnm$1@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com> <tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com> <tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com> <188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org> <d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me> <e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me> <00B7CDA8.6740E11F@SendSpamHere.ORG>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="7b3a613985e13de8141be8a65cad199e";
logging-data="3004150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SQ0riVaFt8xvvSF86mOON9i98CAY4T7s="
User-Agent: Unison/2.2
Cancel-Lock: sha1:pTvbxMn7WmhlTnV0ik0i/dbl2pc=
 by: Stephen Hoffman - Thu, 27 Oct 2022 21:14 UTC

On 2022-10-27 20:19:50 +0000, VAXman- @SendSpamHere.ORG said:

> In article <tj8nc7$20fgj$3@dont-email.me>, Simon Clubley
> <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>
>> Not DCL however (at least as a part of VMS). That's a really big omission.
>
> Why would you think you'd need DLM for a DCL procedure?

As with many of us, I have distributed DCL running in a cluster.

I'd rather not have to create local code for the cluster coordination
tasks, or create my own DCL interface into DLM. Code which I have
already created. As likely have others.

Batch and server queues are insufficient for the coordination needs
absent queue configuration efforts ranging somewhere between heroic and
problematic, or without coding and running my own server symbiont.

Using turd files for coordination gets gnarly, too.

Other DCL omissions include ssh/sftp/scp support, TLS, LDAP, etc. All
of which and much more have been discussed previously.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjesm6$2rmq3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 17:20:50 -0400
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <tjesm6$2rmq3$1@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 27 Oct 2022 21:20:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6633820194e086d0bbeda71959fc96d0";
logging-data="3005251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XXOYAP4TQOnmQUOVeBRuiQB+dqgCaSFs="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:TYKO6hMNIDdIS00xtnDOc6AeMRs=
In-Reply-To: <tjeh5n$2qp49$1@dont-email.me>
 by: Dave Froble - Thu, 27 Oct 2022 21:20 UTC

On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
> On 2022-10-25 13:12:39 +0000, Simon Clubley said:
>
>> On 2022-10-24, Dave Froble <davef@tsoft-inc.com> wrote:
>>> On 10/24/2022 6:06 PM, Robert Carleton wrote:
>>>>
>>>> Lisp implementations frequently have the ability to save an image of their
>>>> state to disk. Coordinating one cluster node to save the image, then have a
>>>> new process start on a different cluster node from the image should be
>>>> possible. Is there a C API for DLM?
>>>>
>>>
>>> VMS is not (hawk, spit, gag) C, and (hawk, spit, gag) C is not VMS
>>>
>>> There are a system services for using the DLM. Callable from ALL VMS languages.
>>> Even (hawk, spit, gag) C.
>>>
>>
>> Not DCL however (at least as a part of VMS). That's a really big omission.
>
> The DLM API was and remains a nice box of parts arising from the 1980s, and does
> still work and does work well, but the API is really showing its age.

Good ideas can have a length lifespan.

But I confess to curiosity, what would a better API for the DLM look like? I've
used it from Basic, and anything one can use from Basic has got to be rather simple.

> Also showing OpenVMS development's longstanding proclivity for flexibility over
> usability, combined with the avoidance of having opinions, but I digress.

Three cheers for flexibility ...

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf3jr$1r0k$1@gioia.aioe.org>

  copy mid

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

  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: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 19:18:16 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjf3jr$1r0k$1@gioia.aioe.org>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="60436"; 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.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Thu, 27 Oct 2022 23:18 UTC

On 10/27/2022 5:20 PM, Dave Froble wrote:
> On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
>> The DLM API was and remains a nice box of parts arising from the
>> 1980s, and does
>> still work and does work well, but the API is really showing its age.
>
> Good ideas can have a length lifespan.
>
> But I confess to curiosity, what would a better API for the DLM look
> like?  I've used it from Basic, and anything one can use from Basic has
> got to be rather simple.

Suggestions for best API is like suggestions for best programming
language or best editor.

:-)

I have no idea what Hoff want.

But if you want my take, then I think below would be good for 98% of cases.

Procedural:

lckid = lib$enqw(resnam, lockmode, flags)
....
lib$deq(lckid)

OO:

lck = new Lock(resnam, flags)
lck.get(lockmode)
....
lck.release()

Obviously something additional would be required for the 2% with
advanced requirements for async, but there are newer ways to
do async as well.

>> Also showing OpenVMS development's longstanding proclivity for
>> flexibility over
>> usability, combined with the avoidance of having opinions, but I digress.
>
> Three cheers for flexibility ...

Itemlists are not that bad. Sometimes the flexibility is really nice.

API's with itemlists just tend to come with a learning curve.

Arne

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf41m$1uro$1@gioia.aioe.org>

  copy mid

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

  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: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 19:25:40 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjf41m$1uro$1@gioia.aioe.org>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
<tjf3jr$1r0k$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="64376"; 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.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Thu, 27 Oct 2022 23:25 UTC

On 10/27/2022 7:18 PM, Arne Vajhøj wrote:
> On 10/27/2022 5:20 PM, Dave Froble wrote:
>> But I confess to curiosity, what would a better API for the DLM look
>> like?  I've used it from Basic, and anything one can use from Basic
>> has got to be rather simple.

> But if you want my take, then I think below would be good for 98% of cases.
>
> Procedural:
>
> lckid = lib$enqw(resnam, lockmode, flags)
> ...
> lib$deq(lckid)
>
> OO:
>
> lck = new Lock(resnam, flags)
> lck.get(lockmode)
> ...
> lck.release()

Locking is a common feature in distributed caches.

But they are often even simpler than above.

Hazelcast:

ILock lck = client.getLock(resnam);
lck.lock();
....
lck.unlock();

Apache Ignite:

Lock lck = cache.getLock(resnam);
lck.lock();
....
lck.unlock();

Arne

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf49p$1db$1@gioia.aioe.org>

  copy mid

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

  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: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 19:29:59 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjf49p$1db$1@gioia.aioe.org>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
<tjf3jr$1r0k$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="1451"; 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.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Thu, 27 Oct 2022 23:29 UTC

On 10/27/2022 7:18 PM, Arne Vajhøj wrote:
> On 10/27/2022 5:20 PM, Dave Froble wrote:
>> On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
>>> Also showing OpenVMS development's longstanding proclivity for
>>> flexibility over
>>> usability, combined with the avoidance of having opinions, but I
>>> digress.
>>
>> Three cheers for flexibility ...
>
> Itemlists are not that bad. Sometimes the flexibility is really nice.
>
> API's with itemlists just tend to come with a learning curve.

And it is also worth noting that when Linux copied the
DLM concept then they kept the API pretty similar to VMS:

https://linux.die.net/man/3/dlm_lock

Arne

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf6c6$2seoo$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 20:05:26 -0400
Organization: HoffmanLabs LLC
Lines: 41
Message-ID: <tjf6c6$2seoo$1@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com> <tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com> <tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com> <188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org> <d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me> <e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me> <tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="c4d66e6a93289beef3b425126179058e";
logging-data="3029784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FbGvOdujwpNYaxFEVN9rUtCQGnVSYig4="
User-Agent: Unison/2.2
Cancel-Lock: sha1:4VBuvsczqmF7nj7codAr5qf+8Mw=
 by: Stephen Hoffman - Fri, 28 Oct 2022 00:05 UTC

On 2022-10-27 21:20:50 +0000, Dave Froble said:

> On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
>>
>> The DLM API was and remains a nice box of parts arising from the 1980s,
>> and does still work and does work well, but the API is really showing
>> its age.
>
> Good ideas can have a length lifespan.
>
> But I confess to curiosity, what would a better API for the DLM look
> like? I've used it from Basic, and anything one can use from Basic has
> got to be rather simple.

Off the top...

Every peer process joining the peer group makes a call with some
parameters, and each then gets a startup AST, and one peer process then
gets the primary AST. Each joining process will initially get the
startup AST, and will alway get the startup AST before the primary AST
arrives. Any peer process may or may not get primary. The initial
primary gets an uninitialized context block of 64 bytes (with an
indication that the context is uninitialized/zeroed/invalid), and every
subsequent process becoming primary gets the latest contents of that
same context block. The primary can use that context block to request
all peer processes perform a controlled exit (as they sequentially
become primary) or whatever other means to communicate that, and/or can
use the context block for passing around counters, and/or status,
and/or whatever.

Basically, one call with an argument list containing the peer group
name, two AST arguments, a context block, and maybe a context
parameter. No itemlists. The call itself stalls or hibernates in user
mode, waiting for something to happen.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf7ot$2sh31$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 20:30:02 -0400
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <tjf7ot$2sh31$1@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
<tjf3jr$1r0k$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Oct 2022 00:29:17 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d0c422e86c0aff548f8a91a6f01b813c";
logging-data="3032161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dbP1TkeZy3yKdpJ41yO1z1y1koums2Uk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:nD+K+hFWUf+5J0A+I5RVNnN+eDc=
In-Reply-To: <tjf3jr$1r0k$1@gioia.aioe.org>
 by: Dave Froble - Fri, 28 Oct 2022 00:30 UTC

On 10/27/2022 7:18 PM, Arne Vajhøj wrote:
> On 10/27/2022 5:20 PM, Dave Froble wrote:
>> On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
>>> The DLM API was and remains a nice box of parts arising from the 1980s, and does
>>> still work and does work well, but the API is really showing its age.
>>
>> Good ideas can have a length lifespan.
>>
>> But I confess to curiosity, what would a better API for the DLM look like?
>> I've used it from Basic, and anything one can use from Basic has got to be
>> rather simple.
>
> Suggestions for best API is like suggestions for best programming
> language or best editor.
>
> :-)
>
> I have no idea what Hoff want.
>
> But if you want my take, then I think below would be good for 98% of cases.
>
> Procedural:
>
> lckid = lib$enqw(resnam, lockmode, flags)
> ...
> lib$deq(lckid)
>
> OO:
>
> lck = new Lock(resnam, flags)
> lck.get(lockmode)
> ...
> lck.release()
>
> Obviously something additional would be required for the 2% with
> advanced requirements for async, but there are newer ways to
> do async as well.
>
>>> Also showing OpenVMS development's longstanding proclivity for flexibility over
>>> usability, combined with the avoidance of having opinions, but I digress.
>>
>> Three cheers for flexibility ...
>
> Itemlists are not that bad. Sometimes the flexibility is really nice.
>
> API's with itemlists just tend to come with a learning curve.
>
> Arne
>
>

Your biggest problem is that you're still thinking of a resource name. I think
it would be trivial to add multiple lock types, with no specification defaulting
to resource name, and a second type would be a numeric range. As for a third, I
have no idea, at this time.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf7tf$2sh31$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 20:32:28 -0400
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <tjf7tf$2sh31$2@dont-email.me>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
<tjf6c6$2seoo$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 28 Oct 2022 00:31:43 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d0c422e86c0aff548f8a91a6f01b813c";
logging-data="3032161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WcguFs97w5F6fdXigp6fU3nlXKirEJ5M="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:+fqIPTCzDh4f7+/lx32fNVeIy2w=
In-Reply-To: <tjf6c6$2seoo$1@dont-email.me>
 by: Dave Froble - Fri, 28 Oct 2022 00:32 UTC

On 10/27/2022 8:05 PM, Stephen Hoffman wrote:
> On 2022-10-27 21:20:50 +0000, Dave Froble said:
>
>> On 10/27/2022 2:03 PM, Stephen Hoffman wrote:
>>>
>>> The DLM API was and remains a nice box of parts arising from the 1980s, and
>>> does still work and does work well, but the API is really showing its age.
>>
>> Good ideas can have a length lifespan.
>>
>> But I confess to curiosity, what would a better API for the DLM look like?
>> I've used it from Basic, and anything one can use from Basic has got to be
>> rather simple.
>
>
> Off the top...
>
> Every peer process joining the peer group makes a call with some parameters, and
> each then gets a startup AST, and one peer process then gets the primary AST.
> Each joining process will initially get the startup AST, and will alway get the
> startup AST before the primary AST arrives. Any peer process may or may not get
> primary. The initial primary gets an uninitialized context block of 64 bytes
> (with an indication that the context is uninitialized/zeroed/invalid), and every
> subsequent process becoming primary gets the latest contents of that same
> context block. The primary can use that context block to request all peer
> processes perform a controlled exit (as they sequentially become primary) or
> whatever other means to communicate that, and/or can use the context block for
> passing around counters, and/or status, and/or whatever.
>
> Basically, one call with an argument list containing the peer group name, two
> AST arguments, a context block, and maybe a context parameter. No itemlists. The
> call itself stalls or hibernates in user mode, waiting for something to happen.
>
>
>

And that is suppose to be better than what exists today? I'm confused. That
alone makes it worse. Of course, I'm easily confused these days.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tjf8lk$1a83$1@gioia.aioe.org>

  copy mid

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

  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: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Thu, 27 Oct 2022 20:44:34 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjf8lk$1a83$1@gioia.aioe.org>
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me>
<97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org>
<b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com>
<tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com>
<tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com>
<tj7brv$1q4m2$1@dont-email.me> <tj8nc7$20fgj$3@dont-email.me>
<tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me>
<tjf3jr$1r0k$1@gioia.aioe.org> <tjf7ot$2sh31$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="43267"; 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.4.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 28 Oct 2022 00:44 UTC

On 10/27/2022 8:30 PM, Dave Froble wrote:
> On 10/27/2022 7:18 PM, Arne Vajhøj wrote:
>> But if you want my take, then I think below would be good for 98% of
>> cases.
>>
>> Procedural:
>>
>> lckid = lib$enqw(resnam, lockmode, flags)
>> ...
>> lib$deq(lckid)
>>
>> OO:
>>
>> lck = new Lock(resnam, flags)
>> lck.get(lockmode)
>> ...
>> lck.release()
>>
>> Obviously something additional would be required for the 2% with
>> advanced requirements for async, but there are newer ways to
>> do async as well.

> Your biggest problem is that you're still thinking of a resource name.
> I think it would be trivial to add multiple lock types, with no
> specification defaulting to resource name, and a second type would be a
> numeric range.  As for a third, I have no idea, at this time.

The traditional lock model is that:
* locks are just identifiable with no implied semantics
* the applications acquire and release (lock and unlock)
* the lock manager just administer locks it does not
actually block anything so applications need to be cooperative

In that model the identifier could be a name or a number.
A name is a superset of number, so it sort of makes sense.

Numeric ranges is different. Well if 0-100 is just an id
like "0-100" then it fits above. But if there are
semantics like a lock on 0-100 actually blocks
a lock on 50-150 then it is a totally different model.

Arne

Re: DCL, DLM, APIs, RAS, RuleWorks, etc

<tji0m0$3b0g3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: DCL, DLM, APIs, RAS, RuleWorks, etc
Date: Fri, 28 Oct 2022 21:46:40 -0400
Organization: HoffmanLabs LLC
Lines: 59
Message-ID: <tji0m0$3b0g3$1@dont-email.me>
References: <tjeh5n$2qp49$1@dont-email.me> <tjesm6$2rmq3$1@dont-email.me> <tjf6c6$2seoo$1@dont-email.me> <tjf7tf$2sh31$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="6fb49fe711b975ab08c430195a201076";
logging-data="3506691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/G4WjZAr+6F9Lwjw88QqpYOuOZEku+qL8="
User-Agent: Unison/2.2
Cancel-Lock: sha1:MPvQ2XEPzQU0Po4b5N7fuFgxExQ=
 by: Stephen Hoffman - Sat, 29 Oct 2022 01:46 UTC

On 2022-10-28 00:32:28 +0000, Dave Froble said:

> On 10/27/2022 8:05 PM, Stephen Hoffman wrote:
>>
>> Off the top...
>>
>> Every peer process joining the peer group makes a call with some
>> parameters, and each then gets a startup AST, and one peer process then
>> gets the primary AST. Each joining process will initially get the
>> startup AST, and will alway get the startup AST before the primary AST
>> arrives. Any peer process may or may not get primary. The initial
>> primary gets an uninitialized context block of 64 bytes (with an
>> indication that the context is uninitialized/zeroed/invalid), and every
>> subsequent process becoming primary gets the latest contents of that
>> same context block. The primary can use that context block to request
>> all peer processes perform a controlled exit (as they sequentially
>> become primary) or whatever other means to communicate that, and/or can
>> use the context block for passing around counters, and/or status,
>> and/or whatever.
>>
>> Basically, one call with an argument list containing the peer group
>> name, two AST arguments, a context block, and maybe a context
>> parameter. No itemlists. The call itself stalls or hibernates in user
>> mode, waiting for something to happen.
>>
>
> And that is suppose to be better than what exists today? I'm confused.
> That alone makes it worse. Of course, I'm easily confused these days.

One call, with a peer group name, two AST routines specified for
startup and for primary, a pointer to 64-byte structure, maybe a
future-use flags pointer, and a return status value.

Don't need $enq calls and $enq lock conversion calls and the rest,
don't need the itemlists, don't need to manage the lock promotions, nor
the blocking or granting ASTs, nor the lock mode sequencing.

So... yes... simpler.

Can this all be implemented using $enq and ilk? Sure.

As for my increasing preference to avoid itemlists, I've become less
fond of itemlists over the years, once having thought they were
wonderful and flexible (and they were), but realizing the costs and
issues with the whole design as I've used them, and this all
particularly after having experienced some other API designs
else-platform. Also given there are inexplicably still no available
OpenVMS APIs for processing itemlists within the called code, too. With
the sorts of code and the limits envisioned when VAX/VMS got going,
itemlists were and are great. But too many of the itemlist designs
either get unwieldy with a call-to-size call first and then a
call-to-call call second, or the calls get coded with limits that
require breaking APIs. Or there are coding errors or latent security
bugs lurking in the itemlist processing. But I digress.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VAX Common Lisp

<1fd6c0ff-af56-4b76-bd88-1370fa1957afn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:9a0d:0:b0:4b1:982e:96d4 with SMTP id p13-20020a0c9a0d000000b004b1982e96d4mr12615109qvd.114.1667250038996;
Mon, 31 Oct 2022 14:00:38 -0700 (PDT)
X-Received: by 2002:a05:6214:528b:b0:4bb:a669:65ab with SMTP id
kj11-20020a056214528b00b004bba66965abmr12673965qvb.62.1667250038666; Mon, 31
Oct 2022 14:00:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 31 Oct 2022 14:00:38 -0700 (PDT)
In-Reply-To: <38f12010-c2b1-40b1-905d-0e0dadfcd97bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=140.194.40.47; posting-account=VmWFOwoAAABWjl4v-Ee6AEQC6bP-ioIR
NNTP-Posting-Host: 140.194.40.47
References: <b1078cb5-3e11-467e-9f69-7ee85a505922n@googlegroups.com>
<tj4jsu$1dqos$1@dont-email.me> <97097ca4-b787-4627-b100-af28013cfa89n@googlegroups.com>
<tj4ngh$1mg5$1@gioia.aioe.org> <b24d704b-6e8b-4e33-983b-994ecc9f0d52n@googlegroups.com>
<188dcdb7-3732-4c91-b3f6-99342925c997n@googlegroups.com> <tj6t1m$cj8$1@gioia.aioe.org>
<d05b72a3-d1c2-4cbf-8cb4-ea31e23ba719n@googlegroups.com> <tj70km$1p7n3$1@dont-email.me>
<e12ca253-4d02-4bfa-a982-ff7cdc832de7n@googlegroups.com> <tj7brv$1q4m2$1@dont-email.me>
<tjavio$17l7$1@gioia.aioe.org> <e42b7ccf-a76b-442d-8740-1437c6769887n@googlegroups.com>
<tjbee2$d6m$1@gioia.aioe.org> <tjbi3i$860$1@gioia.aioe.org>
<519d8d222c5c4f390ffd61a3657cb4b085c6f5ba.camel@munted.eu> <38f12010-c2b1-40b1-905d-0e0dadfcd97bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1fd6c0ff-af56-4b76-bd88-1370fa1957afn@googlegroups.com>
Subject: Re: VAX Common Lisp
From: rbc...@rbcarleton.com (Robert Carleton)
Injection-Date: Mon, 31 Oct 2022 21:00:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3070
 by: Robert Carleton - Mon, 31 Oct 2022 21:00 UTC

On Wednesday, October 26, 2022 at 12:21:58 PM UTC-5, Robert Carleton wrote:
> On Wednesday, October 26, 2022 at 11:01:58 AM UTC-5, Single Stage to Orbit wrote:
> > On Wed, 2022-10-26 at 17:01 +0200, hb wrote:
> > > According to https://en.wikipedia.org/wiki/VAX_Common_Lisp, VAX LISP
> > > was sold to Lucid Inc. There is a wikipedia article about Lucid. It
> > > says that Lucid went bankrupt in 1994 and Lucid Common Lisp was sold.
> > > VAX LISP isn't mentioned. Lucid Common Lisp ended up at LispWorks,
> > > which sells it under their own name: Liquid Common Lisp.
> > Interestingly enough LispWorks run on a deep space probe, rather
> > successfully, I might add.
> > --
> > Tactical Nuclear Kittens
> Someone did a fairly deep dive into using VAX Common Lisp:
>
> https://netzhansa.blogspot.com/2018/08/evaluating-vax-lisp-30.html
>
> It makes for some interesting reading.

It turns out that a video of Hans Hübner's quest was made:

https://player.vimeo.com/video/341012525

It's an interesting story. From his research, it sounds like the source may be too far out of reach for now. Maybe someday.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor