• Re: Tiobe Index: Prolog to Become Most Popular Langugage

    From Mild Shock@bursejan@gmail.com to comp.lang.prolog on Thu Dec 21 07:47:31 2023
    From Newsgroup: comp.lang.prolog

    Dynamic programming can be so much fun. Especially with Prolog!
    The Wikipedia page mentions Dijsktras shortest path as a dynamic
    programming problem. I am not yet 100% sure, dynamic programming
    is not known to also deal with looping problems?
    Just for fun, what one finds also on the Wikipedia page about
    dynamic programming. The Wikipedia page doesn’t really give the
    below solution, but it is what it is, fibonacci with mode directed
    tabling as a dynamic programming problem:
    :- table fib(_, sum).
    fib(0, 1).
    fib(1, 1).
    fib(N, X) :- N > 1, M is N-2, fib(M, X).
    fib(N, X) :- N > 1, M is N-1, fib(M, X).
    Doesn’t loop anyway, seems to work fine:
    /* SWI-Prolog 9.1.21 */
    ?- fib(99, X).
    X = 354224848179261915075.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mild Shock@bursejan@gmail.com to comp.lang.prolog on Mon Dec 25 08:18:16 2023
    From Newsgroup: comp.lang.prolog

    Rule 50 draws a christmas tree for you:

    Step 0: .....S.....
    Step 1: ....O.O....
    Step 2: ...O.O.O...
    Step 4: ..O.O.O.O..
    Step 5: .O.O.O.O.O.
    Etc...

    Wishing you a peaceful and pleasant time!

    P.S.: Got some time on your hands for procrastination? Try this:

    https://adventofcode.com/2023/day/21
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mild Shock@janburse@fastmail.fm to comp.lang.prolog on Fri Jan 5 23:59:43 2024
    From Newsgroup: comp.lang.prolog


    R.I.P. Niklaus Wirth - 01.01.2024, Age 89 https://ethz.ch/de/news-und-veranstaltungen/eth-news/news/2024/01/der-computerpionier-niklaus-wirth-ist-gestorben.html

    Mild Shock schrieb:
    How it started:

    Wirth Interview: Java and C# will break on their own weight
    Elena Trichina for the ACM on 13 March, 2018 in Zürich, Switzerland https://www.youtube.com/watch?v=DRkfqiF46MQ

    How its going:

    October Headline: C# is getting closer to Java
    TIOBE Index for October 2023
    https://www.tiobe.com/tiobe-index/

    LoL


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mild Shock@janburse@fastmail.fm to comp.lang.prolog on Sat Jan 6 07:29:42 2024
    From Newsgroup: comp.lang.prolog

    Everybody loved him. And thats a solid joke:

    "Because Europeans pronounce his name properly,
    while Americans pronounce it as "nickel's worth", he is
    called by name in Europe and called by value in America."

    Maybe even recited by himself from time to time?

    Mild Shock schrieb:

    R.I.P. Niklaus Wirth - 01.01.2024, Age 89 https://ethz.ch/de/news-und-veranstaltungen/eth-news/news/2024/01/der-computerpionier-niklaus-wirth-ist-gestorben.html


    Mild Shock schrieb:
    How it started:

    Wirth Interview: Java and C# will break on their own weight
    Elena Trichina for the ACM on 13 March, 2018 in Zürich, Switzerland
    https://www.youtube.com/watch?v=DRkfqiF46MQ

    How its going:

    October Headline: C# is getting closer to Java
    TIOBE Index for October 2023
    https://www.tiobe.com/tiobe-index/

    LoL



    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Mild Shock@janburse@fastmail.fm to comp.lang.prolog on Sat Jan 6 07:45:48 2024
    From Newsgroup: comp.lang.prolog


    Ok, interesting, he would have made it into age 90 on 15. February https://dev.to/anogneva/day-when-skynet-becomes-self-aware-and-69-reasons-to-chill-out-with-colleagues-part-1-h5h

    January 1 — Brian Kernighan's Birthday
    January 10 — Donald Ervin Knuth's Birthday
    January 14 — Nathaniel Rochester's Birthday
    January 31 — Guido van Rossum's Birthday
    February 4 — Ken Thompson's Birthday
    February 15 — Niklaus Wirth's Birthday
    February 22 — Thomas E. Kurtz's Birthday
    February 24 — Steve Jobs' Birthday

    Mild Shock schrieb:
    Everybody loved him. And thats a solid joke:

    "Because Europeans pronounce his name properly,
    while Americans pronounce it as "nickel's worth", he is
    called by name in Europe and called by value in America."

    Maybe even recited by himself from time to time?

    Mild Shock schrieb:

    R.I.P. Niklaus Wirth - 01.01.2024, Age 89
    https://ethz.ch/de/news-und-veranstaltungen/eth-news/news/2024/01/der-computerpionier-niklaus-wirth-ist-gestorben.html


    Mild Shock schrieb:
    How it started:

    Wirth Interview: Java and C# will break on their own weight
    Elena Trichina for the ACM on 13 March, 2018 in Zürich, Switzerland
    https://www.youtube.com/watch?v=DRkfqiF46MQ

    How its going:

    October Headline: C# is getting closer to Java
    TIOBE Index for October 2023
    https://www.tiobe.com/tiobe-index/

    LoL




    --- Synchronet 3.20a-Linux NewsLink 1.114