Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Heisenberg might have been here.


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

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

Pages:123
Re: 50 Years of Prolog Nonsense

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

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2503&group=comp.lang.prolog#2503

  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://news.novabbs.org/devel/article-flat.php?id=2504&group=comp.lang.prolog#2504

  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://news.novabbs.org/devel/article-flat.php?id=2505&group=comp.lang.prolog#2505

  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://news.novabbs.org/devel/article-flat.php?id=2531&group=comp.lang.prolog#2531

  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://news.novabbs.org/devel/article-flat.php?id=2532&group=comp.lang.prolog#2532

  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://news.novabbs.org/devel/article-flat.php?id=2533&group=comp.lang.prolog#2533

  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://news.novabbs.org/devel/article-flat.php?id=2534&group=comp.lang.prolog#2534

  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://news.novabbs.org/devel/article-flat.php?id=2535&group=comp.lang.prolog#2535

  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://news.novabbs.org/devel/article-flat.php?id=2536&group=comp.lang.prolog#2536

  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://news.novabbs.org/devel/article-flat.php?id=2569&group=comp.lang.prolog#2569

  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://news.novabbs.org/devel/article-flat.php?id=2570&group=comp.lang.prolog#2570

  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://news.novabbs.org/devel/article-flat.php?id=2572&group=comp.lang.prolog#2572

  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?

Re: 50 Years of Prolog Nonsense

<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2590&group=comp.lang.prolog#2590

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:1432:b0:6be:6c4a:b800 with SMTP id k18-20020a05620a143200b006be6c4ab800mr6035350qkj.578.1661724255363;
Sun, 28 Aug 2022 15:04:15 -0700 (PDT)
X-Received: by 2002:a81:a18d:0:b0:341:2437:f7c7 with SMTP id
y135-20020a81a18d000000b003412437f7c7mr1404254ywg.69.1661724255191; Sun, 28
Aug 2022 15:04:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Sun, 28 Aug 2022 15:04:14 -0700 (PDT)
In-Reply-To: <fe916f80-8888-4fbd-b466-654e1ded8163n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 28 Aug 2022 22:04:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: Mostowski Collapse - Sun, 28 Aug 2022 22:04 UTC

Wanna know whats the Cancer of Prolog?

Try this:

fizzbuzz :-
foreach(between(1, 100, X), print_item(X)).

print_item(X) :-
( 0 is X mod 15
-> print('FizzBuzz')
; 0 is X mod 3
-> print('Fizz')
; 0 is X mod 5
-> print('Buzz')
; print(X)
),
nl.

https://rosettacode.org/wiki/FizzBuzz#Prolog

And then try this in (Ciao Prolog Playground or search their documentation):

?- foreach(member(X, [1,2,3]), print(X)).
{ERROR: No handle found for thrown exception
error(existence_error(procedure,'user:foreach'/2),'user:foreach'/2)}

LoL

Re: 50 Years of Prolog Nonsense

<48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2647&group=comp.lang.prolog#2647

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:c29:b0:4aa:b050:5ed7 with SMTP id a9-20020a0562140c2900b004aab0505ed7mr24345659qvd.15.1663782157352;
Wed, 21 Sep 2022 10:42:37 -0700 (PDT)
X-Received: by 2002:a05:6808:1648:b0:333:45ae:3777 with SMTP id
az8-20020a056808164800b0033345ae3777mr4721552oib.4.1663782157103; Wed, 21 Sep
2022 10:42:37 -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: Wed, 21 Sep 2022 10:42:36 -0700 (PDT)
In-Reply-To: <ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Wed, 21 Sep 2022 17:42:37 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4552
 by: Mostowski Collapse - Wed, 21 Sep 2022 17:42 UTC

What does your Prolog float/1 and your Prolog (**)/2 do?
Does it do the right thing, or some nonsense?

Here are some results:

/* Jekejeke Prolog 1.5.4 */
?- aggregate_all(count, (between(1,1000000,N),
float(N)**10 =\= float(N^10)), C).
C = 551.

/* Trealla Prolog 2.2.5 */
?- aggregate_all(count, (between(1,1000000,N),
float(N)**10 =\= float(N^10)), C).
C = 12750.

/* Scryer Prolog 0.9.0 */
?- aggregate_all(count, (between(1,1000000,N),
float(N)**10 =\= float(N^10)), C).
C = 500254.

/* SWI-Prolog 8.5.17, doesn't have (^)/2, the (**)/2 behaves like it for integer arguments */
?- aggregate_all(count, (between(1,1000000,N),
float(N)**10.0 =\= float(N**10)), C).
C = 585342.

Re: 50 Years of Prolog Nonsense

<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2648&group=comp.lang.prolog#2648

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ad4:5966:0:b0:4ad:7832:a8ec with SMTP id eq6-20020ad45966000000b004ad7832a8ecmr2440933qvb.82.1663852425892;
Thu, 22 Sep 2022 06:13:45 -0700 (PDT)
X-Received: by 2002:a9d:6957:0:b0:655:f174:9fc3 with SMTP id
p23-20020a9d6957000000b00655f1749fc3mr1556372oto.282.1663852425583; Thu, 22
Sep 2022 06:13:45 -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, 22 Sep 2022 06:13:45 -0700 (PDT)
In-Reply-To: <48ee1793-a18b-4108-98ef-e628d7b17527n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 22 Sep 2022 13:13:45 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 5152
 by: Mostowski Collapse - Thu, 22 Sep 2022 13:13 UTC

Maybe one needs also look into float/1, not only (**)/2 ?
Especially float/1 of a bigint, I guess smallint could be ok.

I did more testing:

/* Jekejeke Prolog, JDK 19 */
C = 551.

/* Dogelog Player, Python (CPython and PyPy) */
C = 1991.

/* Dogelog Player, JavaScript (FireFox) */
C = 1991.

/* Jekejeke Prolog, JDK 1.8 */
C = 15586.

/* Dogelog Player, JavaScript (Chrome and NodeJS) */
C = 97722.

Mostowski Collapse schrieb am Mittwoch, 21. September 2022 um 19:42:38 UTC+2:
> What does your Prolog float/1 and your Prolog (**)/2 do?
> Does it do the right thing, or some nonsense?
>
> Here are some results:
>
> /* Jekejeke Prolog 1.5.4 */
> ?- aggregate_all(count, (between(1,1000000,N),
> float(N)**10 =\= float(N^10)), C).
> C = 551.
>
> /* Trealla Prolog 2.2.5 */
> ?- aggregate_all(count, (between(1,1000000,N),
> float(N)**10 =\= float(N^10)), C).
> C = 12750.
>
> /* Scryer Prolog 0.9.0 */
> ?- aggregate_all(count, (between(1,1000000,N),
> float(N)**10 =\= float(N^10)), C).
> C = 500254.
>
> /* SWI-Prolog 8.5.17, doesn't have (^)/2, the (**)/2 behaves like it for integer arguments */
> ?- aggregate_all(count, (between(1,1000000,N),
> float(N)**10.0 =\= float(N**10)), C).
> C = 585342.

Re: 50 Years of Prolog Nonsense

<cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2649&group=comp.lang.prolog#2649

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:1255:b0:6ce:59a0:f2ee with SMTP id a21-20020a05620a125500b006ce59a0f2eemr2077531qkl.111.1663853004311;
Thu, 22 Sep 2022 06:23:24 -0700 (PDT)
X-Received: by 2002:a05:6830:1e4c:b0:659:eca3:2c70 with SMTP id
e12-20020a0568301e4c00b00659eca32c70mr1580263otj.210.1663853004069; Thu, 22
Sep 2022 06:23:24 -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, 22 Sep 2022 06:23:23 -0700 (PDT)
In-Reply-To: <f095da54-9ac1-471e-abdc-19aaf1292c05n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 22 Sep 2022 13:23:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 5991
 by: Mostowski Collapse - Thu, 22 Sep 2022 13:23 UTC

The differences can be explained that the different host
languages have different runtime systems, with different
intrinsic Math.pow(double, double) implementations, that

is used for (**)/2 in Jekejeke Prolog and Dogelog Player, it
was all tested on the same hardware, so they possibly use
soft implementation of the pow intrinsic. Or maybe some

use hard implementation delegating to FPU, and I might
even see differences on different hardward. Will check with
a different hardware as welll. Give me some time. Since I

have Ryzen and Intel here, maybe will see a difference.

Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:13:46 UTC+2:
> Maybe one needs also look into float/1, not only (**)/2 ?
> Especially float/1 of a bigint, I guess smallint could be ok.
>
> I did more testing:
>
> /* Jekejeke Prolog, JDK 19 */
> C = 551.
>
> /* Dogelog Player, Python (CPython and PyPy) */
> C = 1991.
>
> /* Dogelog Player, JavaScript (FireFox) */
> C = 1991.
>
> /* Jekejeke Prolog, JDK 1.8 */
> C = 15586.
>
> /* Dogelog Player, JavaScript (Chrome and NodeJS) */
> C = 97722.
> Mostowski Collapse schrieb am Mittwoch, 21. September 2022 um 19:42:38 UTC+2:
> > What does your Prolog float/1 and your Prolog (**)/2 do?
> > Does it do the right thing, or some nonsense?
> >
> > Here are some results:
> >
> > /* Jekejeke Prolog 1.5.4 */
> > ?- aggregate_all(count, (between(1,1000000,N),
> > float(N)**10 =\= float(N^10)), C).
> > C = 551.
> >
> > /* Trealla Prolog 2.2.5 */
> > ?- aggregate_all(count, (between(1,1000000,N),
> > float(N)**10 =\= float(N^10)), C).
> > C = 12750.
> >
> > /* Scryer Prolog 0.9.0 */
> > ?- aggregate_all(count, (between(1,1000000,N),
> > float(N)**10 =\= float(N^10)), C).
> > C = 500254.
> >
> > /* SWI-Prolog 8.5.17, doesn't have (^)/2, the (**)/2 behaves like it for integer arguments */
> > ?- aggregate_all(count, (between(1,1000000,N),
> > float(N)**10.0 =\= float(N**10)), C).
> > C = 585342.

Re: 50 Years of Prolog Nonsense

<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2650&group=comp.lang.prolog#2650

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:83:b0:35c:ef68:5f46 with SMTP id o3-20020a05622a008300b0035cef685f46mr2831370qtw.594.1663854060746;
Thu, 22 Sep 2022 06:41:00 -0700 (PDT)
X-Received: by 2002:a9d:5f9b:0:b0:654:e87a:2aec with SMTP id
g27-20020a9d5f9b000000b00654e87a2aecmr1554038oti.354.1663854060440; Thu, 22
Sep 2022 06:41:00 -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, 22 Sep 2022 06:41:00 -0700 (PDT)
In-Reply-To: <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Thu, 22 Sep 2022 13:41:00 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 6564
 by: Mostowski Collapse - Thu, 22 Sep 2022 13:41 UTC

Yes there is also a hardware dependency, and these figures
are no joke, i.e. that one figure is permutation of the other figure,
thats some random accident. I get the following result:

/* Jekejeke Prolog, JDK 1.8, Ryzen, 5 4500U */
C = 15586.

/* Jekejeke Prolog, JDK 1.8, Intel, i5-1135G7 */
C = 15856.

Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:23:25 UTC+2:
> The differences can be explained that the different host
> languages have different runtime systems, with different
> intrinsic Math.pow(double, double) implementations, that
>
> is used for (**)/2 in Jekejeke Prolog and Dogelog Player, it
> was all tested on the same hardware, so they possibly use
> soft implementation of the pow intrinsic. Or maybe some
>
> use hard implementation delegating to FPU, and I might
> even see differences on different hardward. Will check with
> a different hardware as welll. Give me some time. Since I
>
> have Ryzen and Intel here, maybe will see a difference.
> Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:13:46 UTC+2:
> > Maybe one needs also look into float/1, not only (**)/2 ?
> > Especially float/1 of a bigint, I guess smallint could be ok.
> >
> > I did more testing:
> >
> > /* Jekejeke Prolog, JDK 19 */
> > C = 551.
> >
> > /* Dogelog Player, Python (CPython and PyPy) */
> > C = 1991.
> >
> > /* Dogelog Player, JavaScript (FireFox) */
> > C = 1991.
> >
> > /* Jekejeke Prolog, JDK 1.8 */
> > C = 15586.
> >
> > /* Dogelog Player, JavaScript (Chrome and NodeJS) */
> > C = 97722.
> > Mostowski Collapse schrieb am Mittwoch, 21. September 2022 um 19:42:38 UTC+2:
> > > What does your Prolog float/1 and your Prolog (**)/2 do?
> > > Does it do the right thing, or some nonsense?
> > >
> > > Here are some results:
> > >
> > > /* Jekejeke Prolog 1.5.4 */
> > > ?- aggregate_all(count, (between(1,1000000,N),
> > > float(N)**10 =\= float(N^10)), C).
> > > C = 551.
> > >
> > > /* Trealla Prolog 2.2.5 */
> > > ?- aggregate_all(count, (between(1,1000000,N),
> > > float(N)**10 =\= float(N^10)), C).
> > > C = 12750.
> > >
> > > /* Scryer Prolog 0.9.0 */
> > > ?- aggregate_all(count, (between(1,1000000,N),
> > > float(N)**10 =\= float(N^10)), C).
> > > C = 500254.
> > >
> > > /* SWI-Prolog 8.5.17, doesn't have (^)/2, the (**)/2 behaves like it for integer arguments */
> > > ?- aggregate_all(count, (between(1,1000000,N),
> > > float(N)**10.0 =\= float(N**10)), C).
> > > C = 585342.

Re: 50 Years of Prolog Nonsense

<ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2651&group=comp.lang.prolog#2651

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:4118:b0:4ac:ae43:4074 with SMTP id kc24-20020a056214411800b004acae434074mr6897500qvb.13.1663944295336;
Fri, 23 Sep 2022 07:44:55 -0700 (PDT)
X-Received: by 2002:a4a:645:0:b0:475:e496:78f9 with SMTP id
66-20020a4a0645000000b00475e49678f9mr3611442ooj.13.1663944295027; Fri, 23 Sep
2022 07:44:55 -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, 23 Sep 2022 07:44:54 -0700 (PDT)
In-Reply-To: <67637021-df00-45a4-9c80-46a0e3d3a6a9n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 23 Sep 2022 14:44:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7499
 by: Mostowski Collapse - Fri, 23 Sep 2022 14:44 UTC

Some progress was reported for SWI-Prolog:

/* Ubuntu AMD3950X, gcc-11 */
C = 807
/* Apple M1, AppleClang 13.1 */
C = 1225
/* Windows, MinGW 11.2 */
C = 508689

Maybe MinGW suffers from:

- Theory: You know something, but it doesn’t work.
- Practice: Something works, but you don’t know why.
- Programming: Combine theory and practice: Nothing works, and we don’t know why!

Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:41:01 UTC+2:
> Yes there is also a hardware dependency, and these figures
> are no joke, i.e. that one figure is permutation of the other figure,
> thats some random accident. I get the following result:
>
> /* Jekejeke Prolog, JDK 1.8, Ryzen, 5 4500U */
> C = 15586.
>
> /* Jekejeke Prolog, JDK 1.8, Intel, i5-1135G7 */
> C = 15856.
> Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:23:25 UTC+2:
> > The differences can be explained that the different host
> > languages have different runtime systems, with different
> > intrinsic Math.pow(double, double) implementations, that
> >
> > is used for (**)/2 in Jekejeke Prolog and Dogelog Player, it
> > was all tested on the same hardware, so they possibly use
> > soft implementation of the pow intrinsic. Or maybe some
> >
> > use hard implementation delegating to FPU, and I might
> > even see differences on different hardward. Will check with
> > a different hardware as welll. Give me some time. Since I
> >
> > have Ryzen and Intel here, maybe will see a difference.
> > Mostowski Collapse schrieb am Donnerstag, 22. September 2022 um 15:13:46 UTC+2:
> > > Maybe one needs also look into float/1, not only (**)/2 ?
> > > Especially float/1 of a bigint, I guess smallint could be ok.
> > >
> > > I did more testing:
> > >
> > > /* Jekejeke Prolog, JDK 19 */
> > > C = 551.
> > >
> > > /* Dogelog Player, Python (CPython and PyPy) */
> > > C = 1991.
> > >
> > > /* Dogelog Player, JavaScript (FireFox) */
> > > C = 1991.
> > >
> > > /* Jekejeke Prolog, JDK 1.8 */
> > > C = 15586.
> > >
> > > /* Dogelog Player, JavaScript (Chrome and NodeJS) */
> > > C = 97722.
> > > Mostowski Collapse schrieb am Mittwoch, 21. September 2022 um 19:42:38 UTC+2:
> > > > What does your Prolog float/1 and your Prolog (**)/2 do?
> > > > Does it do the right thing, or some nonsense?
> > > >
> > > > Here are some results:
> > > >
> > > > /* Jekejeke Prolog 1.5.4 */
> > > > ?- aggregate_all(count, (between(1,1000000,N),
> > > > float(N)**10 =\= float(N^10)), C).
> > > > C = 551.
> > > >
> > > > /* Trealla Prolog 2.2.5 */
> > > > ?- aggregate_all(count, (between(1,1000000,N),
> > > > float(N)**10 =\= float(N^10)), C).
> > > > C = 12750.
> > > >
> > > > /* Scryer Prolog 0.9.0 */
> > > > ?- aggregate_all(count, (between(1,1000000,N),
> > > > float(N)**10 =\= float(N^10)), C).
> > > > C = 500254.
> > > >
> > > > /* SWI-Prolog 8.5.17, doesn't have (^)/2, the (**)/2 behaves like it for integer arguments */
> > > > ?- aggregate_all(count, (between(1,1000000,N),
> > > > float(N)**10.0 =\= float(N**10)), C).
> > > > C = 585342.

Re: 50 Years of Prolog Nonsense

<784b7fec-6357-4667-82a8-69e682b613c6n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2652&group=comp.lang.prolog#2652

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:5a83:0:b0:35c:d945:6442 with SMTP id c3-20020ac85a83000000b0035cd9456442mr14198303qtc.57.1664115014111;
Sun, 25 Sep 2022 07:10:14 -0700 (PDT)
X-Received: by 2002:a05:6870:c69e:b0:126:cfe3:dd0d with SMTP id
cv30-20020a056870c69e00b00126cfe3dd0dmr17011558oab.4.1664115013806; Sun, 25
Sep 2022 07:10:13 -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: Sun, 25 Sep 2022 07:10:13 -0700 (PDT)
In-Reply-To: <ca2d2ae7-b612-4a57-8e59-61694a180399n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com> <ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <784b7fec-6357-4667-82a8-69e682b613c6n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 25 Sep 2022 14:10:14 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4682
 by: Mostowski Collapse - Sun, 25 Sep 2022 14:10 UTC

Will a change to float/1 also affect (/)/2. In the past I had high
regard of ECLiPSe Prolog (/)/2. Actually now I have the feeling
ECLiPSe Prolog has degraded. But there is now the issue, suppose

there is a new SWI-Prolog version with a new float/1 compatible
with (**)/2, do the results still hold?

?- aggregate_all(count, (between(1,1000000,N),
(123456789*123456789*N)/123456789 =\= float(123456789*N)), C).

/* SWI-Prolog 8.5.17 */
C = 0

/* Jekejeke Prolog 1.5.4, both JDK 1.8 and JDK 19 */
C = 72226

/* ECLiPSe Prolog 7.0.61 */
C = 494175

Re: 50 Years of Prolog Nonsense

<a9f6c759-bc62-42d6-8f89-8904201f653cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2653&group=comp.lang.prolog#2653

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:f24:b0:4ac:a9fd:8b42 with SMTP id iw4-20020a0562140f2400b004aca9fd8b42mr14134010qvb.22.1664115094064;
Sun, 25 Sep 2022 07:11:34 -0700 (PDT)
X-Received: by 2002:a05:6820:1888:b0:476:1d00:9d8f with SMTP id
bm8-20020a056820188800b004761d009d8fmr7107762oob.98.1664115093833; Sun, 25
Sep 2022 07:11:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Sun, 25 Sep 2022 07:11:33 -0700 (PDT)
In-Reply-To: <784b7fec-6357-4667-82a8-69e682b613c6n@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com> <ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>
<784b7fec-6357-4667-82a8-69e682b613c6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a9f6c759-bc62-42d6-8f89-8904201f653cn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 25 Sep 2022 14:11:34 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mostowski Collapse - Sun, 25 Sep 2022 14:11 UTC

And of course there is the question of timing. SWI-Prolog, the
version 8.5.17 I have available, is rather behind, possibly rather
an issue of (/)/2, but could be an issue of both (/)/2

and float/1 in the future:

?- time((between(1,1000000,N), (123456789*123456789*N)/123456789
=\= float(123456789*N), fail; true)).

/* SWI-Prolog 8.5.17 */
% 2,000,002 inferences, 1.297 CPU in 1.285 seconds (101% CPU, 1542170 Lips)

/* Jekejeke Prolog 1.5.4, JDK 19 */
% Threads 328 ms, GC 3 ms, Up 333 ms (Current 09/25/22 16:01:26)

/* Jekejeke Prolog 1.5.4, JDK 1.8 */
% Threads 250 ms, GC 3 ms, Up 261 ms (Current 09/25/22 16:05:51)

Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 16:10:14 UTC+2:
> Will a change to float/1 also affect (/)/2. In the past I had high
> regard of ECLiPSe Prolog (/)/2. Actually now I have the feeling
> ECLiPSe Prolog has degraded. But there is now the issue, suppose
>
> there is a new SWI-Prolog version with a new float/1 compatible
> with (**)/2, do the results still hold?
>
> ?- aggregate_all(count, (between(1,1000000,N),
> (123456789*123456789*N)/123456789 =\= float(123456789*N)), C).
>
> /* SWI-Prolog 8.5.17 */
> C = 0
>
> /* Jekejeke Prolog 1.5.4, both JDK 1.8 and JDK 19 */
> C = 72226
>
> /* ECLiPSe Prolog 7.0.61 */
> C = 494175

Re: 50 Years of Prolog Nonsense

<e1972fc0-52b5-4d82-a89d-a8c8157f873bn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2654&group=comp.lang.prolog#2654

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:a90a:0:b0:4ad:715:897 with SMTP id y10-20020a0ca90a000000b004ad07150897mr14093501qva.114.1664121322209;
Sun, 25 Sep 2022 08:55:22 -0700 (PDT)
X-Received: by 2002:a05:6870:9a26:b0:12d:7e1:e9c7 with SMTP id
fo38-20020a0568709a2600b0012d07e1e9c7mr10885100oab.257.1664121321944; Sun, 25
Sep 2022 08:55: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: Sun, 25 Sep 2022 08:55:21 -0700 (PDT)
In-Reply-To: <a9f6c759-bc62-42d6-8f89-8904201f653cn@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com> <ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>
<784b7fec-6357-4667-82a8-69e682b613c6n@googlegroups.com> <a9f6c759-bc62-42d6-8f89-8904201f653cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e1972fc0-52b5-4d82-a89d-a8c8157f873bn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 25 Sep 2022 15:55:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 6728
 by: Mostowski Collapse - Sun, 25 Sep 2022 15:55 UTC

Its also lacking behind on Unix, via WSL2 on the same machine,
but this is not yet a version with some new float/1:

/* SWI-Prolog 8.4.2 */
% 2,000,001 inferences, 0.543 CPU in 0.543 seconds (100% CPU, 3685380 Lips)
JDK 1.8 does it in 261 ms. But I use a different (/)/2 algorithm.
Actually one could also introduce two float division algorithms, similar
to two power raise functions (**)/2 and (^)/2:

- Fast but less precise (/)/2: Calling X is A/B will use a less precise algorithm,
like for example float(A)/float(B). The benefit would be more speedier,
disadvantage less precision. The error is not that bad, see above in the
example I get only 72226 faults. Same idea could be applied to (**)/2.

- Slow but more precise (rdiv)/2 and float/1 combo: Call X is float(A rdiv B) will
use a more precise algorithm, for example divmod/4 and extra shifting
based as in mpq_get_d_nearest . The benefit would be more precise,
disadvantage less speed. Same idea could be appled to (^)/2.

Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 16:11:35 UTC+2:
> And of course there is the question of timing. SWI-Prolog, the
> version 8.5.17 I have available, is rather behind, possibly rather
> an issue of (/)/2, but could be an issue of both (/)/2
>
> and float/1 in the future:
>
> ?- time((between(1,1000000,N), (123456789*123456789*N)/123456789
> =\= float(123456789*N), fail; true)).
>
> /* SWI-Prolog 8.5.17 */
> % 2,000,002 inferences, 1.297 CPU in 1.285 seconds (101% CPU, 1542170 Lips)
>
> /* Jekejeke Prolog 1.5.4, JDK 19 */
> % Threads 328 ms, GC 3 ms, Up 333 ms (Current 09/25/22 16:01:26)
>
> /* Jekejeke Prolog 1.5.4, JDK 1.8 */
> % Threads 250 ms, GC 3 ms, Up 261 ms (Current 09/25/22 16:05:51)
> Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 16:10:14 UTC+2:
> > Will a change to float/1 also affect (/)/2. In the past I had high
> > regard of ECLiPSe Prolog (/)/2. Actually now I have the feeling
> > ECLiPSe Prolog has degraded. But there is now the issue, suppose
> >
> > there is a new SWI-Prolog version with a new float/1 compatible
> > with (**)/2, do the results still hold?
> >
> > ?- aggregate_all(count, (between(1,1000000,N),
> > (123456789*123456789*N)/123456789 =\= float(123456789*N)), C).
> >
> > /* SWI-Prolog 8.5.17 */
> > C = 0
> >
> > /* Jekejeke Prolog 1.5.4, both JDK 1.8 and JDK 19 */
> > C = 72226
> >
> > /* ECLiPSe Prolog 7.0.61 */
> > C = 494175

Re: 50 Years of Prolog Nonsense

<258ecaf5-0e5c-4675-9e19-626d0bb33743n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=2655&group=comp.lang.prolog#2655

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:c29:b0:4aa:b050:5ed7 with SMTP id a9-20020a0562140c2900b004aab0505ed7mr14172707qvd.15.1664121385631;
Sun, 25 Sep 2022 08:56:25 -0700 (PDT)
X-Received: by 2002:a05:6808:1149:b0:350:edd9:d2e8 with SMTP id
u9-20020a056808114900b00350edd9d2e8mr10270113oiu.282.1664121385289; Sun, 25
Sep 2022 08:56:25 -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: Sun, 25 Sep 2022 08:56:25 -0700 (PDT)
In-Reply-To: <e1972fc0-52b5-4d82-a89d-a8c8157f873bn@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> <fe916f80-8888-4fbd-b466-654e1ded8163n@googlegroups.com>
<ff7f2bbc-eb9a-4351-9301-24e1e9ddaf0cn@googlegroups.com> <48ee1793-a18b-4108-98ef-e628d7b17527n@googlegroups.com>
<f095da54-9ac1-471e-abdc-19aaf1292c05n@googlegroups.com> <cd5a9dcc-f487-44a7-b2d5-2aa4c6c6e0b4n@googlegroups.com>
<67637021-df00-45a4-9c80-46a0e3d3a6a9n@googlegroups.com> <ca2d2ae7-b612-4a57-8e59-61694a180399n@googlegroups.com>
<784b7fec-6357-4667-82a8-69e682b613c6n@googlegroups.com> <a9f6c759-bc62-42d6-8f89-8904201f653cn@googlegroups.com>
<e1972fc0-52b5-4d82-a89d-a8c8157f873bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <258ecaf5-0e5c-4675-9e19-626d0bb33743n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 25 Sep 2022 15:56:25 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 7318
 by: Mostowski Collapse - Sun, 25 Sep 2022 15:56 UTC

I also tested Trealla Prolog and Scryer Prolog, here precision:

/* Trealla Prolog 2.2.6 */
C = 72226

/* Scryer Prolog 0.9.0 */
C = 494423

Here the time measurements, Trealla Prolog nearly as fast as JDK 1.8:

/* Trealla Prolog 2.2.6 */
% Time elapsed 0.293s

/* Scryer Prolog 0.9.0 */
% % CPU time: 1.559s

Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 17:55:23 UTC+2:
> Its also lacking behind on Unix, via WSL2 on the same machine,
> but this is not yet a version with some new float/1:
>
> /* SWI-Prolog 8.4.2 */
> % 2,000,001 inferences, 0.543 CPU in 0.543 seconds (100% CPU, 3685380 Lips)
> JDK 1.8 does it in 261 ms. But I use a different (/)/2 algorithm.
> Actually one could also introduce two float division algorithms, similar
> to two power raise functions (**)/2 and (^)/2:
>
> - Fast but less precise (/)/2: Calling X is A/B will use a less precise algorithm,
> like for example float(A)/float(B). The benefit would be more speedier,
> disadvantage less precision. The error is not that bad, see above in the
> example I get only 72226 faults. Same idea could be applied to (**)/2.
>
> - Slow but more precise (rdiv)/2 and float/1 combo: Call X is float(A rdiv B) will
> use a more precise algorithm, for example divmod/4 and extra shifting
> based as in mpq_get_d_nearest . The benefit would be more precise,
> disadvantage less speed. Same idea could be appled to (^)/2.
> Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 16:11:35 UTC+2:
> > And of course there is the question of timing. SWI-Prolog, the
> > version 8.5.17 I have available, is rather behind, possibly rather
> > an issue of (/)/2, but could be an issue of both (/)/2
> >
> > and float/1 in the future:
> >
> > ?- time((between(1,1000000,N), (123456789*123456789*N)/123456789
> > =\= float(123456789*N), fail; true)).
> >
> > /* SWI-Prolog 8.5.17 */
> > % 2,000,002 inferences, 1.297 CPU in 1.285 seconds (101% CPU, 1542170 Lips)
> >
> > /* Jekejeke Prolog 1.5.4, JDK 19 */
> > % Threads 328 ms, GC 3 ms, Up 333 ms (Current 09/25/22 16:01:26)
> >
> > /* Jekejeke Prolog 1.5.4, JDK 1.8 */
> > % Threads 250 ms, GC 3 ms, Up 261 ms (Current 09/25/22 16:05:51)
> > Mostowski Collapse schrieb am Sonntag, 25. September 2022 um 16:10:14 UTC+2:
> > > Will a change to float/1 also affect (/)/2. In the past I had high
> > > regard of ECLiPSe Prolog (/)/2. Actually now I have the feeling
> > > ECLiPSe Prolog has degraded. But there is now the issue, suppose
> > >
> > > there is a new SWI-Prolog version with a new float/1 compatible
> > > with (**)/2, do the results still hold?
> > >
> > > ?- aggregate_all(count, (between(1,1000000,N),
> > > (123456789*123456789*N)/123456789 =\= float(123456789*N)), C).
> > >
> > > /* SWI-Prolog 8.5.17 */
> > > C = 0
> > >
> > > /* Jekejeke Prolog 1.5.4, both JDK 1.8 and JDK 19 */
> > > C = 72226
> > >
> > > /* ECLiPSe Prolog 7.0.61 */
> > > C = 494175

Re: 50 Years of Prolog Nonsense

<uv1q99$b8o5$1@solani.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3056&group=comp.lang.prolog#3056

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: janburse@fastmail.fm (Mild Shock)
Newsgroups: comp.lang.prolog
Subject: Re: 50 Years of Prolog Nonsense
Date: Tue, 9 Apr 2024 00:15:04 +0200
Message-ID: <uv1q99$b8o5$1@solani.org>
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@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>
<m2msy7gg8d.fsf@logic.at>
<7199a778-7b65-4d5a-8cac-908ab6d415adn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Apr 2024 22:15:05 -0000 (UTC)
Injection-Info: solani.org;
logging-data="369413"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.2
Cancel-Lock: sha1:3HDbL9yeWIFpYMTo/5zwDrVKCwE=
In-Reply-To: <7199a778-7b65-4d5a-8cac-908ab6d415adn@googlegroups.com>
X-User-ID: eJwFwQkBwDAIA0BLsBAeOaUU/xJ2R7j6DXO6cbllEXgi6Ec4k3rSfVn7TqARdyzrk346R9NgMoAWqqcE+AEsxRRM
 by: Mild Shock - Mon, 8 Apr 2024 22:15 UTC

Remembering Joe Armstrong - 20. April 2024:
https://www.heise.de/news/Hello-Mike-hello-Robert-goodbye-Joe-Zum-Tode-von-Joe-Armstrong-4404170.html

Some quote:

"Make it work, then make it beautiful, then
if you really, really have to, make it fast.

90% of the time, if you make it beautiful,
it will already be fast.

So really, just make it beautiful!
-Joe Armstrong, Erlang"

Now I have a couple of questions:
- Was Jekejeke beautiful? [No! LoL]
- Is Trealla beautiful?
- Is Scryer beautiful?
- Is Dogelog beautiful? [Yes! LoL]
- Is SWI-Prolog beautiful?
- Is GNU Prolog beautiful?
- Is ECLiPSe Prolog beautiful?
- Is XSB Prolog beautiful?
- Is SICStus Prolog beautiful?
- Etc..

Re: 50 Years of Prolog Nonsense

<uv1qj9$b90p$1@solani.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3057&group=comp.lang.prolog#3057

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: janburse@fastmail.fm (Mild Shock)
Newsgroups: comp.lang.prolog
Subject: Re: 50 Years of Prolog Nonsense
Date: Tue, 9 Apr 2024 00:20:25 +0200
Message-ID: <uv1qj9$b90p$1@solani.org>
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@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>
<m2msy7gg8d.fsf@logic.at>
<7199a778-7b65-4d5a-8cac-908ab6d415adn@googlegroups.com>
<uv1q99$b8o5$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Apr 2024 22:20:25 -0000 (UTC)
Injection-Info: solani.org;
logging-data="369689"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.2
Cancel-Lock: sha1:FAUddMWMygR7v49hl0dZmPzZqzI=
X-User-ID: eJwFwYEBwCAIA7CXBFuEcxTW/09Ywh0WfRAMUJS+/T1klFBmVwBXWz1cjA3b5FZLnTixsfwl/CSbPpMz/gNMARUH
In-Reply-To: <uv1q99$b8o5$1@solani.org>
 by: Mild Shock - Mon, 8 Apr 2024 22:20 UTC

Hey Scryer Prolog, whats up?
Why the tooltip "Artificial Intelligence" over "AI"

Scryer Prolog Meetup 2024
https://www.digitalaustria.gv.at/eng/insights/Digital-Austria-Events-EN/Scryer-Prolog-Meetup-2024.html

What does AI mean in Austria, Austrian Idiotism?
Why don't you simply write:

Artificial Inteligence (AI) in the first occurence,
then in every other occurence you can write AI.
And then the thingy gets also printable.

Mild Shock schrieb:
> Remembering Joe Armstrong - 20. April 2024:
> https://www.heise.de/news/Hello-Mike-hello-Robert-goodbye-Joe-Zum-Tode-von-Joe-Armstrong-4404170.html
>
>
> Some quote:
>
> "Make it work, then make it beautiful, then
> if you really, really have to, make it fast.
>
> 90% of the time, if you make it beautiful,
> it will already be fast.
>
> So really, just make it beautiful!
> -Joe Armstrong, Erlang"
>
>
> Now I have a couple of questions:
> - Was Jekejeke beautiful? [No! LoL]
> - Is Trealla beautiful?
> - Is Scryer beautiful?
> - Is Dogelog beautiful? [Yes! LoL]
> - Is SWI-Prolog beautiful?
> - Is GNU Prolog beautiful?
> - Is ECLiPSe Prolog beautiful?
> - Is XSB Prolog beautiful?
> - Is SICStus Prolog beautiful?
> - Etc..
>
>
>


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

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor