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


Groups > comp.lang.prolog > #14595

A library(pio) for the Web 2.0 (Was: Prolog missed the Web 2.0 Bandwagon)

From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.prolog
Subject A library(pio) for the Web 2.0 (Was: Prolog missed the Web 2.0 Bandwagon)
Date 2025-06-25 15:17 +0200
Message-ID <103gssk$18ffa$1@solani.org> (permalink)
References <1034bs9$1364p$1@solani.org>

Show all headers | View raw


Hi,

Why only phrase_from_file/2 and not also
phrase_from_url/2. Its not that difficult to
do, you can do it with change_arg/2 and

nothing else! Lets see what we have so far:

Trealla Prolog:
    Base on memory mapping chars. So basically
    this could be judged as a further argument
    in favor of chars versus codes. But its
    not Web 2.0, works only for files.

https://github.com/trealla-prolog/trealla/blob/main/library/pio.pl

SWI-Prolog:
    Based on turning a stream into a lazy list.
    Requires attributed variables and repositionable
    streams. The stream is opened with open/3 but
    maybe could be opened with http_open/3 as well?

https://github.com/SWI-Prolog/swipl-devel/blob/master/library/pio.pl

To be continued...

Bye

Mild Shock schrieb:
> Web 2.0 is all about incremental content!
> 
>  > don’t think it could really do
>  > the “ghost text” effect.
> 
> It wouldn’t do the ghost text, only assist
> it. There was a misunderstanding how “ghost
> texts” work. Maybe you were thinking, that
> the “ghost text” is part of the first response.
> 
> But usually the “ghost text” is a second response:
> 
>  > waiting for completion candidates to be suggested
> 
> Well you don’t use it for your primary
> typing completion which is preferably fast.
> The first response might give context information,
> for the second request which provides a
> different type of completion.
> 
> But the first response is not responsible
> for any timing towards the second request.
> That anyway happens in the client. And it
> doesn’t hurt if the first response is
> from a stupid channel.
> 
> Web 2.0 is all about incremental content!

Back to comp.lang.prolog | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Prolog missed the Web 2.0 Bandwagon Mild Shock <janburse@fastmail.fm> - 2025-06-20 21:13 +0200
  IntelliJ just created Mellum, its open source (Was: Prolog missed the Web 2.0 Bandwagon) Mild Shock <janburse@fastmail.fm> - 2025-06-20 21:18 +0200
    Re: IntelliJ just created Mellum, its open source (Was: Prolog missed the Web 2.0 Bandwagon) Mild Shock <janburse@fastmail.fm> - 2025-06-20 21:41 +0200
      timers and tasks testing framework Node.js v20.0.0] (Was: IntelliJ just created Mellum, its open source) Mild Shock <janburse@fastmail.fm> - 2025-06-23 13:05 +0200
        The magical "async" keyword again [Node.js v20.0.0] (Was: timers and tasks testing framework [Node.js v20.0.0]) Mild Shock <janburse@fastmail.fm> - 2025-06-23 13:10 +0200
          OpenAPI Specification (OAS) goes full Monty [AsyncAPI] (Was: The magical "async" keyword again [Node.js v20.0.0]) Mild Shock <janburse@fastmail.fm> - 2025-06-24 08:16 +0200
          OpenAPI Specification (OAS) goes full Monty [AsyncAPI] (Was: The magical "async" keyword again [Node.js v20.0.0]) Mild Shock <janburse@fastmail.fm> - 2025-06-24 08:17 +0200
  constant caching test case / Prolog orthodoxification (Was: Prolog missed the Web 2.0 Bandwagon) Mild Shock <janburse@fastmail.fm> - 2025-06-24 01:06 +0200
    Teachers have better quality than Nerds (Was: constant caching test case / Prolog orthodoxification) Mild Shock <janburse@fastmail.fm> - 2025-06-24 01:12 +0200
      ISO is loosing it because it gives in to Teachers (Was: Teachers have better quality than Nerds) Mild Shock <janburse@fastmail.fm> - 2025-06-24 01:26 +0200
        Where APIs Meet AI: Building Tomorrow's Intelligent Ecosystems (Was: ISO is loosing it because it gives in to Teachers) Mild Shock <janburse@fastmail.fm> - 2025-06-24 08:24 +0200
  A library(pio) for the Web 2.0 (Was: Prolog missed the Web 2.0 Bandwagon) Mild Shock <janburse@fastmail.fm> - 2025-06-25 15:17 +0200
    Corr. (Was: A library(pio) for the Web 2.0) Mild Shock <janburse@fastmail.fm> - 2025-06-25 15:19 +0200

csiph-web