Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Bringing computers into the home won't change either one, but may revitalize the corner saloon.


devel / comp.lang.javascript / ANN: Dogelog Player 1.1.6 (HTTP Client)

SubjectAuthor
* ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
+* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
|+* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||`* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Lawrence D'Oliveiro
|| `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||  `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||   `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Lawrence D'Oliveiro
||    `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||     `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Lawrence D'Oliveiro
||      `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||       `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Lawrence D'Oliveiro
||        `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
||         `- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
|`- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
`* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 +* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)John Harris
 |`* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 | `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)John Harris
 |  `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |   +- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |   `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)John Harris
 |    +* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |    |`- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |    `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |     `* Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 |      `- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock
 `- Re: ANN: Dogelog Player 1.1.6 (HTTP Client)Mild Shock

Pages:12
ANN: Dogelog Player 1.1.6 (HTTP Client)

<uscsdk$12mjt$3@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Thu, 7 Mar 2024 18:10:11 +0100
Message-ID: <uscsdk$12mjt$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Mar 2024 17:10:12 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1137277"; 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.1
Cancel-Lock: sha1:CpvztL9nPRXkKeJJvVedm0g5Ns4=
X-User-ID: eJwFwQkBwDAIA0BLzSA8ckoB/xJ2RzHYczWacrlHageRT+XoKU0Xh8wRelyJns89lberrWcTYK8FsCxi6gcy5hUK
X-Mozilla-News-Host: news://news.solani.org:119
 by: Mild Shock - Thu, 7 Mar 2024 17:10 UTC

Dear All,

We are happy to announce a new edition
of the Dogelog player:

- Enhanced '$YIELD'/1:
Previously the '$YIELD'/1 instruction was hard coded
to understand an integer for sleep/1 and an atom for
native library loading. The implementation has been
change to accept a Promise object, known from
JavaScript. Emulations were made available for
Java and Python.

- Async I/O:
Based on the new '$YIELD'/1 and a buffer fast path
idea, the console reading, file property and file
reading have been asyncified. There is no change in
the Prolog API, files are still to be opened via the
ISO core open/3 and accessed via ISO core get_code/2
respectively ISO core peek_code/2. But input can now
be executed quasi-parallel by multiple tasks.

- HTTP client:
The ISO core open/4 has been moved to the library(spin).
The support of the HTTP and HTTPS protocol in open/3
and open/4, has been extended from the JavaScript
browser to the JavaScript command line (by means of
new fetch in nodejs >21). Further supported targets
are now Python and Java (by means of new HTTP client
in JDK >21).

Have Fun!

Jan Burse, http://www.xlog.ch/ , 07.03.2024

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usksvq$16bd7$2@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Sun, 10 Mar 2024 19:09:00 +0100
Message-ID: <usksvq$16bd7$2@solani.org>
References: <uscsdk$12mjt$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Mar 2024 18:08:58 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1256871"; 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.1
Cancel-Lock: sha1:whWhI0/0f9zWejHl/M1ZxqkqhZw=
X-User-ID: eJwFwYEBwCAIA7CX7IRWzgGF/09Y4pvgldFpPj5tnaLsltA7D2APDwMVheS5AXH3exXrc/NTLMQ0GWKuH06hFRA=
In-Reply-To: <uscsdk$12mjt$3@solani.org>
 by: Mild Shock - Sun, 10 Mar 2024 18:09 UTC

Dogelog Player is a Prolog system that is 100% written
in Prolog itself. It is avsailable for the JavaScript,
Python and Java platform. We show how the stable
ordering of Prolog variables in Dogelog Player allows
highly efficient constraint solving approaches.

We convert the undirected graph into a directed graph
and create adjacency lists. This inequality graph doesn’t
have the same delayed evaluation overhead than
(#=)/2 and dif/2. We demonstrate map coloring and
sudoku solving. Further improvements in a
subsequent article.

See also:

Map Coloring and Sudoku Solving
https://twitter.com/dogelogch/status/1766885890712883276

Map Coloring and Sudoku Solving
https://www.facebook.com/groups/dogelog

Mild Shock schrieb:
> Dear All,
>
> We are happy to announce a new edition
> of the Dogelog player:
>
> - Enhanced '$YIELD'/1:
>   Previously the '$YIELD'/1 instruction was hard coded
> to understand an integer for sleep/1 and an atom for
> native library loading. The implementation has been
> change to accept a Promise object, known from
> JavaScript. Emulations were made available for
> Java and Python.
>
> - Async I/O:
>   Based on the new '$YIELD'/1 and a buffer fast path
> idea, the console reading, file property and file
> reading have been asyncified. There is no change in
> the Prolog API, files are still to be opened via the
> ISO core open/3 and accessed via ISO core get_code/2
> respectively ISO core peek_code/2. But input can now
> be executed quasi-parallel by multiple tasks.
>
> - HTTP client:
>   The ISO core open/4 has been moved to the library(spin).
> The support of the HTTP and HTTPS protocol in open/3
> and open/4, has been extended from the JavaScript
> browser to the JavaScript command line (by means of
> new fetch in nodejs >21). Further supported targets
> are now Python and Java (by means of new HTTP client
> in JDK >21).
>
> Have Fun!
>
> Jan Burse, http://www.xlog.ch/ , 07.03.2024

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uslde2$16jdm$3@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Sun, 10 Mar 2024 23:49:38 +0100
Message-ID: <uslde2$16jdm$3@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Mar 2024 22:49:38 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1265078"; 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.1
Cancel-Lock: sha1:/53e9DNPOsKLkIlSQ8DXVBOVpu0=
In-Reply-To: <usksvq$16bd7$2@solani.org>
X-User-ID: eJwFwQkBACAIA8BK8m0YBxT7R/AuDIJDR8DjxRO2I6F9M30qo3POSFVS1FbRua/BjLbwWG2zW2MSvKK7PkDqFOM=
 by: Mild Shock - Sun, 10 Mar 2024 22:49 UTC

Small implementation node about the new HTTP client
in Dogelog Player for JavaScript. I am using fetch()
everywhere. No need to get help from libraries such as:

> Axios is a promise-based HTTP Client for node.js
> and the browser. It is isomorphic (= it can run in
> the browser and nodejs with the same codebase).
> On the server-side it uses the native node.js http
> module, while on the client (browser) it uses XMLHttpRequests.
https://axios-http.com/docs/intro

First of all XMLHttpRequests is deprecated in the
browser, use fetch() instead. And nodejs has fetch()
since release 21.x.x as well. So they have become
isomorphic making AXIOS obsolete:

> Notable Changes - Oct 17, 2023
> The recent update to Node.js, version 21, includes
> an important change to the fetch module as well as
> WebStreams . Both modules were marked as stable
> after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce

Mild Shock schrieb:
>
> Dogelog Player is a Prolog system that is 100% written
> in Prolog itself. It is avsailable for the JavaScript,
> Python and Java platform. We show how the stable
> ordering of Prolog variables in Dogelog Player allows
> highly efficient constraint solving approaches.
>
> We convert the undirected graph into a directed graph
> and create adjacency lists. This inequality graph doesn’t
> have the same delayed evaluation overhead than
> (#=)/2 and dif/2. We demonstrate map coloring and
> sudoku solving. Further improvements in a
> subsequent article.
>
> See also:
>
> Map Coloring and Sudoku Solving
> https://twitter.com/dogelogch/status/1766885890712883276
>
> Map Coloring and Sudoku Solving
> https://www.facebook.com/groups/dogelog
>
>
> Mild Shock schrieb:
>> Dear All,
>>
>> We are happy to announce a new edition
>> of the Dogelog player:
>>
>> - Enhanced '$YIELD'/1:
>>    Previously the '$YIELD'/1 instruction was hard coded
>> to understand an integer for sleep/1 and an atom for
>> native library loading. The implementation has been
>> change to accept a Promise object, known from
>> JavaScript. Emulations were made available for
>> Java and Python.
>>
>> - Async I/O:
>>    Based on the new '$YIELD'/1 and a buffer fast path
>> idea, the console reading, file property and file
>> reading have been asyncified. There is no change in
>> the Prolog API, files are still to be opened via the
>> ISO core open/3 and accessed via ISO core get_code/2
>> respectively ISO core peek_code/2. But input can now
>> be executed quasi-parallel by multiple tasks.
>>
>> - HTTP client:
>>    The ISO core open/4 has been moved to the library(spin).
>> The support of the HTTP and HTTPS protocol in open/3
>> and open/4, has been extended from the JavaScript
>> browser to the JavaScript command line (by means of
>> new fetch in nodejs >21). Further supported targets
>> are now Python and Java (by means of new HTTP client
>> in JDK >21).
>>
>> Have Fun!
>>
>> Jan Burse, http://www.xlog.ch/ , 07.03.2024
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uslkef$389f8$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Mon, 11 Mar 2024 00:49:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uslkef$389f8$2@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Mar 2024 00:49:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fe5a9f7bb02ca0269dd28f91ae04646f";
logging-data="3417576"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cj+5FUKcX8hoVmoNbSydy"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:6sNoOwrU3c9QBHrJgi9eYcg8IiE=
 by: Lawrence D'Oliv - Mon, 11 Mar 2024 00:49 UTC

On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:

> First of all XMLHttpRequests is deprecated in the browser, use fetch()
> instead.

I don’t know why you would say that. Fetch is only for downloads
<https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
XMLHttpRequest works in both directions
<https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usme1l$172l5$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.chmurka.net!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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Mon, 11 Mar 2024 09:06:14 +0100
Message-ID: <usme1l$172l5$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Mar 2024 08:06:13 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1280677"; 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.1
Cancel-Lock: sha1:BFCwwyouyfhbvEUUIs+Y51yzbXo=
In-Reply-To: <uslkef$389f8$2@dont-email.me>
X-User-ID: eJwFwYEBACAEBMCVIj7GCf3+I3TnG4I+Boc5nb1OcRS+GamMXmZjSL2tUTMTh+b9JuMmKEyPV5DiXiqwD2CuFbA=
 by: Mild Shock - Mon, 11 Mar 2024 08:06 UTC

Do you mean POST requests?
You can do them also with fetch:

There is a POST example as the first fetch example:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

So you can use fetch also for upload.
Not only for download.

Lawrence D'Oliveiro schrieb:
> On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:
>
>> First of all XMLHttpRequests is deprecated in the browser, use fetch()
>> instead.
>
> I don’t know why you would say that. Fetch is only for downloads
> <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
> XMLHttpRequest works in both directions
> <https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usme4f$172l5$2@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Mon, 11 Mar 2024 09:07:44 +0100
Message-ID: <usme4f$172l5$2@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Mar 2024 08:07:43 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1280677"; 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.1
Cancel-Lock: sha1:wA2+bvEPPFQSYVvcnLT5OgZOr7o=
In-Reply-To: <usme1l$172l5$1@solani.org>
X-User-ID: eJwNyMEBACAEBdCVCB/jSNl/hLq8wzMBo11hUBubDOLmNqGKmbMN2YDH8sSttel66y9R+8ZUFpPSGjl9dPoBREYVcw==
 by: Mild Shock - Mon, 11 Mar 2024 08:07 UTC

Its straight forward:

async function postData(url = "", data = {}) {
const response = await fetch(url, {
method: "POST",
[...]
body: /* put your upload content here */

Mild Shock schrieb:
> Do you mean POST requests?
> You can do them also with fetch:
>
> There is a POST example as the first fetch example:
> https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
>
> So you can use fetch also for upload.
> Not only for download.
>
> Lawrence D'Oliveiro schrieb:
>> On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:
>>
>>> First of all XMLHttpRequests is deprecated in the browser, use fetch()
>>> instead.
>>
>> I don’t know why you would say that. Fetch is only for downloads
>> <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
>> XMLHttpRequest works in both directions
>> <https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.
>>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usnqie$3qjjk$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Mon, 11 Mar 2024 20:46:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <usnqie$3qjjk$4@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Mar 2024 20:46:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fe5a9f7bb02ca0269dd28f91ae04646f";
logging-data="4017780"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sElSdycm/qt6fU66tj7m2"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:y1FJ2COJ+ecX5/xoHj9XJOU2+Fc=
 by: Lawrence D'Oliv - Mon, 11 Mar 2024 20:46 UTC

On Mon, 11 Mar 2024 09:07:44 +0100, Mild Shock wrote:

> async function postData(url = "", data = {}) {
> const response = await fetch(url, {
> method: "POST",
> [...]
> body: /* put your upload content here */

How is that better than XMLHttpRequest?

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uso3it$18dap$3@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Tue, 12 Mar 2024 00:19:57 +0100
Message-ID: <uso3it$18dap$3@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 11 Mar 2024 23:19:57 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1324377"; 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.1
Cancel-Lock: sha1:sH5+7hyQdbpNyZMRDmsrHpSsEp4=
X-User-ID: eJwNy8kBwCAIBMCWwrGwloMK/Zdg5j+wkDjpgXAMhpBPaZ5X7XB0jFPMpnoJGeZ9URtS0hZ7Ye75X6ZW97J4M1kVGw==
In-Reply-To: <usnqie$3qjjk$4@dont-email.me>
 by: Mild Shock - Mon, 11 Mar 2024 23:19 UTC

The same code runs on nodeJS.
No need to install some XHR library.

I wrote this already:

> Notable Changes - Oct 17, 2023
> The recent update to Node.js, version 21, includes
> an important change to the fetch module as well as
> WebStreams . Both modules were marked as stable
> after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce

You get the most bang out of fetch, when
you use it with webstreams. Here is a little example:

await response.body
.pipeThrough(new TextDecoderStream())
.pipeTo(targetDiv.writable)

See also here:

Streaming element with backpressure demo
https://streams.spec.whatwg.org/demos/streaming-element-backpressure.html

Lawrence D'Oliveiro schrieb:
> On Mon, 11 Mar 2024 09:07:44 +0100, Mild Shock wrote:
>
>> async function postData(url = "", data = {}) {
>> const response = await fetch(url, {
>> method: "POST",
>> [...]
>> body: /* put your upload content here */
>
> How is that better than XMLHttpRequest?
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uso8fh$3tiv1$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Tue, 12 Mar 2024 00:43:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <uso8fh$3tiv1$1@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me> <uso3it$18dap$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 12 Mar 2024 00:43:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="11b38f0fdef8c619d895dc1d0c253c52";
logging-data="4115425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LUurKKV097LP71t3RMLs0"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:IaFTyCZteh0lNeUmORC5McqTaDw=
 by: Lawrence D'Oliv - Tue, 12 Mar 2024 00:43 UTC

On Tue, 12 Mar 2024 00:19:57 +0100, Mild Shock wrote:

> The same code runs on nodeJS.
> No need to install some XHR library.

You don’t know how to use XMLHttpRequest directly?

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usqu45$19i7n$3@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 13 Mar 2024 02:05:10 +0100
Message-ID: <usqu45$19i7n$3@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me> <uso3it$18dap$3@solani.org>
<uso8fh$3tiv1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Mar 2024 01:05:09 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1362167"; 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.1
Cancel-Lock: sha1:ahjluu/4ZeIhF0RQPy0yTta3+5c=
In-Reply-To: <uso8fh$3tiv1$1@dont-email.me>
X-User-ID: eJwNyckRACEIBMCUgHE4wlFZ8g9hrX424eo3ltMX54HuE4zsIytMBtXJvFp7jhBBttnVl5AP9ZUiyen2Ldb1Ay2DFHY=
 by: Mild Shock - Wed, 13 Mar 2024 01:05 UTC

Natively Node.js does not provide the browser XHR API.
There is, however, a node module xmlhttprequest that does.

Lawrence D'Oliveiro schrieb:
> On Tue, 12 Mar 2024 00:19:57 +0100, Mild Shock wrote:
>
>> The same code runs on nodeJS.
>> No need to install some XHR library.
>
> You don’t know how to use XMLHttpRequest directly?
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usqu6l$19i7n$4@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 13 Mar 2024 02:06:31 +0100
Message-ID: <usqu6l$19i7n$4@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Mar 2024 01:06:29 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1362167"; 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.1
Cancel-Lock: sha1:EDrMksLKIO41omcC8O9S5XyIuwI=
In-Reply-To: <usksvq$16bd7$2@solani.org>
X-User-ID: eJwFwYEBwCAIA7CXCpYK5yiT/09YEkum3lSIMTFujH1W8z4/2A2mT6ue54dOphwgYCWdnjBk4sZdRfcq/CtGE9I=
 by: Mild Shock - Wed, 13 Mar 2024 01:06 UTC

In 1997, Hong Kong judge Wayne Gould saw a partly
completed puzzle in a Japanese bookshop. Over six years,
he developed a computer program to produce unique
puzzles rapidly. The program tries to keep one puzzle
ahead of you, by generating the next puzzle while you
are solving the present one.

In the following we show a Prolog program, where
the random generation of a Puzzle is performed in
less than 2 seconds. The Prolog program was mainly
developed for Dogelog Player. We could test the
Prolog program also with Prolog systems such as
SWI-Prolog, Scryer Prolog and Trealla Prolog.

The smallest domain first variable ordering heuristic
allowed us to solve some hard problems below a minute.
Turning the heuristic into a static ordering before
search gave us a further boost and the baseline for
randomization. Measurement showed that solving blank
Sudokus doesn't have a large time variation.

See also:

Birthday Paradox and Sudoku Generation
https://twitter.com/dogelogch/status/1767714755827908991

Birthday Paradox and Sudoku Generation
https://www.facebook.com/groups/dogelog

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<usr2vv$k4gu$6@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 13 Mar 2024 02:28:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <usr2vv$k4gu$6@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me> <uso3it$18dap$3@solani.org>
<uso8fh$3tiv1$1@dont-email.me> <usqu45$19i7n$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Mar 2024 02:28:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="71ae5262ccd34dd01afa45cb3ad06860";
logging-data="659998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aGvgXa54yglHtfcCHPpy6"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:k3nkyA06308pJMRwZHhlEJi3CIo=
 by: Lawrence D'Oliv - Wed, 13 Mar 2024 02:28 UTC

On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:

> Natively Node.js does not provide the browser XHR API.

Browsers do, though.

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uss45c$1a4ci$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 13 Mar 2024 12:54:21 +0100
Message-ID: <uss45c$1a4ci$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me> <uso3it$18dap$3@solani.org>
<uso8fh$3tiv1$1@dont-email.me> <usqu45$19i7n$3@solani.org>
<usr2vv$k4gu$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Mar 2024 11:54:20 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1380754"; 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.1
Cancel-Lock: sha1:cRcbBdFIQOC7pMuLbt8sLckm1UE=
In-Reply-To: <usr2vv$k4gu$6@dont-email.me>
X-User-ID: eJwNyskBwDAIA7CVoLWBjEM49h+h1Vt8Ta0cRgOXW2c6k8BFSWOCvqmhFsGSEnU5kQ9qmXb78Ri0zK38q6V/YSEV8w==
 by: Mild Shock - Wed, 13 Mar 2024 11:54 UTC

Please go see a psychatrist, the point of
departure of my post was this advertisement,
which adresses the problem how to have

a single application code base for both browser
and node.JS, which you can also archive by using
3rd party node XHR API module. Or the 3rd party

library AXIOS is yet another alternative:

> Axios is a promise-based HTTP Client for node.js
> and the browser. It is isomorphic (= it can run in
> the browser and nodejs with the same codebase).
> On the server-side it uses the native node.js http
> module, while on the client (browser) it uses XMLHttpRequests.
https://axios-http.com/docs/intro

I then remarked that AXIOS isn't necessary anymore,
since fetch() is also isomorphic among Browser
and Node.js since release 21.x.x. With the benefit

that you wont have any 3rd party dependency anymore,
with fetch() everything will be native,
in the browser and in node.JS:

> Notable Changes - Oct 17, 2023
> The recent update to Node.js, version 21, includes
> an important change to the fetch module as well as
> WebStreams . Both modules were marked as stable
> after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce

What don't you understand here? How stupid on
a scale of 1-1000 are you? Level 9000 stupid?

Lawrence D'Oliveiro schrieb:
> On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:
>
>> Natively Node.js does not provide the browser XHR API.
>
> Browsers do, though.
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uss4i1$1a4lg$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.chmurka.net!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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 13 Mar 2024 13:01:06 +0100
Message-ID: <uss4i1$1a4lg$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <usksvq$16bd7$2@solani.org>
<uslde2$16jdm$3@solani.org> <uslkef$389f8$2@dont-email.me>
<usme1l$172l5$1@solani.org> <usme4f$172l5$2@solani.org>
<usnqie$3qjjk$4@dont-email.me> <uso3it$18dap$3@solani.org>
<uso8fh$3tiv1$1@dont-email.me> <usqu45$19i7n$3@solani.org>
<usr2vv$k4gu$6@dont-email.me> <uss45c$1a4ci$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Mar 2024 12:01:05 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1381040"; 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.1
Cancel-Lock: sha1:CoWRU/k7Dfjjo8gX8atMQsmYqOk=
X-User-ID: eJwFwYcBwDAIA7CXGDYJ56SM/0+oRA+NOggGuFy3vT3KDa3raMmvXppR5qHQ0RV+sa3jtUJ5hqRgXM+65A9VpRUo
In-Reply-To: <uss45c$1a4ci$1@solani.org>
 by: Mild Shock - Wed, 13 Mar 2024 12:01 UTC

Maybe its a language problem, what is your native
language Lawrence D'Oliveiro <ldo@nz.invalid>.
Do you understand what AXIOS advertizes, and

what they mean when they write "same codebase"?
Any idea what "same [application] codebase
[across browser and node.JS"] could mean?

Or are you simply too lazy to read what people cite?

Mild Shock schrieb:
> Please go see a psychatrist, the point of
> departure of my post was this advertisement,
> which adresses the problem how to have
>
> a single application code base for both browser
> and node.JS, which you can also archive by using
> 3rd party node XHR API module. Or the 3rd party
>
> library AXIOS is yet another alternative:
>
> > Axios is a promise-based HTTP Client for node.js
> > and the browser. It is isomorphic (= it can run in
> > the browser and nodejs with the same codebase).
> > On the server-side it uses the native node.js http
> > module, while on the client (browser) it uses XMLHttpRequests.
> https://axios-http.com/docs/intro
>
> I then remarked that AXIOS isn't necessary anymore,
> since fetch() is also isomorphic among Browser
> and Node.js since release 21.x.x. With the benefit
>
> that you wont have any 3rd party dependency anymore,
> with fetch() everything will be native,
> in the browser and in node.JS:
>
> > Notable Changes - Oct 17, 2023
> > The recent update to Node.js, version 21, includes
> > an important change to the fetch module as well as
> > WebStreams . Both modules were marked as stable
> > after a recent update.
> https://nodejs.org/en/blog/announcements/v21-release-announce
>
> What don't you understand here? How stupid on
> a scale of 1-1000 are you? Level 9000 stupid?
>
> Lawrence D'Oliveiro schrieb:
>> On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:
>>
>>> Natively Node.js does not provide the browser XHR API.
>>
>> Browsers do, though.
>>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utmtac$1nl0n$3@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Sat, 23 Mar 2024 16:43:09 +0100
Message-ID: <utmtac$1nl0n$3@solani.org>
References: <uscsdk$12mjt$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Mar 2024 15:43:08 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1823767"; 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.1
Cancel-Lock: sha1:72Pg2NT2qenEfC0+QOMW6z354QM=
In-Reply-To: <uscsdk$12mjt$3@solani.org>
X-User-ID: eJwFwYEBACAEBMCVkH8ap8T+I3SHRWWFE3QMJjpTirqPAKdd1z11p0SRAQnP8Ub22+JqZmQSYjrL+HzbBzkOFBQ=
 by: Mild Shock - Sat, 23 Mar 2024 15:43 UTC

Dogelog Player is a Prolog system that features
a generational garbage collector scheme and a
change_arg/3 primitive built-in. So far the two
didn’t go together and we had to use a cludge.
With the upcoming release we provide a proper
solution based on marking write-barriers.

Our remembered set on the variable binding trail
has the benefit that it can reduce itself during
backtracking. By adopting conductor variables, i.e.
instantiated variables that are not trailed, from
formerly Jekejeke Prolog, we could recreate a
similar benefit for Dogelog Players change_arg/3.

See also:

Marking Write-Barriers for Dogelog Player
https://twitter.com/dogelogch/status/1771559896741192186

Marking Write-Barriers for Dogelog Player
https://www.facebook.com/groups/dogelog

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utovtm$9qak$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: niam@jghnorth.org.uk.invalid (John Harris)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Sun, 24 Mar 2024 10:39:48 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <utovtm$9qak$1@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
Reply-To: jgharris@ic4life.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Mar 2024 10:39:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a7f0e3fe1d650efe4efbb327ec47daec";
logging-data="321876"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KDK/o6GHURAiKXRqjqIwL2VcwH5IrrIQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:39euF+W3VaEyvjclvij/bO/ZOEU=
In-Reply-To: <utmtac$1nl0n$3@solani.org>
Content-Language: en-US
 by: John Harris - Sun, 24 Mar 2024 10:39 UTC

On 23/03/2024 15:43, Mild Shock wrote:
>
> Dogelog Player is a Prolog system that features

<snip>

Tell us, in outline, about some of the data structures in the JavaScript
version of the system and how they are implemented.

John

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utp2ei$1ona2$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Sun, 24 Mar 2024 12:23:01 +0100
Message-ID: <utp2ei$1ona2$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Mar 2024 11:22:59 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1858882"; 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.1
Cancel-Lock: sha1:WDbWV916EU8wIpQs+IT2VvO1fpM=
X-User-ID: eJwNwYEBwDAEBMCVCI+OI+r3H6G9g4XGpAfCQTChcdJfmKBgzYPV38igRuvytrQ8Ktp6uIdDIN1Yq8v8ACXFFOs=
In-Reply-To: <utovtm$9qak$1@dont-email.me>
 by: Mild Shock - Sun, 24 Mar 2024 11:23 UTC

Some of the datastructures are documented here:
https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf

But you can also inspect the source code:
git clone https://www.dogelog.ch/dogelog/.git

John Harris schrieb:
> Tell us, in outline, about some of the data structures
> in the JavaScript version of the system and
> how they are implemented.

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utua87$1p5dq$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: niam@jghnorth.org.uk.invalid (John Harris)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Tue, 26 Mar 2024 11:06:45 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <utua87$1p5dq$1@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
Reply-To: jgharris@ic4life.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Mar 2024 12:06:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1b336c4f26165eec0b173ccb188664c2";
logging-data="1873338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+BG3EFIazmM0+V0LtjnRAwiQFBzua8nM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TCgmN+O72SIvruhGtH9CHZwtN6k=
Content-Language: en-US
In-Reply-To: <utp2ei$1ona2$1@solani.org>
 by: John Harris - Tue, 26 Mar 2024 11:06 UTC

On 24/03/2024 11:23, Mild Shock wrote:
>
> Some of the datastructures are documented here:
> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf

<snip>

No they're not. Only functions are described.

John

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utv78j$1s0nm$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Tue, 26 Mar 2024 20:21:56 +0100
Message-ID: <utv78j$1s0nm$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Mar 2024 19:21:55 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1966838"; 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.1
Cancel-Lock: sha1:Q2EaMioE8H/onIDfnF1NNErR1ZE=
In-Reply-To: <utua87$1p5dq$1@dont-email.me>
X-User-ID: eJwFwQkBwDAIA0BL0IZPDivBv4Td2XX1F3Bz2NoqJ17uZW/haJXg6mocnBwWddgvAe/kUiYkpU21nbD+4gdWexWW
 by: Mild Shock - Tue, 26 Mar 2024 19:21 UTC

Fucking liar, look again. Like hier:

4.1 Folder "util"
Section "meta"
4.2 Folder "albufeira"
Section "instruction"
Section "stages"
4.3 Folder "player"
Section "platform"
4.4 Folder "playerpy"
Section "platform"
4.5 Folder "playerj"
Section "platform"
Section “handlers”

A Prolog interpreter doesn't need much datastructures.

John Harris schrieb:
> On 24/03/2024 11:23, Mild Shock wrote:
>>
>> Some of the datastructures are documented here:
>> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf
>
>   <snip>
>
> No they're not. Only functions are described.
>
>   John
>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<utv7fv$1s0ps$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Tue, 26 Mar 2024 20:25:52 +0100
Message-ID: <utv7fv$1s0ps$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Mar 2024 19:25:51 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1966908"; 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.1
Cancel-Lock: sha1:xd2BCu12Gfqi8BtCygyWbpjzW5w=
X-User-ID: eJwFwYEBwCAIA7CXhoUWz1GQ/09YEqCx5Ax6TEy54Qp6lme21No1QV7z6OJS54Gm6xFoLkOK+9MdPjTmB0u3FVY=
In-Reply-To: <utv78j$1s0nm$1@solani.org>
 by: Mild Shock - Tue, 26 Mar 2024 19:25 UTC

Also Datastructures are burried inside the functions, like here:

Term API

deref(T): (host language)
Return the dereferencing of the term T.
copy_term(T): (host language)
Return a copy of the term T.
new Variable(): (host language)
Create a Prolog variable.
new Compound(F, A): (host language)
Create a Prolog compound with functor F and arguments A.

What do you want? An UML diagram? Forget it.

Mild Shock schrieb:
> Fucking liar, look again. Like hier:
>
>
> 4.1 Folder "util"
> Section "meta"
> 4.2 Folder "albufeira"
> Section "instruction"
> Section "stages"
> 4.3 Folder "player"
> Section "platform"
> 4.4 Folder "playerpy"
> Section "platform"
> 4.5 Folder "playerj"
> Section "platform"
> Section “handlers”
>
> A Prolog interpreter doesn't need much datastructures.
>
> John Harris schrieb:
>> On 24/03/2024 11:23, Mild Shock wrote:
>>>
>>> Some of the datastructures are documented here:
>>> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf
>>
>>    <snip>
>>
>> No they're not. Only functions are described.
>>
>>    John
>>
>>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uu19fp$2sfj2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: niam@jghnorth.org.uk.invalid (John Harris)
Newsgroups: comp.lang.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 27 Mar 2024 14:12:07 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uu19fp$2sfj2$1@dont-email.me>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
Reply-To: jgharris@ic4life.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 14:12:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="52f1ac5ae7d10036287efec6c362c4e5";
logging-data="3030626"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2yPpK4Lys7ZCnuaZE/42f9OZZFxsAYhM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:YFHYeu4Va1GreC2ZR8VEDtqRD6g=
Content-Language: en-US
In-Reply-To: <utv78j$1s0nm$1@solani.org>
 by: John Harris - Wed, 27 Mar 2024 14:12 UTC

On 26/03/2024 19:21, Mild Shock wrote:
> Fucking liar, look again. Like hier:
>
>
> 4.1 Folder "util"
> Section "meta"

<snip>

Section "meta" has 13 lines of text. Tell us which ones describe a data
structure. And no, "cross_loading/1" is not a description.

Your JavaScript code includes some form of garbage collection. Has that
influenced the data structures ?

John

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uu27uu$1t9o6$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 27 Mar 2024 23:52:15 +0100
Message-ID: <uu27uu$1t9o6$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
<uu19fp$2sfj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 22:52:14 -0000 (UTC)
Injection-Info: solani.org;
logging-data="2008838"; 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.1
Cancel-Lock: sha1:mfmt2eRKoUqnF7x32K+Tncre/uE=
X-User-ID: eJwNyNsVADEEBcCWWI8r5RD0X8LmzN+YOPuFurnaPo0bc0iypMY8lsstSobeCJSVYOjMPioZEVvy3SYeQhZ+VasViw==
In-Reply-To: <uu19fp$2sfj2$1@dont-email.me>
 by: Mild Shock - Wed, 27 Mar 2024 22:52 UTC

Do you have even the slightest clue of logic programming?

Dogelog Player is a Prolog system 100% written
in Prolog itself. Where do you expect the data to
be stored? For your informaton moron, this here:

cross_loading/1

Is a so called predicate indicator (PI), giving
you the formation of the predicate name and predicate
arity. So the data model in very shortened relational
notation is this here:

cross_loadeing(_)

Where:

cross_loading: The table name

_: The single column.

Hope this helps. More accademic names for data inside
Prolog are, the so called extensional database (EDB):

The set of facts is called the extensional
database or EDB of the Datalog program
https://en.wikipedia.org/wiki/Datalog

John Harris schrieb:
> On 26/03/2024 19:21, Mild Shock wrote:
>> Fucking liar, look again. Like hier:
>>
>>
>> 4.1 Folder "util"
>> Section "meta"
>
>   <snip>
>
> Section "meta" has 13 lines of text. Tell us which ones describe a data
> structure. And no, "cross_loading/1" is not a description.
>
> Your JavaScript code includes some form of garbage collection. Has that
> influenced the data structures ?
>
>   John
>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uu2868$1t9p3$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Wed, 27 Mar 2024 23:56:09 +0100
Message-ID: <uu2868$1t9p3$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
<uu19fp$2sfj2$1@dont-email.me> <uu27uu$1t9o6$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 22:56:08 -0000 (UTC)
Injection-Info: solani.org;
logging-data="2008867"; 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.1
Cancel-Lock: sha1:ghLAeNREScXz8uslUP4++lu6tT8=
In-Reply-To: <uu27uu$1t9o6$1@solani.org>
X-User-ID: eJwFwYEBwCAIA7CXREuVcwaU/09Y4ofGuqATPj62T8y67tnTWxvqysdYudBSPqlQYqb0BR44MLhR91jG/gFyHRYq
 by: Mild Shock - Wed, 27 Mar 2024 22:56 UTC

I mean I repeat in every post and blog I make
about Dogelog Player that it is written in 100%
Prolog itself. This means it uses Prolog for its

own data. You call these posts nauseating. I call
you a complete fucking moron with blistering
herpes furuncle on top of your neck.

Gets some brain cells idiot. Its should be also
explained in the docu what it means that Dogelog
Player is 100% written in Prolog itself.

But I do not intend make a citation now.

Just get lost and don't waste everybodies time.

Mild Shock schrieb:
> Do you have even the slightest clue of logic programming?
>
> Dogelog Player is a Prolog system 100% written
> in Prolog itself. Where do you expect the data to
> be stored? For your informaton moron, this here:
>
> cross_loading/1
>
> Is a so called predicate indicator (PI), giving
> you the formation of the predicate name and predicate
> arity. So the data model in very shortened relational
> notation is this here:
>
> cross_loadeing(_)
>
> Where:
>
> cross_loading: The table name
>
> _: The single column.
>
> Hope this helps. More accademic names for data inside
> Prolog are, the so called extensional database (EDB):
>
> The set of facts is called the extensional
> database or EDB of the Datalog program
> https://en.wikipedia.org/wiki/Datalog
>
> John Harris schrieb:
>> On 26/03/2024 19:21, Mild Shock wrote:
>>> Fucking liar, look again. Like hier:
>>>
>>>
>>> 4.1 Folder "util"
>>> Section "meta"
>>
>>    <snip>
>>
>> Section "meta" has 13 lines of text. Tell us which ones describe a
>> data structure. And no, "cross_loading/1" is not a description.
>>
>> Your JavaScript code includes some form of garbage collection. Has
>> that influenced the data structures ?
>>
>>    John
>>
>>
>

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uu28re$1ta3r$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Thu, 28 Mar 2024 00:07:26 +0100
Message-ID: <uu28re$1ta3r$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
<uu19fp$2sfj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 23:07:26 -0000 (UTC)
Injection-Info: solani.org;
logging-data="2009211"; 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.1
Cancel-Lock: sha1:INrTlDeoWeAHyuH7ZNiRn2T6b7I=
X-User-ID: eJwNxckRwDAIBLCW7FlYcDmc/ZeQ6CMFL8uEStHV7WlvMyfqLnbiIMavnUjFwtBjQxW00PP/5EsirLNetXxm9xX9
In-Reply-To: <uu19fp$2sfj2$1@dont-email.me>
 by: Mild Shock - Wed, 27 Mar 2024 23:07 UTC

John Harris schrieb:
> Your JavaScript code includes some form of garbage
> collection. Has that influenced the data structures ?

There is a long thread about the early Garbage Collection
of Dogelog Player in comp.lang.python. Especially whether
it can be made fast, with useful input from a few
Pythonistas.

Then I post regularly about the evolution of the GC
of Dogelog Player. It was just posted a few days ago,
when you were still on your silly tangent that my

posts are nauseating. Now you are asking stuff, that
I am anyway posting about. Whats is wrong with you?
Do you have a PhD in being the most stupid person

on this planet? See here, few days ago,
to be exact 5 days ago:

Mild Shock schrieb 23.03.2024, 16:43:
>
> Dogelog Player is a Prolog system that features
> a generational garbage collector scheme and a
> change_arg/3 primitive built-in. So far the two
> didn’t go together and we had to use a cludge.
> With the upcoming release we provide a proper
> solution based on marking write-barriers.
>
> Our remembered set on the variable binding trail
> has the benefit that it can reduce itself during
> backtracking. By adopting conductor variables, i.e.
> instantiated variables that are not trailed, from
> formerly Jekejeke Prolog, we could recreate a
> similar benefit for Dogelog Players change_arg/3.
>
> See also:
>
> Marking Write-Barriers for Dogelog Player
> https://twitter.com/dogelogch/status/1771559896741192186
>
> Marking Write-Barriers for Dogelog Player
> https://www.facebook.com/groups/dogelog

Re: ANN: Dogelog Player 1.1.6 (HTTP Client)

<uu29cp$1tab2$1@solani.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.javascript
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.javascript
Subject: Re: ANN: Dogelog Player 1.1.6 (HTTP Client)
Date: Thu, 28 Mar 2024 00:16:41 +0100
Message-ID: <uu29cp$1tab2$1@solani.org>
References: <uscsdk$12mjt$3@solani.org> <utmtac$1nl0n$3@solani.org>
<utovtm$9qak$1@dont-email.me> <utp2ei$1ona2$1@solani.org>
<utua87$1p5dq$1@dont-email.me> <utv78j$1s0nm$1@solani.org>
<uu19fp$2sfj2$1@dont-email.me> <uu28re$1ta3r$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 23:16:41 -0000 (UTC)
Injection-Info: solani.org;
logging-data="2009442"; 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.1
Cancel-Lock: sha1:otjqiyb1uya4lWS4G3k+2jasudA=
X-User-ID: eJwNycEBwEAEBMCWIliuHNbpv4RkvuMKAcPgMF9f6J04DEFWFCE8AkPN/4N8O/NpKkVu3h5ffTagwTagKj9LYRVz
In-Reply-To: <uu28re$1ta3r$1@solani.org>
 by: Mild Shock - Wed, 27 Mar 2024 23:16 UTC

Of course before reading anything about Dogelog Player
you have to start with the reference section also known
as bibliography, which is found at the end of PDF here:

Dogelog Player Host Version 1.1.5, December 17, 2023
https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf

You need to first understand the below things before
you dig and put your nose into Dogelog Player:

[1] ISO (1995): Prolog, Part 1: General Core,
International Standard ISO/IEC 13211-1, First Edition, 1995-06-01
http://www.iso.org/standard/21413.html

[2] Clocksin, W. (1983): A portable Prolog compiler, Logic Programming
Workshop, Albufeira Portugal, January 1983
http://www.softwarepreservation.org/projects/prolog/lisbon/lpw83/p74-Bowen.pdf

[3] Carlson, M. et al. (1988): Garbage collection for Prolog based on
WAM. Communications of the ACM 31, 6, 719–740, June 1988
http://dl.acm.org/doi/10.1145/62959.62968

Dogelog Player implements variants of [1], [2] and [3].
SWI-Prolog also implementes [3], but it doesn't implement
the generational part of [3]. Recently I managed to also

implement the generatioal part of [3] via some coloring
approach. If I am not mistaken you find a blog about it
also announced here and somewhere on medium.com.

And most recently I removed a cludge from change_arg/3
also related to [3]. And according blog I also announced
here to be exact 5 days ago. Its also on medium.com.

Maybe you need medium.com membership to be able to read it.

Mild Shock schrieb:
> John Harris schrieb:
>> Your JavaScript code includes some form of garbage collection. Has
>> that influenced the data structures ?
>
> There is a long thread about the early Garbage Collection
> of Dogelog Player in comp.lang.python. Especially whether
> it can be made fast, with useful input from a few
> Pythonistas.
>
> Then I post regularly about the evolution of the GC
> of Dogelog Player. It was just posted a few days ago,
> when you were still on your silly tangent that my
>
> posts are nauseating. Now you are asking stuff, that
> I am anyway posting about. Whats is wrong with you?
> Do you have a PhD in being the most stupid person
>
> on this planet? See here, few days ago,
> to be exact 5 days ago:
>
> Mild Shock schrieb 23.03.2024, 16:43:
> >
> > Dogelog Player is a Prolog system that features
> > a generational garbage collector scheme and a
> > change_arg/3 primitive built-in. So far the two
> > didn’t go together and we had to use a cludge.
> > With the upcoming release we provide a proper
> > solution based on marking write-barriers.
> >
> > Our remembered set on the variable binding trail
> > has the benefit that it can reduce itself during
> > backtracking. By adopting conductor variables, i.e.
> > instantiated variables that are not trailed, from
> > formerly Jekejeke Prolog, we could recreate a
> > similar benefit for Dogelog Players change_arg/3.
> >
> > See also:
> >
> > Marking Write-Barriers for Dogelog Player
> > https://twitter.com/dogelogch/status/1771559896741192186
> >
> > Marking Write-Barriers for Dogelog Player
> > https://www.facebook.com/groups/dogelog

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor