• ANN: Dogelog Runtime 1.5.6 (Novacore Edition)

    From Mostowski Collapse@janburse@fastmail.fm to comp.lang.prolog on Thu May 4 14:27:39 2023
    From Newsgroup: comp.lang.prolog

    Dear All,

    We are happy to announce a new version of the
    former Jekejeke runtime 1.5.6, now called Dogelog
    runtime. The most important new features relate
    to the alignment between the Dogelog player and
    the previous Jekejeke runtime.

    - Runtime reduction: Libraries like library(expand),
    library(gamble) and library(apply) have been moved
    to the Jekejeke Minlog extension. Libraries like
    library(char), library(byte), library(pipe),
    library(lock), library(distributed) and library(tabling)
    have been moved to the Jekejeke development environment.

    - Shallow DCG expansion: There is a light-weight
    expansion framework that does not call term_expansion/2
    but term_conversion/2 without calling goal_expansion/2
    as well. First application is shallow DCG expansion
    adapted from Dogelog Player. Deep expansion can be
    unlocked with library(expansion).

    - 100% Prolog Term I/O: The interpreter now uses the
    read and write routines known from Dogelog Player,
    which are written 100% in Prolog. We noticed a
    negligible drop in performance. There exists currently
    in parallel a read routine written in Java for
    bootstrapping and if modules are loaded.

    For download:
    Dogelog Player - Downloads
    Dogelog Runtime - Downloads

    Have Fun!
    Jan Burse, 04.05.2023, http://www.xlog.ch/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mostowski Collapse@bursejan@gmail.com to comp.lang.prolog on Fri May 5 08:12:30 2023
    From Newsgroup: comp.lang.prolog

    We are currently in conciliation mode for Dogelog Player
    and formerly Jekejeke Prolog. The common denominator
    should be Novacore, a much smaller Prolog core than usual.
    It features a 100% Prolog implemented Term read and write
    routine, that can now pretty print literals.
    Neither SWI-Prologs ‘$VAR’/1 compound loophole to accept
    an atom satisfied us. Nor does Trealla/Scryer Prologs
    character lists seem worth the pain. Instead there is a
    new read and write option annotation/1 that supports
    ‘$STR’/1, ‘$CHR’/1 and ‘$RDX’/2 compounds.
    See also:
    More Pretty Printing in Novacore https://twitter.com/dogelogch/status/1654503234751307776
    More Pretty Printing in Novacore
    https://www.facebook.com/groups/dogelog
    Mostowski Collapse schrieb am Donnerstag, 4. Mai 2023 um 14:29:15 UTC+2:
    Dear All,

    We are happy to announce a new version of the
    former Jekejeke runtime 1.5.6, now called Dogelog
    runtime. The most important new features relate
    to the alignment between the Dogelog player and
    the previous Jekejeke runtime.

    - Runtime reduction: Libraries like library(expand),
    library(gamble) and library(apply) have been moved
    to the Jekejeke Minlog extension. Libraries like
    library(char), library(byte), library(pipe),
    library(lock), library(distributed) and library(tabling)
    have been moved to the Jekejeke development environment.

    - Shallow DCG expansion: There is a light-weight
    expansion framework that does not call term_expansion/2
    but term_conversion/2 without calling goal_expansion/2
    as well. First application is shallow DCG expansion
    adapted from Dogelog Player. Deep expansion can be
    unlocked with library(expansion).

    - 100% Prolog Term I/O: The interpreter now uses the
    read and write routines known from Dogelog Player,
    which are written 100% in Prolog. We noticed a
    negligible drop in performance. There exists currently
    in parallel a read routine written in Java for
    bootstrapping and if modules are loaded.

    For download:
    Dogelog Player - Downloads
    Dogelog Runtime - Downloads

    Have Fun!
    Jan Burse, 04.05.2023, http://www.xlog.ch/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mostowski Collapse@janburse@fastmail.fm to comp.lang.prolog on Fri May 19 21:20:11 2023
    From Newsgroup: comp.lang.prolog

    OpenAI’s ChatGPT is fast-growing and poses quite some
    challenges to society, rules and regulations. We were
    currious about the API of ChatGPT that permits weaving
    your own applications using the OpenAI services. So we
    tried building a primitive client for formerly Jekejeke Prolog.

    As an example we ask ChatGPT to generate a quizz about
    Switzerland. The body of the request is quickly written in
    Prolog itself, using affine JSON from our new library(json).
    Was it worth the pain? See for yourself! We hope the new
    open/[3,4] options appear in Dogelog Player as well.

    See also:

    ChatGPT Client for Jekejeke Prolog https://twitter.com/dogelogch/status/1659638183166967808

    ChatGPT Client for Jekejeke Prolog
    https://www.facebook.com/groups/dogelog/

    Mostowski Collapse schrieb:
    We are currently in conciliation mode for Dogelog Player
    and formerly Jekejeke Prolog. The common denominator
    should be Novacore, a much smaller Prolog core than usual.
    It features a 100% Prolog implemented Term read and write
    routine, that can now pretty print literals.

    Neither SWI-Prologs ‘$VAR’/1 compound loophole to accept
    an atom satisfied us. Nor does Trealla/Scryer Prologs
    character lists seem worth the pain. Instead there is a
    new read and write option annotation/1 that supports
    ‘$STR’/1, ‘$CHR’/1 and ‘$RDX’/2 compounds.

    See also:

    More Pretty Printing in Novacore https://twitter.com/dogelogch/status/1654503234751307776

    More Pretty Printing in Novacore
    https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Donnerstag, 4. Mai 2023 um 14:29:15 UTC+2:
    Dear All,

    We are happy to announce a new version of the
    former Jekejeke runtime 1.5.6, now called Dogelog
    runtime. The most important new features relate
    to the alignment between the Dogelog player and
    the previous Jekejeke runtime.

    - Runtime reduction: Libraries like library(expand),
    library(gamble) and library(apply) have been moved
    to the Jekejeke Minlog extension. Libraries like
    library(char), library(byte), library(pipe),
    library(lock), library(distributed) and library(tabling)
    have been moved to the Jekejeke development environment.

    - Shallow DCG expansion: There is a light-weight
    expansion framework that does not call term_expansion/2
    but term_conversion/2 without calling goal_expansion/2
    as well. First application is shallow DCG expansion
    adapted from Dogelog Player. Deep expansion can be
    unlocked with library(expansion).

    - 100% Prolog Term I/O: The interpreter now uses the
    read and write routines known from Dogelog Player,
    which are written 100% in Prolog. We noticed a
    negligible drop in performance. There exists currently
    in parallel a read routine written in Java for
    bootstrapping and if modules are loaded.

    For download:
    Dogelog Player - Downloads
    Dogelog Runtime - Downloads

    Have Fun!
    Jan Burse, 04.05.2023, http://www.xlog.ch/

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mostowski Collapse@bursejan@gmail.com to comp.lang.prolog on Fri May 19 17:59:19 2023
    From Newsgroup: comp.lang.prolog

    Here is a summary via ChatGPT itself how to make an OpenAI API client:
    - Node.js: You can use the OpenAI API with Node.js by making
    HTTP requests to the API endpoint using libraries like axios
    or the built-in http module. You can send a POST request to https://api.openai.com/v1/engines/{engine-id}/completions
    with the necessary parameters and your API key in the request headers.
    - Python: OpenAI provides an official Python library called openai
    that simplifies the process of interacting with the API. You can
    install the library using pip (pip install openai) and then import it
    into your Python script. The library provides functions like openai.Completion.create() to send requests and retrieve
    completions from the API.
    - cURL: cURL is a command-line tool for making HTTP requests. You
    can use cURL to interact with the OpenAI API by constructing the
    appropriate cURL command with the necessary request parameters
    and headers. You’ll need to include your API key as an authorization
    header in the cURL command.
    Since cURL works, you might guess how simple it is.
    Mostowski Collapse schrieb am Freitag, 19. Mai 2023 um 21:20:12 UTC+2:
    OpenAI’s ChatGPT is fast-growing and poses quite some
    challenges to society, rules and regulations. We were
    currious about the API of ChatGPT that permits weaving
    your own applications using the OpenAI services. So we
    tried building a primitive client for formerly Jekejeke Prolog.

    As an example we ask ChatGPT to generate a quizz about
    Switzerland. The body of the request is quickly written in
    Prolog itself, using affine JSON from our new library(json).
    Was it worth the pain? See for yourself! We hope the new
    open/[3,4] options appear in Dogelog Player as well.

    See also:

    ChatGPT Client for Jekejeke Prolog https://twitter.com/dogelogch/status/1659638183166967808

    ChatGPT Client for Jekejeke Prolog
    https://www.facebook.com/groups/dogelog/

    Mostowski Collapse schrieb:
    We are currently in conciliation mode for Dogelog Player
    and formerly Jekejeke Prolog. The common denominator
    should be Novacore, a much smaller Prolog core than usual.
    It features a 100% Prolog implemented Term read and write
    routine, that can now pretty print literals.

    Neither SWI-Prologs ‘$VAR’/1 compound loophole to accept
    an atom satisfied us. Nor does Trealla/Scryer Prologs
    character lists seem worth the pain. Instead there is a
    new read and write option annotation/1 that supports
    ‘$STR’/1, ‘$CHR’/1 and ‘$RDX’/2 compounds.

    See also:

    More Pretty Printing in Novacore https://twitter.com/dogelogch/status/1654503234751307776

    More Pretty Printing in Novacore
    https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Donnerstag, 4. Mai 2023 um 14:29:15 UTC+2:
    Dear All,

    We are happy to announce a new version of the
    former Jekejeke runtime 1.5.6, now called Dogelog
    runtime. The most important new features relate
    to the alignment between the Dogelog player and
    the previous Jekejeke runtime.

    - Runtime reduction: Libraries like library(expand),
    library(gamble) and library(apply) have been moved
    to the Jekejeke Minlog extension. Libraries like
    library(char), library(byte), library(pipe),
    library(lock), library(distributed) and library(tabling)
    have been moved to the Jekejeke development environment.

    - Shallow DCG expansion: There is a light-weight
    expansion framework that does not call term_expansion/2
    but term_conversion/2 without calling goal_expansion/2
    as well. First application is shallow DCG expansion
    adapted from Dogelog Player. Deep expansion can be
    unlocked with library(expansion).

    - 100% Prolog Term I/O: The interpreter now uses the
    read and write routines known from Dogelog Player,
    which are written 100% in Prolog. We noticed a
    negligible drop in performance. There exists currently
    in parallel a read routine written in Java for
    bootstrapping and if modules are loaded.

    For download:
    Dogelog Player - Downloads
    Dogelog Runtime - Downloads

    Have Fun!
    Jan Burse, 04.05.2023, http://www.xlog.ch/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mostowski Collapse@bursejan@gmail.com to comp.lang.prolog on Fri May 19 18:02:16 2023
    From Newsgroup: comp.lang.prolog

    Warning! OpenAI API is fast moving. Even the below
    ChatGPT advice is not up to date. For example this
    OpenAPI schema has still engines in it:
    OpenAPI spec for the OpenAI API https://github.com/openai/openai-openapi/blob/master/openapi.yaml
    But if you read here engines have become deprecated:
    Engines
    The Engines endpoints are deprecated.
    Please use their replacement, Models, instead. Learn more. https://platform.openai.com/docs/api-reference/engines
    Mostowski Collapse schrieb am Samstag, 20. Mai 2023 um 02:59:21 UTC+2:
    Here is a summary via ChatGPT itself how to make an OpenAI API client:

    - Node.js: You can use the OpenAI API with Node.js by making
    HTTP requests to the API endpoint using libraries like axios
    or the built-in http module. You can send a POST request to https://api.openai.com/v1/engines/{engine-id}/completions
    with the necessary parameters and your API key in the request headers.

    - Python: OpenAI provides an official Python library called openai
    that simplifies the process of interacting with the API. You can
    install the library using pip (pip install openai) and then import it
    into your Python script. The library provides functions like openai.Completion.create() to send requests and retrieve
    completions from the API.

    - cURL: cURL is a command-line tool for making HTTP requests. You
    can use cURL to interact with the OpenAI API by constructing the
    appropriate cURL command with the necessary request parameters
    and headers. You’ll need to include your API key as an authorization header in the cURL command.

    Since cURL works, you might guess how simple it is.
    Mostowski Collapse schrieb am Freitag, 19. Mai 2023 um 21:20:12 UTC+2:
    OpenAI’s ChatGPT is fast-growing and poses quite some
    challenges to society, rules and regulations. We were
    currious about the API of ChatGPT that permits weaving
    your own applications using the OpenAI services. So we
    tried building a primitive client for formerly Jekejeke Prolog.

    As an example we ask ChatGPT to generate a quizz about
    Switzerland. The body of the request is quickly written in
    Prolog itself, using affine JSON from our new library(json).
    Was it worth the pain? See for yourself! We hope the new
    open/[3,4] options appear in Dogelog Player as well.

    See also:

    ChatGPT Client for Jekejeke Prolog https://twitter.com/dogelogch/status/1659638183166967808

    ChatGPT Client for Jekejeke Prolog https://www.facebook.com/groups/dogelog/

    Mostowski Collapse schrieb:
    We are currently in conciliation mode for Dogelog Player
    and formerly Jekejeke Prolog. The common denominator
    should be Novacore, a much smaller Prolog core than usual.
    It features a 100% Prolog implemented Term read and write
    routine, that can now pretty print literals.

    Neither SWI-Prologs ‘$VAR’/1 compound loophole to accept
    an atom satisfied us. Nor does Trealla/Scryer Prologs
    character lists seem worth the pain. Instead there is a
    new read and write option annotation/1 that supports
    ‘$STR’/1, ‘$CHR’/1 and ‘$RDX’/2 compounds.

    See also:

    More Pretty Printing in Novacore https://twitter.com/dogelogch/status/1654503234751307776

    More Pretty Printing in Novacore
    https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Donnerstag, 4. Mai 2023 um 14:29:15 UTC+2:
    Dear All,

    We are happy to announce a new version of the
    former Jekejeke runtime 1.5.6, now called Dogelog
    runtime. The most important new features relate
    to the alignment between the Dogelog player and
    the previous Jekejeke runtime.

    - Runtime reduction: Libraries like library(expand),
    library(gamble) and library(apply) have been moved
    to the Jekejeke Minlog extension. Libraries like
    library(char), library(byte), library(pipe),
    library(lock), library(distributed) and library(tabling)
    have been moved to the Jekejeke development environment.

    - Shallow DCG expansion: There is a light-weight
    expansion framework that does not call term_expansion/2
    but term_conversion/2 without calling goal_expansion/2
    as well. First application is shallow DCG expansion
    adapted from Dogelog Player. Deep expansion can be
    unlocked with library(expansion).

    - 100% Prolog Term I/O: The interpreter now uses the
    read and write routines known from Dogelog Player,
    which are written 100% in Prolog. We noticed a
    negligible drop in performance. There exists currently
    in parallel a read routine written in Java for
    bootstrapping and if modules are loaded.

    For download:
    Dogelog Player - Downloads
    Dogelog Runtime - Downloads

    Have Fun!
    Jan Burse, 04.05.2023, http://www.xlog.ch/
    --- Synchronet 3.20a-Linux NewsLink 1.114