• Dogelog Q&A: Can I run it on an iPad?

    From Mostowski Collapse@21:1/5 to Mostowski Collapse on Thu May 27 16:37:26 2021
    To help understand Dogelog, we made a little Q&A.
    Here are the results:

    Q: What does it mean that Dogelog was produced
    by a cross compiler?
    A: Dogelog is not enteirely written in JavaScript,
    a great part was written in Prolog and then cross
    compiled into JavaScript.

    Q: Can Dogelog be run without Android?
    A: Yes, since the result after cross compilation
    was entirely JavaScript, you can run it everywhere
    where you find JavaScript, no Android required.

    Q: Can Dogelog be run without internet connection?
    A: Yes, the compilation has only generated client
    code, there is no server code, so once the JavaScript
    is loaded, you can run it without a connection.

    Q: Can Dogelog be run without a Browser?
    A: Yes, its also possible to run Dogelog from within
    node.js for example, which is headless.

    Q; Can Dogelog be run from within a smartphone?
    A: Yes, if you find a capable JavaScript environment
    you can also run it on a small device as a smartphone.

    Q: Can a smartphone use be demonstrated?
    A: Yes we have updated the link http://www.dogelog.ch/ so
    that it does automatic zooming, by adding these lines:

    <style>
    body {
    font-family: verdana, sans-serif;
    font-size: 2vw;
    line-height: 1.4em
    }
    </style>

    Here is a screenshot, even an offline use, where the
    internet connection was cut off after Dogelog was loaded: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759547

    Q: Can a tablet use be demonstrated?
    A: Yes the same link http://www.dogelog.ch/ also works
    for tablets. Strangely the same Chrome browser has better
    rendering on a Huawei tablet than on Smasung smartphone.
    But this is an issue of HTML/CSS and not of Dogelog: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759548

    Q; For further questions about Dogelog, where should I go?
    A: Documentation about Dogelog will soon be out, tickets
    with bug reports or feature requests can be opened on GitHub at: https://github.com/jburse/jekejeke-samples/issues

    Mostowski Collapse schrieb:
    Dear All,

    Needs a decent browser, JavaScript >2015

    http://www.dogelog.ch/

    Currently swallows errors silently. Everything written
    in Prolog itself, read/1, consult/1, etc.. and then cross
    compiled into JavaScript. Not sure whether it can already

    compile itself. But it has a text field and can add the
    clauses in the text field and execute the directives in the
    text field, and it has write/1 and nl/0 into the HTML document.

    More care for the good boy upcoming.

    Have Fun!

    Jan Burse, 24.05.2021 #StaySafe
    http://www.jekejeke.ch/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Thu May 27 20:45:19 2021
    It can already do a little Unicode:

    :- X = 'hel𝄞lo', write(X), nl.

    :- X = 'hel𝄞lo', atom_codes(X, L), write(L), nl.

    Try it

    hel𝄞lo
    [104, 101, 108, 119070, 108, 111]

    But I have no clue how the hell I can tease out a
    Unicode codepoint categorization from JavaScript?

    Mostowski Collapse schrieb:
    To help understand Dogelog, we made a little Q&A.
    Here are the results:

    Q: What does it mean that Dogelog was produced
    by a cross compiler?
    A: Dogelog is not enteirely written in JavaScript,
    a great part was written in Prolog and then cross
    compiled into JavaScript.

    Q: Can Dogelog be run without Android?
    A: Yes, since the result after cross compilation
    was entirely JavaScript, you can run it everywhere
    where you find JavaScript, no Android required.

    Q: Can Dogelog be run without internet connection?
    A: Yes, the compilation has only generated client
    code, there is no server code, so once the JavaScript
    is loaded, you can run it without a connection.

    Q: Can Dogelog be run without a Browser?
    A: Yes, its also possible to run Dogelog from within
    node.js for example, which is headless.

    Q; Can Dogelog be run from within a smartphone?
    A: Yes, if you find a capable JavaScript environment
    you can also run it on a small device as a smartphone.

    Q: Can a smartphone use be demonstrated?
    A: Yes we have updated the link http://www.dogelog.ch/ so
    that it does automatic zooming, by adding these lines:

        <style>
            body {
                font-family: verdana, sans-serif;
                font-size: 2vw;
                line-height: 1.4em
            }
        </style>

    Here is a screenshot, even an offline use, where the
    internet connection was cut off after Dogelog was loaded: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759547


    Q: Can a tablet use be demonstrated?
    A: Yes the same link http://www.dogelog.ch/ also works
    for tablets. Strangely the same Chrome browser has better
    rendering on a Huawei tablet than on Smasung smartphone.
    But this is an issue of HTML/CSS and not of Dogelog: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759548


    Q; For further questions about Dogelog, where should I go?
    A: Documentation about Dogelog will soon be out, tickets
    with bug reports or feature requests can be opened on GitHub at: https://github.com/jburse/jekejeke-samples/issues

    Mostowski Collapse schrieb:
    Dear All,

    Needs a decent browser, JavaScript >2015

    http://www.dogelog.ch/

    Currently swallows errors silently. Everything written
    in Prolog itself, read/1, consult/1, etc.. and then cross
    compiled into JavaScript. Not sure whether it can already

    compile itself. But it has a text field and can add the
    clauses in the text field and execute the directives in the
    text field, and it has write/1 and nl/0 into the HTML document.

    More care for the good boy upcoming.

    Have Fun!

    Jan Burse, 24.05.2021 #StaySafe
    http://www.jekejeke.ch/


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Thu May 27 12:23:47 2021
    In Java Unicode categorization is piece of cake.
    But in JavaScript, how is it done? Is this some:

    You're Gonna Need a Bigger
    https://www.youtube.com/watch?v=2I91DJZKRxs

    LoL

    Mostowski Collapse schrieb am Donnerstag, 27. Mai 2021 um 20:45:33 UTC+2:
    It can already do a little Unicode:

    :- X = 'hel𝄞lo', write(X), nl.

    :- X = 'hel𝄞lo', atom_codes(X, L), write(L), nl.

    Try it

    hel𝄞lo
    [104, 101, 108, 119070, 108, 111]

    But I have no clue how the hell I can tease out a
    Unicode codepoint categorization from JavaScript?

    Mostowski Collapse schrieb:
    To help understand Dogelog, we made a little Q&A.
    Here are the results:

    Q: What does it mean that Dogelog was produced
    by a cross compiler?
    A: Dogelog is not enteirely written in JavaScript,
    a great part was written in Prolog and then cross
    compiled into JavaScript.

    Q: Can Dogelog be run without Android?
    A: Yes, since the result after cross compilation
    was entirely JavaScript, you can run it everywhere
    where you find JavaScript, no Android required.

    Q: Can Dogelog be run without internet connection?
    A: Yes, the compilation has only generated client
    code, there is no server code, so once the JavaScript
    is loaded, you can run it without a connection.

    Q: Can Dogelog be run without a Browser?
    A: Yes, its also possible to run Dogelog from within
    node.js for example, which is headless.

    Q; Can Dogelog be run from within a smartphone?
    A: Yes, if you find a capable JavaScript environment
    you can also run it on a small device as a smartphone.

    Q: Can a smartphone use be demonstrated?
    A: Yes we have updated the link http://www.dogelog.ch/ so
    that it does automatic zooming, by adding these lines:

    <style>
    body {
    font-family: verdana, sans-serif;
    font-size: 2vw;
    line-height: 1.4em
    }
    </style>

    Here is a screenshot, even an offline use, where the
    internet connection was cut off after Dogelog was loaded: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759547


    Q: Can a tablet use be demonstrated?
    A: Yes the same link http://www.dogelog.ch/ also works
    for tablets. Strangely the same Chrome browser has better
    rendering on a Huawei tablet than on Smasung smartphone.
    But this is an issue of HTML/CSS and not of Dogelog: https://gist.github.com/jburse/f6ad8de5f2a2de54c3efdbbe654e8013#gistcomment-3759548


    Q; For further questions about Dogelog, where should I go?
    A: Documentation about Dogelog will soon be out, tickets
    with bug reports or feature requests can be opened on GitHub at: https://github.com/jburse/jekejeke-samples/issues

    Mostowski Collapse schrieb:
    Dear All,

    Needs a decent browser, JavaScript >2015

    http://www.dogelog.ch/

    Currently swallows errors silently. Everything written
    in Prolog itself, read/1, consult/1, etc.. and then cross
    compiled into JavaScript. Not sure whether it can already

    compile itself. But it has a text field and can add the
    clauses in the text field and execute the directives in the
    text field, and it has write/1 and nl/0 into the HTML document.

    More care for the good boy upcoming.

    Have Fun!

    Jan Burse, 24.05.2021 #StaySafe
    http://www.jekejeke.ch/


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas 'PointedEars' Lahn@21:1/5 to Mostowski Collapse on Tue Jun 8 19:38:26 2021
    Mostowski Collapse wrote:

    To help understand Dogelog, we made a little Q&A. […]

    The main question appears to be missing:

    “What *is* ‘Dogelog’, and why should I care?”

    (That dog seems to get in everywhere *g*)

    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Wed Jun 9 14:37:12 2021
    The problem is dogelog is not a dog:
    - It doesn't barf, it only speaks Prolog
    - It is not flesh and bones, its only made with JavaScript
    - It doesn't have a dog chip, only an URL http://www.dogelog.ch/

    So for a dog, you should take this route:

    Girls REALLY Want To Adopt This Puppy https://www.youtube.com/watch?v=ZRmmVKbGQ60

    Mostowski Collapse schrieb:
    Could you please state your question more clearly?
    What do you mean by "care"?

    Do you want to adopt a dog and care for it?
    Then dogelog is possibly not the right choice for you.

    Please enlighten us.

    Thomas 'PointedEars' Lahn schrieb am Dienstag, 8. Juni 2021 um 19:38:33 UTC+2:
    Mostowski Collapse wrote:

    To help understand Dogelog, we made a little Q&A. […]

    The main question appears to be missing:

    “What *is* ‘Dogelog’, and why should I care?”

    (That dog seems to get in everywhere *g*)

    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
    <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Thomas 'PointedEars' Lahn on Wed Jun 9 05:22:04 2021
    Could you please state your question more clearly?
    What do you mean by "care"?

    Do you want to adopt a dog and care for it?
    Then dogelog is possibly not the right choice for you.

    Please enlighten us.

    Thomas 'PointedEars' Lahn schrieb am Dienstag, 8. Juni 2021 um 19:38:33 UTC+2:
    Mostowski Collapse wrote:

    To help understand Dogelog, we made a little Q&A. […]

    The main question appears to be missing:

    “What *is* ‘Dogelog’, and why should I care?”

    (That dog seems to get in everywhere *g*)

    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas 'PointedEars' Lahn@21:1/5 to Mostowski Collapse on Fri Jun 11 04:48:00 2021
    Mostowski Collapse wrote:

    Could you please state your question more clearly?
    What do you mean by "care"?

    Learn English:

    <https://www.lexico.com/definition/care>

    Do you want to adopt a dog and care for it?
    Then dogelog is possibly not the right choice for you.

    Please enlighten us.

    Sometimes I wonder whether there is other intelligent life on this planet.

    I mean this dog, of course: <https://en.wikipedia.org/wiki/Doge_(meme)>

    From which this software might take its name.

    And it was a fracking JOKE.

    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Fri Jun 11 08:46:17 2021
    I am currently writing the documentation of dogelog.
    The software is already uploaded to GitHub:

    https://github.com/jburse/dogelog-moon

    For the introductory text, I came up with this marketing pitch.
    Possibly not sassy enough? But I don't want to go too far.

    ------------------------- cut here ----------------------

    The goal of Dogelog is to bring Prolog to a broader audience,
    i.e. browser and node.js, without sacrificing performance and
    functionality. The two ancestors of Dogelog are the Jekejeke
    Prolog interpreter and the Albufeira compiler. It tries to

    combine the best of both worlds to archive its goals in the following way:

    • Cross Compilation: Like in Albufeira, we define an instruction
    stream that allows cross compilation, which was not
    possible with Jekejeke Prolog.

    • Garbage Collection: Like in Albuferia, we use a simpler term
    model that allow cyclic terms, which was not
    possible with Jekejeke Prolog.

    • Flow Control: We adopted the Jekejeke Prolog dual trampoline,
    but do it stack less and with choice point cut variables,
    leading to better last call optimization.

    Dogelog requires a recent browser or node.js since it makes use
    of the JavaScript "import" language construct. For demonstration
    purposes, the sandbox use case already works and is explained

    in this documentation. The rest of document describes the current
    scope of the Dogelog runtime and of the Dogelog transpiler.

    ------------------------- cut here ----------------------

    Mostowski Collapse schrieb am Freitag, 11. Juni 2021 um 17:37:09 UTC+2:
    You asked:
    “What *is* ‘Dogelog’, and why should I care?”
    But how can I know whether you should C-ARE,
    if I don't know who you ARE? I am not a
    clairvoyant. You even didn't write

    why should "we" care, but you wrote why should
    "I" care. The "we" could be maybe answered, if
    we would refer to this forum.

    But otherwise, what or who are you?

    For the other part of the question, there
    is now a biopic of Dogelog, just click
    on the doge to get the factsheet about dogelog:

    ----------------- cut here ----------------

    Q: When was Dogelog born?
    A: Dogelog is still a puppy, born in 2021
    after heated internet discussions.

    Q: How does Dogelog barf?
    A: Dogelog speaks Prolog.

    Q: Is Dogelog flesh and bones?
    A: No, Dogelog is made with JavaScript.

    Q: What pedigree is Dogelog?
    A: Dogelog is a mongrel, half Jekejeke
    and half Albufeira.

    Q: Does Dogelog have a dog chip?
    A: No, but Dogelog has an URL www.dogelog.ch.

    Q: Who is the master of Dogelog?
    A: Currently Dogelog gets the most care
    by XLOG Technologies GmbH.

    http://www.dogelog.ch/biopic.html

    ----------------- cut here ----------------

    Thanks for the inspiration!

    Bye

    Thomas 'PointedEars' Lahn schrieb:
    Mostowski Collapse wrote:

    Could you please state your question more clearly?
    What do you mean by "care"?

    Learn English:

    <https://www.lexico.com/definition/care>

    Do you want to adopt a dog and care for it?
    Then dogelog is possibly not the right choice for you.

    Please enlighten us.

    Sometimes I wonder whether there is other intelligent life on this planet.

    I mean this dog, of course: <https://en.wikipedia.org/wiki/Doge_(meme)>

    From which this software might take its name.

    And it was a fracking JOKE.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to You on Fri Jun 11 17:37:00 2021
    You asked:
    “What *is* ‘Dogelog’, and why should I care?”

    But how can I know whether you should C-ARE,
    if I don't know who you ARE? I am not a
    clairvoyant. You even didn't write

    why should "we" care, but you wrote why should
    "I" care. The "we" could be maybe answered, if
    we would refer to this forum.

    But otherwise, what or who are you?

    For the other part of the question, there
    is now a biopic of Dogelog, just click
    on the doge to get the factsheet about dogelog:

    ----------------- cut here ----------------

    Q: When was Dogelog born?
    A: Dogelog is still a puppy, born in 2021
    after heated internet discussions.

    Q: How does Dogelog barf?
    A: Dogelog speaks Prolog.

    Q: Is Dogelog flesh and bones?
    A: No, Dogelog is made with JavaScript.

    Q: What pedigree is Dogelog?
    A: Dogelog is a mongrel, half Jekejeke
    and half Albufeira.

    Q: Does Dogelog have a dog chip?
    A: No, but Dogelog has an URL www.dogelog.ch.

    Q: Who is the master of Dogelog?
    A: Currently Dogelog gets the most care
    by XLOG Technologies GmbH.

    http://www.dogelog.ch/biopic.html

    ----------------- cut here ----------------

    Thanks for the inspiration!

    Bye

    Thomas 'PointedEars' Lahn schrieb:
    Mostowski Collapse wrote:

    Could you please state your question more clearly?
    What do you mean by "care"?

    Learn English:

    <https://www.lexico.com/definition/care>

    Do you want to adopt a dog and care for it?
    Then dogelog is possibly not the right choice for you.

    Please enlighten us.

    Sometimes I wonder whether there is other intelligent life on this planet.

    I mean this dog, of course: <https://en.wikipedia.org/wiki/Doge_(meme)>

    From which this software might take its name.

    And it was a fracking JOKE.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas 'PointedEars' Lahn@21:1/5 to Mostowski Collapse on Sat Jun 12 22:24:04 2021
    Mostowski Collapse wrote:
    ^^^^^^^^^^^^^^^^^^
    Is that your real name?

    You asked:
    “What *is* ‘Dogelog’, and why should I care?”

    But how can I know whether you should C-ARE,

    I’m sorry, are you stupid?

    You can know because I am obviously a developer who uses ECMAScript implementations; otherwise I would not be reading here. So if you are advertising something here, then it had better something to do with that. Otherwise it is just spam, and you can FOAD.

    Also, you cannot expect everyone to know what you are advertising, or visit
    the Web site (if any) to find out. So one can reasonably expect that you
    first say what it *is* that you are advertising.

    if I don't know who you ARE? I am not a
    clairvoyant. You even didn't write

    why should "we" care, but you wrote why should "I" care.

    I wrote “I” because I do not profess to speak for everyone here.

    The "we" could be maybe answered, if we would refer to this forum.

    This is a Usenet newsgroup, not a (Web) forum.

    But otherwise, what or who are you?

    LOL. Read my sig:

    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Thomas 'PointedEars' Lahn on Sat Jun 12 17:12:00 2021
    Your forum footer has only links. You are blaming me for
    posting a link, now I should read a link of yours? What can
    possibly go wrong? He, can you imagine?

    May I ask you in turn, are you possibly stupid? Since you
    asked me the same. My impression, you are at least as
    stupid as this lady, maybe even more stupid:

    IF YOU'RE HOMELESS.... JUST BUY A HOUSE https://www.youtube.com/watch?v=-Jh0EN1De4Q

    LoL

    Please prove me wrong, that you arent stupid.

    Thomas 'PointedEars' Lahn schrieb am Samstag, 12. Juni 2021 um 22:24:13 UTC+2:
    But otherwise, what or who are you?
    LOL. Read my sig:
    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas 'PointedEars' Lahn@21:1/5 to All on Sun Jun 13 03:45:53 2021
    Mostowski Collapse trolled:

    Your forum footer has only links. You are blaming me for
    posting a link, now I should read a link of yours? What can
    possibly go wrong? He, can you imagine?

    May I ask you in turn, are you possibly stupid? Since you
    asked me the same. My impression, you are at least as
    stupid as this lady, maybe even more stupid:

    IF YOU'RE HOMELESS.... JUST BUY A HOUSE https://www.youtube.com/watch?v=-Jh0EN1De4Q

    LoL

    Please prove me wrong, that you arent stupid.

    It would be stupid, indeed, to pay any more attention to you.

    *PLONK*

    [x] done


    F’up2 poster
    --
    PointedEars
    FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
    Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Thomas 'PointedEars' Lahn on Sun Jun 13 00:32:27 2021
    You anyway came to this thread, to spam it
    with your footer links. Good that you are gone.

    Thank you, and dont come back.

    Thomas 'PointedEars' Lahn schrieb am Sonntag, 13. Juni 2021 um 03:46:01 UTC+2:
    *PLONK*

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to All on Fri Jul 2 09:17:22 2021
    We just completed a time/1 predicate, so as to measure the performance
    of Dogelog runtime inside a browser. Just out of curriosity we measured
    the performance on our negation as failure based Tic-Tac-Toe game.

    Interestingly it takes only ca. 300ms. This means for later moves it
    will even take less time. The physiological threshold for fast response
    is around 100ms. So it seems feasible to provide a user interface

    and deliver a Tic-Tac-Toe game play via Prolog inside the browser.
    We quickly found a SELFHTML tutorial about the Tic-Tac-Toe game
    and adopted the game board from there.

    See also:

    Preview: Dogelog plays Tic-Tac-Toe via Prolog. (Jekejeke) https://gist.github.com/jburse/79c0fcaa23339d2a0968c7d54594facd#gistcomment-3799880


    The final game can be found at this URL for toying around: http://www.dogelog.ch/play.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)