Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #124372 > unrolled thread

ANN: Dogelog Player 1.2.3 (Time Conversion)

Started byMild Shock <janburse@fastmail.fm>
First post2024-10-03 15:29 +0200
Last post2024-11-02 14:00 +0100
Articles 3 — 1 participant

Back to article view | Back to comp.lang.javascript


Contents

  ANN: Dogelog Player 1.2.3 (Time Conversion) Mild Shock <janburse@fastmail.fm> - 2024-10-03 15:29 +0200
    Frozen Dicts in Dogelog Player Mild Shock <janburse@fastmail.fm> - 2024-10-20 00:30 +0200
    Re: ANN: Dogelog Player 1.2.3 (Time Conversion) Mild Shock <janburse@fastmail.fm> - 2024-11-02 14:00 +0100

#124372 — ANN: Dogelog Player 1.2.3 (Time Conversion)

FromMild Shock <janburse@fastmail.fm>
Date2024-10-03 15:29 +0200
SubjectANN: Dogelog Player 1.2.3 (Time Conversion)
Message-ID<vdm681$13234$3@solani.org>
Dear All,

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

- New atom_time/4:
   The predicate sys_time_atom/3 is now officially
called atom_time/3.  The underlying strftime() and
strptime() routines can represent more than just
local time.  We therefore introduced atom_time/4
with an options list.

- Improved open/4:
   The open/4 predicate and its HTTP client functionality
was removed from library(util/spin) and moved to
the core. In addition, open/4 can now return options
such as the final URL via uri/1 and the received
headers via fields/1.

- New http_server_close/1:
   The HTTP server in library(util/spin) has undergone
some extensions.  The asynchronous processing has been
improved, so that HTTP server set-up, HTTP client round
trip and HTTP server tear-down can be implemented in
the same application despite being single threaded.

Have Fun!
Jan Burse, 03.10.2024, https://www.xlog.ch/

[toc] | [next] | [standalone]


#124373 — Frozen Dicts in Dogelog Player

FromMild Shock <janburse@fastmail.fm>
Date2024-10-20 00:30 +0200
SubjectFrozen Dicts in Dogelog Player
Message-ID<vf1bur$n7he$3@solani.org>
In reply to#124372
Frozen Dicts in Dogelog Player

Dogelog Player is a Prolog system that
currently runs on different backends such
as JavaScript, Python and Java. We present a
new Prolog dict library library(misc/dict).
The library is a spin off of our JSON
data library library(misc/json).

Both are pure Prolog implementations that we
could also test on Trealla Prolog and Scryer
Prolog. There is no new dict syntax, since
unlike SWI-Prolog we do not include a tag. Our
operations preserve input order and we have an
explicit operation to keysort a dict. Testing
indicates that a compression could boost
modification and sorting.

See also:

Frozen Dicts in Dogelog Player
https://twitter.com/dogelogch/status/1847732717737177353

Frozen Dicts in Dogelog Player
https://www.facebook.com/groups/dogelog

Mild Shock schrieb:
> Dear All,
> 
> We are happy to announce a new edition of the Dogelog player:
> 
> - New atom_time/4:
>    The predicate sys_time_atom/3 is now officially
> called atom_time/3.  The underlying strftime() and
> strptime() routines can represent more than just
> local time.  We therefore introduced atom_time/4
> with an options list.
> 
> - Improved open/4:
>    The open/4 predicate and its HTTP client functionality
> was removed from library(util/spin) and moved to
> the core. In addition, open/4 can now return options
> such as the final URL via uri/1 and the received
> headers via fields/1.
> 
> - New http_server_close/1:
>    The HTTP server in library(util/spin) has undergone
> some extensions.  The asynchronous processing has been
> improved, so that HTTP server set-up, HTTP client round
> trip and HTTP server tear-down can be implemented in
> the same application despite being single threaded.
> 
> Have Fun!
> Jan Burse, 03.10.2024, https://www.xlog.ch/

[toc] | [prev] | [next] | [standalone]


#124374

FromMild Shock <janburse@fastmail.fm>
Date2024-11-02 14:00 +0100
Message-ID<vg57oi$c94r$3@solani.org>
In reply to#124372
Dogelog Player is a Prolog system written 100% in
Prolog itself. It features a library(aggregate), the
bread and butter of statistics. Unfortunately it
inherits some defects from its ancestors. We show
its bad performance in a Million Rows Challenge
and offer an alternative.

When calling the predicate sample/2 it will give
us values X1, .., Xn. And from this we can recompute
the mean and the standard deviation. We could get
rid of the horrendous memory footprint and gain
speed, in that we used an aggregate/3 bootstrapped
from a new library(util/hash).

See also:

Million Rows Challenge in Dogelog Player
https://twitter.com/dogelogch/status/1852601455544275090

Million Rows Challenge in Dogelog Player
https://www.facebook.com/groups/dogelog

Mild Shock schrieb:
> Dear All,
> 
> We are happy to announce a new edition of the Dogelog player:
> 
> - New atom_time/4:
>    The predicate sys_time_atom/3 is now officially
> called atom_time/3.  The underlying strftime() and
> strptime() routines can represent more than just
> local time.  We therefore introduced atom_time/4
> with an options list.
> 
> - Improved open/4:
>    The open/4 predicate and its HTTP client functionality
> was removed from library(util/spin) and moved to
> the core. In addition, open/4 can now return options
> such as the final URL via uri/1 and the received
> headers via fields/1.
> 
> - New http_server_close/1:
>    The HTTP server in library(util/spin) has undergone
> some extensions.  The asynchronous processing has been
> improved, so that HTTP server set-up, HTTP client round
> trip and HTTP server tear-down can be implemented in
> the same application despite being single threaded.
> 
> Have Fun!
> Jan Burse, 03.10.2024, https://www.xlog.ch/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web