Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Elegance and truth are inversely related. -- Becker's Razor


devel / comp.lang.java.programmer / Re: ANN: Dogelog Player 1.1.5 (HTTP Server)

SubjectAuthor
* Re: ANN: Dogelog Player 1.1.5 (HTTP Server)Mild Shock
`* Re: ANN: Dogelog Player 1.1.5 (HTTP Server)Mild Shock
 `- Re: ANN: Dogelog Player 1.1.5 (HTTP Server)Mild Shock

1
Re: ANN: Dogelog Player 1.1.5 (HTTP Server)

<uoo62r$ru5h$1@solani.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10093&group=comp.lang.java.programmer#10093

  copy link   Newsgroups: comp.lang.java.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: janbu...@fastmail.fm (Mild Shock)
Newsgroups: comp.lang.java.programmer
Subject: Re: ANN: Dogelog Player 1.1.5 (HTTP Server)
Date: Tue, 23 Jan 2024 11:57:34 +0100
Message-ID: <uoo62r$ru5h$1@solani.org>
References: <uojfa4$pi4d$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 23 Jan 2024 10:57:32 -0000 (UTC)
Injection-Info: solani.org;
logging-data="915633"; 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:72E1k8deGFnHaDloMof0jMpmrYc=
In-Reply-To: <uojfa4$pi4d$1@solani.org>
X-User-ID: eJwNyskBwCAMA7CVgMTGjENz7D9C0VswTsZ2go5G58qml+iMNFIWN6P0ndocM+5umUrI9cp6axxQCwHofvUDXHwVWA==
 by: Mild Shock - Tue, 23 Jan 2024 10:57 UTC

Quick update. This is fun we switched the implementation
of library(util/spin) in Dogelog Player for Java from Tomcat 11
embedded to this thingy here:

Module jdk.httpserver - Package com.sun.net.httpserver
https://download.java.net/java/early_access/panama/docs/api/jdk.httpserver/com/sun/net/httpserver/package-summary.html

JEP 408: Simple Web Server
https://openjdk.org/jeps/408

Works fine so far and seems to be an itch speedier. Its
already available in our current devel version 1.1.6 of
Dogelog Player for Java via our GIT.

Mild Shock schrieb:
> Dear All,
>
> We are happy to announce a new edition of the
> Dogelog player:
>
> - Enhanced library(misc/markup):
>   The library(misc/markup) has been extended to
> include a unified DOM writer abstraction. It can
> write to the GUI DOM in the browser, and it is also
> possible to write the DOM serialized in XML to a
> file. There are a variety of use cases for the
> library, e.g. creating static HTML pages.
>
> - New library(misc/vector):
>   In this library we have brought together everything
> related to SVG that was previously scattered in
> the libraries library(misc/markup) and library(misc/react).
> The new advantages of the extended library (misc/markup)
> can also be used here, so the creation of static
> SVG pages is now supported.
>
> - New library(util/spin):
>   The library provides a unified HTTP server
> abstraction.  There are concrete implementations
> for nodeJS using node:http, for PyPy using http_server
> and for JDK 21 using Tomcat embedded.  Local browser
> GET of 50,000 bytes via Prolog atom text lines
> enumeration requires approx. 5-10 ms for all Dogelog
> Player targets.
>
> Have Fun!
> Jan Burse, 21.01.2024, http://www.xlog.ch/

Re: ANN: Dogelog Player 1.1.5 (HTTP Server)

<upigf0$18ave$2@solani.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10094&group=comp.lang.java.programmer#10094

  copy link   Newsgroups: comp.lang.java.programmer
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: janbu...@fastmail.fm (Mild Shock)
Newsgroups: comp.lang.java.programmer
Subject: Re: ANN: Dogelog Player 1.1.5 (HTTP Server)
Date: Fri, 2 Feb 2024 11:34:09 +0100
Message-ID: <upigf0$18ave$2@solani.org>
References: <uojfa4$pi4d$1@solani.org> <uoo62r$ru5h$1@solani.org>
<uoqmkv$t68e$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 2 Feb 2024 10:34:08 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1321966"; 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:w2AcENPSJ1NMSXV/br+PIh0/ehw=
X-User-ID: eJwFwYcBwDAIA7CXGGbkHOKU/0+oFJ6aLGQkYmMT082n1oS5C/ae/eq77SYoLPse0hsPY7rMouirYe+48AdNrhXA
In-Reply-To: <uoqmkv$t68e$4@solani.org>
 by: Mild Shock - Fri, 2 Feb 2024 10:34 UTC

Dogelog Player is a Prolog system that was
conceived to run on coroutine capable targets
if a target can implement the instruction ‘$YIELD’/1.
So far this was realized for JavaScript and Python
including a notion of tasks. We enhanced the
instruction and do now provide async I/O.

We now invoke first a promise factory and then
call the ‘$YIELD’/1 instruction. We might equally
well rename it into a ‘$AWAIT’/1 instruction. We
then use our new library(spin) and demonstrate
running multiple HTTP servers in our single
threaded Dogelog Player.

See also:

Async I/O in Dogelog Player
https://twitter.com/dogelogch/status/1753364266017566812

Async I/O in Dogelog Player
https://www.facebook.com/groups/dogelog

Mild Shock schrieb:
>
> We describe the implementation of a dynamical HTML
> page in Prolog that displays the moon phase seen from
> the northern hemisphere for a given day. The code
> demonstrates a HTTP server addition to Dogelog Player,
> a Prolog system 100% written in Prolog itself available
> for the platforms JavaScript, Python and Java.
>
> We spent one morning to create a dynamical HTML page,
> that shows the moon phase of a day via SVG. The coding
> is similar to how one is usually dealing with a TTY,
> lowering the learning curve. The single Prolog text
> can be used to serve the HTML page unchanged via
> JavaScript, Python or Java.
>
> See also:
>
> Moon Server with Dogelog Player
> https://twitter.com/dogelogch/status/1749847817579827503
>
> Moon Server with Dogelog Player
> https://www.facebook.com/groups/dogelog
>
> Mild Shock schrieb:
>>
>> Quick update. This is fun we switched the implementation
>> of library(util/spin) in Dogelog Player for Java from Tomcat 11
>> embedded to this thingy here:
>>
>> Module jdk.httpserver - Package com.sun.net.httpserver
>> https://download.java.net/java/early_access/panama/docs/api/jdk.httpserver/com/sun/net/httpserver/package-summary.html
>>
>>
>> JEP 408: Simple Web Server
>> https://openjdk.org/jeps/408
>>
>> Works fine so far and seems to be an itch speedier. Its
>> already available in our current devel version 1.1.6 of
>> Dogelog Player for Java via our GIT.
>>
>> Mild Shock schrieb:
>>> Dear All,
>>>
>>> We are happy to announce a new edition of the
>>> Dogelog player:
>>>
>>> - Enhanced library(misc/markup):
>>>    The library(misc/markup) has been extended to
>>> include a unified DOM writer abstraction. It can
>>> write to the GUI DOM in the browser, and it is also
>>> possible to write the DOM serialized in XML to a
>>> file. There are a variety of use cases for the
>>> library, e.g. creating static HTML pages.
>>>
>>> - New library(misc/vector):
>>>    In this library we have brought together everything
>>> related to SVG that was previously scattered in
>>> the libraries library(misc/markup) and library(misc/react).
>>> The new advantages of the extended library (misc/markup)
>>> can also be used here, so the creation of static
>>> SVG pages is now supported.
>>>
>>> - New library(util/spin):
>>>    The library provides a unified HTTP server
>>> abstraction.  There are concrete implementations
>>> for nodeJS using node:http, for PyPy using http_server
>>> and for JDK 21 using Tomcat embedded.  Local browser
>>> GET of 50,000 bytes via Prolog atom text lines
>>> enumeration requires approx. 5-10 ms for all Dogelog
>>> Player targets.
>>>
>>> Have Fun!
>>> Jan Burse, 21.01.2024, http://www.xlog.ch/
>>
>

Re: ANN: Dogelog Player 1.1.5 (HTTP Server)

<ur2it3$ci33$3@solani.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10095&group=comp.lang.java.programmer#10095

  copy link   Newsgroups: comp.lang.java.programmer
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: janbu...@fastmail.fm (Mild Shock)
Newsgroups: comp.lang.java.programmer
Subject: Re: ANN: Dogelog Player 1.1.5 (HTTP Server)
Date: Tue, 20 Feb 2024 17:10:11 +0100
Message-ID: <ur2it3$ci33$3@solani.org>
References: <uojfa4$pi4d$1@solani.org> <uoo62r$ru5h$1@solani.org>
<uoqmkv$t68e$4@solani.org> <upigf0$18ave$2@solani.org>
<uq6nq0$1jfbj$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Feb 2024 16:10:11 -0000 (UTC)
Injection-Info: solani.org;
logging-data="411747"; 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:QXxG3ModrSLVswbLLlfhtFJZcj0=
In-Reply-To: <uq6nq0$1jfbj$4@solani.org>
X-User-ID: eJwNysEBwCAIA8CVQBKEcUBl/xHaex/N1c+G08Hh5Drpt0681pBJukhPPS5kSHZUQ63Zz26rYsT+st9GgVH4AFV1FS0=
 by: Mild Shock - Tue, 20 Feb 2024 16:10 UTC

Dogelog Player is a Prolog system that features a
‘$YIELD’/1 instruction. The instruction was conceived
for single threaded runtimes with an event loop. We
could now demonstrate how to realize it without
an explicit event loop in a multi threaded runtime.

The idea is that threads use a bouncer semaphore
to get a permission to execute and thus become
“coroutines”. Now that we have layed the foundation
we started asyncifying Dogelog Player for Java.
We demonstrate a HTTP server and HTTP client
interaction in the same JVM.

See also:

Surrogate Async/Await with JDK 21
https://twitter.com/dogelogch/status/1759972607355470296

Surrogate Async/Await with JDK 21
https://www.facebook.com/groups/dogelog

Mild Shock schrieb:
>
> We already reported the new capability
> that we can read async from streams. We made
> this available for the file system reads on
> nodeJS. We report here about a further progress
> extending the async approach to HTTP fetch in
> the browser and on nodeJS.
>
> Multiple downloads make a case for async I/O
> since RFC 2616 limits the number of connections.
> HTTP/2 allows to send off multiple requests
> which async I/O can capitalize. We demonstrate
> quasi-parallel execution in Dogelog Player for
> both the browser and nodeJS.
>
> See also:
>
> Async HTTP Client for Dogelog Player
> https://twitter.com/dogelogch/status/1756144112946807135
>
> Async HTTP Client for Dogelog Player
> https://www.facebook.com/groups/dogelog

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor