Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There can be no twisted thought without a twisted molecule. -- R. W. Gerard


devel / comp.lang.prolog / Re: 50 Years of Prolog Nonsense

SubjectAuthor
* 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
|`* Re: 50 Years of Prolog NonsenseMostowski Collapse
| `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|  `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|   `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|    `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     +* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |`* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     | `- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|      `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|       `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|        `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|         `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|          `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|           `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|            `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|             `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|              `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|               `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|                 `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|                  `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|                   `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|                    `- Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
|`* Re: 50 Years of Prolog NonsenseMostowski Collapse
| `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|  `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|   `- Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
|`* Re: 50 Years of Prolog NonsenseMostowski Collapse
| `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|  `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|   `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|    `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     +* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |`* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     | `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |  +* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |  |`* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |  | `- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |  `* Re: 50 Years of Prolog NonsenseMarkus Triska
|     |   `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |    `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |     `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |      `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |       `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |        `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |         `* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +* Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          |`* Re: 50 Years of Prolog NonsenseMarkus Triska
|     |          | `* Re: 50 Years of Prolog NonsenseMild Shock
|     |          |  `* Re: 50 Years of Prolog NonsenseMild Shock
|     |          |   `- Re: 50 Years of Prolog NonsenseMild Shock
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          +- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     |          `- Re: 50 Years of Prolog NonsenseMostowski Collapse
|     `* Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
+* Re: 50 Years of Prolog NonsenseMostowski Collapse
`* Re: 50 Years of Prolog NonsenseMild Shock

Pages:1234567
Re: 50 Years of Prolog Nonsense

<06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1605&group=comp.lang.prolog#1605

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:f13:b0:6b5:b956:c1f1 with SMTP id v19-20020a05620a0f1300b006b5b956c1f1mr4658781qkl.691.1659697649037;
Fri, 05 Aug 2022 04:07:29 -0700 (PDT)
X-Received: by 2002:a81:5d41:0:b0:31d:d394:d6e2 with SMTP id
r62-20020a815d41000000b0031dd394d6e2mr5310212ywb.466.1659697648679; Fri, 05
Aug 2022 04:07:28 -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.lang.prolog
Date: Fri, 5 Aug 2022 04:07:28 -0700 (PDT)
In-Reply-To: <6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 11:07:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7537
 by: Mostowski Collapse - Fri, 5 Aug 2022 11:07 UTC

Thanks to my testing sixth sense, the first Ciao Playground issue:
https://github.com/ciao-lang/ciao_playground/issues/1

I hope its not ending like Scryer Prolog, which has a wooping
223 open tickets, tendency is not yet that the number of open
tickets goes down.

My favorite formula for such an explosion of tickets is:

The Ticket Backlog Curve
https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3

So an initial explosion of tickets is linearly reduced.
Where in this curve is Scryer Prolog right now?

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 10:19:46 UTC+2:
> It was two questions already, or a different question altogether,
> namely asking for WASM as well.
>
> Disclaimer: Oh my, I invented the word “asyncify” spontanously
> yesterday. But it has also some meaning in relation to WASM.
> My previous portraying is from experience with CheerpJ, Tau-
>
> Prolog and Dogelog, and only CheerpJ has WASM (the recent
> version using 64-bit). Maybe for more WASM specific questions
> you need to consult other source, I find for example:
>
> https://web.dev/asyncify/
>
> Possibly when the above community is talking about asyncification
> it has a total different meaning then what I described. Attention! Attention!
>
> Also CheerpJ comes without auto-yielding. You can add it
> yourself, by calling Java Thread.yield(), it was an undocumented
> feature of CheerpJ. But in CheerpJ I could not yield promises so
>
> easily, maybe there is an exotic Java API, and then there
> is a danger that CheerpJ doesn’t support it, since it is rather
> tailord towards bringing some convetional Swing/Standalone
>
> applications to the web, so this is a specific new feature of the
> Dogelog engine, breaking out of a particular Java world.
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 10:16:49 UTC+2:
> > Question was, what means syncify?
> >
> > It means that you turn your Prolog interpreter into an Engine
> > that can yield, but that you also have some auto-yielding.
> > So that the the browser or node.exe can process operating
> >
> > system tasks while the Prolog system is running. Basically the
> > JavaScript async/await is an extended iterator code rewriting
> > of a form of yield, which yields promises. If you take this path
> >
> > you would also need to extended the engine concept so that
> > you can voluntarily yield promises, like for example for a fetch.
> > In such a scenario the Prolog system might appear to block,
> >
> > this is the other illusion the asyncification can create. Basically
> > you can create the following illusions by asyncification
> > without the need of a pre-emptive scheduler:
> >
> > - Non-blocking parallelism between Prolog system and operating system
> > - Blocking wait for completion of some operating system tasks
> >
> > Optionally you can also use it for multiple Prolog threads, but
> > I don’t see a point in doing this. So I branded this “misuse”.
> > But you could do this as well and it has certainly some use
> >
> > cases if the multiple Prolog threads do a lot of operating
> > system tasks. But it is missing in the above list for the moment,
> > so conceptionally there are only “two” co-routines the single
> >
> > threaded Prolog system and the operating system tasks event
> > loop provided by the browser or node.exe. In the same way its
> > possible to make a Python variant of such an engine.
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 03:01:16 UTC+2:
> > > Workers do still synchronously process message
> > > they receive. As a result Ciao cannot send an “abort”
> > > control to a worker, since Ciao Prolog itself inside
> > >
> > > the worker is not asyncified. As a result I see one
> > > Worker going down and another Worker comming
> > > up, when I press Abort button in Ciao, and the
> > >
> > > dynamic database state is gone. Bye Bye.
> > >
> > > BTW: As soon as you have asyncified your Prolog
> > > interpreter, you don't need the single worker anymore.
> > > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 02:58:17 UTC+2:
> > > > Ciao Prologs “State of the Art” is rather the
> > > > night mare of “The Art of loosing State”.
> > > >
> > > > ?- assertz(foo).
> > > > yes
> > > >
> > > > ?- foo.
> > > > yes
> > > >
> > > > ?- repeat, fail.
> > > > { Execution aborted }
> > > >
> > > > ?- foo.
> > > > {ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
> > > > aborted
> > > >
> > > > https://ciao-lang.org/playground/
> > > >
> > > > I hope SWI-Prolog will not blindly immitate
> > > > every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1606&group=comp.lang.prolog#1606

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:1cc9:b0:473:2f6:22f8 with SMTP id g9-20020a0562141cc900b0047302f622f8mr5153756qvd.22.1659698736983;
Fri, 05 Aug 2022 04:25:36 -0700 (PDT)
X-Received: by 2002:a81:be08:0:b0:328:3010:9cd4 with SMTP id
i8-20020a81be08000000b0032830109cd4mr5611348ywn.38.1659698736733; Fri, 05 Aug
2022 04:25:36 -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.lang.prolog
Date: Fri, 5 Aug 2022 04:25:36 -0700 (PDT)
In-Reply-To: <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 11:25:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3626
 by: Mostowski Collapse - Fri, 5 Aug 2022 11:25 UTC

Many WASM projects now coming out of the closet. My expectation,
this is only a win win situation in the long run, but it might be
painful at the beginning.

For a stealth project, which wasn’t on GitHub from the beginning,
and which has some non-public tickets somewhere, its more
difficult to estimate the current standing from the outside.

For Scryer Prolog the struggle is minutely documented:

Compiling and running scryer as a WebAssembly binary?
https://github.com/mthom/scryer-prolog/issues/615

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> Thanks to my testing sixth sense, the first Ciao Playground issue:
> https://github.com/ciao-lang/ciao_playground/issues/1
>
> I hope its not ending like Scryer Prolog, which has a wooping
> 223 open tickets, tendency is not yet that the number of open
> tickets goes down.
>
> My favorite formula for such an explosion of tickets is:
>
> The Ticket Backlog Curve
> https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
>
> So an initial explosion of tickets is linearly reduced.
> Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1607&group=comp.lang.prolog#1607

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:1448:b0:341:e523:fd18 with SMTP id v8-20020a05622a144800b00341e523fd18mr5907894qtx.338.1659711365722;
Fri, 05 Aug 2022 07:56:05 -0700 (PDT)
X-Received: by 2002:a25:db50:0:b0:671:75aa:bf47 with SMTP id
g77-20020a25db50000000b0067175aabf47mr5213195ybf.20.1659711365447; Fri, 05
Aug 2022 07:56:05 -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.lang.prolog
Date: Fri, 5 Aug 2022 07:56:05 -0700 (PDT)
In-Reply-To: <ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 14:56:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4711
 by: Mostowski Collapse - Fri, 5 Aug 2022 14:56 UTC

How it started:

Somebody wrote yesterday:
"For anyone finding this project interesting, we kindly as
everyone to try and explore our system, file issue reports,
contribute, and of course star our repository :wink: .

BTW, this reminds me that it is really a pity that we do
not have a common Prolog forum to discuss, like in the old days.
Newsgroups do not work, and a “single system”

discourse group is not a solution."

How its going:

A few hours ago, when starting to make visible some
limitations, everything diverted in a blink from “hello
community” to “bilateralism”.

Somebody wrote today:
"I’m happy to have a discussion on exchanging code and
ideas between our projects. I think a telco is a better medium
for that than here. Just drop me a personal message."

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> Many WASM projects now coming out of the closet. My expectation,
> this is only a win win situation in the long run, but it might be
> painful at the beginning.
>
> For a stealth project, which wasn’t on GitHub from the beginning,
> and which has some non-public tickets somewhere, its more
> difficult to estimate the current standing from the outside.
>
> For Scryer Prolog the struggle is minutely documented:
>
> Compiling and running scryer as a WebAssembly binary?
> https://github.com/mthom/scryer-prolog/issues/615
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > https://github.com/ciao-lang/ciao_playground/issues/1
> >
> > I hope its not ending like Scryer Prolog, which has a wooping
> > 223 open tickets, tendency is not yet that the number of open
> > tickets goes down.
> >
> > My favorite formula for such an explosion of tickets is:
> >
> > The Ticket Backlog Curve
> > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> >
> > So an initial explosion of tickets is linearly reduced.
> > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1608&group=comp.lang.prolog#1608

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ae9:e102:0:b0:6b8:f8e6:7f8d with SMTP id g2-20020ae9e102000000b006b8f8e67f8dmr5092381qkm.139.1659711416755;
Fri, 05 Aug 2022 07:56:56 -0700 (PDT)
X-Received: by 2002:a25:d648:0:b0:676:bf85:d3a9 with SMTP id
n69-20020a25d648000000b00676bf85d3a9mr5638215ybg.538.1659711416478; Fri, 05
Aug 2022 07:56: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.lang.prolog
Date: Fri, 5 Aug 2022 07:56:56 -0700 (PDT)
In-Reply-To: <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 14:56:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5620
 by: Mostowski Collapse - Fri, 5 Aug 2022 14:56 UTC

Anyway, I have an admin questions, so playground tickets
don’t go into the Ciao Playground repo but into the Ciao repo?
Historically Bilateralism does not have a good Reputation

"The first rejection of bilateralism came after the First World War
when many politicians concluded that the complex pre-war
system of bilateral treaties had made war inevitable."
https://en.wikipedia.org/wiki/Bilateralism#History

So we might see some Prolog Web API wars in the near future?
Because of some coalition formation between SWI-Prolog and
Ciao Prolog? And then them against the rest of the Prolog world?

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:06 UTC+2:
> How it started:
>
> Somebody wrote yesterday:
> "For anyone finding this project interesting, we kindly as
> everyone to try and explore our system, file issue reports,
> contribute, and of course star our repository :wink: .
>
> BTW, this reminds me that it is really a pity that we do
> not have a common Prolog forum to discuss, like in the old days.
> Newsgroups do not work, and a “single system”
>
> discourse group is not a solution."
>
> How its going:
>
> A few hours ago, when starting to make visible some
> limitations, everything diverted in a blink from “hello
> community” to “bilateralism”.
>
> Somebody wrote today:
> "I’m happy to have a discussion on exchanging code and
> ideas between our projects. I think a telco is a better medium
> for that than here. Just drop me a personal message."
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> > Many WASM projects now coming out of the closet. My expectation,
> > this is only a win win situation in the long run, but it might be
> > painful at the beginning.
> >
> > For a stealth project, which wasn’t on GitHub from the beginning,
> > and which has some non-public tickets somewhere, its more
> > difficult to estimate the current standing from the outside.
> >
> > For Scryer Prolog the struggle is minutely documented:
> >
> > Compiling and running scryer as a WebAssembly binary?
> > https://github.com/mthom/scryer-prolog/issues/615
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > > https://github.com/ciao-lang/ciao_playground/issues/1
> > >
> > > I hope its not ending like Scryer Prolog, which has a wooping
> > > 223 open tickets, tendency is not yet that the number of open
> > > tickets goes down.
> > >
> > > My favorite formula for such an explosion of tickets is:
> > >
> > > The Ticket Backlog Curve
> > > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> > >
> > > So an initial explosion of tickets is linearly reduced.
> > > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1609&group=comp.lang.prolog#1609

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:5a4a:0:b0:33e:c6f9:a6cc with SMTP id o10-20020ac85a4a000000b0033ec6f9a6ccmr6121519qta.518.1659712484738;
Fri, 05 Aug 2022 08:14:44 -0700 (PDT)
X-Received: by 2002:a81:7c7:0:b0:323:5b42:efd7 with SMTP id
190-20020a8107c7000000b003235b42efd7mr6205154ywh.431.1659712484335; Fri, 05
Aug 2022 08:14:44 -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.lang.prolog
Date: Fri, 5 Aug 2022 08:14:44 -0700 (PDT)
In-Reply-To: <2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 15:14:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6402
 by: Mostowski Collapse - Fri, 5 Aug 2022 15:14 UTC

So for how long should we buy popcorn? How long will
this Prolog Web API wars last, months to years?

LoL

Thats actually the most astonishing und upredictable
thing here, the time scale. Can the unknown be planned?
Is a late adopter in a more advantageous position. What

if his system, like for example SWI-Prolog, is rather larger
Prolog system, organically grown for certain target systems,
and also moved away over the past from the

small ISO core standard.

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:57 UTC+2:
> Anyway, I have an admin questions, so playground tickets
> don’t go into the Ciao Playground repo but into the Ciao repo?
> Historically Bilateralism does not have a good Reputation
>
> "The first rejection of bilateralism came after the First World War
> when many politicians concluded that the complex pre-war
> system of bilateral treaties had made war inevitable."
> https://en.wikipedia.org/wiki/Bilateralism#History
>
> So we might see some Prolog Web API wars in the near future?
> Because of some coalition formation between SWI-Prolog and
> Ciao Prolog? And then them against the rest of the Prolog world?
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:06 UTC+2:
> > How it started:
> >
> > Somebody wrote yesterday:
> > "For anyone finding this project interesting, we kindly as
> > everyone to try and explore our system, file issue reports,
> > contribute, and of course star our repository :wink: .
> >
> > BTW, this reminds me that it is really a pity that we do
> > not have a common Prolog forum to discuss, like in the old days.
> > Newsgroups do not work, and a “single system”
> >
> > discourse group is not a solution."
> >
> > How its going:
> >
> > A few hours ago, when starting to make visible some
> > limitations, everything diverted in a blink from “hello
> > community” to “bilateralism”.
> >
> > Somebody wrote today:
> > "I’m happy to have a discussion on exchanging code and
> > ideas between our projects. I think a telco is a better medium
> > for that than here. Just drop me a personal message."
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> > > Many WASM projects now coming out of the closet. My expectation,
> > > this is only a win win situation in the long run, but it might be
> > > painful at the beginning.
> > >
> > > For a stealth project, which wasn’t on GitHub from the beginning,
> > > and which has some non-public tickets somewhere, its more
> > > difficult to estimate the current standing from the outside.
> > >
> > > For Scryer Prolog the struggle is minutely documented:
> > >
> > > Compiling and running scryer as a WebAssembly binary?
> > > https://github.com/mthom/scryer-prolog/issues/615
> > > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > > > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > > > https://github.com/ciao-lang/ciao_playground/issues/1
> > > >
> > > > I hope its not ending like Scryer Prolog, which has a wooping
> > > > 223 open tickets, tendency is not yet that the number of open
> > > > tickets goes down.
> > > >
> > > > My favorite formula for such an explosion of tickets is:
> > > >
> > > > The Ticket Backlog Curve
> > > > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> > > >
> > > > So an initial explosion of tickets is linearly reduced.
> > > > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1610&group=comp.lang.prolog#1610

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ad4:5cc3:0:b0:474:8dda:dfb6 with SMTP id iu3-20020ad45cc3000000b004748ddadfb6mr10587729qvb.82.1659815143640;
Sat, 06 Aug 2022 12:45:43 -0700 (PDT)
X-Received: by 2002:a81:48c8:0:b0:328:d332:c392 with SMTP id
v191-20020a8148c8000000b00328d332c392mr11601499ywa.263.1659815143082; Sat, 06
Aug 2022 12:45:43 -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.lang.prolog
Date: Sat, 6 Aug 2022 12:45:42 -0700 (PDT)
In-Reply-To: <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 06 Aug 2022 19:45:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3531
 by: Mostowski Collapse - Sat, 6 Aug 2022 19:45 UTC

I have bad news for Ciao Prolog concerning:

Just in case it is useful, we published this paper back in
2012 about translation of Prolog to JS. We had some
libraries to interact with the DOM and JS and some
kind of JS foreign interface:
[1210.2864] Lightweight compilation of (C)LP to JavaScript
https://arxiv.org/abs/1210.2864

Its not extremly relevant, since the presented Ciao JS is not asyncified.
For example if I go to this page, I do not find that it is asyncified:

8-Queens Demo
http://cliplab.org/~jfran/ptojs/queens_ui/queens_ui.html

It doesn’t count as a prior art of an asyncified Prolog system.
asyncified Prolog systems basically started with Tau-Prolog
to some extend, they use a kind of continuation style asyncification.

The milestone was when they started demonstrating some
async task stuff a few years ago.

Re: 50 Years of Prolog Nonsense

<1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1611&group=comp.lang.prolog#1611

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:570a:0:b0:342:f3cb:82b0 with SMTP id 10-20020ac8570a000000b00342f3cb82b0mr1687337qtw.192.1659815234154;
Sat, 06 Aug 2022 12:47:14 -0700 (PDT)
X-Received: by 2002:a25:33c5:0:b0:67a:6950:c188 with SMTP id
z188-20020a2533c5000000b0067a6950c188mr10403200ybz.175.1659815233858; Sat, 06
Aug 2022 12:47:13 -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.lang.prolog
Date: Sat, 6 Aug 2022 12:47:13 -0700 (PDT)
In-Reply-To: <bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 06 Aug 2022 19:47:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4539
 by: Mostowski Collapse - Sat, 6 Aug 2022 19:47 UTC

But meanwhile Tau Prolog has evolved and now also
provide a modern async/await interface, similar like
Dogelog player has since a few months. So you

can now use Tau Prolog without ugly Promise chains
and with elegant async/await. At least I find
something like this now documented here:

Promises interface
http://tau-prolog.org/manual/promises-interface

But they do not 100% follow the naming convention for async
functions. I also do not 100% follow the naming convention.
In Dogelog I use async_XXX and Tau Prolog uses promiseXXX,

but according to this web article the naming convention would be XXXAsync:

JavaScript Method Naming Convention for Async Functions
https://blog.8bitzen.com/posts/13-06-2019-javascript-method-naming-convention-for-async-functions

Mostowski Collapse schrieb am Samstag, 6. August 2022 um 21:45:44 UTC+2:
> I have bad news for Ciao Prolog concerning:
>
> Just in case it is useful, we published this paper back in
> 2012 about translation of Prolog to JS. We had some
> libraries to interact with the DOM and JS and some
> kind of JS foreign interface:
> [1210.2864] Lightweight compilation of (C)LP to JavaScript
> https://arxiv.org/abs/1210.2864
>
> Its not extremly relevant, since the presented Ciao JS is not asyncified.
> For example if I go to this page, I do not find that it is asyncified:
>
> 8-Queens Demo
> http://cliplab.org/~jfran/ptojs/queens_ui/queens_ui.html
>
> It doesn’t count as a prior art of an asyncified Prolog system.
> asyncified Prolog systems basically started with Tau-Prolog
> to some extend, they use a kind of continuation style asyncification.
>
> The milestone was when they started demonstrating some
> async task stuff a few years ago.

Re: 50 Years of Prolog Nonsense

<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1613&group=comp.lang.prolog#1613

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a37:8606:0:b0:6b8:e6d7:af09 with SMTP id i6-20020a378606000000b006b8e6d7af09mr11327856qkd.416.1659875087985;
Sun, 07 Aug 2022 05:24:47 -0700 (PDT)
X-Received: by 2002:a25:33c5:0:b0:67a:6950:c188 with SMTP id
z188-20020a2533c5000000b0067a6950c188mr12405709ybz.175.1659875087670; Sun, 07
Aug 2022 05:24:47 -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.lang.prolog
Date: Sun, 7 Aug 2022 05:24:47 -0700 (PDT)
In-Reply-To: <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:24:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3687
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:24 UTC

Maybe one can build an asyncified SWI-Prolog WASM
around eyebrow. The code currently contains
Promise chains:

fetch('https://josd.github.io/eye/eye.pl')
.then(response => response.text())
.then(data => (Module.FS.writeFile('/eye.pl', data)));
https://github.com/josd/eyebrow/blob/master/socrates.html

But in principle the SWI-Prolog WASM should have a
consult, and could intiate this fetch by itself, by suspending
with the new js_yield/2 or a variant of it. So the page is

not 100% asyncified, since the SWI-Prolog WASM itself
is not yet asyncified. BTW: There would be another style
to asyncify the above fetch, instead as an old style

How to use the Fetch API with async/await
https://rapidapi.com/guides/fetch-api-async-await

Promise chain, it could be also realized with the newer style
async/await above. Brainwriting here helps me develop the
same for Dogelog, which is asyncified but has still

some synchronous parts.

Re: 50 Years of Prolog Nonsense

<e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1614&group=comp.lang.prolog#1614

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:2889:b0:6b6:5410:b2c7 with SMTP id j9-20020a05620a288900b006b65410b2c7mr10895140qkp.697.1659875184838;
Sun, 07 Aug 2022 05:26:24 -0700 (PDT)
X-Received: by 2002:a81:349:0:b0:324:d932:1362 with SMTP id
70-20020a810349000000b00324d9321362mr13206072ywd.281.1659875184448; Sun, 07
Aug 2022 05:26:24 -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.lang.prolog
Date: Sun, 7 Aug 2022 05:26:24 -0700 (PDT)
In-Reply-To: <e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:26:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4565
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:26 UTC

If the eyebrow SWI-Prolog WASM were 100% asyncified,
by the new style async/await or by the old style
Promise chains, then we would not see:

var SWIPL = (() => {

But rather this here in the new style:

var SWIPL = (async() => {

But I am not 100% sure how to asyncify it. Currently it
creates a promise, but this is rather pointless, since
the .then((module) => is only called once, I suspect.

But an asyncified SWI-Prolog WASM would resume again
and again, realize a await promise loop. It has also some
custom rolled async support, like for example addRunDependency

and removeRunDependency, not sure what it is doing, in
connection with asyncLoad().

Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:24:49 UTC+2:
> Maybe one can build an asyncified SWI-Prolog WASM
> around eyebrow. The code currently contains
> Promise chains:
>
> fetch('https://josd.github.io/eye/eye.pl')
> .then(response => response.text())
> .then(data => (Module.FS.writeFile('/eye.pl', data)));
> https://github.com/josd/eyebrow/blob/master/socrates.html
>
> But in principle the SWI-Prolog WASM should have a
> consult, and could intiate this fetch by itself, by suspending
> with the new js_yield/2 or a variant of it. So the page is
>
> not 100% asyncified, since the SWI-Prolog WASM itself
> is not yet asyncified. BTW: There would be another style
> to asyncify the above fetch, instead as an old style
>
> How to use the Fetch API with async/await
> https://rapidapi.com/guides/fetch-api-async-await
>
> Promise chain, it could be also realized with the newer style
> async/await above. Brainwriting here helps me develop the
> same for Dogelog, which is asyncified but has still
>
> some synchronous parts.

Re: 50 Years of Prolog Nonsense

<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1615&group=comp.lang.prolog#1615

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:181c:b0:342:eb0c:5cf6 with SMTP id t28-20020a05622a181c00b00342eb0c5cf6mr4764946qtc.578.1659875573346;
Sun, 07 Aug 2022 05:32:53 -0700 (PDT)
X-Received: by 2002:a25:b9c3:0:b0:668:a418:13c with SMTP id
y3-20020a25b9c3000000b00668a418013cmr11871118ybj.498.1659875572966; Sun, 07
Aug 2022 05:32:52 -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.lang.prolog
Date: Sun, 7 Aug 2022 05:32:52 -0700 (PDT)
In-Reply-To: <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:32:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4865
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:32 UTC

Corr.:
var is also deprecated nowadays

let SWIPL = (async() => {

Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:26:25 UTC+2:
> If the eyebrow SWI-Prolog WASM were 100% asyncified,
> by the new style async/await or by the old style
> Promise chains, then we would not see:
>
> var SWIPL = (() => {
>
> But rather this here in the new style:
>
> var SWIPL = (async() => {
>
> But I am not 100% sure how to asyncify it. Currently it
> creates a promise, but this is rather pointless, since
> the .then((module) => is only called once, I suspect.
>
> But an asyncified SWI-Prolog WASM would resume again
> and again, realize a await promise loop. It has also some
> custom rolled async support, like for example addRunDependency
>
> and removeRunDependency, not sure what it is doing, in
> connection with asyncLoad().
> Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:24:49 UTC+2:
> > Maybe one can build an asyncified SWI-Prolog WASM
> > around eyebrow. The code currently contains
> > Promise chains:
> >
> > fetch('https://josd.github.io/eye/eye.pl')
> > .then(response => response.text())
> > .then(data => (Module.FS.writeFile('/eye.pl', data)));
> > https://github.com/josd/eyebrow/blob/master/socrates.html
> >
> > But in principle the SWI-Prolog WASM should have a
> > consult, and could intiate this fetch by itself, by suspending
> > with the new js_yield/2 or a variant of it. So the page is
> >
> > not 100% asyncified, since the SWI-Prolog WASM itself
> > is not yet asyncified. BTW: There would be another style
> > to asyncify the above fetch, instead as an old style
> >
> > How to use the Fetch API with async/await
> > https://rapidapi.com/guides/fetch-api-async-await
> >
> > Promise chain, it could be also realized with the newer style
> > async/await above. Brainwriting here helps me develop the
> > same for Dogelog, which is asyncified but has still
> >
> > some synchronous parts.

Re: 50 Years of Prolog Nonsense

<d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1616&group=comp.lang.prolog#1616

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:144f:b0:341:728:dee with SMTP id v15-20020a05622a144f00b0034107280deemr12419673qtx.459.1659880259601;
Sun, 07 Aug 2022 06:50:59 -0700 (PDT)
X-Received: by 2002:a81:9245:0:b0:31f:4e3e:363d with SMTP id
j66-20020a819245000000b0031f4e3e363dmr14167102ywg.119.1659880259192; Sun, 07
Aug 2022 06:50:59 -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.lang.prolog
Date: Sun, 7 Aug 2022 06:50:58 -0700 (PDT)
In-Reply-To: <2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 13:50:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4260
 by: Mostowski Collapse - Sun, 7 Aug 2022 13:50 UTC

I am just writing down what comes to my mind.
For example when I read this here:

Reverse the burden of proof
http://josd.github.io/Talks/2022/06welding/#(7)

Then I think this is a too narrow view what
Jan Wielemaker work could do. Although I have
no clue how much work it is for SWI-Prolog and
where SWI-Prolog is going. But basically:

- Yielding plus asyncify can be also used on
the server and headless mode, via nodejs, its
not restricted to the client and the browser. (Works in Dogelog so far)
https://nodejs.org/en/

- Yielding plus asyncify can be also done for
Python, and some other languages, Python
even has the new async/await as well. (Works in Dogelog so far)

- Its an age old technique, practically every operating
system has coroutine rings inside threads

- In the Java world its usually called fibers

- It is what allowed Erlang to have millions of actors

In the broader view you can use it for peer to peer
communication between servers as well, like some
blockchain confirmation counts etc…

And the peer can be even a browser client, but you
need to change the same-origin credentials I guess.

Disclaimer: Somebody from the industry could
surely talk more competently about it. Like somebody
from https://tokio.rs/ ?

Re: 50 Years of Prolog Nonsense

<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1617&group=comp.lang.prolog#1617

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:4542:b0:6b3:7c51:6177 with SMTP id u2-20020a05620a454200b006b37c516177mr15617070qkp.306.1659996466504;
Mon, 08 Aug 2022 15:07:46 -0700 (PDT)
X-Received: by 2002:a25:c013:0:b0:671:8102:eb2 with SMTP id
c19-20020a25c013000000b0067181020eb2mr18246024ybf.316.1659996466156; Mon, 08
Aug 2022 15:07:46 -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.lang.prolog
Date: Mon, 8 Aug 2022 15:07:45 -0700 (PDT)
In-Reply-To: <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Mon, 08 Aug 2022 22:07:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3265
 by: Mostowski Collapse - Mon, 8 Aug 2022 22:07 UTC

Some results of a 48 hour SWIPL WASM Hackathon?
https://dev.swi-prolog.org/wasm/shell

?- assertz(foo).
true.

?- foo.
true.

?- repeat, fail.
ERROR: Execution Aborted
?- foo.
true.

ultimately superior to some polished academic papers,
that need 3 years from inception to publication

LoL

Re: 50 Years of Prolog Nonsense

<b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1618&group=comp.lang.prolog#1618

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:c789:0:b0:470:8c5b:5e13 with SMTP id k9-20020a0cc789000000b004708c5b5e13mr17528508qvj.86.1659997003905;
Mon, 08 Aug 2022 15:16:43 -0700 (PDT)
X-Received: by 2002:a25:d648:0:b0:676:bf85:d3a9 with SMTP id
n69-20020a25d648000000b00676bf85d3a9mr18242117ybg.538.1659997003508; Mon, 08
Aug 2022 15:16:43 -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.lang.prolog
Date: Mon, 8 Aug 2022 15:16:43 -0700 (PDT)
In-Reply-To: <939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Mon, 08 Aug 2022 22:16:43 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3570
 by: Mostowski Collapse - Mon, 8 Aug 2022 22:16 UTC

(Possibly also a nice display of continuous integration (CI) and
continuous deployment (CD). For example the WASM thingy.)

Mostowski Collapse schrieb am Dienstag, 9. August 2022 um 00:07:47 UTC+2:
> Some results of a 48 hour SWIPL WASM Hackathon?
> https://dev.swi-prolog.org/wasm/shell
>
> ?- assertz(foo).
> true.
>
> ?- foo.
> true.
>
> ?- repeat, fail.
> ERROR: Execution Aborted
> ?- foo.
> true.
>
> ultimately superior to some polished academic papers,
> that need 3 years from inception to publication
>
> LoL

Re: 50 Years of Prolog Nonsense

<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1619&group=comp.lang.prolog#1619

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:389:b0:342:f779:ded8 with SMTP id j9-20020a05622a038900b00342f779ded8mr8206070qtx.111.1660040611704;
Tue, 09 Aug 2022 03:23:31 -0700 (PDT)
X-Received: by 2002:a05:6902:10c:b0:671:68b7:ab41 with SMTP id
o12-20020a056902010c00b0067168b7ab41mr17983517ybh.608.1660040611232; Tue, 09
Aug 2022 03:23:31 -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.lang.prolog
Date: Tue, 9 Aug 2022 03:23:31 -0700 (PDT)
In-Reply-To: <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 09 Aug 2022 10:23:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4077
 by: Mostowski Collapse - Tue, 9 Aug 2022 10:23 UTC

When I write something I mean it dead serious, including

“The proof is in the pudding. Prove it!”.

I know that SWI-Prolog and some other Prolog systems
started in 1980’s. Which would give 40 years accumulated work.
My personal feeling about the web problem is that I am still in

my baby pampers. Although there was some quick progress,
possibly the progress will now slow down. I could like list 1’000
unresolved challenges I am facing right now. For example

the abort problem is related to the implementation of concurrent_and/2
via workers, if you want the concurrent_and/2 make gracefully
abortable itself and handing the abort gracefully to its slave

workers. etc… etc… Maybe Ciao Prolog has already a solution?
Doing a worker is not so difficult. But I got the idee fix, that it should
have many features of Prolog threads, including thread_signal/2.

Re: 50 Years of Prolog Nonsense

<95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1620&group=comp.lang.prolog#1620

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:11c7:b0:340:bc18:75a5 with SMTP id n7-20020a05622a11c700b00340bc1875a5mr22031786qtk.625.1660073246978;
Tue, 09 Aug 2022 12:27:26 -0700 (PDT)
X-Received: by 2002:a05:6902:10c:b0:671:68b7:ab41 with SMTP id
o12-20020a056902010c00b0067168b7ab41mr19928718ybh.608.1660073246762; Tue, 09
Aug 2022 12:27:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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.lang.prolog
Date: Tue, 9 Aug 2022 12:27:26 -0700 (PDT)
In-Reply-To: <e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 09 Aug 2022 19:27:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5711
 by: Mostowski Collapse - Tue, 9 Aug 2022 19:27 UTC

Cooperative multitasking is not for the faint-hearted.
Quickly a mountain of unsolved problems appears,
which is much easier to solve with real multi-threading.

But who knows, maybe just wait and do nothing. I am just reading,
looks pretty similar to Java bytecode and Java applets from 1995 back then:
(BTW Java applets could already do true multi threading,
but the integration with JavaScript through LiveScript was horrible):

"Its initial aim is to support compilation from C and C++,
though support for other source languages such as Rust,
..NET languages] and AssemblyScript (TypeScript-like) is
also emerging. After the MVP release, there are plans to
support multithreading and garbage collection which would
make WebAssembly a compilation target for garbage-collected
programming languages like C# (supported via Blazor),
F# (supported via Bolero with help of Blazor), Python, and
even JavaScript where the browser’s just-in-time compilation
speed is considered too slow. A number of other languages
have some support including Python, Java, Julia, and Ruby.
https://en.wikipedia.org/wiki/WebAssembly#Compilers

Which confirms Greenspuns 13. Amendment:
“Every environment morphs into a Java runtime sooner or later.”
But the new trend has possibly a more positive spin on it,
deliberating the technology both from Oracle and Microsoft?

Mostowski Collapse schrieb am Dienstag, 9. August 2022 um 12:23:32 UTC+2:
> When I write something I mean it dead serious, including
>
> “The proof is in the pudding. Prove it!”.
>
> I know that SWI-Prolog and some other Prolog systems
> started in 1980’s. Which would give 40 years accumulated work.
> My personal feeling about the web problem is that I am still in
>
> my baby pampers. Although there was some quick progress,
> possibly the progress will now slow down. I could like list 1’000
> unresolved challenges I am facing right now. For example
>
> the abort problem is related to the implementation of concurrent_and/2
> via workers, if you want the concurrent_and/2 make gracefully
> abortable itself and handing the abort gracefully to its slave
>
> workers. etc… etc… Maybe Ciao Prolog has already a solution?
> Doing a worker is not so difficult. But I got the idee fix, that it should
> have many features of Prolog threads, including thread_signal/2.

Re: 50 Years of Prolog Nonsense

<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1621&group=comp.lang.prolog#1621

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:448a:b0:6b8:e0cc:69f1 with SMTP id x10-20020a05620a448a00b006b8e0cc69f1mr18585936qkp.459.1660073631453;
Tue, 09 Aug 2022 12:33:51 -0700 (PDT)
X-Received: by 2002:a05:6902:34f:b0:67c:1f77:6918 with SMTP id
e15-20020a056902034f00b0067c1f776918mr4950628ybs.359.1660073631041; Tue, 09
Aug 2022 12:33:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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.lang.prolog
Date: Tue, 9 Aug 2022 12:33:50 -0700 (PDT)
In-Reply-To: <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 09 Aug 2022 19:33:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6445
 by: Mostowski Collapse - Tue, 9 Aug 2022 19:33 UTC

This never gets old, the article starts with:

“The Stop Microsoft Corp bandwaggon is gathering pace, and
Netscape Communications Corp and Sun Microsystems Inc have
pooled their resources to create JavaScript, which combines Sun’s
Java and Netscape’s LiveScript.”
- December 5, 1995
https://techmonitor.ai/technology/sun_java_netscape_livescript_married_as_javascript

Who stops whom nowadays from what by what?

Mostowski Collapse schrieb am Dienstag, 9. August 2022 um 21:27:27 UTC+2:
> Cooperative multitasking is not for the faint-hearted.
> Quickly a mountain of unsolved problems appears,
> which is much easier to solve with real multi-threading.
>
> But who knows, maybe just wait and do nothing. I am just reading,
> looks pretty similar to Java bytecode and Java applets from 1995 back then:
> (BTW Java applets could already do true multi threading,
> but the integration with JavaScript through LiveScript was horrible):
>
> "Its initial aim is to support compilation from C and C++,
> though support for other source languages such as Rust,
> .NET languages] and AssemblyScript (TypeScript-like) is
> also emerging. After the MVP release, there are plans to
> support multithreading and garbage collection which would
> make WebAssembly a compilation target for garbage-collected
> programming languages like C# (supported via Blazor),
> F# (supported via Bolero with help of Blazor), Python, and
> even JavaScript where the browser’s just-in-time compilation
> speed is considered too slow. A number of other languages
> have some support including Python, Java, Julia, and Ruby.
> https://en.wikipedia.org/wiki/WebAssembly#Compilers
>
> Which confirms Greenspuns 13. Amendment:
> “Every environment morphs into a Java runtime sooner or later.”
> But the new trend has possibly a more positive spin on it,
> deliberating the technology both from Oracle and Microsoft?
> Mostowski Collapse schrieb am Dienstag, 9. August 2022 um 12:23:32 UTC+2:
> > When I write something I mean it dead serious, including
> >
> > “The proof is in the pudding. Prove it!”.
> >
> > I know that SWI-Prolog and some other Prolog systems
> > started in 1980’s. Which would give 40 years accumulated work.
> > My personal feeling about the web problem is that I am still in
> >
> > my baby pampers. Although there was some quick progress,
> > possibly the progress will now slow down. I could like list 1’000
> > unresolved challenges I am facing right now. For example
> >
> > the abort problem is related to the implementation of concurrent_and/2
> > via workers, if you want the concurrent_and/2 make gracefully
> > abortable itself and handing the abort gracefully to its slave
> >
> > workers. etc… etc… Maybe Ciao Prolog has already a solution?
> > Doing a worker is not so difficult. But I got the idee fix, that it should
> > have many features of Prolog threads, including thread_signal/2.

Re: 50 Years of Prolog Nonsense

<7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1647&group=comp.lang.prolog#1647

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:2548:b0:6b6:113d:34fd with SMTP id s8-20020a05620a254800b006b6113d34fdmr5522321qko.132.1660389191111;
Sat, 13 Aug 2022 04:13:11 -0700 (PDT)
X-Received: by 2002:a25:c2c5:0:b0:682:2eda:b5ae with SMTP id
s188-20020a25c2c5000000b006822edab5aemr6018894ybf.466.1660389190762; Sat, 13
Aug 2022 04:13:10 -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.lang.prolog
Date: Sat, 13 Aug 2022 04:13:10 -0700 (PDT)
In-Reply-To: <c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 11:13:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3886
 by: Mostowski Collapse - Sat, 13 Aug 2022 11:13 UTC

Somebody wrote, deliberatively taken out of context here:

"All good ideas of academic systems are adopted by industrial
ones, which is really awesome, but unfortunately the origin of
those ideas is often lost."

When its only about vanity, I don’t see any practical use of PEPs.
Before you can write a PEP, you have to have something working.
I am very impressed by the recent SWI-Prolog WASM Hackathon.

An alternative name for Hackathon could be Mob Programming:

Mob Programming and the Power of Flow - Woody Zuill, 2019
https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1648&group=comp.lang.prolog#1648

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:5e14:0:b0:31f:4280:8d93 with SMTP id h20-20020ac85e14000000b0031f42808d93mr6921772qtx.36.1660390914874;
Sat, 13 Aug 2022 04:41:54 -0700 (PDT)
X-Received: by 2002:a25:33c5:0:b0:67a:6950:c188 with SMTP id
z188-20020a2533c5000000b0067a6950c188mr6183917ybz.175.1660390914469; Sat, 13
Aug 2022 04:41:54 -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.lang.prolog
Date: Sat, 13 Aug 2022 04:41:54 -0700 (PDT)
In-Reply-To: <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 11:41:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4525
 by: Mostowski Collapse - Sat, 13 Aug 2022 11:41 UTC

Interestingly Woody Zuill supports my idea of ticketless development,
he says somewhere to the point of “no inventory”. I have switched in
Dogelog to ticketless development. I think Scryer Prolog and maybe other

Prolog systems suffer from a big backlog on GitHub issues. Everytime I
watch Scryer Prolog GitHub issues, their number has increased.
Probably their is only 1 Developer and 10 Advisors, creating noise.

Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:13:12 UTC+2:
> Somebody wrote, deliberatively taken out of context here:
>
> "All good ideas of academic systems are adopted by industrial
> ones, which is really awesome, but unfortunately the origin of
> those ideas is often lost."
>
> When its only about vanity, I don’t see any practical use of PEPs..
> Before you can write a PEP, you have to have something working.
> I am very impressed by the recent SWI-Prolog WASM Hackathon.
>
> An alternative name for Hackathon could be Mob Programming:
>
> Mob Programming and the Power of Flow - Woody Zuill, 2019
> https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1649&group=comp.lang.prolog#1649

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:164b:b0:344:513b:ffc0 with SMTP id y11-20020a05622a164b00b00344513bffc0mr1514951qtj.350.1660393162006;
Sat, 13 Aug 2022 05:19:22 -0700 (PDT)
X-Received: by 2002:a0d:fac4:0:b0:329:88ec:a09c with SMTP id
k187-20020a0dfac4000000b0032988eca09cmr7015389ywf.175.1660393161779; Sat, 13
Aug 2022 05:19:21 -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.lang.prolog
Date: Sat, 13 Aug 2022 05:19:21 -0700 (PDT)
In-Reply-To: <66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 12:19:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5486
 by: Mostowski Collapse - Sat, 13 Aug 2022 12:19 UTC

Where is Scryer Prolog on this curve now?

Ticket Explosion and Reduction over Time
https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3

I see 54 Open Tickets by UWN, thats around 25% of the Tickets
I see 51 Open Tickets by triska, thats also around 25% of the Tickets

Should rename Scryer Prolog to Troll Prolog. I had contact
with a Logician recently trying to port fCube by Ferrari, Fiorentini
and Fiorino to Scryer Prolog. But Scryer Prolog crashed,

exact same code worked in Dogelog. I then adviced the Logician
to make Ticket. He refused to do so, he told me that he rather not
use Scryer Prolog for the moment. Its not me who thinks these

Tickets and the behaviour of some People is repellant.

Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:41:55 UTC+2:
> Interestingly Woody Zuill supports my idea of ticketless development,
> he says somewhere to the point of “no inventory”. I have switched in
> Dogelog to ticketless development. I think Scryer Prolog and maybe other
>
> Prolog systems suffer from a big backlog on GitHub issues. Everytime I
> watch Scryer Prolog GitHub issues, their number has increased.
> Probably their is only 1 Developer and 10 Advisors, creating noise.
> Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:13:12 UTC+2:
> > Somebody wrote, deliberatively taken out of context here:
> >
> > "All good ideas of academic systems are adopted by industrial
> > ones, which is really awesome, but unfortunately the origin of
> > those ideas is often lost."
> >
> > When its only about vanity, I don’t see any practical use of PEPs.
> > Before you can write a PEP, you have to have something working.
> > I am very impressed by the recent SWI-Prolog WASM Hackathon.
> >
> > An alternative name for Hackathon could be Mob Programming:
> >
> > Mob Programming and the Power of Flow - Woody Zuill, 2019
> > https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1650&group=comp.lang.prolog#1650

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:57d5:0:b0:344:51fd:6b4a with SMTP id w21-20020ac857d5000000b0034451fd6b4amr1692506qta.214.1660400439183;
Sat, 13 Aug 2022 07:20:39 -0700 (PDT)
X-Received: by 2002:a05:6902:70f:b0:67b:3301:790 with SMTP id
k15-20020a056902070f00b0067b33010790mr6729936ybt.245.1660400438880; Sat, 13
Aug 2022 07:20:38 -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.lang.prolog
Date: Sat, 13 Aug 2022 07:20:38 -0700 (PDT)
In-Reply-To: <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 14:20:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6634
 by: Mostowski Collapse - Sat, 13 Aug 2022 14:20 UTC

Now I have blocked Ulrich Neumerkel and Markus Triska.
My original plan was to not block any people anymore
on GitHub. But they are full of nonsense.

Here is an example of some gibberisch:

> More properties are preserved in application code, the easier it is to
reason about the code, also via automated reasoning. [...] Using (==)/2
prevents such optimization, and (=)/2.
https://github.com/mthom/scryer-prolog/pull/468#issuecomment-625388237

Here is my response to the uninformed pestillence:

Why would it prevent such optimizations?
For example if you index on the main functor you can apply the
same indexing for (==)/2 and (=)/2, thats implemented in Jekejeke Prolog.

See for yourself:
http://pages.xlog.ch/srctab/doclet/docs/05_run/common/jekpro/model/rope/IndexFront.html

Its not a code transformation indexing, but indexing is possible.

Mostowski Collapse schrieb am Samstag, 13. August 2022 um 14:19:23 UTC+2:
> Where is Scryer Prolog on this curve now?
>
> Ticket Explosion and Reduction over Time
> https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
>
> I see 54 Open Tickets by UWN, thats around 25% of the Tickets
> I see 51 Open Tickets by triska, thats also around 25% of the Tickets
>
> Should rename Scryer Prolog to Troll Prolog. I had contact
> with a Logician recently trying to port fCube by Ferrari, Fiorentini
> and Fiorino to Scryer Prolog. But Scryer Prolog crashed,
>
> exact same code worked in Dogelog. I then adviced the Logician
> to make Ticket. He refused to do so, he told me that he rather not
> use Scryer Prolog for the moment. Its not me who thinks these
>
> Tickets and the behaviour of some People is repellant.
> Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:41:55 UTC+2:
> > Interestingly Woody Zuill supports my idea of ticketless development,
> > he says somewhere to the point of “no inventory”. I have switched in
> > Dogelog to ticketless development. I think Scryer Prolog and maybe other
> >
> > Prolog systems suffer from a big backlog on GitHub issues. Everytime I
> > watch Scryer Prolog GitHub issues, their number has increased.
> > Probably their is only 1 Developer and 10 Advisors, creating noise.
> > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:13:12 UTC+2:
> > > Somebody wrote, deliberatively taken out of context here:
> > >
> > > "All good ideas of academic systems are adopted by industrial
> > > ones, which is really awesome, but unfortunately the origin of
> > > those ideas is often lost."
> > >
> > > When its only about vanity, I don’t see any practical use of PEPs.
> > > Before you can write a PEP, you have to have something working.
> > > I am very impressed by the recent SWI-Prolog WASM Hackathon.
> > >
> > > An alternative name for Hackathon could be Mob Programming:
> > >
> > > Mob Programming and the Power of Flow - Woody Zuill, 2019
> > > https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1651&group=comp.lang.prolog#1651

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:7d90:0:b0:326:b431:6cd3 with SMTP id c16-20020ac87d90000000b00326b4316cd3mr7567300qtd.511.1660401021148;
Sat, 13 Aug 2022 07:30:21 -0700 (PDT)
X-Received: by 2002:a25:ac46:0:b0:682:fb26:ea39 with SMTP id
r6-20020a25ac46000000b00682fb26ea39mr5238951ybd.91.1660401020787; Sat, 13 Aug
2022 07:30:20 -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.lang.prolog
Date: Sat, 13 Aug 2022 07:30:20 -0700 (PDT)
In-Reply-To: <6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 14:30:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7469
 by: Mostowski Collapse - Sat, 13 Aug 2022 14:30 UTC

Non-code transformation body guard indexing isn't any
secret. Is was for example documented here:

Demand-Driven Indexing of Prolog Clauses
Vıtor Santos Costa, Konstantinos Sagonas, and Ricardo Lopes
http://user.it.uu.se/~kostis/Papers/iclp07.pdf

SWI-Prolog made it also wrong, it now has a code
transformation for (=)/2 indexing:

?- [user].
p(X) :- X=a.

?- listing(p/1).
p(a).

Thats just nonsense as well. Does this say it cannot
index (==)/2, functor/3, etc..?

LoL

Mostowski Collapse schrieb am Samstag, 13. August 2022 um 16:20:40 UTC+2:
> Now I have blocked Ulrich Neumerkel and Markus Triska.
> My original plan was to not block any people anymore
> on GitHub. But they are full of nonsense.
>
> Here is an example of some gibberisch:
>
> > More properties are preserved in application code, the easier it is to
> reason about the code, also via automated reasoning. [...] Using (==)/2
> prevents such optimization, and (=)/2.
> https://github.com/mthom/scryer-prolog/pull/468#issuecomment-625388237
>
> Here is my response to the uninformed pestillence:
>
> Why would it prevent such optimizations?
> For example if you index on the main functor you can apply the
> same indexing for (==)/2 and (=)/2, thats implemented in Jekejeke Prolog.
>
> See for yourself:
> http://pages.xlog.ch/srctab/doclet/docs/05_run/common/jekpro/model/rope/IndexFront.html
>
> Its not a code transformation indexing, but indexing is possible.
> Mostowski Collapse schrieb am Samstag, 13. August 2022 um 14:19:23 UTC+2:
> > Where is Scryer Prolog on this curve now?
> >
> > Ticket Explosion and Reduction over Time
> > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> >
> > I see 54 Open Tickets by UWN, thats around 25% of the Tickets
> > I see 51 Open Tickets by triska, thats also around 25% of the Tickets
> >
> > Should rename Scryer Prolog to Troll Prolog. I had contact
> > with a Logician recently trying to port fCube by Ferrari, Fiorentini
> > and Fiorino to Scryer Prolog. But Scryer Prolog crashed,
> >
> > exact same code worked in Dogelog. I then adviced the Logician
> > to make Ticket. He refused to do so, he told me that he rather not
> > use Scryer Prolog for the moment. Its not me who thinks these
> >
> > Tickets and the behaviour of some People is repellant.
> > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:41:55 UTC+2:
> > > Interestingly Woody Zuill supports my idea of ticketless development,
> > > he says somewhere to the point of “no inventory”. I have switched in
> > > Dogelog to ticketless development. I think Scryer Prolog and maybe other
> > >
> > > Prolog systems suffer from a big backlog on GitHub issues. Everytime I
> > > watch Scryer Prolog GitHub issues, their number has increased.
> > > Probably their is only 1 Developer and 10 Advisors, creating noise.
> > > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:13:12 UTC+2:
> > > > Somebody wrote, deliberatively taken out of context here:
> > > >
> > > > "All good ideas of academic systems are adopted by industrial
> > > > ones, which is really awesome, but unfortunately the origin of
> > > > those ideas is often lost."
> > > >
> > > > When its only about vanity, I don’t see any practical use of PEPs.
> > > > Before you can write a PEP, you have to have something working.
> > > > I am very impressed by the recent SWI-Prolog WASM Hackathon.
> > > >
> > > > An alternative name for Hackathon could be Mob Programming:
> > > >
> > > > Mob Programming and the Power of Flow - Woody Zuill, 2019
> > > > https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1652&group=comp.lang.prolog#1652

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:1722:b0:6b8:5bac:4b86 with SMTP id az34-20020a05620a172200b006b85bac4b86mr6268433qkb.337.1660402008580;
Sat, 13 Aug 2022 07:46:48 -0700 (PDT)
X-Received: by 2002:a5b:7c6:0:b0:670:6ba6:d046 with SMTP id
t6-20020a5b07c6000000b006706ba6d046mr6518127ybq.140.1660402008306; Sat, 13
Aug 2022 07:46:48 -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.lang.prolog
Date: Sat, 13 Aug 2022 07:46:48 -0700 (PDT)
In-Reply-To: <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com> <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 13 Aug 2022 14:46:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 8570
 by: Mostowski Collapse - Sat, 13 Aug 2022 14:46 UTC

Maybe in SWI-Prolog it makes sense, since their
JIT indexes might also move down and not only
move right, when they make it multi argument index,

not sure what would be the cost do adopt ICLP07
approach. The ICLP07 paper talks also about some
multi-argument indexing. Maybe every (new) Prolog

system should list the paper it was using while
implementing its Prolog system. For example Ichiban
does that. I find, when I scroll down:

A PORTABLE PROLOG COMPILER (Bowen et al. 83)
[...]
https://github.com/ichiban/prolog#acknowledgments

I also try to give references, best is even to put references
in the source code. What are the references for Scryer
Prolog? Some nonsense word of mouth by two idiots?

Mostowski Collapse schrieb am Samstag, 13. August 2022 um 16:30:21 UTC+2:
> Non-code transformation body guard indexing isn't any
> secret. Is was for example documented here:
>
> Demand-Driven Indexing of Prolog Clauses
> Vıtor Santos Costa, Konstantinos Sagonas, and Ricardo Lopes
> http://user.it.uu.se/~kostis/Papers/iclp07.pdf
>
> SWI-Prolog made it also wrong, it now has a code
> transformation for (=)/2 indexing:
>
> ?- [user].
> p(X) :- X=a.
>
> ?- listing(p/1).
> p(a).
>
> Thats just nonsense as well. Does this say it cannot
> index (==)/2, functor/3, etc..?
>
> LoL
> Mostowski Collapse schrieb am Samstag, 13. August 2022 um 16:20:40 UTC+2:
> > Now I have blocked Ulrich Neumerkel and Markus Triska.
> > My original plan was to not block any people anymore
> > on GitHub. But they are full of nonsense.
> >
> > Here is an example of some gibberisch:
> >
> > > More properties are preserved in application code, the easier it is to
> > reason about the code, also via automated reasoning. [...] Using (==)/2
> > prevents such optimization, and (=)/2.
> > https://github.com/mthom/scryer-prolog/pull/468#issuecomment-625388237
> >
> > Here is my response to the uninformed pestillence:
> >
> > Why would it prevent such optimizations?
> > For example if you index on the main functor you can apply the
> > same indexing for (==)/2 and (=)/2, thats implemented in Jekejeke Prolog.
> >
> > See for yourself:
> > http://pages.xlog.ch/srctab/doclet/docs/05_run/common/jekpro/model/rope/IndexFront.html
> >
> > Its not a code transformation indexing, but indexing is possible.
> > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 14:19:23 UTC+2:
> > > Where is Scryer Prolog on this curve now?
> > >
> > > Ticket Explosion and Reduction over Time
> > > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> > >
> > > I see 54 Open Tickets by UWN, thats around 25% of the Tickets
> > > I see 51 Open Tickets by triska, thats also around 25% of the Tickets
> > >
> > > Should rename Scryer Prolog to Troll Prolog. I had contact
> > > with a Logician recently trying to port fCube by Ferrari, Fiorentini
> > > and Fiorino to Scryer Prolog. But Scryer Prolog crashed,
> > >
> > > exact same code worked in Dogelog. I then adviced the Logician
> > > to make Ticket. He refused to do so, he told me that he rather not
> > > use Scryer Prolog for the moment. Its not me who thinks these
> > >
> > > Tickets and the behaviour of some People is repellant.
> > > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:41:55 UTC+2:
> > > > Interestingly Woody Zuill supports my idea of ticketless development,
> > > > he says somewhere to the point of “no inventory”. I have switched in
> > > > Dogelog to ticketless development. I think Scryer Prolog and maybe other
> > > >
> > > > Prolog systems suffer from a big backlog on GitHub issues. Everytime I
> > > > watch Scryer Prolog GitHub issues, their number has increased.
> > > > Probably their is only 1 Developer and 10 Advisors, creating noise.
> > > > Mostowski Collapse schrieb am Samstag, 13. August 2022 um 13:13:12 UTC+2:
> > > > > Somebody wrote, deliberatively taken out of context here:
> > > > >
> > > > > "All good ideas of academic systems are adopted by industrial
> > > > > ones, which is really awesome, but unfortunately the origin of
> > > > > those ideas is often lost."
> > > > >
> > > > > When its only about vanity, I don’t see any practical use of PEPs.
> > > > > Before you can write a PEP, you have to have something working.
> > > > > I am very impressed by the recent SWI-Prolog WASM Hackathon.
> > > > >
> > > > > An alternative name for Hackathon could be Mob Programming:
> > > > >
> > > > > Mob Programming and the Power of Flow - Woody Zuill, 2019
> > > > > https://www.youtube.com/watch?v=28S4CVkYhWA

Re: 50 Years of Prolog Nonsense

<29e21fa1-8caa-47f8-971c-e9b4095238c5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1685&group=comp.lang.prolog#1685

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a37:a84e:0:b0:6bb:bf0a:5be7 with SMTP id r75-20020a37a84e000000b006bbbf0a5be7mr1302764qke.213.1660832208146;
Thu, 18 Aug 2022 07:16:48 -0700 (PDT)
X-Received: by 2002:a81:d353:0:b0:31e:2888:93a1 with SMTP id
d19-20020a81d353000000b0031e288893a1mr2951742ywl.498.1660832207591; Thu, 18
Aug 2022 07:16:47 -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.lang.prolog
Date: Thu, 18 Aug 2022 07:16:47 -0700 (PDT)
In-Reply-To: <75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com> <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
<75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <29e21fa1-8caa-47f8-971c-e9b4095238c5n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 18 Aug 2022 14:16:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4276
 by: Mostowski Collapse - Thu, 18 Aug 2022 14:16 UTC

Ok, Scryer Prolog, you got list_to_set/2. Woa!
Was ticking along with this O(n^2) version:

/* Folklore Solution */
list_to_set(L, R) :-
sys_list_to_set(L, [], R).

sys_list_to_set([], _, []).
sys_list_to_set([X|L], R, H) :-
memberchk(X, R), !,
sys_list_to_set(L, R, H).
sys_list_to_set([X|L], R, [X|H]) :-
sys_list_to_set(L, [X|R], H).

Then I found nevertheless in Scryer Prolog this one:

/* Scryer Prolog Solution */
list_to_set(Ls0, Ls) :-
maplist(lists:with_var, Ls0, LVs0),
keysort(LVs0, LVs),
same_elements(LVs),
pick_firsts(LVs0, Ls).

Is the above faster than the SWI-Prolog version,
which does two sorts?

Re: 50 Years of Prolog Nonsense

<a0f8b4c9-932b-4c30-a2ce-ffca6657f15bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1686&group=comp.lang.prolog#1686

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:8bd2:0:b0:474:7d1a:eb5b with SMTP id a18-20020a0c8bd2000000b004747d1aeb5bmr2595043qvc.18.1660832260555;
Thu, 18 Aug 2022 07:17:40 -0700 (PDT)
X-Received: by 2002:a25:7750:0:b0:692:fb4a:50e3 with SMTP id
s77-20020a257750000000b00692fb4a50e3mr2999594ybc.431.1660832259791; Thu, 18
Aug 2022 07:17:39 -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.lang.prolog
Date: Thu, 18 Aug 2022 07:17:39 -0700 (PDT)
In-Reply-To: <29e21fa1-8caa-47f8-971c-e9b4095238c5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com> <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
<75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com> <29e21fa1-8caa-47f8-971c-e9b4095238c5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a0f8b4c9-932b-4c30-a2ce-ffca6657f15bn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 18 Aug 2022 14:17:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5144
 by: Mostowski Collapse - Thu, 18 Aug 2022 14:17 UTC

BTW: Theoretical Computer Science tells me that a hash table with an
input order overlay wouldn’t be so bad, basically O(n), faster than O(n*log(n)).
I had this in Jekejeke Prolog for ages, still have it, it works like that:

/* Jekejeke Prolog Solution */
?- sort([2,1,3,1], X).
X = [1, 2, 3]
?- sort([2,1,3,1], X, [type(hash)]).
X = [2, 1, 3]

The hash table with an input order overlay is the age old Java:
https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html
The O(n) complexity assumes amortized complexity O(1) of a hash table lookup.

Right? Yes or no?

Mostowski Collapse schrieb am Donnerstag, 18. August 2022 um 16:16:49 UTC+2:
> Ok, Scryer Prolog, you got list_to_set/2. Woa!
> Was ticking along with this O(n^2) version:
>
> /* Folklore Solution */
> list_to_set(L, R) :-
> sys_list_to_set(L, [], R).
>
> sys_list_to_set([], _, []).
> sys_list_to_set([X|L], R, H) :-
> memberchk(X, R), !,
> sys_list_to_set(L, R, H).
> sys_list_to_set([X|L], R, [X|H]) :-
> sys_list_to_set(L, [X|R], H).
>
> Then I found nevertheless in Scryer Prolog this one:
>
> /* Scryer Prolog Solution */
> list_to_set(Ls0, Ls) :-
> maplist(lists:with_var, Ls0, LVs0),
> keysort(LVs0, LVs),
> same_elements(LVs),
> pick_firsts(LVs0, Ls).
>
> Is the above faster than the SWI-Prolog version,
> which does two sorts?

Re: 50 Years of Prolog Nonsense

<fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1688&group=comp.lang.prolog#1688

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:b203:0:b0:496:1420:7a78 with SMTP id x3-20020a0cb203000000b0049614207a78mr4206451qvd.57.1660860816679;
Thu, 18 Aug 2022 15:13:36 -0700 (PDT)
X-Received: by 2002:a0d:df11:0:b0:333:fd3a:613 with SMTP id
i17-20020a0ddf11000000b00333fd3a0613mr5082787ywe.38.1660860816274; Thu, 18
Aug 2022 15:13:36 -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.lang.prolog
Date: Thu, 18 Aug 2022 15:13:36 -0700 (PDT)
In-Reply-To: <a0f8b4c9-932b-4c30-a2ce-ffca6657f15bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com> <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
<e936e68c-a771-4d67-a50a-2ef06b63ff7fn@googlegroups.com> <95e84dc6-1b21-483e-b141-b6b61e88f6c3n@googlegroups.com>
<c2833218-67db-4ed5-826b-daaf594b6ee2n@googlegroups.com> <7b63f961-5c34-45e4-82ea-2601c7d14958n@googlegroups.com>
<66881bae-7313-4434-9da9-e0e1f5cb2945n@googlegroups.com> <ba4e8676-e765-4533-91bf-968e17f1ec9cn@googlegroups.com>
<6aa75242-fd2d-426e-a225-928eaf6fba5dn@googlegroups.com> <c0d90f24-3694-44ab-9a5c-8322536628d0n@googlegroups.com>
<75b4e6a9-0018-42e4-81ea-3838c9254028n@googlegroups.com> <29e21fa1-8caa-47f8-971c-e9b4095238c5n@googlegroups.com>
<a0f8b4c9-932b-4c30-a2ce-ffca6657f15bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 18 Aug 2022 22:13:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5601
 by: Mostowski Collapse - Thu, 18 Aug 2022 22:13 UTC

This is the more fun solution:

/* Folklore Solution */
list_to_set([], R) :- append(R, [], _), !.
list_to_set([X|L], R) :- member(X, R), !,
list_to_set(L, R).

Only for mode (+,-).

Mostowski Collapse schrieb am Donnerstag, 18. August 2022 um 16:17:41 UTC+2:
> BTW: Theoretical Computer Science tells me that a hash table with an
> input order overlay wouldn’t be so bad, basically O(n), faster than O(n*log(n)).
> I had this in Jekejeke Prolog for ages, still have it, it works like that:
>
> /* Jekejeke Prolog Solution */
> ?- sort([2,1,3,1], X).
> X = [1, 2, 3]
> ?- sort([2,1,3,1], X, [type(hash)]).
> X = [2, 1, 3]
>
> The hash table with an input order overlay is the age old Java:
> https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html
> The O(n) complexity assumes amortized complexity O(1) of a hash table lookup.
>
> Right? Yes or no?
> Mostowski Collapse schrieb am Donnerstag, 18. August 2022 um 16:16:49 UTC+2:
> > Ok, Scryer Prolog, you got list_to_set/2. Woa!
> > Was ticking along with this O(n^2) version:
> >
> > /* Folklore Solution */
> > list_to_set(L, R) :-
> > sys_list_to_set(L, [], R).
> >
> > sys_list_to_set([], _, []).
> > sys_list_to_set([X|L], R, H) :-
> > memberchk(X, R), !,
> > sys_list_to_set(L, R, H).
> > sys_list_to_set([X|L], R, [X|H]) :-
> > sys_list_to_set(L, [X|R], H).
> >
> > Then I found nevertheless in Scryer Prolog this one:
> >
> > /* Scryer Prolog Solution */
> > list_to_set(Ls0, Ls) :-
> > maplist(lists:with_var, Ls0, LVs0),
> > keysort(LVs0, LVs),
> > same_elements(LVs),
> > pick_firsts(LVs0, Ls).
> >
> > Is the above faster than the SWI-Prolog version,
> > which does two sorts?


devel / comp.lang.prolog / Re: 50 Years of Prolog Nonsense

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor