• Back To CS Basics. Fuck AI

    From Leroy H@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 03:26:15 2026
    From Newsgroup: comp.os.linux.advocacy

    It is amazing how knowledge of basic CS is absent in most
    programmers, both professional and amateur alike. While
    "vibe coding" is all the rage, a silent disaster is also
    creeping.

    What GNU/Linux requires urgently is a Decimal Floating
    Point library that implements IEEE754-2008, but mention this
    to most programmers and one will receive only blank stares
    and gaping mouths.

    The only GNU/Linux project for IEEE754-2008 is closing
    its doors:

    <https://github.com/libdfp/libdfp/pull/238>

    Disagree?

    Compile and run the following C code (libdfp must be
    installed) and check the results. It merely adds
    a small increment 10 million times:

    [~]# ./fp-compare 10000000
    Binary Expected: 100000.000000
    Binary Got: 95680.945312

    Decimal Expected: 100000.000000
    Decimal Got: 100000.000000

    Whew! Using standard binary FP the result is in error
    by TENS OF THOUSANDS!

    GNU/Linux needs Decimal FP.

    ======================================
    Begin C Code
    (libdfp must be installed)
    (link: https://github.com/libdfp/libdfp)
    ======================================

    /*********************************************
    gcc -std=gnu99 $CFLAGS -Wall -Wextra -I/usr/local/include/dfp -o fp-compare fp-compare.c -ldfp

    ./fp-compare 10000000

    Compares an identical computation using both float and _Decimal32
    variables.

    **********************************************/

    #define _GNU_SOURCE
    #define __STDC_WANT_DEC_FP__
    #include <fenv.h>
    #include <math.h>
    #include <stdlib.h>
    #include <stdio.h>

    int main(int argc, char **argv) {

    _Decimal32 dec_meters, dec_inc, dec_iterations;
    float bin_meters, bin_inc;
    int i, iterations;

    // set dec rounding mode to round half up fe_dec_setround(FE_DEC_TONEARESTFROMZERO);

    iterations = atoi(argv[1]);
    dec_iterations = strtod32(argv[1],'\0');

    dec_meters = 0.0DF;
    bin_meters = 0.0;
    dec_inc = 0.01DF;
    bin_inc = 0.01;

    for (i = 0; i < iterations; i++) {
    bin_meters = bin_meters + bin_inc;
    dec_meters = dec_meters + dec_inc;
    }

    fprintf(stdout, "Binary Expected: %f\n", bin_inc * (float)iterations); fprintf(stdout, "Binary Got: %f\n\n", bin_meters);

    fprintf(stdout, "Decimal Expected: %Hf\n", dec_inc * dec_iterations); fprintf(stdout, "Decimal Got: %Hf\n", dec_meters);

    }

    ================================
    End C Code
    ================================
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 11:44:54 2026
    From Newsgroup: comp.os.linux.advocacy

    Leroy H wrote this screed in ALL-CAPS (fixed):

    It is amazing how knowledge of basic CS is absent in most
    programmers, both professional and amateur alike. While
    "vibe coding" is all the rage, a silent disaster is also
    creeping.

    What GNU/Linux requires urgently is a Decimal Floating
    Point library that implements IEEE754-2008, but mention this
    to most programmers and one will receive only blank stares
    and gaping mouths.

    The only GNU/Linux project for IEEE754-2008 is closing
    its doors:

    <https://github.com/libdfp/libdfp/pull/238>

    For C++, Boost.Decimal.

    The Free42 calculator provides either binary or a decimal
    implementation.

    By the way, are you AI?
    --
    Impartial, adj.: Unable to perceive any promise of personal
    advantage from espousing either side of a controversy or adopting
    either of two conflicting opinions.
    q-- Ambrose Bierce, "The Devil's Dictionary"
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Leroy H@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 16:14:23 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:


    For C++, Boost.Decimal.


    Some people don't use C++. I would hope that most would not.

    It is recommended, and even required in some countries, that all
    financial software be written using decimal FP.

    But once libdfp drops out then GNU/Linux C programmers will be
    stuck.




    By the way, are you AI?


    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    Occasionally, however, some misaligned freak will rise above
    it all and then we have a burst of progress.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 17:10:18 2026
    From Newsgroup: comp.os.linux.advocacy

    Leroy H <[email protected]>wrote:
    On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:


    For C++, Boost.Decimal.


    Some people don't use C++. I would hope that most would not.

    It is recommended, and even required in some countries, that all
    financial software be written using decimal FP.

    But once libdfp drops out then GNU/Linux C programmers will be
    stuck.


    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    But maybe you can call 'wcalc' from the C code,
    it supports stdin - stdout

    raspberrypi: ~ # wcalc -EE
    Enter an expression to evaluate, q to quit, or ? for help:
    1/pi
    = 0.318310
    q

    raspberrypi: ~ # echo "1/pi" | wcalc
    = 0.31831
    raspberrypi: ~ # echo "1/pi" | wcalc -EE
    = 0.318310

    You can just do decimal in C
    Use type double if you are worried about microcents.

    I have written financial software in C.
    What is the problem?


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Leroy H@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 17:56:13 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:


    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.


    Who would ever disagree?


    You can just do decimal in C
    Use type double if you are worried about microcents.

    I have written financial software in C.
    What is the problem?


    That depends on the scale.

    For most situations, the currency amounts are enough that the
    C double type, with 16 decimal digits of precision, can handle
    the simple processing without error.

    (C also has a 128-bit long double type but ordinary processors
    have no hardware for this type. On GNU/Linux the long double
    is usually defined as 80-bits.)

    But for large currency amounts and more complex processing,
    16 decimal digits may not be enough. That's why decimal floating
    point is recommended or even required by law.

    What is needed is HARDWARE decimal FP. IBM has always had decimal
    FP hardware in its mainframes and it also has decimal FP hardware
    in its Power PC processors. (Only large institutions could afford
    such hardware.)

    Intel/AMD will likely never have DFP hardware. They will keep on
    adding special AI hardware but never DFP hardware.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 18:10:06 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-16, Leroy H <[email protected]> wrote:

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    I have written financial software in C.
    What is the problem?

    That depends on the scale.

    For most situations, the currency amounts are enough that the
    C double type, with 16 decimal digits of precision, can handle
    the simple processing without error.

    Now that 64-bit ints are available, you could use them
    in many situations.

    (C also has a 128-bit long double type but ordinary processors
    have no hardware for this type. On GNU/Linux the long double
    is usually defined as 80-bits.)

    But for large currency amounts and more complex processing,
    16 decimal digits may not be enough. That's why decimal floating
    point is recommended or even required by law.

    What is needed is HARDWARE decimal FP. IBM has always had decimal
    FP hardware in its mainframes

    FSVO "always". But the original 360 had packed decimal, which
    can work with up to 31 decimal digits. I wrote a lot of business
    software in those days; I can count the number of times I've used
    floating point on the fingers of one hand. For basic accounting,
    integer pennies are enough. Add a few guard digits if you must.
    To quote the old commercial, it "takes the worry out of being close".
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Leroy H@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 18:32:31 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:


    Now that 64-bit ints are available, you could use them
    in many situations.


    For adding or subtracting.

    But finance calculations often use more complex processing.
    Interest calculations need floating point and even transcendental
    math functions.

    This blogger actually proposes a single numeric type for
    all digital computation, called Dec64:

    <https://www.crockford.com/dec64.html>

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 21:50:16 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++. Such a
    feature is useful, for example, in letting you express operations on mathematical objects (like vectors and matrices) using something close
    to the original mathematical notation.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 21:52:26 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:

    But the original 360 had packed decimal, which can work with up to
    31 decimal digits. I wrote a lot of business software in those days;
    I can count the number of times I've used floating point on the
    fingers of one hand. For basic accounting, integer pennies are
    enough. Add a few guard digits if you must. To quote the old
    commercial, it "takes the worry out of being close".

    Did you ever do calculations involving financial derivatives?

    Even compound interest requires calculations involving logarithms and exponentials.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 22:19:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-16, Lawrence D’Oliveiro <[email protected]d> wrote:

    On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:

    But the original 360 had packed decimal, which can work with up to
    31 decimal digits. I wrote a lot of business software in those days;
    I can count the number of times I've used floating point on the
    fingers of one hand. For basic accounting, integer pennies are
    enough. Add a few guard digits if you must. To quote the old
    commercial, it "takes the worry out of being close".

    Did you ever do calculations involving financial derivatives?

    Even compound interest requires calculations involving logarithms and exponentials.

    That's why I said I've done few programs that use floating point,
    not none. I've worked on mortgage amortization routines. But
    most of my stuff consists of adding up columns of numbers and
    doing the occasional division with rounding. YMMV.

    IMHO one of the biggest programming mistakes is using floating
    point when you can do it faster, more accurately, and more
    easily with integers. That's not to say that there aren't
    places where floating point is necessary - but for some of
    us, that's a small portion of what we have to do. I don't
    need floating point to express IP addresses, for instance.
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Nick Charles@[email protected] to comp.os.linux.advocacy,comp.os.linux.misc on Fri Oct 16 23:19:38 2026
    From Newsgroup: comp.os.linux.advocacy

    On Oct 16, 2026 at 11:44:54 AM EDT, "Chris Ahlstrom" <[email protected]> wrote:

    Leroy H wrote this screed in ALL-CAPS (fixed):

    It is amazing how knowledge of basic CS is absent in most
    programmers, both professional and amateur alike. While
    "vibe coding" is all the rage, a silent disaster is also
    creeping.

    What GNU/Linux requires urgently is a Decimal Floating
    Point library that implements IEEE754-2008, but mention this
    to most programmers and one will receive only blank stares
    and gaping mouths.

    The only GNU/Linux project for IEEE754-2008 is closing
    its doors:

    <https://github.com/libdfp/libdfp/pull/238>

    For C++, Boost.Decimal.

    The Free42 calculator provides either binary or a decimal
    implementation.

    By the way, are you AI?

    Yes he is. He is Actually Ignorant.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 19:35:03 2026
    From Newsgroup: comp.os.linux.advocacy

    Leroy H wrote this screed in ALL-CAPS (fixed):

    On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:

    For C++, Boost.Decimal.

    Some people don't use C++. I would hope that most would not.

    :-D

    It is a fine language, capable of the basic operations supported
    by C and a vast compendium of object-oriented and template
    features, and a standard library rivaling Python.

    It is recommended, and even required in some countries, that all
    financial software be written using decimal FP.

    But once libdfp drops out then GNU/Linux C programmers will be
    stuck.

    By the way, are you AI?

    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    They had news reports and textbooks in prehistory?

    Occasionally, however, some misaligned freak will rise above
    it all and then we have a burst of progress.
    --
    WARNING: Overconsumption of this product can lead to anal leakage.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 19:36:03 2026
    From Newsgroup: comp.os.linux.advocacy

    Jan Panteltje wrote this screed in ALL-CAPS (fixed):

    Leroy H <[email protected]>wrote:
    On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:

    For C++, Boost.Decimal.

    Some people don't use C++. I would hope that most would not.

    It is recommended, and even required in some countries, that all
    financial software be written using decimal FP.

    But once libdfp drops out then GNU/Linux C programmers will be
    stuck.

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    :-D

    It's my favorite language, by far.
    --
    "MacDonald has the gift on compressing the largest amount of words into
    the smallest amount of thoughts."
    -- Winston Churchill
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Fri Oct 16 19:39:08 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed):

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    C++ overly complicated? Nah.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++.

    Prove it.
    --
    BOFH excuse #404:

    Sysadmin accidentally destroyed pager with a large hammer.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 02:28:10 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 22:19:37 GMT, Charlie Gibbs wrote:

    IMHO one of the biggest programming mistakes is using floating point
    when you can do it faster, more accurately, and more easily with
    integers.

    Some languages offer direct support for “fixed-point” formats,
    basically integers with a fixed scale factor, so you can do
    calculations that keep a fractional part.

    From what I gather, they tend to be difficult to use properly. The
    problem seems to be keeping calculations within the permissible
    dynamic range, to avoid overflow and underflow.

    This is why floating-point tends to be far more popular.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.advocacy,comp.os.linux.misc on Sat Oct 17 02:29:02 2026
    From Newsgroup: comp.os.linux.advocacy

    On Fri, 16 Oct 2026 23:19:38 +0000, Nick Charles wrote:

    Yes he is. He is Actually Ignorant.

    Still think Apple’s phone and tablet products are running “Unix”, are you?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 01:52:34 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/16/26 22:28, Lawrence D’Oliveiro wrote:
    On Fri, 16 Oct 2026 22:19:37 GMT, Charlie Gibbs wrote:

    IMHO one of the biggest programming mistakes is using floating point
    when you can do it faster, more accurately, and more easily with
    integers.

    Some languages offer direct support for “fixed-point” formats,
    basically integers with a fixed scale factor, so you can do
    calculations that keep a fractional part.

    From what I gather, they tend to be difficult to use properly. The
    problem seems to be keeping calculations within the permissible
    dynamic range, to avoid overflow and underflow.

    This is why floating-point tends to be far more popular.

    "Fuzzy Logic" typically uses floats for everything ...
    which was a big drain on smaller boards and such. 16
    or even 32 bit integers can fill in very nicely for
    any sane application.

    DID do an application which employed some 'fuzzy'
    on an Arduino ... floats ... NO NO NO !!!

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.advocacy,comp.os.linux.misc on Sat Oct 17 01:54:47 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/16/26 22:29, Lawrence D’Oliveiro wrote:
    On Fri, 16 Oct 2026 23:19:38 +0000, Nick Charles wrote:

    Yes he is. He is Actually Ignorant.

    Still think Apple’s phone and tablet products are running “Unix”, are you?

    Technically, they are ... but it's so heavily
    modified you really can't call it "Unix" anymore.

    "SteveIX" ??? :-)

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 07:20:49 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++. Such a
    feature is useful, for example, in letting you express operations on >mathematical objects (like vectors and matrices) using something close
    to the original mathematical notation.

    OK
    I never got much into Python
    Never needed it for the things I do.
    Also it seems to be changing all the time?
    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful
    understand the hardware!!! https://panteltje.nl/panteltje/newsflex/download.html https://panteltje.nl/panteltje/quadcopter/index.html https://panteltje.nl/panteltje/pic/index.html
    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But I come from a hardware background, in the sixties there were no 'computers' yet they did a manned Moon landing and return.
    Now they have nothing to show but driving around the block (earth orbit) with all that computing power.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 07:43:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    I never got much into Python
    Never needed it for the things I do.
    Also it seems to be changing all the time?

    New features appear every year.

    But I come from a hardware background, in the sixties there were no 'computers' yet they did a manned Moon landing and return.

    Of course they had “computers” -- several giant IBM mainframes at
    Mission Control. Also every engineer had their trusty slide rule
    handy.

    There were 4 computers on the Apollo spacecraft -- one to control the
    Saturn rocket, one in the Command Module, and 2 (1 for backup) on the
    Lunar Module.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 09:11:29 2026
    From Newsgroup: comp.os.linux.advocacy

    On 16/10/2026 23:19, Charlie Gibbs wrote:
    IMHO one of the biggest programming mistakes is using floating
    point when you can do it faster, more accurately, and more
    easily with integers. That's not to say that there aren't
    places where floating point is necessary - but for some of
    us, that's a small portion of what we have to do. I don't
    need floating point to express IP addresses, for instance.

    You may think that, but the potential for errors is huge.
    Audio encoding is typically 16 bit integer, but if you are doing serious processing there will be many adds subtracts and multiplies. Its way
    easier to do all that in FP and then round up to the nearest integer for
    the final output, than to constantly have to rescae to maintain
    acceptable precision
    --
    Outside of a dog, a book is a man's best friend. Inside of a dog it's
    too dark to read.

    Groucho Marx



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 09:18:29 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 00:35, Chris Ahlstrom wrote:
    Leroy H wrote this screed in ALL-CAPS (fixed):

    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    They had news reports and textbooks in prehistory?

    Yes. And they were carried by bards

    As songs and sagas and myths

    The Bible was a written down record of some of them

    Lights in the sky, great floods, cities gone in a flash. Tsunamis
    causing the sea to retreat. Evidence exists for all of these. Just not
    the god Yahweh. HE stared out as a minor war god. Somewhere along the
    line monotheism looked to be advisable, and he got the job


    The sling is well known to be a devastating range weapon when faced with
    an opponent whose armour is not 100%, For example. A fact worth passing
    along in a neat little morality tale
    --
    All political activity makes complete sense once the proposition that
    all government is basically a self-legalising protection racket, is
    fully understood.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 08:58:24 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 16-10-2026, Chris Ahlstrom <[email protected]> a écrit :
    Leroy H wrote this screed in ALL-CAPS (fixed):
    [.../SNIP/...]

    By the way, are you AI?

    No, he's too limited for that. A modern AI would be far better in its
    answers.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 09:43:01 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 16-10-2026, Chris Ahlstrom <[email protected]> a écrit :
    Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed):

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    C++ overly complicated? Nah.

    It's so awful it made its creator declare: "There are only two kinds of languages: the ones people complain about and the ones nobody uses."

    If LISP has been able to include oriented object programming nicely,
    adding oriented object programming in C without breaking compatibility
    didn't worked that well.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++.

    Prove it.

    From what I saw, for a beginner's approach, python is easier than Java
    or C++. Now when one starts to use python in the real life, the
    complexity of python appears. Because that's the python way: things
    works except when they stop to work.

    Like, it's not a typed language but start playing with dictionaries
    without declaring your variables first to see how the claims stand
    before the facts.

    Or you want to see what's in some variables, so you print it with print(myvariable)
    When you start to have too many variables, you want to put the name of
    the variable in front of it to increase its visibility, so you print("myvariable: " + myvariable)
    but that doesn't work because myvariable is not a string. So you have to print("myvariable: " + str(myvariable))
    But now you have the description of myvariable (or something like that:
    I discovered it a long time ago, my memory isn't clear about it), not
    its content, so you have to handle it differently (about that, I'm sure).

    And I'm not speaking about the dependencies. Each version breaks
    everything so well that now some distros don't let you install libraries
    with pip if you are not in a virtual environment.

    So, yes to do something simple, python is fast and easy. But if you want
    to power of C++ and Java, you can't use python on a simple way.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 11:25:23 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 09:58, Stéphane CARPENTIER wrote:
    Le 16-10-2026, Chris Ahlstrom <[email protected]> a écrit :
    Leroy H wrote this screed in ALL-CAPS (fixed):
    [.../SNIP/...]

    By the way, are you AI?

    No, he's too limited for that. A modern AI would be far better in its answers.

    Lol!
    --
    In theory, there is no difference between theory and practice.
    In practice, there is.
    -- Yogi Berra

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 06:32:28 2026
    From Newsgroup: comp.os.linux.advocacy

    The Natural Philosopher wrote this screed in ALL-CAPS (fixed):

    On 17/10/2026 00:35, Chris Ahlstrom wrote:
    Leroy H wrote this screed in ALL-CAPS (fixed):

    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    They had news reports and textbooks in prehistory?

    Yes. And they were carried by bards

    I thought it was promulgated by voice and memory....

    As songs and sagas and myths

    The Bible was a written down record of some of them

    That's not prehistory, is it?

    Lights in the sky, great floods, cities gone in a flash. Tsunamis
    causing the sea to retreat. Evidence exists for all of these. Just not
    the god Yahweh. HE stared out as a minor war god. Somewhere along the
    line monotheism looked to be advisable, and he got the job

    The sling is well known to be a devastating range weapon when faced with
    an opponent whose armour is not 100%, For example. A fact worth passing along in a neat little morality tale

    I remember being amazed at how far a slingshot could sling a
    marble.

    (I would also shoot a BB straight up to see how close to me I
    could get it to land. A couple of times me and a friend had
    BB duels.)
    --
    Beauty seldom recommends one woman to another.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 11:55:44 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 11:32, Chris Ahlstrom wrote:
    The Natural Philosopher wrote this screed in ALL-CAPS (fixed):

    On 17/10/2026 00:35, Chris Ahlstrom wrote:
    Leroy H wrote this screed in ALL-CAPS (fixed):

    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    They had news reports and textbooks in prehistory?

    Yes. And they were carried by bards

    I thought it was promulgated by voice and memory....


    That's what bards were. Voices with memory. and mobility

    As songs and sagas and myths

    The Bible was a written down record of some of them

    That's not prehistory, is it?

    Depends on your definition, But the oral tradition - stories round the
    fire at night - probably goes back to the dawn of man


    Lights in the sky, great floods, cities gone in a flash. Tsunamis
    causing the sea to retreat. Evidence exists for all of these. Just not
    the god Yahweh. HE stared out as a minor war god. Somewhere along the
    line monotheism looked to be advisable, and he got the job

    The sling is well known to be a devastating range weapon when faced with
    an opponent whose armour is not 100%, For example. A fact worth passing
    along in a neat little morality tale

    I remember being amazed at how far a slingshot could sling a
    marble.

    We reinvented the woomera. To sling stones at the bull's testicles

    Horrid little kids we were really. But we did know what bullshit was
    allright


    (I would also shoot a BB straight up to see how close to me I
    could get it to land. A couple of times me and a friend had
    BB duels.)

    Hmmm
    --
    “Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong remedies.”
    ― Groucho Marx

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 12:12:36 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 17-10-2026, Chris Ahlstrom <[email protected]> a écrit :
    The Natural Philosopher wrote this screed in ALL-CAPS (fixed):

    On 17/10/2026 00:35, Chris Ahlstrom wrote:
    Leroy H wrote this screed in ALL-CAPS (fixed):

    Human beings have always been AI in that they can only parrot
    news reports and their old school textbooks. This has been true
    since pre-historic times.

    They had news reports and textbooks in prehistory?

    Yes.

    No.

    And they were carried by bards

    Bards carried stories. It was important and it reminds people of what
    was done long time ago. It wasn't news report. But I'm not surprised you
    can't differentiate between what happened yesterday and what people did
    a long time ago. It wasn't textbooks. But I'm not surprised you can't differentiate between the things you need to learn to work everyday and
    the things you need to remember from past action which can explain why
    things are what they are today.

    I thought it was promulgated by voice and memory....

    Ultimately, it was promulgated by people. But what your mother was
    teaching you is different to what professors were teaching you, which is different to what reporters are telling you. I know you can tell the
    difference but you are answering a message written by someone who can't.

    As songs and sagas and myths

    The Bible was a written down record of some of them

    That's not prehistory, is it?

    Of course it's not. It's the definition of history. But you are
    answering The Natural Philosopher who can only close his eyes to what
    goes beyond his preconceived expectations.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 12:17:29 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    I never got much into Python
    Never needed it for the things I do.
    Also it seems to be changing all the time?

    New features appear every year.

    But I come from a hardware background, in the sixties there were no
    'computers' yet they did a manned Moon landing and return.

    Of course they had “computers” -- several giant IBM mainframes at
    Mission Control. Also every engineer had their trusty slide rule
    handy.

    There were 4 computers on the Apollo spacecraft -- one to control the
    Saturn rocket, one in the Command Module, and 2 (1 for backup) on the
    Lunar Module.

    You are right, real computers, I just read
    https://en.wikipedia.org/wiki/Apollo_Guidance_Computer

    Not much memory compared to today's ...
    I still have a slide rule somewhere...
    And old calculators..

    I remember playing moonlanding game on a Commodore PET in the seventies?

    :-)

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 13:43:04 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 13:12, Stéphane CARPENTIER wrote:
    But you are
    answering The Natural Philosopher who can only close his eyes to what
    goes beyond his preconceived expectations.

    Ah. Another one who spends his time staring into a mirror and thinking
    he is seeing other people
    --
    WOKE is an acronym... Without Originality, Knowledge or Education.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 15:02:19 2026
    From Newsgroup: comp.os.linux.advocacy

    Stéphane CARPENTIER <[email protected]> writes:
    From what I saw, for a beginner's approach, python is easier than Java
    or C++. Now when one starts to use python in the real life, the
    complexity of python appears. Because that's the python way: things
    works except when they stop to work.

    Like, it's not a typed language but start playing with dictionaries
    without declaring your variables first to see how the claims stand
    before the facts.

    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:

    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    Historically it was not a statically typed language, i.e. type errors
    only arose at runtime.

    Today even that is not really true, in the sense that if you want it to
    be statically typed then you can have that:

    $ cat -n junk/t.py
    1 #!/usr/bin/python3
    2 def f(a: int, b: int) -> int:
    3 return a+b
    4 print(f(0, 0))
    5 print(f(0, ""))
    $ mypy junk/t.py
    junk/t.py:5: error: Argument 2 to "f" has incompatible type "str"; expected "int" [arg-type]
    Found 1 error in 1 file (checked 1 source file)

    Or you want to see what's in some variables, so you print it with print(myvariable)
    When you start to have too many variables, you want to put the name of
    the variable in front of it to increase its visibility, so you print("myvariable: " + myvariable)
    but that doesn't work because myvariable is not a string. So you have to print("myvariable: " + str(myvariable))
    But now you have the description of myvariable (or something like that:
    I discovered it a long time ago, my memory isn't clear about it), not
    its content, so you have to handle it differently (about that, I'm sure).

    It sounds like you just haven’t learned Python.

    And I'm not speaking about the dependencies. Each version breaks
    everything so well that now some distros don't let you install
    libraries with pip if you are not in a virtual environment.

    So, yes to do something simple, python is fast and easy. But if you
    want to power of C++ and Java, you can't use python on a simple way.

    We make extensive use of Python, apart from some performance issues (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 15:06:56 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 15:02, Richard Kettlewell wrote:
    We make extensive use of Python, apart from some performance issues (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    I just am too old to become proficient in another language, I am still battling JavaScript
    --
    "It is an established fact to 97% confidence limits that left wing conspirators see right wing conspiracies everywhere"

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 17:36:13 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 16:02, Richard Kettlewell wrote:
    [..]

    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:

    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    On the other hand:

    ❯ python3
    Python 3.14.7 (main, Aug 8 2026, 20:03:42) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    0+True
    1
    type(True)
    <class 'bool'>
    type(0)
    <class 'int'>


    ;-)
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 17:12:26 2026
    From Newsgroup: comp.os.linux.advocacy

    John Bokma <[email protected]> writes:
    Richard Kettlewell wrote:
    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:
    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    On the other hand:

    ❯ python3
    Python 3.14.7 (main, Aug 8 2026, 20:03:42) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    0+True
    1
    type(True)
    <class 'bool'>
    type(0)
    <class 'int'>


    ;-)

    >>> issubclass(bool, int)
    True

    l-)

    Still, typed doesn’t mean complete immiscibility of types (at least in Python), and a good thing too, since lots of operations take operands of different types. For example if d is an int and G is a Python object representing a point on an elliptic curve, I want to be able to write
    d*G, not mess around with function calls to do point multiplication.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 17:15:34 2026
    From Newsgroup: comp.os.linux.advocacy

    The Natural Philosopher <[email protected]d> writes:
    On 17/10/2026 15:02, Richard Kettlewell wrote:
    We make extensive use of Python, apart from some performance issues
    (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    It is very widely used - most (possibly all?) candidates I’ve
    interviewed in the last ten years have at least some background with it
    (albeit quite often relatively thin experience).

    I just am too old to become proficient in another language, I am still battling JavaScript

    Nod.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 16:46:21 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 17-10-2026, Richard Kettlewell <[email protected]d> a écrit :
    Stéphane CARPENTIER <[email protected]> writes:
    From what I saw, for a beginner's approach, python is easier than Java
    or C++. Now when one starts to use python in the real life, the
    complexity of python appears. Because that's the python way: things
    works except when they stop to work.

    Like, it's not a typed language but start playing with dictionaries
    without declaring your variables first to see how the claims stand
    before the facts.

    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:

    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    In this case python is a strongly typed language and in other cases it's
    not that important.

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    Or you want to see what's in some variables, so you print it with
    print(myvariable)
    When you start to have too many variables, you want to put the name of
    the variable in front of it to increase its visibility, so you
    print("myvariable: " + myvariable)
    but that doesn't work because myvariable is not a string. So you have to
    print("myvariable: " + str(myvariable))
    But now you have the description of myvariable (or something like that:
    I discovered it a long time ago, my memory isn't clear about it), not
    its content, so you have to handle it differently (about that, I'm sure).

    It sounds like you just haven’t learned Python.

    You are right, I haven't learned python. I'm not a programmer. I'm using programs written by others and sometimes, I have to change them. I don't
    have time to learn a programming language when I need to fix a program.
    I have to make it run as expected and move on once I get the expected
    result.

    With python, that looks easy and when I fix something, it breaks
    something else for reasons I don't understand. Because the issue was
    already there but it wasn't important, until it started to be important
    after I changed something else.

    And so, for me it always looks like in python things work in a way until
    they stop working for unobvious reasons.

    With other programming languages I saw, either that works or that
    doesn't, but I never saw something that stops working when it starts to
    be more complex. It looks like it's a python specialty.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:01:11 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 18:46, Stéphane CARPENTIER wrote:

    [..]

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    I guess you confuse assigning a type with creating an object of a
    specific type.

    With python, that looks easy and when I fix something, it breaks
    something else for reasons I don't understand.

    I recommend to install Copilot CLI on your system and ask it to explain
    why your script breaks. It's quite good at explaining is my experience.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:08:09 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 19:01, John Bokma wrote:
    On 17/10/2026 18:46, Stéphane CARPENTIER wrote:

    [..]

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    I guess you confuse assigning a type with creating an object of a
    specific type.

    With python, that looks easy and when I fix something, it breaks
    something else for reasons I don't understand.

    I recommend to install Copilot CLI on your system and ask it to explain
    why your script breaks. It's quite good at explaining is my experience.

    Examples:

    Explain as a professional Python programmer why 1+True yields 2 and is valid Thought for 3s

    In Python,  bool  is a subclass of  int . The two Boolean values behave numerically as  False == 0  and  True == 1 , so adding  True  to  1  is
    equivalent to  1 + 1 :

    1 + True # 2
    type(1 + True) # int

    It’s valid because Python’s numeric operations accept Boolean values as integers. In application code, though, it’s usually clearer to convert
    or count explicitly if you intend to use a Boolean as a number.



    Why do I have to declare dictionaries but can use integers and strings
    without declaring their type
    Thought for 2s

    In Python, you don’t have to declare a dictionary’s type. Python is dynamically typed: a variable name refers to an object, and the object
    carries its type.

    count = 3 # creates an int object
    message = "hello" # creates a str object
    settings = {} # creates a dict object

    Integers and strings have compact literal syntax ( 3 ,  "hello" ); dictionaries use  {}  or key-value pairs, such as  {"theme": "dark"} . That’s creating a dictionary, not declaring its type.

    Type annotations are optional and mainly help readers and
    static-analysis tools:

    settings: dict[str, str] = {}


    Can't recommend Copilot enough.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Leroy H@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 17:26:45 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful
    understand the hardware!!!


    It is good to hear someone actually standing up for
    C and assembly.

    These Linux groups seem to be packed only with Python/C++
    jockeys. The poor dupes don't know what they're missing.

    Assembly is the most fun of any programming language.
    There is none of the uncertainty that slows one down
    when using a higher level language. The instructions
    just flow effortlessly.

    However, I do still have trouble with the shuffle operations
    on the SIMD registers. I need to always check the manuals
    to see what goes where.

    Intel and GCC provide support for so-called "intrinsics" that
    allow assembly code to be directly incorporated into C code,
    but these, for me, are tedious and not much fun to use.

    You are also correct in stating that a thorough knowledge
    of hardware is a requisite for assembly programming. After
    all, one is dealing directly with digital registers with no
    cozy compiler or interpreter in between.



    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.


    GNU has published the definitive version of Hello World:

    <https://www.gnu.org/software/hello/>

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:47:34 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 19:26, Leroy H wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful
    understand the hardware!!!


    It is good to hear someone actually standing up for
    C and assembly.

    These Linux groups seem to be packed only with Python/C++
    jockeys. The poor dupes don't know what they're missing.

    I have programmed several processor families in the past. I am sure I am
    not alone. I have done some work in C, including a graph-to-GIF
    converter :-).

    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But it often supports Unicode ;-)
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 18:33:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-17, Stéphane CARPENTIER <[email protected]> wrote:

    So, yes to do something simple, python is fast and easy. But if you want
    to power of C++ and Java, you can't use python on a simple way.

    'Twas ever thus. A little point-and-shoot camera makes it easy
    to grab quick snapshots under good conditions; an SLR with lots
    of adjustments is more difficult to use, but can give excellent
    results under conditions under which the point-and-shoot fails utterly.

    One size does not fit all.
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 18:33:42 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-17, The Natural Philosopher <[email protected]d> wrote:

    On 17/10/2026 15:02, Richard Kettlewell wrote:

    We make extensive use of Python, apart from some performance issues
    (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    I just am too old to become proficient in another language, I am still battling JavaScript

    I still use C. I started puttering with Python once -
    maybe I should take another look at it.
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 18:45:57 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-17, Leroy H <[email protected]> wrote:

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    GNU has published the definitive version of Hello World:

    <https://www.gnu.org/software/hello/>

    Holy cow. I guess it's time to resurrect this old chestnut:


    Mon Nov 12 20:03:48 1990
    Message : #1011969 From: cs161fhn%[email protected]
    Group : NET.Funny
    Length : 198 words
    Subject : Evolution of a programmer

    Msg-ID: <[email protected]>
    Posted: 13 Nov 90 00:30:05 GMT

    Person: Dennis Lou


    The Evolution of a programmer.

    (Okay, it's late and I'm not thinking straight, but at least it's
    original...)

    High school/Jr. High
    --------------------
    10 PRINT "HELLO WORLD"
    20 END


    First year in college
    ---------------------
    program Hello(input, output);
    begin
    writeln ('Hello world');
    end

    Senior year in college
    ----------------------
    (defun hello
    (print
    (cons 'HELLO (list 'WORLD))))

    New professional
    ----------------
    #include <stdio.h>
    main (argc,argv)
    int argc;
    char **argv; {
    printf ("Hello World!\n");
    }

    Seasoned pro
    ------------
    #include <stream.h>

    const int MAXLEN = 80;

    class outstring;
    class outstring {
    private:

    int size;
    char str[MAXLEN];

    public:
    outstring() { size=0; }
    ~outstring() {size=0;}
    void print();
    void assign(char *chrs);
    };
    void outstring::print() {
    int i;
    for (i=0 ; i< size ; i++)
    cout << str[i];
    cout << "\n";
    }
    void outstring::assign(char *chrs) {
    int i;
    for (i=0; chrs[i] != '\0';i++)
    str[i] = chrs[i];
    size=i;
    }

    main (int argc, char **argv) {
    outstring string;

    string.assign("Hello World!");
    string.print();
    }


    Manager
    ------
    /* George, I need a program to print a string
    "Hello World!" */

    --
    Edited by Brad Templeton. MAIL your jokes (jokes ONLY) to [email protected] Attribute the joke's source if at all possible. A Daemon will auto-reply.

    If you don't need a reply, submit to [email protected] instead.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:29:13 2026
    From Newsgroup: comp.os.linux.advocacy

    Stéphane CARPENTIER <[email protected]> writes:
    Richard Kettlewell <[email protected]d> a écrit :
    Stéphane CARPENTIER <[email protected]> writes:
    Like, it's not a typed language but start playing with dictionaries
    without declaring your variables first to see how the claims stand
    before the facts.

    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:

    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    In this case python is a strongly typed language and in other cases
    it's not that important.

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    No special declaration is needed for dicts, you can just write out the
    dict you want.

    >>> d={'a': 1, 'b': 2}
    >>> type(d)
    <class 'dict'>

    With other programming languages I saw, either that works or that
    doesn't, but I never saw something that stops working when it starts to
    be more complex. It looks like it's a python specialty.

    No, I think the issue here is pretty obviously the attempt to use a tool without learning how it works.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:42:20 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17 Oct 2026 09:43:01 GMT, Stéphane CARPENTIER wrote:

    Le 16-10-2026, Chris Ahlstrom <[email protected]> a écrit :
    Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed):

    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity 'operator overloading...' crap
    bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    C++ overly complicated? Nah.

    It's so awful it made its creator declare: "There are only two kinds of languages: the ones people complain about and the ones nobody uses."

    I had the first edition of Stroustrup's book. It was much closer to C With Classes than what it's grown into. The language wasn't quite ready for
    prime time, hence the STL that grew into the Standard Library and all the Microsoft additions as they tried to make it useful for their purposes.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:51:29 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 15:06:56 +0100, The Natural Philosopher wrote:

    On 17/10/2026 15:02, Richard Kettlewell wrote:
    We make extensive use of Python, apart from some performance issues
    (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    I just am too old to become proficient in another language, I am still battling JavaScript

    Much of my use these days is MicroPython, although I used it last week to convert a gnarly node list output from a LoRa board to GeoJSON. My first impulse was to use C but I'm trying to improve my general Python skills.

    The JavaScript part came later when I used the leaflet.js library to
    create a map to display the GeoJSON. Unfortunately leaflet traditionally
    used tiles from the OSM server. In the last month or so they've started enforcing an obscure header in the request so the tiles you get are
    basically '403 FOAD'
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 19:55:26 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 17:15:34 +0100, Richard Kettlewell wrote:

    The Natural Philosopher <[email protected]d> writes:
    On 17/10/2026 15:02, Richard Kettlewell wrote:
    We make extensive use of Python, apart from some performance issues
    (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    It is very widely used - most (possibly all?) candidates I’ve
    interviewed in the last ten years have at least some background with it (albeit quite often relatively thin experience).

    Much of my use was with Esri after they went to Python from VBA. The
    downside was Esri clung to 2.7 until their 11.0 release. Installing
    ArcDesktop also installed Python 2.7 with their modules.

    https://www.esri.com/en-us/arcgis/products/arcgis-python-libraries/ libraries/arcpy

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:05:32 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 17:12:26 +0100, Richard Kettlewell wrote:

    Still, typed doesn’t mean complete immiscibility of types (at least in Python), and a good thing too, since lots of operations take operands of different types. For example if d is an int and G is a Python object representing a point on an elliptic curve, I want to be able to write
    d*G,
    not mess around with function calls to do point multiplication.

    I've been trying to get up to speed with type hints. Like 'private'
    functions in Python they seem to depend on a gentleman's agreement not to
    do bad things. Like TypeScript it helps but still has loopholes.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:14:31 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    OK I never got much into Python Never needed it for the things I do.
    Also it seems to be changing all the time?

    Except for the transition from 2 to 3 Python has been quite good at maintaining backward compatibility. It changes as PEPs are implemented but seldom do the changes break things.

    But I come from a hardware background, in the sixties there were no 'computers'

    I was under the impression the System 360/30 that ate my FORTRAN IV cards
    was a computer of sorts.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:18:23 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:


    Not much memory compared to today's ...
    I still have a slide rule somewhere... And old calculators..

    https://en.wikipedia.org/wiki/IBM_System/360_Model_30

    I believe RPI's had 32k of core. For FFTs etc you wrote partial products
    to tape, rewind, and take another pass. Rinse and repeat. rewind() is
    still in the C standard library but it was very literal back then.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:18:33 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:

    https://en.wikipedia.org/wiki/Apollo_Guidance_Computer

    Not much memory compared to today's ...

    Well, they weren’t running a complex GUI ;). You entered “Noun” and “Verb” numbers to select which program to run. E.g. the program for
    the lunar landing was “P64”. During the Apollo 11 landing, it crashed, twice.

    I still have a slide rule somewhere...

    I remember reading that the world’s largest slide-rule maker at the
    time, Keufel & Esser, went bust in 1971. Electronic digital
    calculators had arrived ... not long after the last Moon landing.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:26:33 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

    <https://www.gnu.org/software/hello/>

    Holy cow.

    On a similar note, the original Unix “true” command was ... an empty
    shell script. Nevertheless, AT&T tried to claim copyright on it <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

    Worth comparing the GNU coreutils version of “true” <http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
    ... 80 lines long. The same code is also used to generate the “false” command. The full source is posted in that article, to make fun of
    supposed “software bloat” or something. The writer completely fails to realize a point made in the previous link: that the GNU version uses
    less memory and runs faster.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 22:35:02 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 22:05, rbowman wrote:
    On Sat, 17 Oct 2026 17:12:26 +0100, Richard Kettlewell wrote:

    Still, typed doesn’t mean complete immiscibility of types (at least in
    Python), and a good thing too, since lots of operations take operands of
    different types. For example if d is an int and G is a Python object
    representing a point on an elliptic curve, I want to be able to write
    d*G,
    not mess around with function calls to do point multiplication.

    I've been trying to get up to speed with type hints. Like 'private'
    functions in Python they seem to depend on a gentleman's agreement not to
    do bad things. Like TypeScript it helps but still has loopholes.

    They are hints, so yes and no: if you run the code first through mypy or pyrefly (which I prefer) and it doesn't pass just don't run it. That's
    not really a loophole.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 20:37:50 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 06:32:28 -0400, Chris Ahlstrom wrote:

    (I would also shoot a BB straight up to see how close to me I could get
    it to land. A couple of times me and a friend had BB duels.)

    Jihadis like to do that but they're using 7.62x39.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 22:50:17 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-17, Lawrence D’Oliveiro <[email protected]d> wrote:

    On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

    <https://www.gnu.org/software/hello/>

    Holy cow.

    On a similar note, the original Unix “true” command was ... an empty shell script. Nevertheless, AT&T tried to claim copyright on it <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

    Worth comparing the GNU coreutils version of “true”
    <http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
    ... 80 lines long. The same code is also used to generate the “false” command. The full source is posted in that article, to make fun of
    supposed “software bloat” or something. The writer completely fails to realize a point made in the previous link: that the GNU version uses
    less memory and runs faster.

    https://en.wikipedia.ort/wiki/IEFBR14

    It describes a do-nothing program that needed maintenance anyway.
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Charlie Gibbs@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sat Oct 17 22:51:59 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-17, Charlie Gibbs <[email protected]d> wrote:

    On 2026-10-17, Lawrence D’Oliveiro <[email protected]d> wrote:

    On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

    <https://www.gnu.org/software/hello/>

    Holy cow.

    On a similar note, the original Unix “true” command was ... an empty
    shell script. Nevertheless, AT&T tried to claim copyright on it
    <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

    Worth comparing the GNU coreutils version of “true” >><http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
    ... 80 lines long. The same code is also used to generate the “false”
    command. The full source is posted in that article, to make fun of
    supposed “software bloat” or something. The writer completely fails to >> realize a point made in the previous link: that the GNU version uses
    less memory and runs faster.

    https://en.wikipedia.ort/wiki/IEFBR14

    It describes a do-nothing program that needed maintenance anyway.

    Oops!

    s/ort/org/
    --
    /~\ Charlie Gibbs | In this world there are
    \ / <[email protected]d> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 02:42:19 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/17/26 03:20, Jan Panteltje wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++. Such a
    feature is useful, for example, in letting you express operations on
    mathematical objects (like vectors and matrices) using something close
    to the original mathematical notation.

    OK
    I never got much into Python

    DO check it out. It can now do basically EVERYTHING
    and is faster than it used to be. P4 is promised to
    be even faster and more efficient without changing
    the syntax.

    I did not use Python2 because I heard that P3 was coming ...
    why learn an obsolete dialect ? Took 'em a little while
    to port everything over to the new version, but it got
    done and then went over and above.

    CAN be 'compiled' in a few ways. A couple options
    translate to 'C' and then compile that. IS much
    faster, though not quite as fast as writing a
    native 'C' pgm. However the EASE of writing and
    great string-slice functions (stolen from FORTRAN)
    make Python really nice. Oh, 95% of the time you
    don't NEED top speed for applications. That's old
    thinking - EASE/comprehensibility can be far
    more important.

    Oh, the DOCUMENTATION/How-To stuff for Python
    is everywhere and detailed. A zillion solutions
    for YOUR particular problem.

    Since forever I wrote in 'C' or Pascal. I even
    did stuff in "B". However I rarely use 'C'
    anymore. Might still rec writing 'servers' in 'C' ...
    esp if high-volume ... but that sentiment is
    half 'tradition'.

    Anyway, learn before 'AI' tries to steal it
    all away. CHAT can find/write low/medium
    complexity Python code ... but sometimes
    it seems more complex/verbose/obscure than
    a human would write it. Mostly it just
    steals human-writ examples it finds.

    DID ask CHAT to write me a basic b-tree
    database pgm in FORTRAN the other day.
    Kinda/sorta did so ... but didn't include
    any load/save code (though DID warn about
    that prob). Next - same thing, but in
    Modula2 - we'll see what its limits are :-)

    Pref M3 ... but almost no Linux/anything
    compilers for that - esp that actually
    install correctly. Some ancient DOS stuff.
    Do have a paper manual for "Turbo Modula-2"
    but it's all 8/16 bit and won't run on a lot
    of chips these days. Would have to use
    DOSBox or something - inefficient.

    Never needed it for the things I do.
    Also it seems to be changing all the time?

    Ummm ... not really. The only "big" - ok
    not SO big - change was P2 to P3. Most
    P2 programs can be tweaked for P3 pretty
    quick. Think there's even a converter app.

    Now if by "changing" you mean new functions,
    yep, people keep writing them for obvious
    reasons. The good bit is it means there are
    several paths to whatever you're trying to
    do - pick the best for your need.

    I did a bunch of video security cam apps.
    Sometimes "OpenCV2" will do it all, sometimes
    "Pillow" lib is just fine. Can even combine
    in some cases.

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful

    Well aware. When CP/M and even DOS were around
    had to write ASM bits, or full apps, because
    there just wasn't anything better. PICs and
    similar microcontrollers - ASM is still the
    best way to the finer chip tricks.

    understand the hardware!!!

    The weaker the hardware the more you have to
    understand it. Most modern big chips, so much
    overkill that you really don't need to know
    every little nuance. Sorry, 1% better performance
    isn't worth learning 99% more tiny-tweak shit
    that'll probably be obsolete in the very next
    point-revision of the CPU.

    https://panteltje.nl/panteltje/newsflex/download.html https://panteltje.nl/panteltje/quadcopter/index.html https://panteltje.nl/panteltje/pic/index.html
    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But I come from a hardware background, in the sixties there were no 'computers'
    yet they did a manned Moon landing and return.

    Some of that shit was just bizarre !

    Loved hand-knitted "rope memory", what
    the LEM computer used :-)

    Now they have nothing to show but driving around the block (earth orbit) with all that computing power.

    All the computing power in the Apollo ... yer
    base iWatch has a good 1000x that, maybe 10000x.
    BUT, they had to make do with what they had ...
    and most of that was govt-specced in '64. At
    least Apollo wasn't all vacuum tubes :-)

    Now space probes - I really admire the people
    who design the hardware/software. Insane levels
    of redundancy/work-arounds, almost a black art.
    It's why the Voyagers are still working out
    beyond the edge of our solar system all this
    time later. Kinda hoping aliens will find one
    and upgrade/repair :-)

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 07:13:32 2026
    From Newsgroup: comp.os.linux.advocacy

    Leroy H <[email protected]>wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful
    understand the hardware!!!


    It is good to hear someone actually standing up for
    C and assembly.

    These Linux groups seem to be packed only with Python/C++
    jockeys. The poor dupes don't know what they're missing.

    Assembly is the most fun of any programming language.
    There is none of the uncertainty that slows one down
    when using a higher level language. The instructions
    just flow effortlessly.

    However, I do still have trouble with the shuffle operations
    on the SIMD registers. I need to always check the manuals
    to see what goes where.

    Intel and GCC provide support for so-called "intrinsics" that
    allow assembly code to be directly incorporated into C code,
    but these, for me, are tedious and not much fun to use.

    You are also correct in stating that a thorough knowledge
    of hardware is a requisite for assembly programming. After
    all, one is dealing directly with digital registers with no
    cozy compiler or interpreter in between.



    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.


    GNU has published the definitive version of Hello World:

    <https://www.gnu.org/software/hello/>

    OK, just for fun, I downloaded
    hello-2.12.tar.gz 2022-01-31 13:58 1.0M

    Imakefile etc etc

    xmkmf
    make

    mkdir hello
    mv hello-2.12.tar.gz hello/
    cd hello
    tar -zxvf hello-2.12.tar.gz
    l
    cd */
    l
    ./configure
    l
    make
    l
    ./hello
    cd src
    l
    joe hello.c
    l
    cd ..
    l
    ./hello

    'l' in zsh that I use as shell stands for 'ls -rtl'
    saves typing and always show recent


    raspberrypi: ~/hello/hello-2.12 # l
    total 1940
    -rw-r--r-- 1 root root 15756 Aug 12 2017 INSTALL
    -rw-r--r-- 1 root root 93787 Aug 12 2017 ABOUT-NLS
    -rw-r--r-- 1 root root 208 Feb 8 2018 TODO
    -rw-r--r-- 1 root root 35149 Feb 8 2018 COPYING
    -rw-r--r-- 1 root root 891 Mar 7 2020 THANKS
    -rw-r--r-- 1 root root 1509 Mar 7 2020 README-dev
    -rw-r--r-- 1 root root 3499 Mar 7 2020 README
    -rw-r--r-- 1 root root 30559 Mar 7 2020 ChangeLog.O
    -rw-r--r-- 1 root root 580 Mar 7 2020 AUTHORS
    -rw-r--r-- 1 root root 2342 Mar 7 2021 configure.ac
    -rw-r--r-- 1 root root 4577 Mar 7 2021 GNUmakefile
    -rw-r--r-- 1 root root 66373 Mar 7 2021 maint.mk
    -rw-r--r-- 1 root root 3646 Jan 31 2022 Makefile.am
    -rw-r--r-- 1 root root 45039 Jan 31 2022 aclocal.m4
    -rw-r--r-- 1 root root 39766 Jan 31 2022 config.in
    -rw-r--r-- 1 root root 204406 Jan 31 2022 Makefile.in
    -rw-r--r-- 1 root root 4607 Jan 31 2022 NEWS
    -rwxr-xr-- 1 root root 663695 Jan 31 2022 configure*
    -rw-r--r-- 1 root root 1550 Jan 31 2022 hello.1
    drwxr-xr-x 2 root root 4096 Jan 31 2022 tests/
    drwxr-xr-x 2 root root 4096 Jan 31 2022 man/
    drwxr-xr-x 2 root root 4096 Jan 31 2022 m4/
    drwxr-xr-x 2 root root 4096 Jan 31 2022 contrib/
    drwxr-xr-x 2 root root 4096 Jan 31 2022 doc/
    -rw-r--r-- 1 root root 21682 Jan 31 2022 ChangeLog
    drwxr-xr-x 2 root root 4096 Jan 31 2022 build-aux/
    -rwxr-xr-x 1 root root 68284 Oct 18 09:02 config.status*
    -rw-r--r-- 1 root root 183752 Oct 18 09:02 Makefile
    -rw-r--r-- 1 root root 40885 Oct 18 09:02 config.h
    -rw-r--r-- 1 root root 23 Oct 18 09:02 stamp-h1
    drwxr-xr-x 2 root root 4096 Oct 18 09:02 po/
    -rw-r--r-- 1 root root 179003 Oct 18 09:02 config.log
    drwxr-xr-x 3 root root 4096 Oct 18 09:02 src/
    drwxr-xr-x 6 root root 12288 Oct 18 09:03 lib/
    -rwxr-xr-x 1 root root 177276 Oct 18 09:03 hello*

    raspberrypi: ~/hello/hello-2.12 # ./hello
    Hello, world!

    Oh well...

    LOL

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 07:25:00 2026
    From Newsgroup: comp.os.linux.advocacy

    John Bokma <[email protected]>wrote:
    On 17/10/2026 19:26, Leroy H wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful
    understand the hardware!!!


    It is good to hear someone actually standing up for
    C and assembly.

    These Linux groups seem to be packed only with Python/C++
    jockeys. The poor dupes don't know what they're missing.

    I have programmed several processor families in the past. I am sure I am
    not alone. I have done some work in C, including a graph-to-GIF
    converter :-).

    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But it often supports Unicode ;-)

    Some of C code I released into public domain:
    https://panteltje.nl/panteltje/newsflex/download.html

    Am posting this with NewsFleX from a Raspberry Pi4 8 GB
    The Raspberry version is not on my website yet,
    still testing (now for some years).
    Seems to work OK though.

    Some Microchip asm code and projects:
    https://panteltje.nl/panteltje/pic/index.html

    I started with Linux with SLS Linux around 1992
    https://en.wikipedia.org/wiki/Softlanding_Linux_System

    There was no 'Free Agent' newsreader back then for Linux so I wrote my own.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 07:43:51 2026
    From Newsgroup: comp.os.linux.advocacy

    Charlie Gibbs <[email protected]d>wrote:
    On 2026-10-17, Leroy H <[email protected]> wrote:

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    GNU has published the definitive version of Hello World:

    <https://www.gnu.org/software/hello/>

    Holy cow. I guess it's time to resurrect this old chestnut:


    Mon Nov 12 20:03:48 1990
    Message : #1011969 From: cs161fhn%[email protected]
    Group : NET.Funny
    Length : 198 words
    Subject : Evolution of a programmer

    Msg-ID: <[email protected]>
    Posted: 13 Nov 90 00:30:05 GMT

    Person: Dennis Lou


    The Evolution of a programmer.

    (Okay, it's late and I'm not thinking straight, but at least it's >original...)

    High school/Jr. High
    --------------------
    10 PRINT "HELLO WORLD"
    20 END


    First year in college
    ---------------------
    program Hello(input, output);
    begin
    writeln ('Hello world');
    end

    Senior year in college
    ----------------------
    (defun hello
    (print
    (cons 'HELLO (list 'WORLD))))

    New professional
    ----------------
    #include <stdio.h>
    main (argc,argv)
    int argc;
    char **argv; {
    printf ("Hello World!\n");


    I will go with that one,
    but simplify it a bit

    file q1.c
    #include <stdio.h>
    int main()
    {
    printf("Hello\n");
    }

    raspberrypi: ~ # gcc -o q1 q1.c
    raspberrypi: ~ # l q1
    -rwxr-xr-x 1 root root 8068 Oct 18 09:33 q1*
    raspberrypi: ~ # ./q1
    Hello

    So an about 8 kilobytes size executable ....

    Better use bash
    echo "Hello"
    raspberrypi: ~ # echo "Hello"
    Hello

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 08:01:05 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman <[email protected]>wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    OK I never got much into Python Never needed it for the things I do.
    Also it seems to be changing all the time?

    Except for the transition from 2 to 3 Python has been quite good at >maintaining backward compatibility. It changes as PEPs are implemented but >seldom do the changes break things.

    But I come from a hardware background, in the sixties there were no
    'computers'

    I was under the impression the System 360/30 that ate my FORTRAN IV cards >was a computer of sorts.



    Yea I dunno, my first computer was a Sinclair ZX80
    At work we had a PDP10?
    Worked a while at a large accelerator back then, made me buy a book on Unix.
    A bit later I had my own TV repair shop in Amsterdam
    and that is when I bought that Z80.
    Added some printer driver in Z80 asm to print receipts and stuff on a thermal printer.

    But then ..expanded that ZX80 with more memory, several I/O cards
    even added an IBM PC keyboard and ran the C80 C compiler on it
    I wanted to run software from the CPM user group but no CPM for that ZX80.
    So wrote my own CP/M clone and it worked:
    https://panteltje.nl/panteltje/z80/index.html
    Here what I added to that Sinclair Z80:
    https://panteltje.nl/panteltje/z80/system14/diagrams/index.html

    By that time I was working in a company designing a.o. PCI cards for in IBM PCs My computer used a ramdisk and was faster than the IBM PC,
    no harddisc seek times.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 09:12:17 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman <[email protected]> writes:
    Richard Kettlewell wrote:
    Still, typed doesn’t mean complete immiscibility of types (at least
    in Python), and a good thing too, since lots of operations take
    operands of different types. For example if d is an int and G is a
    Python object representing a point on an elliptic curve, I want to be
    able to write d*G, not mess around with function calls to do point
    multiplication.

    I've been trying to get up to speed with type hints. Like 'private'
    functions in Python they seem to depend on a gentleman's agreement not
    to do bad things. Like TypeScript it helps but still has loopholes.

    How strictly it’s enforced is a higher-level question. If you deploy and
    run Python code indiscriminately then it’s not enforced at all. If you
    insist on a `mypy --strict` pass somewhere in your build chain then it’s pretty solidly enforced.

    Much the same is true for code quality filters in other languages. In
    any language you might insist on some or all of unit test passes, a code coverage threshold, static analysis, AI review, human review etc before deployment. In some languages (e.g. C and C++) you choose which set of
    compiler warnings to enable and which of them should be errors. It’s all “gentleman’s agreement” if you want to characterize it that way, with relatively few exceptions none of this stuff is unavoidably enforced by
    the language implementation.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 08:16:31 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman <[email protected]>wrote:
    On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:


    Not much memory compared to today's ...
    I still have a slide rule somewhere... And old calculators..

    https://en.wikipedia.org/wiki/IBM_System/360_Model_30

    I believe RPI's had 32k of core. For FFTs etc you wrote partial products
    to tape, rewind, and take another pass. Rinse and repeat. rewind() is
    still in the C standard library but it was very literal back then.

    In those days I was working in broadcasting, no computers there, tubes, lots and lots of logic and transistors,
    https://archive.org/details/ampex-vr-1100-videotape-television-recorder
    then we got the VR2000
    and later the AVR1
    https://en.wikipedia.org/wiki/Quadruplex_videotape

    When the Moon landings happened I was in the head control room here relaying it to the people.
    Lots of tubes those days in that studio, had to keep it running.

    At home I had my own video recorder:
    https://www.radiomuseum.org/r/philips_ldl100001ldl_10000.html
    Later modified it for color...

    Video has become a sort of second nature to me.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 04:47:54 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/17/26 16:18, Lawrence D’Oliveiro wrote:
    On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:

    https://en.wikipedia.org/wiki/Apollo_Guidance_Computer

    Not much memory compared to today's ...

    Well, they weren’t running a complex GUI ;). You entered “Noun” and “Verb” numbers to select which program to run. E.g. the program for
    the lunar landing was “P64”. During the Apollo 11 landing, it crashed, twice.

    It was a totally CRAP computer ... "rope memory" ...
    probably less power than a PIC16f84.

    AMAZING they got down safe - credit Cool Neil.

    I still have a slide rule somewhere...

    I have a few as well. NOT bad tools, even now, and
    don't need batteries. Civ implodes, slide-rules
    will be THE most coveted devices.

    I remember reading that the world’s largest slide-rule maker at the
    time, Keufel & Esser, went bust in 1971. Electronic digital
    calculators had arrived ... not long after the last Moon landing.

    I bought some of the earliest 'calculators'. NOT
    cheap back in the day. Still have ONE that works.
    9V battery and it Goes. Early 70s. Pre-LED.

    BEFORE, Dad had a "Marchant" MECHANICAL calculator.
    Enter numbers on a big matrix keyboard. Press a
    function key. Calc might be quick, or take an hour.
    Ka-CHUNK Ka-CHUNK Ka-CHUNK .... mech-digital display.
    Super cool ! INSANE gearworks !

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 08:53:53 2026
    From Newsgroup: comp.os.linux.advocacy

    c186282 <[email protected]>wrote:
    On 10/17/26 03:20, Jan Panteltje wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still
    only a small fraction of the complexity of either Java or C++. Such a
    feature is useful, for example, in letting you express operations on
    mathematical objects (like vectors and matrices) using something close
    to the original mathematical notation.

    OK
    I never got much into Python

    DO check it out. It can now do basically EVERYTHING
    and is faster than it used to be. P4 is promised to
    be even faster and more efficient without changing
    the syntax.

    I did not use Python2 because I heard that P3 was coming ...
    why learn an obsolete dialect ? Took 'em a little while
    to port everything over to the new version, but it got
    done and then went over and above.

    CAN be 'compiled' in a few ways. A couple options
    translate to 'C' and then compile that. IS much
    faster, though not quite as fast as writing a
    native 'C' pgm. However the EASE of writing and
    great string-slice functions (stolen from FORTRAN)
    make Python really nice. Oh, 95% of the time you
    don't NEED top speed for applications. That's old
    thinking - EASE/comprehensibility can be far
    more important.

    Oh, the DOCUMENTATION/How-To stuff for Python
    is everywhere and detailed. A zillion solutions
    for YOUR particular problem.

    Since forever I wrote in 'C' or Pascal. I even
    did stuff in "B". However I rarely use 'C'
    anymore. Might still rec writing 'servers' in 'C' ...
    esp if high-volume ... but that sentiment is
    half 'tradition'.

    Anyway, learn before 'AI' tries to steal it
    all away. CHAT can find/write low/medium
    complexity Python code ... but sometimes
    it seems more complex/verbose/obscure than
    a human would write it. Mostly it just
    steals human-writ examples it finds.

    DID ask CHAT to write me a basic b-tree
    database pgm in FORTRAN the other day.
    Kinda/sorta did so ... but didn't include
    any load/save code (though DID warn about
    that prob). Next - same thing, but in
    Modula2 - we'll see what its limits are :-)

    Pref M3 ... but almost no Linux/anything
    compilers for that - esp that actually
    install correctly. Some ancient DOS stuff.
    Do have a paper manual for "Turbo Modula-2"
    but it's all 8/16 bit and won't run on a lot
    of chips these days. Would have to use
    DOSBox or something - inefficient.

    Never needed it for the things I do.
    Also it seems to be changing all the time?

    Ummm ... not really. The only "big" - ok
    not SO big - change was P2 to P3. Most
    P2 programs can be tweaked for P3 pretty
    quick. Think there's even a converter app.

    Now if by "changing" you mean new functions,
    yep, people keep writing them for obvious
    reasons. The good bit is it means there are
    several paths to whatever you're trying to
    do - pick the best for your need.

    I did a bunch of video security cam apps.
    Sometimes "OpenCV2" will do it all, sometimes
    "Pillow" lib is just fine. Can even combine
    in some cases.

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful

    Well aware. When CP/M and even DOS were around
    had to write ASM bits, or full apps, because
    there just wasn't anything better. PICs and
    similar microcontrollers - ASM is still the
    best way to the finer chip tricks.

    understand the hardware!!!

    The weaker the hardware the more you have to
    understand it. Most modern big chips, so much
    overkill that you really don't need to know
    every little nuance. Sorry, 1% better performance
    isn't worth learning 99% more tiny-tweak shit
    that'll probably be obsolete in the very next
    point-revision of the CPU.

    https://panteltje.nl/panteltje/newsflex/download.html
    https://panteltje.nl/panteltje/quadcopter/index.html
    https://panteltje.nl/panteltje/pic/index.html
    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But I come from a hardware background, in the sixties there were no 'computers'
    yet they did a manned Moon landing and return.

    Some of that shit was just bizarre !

    Loved hand-knitted "rope memory", what
    the LEM computer used :-)

    Now they have nothing to show but driving around the block (earth orbit) with
    all that computing power.

    All the computing power in the Apollo ... yer
    base iWatch has a good 1000x that, maybe 10000x.
    BUT, they had to make do with what they had ...
    and most of that was govt-specced in '64. At
    least Apollo wasn't all vacuum tubes :-)

    Now space probes - I really admire the people
    who design the hardware/software. Insane levels
    of redundancy/work-arounds, almost a black art.
    It's why the Voyagers are still working out
    beyond the edge of our solar system all this
    time later. Kinda hoping aliens will find one
    and upgrade/repair :-)

    Yes and the new telescopes
    https://www.sciencedaily.com/releases/2026/10/261016070630.htm
    NASA’s Roman Space Telescope exceeds expectations by nearly 30%

    I think, our current understanding of 'the Universe' and 'big bang' is at some point completely wrong,
    as is our 'understanding' of fusion (why ITER and other experiments like it will never work).
    I look at normal radioactivity as you having a lot of springs each compressed and hold together by a little metal clamp.
    Every now and then a clamp breaks an the spring jumps, 'radioactivity' 'radiation'.
    Put enough springs like that together and if one goes and hits a few other ones like it then you get a chain reaction, all clamps break, all springs jump.

    But 'fusion' they try, is nothing but pushing the springs together without even using clamps..
    Costs all of energy to keep those together and no more energy will ever come out than you put in.
    The springs with clamps are just parts of the expanding universe that had not expanded yet.

    Dark matter, so much bullshit, so many einStone parrots,
    so many mamaticians doing a divide by zero and then use 'renormalisation'
    all parrots, too much senseless math, NO understanding.
    It is a bit like Ohm's law, but then the radio tube was invented, a current in a vacuum ! Ohms law broken?
    Electrons moving turned out to be what electric current was!
    You need a _mechanism_ to understand the universe, else the babble about infinities will go on and no end and the understanding will remain zero.
    CERN did recently find signs that space is filled with some fluid...
    From:
    https://www.sciencedaily.com/releases/2026/10/261004002556.htm

    Physicists just saw quarks make waves in the Big Bang’s primordial soup Scientists have watched speeding quarks create ripples in primordial matter, revealing just how liquid-like the early universe really was.
    Date:
    October 6, 2026
    Source:
    Massachusetts Institute of Technology
    Summary:
    Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
    yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
    universe, behaves like a true liquid.
    By tracking individual quarks as they blasted through the plasma, researchers
    saw them leave behind ripples, splashes, and swirling wakes much like a duck
    moving through water.
    The finding suggests this primordial “soup” is so dense that it can slow
    speeding quarks and respond collectively as a fluid.



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 04:58:17 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/17/26 16:26, Lawrence D’Oliveiro wrote:
    On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

    <https://www.gnu.org/software/hello/>

    Holy cow.

    On a similar note, the original Unix “true” command was ... an empty shell script. Nevertheless, AT&T tried to claim copyright on it <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

    An attempted patent on NOTHING ... :-)

    Worth comparing the GNU coreutils version of “true” <http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
    ... 80 lines long. The same code is also used to generate the “false” command. The full source is posted in that article, to make fun of
    supposed “software bloat” or something. The writer completely fails to realize a point made in the previous link: that the GNU version uses
    less memory and runs faster.

    Um ... why'd it take 80 lines ?

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 05:06:36 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/18/26 04:53, Jan Panteltje wrote:
    c186282 <[email protected]>wrote:
    On 10/17/26 03:20, Jan Panteltje wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still >>>> only a small fraction of the complexity of either Java or C++. Such a
    feature is useful, for example, in letting you express operations on
    mathematical objects (like vectors and matrices) using something close >>>> to the original mathematical notation.

    OK
    I never got much into Python

    DO check it out. It can now do basically EVERYTHING
    and is faster than it used to be. P4 is promised to
    be even faster and more efficient without changing
    the syntax.

    I did not use Python2 because I heard that P3 was coming ...
    why learn an obsolete dialect ? Took 'em a little while
    to port everything over to the new version, but it got
    done and then went over and above.

    CAN be 'compiled' in a few ways. A couple options
    translate to 'C' and then compile that. IS much
    faster, though not quite as fast as writing a
    native 'C' pgm. However the EASE of writing and
    great string-slice functions (stolen from FORTRAN)
    make Python really nice. Oh, 95% of the time you
    don't NEED top speed for applications. That's old
    thinking - EASE/comprehensibility can be far
    more important.

    Oh, the DOCUMENTATION/How-To stuff for Python
    is everywhere and detailed. A zillion solutions
    for YOUR particular problem.

    Since forever I wrote in 'C' or Pascal. I even
    did stuff in "B". However I rarely use 'C'
    anymore. Might still rec writing 'servers' in 'C' ...
    esp if high-volume ... but that sentiment is
    half 'tradition'.

    Anyway, learn before 'AI' tries to steal it
    all away. CHAT can find/write low/medium
    complexity Python code ... but sometimes
    it seems more complex/verbose/obscure than
    a human would write it. Mostly it just
    steals human-writ examples it finds.

    DID ask CHAT to write me a basic b-tree
    database pgm in FORTRAN the other day.
    Kinda/sorta did so ... but didn't include
    any load/save code (though DID warn about
    that prob). Next - same thing, but in
    Modula2 - we'll see what its limits are :-)

    Pref M3 ... but almost no Linux/anything
    compilers for that - esp that actually
    install correctly. Some ancient DOS stuff.
    Do have a paper manual for "Turbo Modula-2"
    but it's all 8/16 bit and won't run on a lot
    of chips these days. Would have to use
    DOSBox or something - inefficient.

    Never needed it for the things I do.
    Also it seems to be changing all the time?

    Ummm ... not really. The only "big" - ok
    not SO big - change was P2 to P3. Most
    P2 programs can be tweaked for P3 pretty
    quick. Think there's even a converter app.

    Now if by "changing" you mean new functions,
    yep, people keep writing them for obvious
    reasons. The good bit is it means there are
    several paths to whatever you're trying to
    do - pick the best for your need.

    I did a bunch of video security cam apps.
    Sometimes "OpenCV2" will do it all, sometimes
    "Pillow" lib is just fine. Can even combine
    in some cases.

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful

    Well aware. When CP/M and even DOS were around
    had to write ASM bits, or full apps, because
    there just wasn't anything better. PICs and
    similar microcontrollers - ASM is still the
    best way to the finer chip tricks.

    understand the hardware!!!

    The weaker the hardware the more you have to
    understand it. Most modern big chips, so much
    overkill that you really don't need to know
    every little nuance. Sorry, 1% better performance
    isn't worth learning 99% more tiny-tweak shit
    that'll probably be obsolete in the very next
    point-revision of the CPU.

    https://panteltje.nl/panteltje/newsflex/download.html
    https://panteltje.nl/panteltje/quadcopter/index.html
    https://panteltje.nl/panteltje/pic/index.html
    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But I come from a hardware background, in the sixties there were no 'computers'
    yet they did a manned Moon landing and return.

    Some of that shit was just bizarre !

    Loved hand-knitted "rope memory", what
    the LEM computer used :-)

    Now they have nothing to show but driving around the block (earth orbit) with
    all that computing power.

    All the computing power in the Apollo ... yer
    base iWatch has a good 1000x that, maybe 10000x.
    BUT, they had to make do with what they had ...
    and most of that was govt-specced in '64. At
    least Apollo wasn't all vacuum tubes :-)

    Now space probes - I really admire the people
    who design the hardware/software. Insane levels
    of redundancy/work-arounds, almost a black art.
    It's why the Voyagers are still working out
    beyond the edge of our solar system all this
    time later. Kinda hoping aliens will find one
    and upgrade/repair :-)

    Yes and the new telescopes
    https://www.sciencedaily.com/releases/2026/10/261016070630.htm
    NASA’s Roman Space Telescope exceeds expectations by nearly 30%

    I think, our current understanding of 'the Universe' and 'big bang' is at some
    point completely wrong,

    Likely.

    as is our 'understanding' of fusion (why ITER and other experiments like it will never work).

    Current approaches ... won't work worth damn.
    Gotta find some 'quantum tricks'. SOME way
    to, even for a sub-nanosecond, to screw with
    the physics.

    I look at normal radioactivity as you having a lot of springs each compressed and hold together by a little metal clamp.
    Every now and then a clamp breaks an the spring jumps, 'radioactivity' 'radiation'.
    Put enough springs like that together and if one goes and hits a few other ones
    like it then you get a chain reaction, all clamps break, all springs jump.

    But 'fusion' they try, is nothing but pushing the springs together without even
    using clamps..
    Costs all of energy to keep those together and no more energy will ever come out than you put in.
    The springs with clamps are just parts of the expanding universe that had not expanded yet.

    Dark matter, so much bullshit, so many einStone parrots,
    so many mamaticians doing a divide by zero and then use 'renormalisation'
    all parrots, too much senseless math, NO understanding.
    It is a bit like Ohm's law, but then the radio tube was invented, a current in
    a vacuum ! Ohms law broken?
    Electrons moving turned out to be what electric current was!
    You need a _mechanism_ to understand the universe, else the babble about infinities will go on and no end and the understanding will remain zero.
    CERN did recently find signs that space is filled with some fluid...
    From:
    https://www.sciencedaily.com/releases/2026/10/261004002556.htm

    Physicists just saw quarks make waves in the Big Bang’s primordial soup Scientists have watched speeding quarks create ripples in primordial matter, revealing just how liquid-like the early universe really was.
    Date:
    October 6, 2026
    Source:
    Massachusetts Institute of Technology
    Summary:
    Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
    yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
    universe, behaves like a true liquid.
    By tracking individual quarks as they blasted through the plasma, researchers
    saw them leave behind ripples, splashes, and swirling wakes much like a duck
    moving through water.
    The finding suggests this primordial “soup” is so dense that it can slow
    speeding quarks and respond collectively as a fluid.

    Still think "dark matter" is an hallucination.

    "Invisible Stuff" ??? Luminiferous Aether ???

    Something ELSE going on.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 09:22:36 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 17-10-2026, John Bokma <[email protected]> a écrit :
    On 17/10/2026 18:46, Stéphane CARPENTIER wrote:

    [..]

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    I guess you confuse assigning a type with creating an object of a
    specific type.

    Probably. Sometimes some methods didn't work if I didn't assign an empty dictionary first. So, I assumed, maybe wrongly, that assigning an empty
    value was declaring it, maybe there are some subtleties.

    With python, that looks easy and when I fix something, it breaks
    something else for reasons I don't understand.

    I recommend to install Copilot CLI on your system and ask it to explain
    why your script breaks. It's quite good at explaining is my experience.

    Well, at work I don't install what I want on my computer.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIER@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 09:33:56 2026
    From Newsgroup: comp.os.linux.advocacy

    Le 17-10-2026, Richard Kettlewell <[email protected]d> a écrit :
    Stéphane CARPENTIER <[email protected]> writes:
    Richard Kettlewell <[email protected]d> a écrit :
    Stéphane CARPENTIER <[email protected]> writes:
    Like, it's not a typed language but start playing with dictionaries
    without declaring your variables first to see how the claims stand
    before the facts.

    Python is absolutely a typed language. Every object has a type and it
    won’t let you use objects in a manner incompatible with their type:

    >>> 0+""
    Traceback (most recent call last):
    File "<python-input-0>", line 1, in <module>
    0+""
    ~^~~
    TypeError: unsupported operand type(s) for +: 'int' and 'str'

    In this case python is a strongly typed language and in other cases
    it's not that important.

    With some typed languages, you can't use a variable if you didn't
    declare it's type before. With python, you don't need to declare
    integers and strings but you need to declare dictionaries. Why? Don't
    know.

    No special declaration is needed for dicts, you can just write out the
    dict you want.

    >>> d={'a': 1, 'b': 2}
    >>> type(d)
    <class 'dict'>

    As John said, I'm probably confusing declaring, creating and assigning a
    value to a variable. Because when I assigned an empty dictionary to a
    variable, all three of them are done at the same time.

    The issue wasn't about assigning a new dictionary to a variable, but
    adding some values in it. Some methods didn't worked for adding values
    if I didn't assign an empty dictionary or an empty list first, before
    doing anything on it.

    With other programming languages I saw, either that works or that
    doesn't, but I never saw something that stops working when it starts to
    be more complex. It looks like it's a python specialty.

    No, I think the issue here is pretty obviously the attempt to use a tool without learning how it works.

    I managed to do it with other programming languages. I managed to do it
    with python, to. In the end, it worked. But it was more cumbersome with
    python. I'm not saying that a programming language should be able to be
    used without being learned. I'm saying that it's not an easier language
    to use.
    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From c186282@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 05:55:35 2026
    From Newsgroup: comp.os.linux.advocacy

    On 10/18/26 04:01, Jan Panteltje wrote:
    rbowman <[email protected]>wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    OK I never got much into Python Never needed it for the things I do.
    Also it seems to be changing all the time?

    Except for the transition from 2 to 3 Python has been quite good at
    maintaining backward compatibility. It changes as PEPs are implemented but >> seldom do the changes break things.

    But I come from a hardware background, in the sixties there were no
    'computers'

    I was under the impression the System 360/30 that ate my FORTRAN IV cards
    was a computer of sorts.



    Yea I dunno, my first computer was a Sinclair ZX80

    HAD one ! May STILL have it - in The Heap somewhere.

    Hey, don't cuss the Z-80 ! Damned good chip !


    At work we had a PDP10?

    Got started, officially, on the PDP-11.

    And there was that neat-o newfangled
    'C' language .... :-)


    Worked a while at a large accelerator back then, made me buy a book on Unix. A bit later I had my own TV repair shop in Amsterdam
    and that is when I bought that Z80.
    Added some printer driver in Z80 asm to print receipts and stuff on a thermal printer.

    Well, the math of particle accelerators is well
    beyond my hard-wiring. I'm best as a 'generalist',
    bringing a bunch of dis-related threads together,
    seeing how disparate 'A' 'B' and 'C' relate. Had
    a good 40+ year career with that.

    Sometimes knowing a little about a LOT of things
    pays off as well as knowing a LOT about ONE thing.
    Somebody has to tie it all together.


    But then ..expanded that ZX80 with more memory, several I/O cards
    even added an IBM PC keyboard and ran the C80 C compiler on it
    I wanted to run software from the CPM user group but no CPM for that ZX80.
    So wrote my own CP/M clone and it worked:
    https://panteltje.nl/panteltje/z80/index.html
    Here what I added to that Sinclair Z80:
    https://panteltje.nl/panteltje/z80/system14/diagrams/index.html

    By that time I was working in a company designing a.o. PCI cards for in IBM PCs
    My computer used a ramdisk and was faster than the IBM PC,
    no harddisc seek times.

    Remember 'PCI' cards, 'ISA' too, S-100 were
    pretty good as well.

    Only designed ONE kinda simple PCI card. Sounds
    like you went further.

    I fell in love with "embedded" - low-powered
    chips and minimal hardware. Seemed just 'art'
    to do useful things with that. Lots of 'C'
    and ASM shit.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From De ongekruisigde ds.@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 10:59:24 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-10-16, Chris Ahlstrom <[email protected]> wrote:
    Leroy H wrote this screed in ALL-CAPS (fixed):

    It is amazing how knowledge of basic CS is absent in most
    programmers, both professional and amateur alike. While
    "vibe coding" is all the rage, a silent disaster is also
    creeping.

    What GNU/Linux requires urgently is a Decimal Floating
    Point library that implements IEEE754-2008, but mention this
    to most programmers and one will receive only blank stares
    and gaping mouths.

    The only GNU/Linux project for IEEE754-2008 is closing
    its doors:

    <https://github.com/libdfp/libdfp/pull/238>

    For C++, Boost.Decimal.

    The Free42 calculator provides either binary or a decimal
    implementation.

    By the way, are you AI?

    Who knows, but here's an AI report on the current status of
    libdfp/libdfp:

    Maintenance status: actively maintained (and recently revived)

    Consulting git history directly:

    - Timeline: 669 commits spanning 2009-07-24 (original author Ryan
    S. Arnold, IBM) to 2026-09-11 (Paul Murphy). The project is alive
    — the most recent activity is only days old.

    - Very recent burst: 17 commits since June 2026, almost all by
    Paul Murphy (Red Hat), tightly focused on strtodN correctness
    — signed-NaN returns, locale parsing bugs, rounding of large
    integer mantissas, underflow/tiny values, dead-code removal —
    plus a matching expansion of the test suite. Several commits are
    explicitly AI-assisted (test-strtod: Add more AI tests), so this
    is a modern, tooling-assisted development effort, not legacy
    code.

    - Contributor base: the classic glibc decimal-fp team —
    Adhemerval Zanella (178), Ryan S. Arnold (130, original author),
    Paul E. Murphy (~104 across addresses), Stefan Liebler. All
    are current glibc/IBM/Red Hat maintainers, which signals
    upstream-grade stewardship.

    - Branches: only master plus legacy release branches
    (libdfp-1_0_8-branch, _9, _10). No new release branch has been
    cut since 1.0.10, so development is trunk-focused; the current
    release number (1.0.17) is ahead of the last branched tag.

    Verdict: healthy and actively maintained. The core decimal-fp
    library is mature (15+ years), but 2026 has seen a genuine
    correctness/quality drive on the string-conversion paths
    (strtod/ldexp), with heavy test coverage. Nothing suggests
    abandonment — quite the opposite.
    --
    I am a disgrace to all possible and impossible universes and all
    that is not a universe. -- Gemini AI
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:07:53 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 18:08, John Bokma wrote:
    Examples:

    Explain as a professional Python programmer why 1+True yields 2 and is
    valid
    Thought for 3s

    In Python,  bool  is a subclass of  int . The two Boolean values behave numerically as  False == 0  and  True == 1 , so adding  True  to  1  is
    equivalent to  1 + 1 :

    1 + True       # 2
    type(1 + True) # int

    It’s valid because Python’s numeric operations accept Boolean values as integers. In application code, though, it’s usually clearer to convert
    or count explicitly if you intend to use a Boolean as a number.

    With Booleans the + operator ought to be an OR function so TRUE + TRUE =
    TRUE
    --
    “The urge to save humanity is almost always only a false face for the
    urge to rule it.”
    – H. L. Mencken

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:08:45 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 19:33, Charlie Gibbs wrote:
    On 2026-10-17, The Natural Philosopher <[email protected]d> wrote:

    On 17/10/2026 15:02, Richard Kettlewell wrote:

    We make extensive use of Python, apart from some performance issues
    (exacerbated by the not particularly speedy SoC it runs on) it’s not
    really problematic.

    Wow. someone has a real use for it!

    I just am too old to become proficient in another language, I am still
    battling JavaScript

    I still use C. I started puttering with Python once -
    maybe I should take another look at it.

    Too old and tired and lacking in oxygen
    --
    Climate Change: Socialism wearing a lab coat.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:09:52 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 20:29, Richard Kettlewell wrote:
    I think the issue here is pretty obviously the attempt to use a tool
    without learning how it works.

    The best tools are self explanatory...
    --
    Climate Change: Socialism wearing a lab coat.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:12:32 2026
    From Newsgroup: comp.os.linux.advocacy

    On 17/10/2026 21:14, rbowman wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    OK I never got much into Python Never needed it for the things I do.
    Also it seems to be changing all the time?

    Except for the transition from 2 to 3 Python has been quite good at maintaining backward compatibility. It changes as PEPs are implemented but seldom do the changes break things.

    But I come from a hardware background, in the sixties there were no
    'computers'

    I was under the impression the System 360/30 that ate my FORTRAN IV cards
    was a computer of sorts.

    Mine was. I think. an Elliott. I never saw it.
    --
    Climate Change: Socialism wearing a lab coat.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:15:48 2026
    From Newsgroup: comp.os.linux.advocacy

    On 18/10/2026 08:43, Jan Panteltje wrote:
    Charlie Gibbs <[email protected]d>wrote:
    On 2026-10-17, Leroy H <[email protected]> wrote:

    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    GNU has published the definitive version of Hello World:

    <https://www.gnu.org/software/hello/>

    Holy cow. I guess it's time to resurrect this old chestnut:


    Mon Nov 12 20:03:48 1990
    Message : #1011969 From: cs161fhn%[email protected]
    Group : NET.Funny
    Length : 198 words
    Subject : Evolution of a programmer

    Msg-ID: <[email protected]>
    Posted: 13 Nov 90 00:30:05 GMT

    Person: Dennis Lou


    The Evolution of a programmer.

    (Okay, it's late and I'm not thinking straight, but at least it's
    original...)

    High school/Jr. High
    --------------------
    10 PRINT "HELLO WORLD"
    20 END


    First year in college
    ---------------------
    program Hello(input, output);
    begin
    writeln ('Hello world');
    end

    Senior year in college
    ----------------------
    (defun hello
    (print
    (cons 'HELLO (list 'WORLD))))

    New professional
    ----------------
    #include <stdio.h>
    main (argc,argv)
    int argc;
    char **argv; {
    printf ("Hello World!\n");


    I will go with that one,
    but simplify it a bit

    file q1.c
    #include <stdio.h>
    int main()
    {
    printf("Hello\n");
    }

    raspberrypi: ~ # gcc -o q1 q1.c
    raspberrypi: ~ # l q1
    -rwxr-xr-x 1 root root 8068 Oct 18 09:33 q1*
    raspberrypi: ~ # ./q1
    Hello

    So an about 8 kilobytes size executable ....

    Better use bash
    echo "Hello"
    raspberrypi: ~ # echo "Hello"
    Hello

    $ ls -l /bin/bash
    -rwxr-xr-x 1 root root 1183448 Apr 18 2022 /bin/bash
    --
    "It was a lot more fun being 20 in the 70's that it is being 70 in the 20's" Joew Walsh

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 12:20:49 2026
    From Newsgroup: comp.os.linux.advocacy

    On 18/10/2026 09:53, Jan Panteltje wrote:
    Put enough springs like that together and if one goes and hits a few other ones
    like it then you get a chain reaction, all clamps break, all springs jump.

    But 'fusion' they try, is nothing but pushing the springs together without even
    using clamps..
    Costs all of energy to keep those together and no more energy will ever come out than you put in.

    Not really. Push enough together hard enough and lots of pieces fly out.
    Like trying to assemble a motorbike gearbox with C clips

    In the UK we call these 'pingfuckits'

    Fusion is just trying to hold it together and not let the pingfuckits escape...
    --
    It’s easier to fool people than to convince them that they have been fooled. Mark Twain



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 13:22:46 2026
    From Newsgroup: comp.os.linux.advocacy

    The Natural Philosopher <[email protected]d>wrote:
    On 18/10/2026 09:53, Jan Panteltje wrote:
    Put enough springs like that together and if one goes and hits a few other ones
    like it then you get a chain reaction, all clamps break, all springs jump. >>
    But 'fusion' they try, is nothing but pushing the springs together without even
    using clamps..
    Costs all of energy to keep those together and no more energy will ever come >> out than you put in.

    Not really. Push enough together hard enough and lots of pieces fly out. >Like trying to assemble a motorbike gearbox with C clips

    In the UK we call these 'pingfuckits'

    Yes, motorbikes, I had 2, one Matchless bought from the army surplus,
    took it apart..
    I stopped with motorbikes after some near accident
    Then later got a Ford Mustang V8
    Now THAT was a nice car!
    But I do not expect crushing a gearbox to cause more energy then you put into it crushing it.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 13:32:22 2026
    From Newsgroup: comp.os.linux.advocacy

    c186282 <[email protected]>wrote:
    On 10/18/26 04:53, Jan Panteltje wrote:
    c186282 <[email protected]>wrote:
    On 10/17/26 03:20, Jan Panteltje wrote:
    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

    Well C++ is a crime against humanity
    'operator overloading...' crap bloated crap.

    Operator overloading is a very handy feature. Yes, C++ is overly
    complicated. Java left out that feature of C++, and it, too, still
    manages to be excessively complicated.

    Python, on the other hand, includes operator overloading, yet is still >>>>> only a small fraction of the complexity of either Java or C++. Such a >>>>> feature is useful, for example, in letting you express operations on >>>>> mathematical objects (like vectors and matrices) using something close >>>>> to the original mathematical notation.

    OK
    I never got much into Python

    DO check it out. It can now do basically EVERYTHING
    and is faster than it used to be. P4 is promised to
    be even faster and more efficient without changing
    the syntax.

    I did not use Python2 because I heard that P3 was coming ...
    why learn an obsolete dialect ? Took 'em a little while
    to port everything over to the new version, but it got
    done and then went over and above.

    CAN be 'compiled' in a few ways. A couple options
    translate to 'C' and then compile that. IS much
    faster, though not quite as fast as writing a
    native 'C' pgm. However the EASE of writing and
    great string-slice functions (stolen from FORTRAN)
    make Python really nice. Oh, 95% of the time you
    don't NEED top speed for applications. That's old
    thinking - EASE/comprehensibility can be far
    more important.

    Oh, the DOCUMENTATION/How-To stuff for Python
    is everywhere and detailed. A zillion solutions
    for YOUR particular problem.

    Since forever I wrote in 'C' or Pascal. I even
    did stuff in "B". However I rarely use 'C'
    anymore. Might still rec writing 'servers' in 'C' ...
    esp if high-volume ... but that sentiment is
    half 'tradition'.

    Anyway, learn before 'AI' tries to steal it
    all away. CHAT can find/write low/medium
    complexity Python code ... but sometimes
    it seems more complex/verbose/obscure than
    a human would write it. Mostly it just
    steals human-writ examples it finds.

    DID ask CHAT to write me a basic b-tree
    database pgm in FORTRAN the other day.
    Kinda/sorta did so ... but didn't include
    any load/save code (though DID warn about
    that prob). Next - same thing, but in
    Modula2 - we'll see what its limits are :-)

    Pref M3 ... but almost no Linux/anything
    compilers for that - esp that actually
    install correctly. Some ancient DOS stuff.
    Do have a paper manual for "Turbo Modula-2"
    but it's all 8/16 bit and won't run on a lot
    of chips these days. Would have to use
    DOSBox or something - inefficient.

    Never needed it for the things I do.
    Also it seems to be changing all the time?

    Ummm ... not really. The only "big" - ok
    not SO big - change was P2 to P3. Most
    P2 programs can be tweaked for P3 pretty
    quick. Think there's even a converter app.

    Now if by "changing" you mean new functions,
    yep, people keep writing them for obvious
    reasons. The good bit is it means there are
    several paths to whatever you're trying to
    do - pick the best for your need.

    I did a bunch of video security cam apps.
    Sometimes "OpenCV2" will do it all, sometimes
    "Pillow" lib is just fine. Can even combine
    in some cases.

    Most code I write is in C or in asm for Microchips.
    asm is extremely powerful

    Well aware. When CP/M and even DOS were around
    had to write ASM bits, or full apps, because
    there just wasn't anything better. PICs and
    similar microcontrollers - ASM is still the
    best way to the finer chip tricks.

    understand the hardware!!!

    The weaker the hardware the more you have to
    understand it. Most modern big chips, so much
    overkill that you really don't need to know
    every little nuance. Sorry, 1% better performance
    isn't worth learning 99% more tiny-tweak shit
    that'll probably be obsolete in the very next
    point-revision of the CPU.

    https://panteltje.nl/panteltje/newsflex/download.html
    https://panteltje.nl/panteltje/quadcopter/index.html
    https://panteltje.nl/panteltje/pic/index.html
    These days giggle bytes seem to be needed to just say: 'Hello world'.
    Too many layers of crap.

    But I come from a hardware background, in the sixties there were no 'computers'
    yet they did a manned Moon landing and return.

    Some of that shit was just bizarre !

    Loved hand-knitted "rope memory", what
    the LEM computer used :-)

    Now they have nothing to show but driving around the block (earth orbit) with
    all that computing power.

    All the computing power in the Apollo ... yer
    base iWatch has a good 1000x that, maybe 10000x.
    BUT, they had to make do with what they had ...
    and most of that was govt-specced in '64. At
    least Apollo wasn't all vacuum tubes :-)

    Now space probes - I really admire the people
    who design the hardware/software. Insane levels
    of redundancy/work-arounds, almost a black art.
    It's why the Voyagers are still working out
    beyond the edge of our solar system all this
    time later. Kinda hoping aliens will find one
    and upgrade/repair :-)

    Yes and the new telescopes
    https://www.sciencedaily.com/releases/2026/10/261016070630.htm
    NASA’s Roman Space Telescope exceeds expectations by nearly 30%

    I think, our current understanding of 'the Universe' and 'big bang' is at some
    point completely wrong,

    Likely.

    as is our 'understanding' of fusion (why ITER and other experiments like it >> will never work).

    Current approaches ... won't work worth damn.
    Gotta find some 'quantum tricks'. SOME way
    to, even for a sub-nanosecond, to screw with
    the physics.

    I look at normal radioactivity as you having a lot of springs each compressed
    and hold together by a little metal clamp.
    Every now and then a clamp breaks an the spring jumps, 'radioactivity'
    'radiation'.
    Put enough springs like that together and if one goes and hits a few other ones
    like it then you get a chain reaction, all clamps break, all springs jump. >>
    But 'fusion' they try, is nothing but pushing the springs together without even
    using clamps..
    Costs all of energy to keep those together and no more energy will ever come >> out than you put in.
    The springs with clamps are just parts of the expanding universe that had not
    expanded yet.

    Dark matter, so much bullshit, so many einStone parrots,
    so many mamaticians doing a divide by zero and then use 'renormalisation'
    all parrots, too much senseless math, NO understanding.
    It is a bit like Ohm's law, but then the radio tube was invented, a current in
    a vacuum ! Ohms law broken?
    Electrons moving turned out to be what electric current was!
    You need a _mechanism_ to understand the universe, else the babble about
    infinities will go on and no end and the understanding will remain zero.
    CERN did recently find signs that space is filled with some fluid...
    From:
    https://www.sciencedaily.com/releases/2026/10/261004002556.htm

    Physicists just saw quarks make waves in the Big Bang’s primordial soup
    Scientists have watched speeding quarks create ripples in primordial matter, >> revealing just how liquid-like the early universe really was.
    Date:
    October 6, 2026
    Source:
    Massachusetts Institute of Technology
    Summary:
    Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
    yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
    universe, behaves like a true liquid.
    By tracking individual quarks as they blasted through the plasma, researchers
    saw them leave behind ripples, splashes, and swirling wakes much like a duck
    moving through water.
    The finding suggests this primordial “soup” is so dense that it can slow
    speeding quarks and respond collectively as a fluid.

    Still think "dark matter" is an hallucination.

    "Invisible Stuff" ??? Luminiferous Aether ???

    Something ELSE going on.

    One theory I like is Le Sage:
    https://en.wikipedia.org/wiki/Le_Sage%27s_theory_of_gravitation
    I like it because it gives a mechanical explanation to gravity,
    Also it explains why clocks move slower near a heavy object (say planet)
    as there more Le Sage particles are intercepted, matter gets less compressed, pendulum gets longer, clocks slow down.
    It also explains the mysterious heating of some heavenly bodies,
    and it puts an end the the black-hole infinities babble
    as there is a point where all Le Sage particles are intercepted.
    There are NO infinities in nature!!
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 14:09:41 2026
    From Newsgroup: comp.os.linux.advocacy

    c186282 <[email protected]>wrote:
    On 10/18/26 04:01, Jan Panteltje wrote:
    rbowman <[email protected]>wrote:
    On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:


    OK I never got much into Python Never needed it for the things I do.
    Also it seems to be changing all the time?

    Except for the transition from 2 to 3 Python has been quite good at
    maintaining backward compatibility. It changes as PEPs are implemented but >>> seldom do the changes break things.

    But I come from a hardware background, in the sixties there were no
    'computers'

    I was under the impression the System 360/30 that ate my FORTRAN IV cards >>> was a computer of sorts.



    Yea I dunno, my first computer was a Sinclair ZX80

    HAD one ! May STILL have it - in The Heap somewhere.

    Hey, don't cuss the Z-80 ! Damned good chip !


    At work we had a PDP10?

    Got started, officially, on the PDP-11.

    And there was that neat-o newfangled
    'C' language .... :-)


    Worked a while at a large accelerator back then, made me buy a book on Unix. >> A bit later I had my own TV repair shop in Amsterdam
    and that is when I bought that Z80.
    Added some printer driver in Z80 asm to print receipts and stuff on a thermal
    printer.

    Well, the math of particle accelerators is well
    beyond my hard-wiring. I'm best as a 'generalist',
    bringing a bunch of dis-related threads together,
    seeing how disparate 'A' 'B' and 'C' relate. Had
    a good 40+ year career with that.

    Sometimes knowing a little about a LOT of things
    pays off as well as knowing a LOT about ONE thing.
    Somebody has to tie it all together.


    I started travelling the world, doing work in electronics wherever I could find,
    sometimes via agencies.
    I have this thing called 'curiosity' that drives me.
    Worked for army, navy, power stations, space, broadcasting, had a TV and radio repair shop,
    car electronics, art, medical in a big university hospital here, in an airport, in satellite communication,
    in Europe, in the US, and in the UK.
    Been almost everywhere from many European countries to down-under.
    Languages, Dutch, English, German, French, little bit Italian (pizza I know what it is just had one ;-0), bit of Spanish..
    Will be eighty years old in a few month, still learning.


    But then ..expanded that ZX80 with more memory, several I/O cards
    even added an IBM PC keyboard and ran the C80 C compiler on it
    I wanted to run software from the CPM user group but no CPM for that ZX80. >> So wrote my own CP/M clone and it worked:
    https://panteltje.nl/panteltje/z80/index.html
    Here what I added to that Sinclair Z80:
    https://panteltje.nl/panteltje/z80/system14/diagrams/index.html

    By that time I was working in a company designing a.o. PCI cards for in IBM PCs
    My computer used a ramdisk and was faster than the IBM PC,
    no harddisc seek times.

    Remember 'PCI' cards, 'ISA' too, S-100 were
    pretty good as well.

    Only designed ONE kinda simple PCI card. Sounds
    like you went further.

    I fell in love with "embedded" - low-powered
    chips and minimal hardware. Seemed just 'art'
    to do useful things with that. Lots of 'C'
    and ASM shit.

    Yes, keep it simple.
    Simple things sometimes just keep working for ages:
    https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_inside_img_1727.jpg
    https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_inside2_img_1757.jpg
    https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_wiring_img_1756.jpg
    1985 or so?
    Had it powered on last year,
    worked OK after giving it some time to re-charge the battery that keeps the BASIC program in static RAM.
    Was used to drive all sort of stuff around the house via simple i2c.



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 19:28:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sun, 18 Oct 2026 08:01:05 GMT, Jan Panteltje wrote:

    Yea I dunno, my first computer was a Sinclair ZX80 At work we had a
    PDP10?
    Worked a while at a large accelerator back then, made me buy a book on
    Unix.

    I bought the ZX81 kit to see what you got for $80 US, but that was about
    15 years after my first FORTRAN IV program. I wasn't interested in
    programming until the microcontrollers appeared so the early part of my
    career was hardware control circuits. Logic is logic.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Sun Oct 18 22:03:25 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

    printf ("Hello World!\n");

    puts("Hello World!\n");

    or even a bit more nitpicky:

    fputs("Hello World!\n", stdout);
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 02:19:34 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sun, 18 Oct 2026 08:53:53 GMT, Jan Panteltje wrote:

    But 'fusion' they try, is nothing but pushing the springs together
    without even using clamps..
    Costs all of energy to keep those together and no more energy will
    ever come out than you put in.

    What keeps the stars burning?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 08:01:14 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman <[email protected]>wrote:
    On Sun, 18 Oct 2026 08:01:05 GMT, Jan Panteltje wrote:

    Yea I dunno, my first computer was a Sinclair ZX80 At work we had a
    PDP10?
    Worked a while at a large accelerator back then, made me buy a book on
    Unix.

    I bought the ZX81 kit to see what you got for $80 US, but that was about
    15 years after my first FORTRAN IV program. I wasn't interested in >programming until the microcontrollers appeared so the early part of my >career was hardware control circuits. Logic is logic.

    Yes, started with hardware as a kid, crystal radio, then tube radios
    then when the first transistors came, build a small 1 transistor FM transmitter in highschool.
    And a tube amp for the school band, guitarist liked it.
    Started playing with CRTs, build an all transistor tube TV..
    Then later in my first job designed and build a portable vidicon TV camera
    all transistors.
    Looked for a more fun and safer job (almost got killed on a Navy flightdeck). That camera and what I knew about TV landed me a job at the national TV network here.
    Experimenting at home continued (ever since ;-) .
    As for TV, color TV, nanosecond precision time base compensation,
    loads of transistor stuff, racks full, just one of the hundreds of things:
    https://www.manualslib.com/manual/4019119/Ampex-Colortec-1011.html
    circuit diagrams are in there too around page 120
    Had to keep it all running and fix it if it did not run.
    And all the tube based stuff
    And run the place at times.

    I do remember Fortran, wrote some lines of that code,
    but am C or asm 'oriented'.
    There is more ...

    Still writing code and designing electronics.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 09:01:40 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence D’Oliveiro <[email protected]d> writes:
    Charlie Gibbs wrote:

    printf ("Hello World!\n");

    puts("Hello World!\n");

    That does something slightly different.

    or even a bit more nitpicky:

    fputs("Hello World!\n", stdout);

    That’s the same as the original printf.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jan Panteltje@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 08:20:39 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <[email protected]d>wrote:
    On Sun, 18 Oct 2026 08:53:53 GMT, Jan Panteltje wrote:

    But 'fusion' they try, is nothing but pushing the springs together
    without even using clamps..
    Costs all of energy to keep those together and no more energy will
    ever come out than you put in.

    What keeps the stars burning?

    Russian diesel?

    LOL

    Read the Le Sage article:
    https://en.wikipedia.org/wiki/Le_Sage%27s_theory_of_gravitation

    Scroll down to:
    Recent activity

    quote:
    The re-examination of Le Sage's theory in the 19th century identified several
    closely interconnected problems with the theory.
    These relate to excessive heating, frictional drag, shielding, and gravitational aberration.
    -----------------^^^^^^^^^^^^^^^^

    Feynman could not handle it, he thinks of LeSage particles as stones
    I think EM radiation can just be a 'state' of (very complex) Le Sage particles.

    Then gravity moves at the speed of light.
    Making EM radiation is just 'magnetizing LS particles
    A mechanism
    I do not wan the no-bell price too much politics...

    But a MECHANISM is a must, mamamatical babble gets you nowhere.
    NeinStone was a fraud, he stole his relatitfrites like he
    stole Bose's work and put his own name on it
    Bose Einstein condensate.

    And the world (most of it) keeps parroting that fraud
    'Space is curved' what was curved was his brain.
    He failed to unite gravity and EM radiation
    I just did unite that here .
    Is it correct?
    I dunno.
    Experiments we need.
    NeinStein never did an experiment in his life, just babble.
    Polli Ticks put him on a stand.

    But sure, go on feeding billions of taxpayer money into ITER
    Your money.




    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Ames@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 09:37:30 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sat, 17 Oct 2026 02:28:10 -0000 (UTC)
    Lawrence D’Oliveiro <[email protected]d> wrote:
    IMHO one of the biggest programming mistakes is using floating point
    when you can do it faster, more accurately, and more easily with
    integers.

    Some languages offer direct support for “fixed-point” formats,
    basically integers with a fixed scale factor, so you can do
    calculations that keep a fractional part.

    From what I gather, they tend to be difficult to use properly. The
    problem seems to be keeping calculations within the permissible
    dynamic range, to avoid overflow and underflow.

    This is why floating-point tends to be far more popular.
    Yep. You can do fixed-point/scaled-integer math even in languages with-
    out a dedicated type if you put your mind to it (it's very common with
    Forth people,) but no matter how you do it one of the challenges is
    being *actually* sure that your calculations won't exceed the bounds
    set for range and precision by your choice of word size and scaling
    factor. Floating-point saves you the trouble of doing that, but as has
    been discussed it has its own set of quirks to be accounted for.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Mon Oct 19 20:05:38 2026
    From Newsgroup: comp.os.linux.advocacy

    On Mon, 19 Oct 2026 08:01:14 GMT, Jan Panteltje wrote:

    I do remember Fortran, wrote some lines of that code,
    but am C or asm 'oriented'.

    I've seldom used Fortran although familiarity with it is handy when
    converting it to C. After trying to use f2c I decided doing it manually
    was necessary if I wanted to be able to read the resulting C.

    https://en.wikipedia.org/wiki/BDS_C

    That was my first exposure to C.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From The Natural Philosopher@[email protected] to comp.os.linux.misc,comp.os.linux.advocacy on Tue Oct 20 09:16:44 2026
    From Newsgroup: comp.os.linux.advocacy

    On 19/10/2026 21:05, rbowman wrote:
    On Mon, 19 Oct 2026 08:01:14 GMT, Jan Panteltje wrote:

    I do remember Fortran, wrote some lines of that code,
    but am C or asm 'oriented'.

    I've seldom used Fortran although familiarity with it is handy when converting it to C. After trying to use f2c I decided doing it manually
    was necessary if I wanted to be able to read the resulting C.

    https://en.wikipedia.org/wiki/BDS_C

    That was my first exposure to C.

    Moi aussi
    --
    No Apple devices were knowingly used in the preparation of this post.

    --- Synchronet 3.22a-Linux NewsLink 1.2