• Why Python When There Is Perl?

    From Lester Thorpe@21:1/5 to All on Tue Mar 19 19:45:29 2024
    Why does the mal-informed world prefer Python to Perl?

    Perl has EVERYTHING that Python can offer (and probably a lot
    more). Check out CPAN (www.cpan.org) which offers hundreds
    of thousands of Perl modules that can serve any purpose.

    I suspect the reason is that Perl is an "imperative" language
    while Python is "object oriented."

    Object orientation is for fucking programming sissies!

    Listen up, you fucking OO assholes. It will all get translated
    into imperative machine language in the fucking end. So why
    take a fucking gargantuan fucking detour?

    The answer is that OO "programmers" are programmers in name
    only. They don't know fucking shit about computer science.

    Perl is the interpretive language of choice.

    Anyone who does not gleefully choose Perl is a brain-starved
    idiot.

    The case is closed.

    Lester Thorpe

    Lester has spoken.

    Disagree? Your head will be broken.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Lester Thorpe on Tue Mar 19 22:24:54 2024
    On Tue, 19 Mar 2024 19:45:29 +0000, Lester Thorpe wrote:

    Why does the ... world prefer Python to Perl?

    I learned Perl before I learned Python.

    With Perl, there was always this feeling of unplumbed depths, subtleties
    just beyond my reach.

    With Python, everything I did made sense.

    It was easy to switch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Wed Mar 20 01:02:07 2024
    On Tue, 19 Mar 2024 18:47:40 -0500, Physfitfreak wrote:

    This place is wasteful. It is like a drinking parlor. You go there
    everyday and drink and joke and curse and argue, but in the background,
    it is making you an alcoholic, making you drift.

    I haven't used Perl in a couple of decades but then I noticed the Q4OS installation on the eeePC had a current version of Perl as well as nano so
    I could conceivably do something to amuse myself with the /dev/sdb SD
    card. After a quick on-line brush up I remembered why I don't use Perl.

    It isn't all that bad a scripting language but it's open to abuse by those
    who prefer cryptic code.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Wed Mar 20 01:12:47 2024
    On Tue, 19 Mar 2024 22:24:54 -0000 (UTC), Lawrence D'Oliveiro wrote:

    With Perl, there was always this feeling of unplumbed depths, subtleties
    just beyond my reach.

    I suppose it saved typing a few characters but I never could keep $_, @_,
    $$, $!, $@ and so forth straight. I did like that it closely followed C conventions rather than Python's indentation scheme.

    Then there was the fix, Perl 6, that hung fire so long it changed its name
    out of embarrassment when it reached the age of majority.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Tue Mar 19 22:55:03 2024
    On 3/19/2024 7:47 PM, Physfitfreak wrote:

    I think, if I had not relied on COLA to provide help on these matters,
    by now, I'd be months into fruitful learning of ... probably C++ and
    into several exciting programming projects.


    Go with python (and pyqt or pyside for a GUI)

    Sample of what you can do with them:

    https://uploadnow.io/f/QGsMX7G


    To run it:

    1) install Python

    2) install PyQt 5

    3) extract the .7z file to a folder, and from the command line:

    $ python usenet.py

    and the GUI should open

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Wed Mar 20 03:08:48 2024
    On 20 Mar 2024 01:12:47 GMT, rbowman wrote:

    I suppose it saved typing a few characters but I never could keep $_,
    @_, $$, $!, $@ and so forth straight.

    That was the easy part.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Wed Mar 20 04:23:17 2024
    On Tue, 19 Mar 2024 22:55:03 -0400, DFS wrote:


    To run it:

    1) install Python

    2) install PyQt 5

    I've been using PySide6. There are some minor differences with signals but otherwise it is the same. I think PySide is now the 'official' approach. I think I've mentioned the pissing contest with Riverside over GPL versus
    LGPL that gave rise to PySide.

    One caveat: there is a line you can add that allows for more 'Pythonic' function conventions,

    from typing import Optional

    so you can say

    self.set_layout(layout)

    rather than

    self.setLayout(layout)

    It might be more Pythonic and all that good stuff but it is not completely implemented and some things still have to be camel case so I stopped
    trying to use it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuxxie@21:1/5 to Lawrence D'Oliveiro on Wed Mar 20 11:04:04 2024
    On Tue, 19 Mar 2024 22:24:54 +0000, Lawrence D'Oliveiro wrote:


    With Perl, there was always this feeling of unplumbed depths, subtleties
    just beyond my reach.

    With Python, everything I did made sense.


    You have more or less just paraphrased what was atated in the original
    post.

    Since I learned assembly language way before anything else Perl is the
    more natural language for me. OO tends to appeal to those who can't see
    the machine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuxxie@21:1/5 to Physfitfreak on Wed Mar 20 11:31:34 2024
    On Tue, 19 Mar 2024 18:47:40 -0500, Physfitfreak wrote:


    You know, I first gathered my energy to go after the good old C language
    to freshen myself up with it, then I turned to assembly language cause
    you said so as "a sage advice", then I found out my general questions
    would be better answered if I learned hoc, then my general questions
    made a turn, and I was left with chances that the best language for me
    at the time was the good old C again; then on checking out Go and taking
    Ken Thompson's words for it, I let C go and began preparing to go after
    Go. And now, you're saying if we don't choose Perl we're brain-starved.


    If you want to learn programming then you must first give a definition
    to the term "programming."

    What is programming? Programming is the controlling of a digital computer. That's all.

    Therefore, in order to program one must first learn about the machine. One must first learn about logic gates, Boolean algebra, etc. Then one must
    learn machine language instructions.

    After this, one can, for the sake of convenience, proceed to "higher
    level" abstractions, i.e. a language like C. But any of these high
    level languages do not actually control the machine. These abstractions
    must be processed by compilers to produce actual machine-control
    instructions.

    Unfortunately, a lot (most?) so called programmers know very little about digital hardware.

    When I first took CompSci 101, I already had a deep background in assembly
    and I watched as the other students, who didn't have this background,
    stumbled over such things as character case conversions and pointers.

    C is fairly low level. It does not completely obliterate the machine.
    But other languages have succeeded to totally obscure the hardware and
    it is these languages that are the most popular. In fact, most programmers don't program. They will use frameworks that literally produce the code
    for them. (They'll get paid big bucks until the framework falls out of fashion. Then they'll end up at McDonalds because they have no REAL
    programing skills.)

    In conclusion:

    Learn the machine and learn assembly. Then proceed to the conventional abstract languages.

    For your first assignment, learn how to add two unsigned digital integers:

    10011011
    +10111111

    This operation uses digital adders and is very fast.

    What happens when the result cannot fit into an 8-bit register?

    Then learn how to express negative numbers and subtract using adders.

    Post all questions here.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Nuxxie on Wed Mar 20 08:30:47 2024
    Nuxxie wrote this copyrighted missive and expects royalties:

    On Tue, 19 Mar 2024 22:24:54 +0000, Lawrence D'Oliveiro wrote:

    With Perl, there was always this feeling of unplumbed depths, subtleties
    just beyond my reach.

    With Python, everything I did made sense.

    You have more or less just paraphrased what was atated in the original
    post.

    Since I learned assembly language way before anything else Perl is the
    more natural language for me. OO tends to appeal to those who can't see
    the machine.

    On one team I worked with, the language was assembler (MASM). The project had some bigassed modules!

    I showed the manager/programmer a book I'd bought on video processing. It showed sample assembler code using C function-calling conventions (push bp; mov bp,sp; add stack size to bp; run code; pop bp IIRC). He called the code "obtuse". :-D

    --
    ROMEO: Courage, man; the hurt cannot be much.
    MERCUTIO: No, 'tis not so deep as a well, nor so wide
    as a church-door; but 'tis enough, 'twill serve.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yaxley Peaks@21:1/5 to All on Wed Mar 20 18:46:59 2024
    This is why the only acceptable language to use is lean4. Embrace purely functional programming!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Yaxley Peaks on Wed Mar 20 10:59:17 2024
    On 3/20/2024 9:16 AM, Yaxley Peaks wrote:

    This is why the only acceptable language to use is lean4. Embrace purely functional programming!


    How do you do this in lean4?

    ---------------------------------------------------------------------------- characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
    for i in range(len(characters)):
    print(ord(characters[i]),end=',') ---------------------------------------------------------------------------- 65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,48,49,50,51,52,53,54,55,56,57,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yaxley Peaks@21:1/5 to All on Wed Mar 20 21:47:16 2024
    Uh idk
    --
    (yaxp me) => t

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Wed Mar 20 18:20:52 2024
    On 3/20/2024 12:23 AM, rbowman wrote:
    On Tue, 19 Mar 2024 22:55:03 -0400, DFS wrote:


    To run it:

    1) install Python

    2) install PyQt 5

    I've been using PySide6.

    Work or play?

    My biggest PyQt app is nearly 2200 lines, incl comments and whitespace
    and handling 7 different dbms's.



    There are some minor differences with signals but
    otherwise it is the same. I think PySide is now the 'official' approach. I think I've mentioned the pissing contest with Riverside over GPL versus
    LGPL that gave rise to PySide.

    Thanks for the heads-up.

    "Qt for Python is the project that provides the official set of Python
    bindings (PySide6) that will supercharge your Python applications."


    One caveat: there is a line you can add that allows for more 'Pythonic' function conventions,

    from typing import Optional

    so you can say

    self.set_layout(layout)

    rather than

    self.setLayout(layout)

    It might be more Pythonic and all that good stuff but it is not completely implemented and some things still have to be camel case so I stopped
    trying to use it.

    From what I read on PySide vs PyQt, the changes to my apps will be
    minimal, mainly new imports and a few other little tweaks having to do
    with the .ui files.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Wed Mar 20 18:31:00 2024
    On 3/19/2024 7:47 PM, Physfitfreak wrote:

    I think, if I had not relied on COLA to provide help on these matters,
    by now, I'd be months into fruitful learning of ... probably C++ and
    into several exciting programming projects.


    First off, don't listen to ANYTHING Feeb says about programming. He's incompetent, a liar, a nutcase, and makes contradictory statements all
    the time.

    "Nothing but C from now on!"
    "Only assembly for me from now on!"
    "Python is for talentless idiots"
    "Use Perl"
    "C++ is for degenerate sissies"
    "C++ is too complex"
    "I despise OO programming"
    "most programmers don't program. They will use frameworks that
    literally produce the code for them."

    That's all lies and idiocy.

    I recently showed you 3 versions (C, python, VBA) of the same program.
    Python was the fewest lines of code, looked the cleanest, and was
    quickest to write.

    After I learned enough python, I started working on the same problems
    with C. C executes 5x to 10x faster than Python, but requires 3x to 5x
    the amt of time and code. Note: you will NEVER recoup the extra C
    development time with savings in program execution time.

    I'd say work on learning Python and C at the same time. Leave C++ for
    later.


    This place is wasteful. It is like a drinking parlor. You go there
    everyday and drink and joke and curse and argue, but in the background,
    it is making you an alcoholic, making you drift.

    If you wanted to focus on programming, you would. Don't blame cola for
    your moral shortcomings.

    Here's something to get you started with python. This code reads the
    Linux kernel CREDITS file, parses it, and posts the data to a SQLite
    database table. I just now wrote the python, but the original program
    was in C 3 years ago (for yet another programming challenge that weasel
    Feeb couldn't handle).


    ======================================================================
    Python
    ======================================================================

    import sqlite3

    #copy or concat lines into string
    #if entry has 1 linetype (NEWPDS), copy line into var
    #if entry has 2+ of the same linetype, concat lines
    def processvals(val, data, sep):
    if val[0] == ' ':
    val = data
    else:
    val += sep
    val += data
    return val

    #strings
    entry,Nval,Eval,Wval,Pval,Dval,Sval = ' ',' ',' ',' ',' ',' ',' '

    #create and open new SQLite db file
    dbname = "kernel_credits_py.db";
    conn = sqlite3.connect(dbname)
    db = conn.cursor()

    #create table
    db.execute("DROP TABLE IF EXISTS CREDITS;")
    db.execute("BEGIN TRANSACTION;")
    sql = "CREATE TABLE CREDITS(nameid INTEGER NOT NULL PRIMARY KEY, name
    TEXT NOT NULL, email TEXT DEFAULT 'na' NOT NULL, web TEXT DEFAULT 'na'
    NOT NULL, pgp TEXT DEFAULT 'na' NOT NULL, description TEXT DEFAULT 'na'
    NOT NULL, address TEXT DEFAULT 'na' NOT NULL);";
    db.execute(sql)

    #read kernel CREDITS file, post data to db table
    #each credit entry has one name, and 0+ other lines
    creditsfile = "KERNEL_CREDITS.txt"
    lines = open(creditsfile,'r').readlines()
    for line in lines:
    if len(line) > 3: entry = line[3:-1] #drop NEWPDS prefixes
    if line[0]=='N': Nval = entry
    if line[0]=='E': Eval = processvals(Eval,entry," / ")
    if line[0]=='W': Wval = processvals(Wval,entry," / ")
    if line[0]=='P': Pval = processvals(Pval,entry," / ")
    if line[0]=='D': Dval = processvals(Dval,entry," / ")
    if line[0]=='S': Sval = processvals(Sval,entry,", ")

    if line[0] == '\n':
    sql = "INSERT INTO CREDITS (name,email,web,pgp,description,address)
    VALUES (?,?,?,?,?,?);";
    db.execute(sql,(Nval, Eval, Wval, Pval, Dval, Sval))
    entry,Nval,Eval,Wval,Pval,Dval,Sval = ' ',' ',' ',' ',' ',' ',' '

    conn.commit()

    #print data in table
    rows = db.execute("SELECT * FROM CREDITS ORDER BY nameID;")
    for row in rows:
    for i,colname in enumerate(db.description):
    print("%-12s = %s" % (colname[0], row[i]))
    print()

    #count rows in table
    db.execute("SELECT COUNT(*) FROM CREDITS;")
    print("Done. %d records were posted to SQLite database '%s'" % (db.fetchone()[0],dbname))

    #version
    print("running SQLite %s" % sqlite3.sqlite_version)

    db.close()
    conn.close()

    ======================================================================





    ======================================================================
    C
    ======================================================================
    // 1. install libsqlite3-dev (sudo apt install libsqlite3-dev)
    // 2. copy the Linux kernel CREDITS file to the folder this program is in
    // 3. rename it KERNEL_CREDITS.txt

    // compilation: gcc -Wall source.c -o executable -lsqlite3

    #include <sqlite3.h>
    #include <stdio.h>
    #include <string.h>

    //used when retrieving data from SQLite
    int callback(void *na, int argc, char **argv, char **azColName)
    {
    na = 0;
    for (int i = 0; i < argc; i++) {
    printf("%s = %s\n", azColName[i], argv[i] ? argv[i] : "NULL");
    }
    printf("\n");
    return 0;
    }

    //right trim
    void rtrim(char *s)
    {
    s[strlen(s)-1]='\0';
    }


    //copy or concat lines into string
    //if entry has 1 linetype (NEWPDS), copy line into var
    //if entry has 2+ of the same linetype, concat lines
    void processvals(char *val, char *data, char *sep)
    {
    if(val[0] == '\0')
    {
    strncpy(val,data,strlen(data));
    }
    else
    { strncat(val,sep,3);
    strncat(val,data,strlen(data));
    }
    }


    int main(void) {

    sqlite3 *db;
    sqlite3_stmt *stmt;
    char *error_msg = 0;
    int rc = 0;
    rc += 1; //without this nonsense, got compiler warning variable set but not used
    char line[1024] = "", entry[1024];
    char Nval[1024] = ""; char Eval[1024] = ""; char Wval[1024] = "";
    char Pval[1024] = ""; char Dval[1024] = ""; char Sval[1024] = {"\0"};

    //count lines in file
    int lines = 0;
    FILE *fin = fopen("KERNEL_CREDITS.txt","r");
    while (fgets(line,sizeof line, fin)!= NULL) {lines++;}


    //create and open new db file
    char *dbname = "kernel_credits.db";
    rc = sqlite3_open(dbname, &db);

    //create table
    char *sql = "DROP TABLE IF EXISTS CREDITS;"
    "BEGIN TRANSACTION;"
    "CREATE TABLE CREDITS(nameid INTEGER NOT NULL PRIMARY
    KEY, name TEXT NOT NULL, email TEXT DEFAULT 'na' NOT NULL, web TEXT
    DEFAULT 'na' NOT NULL, pgp TEXT DEFAULT 'na' NOT NULL, description TEXT
    DEFAULT 'na' NOT NULL, address TEXT DEFAULT 'na' NOT NULL);";
    rc = sqlite3_exec(db, sql, 0, 0, &error_msg);


    //read kernel CREDITS file, post data to db table
    //each credit entry has one name, and 0+ other lines
    int currentline = 0;
    rewind(fin);
    while (fgets(line,sizeof line, fin)!= NULL)
    {
    currentline++;
    rtrim(line);
    if(strlen(line) > 3) //drop NEWPDS prefixes
    {
    memset(entry,'\0',sizeof entry);
    memcpy(entry, &line[3], strlen(line)-3);
    entry[strlen(entry)] = '\0';
    }
    if(line[0]=='N') {strncpy(Nval,entry,strlen(entry));}
    if(line[0]=='E') {processvals(Eval,entry," / ");}
    if(line[0]=='W') {processvals(Wval,entry," / ");}
    if(line[0]=='P') {processvals(Pval,entry," / ");}
    if(line[0]=='D') {processvals(Dval,entry," / ");}
    if(line[0]=='S') {processvals(Sval,entry,", ");}

    if(line[0] == '\0' || currentline == lines)
    {

    sql = "INSERT INTO CREDITS (name,email,web,pgp,description,address) "
    "VALUES (?,?,?,?,?,?);";
    sqlite3_prepare_v2(db, sql, 2048, &stmt, NULL);
    if(stmt != NULL) {

    sqlite3_bind_text(stmt, 1, Nval, strlen(Nval), SQLITE_TRANSIENT);
    sqlite3_bind_text(stmt, 2, Eval, strlen(Eval), SQLITE_TRANSIENT);
    sqlite3_bind_text(stmt, 3, Wval, strlen(Wval), SQLITE_TRANSIENT);
    sqlite3_bind_text(stmt, 4, Pval, strlen(Pval), SQLITE_TRANSIENT);
    sqlite3_bind_text(stmt, 5, Dval, strlen(Dval), SQLITE_TRANSIENT);
    sqlite3_bind_text(stmt, 6, Sval, strlen(Sval), SQLITE_TRANSIENT);

    sqlite3_step(stmt);
    sqlite3_finalize(stmt);

    memset(entry,'\0',sizeof entry);
    memset(Nval,'\0',sizeof Nval);
    memset(Eval,'\0',sizeof Eval);
    memset(Wval,'\0',sizeof Wval);
    memset(Pval,'\0',sizeof Pval);
    memset(Dval,'\0',sizeof Dval);
    memset(Sval,'\0',sizeof Sval);

    }
    }
    }
    fclose(fin);
    rc = sqlite3_exec(db, "COMMIT;", 0, 0, &error_msg);


    //print rows in table
    sql = "SELECT * FROM CREDITS ORDER BY nameID";
    rc = sqlite3_exec(db, sql, callback, 0, &error_msg);


    //count rows in table
    sql = "SELECT COUNT(*) FROM CREDITS;";
    rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL);
    rc = sqlite3_step(stmt);
    int rows = sqlite3_column_int(stmt, 0);

    //finish
    sqlite3_finalize(stmt);
    sqlite3_close(db);
    printf("Done. %d records were posted to SQLite database '%s'\n",rows,dbname);

    //version
    printf("running SQLite %s\n", sqlite3_libversion());

    return 0;
    }

    ======================================================================

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Yaxley Peaks on Wed Mar 20 22:53:54 2024
    On Wed, 20 Mar 2024 18:46:59 +0530, Yaxley Peaks wrote:

    Embrace purely functional programming!

    Purely-functional programming’s dirty little secret is that I/O cannot be expressed in a purely-functional way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Nuxxie on Wed Mar 20 22:52:06 2024
    On Wed, 20 Mar 2024 11:31:34 +0000, Nuxxie wrote:

    What is programming?

    Programming is the building of higher-level machines on top of lower-level ones.

    I say “machine” in the general, abstract sense, not necessarily a piece of hardware you can kick.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lamentable Larry on Wed Mar 20 19:54:29 2024
    On 3/20/2024 7:31 AM, Lamentable Larry wrote:


    What is programming? Programming is the controlling of a digital computer. That's all.

    Therefore, in order to program one must first learn about the machine. One must first learn about logic gates, Boolean algebra, etc. Then one must learn machine language instructions.

    After this, one can, for the sake of convenience, proceed to "higher
    level" abstractions, i.e. a language like C. But any of these high
    level languages do not actually control the machine. These abstractions
    must be processed by compilers to produce actual machine-control instructions.

    Unfortunately, a lot (most?) so called programmers know very little about digital hardware.

    When I first took CompSci 101, I already had a deep background in assembly and I watched as the other students, who didn't have this background, stumbled over such things as character case conversions and pointers.

    C is fairly low level. It does not completely obliterate the machine.
    But other languages have succeeded to totally obscure the hardware and
    it is these languages that are the most popular.

    Which is proof that your claim "in order to program one must first learn
    about the machine." is nuts.


    In fact, most programmers
    don't program. They will use frameworks that literally produce the code
    for them. (They'll get paid big bucks until the framework falls out of fashion. Then they'll end up at McDonalds because they have no REAL programing skills.)

    You can't possibly believe such ignorant drooling. You've said similar
    things many times, but it's a troll, right?


    In conclusion:

    Learn the machine and learn assembly. Then proceed to the conventional abstract languages.

    Quit giving out bad advice like this.

    Assembly will scare off most people. It's far too tedious and
    time-consuming.

    Just learn Python and C side-by-side. Write a routine in one and
    duplicate it in the other. It's enjoyable and educational.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Wed Mar 20 19:58:32 2024
    On 3/20/2024 6:40 PM, Physfitfreak wrote:

    For now, I've made my mind,
    and even have started the "learning curve" if such a thing exists for
    qb64 :-)))

    That'll do fine for baby problems, which I'm going to continue posting
    to sci.physics as a blog.


    Well, the good news is you do look like a baby code monkey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Wed Mar 20 19:15:29 2024
    On 3/20/2024 6:40 PM, Physfitfreak wrote:


    Hmm... I'm not that dedicated to the task. For now, I've made my mind,
    and even have started the "learning curve" if such a thing exists for
    qb64 :-)))

    BAD choice.



    That'll do fine for baby problems

    Baby problems for baby monkeys.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Thu Mar 21 04:49:50 2024
    On Wed, 20 Mar 2024 18:20:52 -0400, DFS wrote:

    On 3/20/2024 12:23 AM, rbowman wrote:
    On Tue, 19 Mar 2024 22:55:03 -0400, DFS wrote:


    To run it:

    1) install Python

    2) install PyQt 5

    I've been using PySide6.

    Work or play?


    Play. Any work Python was ArcPy and I never had need for a GUI.

    https://pro.arcgis.com/en/pro-app/3.1/arcpy/get-started/what-is-arcpy-.htm

    If I were to use it I would have to use PySide6. That goes back to the
    original days of Trolltech. We looked at QT as a possible replacement for
    the Motif GUIs but it would have taken at least 6 Philadelphia lawyers to unravel their commercial license.

    https://www.pythonguis.com/faq/pyqt5-vs-pyside2/

    That's a little dated since it talks about PySide2. There was a lag but
    PySide6 is up to speed. The relevant portion, and this applies to other
    areas:

    "If you are planning to release your software itself under the GPL, or you
    are developing software which will not be distributed, the GPL requirement
    of PyQt5 is unlikely to be an issue. However, if you plan to distribute
    your software without distributing the source you will either need to
    purchase a commercial license from Riverbank for PyQt5 or use PySide2.

    The LGPL license does not require you to share the source code of your own applications, even if they are bundled with PySide2. You only need to
    ensure that the source code covered by the LGPL is made available,
    including modifications you have made to it, if any. In normal use there
    will not be any modifications and the standard distributions of PySide2/
    Qt5 source code will already cover this for you."

    GPL is the kiss of death for anyone developing proprietary software.
    Stallman's licensing requires not 6 but 12 Philadelphia lawyers. I've said
    it before but if professional programmers don't use it, they are not going
    to find bugs that they will report back upstream.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Thu Mar 21 06:01:16 2024
    On Wed, 20 Mar 2024 19:54:29 -0400, DFS wrote:

    Just learn Python and C side-by-side. Write a routine in one and
    duplicate it in the other. It's enjoyable and educational.

    Side by side Python and C# is educational too. The initial implementation
    as in Python, a simple query of the iTunes API. I grabbed the artist,
    track, and time and put them in a class. Sorting was awkward since I
    didn't want the time to be used.

    When I moved to C# I created a similar class using the IEquitable and IComparable interfaces that allowed me to define Equals and CompareTo to
    only take into account some of the instance attributes.

    Going back to Python, how could I do the same. The answer was dunders.

    class Item:
    def __init__(self, artist, track, time):
    self.artist = artist
    self.track = track
    self.time = time

    def __eq__(self, other):
    if (
    self.artist.casefold() == other.artist.casefold()
    and self.track.casefold() == other.track.casefold()
    ):
    return True
    else:
    return False

    def __lt__(self, other):
    return self.artist < other.artist or self.track < other.track

    def __gt__(self, other):
    return self.artist > other.artist or self.track > other.track


    So Python allowed me to rapidly develop the basic algorithm that I could
    easily implement in C#. Knowing C# a little better I had something to
    bring back to learn a new trick in Python.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Thu Mar 21 05:36:18 2024
    On Wed, 20 Mar 2024 18:31:00 -0400, DFS wrote:

    After I learned enough python, I started working on the same problems
    with C. C executes 5x to 10x faster than Python, but requires 3x to 5x
    the amt of time and code. Note: you will NEVER recoup the extra C development time with savings in program execution time.

    To quote Kenny Rodgers (Don Schiltz actually) you've got to know when to
    hold them and when to fold them. A common mistake is worrying too much
    about optimization early in the development cycle.

    While I agree on the volume as measured by lines of code I'm not sure
    about the time, particularly when you have an established codebase.

    url = f" https://itunes.apple.com/search?term={term} &media=music&limit={self.limit}"
    response = requests.get(url).json()
    list = []
    for result in response["results"]:

    does a lot in four lines. I'm looking at some C code using the OpenSSL
    library to connect to a host/port, do a HTTPS transaction. and return the result. There's a generous amout of error checking and handling and it's
    84 lines rather than 1.

    BUT. amd this is the big but, like whoever developed the Python requests package I wrote the code a long time ago. It's in a file called http.c strangely enough. Include the file and the 84 lines becomes

    static char* https_send(char* msg);

    As the static implies that function isn't directly called. There are other entry points that build the HTTP header as required, figure out the ContentLength and so forth,

    The real time spent is figuring out what you want to do or to put it in
    geek speak, developing the necessary algorithms and data structures.

    I've been reading

    https://www.amazon.com/Python-Tricks-Buffet-Awesome-Features/dp/1775093301

    The sniipets aren't long but he goes into list comprehension, decorators,
    some of the more obscure dunders, setting up classes with class variables, instance variables, and static functions using decorators, why you might
    want to do so, and how they work.

    The section I'm on now is Common Data Structures in Python. Every Python programmer knows what a list is, but how does it work? Is it a linked
    list, and array, or what? Again in C linked lists of structs are common.
    They don't have the nice neat look of Python but I can build single or
    doubly linked lists, insert or remove elements, set up sorting and so
    forth in my sleep. If there isn't boilerplate I can cut'n'paste' the time
    to implement one depends on my typing speed. The same can be said for C++ containers; if you know how to do it in C, it comes down to typing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Mar 21 06:04:13 2024
    On 21 Mar 2024 05:36:18 GMT, rbowman wrote:

    I'm looking at some C code using the OpenSSL
    library to connect to a host/port, do a HTTPS transaction. and return
    the result. There's a generous amout of error checking and handling and
    it's 84 lines rather than 1.

    You can do it in Python, leave most of the error checking to the default settings, and end up with maybe a dozen lines of code.

    The sniipets aren't long but he goes into list comprehension,
    decorators, some of the more obscure dunders, setting up classes with
    class variables,
    instance variables, and static functions using decorators, why you might
    want to do so, and how they work.

    Does he mention descriptors? They are rather key to understanding how instance/class/static method dispatching works (and properties).

    Does he talk about metaclasses? There is one use of them in the standard library (that I’m aware of), and I recently came up with another one.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Nuxxie on Thu Mar 21 05:46:14 2024
    On Wed, 20 Mar 2024 11:31:34 +0000, Nuxxie wrote:

    Therefore, in order to program one must first learn about the machine.
    One must first learn about logic gates, Boolean algebra, etc. Then one
    must learn machine language instructions.

    In order to drive a car you must first know how to tune a Quadrajet after you've installed a high lift Iskendarian camshaft and Edelbrock headers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Nuxxie on Thu Mar 21 06:09:55 2024
    On Wed, 20 Mar 2024 11:04:04 +0000, Nuxxie wrote:

    Since I learned assembly language way before anything else Perl is the
    more natural language for me. OO tends to appeal to those who can't see
    the machine.

    https://www.goodreads.com/quotes/229780-real-programmers-can-write- assembly-code-in-any-language

    “Real programmers can write assembly code in any language.”
    ― Larry Wall

    He must have said that before Java. When I was first learning Java my
    'hello world' project was a simple AVR assembler. Boy did that suck...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Mar 21 06:22:08 2024
    On 21 Mar 2024 06:09:55 GMT, rbowman wrote:

    “Real programmers can write assembly code in any language.”
    ― Larry Wall

    The original saying was actually “Real Programmers can write FORTRAN in
    any language”. This came from a famous item in “Datamation” magazine, entitled “Real Programmers Don’t Eat Quiche”. It kind of went viral, only we didn’t have the term then. It got photocopied a lot and stuck on office doors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Thu Mar 21 06:22:20 2024
    On Wed, 20 Mar 2024 08:30:47 -0400, Chris Ahlstrom wrote:

    I showed the manager/programmer a book I'd bought on video processing.
    It showed sample assembler code using C function-calling conventions
    (push bp; mov bp,sp; add stack size to bp; run code; pop bp IIRC). He
    called the code "obtuse". :-D

    He should have seen some of the early hacks. With the early monitors you
    had to look in the bit pattern for each character in the character ROM.

    https://www.atariarchives.org/cgp/Ch02_Sec04.php

    As the article say there are hardware solutions but you can also use a microprocessor. The problem is you have the horizontal retrace time to get
    the line ready and then you had to pump it out. The trick with the 8085
    was to use push and pop which executed faster than the MOV instructions.

    Building a stack frame is pretty basic.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Mar 21 06:31:57 2024
    On 21 Mar 2024 06:29:02 GMT, rbowman wrote:

    I could see the logic and
    how it worked although my brain kept asking 'why would anyone in their
    right mind do it this way?'

    Try doing it in some more conventional language like Java or C♯, and you
    will soon appreciate some of the wonders of the Lisps.

    Oh, by the way, there is a JavaScript edition available now, created at
    the National University of Singapore.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Thu Mar 21 06:32:00 2024
    On Wed, 20 Mar 2024 22:53:54 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On Wed, 20 Mar 2024 18:46:59 +0530, Yaxley Peaks wrote:

    Embrace purely functional programming!

    Purely-functional programming’s dirty little secret is that I/O cannot
    be expressed in a purely-functional way.

    Hence 'common lisp'. Lisp descended from the rarefied atmosphere of
    academia to mingle with the commoners that wanted to actually do something
    with their dirty little paws.

    The original Pascal was only good for telling itself secrets before hoi
    polloi got their mitts on it too.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Thu Mar 21 06:51:21 2024
    On Thu, 21 Mar 2024 06:22:08 -0000 (UTC), I wrote:

    This came from a famous item in “Datamation” magazine,
    entitled “Real Programmers Don’t Eat Quiche”.

    Sorry, not quite. The article was entitled “Real Programmers Don’t Use Pascal”, and it was a sendup of a book that was doing the rounds at the
    time, called “Real Men Don’t Eat Quiche”.

    Obviously because Pascal was considered the programming-language
    equivalent of quiche.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Mar 21 06:23:45 2024
    On 21 Mar 2024 06:01:16 GMT, rbowman wrote:

    Sorting was awkward since I didn't want the time to be used.

    You didn’t notice that Python’s sorting functions allow you to specify a callback function to define the sort key?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Yaxley Peaks on Thu Mar 21 06:29:02 2024
    On Wed, 20 Mar 2024 18:46:59 +0530, Yaxley Peaks wrote:

    This is why the only acceptable language to use is lean4. Embrace purely dysfunctional programming!

    I fixed your typo. I spent a long cold winter working my way through
    'Structure and Interpretation of Computer Programs', aka The Wizard Book,
    that used Scheme. It was educational in a way. I could see the logic and
    how it worked although my brain kept asking 'why would anyone in their
    right mind do it this way?'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Thu Mar 21 08:54:25 2024
    On Wed, 20 Mar 2024 17:40:34 -0500, Physfitfreak wrote:


    Hmm... I'm not that dedicated to the task. For now, I've made my mind,
    and even have started the "learning curve" if such a thing exists for
    qb64 :-)))


    Don't listen to those incompetent chumps. Learning about hardware
    first is critical.

    The classic example is recursion. In the abstract realm recursion
    seems highly efficient and elegant. But such elegance has to ultimately
    be translated into machine code and, at this level, recursion becomes
    highly inefficient and even idiotic.

    It has long ago been proved that all programming can be reduced to
    the simple ideas of SEQUENCE and BRANCHING. Indeed, if you examine
    the instruction set of a modern CPU that is ALL that you will find:
    sequence and branching (aside from the arithmetic-logic unit).

    Fundamental CPU operations are very simple: arithmetic, logic, and
    shift. But from these everything else can be built.

    You already know the arithmetic (or most of it). So start with
    the logic tables:

    AND
    0 and 0 = 0
    0 and 1 = 0
    1 and 0 = 0
    1 and 1 = 1

    OR
    0 or 0 = 0
    0 or 1 = 1
    1 or 0 = 1
    1 or 1 = 1

    XOR
    0 xor 0 = 0
    0 xor 1 = 1
    1 xor 0 = 1
    1 xor 1 = 0

    These logic operations are used in making decisions that
    allow branching, bit conversions, and many other crucial
    operations.

    How can we know that an ASCII character is uppercase?

    char AND 0x20

    If the zero condition flag is set then the character is
    uppercase. We can then branch based on the condition flag.

    Very simple.

    Know these by heart.

    This ends today's lesson.

    There is only one programming philosophy: fuck that abstract
    elegant shit and get back to the machine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Thu Mar 21 10:36:35 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Wed, 20 Mar 2024 22:53:54 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On Wed, 20 Mar 2024 18:46:59 +0530, Yaxley Peaks wrote:

    Embrace purely functional programming!

    Purely-functional programming’s dirty little secret is that I/O cannot
    be expressed in a purely-functional way.

    Hence 'common lisp'. Lisp descended from the rarefied atmosphere of
    academia to mingle with the commoners that wanted to actually do something with their dirty little paws.

    The original Pascal was only good for telling itself secrets before hoi polloi got their mitts on it too.

    The original Pascal was "Wirthless" :-D

    Turbo Pascal was better, but I really got into Turbo C.

    --
    You are going to have a new love affair.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Thu Mar 21 10:45:13 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On 21 Mar 2024 06:29:02 GMT, rbowman wrote:

    I could see the logic and
    how it worked although my brain kept asking 'why would anyone in their
    right mind do it this way?'

    Try doing it in some more conventional language like Java or C♯, and you will soon appreciate some of the wonders of the Lisps.

    Oh, by the way, there is a JavaScript edition available now, created at
    the National University of Singapore.

    A long time ago, I owned a copy of Cakewalk (first the DOS version, then
    the Windoze GUI). The Cakewalk Application Language (CAL) was very Lispy. I wrote macros to simulate pitchbend, for example.

    --
    You will be run over by a beer truck.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Farley Flud on Thu Mar 21 20:37:12 2024
    On Thu, 21 Mar 2024 08:54:25 +0000, Farley Flud wrote:

    You already know the arithmetic (or most of it). So start with
    the logic tables:

    And how do you apply those logical operators to more than two operands?

    You expand them out ... recursively.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Thu Mar 21 20:39:31 2024
    On Thu, 21 Mar 2024 10:45:13 -0400, Chris Ahlstrom wrote:

    The Cakewalk Application Language (CAL) was very
    Lispy.

    Was it like Autolisp, in making you suffer the Lisp syntax without the
    cool stuff like AST-based macros and lexical binding? In short, the worst
    of both worlds?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Thu Mar 21 20:38:39 2024
    On Thu, 21 Mar 2024 10:36:35 -0400, Chris Ahlstrom wrote:

    Turbo Pascal was better ...

    One of many dialects in the UCSD Pascal family. That was very popular in
    the micro world, in preference to ISO Pascal.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Thu Mar 21 18:14:49 2024
    On 3/19/2024 7:47 PM, Physfitfreak wrote:

    I think, if I had not relied on COLA to provide help on these matters,
    by now, I'd be months into fruitful learning of ... probably C++ and
    into several exciting programming projects.


    This might be interesting. It's got tons of C++ examples.

    https://www.jjj.de/fxt/fxtbook.pdf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 01:46:48 2024
    On Thu, 21 Mar 2024 06:04:13 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 21 Mar 2024 05:36:18 GMT, rbowman wrote:

    I'm looking at some C code using the OpenSSL library to connect to a
    host/port, do a HTTPS transaction. and return the result. There's a
    generous amout of error checking and handling and it's 84 lines rather
    than 1.

    You can do it in Python, leave most of the error checking to the default settings, and end up with maybe a dozen lines of code.

    Yes you can, but my point was somebody else did all the grunt work to
    allow you to do it in a few lines of Python. TANSTAAFL. The further point
    is after you've done it once in C you now have a file or library that
    allows you to do the same in a few lines of C unless you insist on
    reinventing the wheel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 01:55:29 2024
    On Thu, 21 Mar 2024 06:04:13 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Does he mention descriptors? They are rather key to understanding how instance/class/static method dispatching works (and properties).

    Yes. He also stresses that Python classes depend on a tacit agreement for everyone to play nice.


    Does he talk about metaclasses? There is one use of them in the standard library (that I’m aware of), and I recently came up with another one.

    He hasn't yet. They are another bit of Python magic that most people
    should leave well alone. That's another of the recurring themes.
    'Sometimes you can do this and it really makes sense. Most of the times it doesn't so use it sparingly.) That's refreshing after some of the C++ tutorials that lead you to believe you have to use every obscure feature
    every time.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 01:43:02 2024
    On Thu, 21 Mar 2024 06:31:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 21 Mar 2024 06:29:02 GMT, rbowman wrote:

    I could see the logic and how it worked although my brain kept asking
    'why would anyone in their right mind do it this way?'

    Try doing it in some more conventional language like Java or C♯, and you will soon appreciate some of the wonders of the Lisps.

    No, I would not. As I worked through the exercises I was mentally
    calculating how I would do it in C. Lisp is very much an acquired taste.
    If you want to talk about lexical oddities, there's the 73 stacked up
    parens. Vim will match them up but still... Then there is 'car' and 'cdr' which iirc were assembler instructions on a computer that was last seen in
    an archaeological dig next to a partial brontosaurus skull.

    I shouldn't be so snotty. After all I used Forth back in the day and
    threaded interpreted languages are a wonder to behold. I met Chuck Moore
    at a Forth conference and if you've done that you can understand the
    language.

    https://colorforth.github.io/bio.html

    He learned Lisp and it damaged him for life.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 02:00:43 2024
    On 22 Mar 2024 01:58:50 GMT, rbowman wrote:

    On Thu, 21 Mar 2024 06:23:45 -0000 (UTC), Lawrence D'Oliveiro wrote:

    You didn’t notice that Python’s sorting functions allow you to specify >> a callback function to define the sort key?

    I make no claims to being a Python expert.

    OK, but reading the docs <https://docs.python.org/3/library/functions.html#sorted> helps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Fri Mar 22 02:08:05 2024
    On Thu, 21 Mar 2024 10:36:35 -0400, Chris Ahlstrom wrote:


    Turbo Pascal was better, but I really got into Turbo C.

    I bought Turbo Pascal for CP/M when it first came out. How could you go
    wrong for $50? I thought it was broken after the first hello world
    experiment since I was used to the leisurely BDS C compilations.

    I never did get Turbo C but I did get the C++/OWL IDE. I liked it and in
    the early '90s it wasn't clear Microsoft was going to be the 800 pound
    gorilla. I wasn't that fond of MFC but what are you going to do? In their defense a C++ standard was years in the future so they rolled their own.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 02:06:08 2024
    On 22 Mar 2024 01:43:02 GMT, rbowman wrote:

    As I worked through the exercises I was mentally
    calculating how I would do it in C.

    C doesn’t put call frames on the heap, or even allow nested functions
    (as standard), so I don’t know how you would handle closures.

    If you want to talk about lexical oddities, there's the 73 stacked up
    parens.

    I keep them straight by indentation, e.g.

    (defun convert-to-region-codes (beg end)
    "converts alphabetic characters in the selection to “region indicator symbols”."
    (interactive "*r")
    (unless (use-region-p)
    (ding)
    (keyboard-quit)
    ) ; unless
    (let
    (
    deactivate-mark
    (intext (delete-and-extract-region beg end))
    c
    )
    (dotimes (i (- end beg))
    (setq c (elt intext i))
    (cond
    ((and (>= c ?A) (<= c ?Z))
    (setq c (+ (- c ?A) #x1F1E6))
    )
    ((and (>= c ?a) (<= c ?z))
    (setq c (+ (- c ?a) #x1F1E6))
    )
    ) ; cond
    (insert-char c)
    ) ; dotimes
    ) ; let
    ) ; convert-to-region-codes

    What makes this sort of idiosyncrasy worthwhile is a thing called “homoiconicity”. It’s a pretty cool feature, though not obvious at
    first sight.

    I shouldn't be so snotty.

    No problem. Your impressions are all too common among those new to
    Lisp.

    After all I used Forth back in the day and threaded interpreted
    languages are a wonder to behold.

    Now there is something that is nowadays only fit to be in a museum ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 02:08:42 2024
    On 22 Mar 2024 01:46:48 GMT, rbowman wrote:

    Yes you can, but my point was somebody else did all the grunt work to
    allow you to do it in a few lines of Python. TANSTAAFL.

    That “lunch” cost somebody, say, $1,000 of their time to create. As Open Source, it can be reused by a million people. Divide up the cost by that factor, and you see that it comes as close to free as to be rounding
    error.

    In economics, there is this distinction between “fixed cost” and “marginal
    cost”. The “marginal cost” of Open Source software is essentially zero.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 01:58:50 2024
    On Thu, 21 Mar 2024 06:23:45 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 21 Mar 2024 06:01:16 GMT, rbowman wrote:

    Sorting was awkward since I didn't want the time to be used.

    You didn’t notice that Python’s sorting functions allow you to specify a callback function to define the sort key?

    I make no claims to being a Python expert. Despite using it for years I am
    not trying to learn the nuances. Most of my Python has been Esri's ArcPy.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 02:09:32 2024
    On 22 Mar 2024 01:55:29 GMT, rbowman wrote:

    [Metaclasses] are another bit of Python magic that most people
    should leave well alone.

    Look at how the standard-library “enum” module uses them. Quite instructive.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 02:16:24 2024
    On Thu, 21 Mar 2024 06:51:21 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Sorry, not quite. The article was entitled “Real Programmers Don’t Use Pascal”, and it was a sendup of a book that was doing the rounds at the time, called “Real Men Don’t Eat Quiche”.

    Obviously because Pascal was considered the programming-language
    equivalent of quiche.

    Pascal was good for my bottom line. The University of Maine used it for a didactic language and Sprague Electric's tantalum capacitor operation in Sanford ME preferred to hire UM engineers. Whatever its didactic benefits Pascal wasn't great at process control. I'm having a senior moment over
    the correct Pascal terminology but I developed ddl's that could talk to
    real world machinery and instrumentation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Fri Mar 22 02:42:17 2024
    On Thu, 21 Mar 2024 21:01:30 -0500, Physfitfreak wrote:

    Any idea why IMP behaves like that?

    Implication: if A implies B, it doesn’t follow that B implies A. Hence B
    can be true without A being true.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 08:38:35 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Thu, 21 Mar 2024 10:45:13 -0400, Chris Ahlstrom wrote:

    The Cakewalk Application Language (CAL) was very
    Lispy.

    Was it like Autolisp, in making you suffer the Lisp syntax without the
    cool stuff like AST-based macros and lexical binding? In short, the worst
    of both worlds?

    Dunno. I suspect Greg Hendershott used basic Lisp syntax because it was easy to code.

    --
    Just because the message may never be received does not mean it is
    not worth sending.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Mar 22 08:44:30 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Thu, 21 Mar 2024 06:31:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 21 Mar 2024 06:29:02 GMT, rbowman wrote:

    I could see the logic and how it worked although my brain kept asking
    'why would anyone in their right mind do it this way?'

    Try doing it in some more conventional language like Java or C♯, and you >> will soon appreciate some of the wonders of the Lisps.

    No, I would not. As I worked through the exercises I was mentally
    calculating how I would do it in C. Lisp is very much an acquired taste.
    If you want to talk about lexical oddities, there's the 73 stacked up
    parens. Vim will match them up but still... Then there is 'car' and 'cdr' which iirc were assembler instructions on a computer that was last seen in
    an archaeological dig next to a partial brontosaurus skull.

    I shouldn't be so snotty. After all I used Forth back in the day and
    threaded interpreted languages are a wonder to behold. I met Chuck Moore
    at a Forth conference and if you've done that you can understand the language.

    When I worked at the VA, we had a fancy audiometer that had Forth built into it.

    Later, I used a MIDI editor for the Atari ST, called "EditTrack", which I believe was written in Forth. I met the authors at small Atari Convention
    in North Hollywood. (Also saw IIRC Paul Haslinger showing off some music from "Risky Business", and a talk by a tall, dour Mick Fleetwood.)

    https://colorforth.github.io/bio.html

    He learned Lisp and it damaged him for life.

    --
    So she went into the garden to cut a cabbage leaf to make an apple pie;
    and at the same time a great she-bear, coming up the street pops its head
    into the shop. "What! no soap?" So he died, and she very imprudently
    married the barber; and there were present the Picninnies, and the Grand Panjandrum himself, with the little round button at top, and they all
    fell to playing the game of catch as catch can, till the gunpowder ran
    out at the heels of their boots.
    -- Samuel Foote

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Mar 22 09:01:19 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Thu, 21 Mar 2024 10:36:35 -0400, Chris Ahlstrom wrote:


    Turbo Pascal was better, but I really got into Turbo C.

    I bought Turbo Pascal for CP/M when it first came out. How could you go
    wrong for $50? I thought it was broken after the first hello world
    experiment since I was used to the leisurely BDS C compilations.

    I never did get Turbo C but I did get the C++/OWL IDE. I liked it and in
    the early '90s it wasn't clear Microsoft was going to be the 800 pound gorilla. I wasn't that fond of MFC but what are you going to do? In their defense a C++ standard was years in the future so they rolled their own.

    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/

    The author of this Microsoft book crowed and crowed about how they kicked Borland's ass.

    --
    Your business will assume vast proportions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Mar 22 08:58:36 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Thu, 21 Mar 2024 06:04:13 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Does he mention descriptors? They are rather key to understanding how
    instance/class/static method dispatching works (and properties).

    Yes. He also stresses that Python classes depend on a tacit agreement for everyone to play nice.


    Does he talk about metaclasses? There is one use of them in the standard
    library (that I’m aware of), and I recently came up with another one.

    He hasn't yet. They are another bit of Python magic that most people
    should leave well alone. That's another of the recurring themes.
    'Sometimes you can do this and it really makes sense. Most of the times it doesn't so use it sparingly.) That's refreshing after some of the C++ tutorials that lead you to believe you have to use every obscure feature every time.

    I always follow the advice of Bjarne Stroupstrup and Scott Meyers.

    --
    You will be recognized and honored as a community leader.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Fri Mar 22 14:18:18 2024
    On Thu, 21 Mar 2024 21:01:30 -0500, Physfitfreak wrote:


    IMP
    0 IMP 0 = 1
    0 IMP 1 = 1
    1 IMP 0 = 0
    1 IMP 1 = 1

    How can that be explained?...

    IMP, or implication, is not a bit-level operator and it
    never occurs in machine language.

    At the assembly (machine) level, we deal only in bits
    and their assemblages, i.e. bytes, words.

    But I now see the futility of it all.

    If you want to learn to program then start with a
    beginners language like BASIC and then research any
    hardware topics as they may come along.

    C is one step up from assembly.

    C++ is high-level abstraction and is a terrible language
    both for learning and for applications.

    Programming is the control of the computer.

    I'd love to see these C++/Python/Whatever jockeys attempt
    to control a nuclear power plant or a military fighter
    aircraft with their piddling "classes." They would only
    recoil in horror.

    For these ultimate applications only machine language can
    do the job.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Pathetic Piet on Fri Mar 22 11:09:28 2024
    On 3/22/2024 10:18 AM, Pathetic Piet wrote:


    I'd love to see these C++/Python/Whatever jockeys attempt
    to control a nuclear power plant or a military fighter
    aircraft with their piddling "classes." They would only
    recoil in horror.
    bad strawman, Feeb.

    From what I've read, lots of avionics, RTOS and embedded code is
    written in C++ (and Ada).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Fri Mar 22 17:31:33 2024
    On Fri, 22 Mar 2024 08:44:30 -0400, Chris Ahlstrom wrote:

    When I worked at the VA, we had a fancy audiometer that had Forth built
    into it.

    Later, I used a MIDI editor for the Atari ST, called "EditTrack", which
    I believe was written in Forth. I met the authors at small Atari
    Convention in North Hollywood. (Also saw IIRC Paul Haslinger showing
    off some music from "Risky Business", and a talk by a tall, dour Mick Fleetwood.)

    Forth had it's uses. The core language with its RPN and heavily stack
    oriented approach was arcane. However you could develop a domain specific
    set of words so what the user typed in was very close to a natural
    language sentence. They didn't have to know about the sausage factory underneath.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Mar 22 17:23:39 2024
    On Fri, 22 Mar 2024 02:06:08 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 22 Mar 2024 01:43:02 GMT, rbowman wrote:

    As I worked through the exercises I was mentally calculating how I
    would do it in C.

    C doesn’t put call frames on the heap, or even allow nested functions
    (as standard), so I don’t know how you would handle closures.

    You don't. You look at the task at hand and figure out how you would get
    the same result in C, not try to follow Lisp's technique.

    A vast amount of software has been written with imperative programming.
    Even the languages that eventually added lambdas and such got along for
    years without the concepts.

    I'm not saying the task can't be accomplished with functional programming,
    only that it does not have to be done with a functional language.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Fri Mar 22 17:42:18 2024
    On Fri, 22 Mar 2024 08:58:36 -0400, Chris Ahlstrom wrote:

    I always follow the advice of Bjarne Stroupstrup and Scott Meyers.

    I haven't seen the latest edition of 'The C++ Programming Language' but
    the edition I have looks a lot like C. With classes of course :)

    Part of the problem was many of the early C++ books were based on the
    Microsoft implementation, bought into Hungarian notation, and went
    overboard with what you could do leading people to believe they should do
    it all the time, if that makes sense. And the dog says 'woof' unless he's
    a doberman that says 'grrrr'.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Fri Mar 22 17:49:58 2024
    On Fri, 22 Mar 2024 11:09:28 -0400, DFS wrote:

    On 3/22/2024 10:18 AM, Pathetic Piet wrote:


    I'd love to see these C++/Python/Whatever jockeys attempt to control a
    nuclear power plant or a military fighter aircraft with their piddling
    "classes." They would only recoil in horror.
    bad strawman, Feeb.

    From what I've read, lots of avionics, RTOS and embedded code is
    written in C++ (and Ada).

    Yeah, the F-35 software must be written in Ada :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Fri Mar 22 17:47:14 2024
    On Fri, 22 Mar 2024 09:01:19 -0400, Chris Ahlstrom wrote:

    https://www.oreilly.com/library/view/dynamics-of-software/
    9780735623194/

    The author of this Microsoft book crowed and crowed about how they
    kicked Borland's ass.


    "Publisher(s): Microsoft Press" Imagine that! It pains me to say it but
    MS has gotten much more civilized over the years.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Mar 22 14:21:24 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Fri, 22 Mar 2024 08:58:36 -0400, Chris Ahlstrom wrote:

    I always follow the advice of Bjarne Stroupstrup and Scott Meyers.

    I haven't seen the latest edition of 'The C++ Programming Language' but
    the edition I have looks a lot like C. With classes of course :)

    C plus classes, templates, operator overloading, move constructors,
    range-based for loops, lambdas, namespaces, containers, threads and mutexes, promises and futures...

    Part of the problem was many of the early C++ books were based on the Microsoft implementation, bought into Hungarian notation, and went
    overboard with what you could do leading people to believe they should do
    it all the time, if that makes sense. And the dog says 'woof' unless he's
    a doberman that says 'grrrr'.

    Imma hate those hungarian "warts".

    --
    Always do right. This will gratify some people and astonish the rest.
    -- Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Fri Mar 22 15:42:10 2024
    On 3/22/2024 1:49 PM, rbowman wrote:
    On Fri, 22 Mar 2024 11:09:28 -0400, DFS wrote:

    On 3/22/2024 10:18 AM, Pathetic Piet wrote:


    I'd love to see these C++/Python/Whatever jockeys attempt to control a
    nuclear power plant or a military fighter aircraft with their piddling
    "classes." They would only recoil in horror.
    bad strawman, Feeb.

    From what I've read, lots of avionics, RTOS and embedded code is
    written in C++ (and Ada).

    Yeah, the F-35 software must be written in Ada :)

    That's what "they" say:


    "Which programming languages were used in F-22 and F-35 projects? ------------------------------------------------------------------------- "Boeing used to require Ada for all avionics in their jets. Since the
    military also required Ada, it became the predominant language in
    avionics. Ada was a good choice because reliability could be guaranteed
    and it was efficient (in some cases, more efficient than C). That
    changed in the 90’s because Ada was not as popular as some other
    languages and so the compilers and other tools were expensive and the
    software engineers were fewer and more expensive."

    "According to online sources, the F 35 is programmed in C and C++
    because of programmer availability. This was also possibly reused from
    F-22. The international standard to program jet fighters is Ada, which
    was used in the F-22."

    "If you mean onboard avionics and guidance systems, a lot of Ada is
    used, particularly by the US military, and C and numerous “specialty” languages would also be used."

    "While there are some exceptions, almost all USAF and NATO guidance and
    control systems are written in Ada, a structured, statically typed
    ALGOL-like language that supports concurrency and message passing."

    -------------------------------------------------------------------------

    https://www.quora.com/What-is-the-programming-language-used-in-fighter-jets

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Fri Mar 22 21:04:54 2024
    On Thu, 21 Mar 2024 21:01:30 -0500, Physfitfreak wrote:


    IMP
    0 IMP 0 = 1
    0 IMP 1 = 1
    1 IMP 0 = 0
    1 IMP 1 = 1

    How can that be explained?...


    You must understand the "math" of logic.

    A => B is equivalent to "~A OR B" (~ is negation)

    The negation (falsification) of this is "A AND ~B"

    You can play around with this by considering the statements:

    A = "If it is raining"

    B = "The sky is cloudy"

    The only way that A => B is false is if A is true and B
    is false.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Fri Mar 22 23:07:55 2024
    On Fri, 22 Mar 2024 14:21:24 -0400, Chris Ahlstrom wrote:

    C plus classes, templates, operator overloading, move constructors, range-based for loops, lambdas, namespaces, containers, threads and
    mutexes,
    promises and futures...

    https://en.cppreference.com/w/cpp/language/history

    Sooner or later... For example I was using pthreads in C years before C+
    +11 added std:thread. I believe C++11 was also when everyone came down
    with lambda envy and they were added. Containers/STL/Standard Library was
    a bumpy ride.

    It's a good thing C++ has evolved but depending on when you started using
    C++ it looked a lot like C with some lipstick on a struct.

    I'm way out of date on C++. Most of what I've done was related to the Esri ArcObjects API which was heavy into COM. I can't remember the last time I
    had a standalone C++ project.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 23:19:34 2024
    On 22 Mar 2024 23:16:20 GMT, rbowman wrote:

    I had an interview in San Diego that wound down rapidly when he asked
    'Do you know WXYZ?' and I said 'No.'

    It was a trick question. Aren’t TV stations beginning with “W” supposed to
    be from the East side of the USA? And ones on the West side begin with
    “K”?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Fri Mar 22 23:16:20 2024
    On Fri, 22 Mar 2024 15:42:10 -0400, DFS wrote:

    "If you mean onboard avionics and guidance systems, a lot of Ada is
    used, particularly by the US military, and C and numerous “specialty” languages would also be used."

    There are a surprising number of those 'specialty' languages. I had an interview in San Diego that wound down rapidly when he asked 'Do you know WXYZ?' and I said 'No.' It is indicative of the way that industry
    operates that they could have asked the question in the telephone
    interview rather than flying me out from Boston. Not that I'm complaining.
    It was January and there was nothing wrong with an all expense paid
    vacation in SD. Going back sucked. The flight was delayed in Chicago
    because one of the service vehicles had frozen to the plane.

    I was skeptical when the trend started of building fighter planes that
    couldn't be flown by a human.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 23:20:47 2024
    On 22 Mar 2024 17:47:14 GMT, rbowman wrote:

    It pains me to say it but MS has gotten much more civilized over the
    years.

    Their motives haven’t changed, only their ability.

    They used to be a technically inferior organization with massive marketing capabilities. Nowadays the marketing machine is increasingly looking out
    of touch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 23:29:45 2024
    On 22 Mar 2024 17:31:33 GMT, rbowman wrote:

    Forth had it's uses. The core language with its RPN and heavily stack oriented approach was arcane.

    The only real problem with stack-oriented programming is how error-prone
    it is.

    However you could develop a domain
    specific set of words so what the user typed in was very close to a
    natural language sentence.

    You could do similar things in PostScript, which was a more advanced
    version of the Forth idea.

    While both Forth and PostScript belong in a museum now, at least
    PostScript had some interesting language ideas that could be revived.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Mar 22 23:27:59 2024
    On 22 Mar 2024 17:23:39 GMT, rbowman wrote:

    On Fri, 22 Mar 2024 02:06:08 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 22 Mar 2024 01:43:02 GMT, rbowman wrote:

    As I worked through the exercises I was mentally calculating how I
    would do it in C.

    C doesn’t put call frames on the heap, or even allow nested functions
    (as standard), so I don’t know how you would handle closures.

    You don't. You look at the task at hand and figure out how you would get
    the same result in C, not try to follow Lisp's technique.

    The technique isn’t specific to Lisp. It’s handy in a lot of other languages, for code reuse.

    It’s not that it’s impossible to do certain things without it, it’s just a
    lot easier.

    I have some quite complex examples I could show you, but they’re in
    Python. I’m not sure if you can handle them.

    A vast amount of software has been written with imperative programming.

    Languages with closures can be imperative, too.

    I'm not saying the task can't be accomplished with functional
    programming,
    only that it does not have to be done with a functional language.

    And I wasn’t even talking about functional languages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Sat Mar 23 02:28:09 2024
    On Fri, 22 Mar 2024 08:38:35 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Thu, 21 Mar 2024 10:45:13 -0400, Chris Ahlstrom wrote:

    The Cakewalk Application Language (CAL) was very
    Lispy.

    Was it like Autolisp, in making you suffer the Lisp syntax without the
    cool stuff like AST-based macros and lexical binding? In short, the worst
    of both worlds?

    Dunno. I suspect Greg Hendershott used basic Lisp syntax because it was easy to
    code.

    I found some old docs <https://web.archive.org/web/20070203202120/http://home.wanadoo.nl/t.valkenburgh/indexmidi.html>.
    If that is a complete description, then the language is extremely
    limited: All variables must be global; no inner scopes, no function
    definitions (just a fixed set of built-in functions. And most
    certainly, no macros.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Sat Mar 23 02:47:16 2024
    On 23 Mar 2024 02:40:16 GMT, rbowman wrote:

    On Fri, 22 Mar 2024 23:20:47 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 22 Mar 2024 17:47:14 GMT, rbowman wrote:

    It pains me to say it but MS has gotten much more civilized over the
    years.

    Their motives haven’t changed, only their ability.

    They used to be a technically inferior organization with massive
    marketing capabilities. Nowadays the marketing machine is increasingly
    looking out of touch.

    WSL, and the cross platform VS Code and .NET are a long way from the
    Steve 'Linux is a cancer' Ballmer days.

    Too little, too late. The downward slide continues.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 02:40:16 2024
    On Fri, 22 Mar 2024 23:20:47 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 22 Mar 2024 17:47:14 GMT, rbowman wrote:

    It pains me to say it but MS has gotten much more civilized over the
    years.

    Their motives haven’t changed, only their ability.

    They used to be a technically inferior organization with massive
    marketing capabilities. Nowadays the marketing machine is increasingly looking out of touch.

    WSL, and the cross platform VS Code and .NET are a long way from the Steve 'Linux is a cancer' Ballmer days.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Sat Mar 23 02:59:15 2024
    On 23 Mar 2024 02:52:17 GMT, rbowman wrote:

    Yeah. I grew up in the shade of WRGB.

    Was there a KCMY?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 02:52:17 2024
    On Fri, 22 Mar 2024 23:19:34 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 22 Mar 2024 23:16:20 GMT, rbowman wrote:

    I had an interview in San Diego that wound down rapidly when he asked
    'Do you know WXYZ?' and I said 'No.'

    It was a trick question. Aren’t TV stations beginning with “W” supposed to be from the East side of the USA? And ones on the West side begin
    with “K”?

    Yeah. I grew up in the shade of WRGB.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Sat Mar 23 03:01:57 2024
    On 23 Mar 2024 02:49:33 GMT, rbowman wrote:

    On Fri, 22 Mar 2024 23:29:45 -0000 (UTC), Lawrence D'Oliveiro wrote:

    While both Forth and PostScript belong in a museum now, at least
    PostScript had some interesting language ideas that could be revived.

    Shades of Don Lancaster.

    https://www.tinaja.com/pssamp1.shtml

    I didn't realize he died last year. He did love PostScript.

    “Enameled” ... heh.

    Cairo is a more modern 2D graphics engine, going beyond the
    limitations of PostScript. Couple that with a more advanced language
    like Python, and you can do some neat stuff. I have some examples,
    with links to code, here <https://www.deviantart.com/default-cube/gallery/53606552/qahirah-examples>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Sat Mar 23 02:29:31 2024
    On Fri, 22 Mar 2024 08:58:36 -0400, Chris Ahlstrom wrote:

    I always follow the advice of Bjarne Stroupstrup and Scott Meyers.

    Aren’t we glad they never got their sticky little fingers in the design of Python ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 02:49:33 2024
    On Fri, 22 Mar 2024 23:29:45 -0000 (UTC), Lawrence D'Oliveiro wrote:


    You could do similar things in PostScript, which was a more advanced
    version of the Forth idea.

    While both Forth and PostScript belong in a museum now, at least
    PostScript had some interesting language ideas that could be revived.

    Shades of Don Lancaster.

    https://www.tinaja.com/pssamp1.shtml

    I didn't realize he died last year. He did love PostScript.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Sat Mar 23 10:09:00 2024
    On Fri, 22 Mar 2024 20:40:05 -0500, Physfitfreak wrote:


    IMP
    0 IMP 0 = 1
    0 IMP 1 = 1
    1 IMP 0 = 0
    1 IMP 1 = 1

    How can that be explained?...


    There we go again. I spend half hour concocting a new baby problem based
    on that, then after posting it I see you've already given the answer for everybody here to see...


    Admittedly this is a difficult thing to grasp.

    But it is best to avoid explanations with words. Let the mathematics
    be the guide.

    Let's consider this:

    A is all prime numbers <= 100

    B is all odd numbers <= 100

    We have 4 possibilities:

    A => B: true
    A number is prime implies it is odd. Another, more proper,
    way to state this is that if a number is in set A (prime)
    then it is also in set B.

    ~A => B: true
    If a number is not prime then it is odd. The set of ~A
    includes all the even numbers as well as all the odd numbers
    in B. This statement actually says that a number being not
    prime as well as odd is a possibility because ~A includes B.

    A => ~B: false
    Obviously, if a number is prime it cannot be not odd, that is,
    if a number is in set A (prime) it cannot be in set ~B (even
    numbers).

    ~A => ~B: true
    Again, if a number is not in set A, the evens and all non-prime
    odds, then it may be also not in set B, the non-prime odds.

    We can also express this using Venn diagrams:

    https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Venn1011.svg/1280px-Venn1011.svg.png

    Let A be the circle (set) on the left and B be the
    circle (set) on the right.

    The truth condition, ~A OR B, is the red area.

    The negation (falsification), A AND ~B, is the white area.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 06:45:09 2024
    Lawrence D'Oliveiro wrote:

    rbowman wrote:

    It pains me to say it but MS has gotten much more civilized over the
    years.

    Their motives havent changed, only their ability.

    Yeah, they are still evil. They just realized that they couldn't keep
    FOSS down, much less control the Internet.

    They used to be a technically inferior organization with massive marketing >capabilities. Nowadays the marketing machine is increasingly looking out
    of touch.

    I don't know about that. They seem to have transitioned successfully
    from the old model of selling software to end users to the new model
    of selling user data to advertisers.

    --
    "I did buy ME, never installed it, but as a MSFT shareholder I figured
    it helped my corporation make a little extra money." - Ray Dopez

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 08:36:17 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Fri, 22 Mar 2024 08:58:36 -0400, Chris Ahlstrom wrote:

    I always follow the advice of Bjarne Stroupstrup and Scott Meyers.

    Aren’t we glad they never got their sticky little fingers in the design of Python ...

    Meh. I have never found another language with the power and flexibility of
    C++. Not Java, not C#, and not Python.

    --
    You will live to see your grandchildren.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 08:37:44 2024
    On 3/22/2024 7:27 PM, Lawrence D'Oliveiro wrote:

    I have some quite complex examples I could show you, but they’re in
    Python. I’m not sure if you can handle them.


    Very Feebish claim.

    Then he delivers shit-code.

    Don't be Feeb.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Chris Ahlstrom on Sat Mar 23 09:25:05 2024
    On 3/22/2024 9:01 AM, Chris Ahlstrom wrote:


    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/

    The author of this Microsoft book crowed and crowed about how they kicked Borland's ass.


    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Sat Mar 23 09:25:41 2024
    On 3/21/2024 10:01 PM, Physfitfreak wrote:


    IMP
    0 IMP 0  = 1
    0 IMP 1  = 1
    1 IMP 0  = 0
    1 IMP 1  = 1

    How can that be explained?...


    Never heard of the IMP operator, and I can't find any reference to it in assembly programming.

    Where did you learn of it?

    VBA reference https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/imp-operator

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Brain Lapse Larry on Sat Mar 23 09:44:25 2024
    On 3/23/2024 6:09 AM, Brain Lapse Larry wrote:


    A => ~B: false
    Obviously, if a number is prime it cannot be not odd, that is,
    if a number is in set A (prime) it cannot be in set ~B (even
    numbers).

    wtf?

    It's back to 5th grade math for you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Physfitfreak on Sat Mar 23 09:26:34 2024
    On 3/22/2024 9:40 PM, Physfitfreak wrote:
    On 3/22/2024 4:04 PM, Farley Flud wrote:
    On Thu, 21 Mar 2024 21:01:30 -0500, Physfitfreak wrote:


    IMP
    0 IMP 0  = 1
    0 IMP 1  = 1
    1 IMP 0  = 0
    1 IMP 1  = 1

    How can that be explained?...

    A = "If it is raining"

    B = "The sky is cloudy"

    The only way that A => B is false is if A is true and B
    is false.




    There we go again. I spend half hour concocting a new baby problem based
    on that, then after posting it I see you've already given the answer for everybody here to see...

    Your description and the example you brought are pretty good. Not a
    single one of the other COLA members would be able to post such a
    convincing answer. I hope this tells those idiots something about how
    they treat you here.


    You're ignorant of Feeb's posting history. The shitheel is by far the
    nastiest cola poster in the last 20 years.

    He's treated far better than he deserves to be. He's only civil to you
    because you suck his dick in each and every post.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 18:44:42 2024
    On Sat, 23 Mar 2024 03:01:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Cairo is a more modern 2D graphics engine, going beyond the limitations
    of PostScript. Couple that with a more advanced language like Python,
    and you can do some neat stuff. I have some examples,
    with links to code, here <https://www.deviantart.com/default-cube/gallery/53606552/qahirah-
    examples>.

    https://www.tinaja.com/glib/postflut.pdf

    Can you use it to turn a cannibalized x/y plotter into a circuit board
    drilling system?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Farley Flud on Sat Mar 23 19:06:21 2024
    On Sat, 23 Mar 2024 10:09:00 +0000, Farley Flud wrote:

    But it is best to avoid explanations with words. Let the mathematics be
    the guide.

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

    Nagarjuna makes ise of the tetralemma in 'Root Verses on the Middle Way'
    to argue all dharmas are empty. The Heart Sutra does it much more
    concisely.

    https://webspace.ship.edu/cgboer/heartsutra.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sat Mar 23 18:53:58 2024
    On Sat, 23 Mar 2024 02:59:15 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On 23 Mar 2024 02:52:17 GMT, rbowman wrote:

    Yeah. I grew up in the shade of WRGB.

    Was there a KCMY?

    Absolutely. It's favored by people driving F-250 dualies around Reno.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Sat Mar 23 18:51:38 2024
    On Sat, 23 Mar 2024 09:25:41 -0400, DFS wrote:

    Never heard of the IMP operator, and I can't find any reference to it in assembly programming.

    https://mathworld.wolfram.com/Implies.html

    I haven't seen IMP used in place of the conventional symbols but it's a
    big world.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Sat Mar 23 22:06:37 2024
    On Sat, 23 Mar 2024 16:45:51 -0500, Physfitfreak wrote:

    But, what is wrong with taking the absence of a condition as a condition
    of its own, and not as the negated form of that condition?

    Aka “the law of the excluded middle”. Remember, we are working in an algebra where variables only have two possible values. If you want to add
    a third value, you end up with a different algebra.

    For an example of the difference this makes, in conventional number
    algebra, you may already know the distributivity rule:

    A(B + C) = AB + AC

    In Boolean algebra, you also have this distributivity rule:

    A + BC = (A + B)(A + C)

    There is a duality between true and false, 1 and 0, which allows you to
    flip any theorem around by interchanging the two, and making some other
    simple transformations. For example, De Morgan’s theorems:

    ¬A ∨ ¬B = ¬(A ∧ B)
    ¬A ∧ ¬B = ¬(A ∨ B)

    Notice the symmetry between them.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Mar 23 22:48:43 2024
    Le 22-03-2024, DFS <nospam@dfs.com> a écrit :
    From what I've read, lots of avionics, RTOS and embedded code is
    written in C++ (and Ada).

    I never heard about C++ in embedded code for avionics (which doesn't
    mean it doesn't exist). But for ADA, yes, it's really used.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to All on Sat Mar 23 19:07:48 2024
    On 3/23/2024 6:48 PM, Stéphane CARPENTIER wrote:
    Le 22-03-2024, DFS <nospam@dfs.com> a écrit :
    From what I've read, lots of avionics, RTOS and embedded code is
    written in C++ (and Ada).

    I never heard about C++ in embedded code for avionics (which doesn't
    mean it doesn't exist). But for ADA, yes, it's really used.


    https://www.google.com/search?q=c%2B%2B+embedded+avionics


    Also interesting: https://opensource.com/life/16/8/python-vs-cc-embedded-systems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Sat Mar 23 23:08:48 2024
    On Sat, 23 Mar 2024 17:11:00 -0500, Physfitfreak wrote:


    The second and fourth cases should both be false, not true.

    In the second case (~A => B), non-prime isn't necessarily odd, and
    therefore ~A does _not_ imply B, so result is false, not true.


    You are reading it wrong.

    The problem, I suppose, is the use of the word "implies." This
    should not be taken literally.

    If a number is not prime, then could it be odd? This is the
    correct way to to interpret "~A => B." The answer is "yes"
    and the condition is true.

    Similarly, the fourth case, "~A => ~B," should be interpreted
    as "if a number is not prime, could it be even?" The answer
    is "yes" and hence the statement is true.

    The second case, again, says, if a number is prime could it
    be even? The answer is "no" and hence false.

    Again, the use of words obscures the mathematical reality.
    It is proven that "A => B" is equivalent to "~A OR B" and
    the negation (falsification) is "A AND ~B."

    If it is raining (A), could the sky be cloudy (B)? Yes.

    If it is raining (A), could the sky be not cloudy (~B)? No.

    If it is not raining (~A), could the sky be cloudy (B)? Yes.

    If it is not raining (~A), could the sky be not cloudy (~B)? Yes.

    These are word games, however. The mathematical definition
    is that A => B is equivalent to "~A OR B."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Forgetful Feeb on Sat Mar 23 19:12:03 2024
    On 3/23/2024 7:08 PM, Forgetful Feeb wrote:

    The second case, again, says, if a number is prime could it
    be even? The answer is "no" and hence false.

    Try again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Sat Mar 23 22:51:55 2024
    On Sat, 23 Mar 2024 08:36:17 -0400, Chris Ahlstrom wrote:

    Meh. I have never found another language with the power and flexibility
    of C++. Not Java, not C#, and not Python.

    Python can do homoiconicity.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Sat Mar 23 22:48:24 2024
    On Sat, 23 Mar 2024 09:25:05 -0400, DFS wrote:

    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    And now Microsoft is desperately trying to turn Windows into Linux.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to Farley Flud on Sun Mar 24 00:09:55 2024
    On Sat, 23 Mar 2024 23:08:48 +0000, Farley Flud <ff@linux.rocks> wrote in <17bf8777050f5c1e$7$2218499$802601b3@news.usenetexpress.com>:

    On Sat, 23 Mar 2024 17:11:00 -0500, Physfitfreak wrote:


    The second and fourth cases should both be false, not true.

    In the second case (~A => B), non-prime isn't necessarily odd, and
    therefore ~A does _not_ imply B, so result is false, not true.


    You are reading it wrong.

    This is too good not to take "freak" out of the snubbery.

    Let's see what he does with this:

    The second case, again, says, if a number is prime could it be even?
    The answer is "no" and hence false.

    Let's see if he continues with his fawning approval of
    Mr. Lester-doesn't-know-his-primes, the "distro-lackey".

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Sun Mar 24 05:56:38 2024
    On Sat, 23 Mar 2024 23:10:03 -0500, Physfitfreak wrote:

    (A AND B) = (B AND A), and (A OR B) = (B OR A). They commute, so to
    speak. But (A IMP B) doesn't commute. How would computer distinguish
    between A and B then? Does it look at the ordering to see what comes
    first as it goes from left to right, and gives the role of A to that
    one? In that case The programmer needs to damn well know which one of
    the condition he places to the left of IMP and which one to the right!
    This is a new situation.

    If I'm interpreting IMP as a bitwise comparison in Basic that comes down
    to

    A.bit0 <= B.bit0

    A B
    1 1 1
    1 0 0
    0 1 1
    0 0 1

    A B
    1 1 1
    0 1 1
    1 0 0
    0 0 1

    Sort of awkward. I assume if you're evaluating two 8 or 16 bit values
    you'd return on the first false match.

    Curious. Basic isn't exactly Prolog.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Sun Mar 24 05:42:25 2024
    On Sat, 23 Mar 2024 20:38:53 -0500, Physfitfreak wrote:

    Would be nice to find when and where the use of "IMP" appeared first,
    and by whom. It must've been a programming language book, and not a math book.

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

    The concept is certainly from the math world. Where IMP comes from and how
    it found its was to Basic I have no idea. How is it used in practice/

    I used Python since there is a well known True and False.

    truth.py

    p = True
    q = True
    print(f"{p <= q}")

    p = True
    q = False
    print(f"{p <= q}")

    p = False
    q = True
    print(f"{p <= q}")

    p = False
    q = False
    print(f"{p <= q}")

    python truth.py

    True
    False
    True
    True

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Sun Mar 24 06:37:05 2024
    On Sat, 23 Mar 2024 18:41:12 -0500, Physfitfreak wrote:

    Indians were great mathematicians before any other nations began doing
    math. Today, they of course attribute to Kharazmi the first book on
    algebra and, in fact, inventing it. But I'm not sure of that myself. Not knowing how much Kharazmi borrowed from Indians, leaves some degree of
    doubt in me about him being the inventor of Algebra. An expert in the
    Indian older languages, who also has math background is required to see
    into this to make sure it was, first, Kharazmi who did it, or it was
    being done before him in India.

    Much of what passes for Arab technology comes from Christendom locking
    itself away for centuries. When they met the Muslims, not necessarily
    Arabs of course, they accepted every thing that came from India at face
    value not knowing the real origins.

    https://www.infinityfoundation.com/mandala/t_es/t_es_rao-t_syntax.htm

    But, I have a feeling that 20 years from now you won't find a shred of evidence that this important role of bringing the Indian knowledge in
    math into countries to the west of India was performed by no other
    person than Kharazmi. The evidence is still here, but will most probably
    not be here in 20 years. Arab money employs Satan to do what Arabs want history to say. Kharazmi was no Arab.

    There are a lot of memory holes. The West was upset when the Taliban blew
    up the Buddhas of Bamiyan but didn't spend much time wondering exactly why there were Buddhas in Afghanistan. Gandhara and the entire Greco-Buddhist
    link is forgotten. Menander/Milanda doesn't make the history books nor
    does the elements of Buddhism that were brought back to Greece.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Sun Mar 24 06:21:19 2024
    On Sat, 23 Mar 2024 19:07:48 -0400, DFS wrote:

    Also interesting: https://opensource.com/life/16/8/python-vs-cc-embedded-systems

    "Python might be at its strongest when used as a communication middleman between the user and the embedded system they're working with. Sending
    messages through Python to or from an embedded system allows the user to automate testing. Python scripts can put the system into different states,
    set configurations, and test all sorts of real-world use cases. Python can
    also be used to receive embedded system data that can be stored for
    analysis. Programmers can then use Python to develop parameters and other methods of analyzing that data."

    I think Physfitfreak asked about the CAN bus:

    https://www.adafruit.com/product/5728

    Hook it to your Pico W, load up CircuitPython, and you're in business. You
    can use the Pico to do local processing and its WiFi to pass it up the
    chain of command.

    Some of the work I did it in Forth was for testing systems like aircraft
    fuel and management. Python would be a better choice today.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 10:29:21 2024
    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/22/2024 9:01 AM, Chris Ahlstrom wrote:


    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/ >>
    The author of this Microsoft book crowed and crowed about how they kicked
    Borland's ass.


    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    I did successfully removed everything related to Microsoft on my own
    computer. That's enough for me. I don't need to interfere with others
    ways of using their own computers.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 10:31:29 2024
    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/23/2024 7:08 PM, Forgetful Feeb wrote:

    The second case, again, says, if a number is prime could it
    be even? The answer is "no" and hence false.

    Try again.

    Are you really sure 2 is an even prime number?

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Sun Mar 24 12:09:01 2024
    On Sat, 23 Mar 2024 20:38:53 -0500, Physfitfreak wrote:

    If a number is not prime, then could it be odd? This is the
    correct way to to interpret "~A => B." The answer is "yes"
    and the condition is true.


    Ok, got it at last.


    I hope so.

    Another way to view A => B is that whenever A (the left side)
    is true, then B (the right side) is also true.

    Thus, if ~A (not prime) is true then B (odd) is also true,
    that is B (right side) is not false.

    ~A (left side) could be an even number but since it could also
    be a non-prime odd number then B (right side) is not false,
    that is, it is possible for a non-prime to be odd.

    The mathematics, though, should be completely unambiguous.

    A => B is equivalent to ~A OR B, where "OR" is the logical
    OR operator or the logical "union."

    There are 4 possibilities:

    1) A => B

    2) A => ~B

    3) ~A => B

    4) ~A => ~B

    Of these 4, which ones represent the "union" of ~A, B?

    The answer is the expressions which contain either ~A
    or B.

    Thus 1, 3, and 4 represent the truth set.

    Expression 4 is the negation, "A AND ~B," and is false.

    -------------

    Incidentally, I made a slight error when I defined the
    sets in my example. Set A should be the set of primes >= 3
    and <= 100. In my haste I overlooked the fact that 2
    is prime.

    But that should make no difference to the gist of the
    problem.

    The fact that some posters jumped on this trivial oversight
    indicates that this group is composed of intellectual deadbeats
    whose only interest is to insult others rather than to develop
    their knowledge and understanding.

    It's a shame that such deadbeats have chosen to frequent a
    GNU/Linux forum. With their juvenile idiocy, they can only tarnish
    the good name of FOSS.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Sun Mar 24 12:21:17 2024
    On Sat, 23 Mar 2024 23:10:03 -0500, Physfitfreak wrote:



    But still some ambiguity remains in my mind.

    (A AND B) = (B AND A), and (A OR B) = (B OR A). They commute, so to
    speak. But (A IMP B) doesn't commute.


    It does, in a sense. The "opposite" of A => B is ~B => ~A.

    If a number is not odd (not in set B), then it is not prime
    (not in set A).

    (Keep in mind that set A is all primes >=3 and <=100, so
    it excludes 2. See previous post.)

    The same truth/false conditions apply:

    True for "B OR ~A".

    False for "~B AND A"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 12:22:11 2024
    Le 21-03-2024, Farley Flud <ff@linux.rocks> a écrit :

    The classic example is recursion. In the abstract realm recursion
    seems highly efficient and elegant. But such elegance has to ultimately
    be translated into machine code and, at this level, recursion becomes
    highly inefficient and even idiotic.

    As with everything you don't understand what you criticize.

    First, quicksort is considered by a lot of people as the most efficient algorithm to sort a table. It's recursive. So either you are the only
    one in the world believing the quicksort is bad, and so you are wrong in
    this belief, or you are wrong when you claim recursion is efficient.
    Well both way you are wrong.

    Now, before jumping on a bad example about recursion, start trying to
    find out a little bit more about recursion. Be sure the issue is not
    with your example but with recursion by itself. As I believe you've never
    heard of tail recursion, be sure you look at it before considering
    answering.

    Of course, you can find use cases in which recursion is a bad way. But
    before coming with it, be sure is an issue with recursion and not with
    your code. Of course, you do what you want. You'll be funnier if you
    come with a bad example: it's just a fair warning.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Farley Flud on Sun Mar 24 12:54:35 2024
    On Sun, 24 Mar 2024 12:21:17 +0000, Farley Flud wrote:

    But (A IMP B) doesn't commute.


    It does, in a sense. The "opposite" of A => B is ~B => ~A.


    To generate even more confusion, check out the following article.
    Pay close attention to the "long" version:

    https://planetmath.org/logicalimplication

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to sc@fiat-linux.fr on Sun Mar 24 13:35:31 2024
    On 24 Mar 2024 10:31:29 GMT, Stéphane CARPENTIER <sc@fiat-linux.fr> wrote
    in <66000101$0$5287$426a74cc@news.free.fr>:

    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/23/2024 7:08 PM, Forgetful Feeb wrote:

    The second case, again, says, if a number is prime could it be even?
    The answer is "no" and hence false.

    Try again.

    Are you really sure 2 is an even prime number?

    You had to let the cat out of the bag, eh?

    Remember: Furled Fart -- self-proclaimed numerical expert -- has
    been lording his "superior numerical knowledge" over the group for
    at least a month. He _deserved_ a good roasting for his cock-up.

    Witness his final admission when the anvil finally landed
    on him: rather than eating humble pie, he (tries to) call
    out 'froup denizens who didn't inform him of his mistake.

    Oh well, it was fun while it lasted. Now all we will see
    is him struggle in his kiddie pool of stupid math problems.

    ObLinux:
    $ man primes
    PRIMES(6) BSD Games Manual PRIMES(6)

    NAME
    primes — generate primes

    SYNOPSIS
    primes [-dh] [start [stop]]

    DESCRIPTION
    The primes utility prints primes in ascending order, one
    per line, starting at or above start and continuing until,
    but not including stop. The start value must be at least
    0 and not greater than stop. The stop value must not be
    greater than 3825123056546413050. The default value of
    stop is 3825123056546413050.
    [...]
    _ _ _ _ _ _ _
    $ echo $(primes 1 30)
    2 3 5 7 11 13 17 19 23 29
    _ _ _ _ _ _ _
    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to All on Sun Mar 24 09:36:39 2024
    On 3/24/2024 6:29 AM, Stéphane CARPENTIER wrote:
    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/22/2024 9:01 AM, Chris Ahlstrom wrote:


    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/

    The author of this Microsoft book crowed and crowed about how they kicked >>> Borland's ass.


    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    I did successfully removed everything related to Microsoft on my own computer. That's enough for me. I don't need to interfere with others
    ways of using their own computers.

    What would happen if you tried to put Linux on your work Windows system?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to All on Sun Mar 24 09:39:15 2024
    On 3/24/2024 6:31 AM, Stéphane CARPENTIER wrote:
    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/23/2024 7:08 PM, Forgetful Feeb wrote:

    The second case, again, says, if a number is prime could it
    be even? The answer is "no" and hence false.

    Try again.

    Are you really sure 2 is an even prime number?


    I really am quite sure.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to DFS on Sun Mar 24 09:42:41 2024
    DFS wrote this copyrighted missive and expects royalties:

    On 3/22/2024 9:01 AM, Chris Ahlstrom wrote:

    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/ >>
    The author of this Microsoft book crowed and crowed about how they kicked
    Borland's ass.

    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    Tell us again which system dominates the supercomputer market?

    Linux has already kicked Microsoft ass :-D

    --
    Expect the worst, it's the least you can do.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Sun Mar 24 09:39:21 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Sat, 23 Mar 2024 08:36:17 -0400, Chris Ahlstrom wrote:

    Meh. I have never found another language with the power and flexibility
    of C++. Not Java, not C#, and not Python.

    Python can do homoiconicity.

    C++ can do template metaprogramming.

    --
    The bay-trees in our country are all wither'd And meteors fright the fixed stars of heaven; The pale-faced moon looks bloody on the earth And lean-look'd prophets whisper fearful change. These signs forerun the death or fall of kings. -- Wm. Shakespeare, "Richard II"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Chris Ahlstrom on Sun Mar 24 10:20:57 2024
    On 3/24/2024 9:42 AM, Chris Ahlstrom wrote:
    DFS wrote this copyrighted missive and expects royalties:

    On 3/22/2024 9:01 AM, Chris Ahlstrom wrote:

    https://www.oreilly.com/library/view/dynamics-of-software/9780735623194/

    The author of this Microsoft book crowed and crowed about how they kicked >>> Borland's ass.

    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    Tell us again which system dominates the supercomputer market?

    Looks like Unix to me.



    Linux has already kicked Microsoft ass :-D


    You forgot the first stanza in my Ode To Crapware:

    A is for "advocate", who freeloads the code
    Their shameless hypocrisy we do like to goad
    Each Monday am it's Windows they boot
    Free software means nothing in the face of big loot

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to vallor on Sun Mar 24 11:33:24 2024
    On 3/24/2024 9:35 AM, vallor wrote:

    rather than eating humble pie, he (tries to) call
    out 'froup denizens who didn't inform him of his mistake.


    He once posted some of his crap .asm code. When I didn't notice how bad
    a section of it was:

    -----------------------------------------------------------------------
    But the original asm code that I posted did contain a GLARING
    ERROR and you missed it completely.

    That error should be EXTREMELY OBVIOUS to any competent programmer
    but you missed it totally.

    I won't even give you a hint. Let's see if you can locate it.
    But you won't. Ha, ha, ha, ha, ha! You can't.

    The only reason that the error was there is because, in my haste,
    I blindly cut and pasted some code.

    The fact, however, that you MISSED IT COMPLETELY only proves
    that you haven't a fucking clue. -----------------------------------------------------------------------

    Mommy!!!




    > ObLinux:
    $ man primes

    to screen
    $ time primes 1 100000000 (100M)
    real 0m26.515s
    user 0m0.943s
    sys 0m5.111s

    to file
    $ time primes 1 100000000 > primes.txt (also 100M)
    real 0m0.319s
    user 0m0.309s
    sys 0m0.010s

    primes.txt is 49.9MB, contains 5,761,455 prime numbers.

    3/10ths of a second to generate 5.7M primes and write them to a file? I
    must say: C on Linux is my performance hero.



    https://www.unix.com/man-page/netbsd/6/primes/

    BUGS
    primes won't get you a world record.

    Per wikipedia, the world record biggest prime is 2^82,589,933 − 1, which
    has 24,862,048 digits when written in base 10.


    source
    https://github.com/vattam/BSDGames/blob/master/primes/primes.c

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 17:55:54 2024
    Le 24-03-2024, DFS <nospam@dfs.com> a écrit :
    On 3/24/2024 6:29 AM, Stéphane CARPENTIER wrote:
    Le 23-03-2024, DFS <nospam@dfs.com> a écrit :

    Linux lusers have been - feverishly and fruitlessly - trying to kick
    MS's ass for decades.

    I did successfully removed everything related to Microsoft on my own
    computer. That's enough for me. I don't need to interfere with others
    ways of using their own computers.

    What would happen if you tried to put Linux on your work Windows system?

    First, my work computer is not my computer, it's my company's computer.
    I do what I want at home, I do what I'm paid for at work.

    Second, my work computer is not a Windows system. It's a Linux system
    with a Windows VM to be able to exchange documents with people outside
    my company. Ubuntu and Gnome are not my favorite flavor, but it's way
    better than Windows.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 18:20:07 2024
    Le 24-03-2024, Physfitfreak <Physfitfreak@gmail.com> a écrit :
    On 3/24/2024 7:54 AM, Farley Flud wrote:

    The "opposite" of A => B is ~B => ~A.

    "The opposite of" is not the same as switching the sides.

    So now, do you understand why DFS tells you to never listen to
    whatever he says about computers?

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Sun Mar 24 19:54:09 2024
    On Sun, 24 Mar 2024 11:57:31 -0500, Physfitfreak wrote:

    I don't understand what was the motive behind introducing this into programming language. The same singling out is very easily arranged with using an AND operator. "if (A = 1) AND (B = 0) then you get a False".

    http://www.manmrk.net/tutorials/basic/PowerBASIC/pbcc/imp_operator.htm

    I was wrong. Apparently it does a bit by bit operation and returns 16
    bits. I can't find any reference to it outside of the various Basic
    dialects including VBA.

    https://www.tutorialspoint.com/assembly_programming/ assembly_logical_instructions.htm

    You could provide the functionality in most languages but it isn't a core processor operation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 19:56:32 2024
    Le 24-03-2024, Physfitfreak <Physfitfreak@gmail.com> a écrit :
    On 3/24/2024 1:20 PM, Stéphane CARPENTIER wrote:
    Le 24-03-2024, Physfitfreak <Physfitfreak@gmail.com> a écrit :
    On 3/24/2024 7:54 AM, Farley Flud wrote:

    The "opposite" of A => B is ~B => ~A.

    "The opposite of" is not the same as switching the sides.

    So now, do you understand why DFS tells you to never listen to
    whatever he says about computers?

    Don't try to elevate DFS to the level of my dick. Both you and him are
    its groupies, down there, looking up to it. You won't come up to be
    there where it is just because you dream of being beside your idols.

    How convenient. Like that, you can default your inability to learn
    anything on COLA. You are your own failure. COLA isn't.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Sun Mar 24 20:02:40 2024
    On Sun, 24 Mar 2024 09:36:39 -0400, DFS wrote:

    What would happen if you tried to put Linux on your work Windows system?

    I did. Several different flavors in fact. Among other things we needed a basemap tile server for situations where the internet wasn't available.

    https://switch2osm.org/serving-tiles/manually-building-a-tile-server- debian-12/

    It's a well documented path on Linux with crucial pieces missing if you
    tried it on Windows. Install a WSL Debian instance and it's a piece of
    cake and available to the SPA running on the Windows portion.

    I'd originally thought about using a separate NUC or Beelink but that
    would be one more piece of equipment to drag to trade shows. With WSL it
    was all contained on the notebook.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Sun Mar 24 20:06:20 2024
    On 24 Mar 2024 17:55:54 GMT, Stéphane CARPENTIER wrote:

    Second, my work computer is not a Windows system. It's a Linux system
    with a Windows VM to be able to exchange documents with people outside
    my company. Ubuntu and Gnome are not my favorite flavor, but it's way
    better than Windows.

    I have both at work as do all the programmers. Usually when IT updates the Windows boxes they have the boxes from the last update cycle that are
    perfectly fine for Linux.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Mar 24 20:45:59 2024
    Le 24-03-2024, rbowman <bowman@montana.com> a écrit :
    On 24 Mar 2024 17:55:54 GMT, Stéphane CARPENTIER wrote:

    Second, my work computer is not a Windows system. It's a Linux system
    with a Windows VM to be able to exchange documents with people outside
    my company. Ubuntu and Gnome are not my favorite flavor, but it's way
    better than Windows.

    I have both at work as do all the programmers. Usually when IT updates the Windows boxes they have the boxes from the last update cycle that are perfectly fine for Linux.

    Some company don't let you do that. There can be some technical ways to
    prevent you to do it. And if you are technically able to do it anyway,
    you can get fired. So it's not always a smart thing to do.

    Actually, I can't replace ubuntu by something else (it's not a technical
    issue but a legal one). I can replace gnome and other things by what I
    want, but I have to be very careful not to mess with the security in
    place on my computer.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Mon Mar 25 03:59:38 2024
    On Sun, 24 Mar 2024 17:41:23 -0500, Physfitfreak wrote:

    Huh... This is a good point. I had never thought of that... Alexander
    did get pretty close to India! In fact he occupied the northern part of
    India which has recently become Pakestan.

    Don't forget that Alexander was a late comer. Persia owned Afghanistan, Pakistan. and a chunk of India when it invade Greece in 492 BCE. Cyrus had already eaten Ionia and the rest of the Greek settlements on that side of
    the pond.

    Was there an exchange of ideas and which way did it flow? Who knows.
    People get around. There's a lot of legend involved but Bodhidharma is
    supposed to have started Chan Buddhism in China. In the art work he isn't depicted as Chinese and in the legends he is either from Persia, India, or
    some other vague place far away to the west. Wherever, he had a lot of
    miles on his sandals.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Mon Mar 25 23:40:27 2024
    On Mon, 25 Mar 2024 17:01:46 -0500, Physfitfreak wrote:

    In this topic that we were discussing, I hadn't even paid close
    attention to the word "implication". Now that I'm looking more
    carefully, I see that it is better than "concurrence" for use in that
    type of operation.

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

    Prolog uses :- for Horn clauses, which are evaluated from right to left. I
    dug out my Prolog manual from 1982 and it launched into a discussion of
    Horn clauses and remarked Prolog wasn't ready for propositional calculus.
    Maybe someday.

    Still a strange thing to be found in the Beginner's All-purpose Symbolic Instruction Code. I doubt there were many mourners when it was dropped.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Tue Mar 26 03:45:01 2024
    On Mon, 25 Mar 2024 18:41:37 -0500, Physfitfreak wrote:

    What did Greece have?... Did they sit and play with their balls and this
    led them to take the next step and devise Euclidean Geometry? Do you see
    the picture? Written history aside (which is always full of partiality
    and bullshit), the need for math must've arisen elsewhere, either in
    Egypt, or in Iran, or in India.

    Written history and historical fiction would overlap on a Venn diagram.
    Was the Pythagorean Theorem really his? Did he really have a dim view of
    beans? Was he an Ionian?

    And in the other corner we have Zeno, another one who exists mostly in
    hearsay. His paradoxes fascinated me as a kid. Much later I found
    parallels in Nagarjuna:

    Motion does not begin in what has moved,
    Nor does it begin in what has not moved,
    Nor does it begin in what is moving.
    In what, then, does motion begin?

    So much guesswork and invention by later authors. Yesterday my wandering
    mind took me to the Amber Road. Several sources concluded Tutankhamen's
    bling contained amber from the Baltics. That would be about 1300 BCE. The Nordic Bronze Age lasted from c. 2000 to 500 BCE and engaged in a brisk import/export trade. No written records but physical evidence in the amber artifacts found in Greece and adjoining areas that didn't walk there themselves. Cultural similarities with the people of the Rigveda have been suggested but then you're getting into the whole Indo-European thing.

    Yeah, it might have been the damn farmers. If the DNA fairy tales are to
    be believed I'm descended from hunter-gatherers who were doing just fine
    before the farmers arrived.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Tue Mar 26 03:56:41 2024
    On Mon, 25 Mar 2024 19:09:02 -0500, Physfitfreak wrote:

    Prediction and knowing of the time of the year also played a role in developing math, and was the result of agricultural needs. Plus,
    managing anything that had to do with multitude of men required math.
    Men began to be around themselves in great numbers when cities were
    first created, again as a result of development of agriculture.

    Agriculture was the downfall of the human race. Once you have people
    hanging around the same place too long they figure they need a hierarchy
    to run the show and the next thing you know you've got the government.

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

    Some smaller mounds were destroyed by farmers who found it inconvenient to
    plow them but many remain and I've visited quite a few.

    "These cultures generally had developed hierarchical societies that had an elite. These commanded hundreds or even thousands of workers to dig up
    tons of earth with the hand tools available, move the soil long distances,
    and finally, workers to create the shape with layers of soil as directed
    by the builders."

    So why didn't the poor bastards lugging basketfuls of dirt kill the elite
    and barbecue them? Or maybe they did since many of the cultures collapsed before the Europeans arrived with their diseases. There are intrusive
    burials by people who figured it was a good place to plant Granny although
    they had no idea of the original builders or their intent.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Tue Mar 26 07:01:07 2024
    On Mon, 25 Mar 2024 22:36:50 -0500, Physfitfreak wrote:


    https://qb64phoenix.com/qb64wiki/index.php/IMP

    On the rightmost column in the table.

    So it is bitwise as I'd found on another site. At the assembler level
    you'd still have to do some bit twiddling. I'm still not sure what you
    would do with it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Tue Mar 26 08:34:14 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 25 Mar 2024 19:09:02 -0500, Physfitfreak wrote:

    Prediction and knowing of the time of the year also played a role in
    developing math, and was the result of agricultural needs. Plus,
    managing anything that had to do with multitude of men required math.
    Men began to be around themselves in great numbers when cities were
    first created, again as a result of development of agriculture.

    Agriculture was the downfall of the human race. Once you have people
    hanging around the same place too long they figure they need a hierarchy
    to run the show and the next thing you know you've got the government.

    As opposed to one guy and his brothers bullying the tribe.

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

    Some smaller mounds were destroyed by farmers who found it inconvenient to plow them but many remain and I've visited quite a few.

    "These cultures generally had developed hierarchical societies that had an elite. These commanded hundreds or even thousands of workers to dig up
    tons of earth with the hand tools available, move the soil long distances, and finally, workers to create the shape with layers of soil as directed
    by the builders."

    So why didn't the poor bastards lugging basketfuls of dirt kill the elite
    and barbecue them? Or maybe they did since many of the cultures collapsed before the Europeans arrived with their diseases. There are intrusive
    burials by people who figured it was a good place to plant Granny although they had no idea of the original builders or their intent.

    Maybe the bullies beguiled them with visions of a happy afterlife?

    Make agriculture great again! (Says the farm lobby).

    ObLinux:

    gfarm2fs

    Gfarm file system is an open-source distributed file system, generally used
    for large-scale cluster computing and wide-area data sharing, and provides
    features to manage replica location explicitly. The name is derived
    from the Grid Data Farm architecture it implements.

    --
    You love peace.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to rbowman on Tue Mar 26 07:22:19 2024
    rbowman wrote:

    Agriculture was the downfall of the human race.

    Here we have an example of a *real* conservative, folks! 8)

    --
    "Have you tried Bing? I quite like it." - "True Linux advocate"
    Hadron Quark

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to chrisv on Tue Mar 26 20:21:38 2024
    On Tue, 26 Mar 2024 07:22:19 -0500, chrisv wrote:

    rbowman wrote:

    Agriculture was the downfall of the human race.

    Here we have an example of a *real* conservative, folks! 8)

    Yes but getting back there will require a radical approach. It's obvious
    and even mentioned in the texts favored by some.

    And the Lord saith "What's with the vegetables? Do I look like some kind
    of frigging vegan?". The farmer gets pissed off and kills his brother.

    Under the two-seedline doctrine it was only his half brother since the
    farmer was the result of Eve getting it on with the snake.

    There is a similar interpretation of the Aesir-Vanir War. The Vanir have
    all those fertility gods loved by farmers and invaded the Aesir's turf. A
    truce was eventually worked out but not before the farmers murdered Mimir
    and sent his head back to Asgard like a bunch of jihadis.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Tue Mar 26 20:28:27 2024
    On Tue, 26 Mar 2024 08:34:14 -0400, Chris Ahlstrom wrote:

    Maybe the bullies beguiled them with visions of a happy afterlife?

    Pie in the sky when you die? Works every time.

    https://www.youtube.com/watch?v=-9uFqcYVQl0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Tue Mar 26 21:49:16 2024
    On Tue, 26 Mar 2024 15:25:07 -0500, Physfitfreak wrote:

    Human is fucked. We need real AI machines to take over.

    Can humans develop AIs that are better than humans? It is still very
    primitive but some of the LLMs have embarrassed their creators.

    I've read several dystopian novels like Stanfill's 'The Prophecy of the
    Heron' but I'm currently reading 'Star Scrapper' which takes a different approach. The protagonist makes a living searching for stellar scrap and
    finds a cube that turns out to be an AI that has been suspended for
    several hundred years. AI is completely illegal and subject to the
    Inquisition in the current society. When reactivated this cube turns out
    to be friendly and helpful, even with a very human sense of humor putting
    the protagonist in a quandary.

    Pessimistic by nature I see AI going very wrong in the long run. In the
    short run I see the current tulip fad going bust leaving a lot of
    investors hung out to dry.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Wed Mar 27 03:39:33 2024
    On Tue, 26 Mar 2024 17:16:40 -0500, Physfitfreak wrote:

    Well it says the same thing about AND and OR too, and the two of course
    are used every day in high level programming. So there could be a use
    for IMP in high level programming also.

    &, ~, |, << and >> are frequently used in C. ^ is used less frequently.
    All map directly to i86 instructions. SAL is the same as SHL where SAR
    differs from SHR and depends on signed/unsigned. ~ is NOT, 1's complement.

    I'm not saying there never has been a use but it hasn't had the masses clamoring for it either in HLL or machine instructions.

    That's your new mission. Find a non-trivial use. No long story, no
    complicated setup.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Wed Mar 27 12:40:32 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 26 Mar 2024 17:16:40 -0500, Physfitfreak wrote:

    Well it says the same thing about AND and OR too, and the two of course
    are used every day in high level programming. So there could be a use
    for IMP in high level programming also.

    &, ~, |, << and >> are frequently used in C. ^ is used less frequently.
    All map directly to i86 instructions. SAL is the same as SHL where SAR differs from SHR and depends on signed/unsigned. ~ is NOT, 1's complement.

    As an aside, C++20 introduces the "spaceship" operator,
    operator <=>. It does a three way comparison, a bit like strcmp():

    lhs <=> rhs returns an object that

    compares <0 if lhs < rhs
    compares >0 if lhs > rhs
    and compares ==0 if lhs and rhs are equal/equivalent.

    Carry on.

    I'm not saying there never has been a use but it hasn't had the masses clamoring for it either in HLL or machine instructions.

    That's your new mission. Find a non-trivial use. No long story, no complicated setup.

    --
    An honest tale speeds best being plainly told.
    -- William Shakespeare, "Henry VI"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Wed Mar 27 12:35:02 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 26 Mar 2024 15:25:07 -0500, Physfitfreak wrote:

    Human is fucked. We need real AI machines to take over.

    Can humans develop AIs that are better than humans? It is still very primitive but some of the LLMs have embarrassed their creators.

    I've read several dystopian novels like Stanfill's 'The Prophecy of the Heron' but I'm currently reading 'Star Scrapper' which takes a different approach. The protagonist makes a living searching for stellar scrap and finds a cube that turns out to be an AI that has been suspended for
    several hundred years. AI is completely illegal and subject to the Inquisition in the current society. When reactivated this cube turns out
    to be friendly and helpful, even with a very human sense of humor putting
    the protagonist in a quandary.

    Pessimistic by nature I see AI going very wrong in the long run. In the
    short run I see the current tulip fad going bust leaving a lot of
    investors hung out to dry.

    One use I have seen for AI is making interesting/grotesque pictures:

    https://content.api.news/v3/images/bin/fa785ac04ebb11402ede14d6b9f6c28f?width=1024

    Trump praying alone in church... with 6 fingers.

    https://cointelegraph.com/magazine/wp-content/uploads/2024/03/Jesus-crab.jpg

    Crab Jesus (there are many variations on this theme).

    I found one (using my phone) with Jesus about ready to slam down on a robot in street fight. I cannot find it again; the faces in the crowd are mostly quite grotesque, almost non-human. What the heck I'll post it:

    https://imgur.com/a/clo5HaW

    You can also find Jesus laying hands on Trump and other fictitious memes.

    --
    Give your very best today. Heaven knows it's little enough.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Chris Ahlstrom on Wed Mar 27 20:50:08 2024
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 16:40 this Wednesday (GMT):
    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 26 Mar 2024 17:16:40 -0500, Physfitfreak wrote:

    Well it says the same thing about AND and OR too, and the two of course
    are used every day in high level programming. So there could be a use
    for IMP in high level programming also.

    &, ~, |, << and >> are frequently used in C. ^ is used less frequently.
    All map directly to i86 instructions. SAL is the same as SHL where SAR
    differs from SHR and depends on signed/unsigned. ~ is NOT, 1's complement.

    As an aside, C++20 introduces the "spaceship" operator,
    operator <=>. It does a three way comparison, a bit like strcmp():

    lhs <=> rhs returns an object that

    compares <0 if lhs < rhs
    compares >0 if lhs > rhs
    and compares ==0 if lhs and rhs are equal/equivalent.

    Carry on.

    It is certainly a nice option.

    I'm not saying there never has been a use but it hasn't had the masses
    clamoring for it either in HLL or machine instructions.

    That's your new mission. Find a non-trivial use. No long story, no
    complicated setup.



    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Thu Mar 28 01:58:13 2024
    On Wed, 27 Mar 2024 12:40:32 -0400, Chris Ahlstrom wrote:

    As an aside, C++20 introduces the "spaceship" operator,
    operator <=>. It does a three way comparison, a bit like strcmp():

    I read the quote yesterday and have already forgotten the author. It went
    like 'The problem with OOP is you want a banana but you get a gorilla
    holding the banana and the whole damn jungle.'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Thu Mar 28 01:55:30 2024
    On Wed, 27 Mar 2024 12:40:32 -0400, Chris Ahlstrom wrote:

    As an aside, C++20 introduces the "spaceship" operator,
    operator <=>. It does a three way comparison, a bit like strcmp():

    Our programming group moved recently and in bringing the books to the new location I found a copy of 'Effective C++' 2nd edition that I must have
    bought back when since it has my name on the fly leaf. Is that still
    useful or have there been too many changes? I see his last book if
    'Effective Modern C++' but even that one is for C++14.

    Moving the books nobody has looked at in years was depressing. Most should
    have been moved to the dumpster. 'Programming Perl' may still be valid.

    I hope C++ doesn't use => for lambdas like C#; that would really be error prone.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Thu Mar 28 07:50:27 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Wed, 27 Mar 2024 12:40:32 -0400, Chris Ahlstrom wrote:

    As an aside, C++20 introduces the "spaceship" operator,
    operator <=>. It does a three way comparison, a bit like strcmp():

    Our programming group moved recently and in bringing the books to the new location I found a copy of 'Effective C++' 2nd edition that I must have bought back when since it has my name on the fly leaf. Is that still
    useful or have there been too many changes? I see his last book if 'Effective Modern C++' but even that one is for C++14.

    Moving the books nobody has looked at in years was depressing. Most should have been moved to the dumpster. 'Programming Perl' may still be valid.

    I hope C++ doesn't use => for lambdas like C#; that would really be error prone.

    Nah, it's probably more powerful; read the C++14 book from Meyers.

    Example below. Note the capture of the function parameters.

    /**
    * Sets the beats per measure and measures for all existing patterns.
    */

    bool
    performer::set_beats_per_measure (int bpm, bool user_change)
    {
    bool result = bpm != m_beats_per_bar;
    if (result)
    {
    set_mapper().exec_set_function
    (
    [bpm, user_change] (seq::pointer sp, seq::number /*sn*/)
    {
    bool result = bool(sp);
    if (result)
    {
    sp->set_beats_per_bar(bpm, user_change);
    sp->set_measures(sp->get_measures(), user_change);
    }
    return result;
    }
    );
    }
    return result;
    }

    Here's another one that captures "this"; the module involved puts a bunch
    of control functions in a map keyed by MIDI control events. In the early days of this app it was a shitload of if-statements.

    [this]
    (
    automation::action a, int d0, int d1,
    int index, bool inverse
    )
    {
    return loop_control(a, d0, d1, index, inverse);
    }


    --
    Q: Why don't Scotsmen ever have coffee the way they like it?
    A: Well, they like it with two lumps of sugar. If they drink
    it at home, they only take one, and if they drink it while
    visiting, they always take three.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Thu Mar 28 20:11:18 2024
    On Thu, 28 Mar 2024 07:50:27 -0400, Chris Ahlstrom wrote:

    Example below. Note the capture of the function parameters.

    Greek to me. If I use it at all my C++ will be a c. 2000 version. The
    flavor used with Arduinos, Picos, etc isn't very complex. What I've used
    with Esri ArcObjects isn't very sophisticated either.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Tue Apr 2 07:22:57 2024
    On Sun, 24 Mar 2024 17:41:23 -0500, Physfitfreak wrote:

    Alexander [the Great] did get pretty close to India! In fact he occupied
    the northern part of India which has recently become [Pakistan].

    Also Afghanistan. Everywhere he set up a garrison that later would become
    a town, he decided to name the place after himself: “Alexandria”. Of course, that got varied a bit according to the local linguistic
    conventions: hence “Kandahar” and “Iskandaria”, among others.

    But there are other evidences against that as well. One is, the heart of Indian math has always been its southern and central regions (Black
    people), not its north (Whites).

    Dravidians versus Aryans. I think the Indus Valley civilization dates from before the Aryans got there, so it had to be Dravidian. I remember one researcher claiming to have found correspondences between parts of the (as-yet-undeciphered) writing and the Tamil language.

    That kind of thing doesn’t go down well with the Aryans.

    But a much more recent trend is clearer to see, and the gist of that is
    that Church in Europe didn't understand the Greeks' works and either
    burned them or hid them ...

    Yup, back then, the Christian idea of “learning” was endlessly copying
    out intricately-illuminated Bibles ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Tue Apr 2 07:29:46 2024
    On Sun, 24 Mar 2024 17:41:23 -0500, Physfitfreak wrote:

    I'm saying "Iran" here because you need to note that anything done in
    the Arabic language at the height of Islam, were almost entirely
    Iranians' works, not Arabs' ...

    Look at all the mathematical/scientific terms that got into use in, say, English, that begin with “al” -- “algebra”, “algorithm” “alkali” and so on
    -- these are all from Arabic words/names, not Persian ones. The Persians
    have always had their own language, even after they converted to Islam;
    why wouldn’t they have used it?

    Every culture on Earth has some knowledge of astronomy. The Babylonians
    were the first large-scale measurers of the heavens, and the later Greeks
    were able to use their figures, which were accurate enough to deduce that
    the equinoxes were precessing according to a 26,000-year cycle.

    But it took the Arabs to find the first known variable star. They called
    it “the demon” -- “al-ghul”, or today “Algol”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Tue Apr 2 07:33:44 2024
    On Mon, 25 Mar 2024 21:23:48 -0500, Physfitfreak wrote:

    But agriculture, as creator of math, is at the least 7 thousand years
    old!...

    Agriculture on its own doesn’t need much maths. Mediaeval Europeans were
    able to manage their farms with just Roman numerals, after all.

    What complicated things in Mesopotamia and Egypt was the periodic
    flooding. There needed to be a way of keeping records of which farm lots belonged to whom and where their boundaries were, even after all the
    markers had been washed away. That took something called .. trigonometry.

    Today's geographical spread of language comes to help a bit. Anything non-Semitic that we speak today in, has come from India, from Sanskrit.

    Semitic languages are part of the Indo-European family, too.

    The mother of it all. Hindu ...

    Maybe you mean “Hindi”? That’s the language; “Hindu” is a religious persuasion.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Tue Apr 2 07:37:56 2024
    On 26 Mar 2024 03:56:41 GMT, rbowman wrote:

    Agriculture was the downfall of the human race. Once you have people
    hanging around the same place too long they figure they need a hierarchy
    to run the show and the next thing you know you've got the government.

    Government organizes a police force and an army. The police force prevents
    your fellow citizens from stealing from you, while the army prevents
    outsiders from stealing from you. The result is you get to live a more
    peaceful life.

    You get division of labour, so somebody gets to specialize in better healthcare, somebody else in nicer textiles, yet somebody else in more
    robust house building and so on. You get to progress beyond subsistence farming, to having a surplus harvest; that surplus can be traded to others
    in return for goods or services that you have neither the time nor the
    skills to provide for yourself.

    Next thing you know, you have urban life.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Tue Apr 2 07:50:26 2024
    On Tue, 26 Mar 2024 15:25:07 -0500, Physfitfreak wrote:

    On 3/25/2024 10:56 PM, rbowman wrote:

    Agriculture was the downfall of the human race.

    It led to the concept of ownership. Farmers fought pastoral nomads for thousands of years because farmers claimed they "owned" the land with
    grass on it, and nomads didn't understand that logic one bit, and had to
    feed their livestock with the grass on that land.

    Farmers (i.e. settlers) won.

    Jacob Bronowski, in “The Ascent Of Man”:

    Genghiz Khan was a nomad and the inventor of a powerful war
    machine. And that conjunction says something important about the
    origins of war in human history. Of course, it’s tempting to close
    one’s eyes to history, and instead to speculate about the roots of
    war in some possible “animal instinct”, as if, like the tiger, we
    still had to kill to live, or, like the robin red-breast, to
    defend a nesting territory. But war--organized war--is not a human
    instinct. It is a highly-planned and cooperative form of theft.
    And that form of theft began ten thousand years ago, when the
    harvesters of wheat accumulated a surplus, and the nomads rode out
    of the desert to rob them of what they themselves could not
    provide.

    Very, very early TV documentary (1971) on the history of science. You
    might consider it low-tech nowadays, but I found him an absolutely
    riveting presenter. Holocaust survivor,
    mathematician/philosopher/polymath, on first-name terms with many of
    those who worked on the Manhattan Project ... he died not long after
    completing the series.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Tue Apr 2 07:57:39 2024
    On Wed, 27 Mar 2024 12:40:32 -0400, Chris Ahlstrom wrote:

    As an aside, C++20 introduces the "spaceship" operator ...

    I always thought that was a handy thing to have. Python used to have it,
    but got rid of it back in 3.0.

    Ah, found this in the 3.0 release notes <https://docs.python.org/3.0/whatsnew/3.0.html>:

    If you really need the cmp() functionality, you could use the
    expression (a > b) - (a < b) as the equivalent for cmp(a, b).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Tue Apr 2 07:58:44 2024
    On 28 Mar 2024 01:55:30 GMT, rbowman wrote:

    I hope C++ doesn't use => for lambdas like C#; that would really be
    error prone.

    It’s funny: JavaScript already had anonymous functions, yet they still
    felt the need to introduce that even more cryptic “=>” syntax.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Tue Apr 2 07:55:06 2024
    On 28 Mar 2024 01:58:13 GMT, rbowman wrote:

    I read the quote yesterday and have already forgotten the author. It
    went like 'The problem with OOP is you want a banana but you get a
    gorilla holding the banana and the whole damn jungle.'

    Is physics object-oriented?

    Carl Sagan: “If you wish to make an apple pie from scratch, you must first invent the Universe”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Tue Apr 2 07:59:56 2024
    On Thu, 28 Mar 2024 07:50:27 -0400, Chris Ahlstrom wrote:

    Example below. Note the capture of the function parameters.

    We don’t call it “capture”: we call it “lexical binding”. All the good
    languages do their name scoping that way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Tue Apr 2 08:02:17 2024
    On Sun, 24 Mar 2024 09:36:39 -0400, DFS wrote:

    What would happen if you tried to put Linux on your work Windows system?

    At some point it will likely become mandatory. Think of Windows AI Studio
    as a forerunner of things to come <https://www.theregister.com/2023/12/14/windows_ai_studio_preview/>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Tue Apr 2 08:06:15 2024
    On Sun, 24 Mar 2024 09:39:21 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sat, 23 Mar 2024 08:36:17 -0400, Chris Ahlstrom wrote:

    Meh. I have never found another language with the power and
    flexibility of C++. Not Java, not C#, and not Python.

    Python can do homoiconicity.

    C++ can do template metaprogramming.

    Python doesn’t need two different languages for “compile-time” versus “run-time” programming; it uses the same language for both.

    Function definitions and class definitions are not declarations: they are
    just forms of assignment statement.

    And then there are metaclasses ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Tue Apr 2 08:33:12 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Tue, 26 Mar 2024 15:25:07 -0500, Physfitfreak wrote:

    On 3/25/2024 10:56 PM, rbowman wrote:

    Agriculture was the downfall of the human race.

    It led to the concept of ownership. Farmers fought pastoral nomads for
    thousands of years because farmers claimed they "owned" the land with
    grass on it, and nomads didn't understand that logic one bit, and had to
    feed their livestock with the grass on that land.

    Farmers (i.e. settlers) won.

    Jacob Bronowski, in “The Ascent Of Man”:

    Genghiz Khan was a nomad and the inventor of a powerful war
    machine. And that conjunction says something important about the
    origins of war in human history. Of course, it’s tempting to close
    one’s eyes to history, and instead to speculate about the roots of
    war in some possible “animal instinct”, as if, like the tiger, we
    still had to kill to live, or, like the robin red-breast, to
    defend a nesting territory. But war--organized war--is not a human
    instinct. It is a highly-planned and cooperative form of theft.
    And that form of theft began ten thousand years ago, when the
    harvesters of wheat accumulated a surplus, and the nomads rode out
    of the desert to rob them of what they themselves could not
    provide.

    Very, very early TV documentary (1971) on the history of science. You
    might consider it low-tech nowadays, but I found him an absolutely
    riveting presenter. Holocaust survivor, mathematician/philosopher/polymath, on first-name terms with many of those who worked on the Manhattan Project ... he died not long after completing the series.

    It was a great series. Also interesting was his use of an excerpt from
    Pink Floyd's "Careful with That Axe Eugene"... the screaming part.

    Interesting, a couple of years later that same tune was used as the dance music for a stripper at Big Al's in Peoria :-D

    --
    You will pioneer the first Martian colony.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Tue Apr 2 08:43:35 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Thu, 28 Mar 2024 07:50:27 -0400, Chris Ahlstrom wrote:

    Example below. Note the capture of the function parameters.

    We don’t call it “capture”: we call it “lexical binding”. All the good
    languages do their name scoping that way.

    Scott Meyers calls it "capture" and that's that! <braaaaaapppp>

    --
    You seek to shield those you love and you like the role of the provider.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Tue Apr 2 08:51:57 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Sun, 24 Mar 2024 09:39:21 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sat, 23 Mar 2024 08:36:17 -0400, Chris Ahlstrom wrote:

    Meh. I have never found another language with the power and
    flexibility of C++. Not Java, not C#, and not Python.

    Python can do homoiconicity.

    C++ can do template metaprogramming.

    Python doesn’t need two different languages for “compile-time” versus “run-time” programming; it uses the same language for both.

    I think that Alexander Stepanov would say..... <braaaaaaaaapppppp>

    Function definitions and class definitions are not declarations: they are just forms of assignment statement.

    And then there are metaclasses ...

    I wonder if the C++ metaclass proposal ever made it into C++. Will have to check....

    --
    A gift of a flower will soon be made to you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Tue Apr 2 14:07:12 2024
    On Tue, 2 Apr 2024 07:33:44 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Semitic languages are part of the Indo-European family, too.

    Only in the minority view of some linguists. The majority view is Proto- Afroasiatic and Proto-Indo-European are not related.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Wed Apr 3 03:25:59 2024
    On Tue, 2 Apr 2024 16:02:07 -0500, Physfitfreak wrote:

    Arabic is fundamentally different from Persian. Arabic cannot create new single words. It does it by using two or more existing words instead of
    a single new word. This is its shortcoming. But in a pinch, its power as well.

    I may have mentioned the film 'A Separation'

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

    At one point the daughter uses an Arabic word and the father corrects her.
    'We are Persians. The word is ....'

    Despite all the awards I don't think the film was widely shown in the US. Foreign language films seldom are but this one might not fit the narrative
    of evil Iran.

    In Persian (and all Indo-European languages), you can _correctly_ create
    new single words by combining different roots. But it takes time for the
    new word to get popular. So it is, just like Arabic, its power as well
    as its shortcoming.

    German makes that into an art form. 'Fernsehzeitschrift' is only the
    beginning.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Wed Apr 3 07:30:46 2024
    On Sun, 24 Mar 2024 13:59:18 -0500, Physfitfreak wrote:

    Don't try to elevate DFS to the level of my dick.

    Hey, this isn’t comp.os.cocks.advocacy. Not COCA but COLA!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Wed Apr 3 07:32:21 2024
    On Tue, 2 Apr 2024 08:43:35 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Thu, 28 Mar 2024 07:50:27 -0400, Chris Ahlstrom wrote:

    Example below. Note the capture of the function parameters.

    We don’t call it “capture”: we call it “lexical binding”. All the good
    languages do their name scoping that way.

    Scott Meyers calls it "capture" and that's that! <braaaaaapppp>

    I date my CS knowledge from the days of Tony Hoare, Donald Knuth and those other greats. I don’t know who this “Scott Meyers” is, but I doubt they were more than a snot-nosed babe-in-arms when the early compiler pioneers figured out how to implement ALGOL-60.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Wed Apr 3 07:35:01 2024
    On Tue, 2 Apr 2024 14:03:39 -0500, Physfitfreak wrote:

    Nomads didn't fight farmers for their wheat either. They needed no such strange and unusual item for consumption. In fact they were always
    better fed than the farmers.

    Is this the common conclusion based on the state of health revealed by
    their bodily remains?

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Wed Apr 3 07:48:33 2024
    On Tue, 2 Apr 2024 08:51:57 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sun, 24 Mar 2024 09:39:21 -0400, Chris Ahlstrom wrote:

    C++ can do template metaprogramming.

    Python doesn’t need two different languages for “compile-time” versus >> “run-time” programming; it uses the same language for both.

    I think that Alexander Stepanov would say..... [some incomprehensible
    C++ technical term]

    Also, consider enums. I think C++ only has the old, boring, C-style enums.
    Java managed to introduce quite an advanced enum facility, with the
    ability to attach custom methods and attributes to enum instances.

    Python offers the same sort of thing as Java. Only, whereas Java enums are
    a feature that is built into the core language, Python does it as a
    standard library module, written in pure Python.

    How do we do it? Metaclasses! (Also descriptors help.)

    Function definitions and class definitions are not declarations: they
    are just forms of assignment statement.

    And then there are metaclasses ...

    I wonder if the C++ metaclass proposal ever made it into C++. Will have
    to check....

    I’ll be waiting.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Apr 3 08:07:26 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Tue, 2 Apr 2024 08:43:35 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Thu, 28 Mar 2024 07:50:27 -0400, Chris Ahlstrom wrote:

    Example below. Note the capture of the function parameters.

    We don’t call it “capture”: we call it “lexical binding”. All the good
    languages do their name scoping that way.

    Scott Meyers calls it "capture" and that's that! <braaaaaapppp>

    I date my CS knowledge from the days of Tony Hoare, Donald Knuth and those other greats. I don’t know who this “Scott Meyers” is, but I doubt they were more than a snot-nosed babe-in-arms when the early compiler pioneers figured out how to implement ALGOL-60.

    He's almost as old as I!

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

    He holds a Ph.D. in computer science from Brown University and an M.S. in
    computer science from Stanford University. He conceived and, with Herb
    Sutter, Andrei Alexandrescu, Dan Saks, and Steve Dewhurst, co-organized and
    presented the boutique (limited-attendance) conference, The C++ Seminar,
    which took place three times in 2001-2002.

    Also:

    http://scottmeyers.blogspot.com/2015/12/good-to-go.html

    So consider me gone. 25 years after publication of my first academic papers
    involving C++, I'm retiring from active involvement with the language.

    --
    The difference between the right word and the almost right word is the difference between lightning and the lightning bug.
    -- Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Apr 3 08:28:07 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Tue, 2 Apr 2024 08:51:57 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sun, 24 Mar 2024 09:39:21 -0400, Chris Ahlstrom wrote:

    C++ can do template metaprogramming.

    Python doesn’t need two different languages for “compile-time” versus >>> “run-time” programming; it uses the same language for both.

    I think that Alexander Stepanov would say..... [some incomprehensible
    C++ technical term]

    Also, consider enums. I think C++ only has the old, boring, C-style enums.

    Nah, it also has "enum class" etc.

    https://en.cppreference.com/w/cpp/language/enum

    Java managed to introduce quite an advanced enum facility, with the
    ability to attach custom methods and attributes to enum instances.

    The C++ enum-class is scoped and strongly typed, thus a bit restrictive. Implicit conversion (e.g. to int or char) is not supported. In some cases, it is useful to write free functions or operators to do things with them. It gets tiresome peppering code with static_cast<>.

    Python offers the same sort of thing as Java. Only, whereas Java enums are
    a feature that is built into the core language, Python does it as a
    standard library module, written in pure Python.

    How do we do it? Metaclasses! (Also descriptors help.)

    Function definitions and class definitions are not declarations: they
    are just forms of assignment statement.

    And then there are metaclasses ...

    I wonder if the C++ metaclass proposal ever made it into C++. Will have
    to check....

    I’ll be waiting.

    Sounds like not. Apparently not considered worth the effort in the end.
    After all, we already have abstract base classes and templates.

    --
    In the plot, people came to the land; the land loved them; they worked and struggled and had lots of children. There was a Frenchman who talked funny
    and a greenhorn from England who was a fancy-pants but when it came to the crunch he was all courage. Those novels would make you retch.
    -- Canadian novelist Robertson Davies, on the generic Canadian
    novel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Thu Apr 4 14:13:25 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-02, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    Yup, back then, the Christian idea of “learning” was endlessly copying >> out intricately-illuminated Bibles ...

    Or so you claim.

    That reminds me... I need to read "A Canticle for Leibowitz".

    --
    You never have to change anything you got up in the middle of the night
    to write.
    -- Saul Bellow

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Thu Apr 4 20:58:25 2024
    On Thu, 4 Apr 2024 14:13:25 -0400, Chris Ahlstrom wrote:

    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-02, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    Yup, back then, the Christian idea of “learning” was endlessly copying >>> out intricately-illuminated Bibles ...

    Or so you claim.

    That reminds me... I need to read "A Canticle for Leibowitz".

    Good read. Too bad he was a one-trick pony. I've read the posthumous
    'Saint Leibowitz and the Wild Horse Woman' and it doesn't measure up.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to RonB on Fri Apr 5 00:56:07 2024
    On Thu, 4 Apr 2024 15:42:41 -0000 (UTC), RonB wrote:

    On 2024-04-02, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    Yup, back then, the Christian idea of “learning” was endlessly copying >> out intricately-illuminated Bibles ...

    Or so you claim.

    That’s a very, shall we say ... passive-aggressive way of putting it? Sounding almost like a denial, without actually coming out as an explicit denial?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Physfitfreak on Fri Apr 5 00:58:57 2024
    On Wed, 3 Apr 2024 11:59:56 -0500, Physfitfreak wrote:

    On 4/3/24 02:35, Lawrence D'Oliveiro wrote:

    Is this the common conclusion based on the state of health revealed by
    their bodily remains?

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

    No it's not common at all.

    Thank goodness for that. Because you realize that the transition to
    agriculture improved the life spans of those societies, compared to the
    older nomadic way of life.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Fri Apr 5 01:02:58 2024
    On Wed, 3 Apr 2024 08:28:07 -0400, Chris Ahlstrom wrote:

    The C++ enum-class is scoped and strongly typed, thus a bit restrictive. Implicit conversion (e.g. to int or char) is not supported.

    Since Python supports multiple inheritance, you can define a subclass
    which inherits from both enum and, say, int. Or enum and str.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Apr 5 01:46:13 2024
    On Fri, 5 Apr 2024 00:58:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Thank goodness for that. Because you realize that the transition to agriculture improved the life spans of those societies, compared to the
    older nomadic way of life.

    But did it improve the quality of life?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Apr 5 02:36:17 2024
    On 5 Apr 2024 01:46:13 GMT, rbowman wrote:

    On Fri, 5 Apr 2024 00:58:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Thank goodness for that. Because you realize that the transition to
    agriculture improved the life spans of those societies, compared to the
    older nomadic way of life.

    But did it improve the quality of life?

    Yes. More reliable food supply. More varied sources of food and other
    goods by trade. Greater chance of surviving medical conditions and
    disabilities that would have immediately meant death for nomads--that
    alone showed you that they had an easier life.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Fri Apr 5 05:09:07 2024
    On Fri, 5 Apr 2024 02:36:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Yes. More reliable food supply. More varied sources of food and other
    goods by trade. Greater chance of surviving medical conditions and disabilities that would have immediately meant death for nomads--that
    alone showed you that they had an easier life.

    Do you think the laborers building the pyramids had an easier life? That's
    the ultimate outcome of agriculture -- the haves and the havenots, the
    people on the hill and the one in the dark satanic mills.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Fri Apr 5 05:33:05 2024
    On 5 Apr 2024 05:09:07 GMT, rbowman wrote:

    On Fri, 5 Apr 2024 02:36:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Yes. More reliable food supply. More varied sources of food and other
    goods by trade. Greater chance of surviving medical conditions and
    disabilities that would have immediately meant death for nomads--that
    alone showed you that they had an easier life.

    Do you think the laborers building the pyramids had an easier life?

    Yup. Remember, they were doing it during the off-season, when there wasn’t any farming work to do. There is graffiti in the Pyramids recording the
    rivalry between teams--it was like a sporting competition, to see who was better at moving those blocks.

    The Ancient Egyptians had an easier life than their less civilized
    neighbours.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Apr 5 08:38:22 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Fri, 5 Apr 2024 00:58:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Thank goodness for that. Because you realize that the transition to
    agriculture improved the life spans of those societies, compared to the
    older nomadic way of life.

    But did it improve the quality of life?

    Well, you're posting here now, using a fancy electronic device over a fancy electronic network.

    Your dumps go down in the sewer system, out of sight, out of mind.

    You can eat and drink ginormous amounts, cheaply.

    Few worries about nasty bacteria and viruses.

    . . .

    --
    Expect the worst, it's the least you can do.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Fri Apr 5 08:39:28 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Fri, 5 Apr 2024 02:36:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Yes. More reliable food supply. More varied sources of food and other
    goods by trade. Greater chance of surviving medical conditions and
    disabilities that would have immediately meant death for nomads--that
    alone showed you that they had an easier life.

    Do you think the laborers building the pyramids had an easier life? That's the ultimate outcome of agriculture -- the haves and the havenots, the
    people on the hill and the one in the dark satanic mills.

    And NFL-loving gun-totin' Trumpenproletariat.

    --
    One of the most striking differences between a cat and a lie is that a cat has only nine lives.
    -- Mark Twain, "Pudd'nhead Wilson's Calendar"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Fri Apr 5 08:40:26 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Wed, 3 Apr 2024 08:28:07 -0400, Chris Ahlstrom wrote:

    The C++ enum-class is scoped and strongly typed, thus a bit restrictive.
    Implicit conversion (e.g. to int or char) is not supported.

    Since Python supports multiple inheritance, you can define a subclass
    which inherits from both enum and, say, int. Or enum and str.

    Meh.

    --
    Break into jail and claim police brutality.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Fri Apr 5 23:17:47 2024
    On Fri, 5 Apr 2024 08:40:26 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Wed, 3 Apr 2024 08:28:07 -0400, Chris Ahlstrom wrote:

    The C++ enum-class is scoped and strongly typed, thus a bit
    restrictive.
    Implicit conversion (e.g. to int or char) is not supported.

    Since Python supports multiple inheritance, you can define a subclass
    which inherits from both enum and, say, int. Or enum and str.

    Meh.

    Along with C3 linearization?

    Until C++ gets its own equivalent feature, then suddenly it’ll be not-meh.

    You were a bit excited over metaclasses for a while back there, weren’t
    you? Until you realized it would never work, because classes are not
    objects in C++.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Apr 6 08:47:50 2024
    Le 03-04-2024, Lawrence D'Oliveiro <ldo@nz.invalid> a écrit :
    On Sun, 24 Mar 2024 13:59:18 -0500, Physfitfreak wrote:

    Don't try to elevate DFS to the level of my dick.

    Hey, this isn’t comp.os.cocks.advocacy. Not COCA but COLA!

    He's got a dick instead of a brain. It's visible all over his messages.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Apr 6 08:46:45 2024
    Le 02-04-2024, rbowman <bowman@montana.com> a écrit :
    On Tue, 2 Apr 2024 07:33:44 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Semitic languages are part of the Indo-European family, too.

    Only in the minority view of some linguists. The majority view is Proto- Afroasiatic and Proto-Indo-European are not related.

    For real? There are some real linguists who see a relation between
    Semitic and Indo-European languages? Other than political/religious
    arguments? Other than Merritt RUHLEN and the like?

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Sat Apr 6 07:59:04 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Fri, 5 Apr 2024 08:40:26 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Wed, 3 Apr 2024 08:28:07 -0400, Chris Ahlstrom wrote:

    The C++ enum-class is scoped and strongly typed, thus a bit
    restrictive.
    Implicit conversion (e.g. to int or char) is not supported.

    Since Python supports multiple inheritance, you can define a subclass
    which inherits from both enum and, say, int. Or enum and str.

    Meh.

    Along with C3 linearization?

    Until C++ gets its own equivalent feature, then suddenly it’ll be not-meh.

    Heh heh. Another check-box in the feeeeeechure matrix.

    You were a bit excited over metaclasses for a while back there, weren’t you?

    Not really excited, just curious. Having dealt with them (and stereotypes)
    in SysML, not itching to have that in C++.

    Until you realized it would never work, because classes are not
    objects in C++.

    :-D WTF you talkin', Willis? Ye nae true Scotman fallacy?

    --
    You are a fluke of the universe; you have no right to be here.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Sat Apr 6 20:14:33 2024
    On 06 Apr 2024 08:46:45 GMT, Stéphane CARPENTIER wrote:

    Le 02-04-2024, rbowman <bowman@montana.com> a écrit :
    On Tue, 2 Apr 2024 07:33:44 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Semitic languages are part of the Indo-European family, too.

    Only in the minority view of some linguists. The majority view is
    Proto-
    Afroasiatic and Proto-Indo-European are not related.

    For real? There are some real linguists who see a relation between
    Semitic and Indo-European languages? Other than political/religious arguments? Other than Merritt RUHLEN and the like?

    There always are minority positions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to RonB on Sat Apr 6 20:33:20 2024
    On Sat, 6 Apr 2024 14:22:07 -0000 (UTC), RonB wrote:

    On 2024-04-05, rbowman <bowman@montana.com> wrote:
    On Fri, 5 Apr 2024 00:58:57 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Thank goodness for that. Because you realize that the transition to
    agriculture improved the life spans of those societies, compared to
    the older nomadic way of life.

    But did it improve the quality of life?

    I think a lot of the Indian tribes grew more successful after getting
    horses and becoming nomadic, rather than farmers. You can almost
    certainly say the same for the Mongolians.

    Horses were an improvement but I think many were more or less nomadic in
    the plains states and Rockies. Eastern tribes like the Iroquois were agricultural and did better than the tribes further north where the
    climate made agriculture iffy.

    At times agriculture was self defeating. The Hohokam around Phoenix had a
    large scale network of irrigation ditches. The theory is irrigation
    increased the salinity of the soil to the point where it wouldn't support agriculture. Casa Grande may have lasted longer but the course of the
    river changed and for whatever reason it was abandoned.

    The Pima had an interesting setup. The riverine Pima were settled and had agriculture. The desert Pima were nomadic, although they did have places
    where they built dams in the washes. If it rained, the catchment was
    enough to grow a crop. If it didn't rain they were out of luck. In that
    case they would go visit their riverine cousins, put on shows and dances,
    and work for them until the next cycle. It was sort of a welfare program.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to RonB on Sun Apr 7 03:46:15 2024
    On Sun, 7 Apr 2024 00:52:15 -0000 (UTC), RonB wrote:


    I think the Comanches went from mostly farming (part of the Shoshone
    tribes, I believe) to one of the most aggressive tribes on the plains. Somehow they REALLY adapted to horse riding. More so than any other
    tribe.

    That's a quick overview of the Shoshone. When you live in the Great Basin
    you eat anything you can find. I don't know if they cultivated wild rice
    or harvested it when they found it. They had a hard life. Horses were a definite improvement over dogs.


    That's interesting. The variety of Indian tribes in this country is
    (was) amazing. I enjoy reading from the "Encyclopedia of Native American Tribes" sometimes (more or less randomly) just because of that variety.
    I think the book is basically published for school children so even I
    can follow along.

    It wasn't the big happy family some people would have you believe and
    still isn't to some extent. In this area the Blackfeet were a problem for
    the more peaceful tribes.

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

    Supposedly the name came from French trappers who came upon the skeletons
    and other signs of mayhem and labeled it the gates of hell. If you're
    headed for the buffalo ranges it's the easy way along the river otherwise you're going to be doing a lot of mountaineering.

    https://www.npr.org/templates/story/story.php?storyId=5586693

    NPR throws a little spin on it but in all their travels the only time the
    Lewis & Clark expedition found it necessary to shoot Indians was when they
    ran into Blackfeet.

    Back east the Iroquois were a similar problem for the Algonquins, Crees,
    and the rest of the neighbors. 'The Last of the Mohicans' takes a lot of liberties but the Mohawks, the eastern part of the Iroquois confederacy,
    did a lot to make Mohicans scarce. The Hudson River was more or less the dividing line.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Sun Apr 7 09:50:51 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-05, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    rbowman wrote this copyrighted missive and expects royalties:

    On Fri, 5 Apr 2024 02:36:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Yes. More reliable food supply. More varied sources of food and other
    goods by trade. Greater chance of surviving medical conditions and
    disabilities that would have immediately meant death for nomads--that
    alone showed you that they had an easier life.

    Do you think the laborers building the pyramids had an easier life? That's >>> the ultimate outcome of agriculture -- the haves and the havenots, the
    people on the hill and the one in the dark satanic mills.

    And NFL-loving gun-totin' Trumpenproletariat.

    I'm guessing the inner cities are not "Trump Country" and that's where most of the "gun-toting" and killing thugs reside. But carry on, don't let inconvenient facts get in your way, you might lose your Woke Card.

    Cut the "woke" nonsense. And repeating simplistic statements. Jesus!

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the
    most urban counties from 2011 to 2020, an analysis found.

    That may have changed, of course. Some cities, such as St. Louis, do have a lot of killings. But people are always making fun of Chicago for some reason.

    You carryin', bro?

    --
    Q: Why did the germ cross the microscope?
    A: To get to the other slide.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Chris Ahlstrom on Sun Apr 7 10:30:04 2024
    Chris Ahlstrom wrote:

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the
    most urban counties from 2011 to 2020, an analysis found.

    Because of a higher suicide rate. The rural counties have a far lower
    homicide rate. From the above article:

    "From 2011 to 2020, the most rural counties had a 46% lower rate of
    gun homicide deaths than the most urban counties but a 76% higher rate
    of gun suicide deaths, according to Reepings analysis."

    --
    "i<=22? Look at the clueless wonder go! That bit of shit-code does
    two int comparisons on each iteration of the loop" - DumFSck,
    putting his ignorance on display

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to chrisv on Sun Apr 7 11:55:11 2024
    chrisv wrote this copyrighted missive and expects royalties:

    Chris Ahlstrom wrote:

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the >> most urban counties from 2011 to 2020, an analysis found.

    Because of a higher suicide rate. The rural counties have a far lower homicide rate. From the above article:

    "From 2011 to 2020, the most rural counties had a 46% lower rate of
    gun homicide deaths than the most urban counties but a 76% higher rate
    of gun suicide deaths, according to Reeping's analysis."

    That's very comforting to know that gun-toters can commit both homicide and suicide. :-*

    --
    Your object is to save the world, while still leading a pleasant life.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Sun Apr 7 16:51:52 2024
    On Sun, 7 Apr 2024 09:50:51 -0400, Chris Ahlstrom wrote:


    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-
    cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than
    the most urban counties from 2011 to 2020, an analysis found.

    "From 2011 to 2020, the most rural counties had a 46% lower rate of gun homicide deaths than the most urban counties but a 76% higher rate of gun suicide deaths, according to Reeping’s analysis."


    Left that part out, did you? I'd say there is a difference between
    someone deciding to end their own life and having some thug deciding to
    end it for them.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Sun Apr 7 16:53:47 2024
    On Sun, 7 Apr 2024 11:55:11 -0400, Chris Ahlstrom wrote:

    That's very comforting to know that gun-toters can commit both homicide
    and suicide. :-*

    Do you think people should be prevented from ending their own lives? Or
    are you only opposed to certain methods?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to RonB on Mon Apr 8 04:51:21 2024
    On Mon, 8 Apr 2024 00:57:01 -0000 (UTC), RonB wrote:

    When we lived in Great Falls my younger brother ran around with a guy
    that was half Blackfoot (he had Blackfeet friends). One of his friends
    him told him that the Blackfeet were always looking for a fight. If they "didn't have anyone else to fight, they fought each other."

    That sums up Browning.

    I've heard about the Iroquois. They didn't seem to be very "genteel."

    The Brits recognized kindred spirits -- imperialist expansionists who exterminated the opposition. They were on the British side during the
    French and Indian Wars, with mostly the Algonquian tribes on the French
    side. The exception were the Huron who were Iroquoian. They had turned
    down an invitation to join the Confederacy and became a prime enemy. The Iroquois were mostly on the British side during the Revolution.

    https://www.pbs.org/native-america/blog/how-the-iroquois-great-law-of- peace-shaped-us-democracy

    How much of that is reality and how much is the Romantic Redskin effect is debatable. The Hiawatha mentioned in the article is not Longfellow's
    Hiawatha. Maybe it rhymed better or Longfellow was confused but his
    Hiawatha was supposed to be an Ojibiwe, another Algonquian tribe that had fought with the Iroquois.

    Growing up in New York State that was more or less living history.

    https://www.fwhmuseum.com/

    That's the fort Cooper wrote about in 'The Last of the Mohicans'. If you
    like Cooper you can visit the Fenimore Art Museum in Cooperstown although
    it is completely overshadowed by the Baseball Hall of Fame. fwiw according
    to the historians Doubleday didn't invent baseball and it wasn't invented
    at Cooperstown.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Mon Apr 8 08:26:47 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-07, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-05, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    rbowman wrote this copyrighted missive and expects royalties:

    On Fri, 5 Apr 2024 02:36:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Yes. More reliable food supply. More varied sources of food and other >>>>>> goods by trade. Greater chance of surviving medical conditions and >>>>>> disabilities that would have immediately meant death for nomads--that >>>>>> alone showed you that they had an easier life.

    Do you think the laborers building the pyramids had an easier life? That's
    the ultimate outcome of agriculture -- the haves and the havenots, the >>>>> people on the hill and the one in the dark satanic mills.

    And NFL-loving gun-totin' Trumpenproletariat.

    I'm guessing the inner cities are not "Trump Country" and that's where most >>> of the "gun-toting" and killing thugs reside. But carry on, don't let
    inconvenient facts get in your way, you might lose your Woke Card.

    Cut the "woke" nonsense. And repeating simplistic statements. Jesus!

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the >> most urban counties from 2011 to 2020, an analysis found.

    That may have changed, of course. Some cities, such as St. Louis, do have a lot
    of killings. But people are always making fun of Chicago for some reason. >>
    You carryin', bro?

    Some cities... like St. Louis? How about Chicago, New Orleans, New York, Baltimore, Los Angeles, Portland, Atlanta? Every week in Chicago death toll from thug violence results in multiple deaths.

    When they gather these "gun violence" statistics, they include suicide and accidental shooting deaths. Not quite the same thing as thugs killing each other, or innocent bystanders or victims.

    St. Louis is #1. Chicago's way down the list. IIRC, North Charleston, SC,
    if pretty high up there.

    It puzzles me why you dudes think the manner of gun deaths is important.

    --
    "Not Hercules could have knock'd out his brains, for he had none."
    -- Shakespeare

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Mon Apr 8 08:24:11 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Sun, 7 Apr 2024 09:50:51 -0400, Chris Ahlstrom wrote:


    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-
    cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than
    the most urban counties from 2011 to 2020, an analysis found.

    "From 2011 to 2020, the most rural counties had a 46% lower rate of gun homicide deaths than the most urban counties but a 76% higher rate of gun suicide deaths, according to Reeping’s analysis."

    Left that part out, did you?

    I just picked "the headline" :-D

    I'd say there is a difference between
    someone deciding to end their own life and having some thug deciding to
    end it for them.

    How so?

    Anyway, just a random thought, don't put too much into it...

    One death comes from a competition for "resources" in a crowded environment. The other comes from a lack of "resources.

    --
    You will be the victim of a bizarre joke.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Mon Apr 8 08:24:28 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-07, rbowman <bowman@montana.com> wrote:
    On Sun, 7 Apr 2024 09:50:51 -0400, Chris Ahlstrom wrote:


    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-
    cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than
    the most urban counties from 2011 to 2020, an analysis found.

    "From 2011 to 2020, the most rural counties had a 46% lower rate of gun
    homicide deaths than the most urban counties but a 76% higher rate of gun
    suicide deaths, according to Reeping’s analysis."

    Left that part out, did you? I'd say there is a difference between
    someone deciding to end their own life and having some thug deciding to
    end it for them.

    The liars ALWAYS "massage" the figures to try to make their lying point.

    Up yours.

    --
    Work consists of whatever a body is obliged to do.
    Play consists of whatever a body is not obliged to do.
    -- Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Mon Apr 8 08:20:20 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-07, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    chrisv wrote this copyrighted missive and expects royalties:

    Chris Ahlstrom wrote:

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the >>>> most urban counties from 2011 to 2020, an analysis found.

    Because of a higher suicide rate. The rural counties have a far lower
    homicide rate. From the above article:

    "From 2011 to 2020, the most rural counties had a 46% lower rate of
    gun homicide deaths than the most urban counties but a 76% higher rate
    of gun suicide deaths, according to Reeping's analysis."

    That's very comforting to know that gun-toters can commit both homicide and >> suicide. :-*

    I'm more worried about the ones who commit homicide. How about you?

    Both are unfortunate. And aren't both sins in your belief system?

    --
    Q: What do you call the scratches that you get when a female
    sheep bites you?
    A: Ewe nicks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Mon Apr 8 20:02:56 2024
    On Mon, 8 Apr 2024 08:24:11 -0400, Chris Ahlstrom wrote:


    I'd say there is a difference between someone deciding to end their own
    life and having some thug deciding to end it for them.

    How so?

    One is a choice by an individual the other is an infringement and act of aggression by a another person.

    Do you think eliminating firearms would eliminate suicide? When Britain
    used coal gas sticking your head in an oven was a popular method; q.v.
    Sylvia Plath. After the transition to natural gas, which does not have a
    carbon monoxide component, the suicide rate did not go down.

    The same question could be asked about homicides. The Brits seem to do
    quite well with knives and clubs.

    Then there is the elephant in the room the politically correct would
    rather ignore. Subtract out POCs killing each other and the homicide rate
    looks very similar to Canada or western European countries.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Chris Ahlstrom on Mon Apr 8 16:38:13 2024
    Chris Ahlstrom wrote:

    It puzzles me why you dudes think the manner of gun deaths is important.

    Err... Because it's *everything*?

    --
    "Gates was into software since he was 13 years old, and he's far and
    away a better software developer than most everyone in OSS la-la
    land." - some dumb fsck

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Tue Apr 9 00:26:37 2024
    On Sat, 6 Apr 2024 07:59:04 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    Until you realized it would never work, because classes are not
    objects in C++.

    :-D WTF you talkin', Willis? Ye nae true Scotman fallacy?

    You tell me: does C++ accept “true Scotsmen” among its users/features, or not?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Tue Apr 9 00:23:42 2024
    On Sun, 7 Apr 2024 09:50:51 -0400, Chris Ahlstrom wrote:

    Some cities, such as St. Louis, do have a lot of killings.

    More gun deaths among children in Southern states <https://arstechnica.com/health/2023/09/gun-deaths-among-us-children-reached-new-record-high-in-2021-study-finds/>.

    The US is the only country in the world (outside of war zones) where
    the number-one cause of death among children is gunshot wounds.

    States with more guns have more police fatalities <https://arstechnica.com/science/2015/08/states-with-more-guns-have-more-police-fatalities/>.

    Didn’t take much searching to find those ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Tue Apr 9 08:46:03 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Sat, 6 Apr 2024 07:59:04 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    Until you realized it would never work, because classes are not
    objects in C++.

    :-D WTF you talkin', Willis? Ye nae true Scotman fallacy?

    You tell me: does C++ accept “true Scotsmen” among its users/features, or not?

    C++ provides many forms of programming, including object-oriented programming.

    --
    You will be successful in love.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Tue Apr 9 08:45:00 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 8 Apr 2024 08:24:11 -0400, Chris Ahlstrom wrote:


    I'd say there is a difference between someone deciding to end their own
    life and having some thug deciding to end it for them.

    How so?

    One is a choice by an individual the other is an infringement and act of aggression by a another person.

    Both are bad. Both are symptoms of socio-economic problems.

    Do you think eliminating firearms would eliminate suicide?

    I said nothing about eliminating firearms. But they need the same type of control applied to driving automobiles.

    Oh well, it'll never happen here in John Wayne country.

    When Britain used coal gas sticking your head in an oven was a popular method; q.v. Sylvia Plath. After the transition to natural gas, which does not have a carbon monoxide component, the suicide rate did not go down.

    The same question could be asked about homicides. The Brits seem to do
    quite well with knives and clubs.

    Quite well? An odd turn of phrase.

    Then there is the elephant in the room the politically correct would
    rather ignore. Subtract out POCs killing each other and the homicide rate looks very similar to Canada or western European countries.

    If true, so what? Again, look at socio-economics and crowding.

    --
    You're being followed. Cut out the hanky-panky for a few days.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to chrisv on Tue Apr 9 08:48:33 2024
    chrisv wrote this copyrighted missive and expects royalties:

    --
    "Gates was into software since he was 13 years old, and he's far and
    away a better software developer than most everyone in OSS la-la
    land." - some dumb fsck

    Heh heh. I'm pretty sure Richard Stallman put out a hella more code than Billy boy.

    Traf-O-Data. LMAO.

    --
    Things past redress and now with me past care.
    -- William Shakespeare, "Richard II"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Chris Ahlstrom on Tue Apr 9 10:11:28 2024
    On 4/9/2024 8:45 AM, Chris Ahlstrom wrote:
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 8 Apr 2024 08:24:11 -0400, Chris Ahlstrom wrote:


    I'd say there is a difference between someone deciding to end their own >>>> life and having some thug deciding to end it for them.

    How so?

    One is a choice by an individual the other is an infringement and act of
    aggression by a another person.

    Both are bad. Both are symptoms of socio-economic problems.


    One is a result of inferior DNA.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Tue Apr 9 15:58:01 2024
    On Tue, 9 Apr 2024 08:45:00 -0400, Chris Ahlstrom wrote:


    I said nothing about eliminating firearms. But they need the same type
    of control applied to driving automobiles.

    What sort of control would that be? Retroactively impose some sort of
    licensing on firearm owners?

    Then there is the elephant in the room the politically correct would
    rather ignore. Subtract out POCs killing each other and the homicide
    rate looks very similar to Canada or western European countries.

    If true, so what? Again, look at socio-economics and crowding.

    I've been looking at the socio-economics for the last 60 years or so.
    Despite many attempts at preferential treatment there is a tranche of
    society that has not moved forward.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Tue Apr 9 17:28:29 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 9 Apr 2024 08:45:00 -0400, Chris Ahlstrom wrote:


    I said nothing about eliminating firearms. But they need the same type
    of control applied to driving automobiles.

    What sort of control would that be? Retroactively impose some sort of licensing on firearm owners?

    Something needs to be done.

    Then there is the elephant in the room the politically correct would
    rather ignore. Subtract out POCs killing each other and the homicide
    rate looks very similar to Canada or western European countries.

    If true, so what? Again, look at socio-economics and crowding.

    I've been looking at the socio-economics for the last 60 years or so.
    Despite many attempts at preferential treatment there is a tranche of
    society that has not moved forward.

    Hmmmm, and why is that?

    --
    Q: What is orange and goes "click, click?"
    A: A ball point carrot.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Wed Apr 10 00:00:03 2024
    On Tue, 9 Apr 2024 17:28:29 -0400, Chris Ahlstrom wrote:

    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 9 Apr 2024 08:45:00 -0400, Chris Ahlstrom wrote:


    I said nothing about eliminating firearms. But they need the same type
    of control applied to driving automobiles.

    What sort of control would that be? Retroactively impose some sort of
    licensing on firearm owners?

    Something needs to be done.

    Something needs to be done!!! Anything!!! Now!!! The problem is defining
    a something that will be effective in achieving the stated goals than the
    war on poverty, the war on drugs, the war on stupidity, and so on.


    Then there is the elephant in the room the politically correct would
    rather ignore. Subtract out POCs killing each other and the homicide
    rate looks very similar to Canada or western European countries.

    If true, so what? Again, look at socio-economics and crowding.

    I've been looking at the socio-economics for the last 60 years or so.
    Despite many attempts at preferential treatment there is a tranche of
    society that has not moved forward.

    Hmmmm, and why is that?

    Genetics.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Wed Apr 10 06:58:47 2024
    XPost: alt.politics, nz.politics

    On 9 Apr 2024 15:58:01 GMT, rbowman wrote:

    Retroactively impose some sort of licensing on firearm owners?

    Look at what Australia succeeded in doing after Port Arthur: reducing the
    rate of mass shootings from practically one a year to none over the
    subsequent decade.

    It wasn’t just laws, they also instituted a buyback program to take the assault-style weapons out of circulation. That’s a key point: you don’t just want to drive the weapons underground.

    Here in NZ we are hoping to emulate their success.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Wed Apr 10 07:01:44 2024
    On Tue, 9 Apr 2024 08:46:03 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sat, 6 Apr 2024 07:59:04 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    Until you realized it would never work, because classes are not
    objects in C++.

    :-D WTF you talkin', Willis? Ye nae true Scotman fallacy?

    You tell me: does C++ accept “true Scotsmen” among its users/features, >> or not?

    C++ provides many forms of programming, including object-oriented programming.

    But no metaclasses, like Python does.

    I came up with an interesting use for them, to allow convenient definition
    of a hierarchy of exception classes representing return codes from a given
    API. More details in the “Uses For Metaclasses” notebook in this
    collection <https://gitlab.com/ldo/python_topics_notebooks/>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to rbowman on Wed Apr 10 05:57:22 2024
    rbowman wrote:

    Something needs to be done.

    Something needs to be done!!! Anything!!! Now!!!

    Let's ban guns! That won't have the effect of disarming law-abiding
    citizens, while the criminals will still have them, right?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to chrisv on Wed Apr 10 08:17:40 2024
    chrisv wrote this copyrighted missive and expects royalties:

    rbowman wrote:

    Something needs to be done.

    Something needs to be done!!! Anything!!! Now!!!

    Let's ban guns! That won't have the effect of disarming law-abiding citizens, while the criminals will still have them, right?

    Who said "ban"? Although that seems to be effective in countries that are serious about curbing gun violence.

    --
    Abandon the search for Truth; settle for a good fantasy.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Wed Apr 10 08:19:33 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-08, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-07, rbowman <bowman@montana.com> wrote:
    On Sun, 7 Apr 2024 09:50:51 -0400, Chris Ahlstrom wrote:


    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower- >>>> cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than >>>>> the most urban counties from 2011 to 2020, an analysis found.

    "From 2011 to 2020, the most rural counties had a 46% lower rate of gun >>>> homicide deaths than the most urban counties but a 76% higher rate of gun >>>> suicide deaths, according to Reeping’s analysis."

    Left that part out, did you? I'd say there is a difference between
    someone deciding to end their own life and having some thug deciding to >>>> end it for them.

    The liars ALWAYS "massage" the figures to try to make their lying point.

    Up yours.

    I wasn't calling YOU a liar, dipshit, I was calling those who put out the figures you gullibly use (misuse) for your talking points, liars.

    So I am not a liar, just a dipshit. :-D

    --
    Day of inquiry. You will be subpoenaed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Wed Apr 10 08:23:00 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-09, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 8 Apr 2024 08:24:11 -0400, Chris Ahlstrom wrote:


    I'd say there is a difference between someone deciding to end their own >>>>> life and having some thug deciding to end it for them.

    How so?

    One is a choice by an individual the other is an infringement and act of >>> aggression by a another person.

    Both are bad. Both are symptoms of socio-economic problems.

    But killing ANOTHER person is MUCH worse than killing yourself. If you can't see why than you're an idiot.

    Not a liar, but a dipshit and idiot! :-D

    --
    Q: What do they call the alphabet in Arkansas?
    A: The impossible dream.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Wed Apr 10 08:16:03 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 9 Apr 2024 17:28:29 -0400, Chris Ahlstrom wrote:

    rbowman wrote this copyrighted missive and expects royalties:

    On Tue, 9 Apr 2024 08:45:00 -0400, Chris Ahlstrom wrote:


    I said nothing about eliminating firearms. But they need the same type >>>> of control applied to driving automobiles.

    What sort of control would that be? Retroactively impose some sort of
    licensing on firearm owners?

    Something needs to be done.

    Something needs to be done!!! Anything!!! Now!!! The problem is defining
    a something that will be effective in achieving the stated goals than the
    war on poverty, the war on drugs, the war on stupidity, and so on.


    Then there is the elephant in the room the politically correct would >>>>> rather ignore. Subtract out POCs killing each other and the homicide >>>>> rate looks very similar to Canada or western European countries.

    If true, so what? Again, look at socio-economics and crowding.

    I've been looking at the socio-economics for the last 60 years or so.
    Despite many attempts at preferential treatment there is a tranche of
    society that has not moved forward.

    Hmmmm, and why is that?

    Genetics.

    :-D


    --
    All things that are, are with more spirit chased than enjoyed.
    -- Shakespeare, "Merchant of Venice"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Apr 10 08:36:35 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Tue, 9 Apr 2024 08:46:03 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    On Sat, 6 Apr 2024 07:59:04 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    Until you realized it would never work, because classes are not
    objects in C++.

    :-D WTF you talkin', Willis? Ye nae true Scotman fallacy?

    You tell me: does C++ accept “true Scotsmen” among its users/features, >>> or not?

    C++ provides many forms of programming, including object-oriented
    programming.

    But no metaclasses, like Python does.

    I came up with an interesting use for them, to allow convenient definition
    of a hierarchy of exception classes representing return codes from a given API. More details in the “Uses For Metaclasses” notebook in this collection <https://gitlab.com/ldo/python_topics_notebooks/>.

    Interesting. It is not clear to me why you need metaclasses to implement the example, though.

    On another note, C++20 introduces the concept of "concepts", which put constraints on templates and their parameters. The constraints are based on concepts like you'd find at cppreference.com:

    std::map meets the requirements of Container, AllocatorAwareContainer,
    AssociativeContainer and ReversibleContainer.

    The full list is here:

    https://en.cppreference.com/w/cpp/concepts

    Well, not the full list:

    Additional concepts can be found in the iterators library, the algorithms
    library, and the ranges library.

    These programming languages arms races are fun!

    --
    Time to be aggressive. Go after a tattooed Virgo.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to RonB on Wed Apr 10 08:37:41 2024
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-08, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    RonB wrote this copyrighted missive and expects royalties:

    On 2024-04-07, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    chrisv wrote this copyrighted missive and expects royalties:

    Chris Ahlstrom wrote:

    https://www.nbcnews.com/health/health-news/map-gun-death-rates-lower-cities-than-rural-counties-rcna81462

    The most rural counties had a 37% higher rate of firearm deaths than the
    most urban counties from 2011 to 2020, an analysis found.

    Because of a higher suicide rate. The rural counties have a far lower >>>>> homicide rate. From the above article:

    "From 2011 to 2020, the most rural counties had a 46% lower rate of
    gun homicide deaths than the most urban counties but a 76% higher rate >>>>> of gun suicide deaths, according to Reeping's analysis."

    That's very comforting to know that gun-toters can commit both homicide and
    suicide. :-*

    I'm more worried about the ones who commit homicide. How about you?

    Both are unfortunate. And aren't both sins in your belief system?

    Both are sins, but only one is murder. Again if you can't figure out which
    is worse and why, then you're an idiot.

    Nah, I don't care which is "worse".

    --
    You look tired.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Wed Apr 10 17:07:27 2024
    On Wed, 10 Apr 2024 08:19:01 -0400, Chris Ahlstrom wrote:

    Sort of. They are both problems, though.

    Suicide is a different sort of problem. I don't think there are murder hot lines you can call if you feel like killing someone.

    https://www.frontiersin.org/journals/public-health/articles/10.3389/fpubh. 2022.955008/full

    While 55% of the males use a firearm, only 30% of the females do so.
    Better have some regulations on rope, pantyhose, or whatever else can be
    used to hang yourself.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to RonB on Wed Apr 10 16:57:30 2024
    On Wed, 10 Apr 2024 02:16:33 -0000 (UTC), RonB wrote:


    I heard a lot about Browning when I lived in Great Falls. Don't think I
    ever there (or through there) though.

    It's on 2 just past East Glacier. Theoretically it should get traffic from Glacier tourists who go over Logan and then back on 2 or some other
    routing. There is a hotel and casino but not much else.

    I think I would have been on the French side in the war. The French
    seemed to be able to trade with the Indians and get along with them (and
    send missionaries). The English conquered and destroyed.

    In general the French preferred to make love, not war. My grandmother was
    a Quebec convent girl (orphan) so I didn't know anything about her roots.
    My first brush with DNA testing was out of curiosity when National
    Geographic offered it. 0% Indian DNA. I don't know how accurate the
    autosomal profiles are, but no French component either.

    Even in New York State when it was under Dutch control it was mostly about trading instead of settling in. The Dutch and English used the Iroquois as proxies in the Beaver Wars with the English picking up after the Anglo-
    Dutch wars.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Apr 11 06:40:25 2024
    On 10 Apr 2024 17:07:27 GMT, rbowman wrote:

    Better have some regulations on rope, pantyhose, or whatever else can
    be used to hang yourself.

    The gun nuts do love to conflate constructive tools with destructive
    weapons, don’t they?

    Constructive tools have peaceful, productive uses; destructive weapons
    exist only to cause damage. When a gun is causing destruction, injury and death, it is only working as designed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Thu Apr 11 06:47:51 2024
    On Wed, 10 Apr 2024 08:36:35 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    I came up with an interesting use for [metaclasses], to allow
    convenient definition of a hierarchy of exception classes representing
    return codes from a given API. More details in the “Uses For
    Metaclasses” notebook in this collection
    <https://gitlab.com/ldo/python_topics_notebooks/>.

    Interesting. It is not clear to me why you need metaclasses to implement
    the example, though.

    How would you do it at least as easily, without them?

    And how would you do that in C++?

    On another note, C++20 introduces the concept of "concepts", which put constraints on templates and their parameters.

    In Python, that would just be another instance of the same type-annotation system it already has. Remember that Python does not need a “template language” versus a “run-time language”.

    These programming languages arms races are fun!

    C++ is already over 5× the complexity of Python, and looks like it is
    growing even faster.

    In other words, it is C++ that is struggling to keep up, not Python.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Thu Apr 11 11:38:44 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Wed, 10 Apr 2024 08:36:35 -0400, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this copyrighted missive and expects
    royalties:

    I came up with an interesting use for [metaclasses], to allow
    convenient definition of a hierarchy of exception classes representing
    return codes from a given API. More details in the “Uses For
    Metaclasses” notebook in this collection
    <https://gitlab.com/ldo/python_topics_notebooks/>.

    Interesting. It is not clear to me why you need metaclasses to implement
    the example, though.

    How would you do it at least as easily, without them?

    And how would you do that in C++?

    On another note, C++20 introduces the concept of "concepts", which put
    constraints on templates and their parameters.

    In Python, that would just be another instance of the same type-annotation system it already has. Remember that Python does not need a “template language” versus a “run-time language”.

    These programming languages arms races are fun!

    C++ is already over 5× the complexity of Python, and looks like it is growing even faster.

    In other words, it is C++ that is struggling to keep up, not Python.

    Whatever, dude. Keep checking boxes in the feechure matrix.

    --
    And do you think (fop that I am) that I could be the Scarlet Pumpernickel?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Sat Apr 13 03:24:49 2024
    On Thu, 11 Apr 2024 11:38:44 -0400, Chris Ahlstrom wrote:

    Keep checking boxes in the feechure matrix.

    And keep adding them to your C++ wishlist. Already 5-6× the complexity of Python, yet nowhere near as expressive.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Sat Apr 13 10:57:00 2024
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Thu, 11 Apr 2024 11:38:44 -0400, Chris Ahlstrom wrote:

    Keep checking boxes in the feechure matrix.

    And keep adding them to your C++ wishlist. Already 5-6× the complexity of Python, yet nowhere near as expressive.

    :-D You are full of shit.

    --
    Hope that the day after you die is a nice day.

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