• Gentoo Emerge Report 2024-01-06

    From Farley Flud@21:1/5 to All on Sat Jan 6 14:08:21 2024
    This lovely morning, my lovely and incomparable Gentoo machine automagically downloaded, configured, compiled, and installed, all according to my strict specifications, the following software packages:

    portage
    dev-ruby/reline
    '=dev-lang/python-3.12.1_p1'
    itstool
    '=qtxml-5.15.12'
    '=qtnetwork-5.15.12'
    '=qtconcurrent-5.15.12'
    '=linguist-tools-5.15.12:5'
    qpdf
    hatch-fancy-pypi-readme
    '=qtgui-5.15.12'
    netpbm
    '=qtwidgets-5.15.12'
    '=qtmultimedia-5.15.12'
    '=qtopengl-5.15.12'
    '=qtprintsupport-5.15.12'
    '=qtsvg-5.15.12

    Note the python version 12. Now I have FOUR separate and distinct python versions on my system:

    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1

    Holy fuckin' moley! What a fuckin' clusterfuck!

    Note also the python package: hatch-fancy-pypi-readme.

    What the fuckin' fuck? Who would ever need that cockamamie
    load of python malarkey?

    Also, the whole friggin' QT system (or only the parts that _I_
    want) was updated.

    How much time was required to accomplish this highly practical
    act of inimitable magic?

    Shoot! I stood up to scratch my testicles and when I sat back
    down is was complete.

    Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

    Gentoo Linux. It serves only the Big Boys.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Farley Flud on Sun Jan 7 05:44:02 2024
    On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:

    Now I have FOUR separate and distinct
    python versions on my system:

    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1

    I have had more than that. Very handy to be able to have multiple versions installed side by side, so I can test a library I write to ensure it works properly with a suitable range of versions.

    Can you do this on M****s*ft W**d*ws? No.

    --- 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 Jan 7 10:18:24 2024
    Le 06-01-2024, Farley Flud <ff@linux.rocks> a écrit :
    Note the python version 12. Now I have FOUR separate and distinct python versions on my system:

    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1

    Holy fuckin' moley! What a fuckin' clusterfuck!

    Yes, it's really funny to read. Now, you just proved how incompetent you
    are. In another message you said that on your machine python was used
    only to pretty print the install messages. So now, you have to choose:
    - either you are unable to clean your computer.
    - either you don't know what's running on your computer and why.
    Note: I'm claiming only that one of them must be true, both can be true
    at the same time.

    I have only one version of python, so clearly Linux can run without all
    those versions. You rely more heavily on python than me, you should
    choose your claims with care.

    What the fuckin' fuck? Who would ever need that cockamamie
    load of python malarkey?

    Obviously: you.

    --
    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 All on Sun Jan 7 12:29:26 2024
    On 07 Jan 2024 10:18:24 GMT, Stéphane CARPENTIER wrote:


    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1


    I have only one version of python, so clearly Linux can run without all
    those versions.


    Wrong again, Carpenter.

    If I remove any of those python versions then certain programs will
    not run. They are all necessary.

    That's the point I am making. Python is such a fucked up language
    that some software will need to be re-written whenever a new Python
    version is released.

    But many software developers don't want to waste their time
    re-writing their programs for each new Python upgrade. Therefore,
    any comprehensive GNU/Linux system must contain several different
    Python versions.

    You don't know this, Carpenter, because you are NOT a programmer.
    You are only a simple, stupid user of some lame, Ubuntu-derived,
    junk Linux distro. IOW, STFU.

    For example, even though python-2.7 is now declared obsolete,
    the package "jbig2enc" requires python-2.7 or else it will
    not run:

    https://github.com/agl/jbig2enc

    Check the source code, Carpenter (if you can). The highly
    important utility "pdf.py" invokes python-2.7.

    Apparently, the contributors to jbig2enc don't want to waste
    time re-writing the code to use a new python version.

    Why don't you contribute a patch, Carpenter? Huh? Why not?
    You have a big, fat mouth when it comes to criticism. Why
    don't you put your "expertise" to work for the jbig2enc
    project?

    We all know the answer.

    Ha, ha, ha, ha, ha, ha!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lawrence D'Oliveiro on Sun Jan 7 10:15:30 2024
    On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
    On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:

    Now I have FOUR separate and distinct
    python versions on my system:

    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1

    I have had more than that. Very handy to be able to have multiple versions installed side by side, so I can test a library I write to ensure it works properly with a suitable range of versions.

    Can you do this on M****s*ft W**d*ws? No.



    I've done it for years on Windows 10 and 11 (with 2 python versions).

    https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Larry Piet on Sun Jan 7 10:40:48 2024
    On 1/6/2024 9:08 AM, Larry Piet wrote:

    This lovely morning, my lovely and incomparable

    Python-administered


    Gentoo machine automagically downloaded, configured, compiled, and installed,

    It seems like magic to a non-programmer like you, but it's really just
    Python programming.


    all according to my strict
    specifications, the following software packages:

    portage
    dev-ruby/reline
    '=dev-lang/python-3.12.1_p1'
    itstool
    '=qtxml-5.15.12'
    '=qtnetwork-5.15.12'
    '=qtconcurrent-5.15.12'
    '=linguist-tools-5.15.12:5'
    qpdf
    hatch-fancy-pypi-readme
    '=qtgui-5.15.12'
    netpbm
    '=qtwidgets-5.15.12'
    '=qtmultimedia-5.15.12'
    '=qtopengl-5.15.12'
    '=qtprintsupport-5.15.12'
    '=qtsvg-5.15.12

    Why can't the hobbyist developers alphabetize the list of packages?


    Note the python version 12. Now I have FOUR separate and distinct python versions on my system:

    python-2.7.18
    python-3.8.18
    python-3.11.7
    python-3.12.1

    And you can't write a lick of code in any of them.


    Holy fuckin' moley! What a fuckin' clusterfuck!

    Note also the python package: hatch-fancy-pypi-readme.

    What the fuckin' fuck? Who would ever need that cockamamie
    load of python malarkey?

    Your Gentoo crapbox of course.



    Also, the whole friggin' QT system (or only the parts that _I_
    want) was updated.

    How much time was required to accomplish this highly practical
    act of inimitable magic?

    Shoot! I stood up to scratch my testicles and when I sat back
    down is was complete.


    Quit lying, Ken: you don't have testicles.


    Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

    Gentoo Linux. It serves only the Big Boys.

    Tinkertime toys for tinkertime boys

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Sun Jan 7 19:18:34 2024
    On Sun, 7 Jan 2024 10:15:30 -0500, DFS wrote:

    On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
    On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:

    Now I have FOUR separate and distinct python versions on my system:

    python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1

    I have had more than that. Very handy to be able to have multiple
    versions installed side by side, so I can test a library I write to
    ensure it works properly with a suitable range of versions.

    Can you do this on M****s*ft W**d*ws? No.


    I've done it for years on Windows 10 and 11 (with 2 python versions).

    I can see why you would have trouble with more than that.

    https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/

    Quote:

    We will now create copies of the python executable and rename them
    to python27 and python310. This is necessary so that system knows
    the python version to run.

    I lost the will to live at that point ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Farley Flud on Sun Jan 7 19:39:37 2024
    On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:

    Apparently, the contributors to jbig2enc don't want to waste time
    re-writing the code to use a new python version.

    Line 165 print(str(doc))

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Sun Jan 7 22:56:16 2024
    On Sun, 7 Jan 2024 19:18:34 -0000 (UTC), Lawrence D'Oliveiro wrote:

    We will now create copies of the python executable and rename them
    to python27 and python310. This is necessary so that system knows
    the python version to run.

    I lost the will to live at that point ...

    That's a little heavy handed but I don't think Windows ever got symlinks working entirely satisfactorily. With anaconda and virtual environmetns
    you can really knock yourself out.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lawrence D'Oliveiro on Mon Jan 8 09:03:41 2024
    On 1/7/2024 2:18 PM, Lawrence D'Oliveiro wrote:
    On Sun, 7 Jan 2024 10:15:30 -0500, DFS wrote:

    On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
    On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:

    Now I have FOUR separate and distinct python versions on my system:

    python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1

    I have had more than that. Very handy to be able to have multiple
    versions installed side by side, so I can test a library I write to
    ensure it works properly with a suitable range of versions.

    Can you do this on M****s*ft W**d*ws? No.


    I've done it for years on Windows 10 and 11 (with 2 python versions).

    I can see why you would have trouble with more than that.

    No trouble.


    https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/

    Quote:

    We will now create copies of the python executable and rename them
    to python27 and python310. This is necessary so that system knows
    the python version to run.

    I lost the will to live at that point ...

    Learn to follow through.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Mon Jan 8 09:08:39 2024
    On 1/7/2024 2:39 PM, rbowman wrote:
    On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:

    Apparently, the contributors to jbig2enc don't want to waste time
    re-writing the code to use a new python version.

    Line 165 print(str(doc))


    That syntax will execute in Python 2.x and 3.x.

    "print str(doc)" will execute in 2.x but not in 3.x.


    3.x will throw:
    SyntaxError: Missing parentheses in call to 'print'.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Mon Jan 8 17:08:17 2024
    On Mon, 8 Jan 2024 09:08:39 -0500, DFS wrote:

    On 1/7/2024 2:39 PM, rbowman wrote:
    On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:

    Apparently, the contributors to jbig2enc don't want to waste time
    re-writing the code to use a new python version.

    Line 165 print(str(doc))


    That syntax will execute in Python 2.x and 3.x.

    "print str(doc)" will execute in 2.x but not in 3.x.


    3.x will throw:
    SyntaxError: Missing parentheses in call to 'print'.

    While it made the purists happy to have print be a 'real' function it
    certainly was a major pain in the ass. I didn't have the files to
    actually run the script but the interpreter didn't complain after that
    fix.

    From its location, indentation, and unneeded inclusion I assume it was a leftover debug statement.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Mon Jan 8 13:07:06 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 8 Jan 2024 09:08:39 -0500, DFS wrote:

    On 1/7/2024 2:39 PM, rbowman wrote:
    On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:

    Apparently, the contributors to jbig2enc don't want to waste time
    re-writing the code to use a new python version.

    Line 165 print(str(doc))

    That syntax will execute in Python 2.x and 3.x.

    "print str(doc)" will execute in 2.x but not in 3.x.

    3.x will throw:
    SyntaxError: Missing parentheses in call to 'print'.

    While it made the purists happy to have print be a 'real' function it certainly was a major pain in the ass. I didn't have the files to
    actually run the script but the interpreter didn't complain after that
    fix.

    From its location, indentation, ...

    That stupid block indentation of Python drives me apeshit.

    and unneeded inclusion I assume it was a
    leftover debug statement.

    --
    Good day for a change of scene. Repaper the bedroom wall.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Mon Jan 8 19:55:25 2024
    On Mon, 8 Jan 2024 13:07:06 -0500, Chris Ahlstrom wrote:

    That stupid block indentation of Python drives me apeshit.

    It's not my favorite feature although I can understand the reason. I've
    seen too much code that looked like an entry in an obfuscated code
    contest. The major drawback is after pasting a block you need to do a fix
    up to get the indentation right.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Joel on Mon Jan 8 17:22:30 2024
    On 1/8/2024 1:13 PM, Joel wrote:
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Python


    I can't imagine having a purpose for it.

    That's because you don't write computer programs. But once you learn
    enough python, you'll question having a purpose for C. It takes 3x to
    10x as long to get something done in C as in python, and much more code.

    Of course C programs generally execute an order of magnitude faster than python.




    Linux is a great platform to
    just write C code and compile it, can be done the same on NT, but
    programmers use a lot of elaborate crap that seems irrelevant to non-
    GUI, non-prefab code-dependent work.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Tue Jan 9 00:22:52 2024
    On Mon, 8 Jan 2024 17:22:30 -0500, DFS wrote:

    Of course C programs generally execute an order of magnitude faster than python.

    https://www.pypy.org

    https://cython.org/

    PyPy is less fiddly but there are caveats. The JIT startup time overhead
    means you don't want to use it for short scripts and it doesn't offer any benefits with some modules.

    Cython is more work but can give some impressive resuts.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Joel on Tue Jan 9 07:09:37 2024
    Joel wrote this copyrighted missive and expects royalties:

    DFS <nospam@dfs.com> wrote:

    But once you learn
    enough python, you'll question having a purpose for C.

    A bold claim.

    They each have their sweet spots. Python in fact is written in C, for example.

    Python is nice for using associative containers and such, and very useful with libraries like NumPy and SciPy.

    However, my personal preference is to use the vast facilities of C++.


    It takes 3x to
    10x as long to get something done in C as in python, and much more code.

    Of course C programs generally execute an order of magnitude faster than >>python.

    Neither reason means much to me. I like lower level coding.

    It can be fun to get into the weeds. About 35 years ago I had a job that involved writing MASM. The downsides were that the project leader required the CapsLock key to be on all the time (which made the comments difficult to read); the team had the most turgid and odd way of jumping between 64k segments, and there was so much code that there was a lot of basically duplicate code. No source-code control. And they used EDLIN, and one of the modules was about a megabyte in size. (I eventually bought a copy of VEDIT for myself).

    --
    You will hear good news from one you thought unfriendly to you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Tue Jan 9 17:49:12 2024
    On Tue, 9 Jan 2024 07:09:37 -0500, Chris Ahlstrom wrote:

    It can be fun to get into the weeds. About 35 years ago I had a job
    that involved writing MASM. The downsides were that the project leader required the CapsLock key to be on all the time (which made the comments difficult to read);
    the team had the most turgid and odd way of jumping between 64k
    segments, and there was so much code that there was a lot of basically duplicate code. No source-code control. And they used EDLIN, and one of
    the modules was about a megabyte in size. (I eventually bought a copy
    of VEDIT for myself).

    At one point I wrote a 8048 cross assembler on CP/M. The impetus was the official company machine was a PDP-11 and cross assemblers for that were ridiculously expensive.

    My 'hello world' project with Java was a Atmel AVR cross assembler. That
    was an exercise in futility. I had hopes for Java but they quickly
    evaporated.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Joel on Sun Jan 14 07:28:47 2024
    On Mon, 08 Jan 2024 17:37:00 -0500, Joel wrote:

    ... I don't find it at all tedious to use C or even
    assembly.

    A simple example: drawing a suitably-oriented line using Cairo
    graphics in C:

    x1 = scope_radius * sin(trace_width_angle);
    y1 = scope_radius * cos(trace_width_angle);
    cairo_line_to(ctx, x1, y1);

    versus a high-level Python wrapper I wrote:

    ctx.line_to(Vector(0, scope_radius).rotate(trace_width_angle))

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Lawrence D'Oliveiro on Sun Jan 14 10:58:18 2024
    On Sun, 14 Jan 2024 07:28:47 -0000 (UTC), Lawrence D'Oliveiro wrote:


    A simple example: drawing a suitably-oriented line using Cairo
    graphics in C:

    x1 = scope_radius * sin(trace_width_angle);
    y1 = scope_radius * cos(trace_width_angle);
    cairo_line_to(ctx, x1, y1);


    This is inefficient because trig functions are expensive.
    It should be:

    #define _GNU_SOURCE
    #include <math.h>

    sincos(trace_width_angle, &x1, &y1);
    cairo_line_to(ctx, scope_radius*x1, scope_radius*y1);

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

    On Mon, 08 Jan 2024 17:37:00 -0500, Joel wrote:

    ... I don't find it at all tedious to use C or even
    assembly.

    A simple example: drawing a suitably-oriented line using Cairo
    graphics in C:

    x1 = scope_radius * sin(trace_width_angle);
    y1 = scope_radius * cos(trace_width_angle);
    cairo_line_to(ctx, x1, y1);

    versus a high-level Python wrapper I wrote:

    ctx.line_to(Vector(0, scope_radius).rotate(trace_width_angle))

    Even ignoring the wrapper you had to figure out and write, that line
    is just as tedious :-D

    You could write a C function, too, y'know.

    --
    Your sister swims out to meet troop ships.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Joel on Sun Jan 14 13:09:33 2024
    On 1/8/2024 5:37 PM, Joel wrote:
    DFS <nospam@dfs.com> wrote:
    On 1/8/2024 1:13 PM, Joel wrote:
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Python

    I can't imagine having a purpose for it.

    That's because you don't write computer programs.


    I have, though, and I don't find it at all tedious to use C or even
    assembly. Why do you think I was interested in this NG, in 2009? I've
    always had an interest in the lower level operations of OSes. Even as
    a Wintroll, back then, I was talking about cool aspects of Windows,
    what is more properly called NT, not just the bells and whistles.
    It's the same reason I think Linux is even better, it doesn't require
    the commercial layers of crud of Winblows.


    But once you learn
    enough python, you'll question having a purpose for C.


    A bold claim.


    It's pretty much a fact. Of course there are exceptions: python is next
    to useless for embedded, OSes, compilers, system programming, device
    drivers, probably HPC, etc. So if you're primarily involved in those
    areas, you'll laugh at Python.


    Python
    ----------------------------------------------------------------------
    #count lines in a text file
    len(open(filepath).readlines())

    #count words in a text file
    len(open(filepath).read().split())

    #count the unique values in a string
    values = "ABDEEABCDFFFZZWXXXX"
    x = [(i,values.count(i)) for i in sorted(set(values))]
    for val,cnt in x:
    print(val + ' ('+ str(cnt) + ') ',end='') ----------------------------------------------------------------------
    6 lines of code



    C
    --------------------------------------------------------------
    //count lines in a text file
    #include <stdio.h>
    int main(void) {
    int lines = 0;
    char line[1024] = "";
    FILE *fin = fopen(filepath,"r");
    while (fgets(line,sizeof line, fin)!= NULL) {
    lines++;
    }
    fclose(fin);
    return 0;
    }
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ctype.h>

    int main(int argc, char *argv[])
    {
    // open file, move to end, get size, allocate memory, back to
    // beginning, read contents into memory, close file
    FILE *infile = fopen(argv[1], "r");
    fseek(infile, 0, SEEK_END);
    long buffer = ftell(infile);
    char *myStr = malloc(sizeof(char) * (buffer + 1));
    rewind(infile);
    fread(myStr, sizeof(char), buffer, infile);
    fclose(infile);

    //word count is number of spaces + 1
    int countWords = 1;
    for (int i = 0; i < buffer; i++) {
    if(isspace(myStr[i]) && !isspace(myStr[i+1])) {countWords++;}
    }

    free(myStr);
    printf("\n%d words", countWords);
    }

    -----------------------------------------------------------------
    //count the unique values in a string
    #include <stdio.h>
    #include <string.h>
    int main(void) {
    char *values = "ABDEEABCDFFFZZWXXXX";
    int n = 0, cnts[26]={0}, cntsz = sizeof(cnts)/sizeof(cnts[0]);
    for (int c = 0; c < strlen(values); c++) {
    cnts[values[n]-'A']++;
    n++;
    }
    for (int c = 0; c < cntsz; c++) {
    if(cnts[c] > 0) {
    printf("%c (%d)",c+'A',cnts[c]);
    }
    }
    return 0;
    }
    -----------------------------------------------------------------
    37 LOC




    It takes 3x to
    10x as long to get something done in C as in python, and much more code.

    Of course C programs generally execute an order of magnitude faster than
    python.


    Neither reason means much to me. I like lower level coding.

    Supposedly you do, but you've never demonstrated it here. But for some
    reason you've talked a lot about drugs and buttfucking and transgenderism.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to DFS on Sun Jan 14 21:51:38 2024
    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:


    C
    --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1


    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.
    A "word" can be delimited by double or triple spaces or n-spaces,
    a tab or several tabs, by a line feed, and probably many other
    possibilities.

    Then there is the question of what exactly constitutes a "word."

    The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
    employ a lexer, like GNU flex, to rigorously define a "word,"
    using strict regex conventions, as opposed to a "word delimiter."

    https://github.com/westes/flex

    So do it -- if you can. Ahahahahahahahahahahahahahahahaha!

    Code monkeys, like you, belong only in a fucking zoo.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Farley Flud on Sun Jan 14 20:23:38 2024
    On 1/14/2024 4:51 PM, Farley Flud wrote:
    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:


    C
    --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1


    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.

    Rarely.



    A "word" can be delimited by double or triple spaces or n-spaces,

    "if(isspace(myStr[i]) && !isspace(myStr[i+1]))" defeats that Feeb-whine.

    Explain why.


    a tab or several tabs, by a line feed, and probably many other
    possibilities.

    So?

    Who wants to spend inordinate time looking for every possible case?



    Then there is the question of what exactly constitutes a "word."

    "Element of speech or writing, typically shown with a space on either
    side." Done.


    The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
    employ a lexer, like GNU flex, to rigorously define a "word,"
    using strict regex conventions, as opposed to a "word delimiter."

    You and flex and 'regex conventions' don't get to make up your own
    arbitrary definition of a word.

    What a moron.



    https://github.com/westes/flex

    What's with the constant usage of Lego blocks created by others?

    Be an "INNOVATOR". Be a "REAL MAN". Be a programmer/coder/developer.




    So do it -- if you can. Ahahahahahahahahahahahahahahahaha!

    It's your claim to support. Which you won't, of course.

    Feeb: weak drill, tiny hammer, shoddy results, failed inspection.



    Code monkeys, like you, belong only in a fucking zoo.

    Non-coders like you belong far away from IT.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Farley Flud on Mon Jan 15 02:26:23 2024
    On Sun, 14 Jan 2024 21:51:38 +0000, Farley Flud wrote:

    Code monkeys, like you, belong only in a fucking zoo.

    Along with the yaks and bison?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Mon Jan 15 05:09:51 2024
    On Sun, 14 Jan 2024 20:23:38 -0500, DFS wrote:

    On 1/14/2024 4:51 PM, Farley Flud wrote:
    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:


    C --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1


    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.

    Rarely.

    https://en.wikipedia.org/wiki/Comma-separated_values

    "Comma-separated values (CSV) is a text file format that uses commas to separate values. "

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Farley Flud on Mon Jan 15 07:50:57 2024
    Farley Flud wrote this copyrighted missive and expects royalties:

    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:

    C
    --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1

    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.
    A "word" can be delimited by double or triple spaces or n-spaces,
    a tab or several tabs, by a line feed, and probably many other
    possibilities.

    Then there is the question of what exactly constitutes a "word."

    The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
    employ a lexer, like GNU flex, to rigorously define a "word,"
    using strict regex conventions, as opposed to a "word delimiter."

    https://github.com/westes/flex

    So do it -- if you can. Ahahahahahahahahahahahahahahahaha!

    Code monkeys, like you, belong only in a fucking zoo.

    Or:

    https://github.com/coreutils/coreutils/blob/master/src/wc.c

    --
    Never laugh at live dragons.
    -- Bilbo Baggins [J.R.R. Tolkien, "The Hobbit"]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Chris Ahlstrom on Mon Jan 15 13:34:19 2024
    On Mon, 15 Jan 2024 07:50:57 -0500, Chris Ahlstrom wrote:


    Or:

    https://github.com/coreutils/coreutils/blob/master/src/wc.c


    The GNU Flex source contains, for the purpose of illustration,
    several implementations of wc using flex. Here is the simplest:

    https://github.com/westes/flex/blob/master/examples/fastwc/wc1.l

    Just two regexes defining "white space" and "non-white space"
    are all that is necessary.

    A "word" is defined as "a non-zero-length sequence of printable
    characters delimited by white space."

    That's what "isgraph()" was made for.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Chris Ahlstrom on Mon Jan 15 08:01:05 2024
    Chris Ahlstrom wrote:

    https://github.com/coreutils/coreutils/blob/master/src/wc.c

    Did you know that I'm so utterly without a clue that I thought that
    stuff like that doesn't need to be tested to make sure that it works
    correctly?

    According to the shameless liar DumFSck, anyway.

    Apparently, he thinks that attacking with such absurd lies makes *me*
    look bad, not him. *boggle*

    --
    '[chrisv] literally said it was "stupid" to test the code vs relying
    on compiler warnings.' - DumFSck, lying shamelessly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Mon Jan 15 09:25:30 2024
    On 1/15/2024 12:09 AM, rbowman wrote:
    On Sun, 14 Jan 2024 20:23:38 -0500, DFS wrote:

    On 1/14/2024 4:51 PM, Farley Flud wrote:
    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:


    C --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1


    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.

    Rarely.

    https://en.wikipedia.org/wiki/Comma-separated_values

    "Comma-separated values (CSV) is a text file format that uses commas to separate values. "


    word count a .csv file? Insano!

    You trying to form a "crazy" cola diversity alliance with the Feeb?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Farley Flud on Mon Jan 15 10:00:12 2024
    On 1/14/2024 4:51 PM, Farley Flud wrote:
    On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:


    C
    --------------------------------------------------------------
    //count lines in a text file
    -----------------------------------------------------------------
    //count words in a text file = count of spaces + 1


    Ahahahahahahahahahahahaha! The retarded code monkey fails again!

    A "word" can be delimited by a lot more than a single space.
    A "word" can be delimited by double or triple spaces or n-spaces,
    a tab or several tabs, by a line feed, and probably many other
    possibilities.

    Then there is the question of what exactly constitutes a "word."

    The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
    employ a lexer, like GNU flex, to rigorously define a "word,"
    using strict regex conventions, as opposed to a "word delimiter."

    https://github.com/westes/flex

    So do it -- if you can. Ahahahahahahahahahahahahahahahaha!

    Code monkeys, like you, belong only in a fucking zoo.


    Hey twat, you babbled before testing my wc code against files with words separated by tab(s), multiple spaces, linefeeds, etc.

    Why did you babble first?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to shitv on Mon Jan 15 10:05:07 2024
    On 1/15/2024 9:01 AM, shitv wrote:
    Chris Ahlstrom wrote:

    https://github.com/coreutils/coreutils/blob/master/src/wc.c

    Did you know that I'm so utterly without a clue that I thought that
    stuff like that doesn't need to be tested to make sure that it works correctly?

    According to the shameless liar DumFSck, anyway.


    You're lying again, twit. I never said or implied such a thing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Physfitfreak on Tue Jan 16 02:44:06 2024
    On Mon, 15 Jan 2024 15:22:17 -0600, Physfitfreak wrote:


    I've always solved my problems by myself, using programs that I wrote
    myself. I don't use other people's subroutines. Even in school, I almost never used any of the hundreds of scientific subroutines available to
    us. I always did it myself. The time invested to go through someone
    else's program to see if it does it correctly wasn't worth it. It was
    faster that I write the program myself based on math and physics
    involved. I'd review such parts quickly, then I'd find out what
    numerical methods would solve them, then I'd convert the methods to
    computer program.


    Life is too short to rewrite a library like numpy...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Physfitfreak on Tue Jan 16 12:13:13 2024
    On Mon, 15 Jan 2024 21:57:44 -0600, Physfitfreak wrote:


    I never programmed for others, although I made a lot of money using VBA
    at work. But even there, I was doing it to make my own work easier. It
    wasn't someone else's project or part of one of company's grand
    programs. From begin to end, it was to make my own work easier and more accurate.


    That's the whole concept of PERSONAL COMPUTING.

    Every OS *must* include a compiler to allow the user to create his own software. Linux includes GCC, the GNU Compiler Collection, which can
    build not only C/C++ but several other languages a well. Linux also
    includes many other interpreters by default as well: Perl, Bash, Csh,
    Tk/Tcl, Python, etc. Linux is a personal computing dream.

    What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default,
    Microslop includes NOTHING. It is just a useless digital appliance
    that allows the user to receive personalized ads. The user can install Microslop's .NET framework but it is a junk monstrosity that is tailored
    to Microslop's proprietary garbage and it ignores universal standards. Microslop is USELESS for serious personal computing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Farley Flud on Tue Jan 16 14:53:31 2024
    On Tue, 16 Jan 2024 12:13:13 +0000, Farley Flud wrote:

    What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default, Microslop includes NOTHING. It is just a useless digital appliance that allows the user to receive personalized ads. The user can install Microslop's .NET framework but it is a junk monstrosity that is tailored
    to Microslop's proprietary garbage and it ignores universal standards. Microslop is USELESS for serious personal computing.

    How3 long does it take to install Visual Studio Community Edition,
    Anaconda, and other tools. If anyone who wants to create their own
    software can't do that they won't get far. If you're really determined to
    use Perl or Tcl/Tk they are a click away.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From RabidPedagog@21:1/5 to rbowman on Tue Jan 16 11:25:31 2024
    On 2024-01-16 9:53 a.m., rbowman wrote:
    On Tue, 16 Jan 2024 12:13:13 +0000, Farley Flud wrote:

    What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default,
    Microslop includes NOTHING.


    I don't make it a habit to reply to Larry Pietraskiewicz, but this one
    is worthwhile.

    Nothing of use, at the very least. If your standards are very low, the
    new Windows Media Player will satisfy you. As far as browsers go, Edge
    is pretty good as are the bundled Office web apps. By default though and without any charge whatsoever, what Linux offers is superior in terms of utility.

    It is just a useless digital appliance that
    allows the user to receive personalized ads.

    < snip >

    --
    @RabidPedagog
    Anti-Marxist

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Farley Flud on Tue Jan 16 13:44:17 2024
    On 1/16/2024 7:13 AM, Farley Flud wrote:

    Every OS *must* include a compiler to allow the user to create his own software. Linux includes GCC, the GNU Compiler Collection, which can
    build not only C/C++ but several other languages a well. Linux also
    includes many other interpreters by default as well: Perl, Bash, Csh,
    Tk/Tcl, Python, etc. Linux is a personal computing dream.

    Linux is a piecemeal kit that includes absolutely NOTHING unless a
    distro developer decides to add it.

    And each distro in the Linux hobbyware bizarro world includes a
    different desktop and apps and versions. So much for "standardization".



    What about Microslop Winblows? Ha, ha, ha, ha, ha, ha!

    It gave you and most Linux advocates whatever "careers" you have, so
    quit chortling.



    By default, Microslop includes NOTHING.

    idiot

    Windows 11 comes with:
    SQLite
    .NET 4.8
    Windows Terminal
    Powershell
    Edge (browser) Dev Tools
    Settings | System | For Developers (very lame)

    Which isn't much, but anything else you need is free, in abundance and
    minutes away.

    Windows was built for and succeeded mightily with less technical
    end-users, but there was never any good reason for MS to not include at
    least a minimal set of dev tools for those that wanted to dabble.

    In the future it would be nice if they preinstalled at least Python,
    Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent programmer's editor, like Visual Studio Code or Notepad++.



    It is just a useless digital appliance
    that allows the user to receive personalized ads.

    It allows you to make a living.


    The user can install Microslop's .NET framework

    It's already installed.


    but it is a junk monstrosity that is tailored
    to Microslop's proprietary garbage and it ignores universal standards.

    Good! I LOVE it when companies create their own proprietary products,
    and let the market accept them or not.

    What kind of control-freak shitbird would force MS to utilize only "open standards"?



    Microslop is USELESS for serious personal computing.


    Linux: made for developers, has the worst developers on the planet

    Windows: not made for developers, has the best developers on the planet

    ouch!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From RabidPedagog@21:1/5 to DFS on Tue Jan 16 15:08:53 2024
    On 2024-01-16 1:44 p.m., DFS wrote:
    On 1/16/2024 7:13 AM, Farley Flud wrote:

    Every OS *must* include a compiler to allow the user to create his own
    software.  Linux includes GCC, the GNU Compiler Collection, which can
    build not only C/C++ but several other languages a well.  Linux also
    includes many other interpreters by default as well: Perl, Bash, Csh,
    Tk/Tcl, Python, etc.  Linux is a personal computing dream.

    Linux is a piecemeal kit that includes absolutely NOTHING unless a
    distro developer decides to add it.

    I don't know of a single distribution that comes with little to nothing
    by default. With some like Ubuntu or Debian, you can choose to install
    nothing but it comes with most tools you'd need right after a default
    install.

    And each distro in the Linux hobbyware bizarro world includes a
    different desktop and apps and versions.  So much for "standardization".

    That _is_ choice. I like Gnome, but some people prefer the customization options of KDE, the familiarity of Cinnamon or the leanness of XFCE. An _interface_ doesn't need to be standard, but it is to everyone's
    advantage if software packages are. It's only a matter of time before
    Flatpak becomes the preferred choice for users who aren't fans of
    unpredictable behaviour.

    By default, Microslop includes NOTHING.

    idiot

    Windows 11 comes with:
    SQLite
    .NET 4.8
    Windows Terminal
    Powershell
    Edge (browser) Dev Tools
    Settings | System | For Developers (very lame)

    Which isn't much, but anything else you need is free, in abundance and minutes away.

    Especially if you know what you're looking for and use winget in the
    Command Prompt to download it all without a risk of obtaining malware.
    Using the Store, however, is a pain in the ass in comparison to Linux
    Mint's at the very least. However, you've just made Larry's point: those
    tools you listed are of no worth to any regular human being except
    someone looking to browse the web.

    Windows was built for and succeeded mightily with less technical
    end-users, but there was never any good reason for MS to not include at
    least a minimal set of dev tools for those that wanted to dabble.

    In the future it would be nice if they preinstalled at least Python,
    Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent programmer's editor, like Visual Studio Code or Notepad++.

    I would agree with you except that I have come across lots of very
    intelligent people who honestly find Windows daunting, especially when
    it comes to maintenance. As easy as it is for most technical people, it
    is considered remarkably complicated for those who aren't. I am utterly surprised by the requests I get for help, especially considering how
    child-like simple I find Windows to be. Linux Mint, because it doesn't
    require people to occasionally make use of the SFC /Scannow command to
    fix files that are strangely corrupt despite a clean install, actually
    ends up being a simpler OS to use.

    It is just a useless digital appliance
    that allows the user to receive personalized ads.

    It allows you to make a living.

    He IS right though. The system honestly feels like it was designed to
    simply serve us all personalized ads. The fact that the installation
    process asks questions about how much tracking we will allow makes it
    fairly clear.

    but it is a junk monstrosity that is tailored
    to Microslop's proprietary garbage and it ignores universal standards.

    Good!  I LOVE it when companies create their own proprietary products,
    and let the market accept them or not.

    What kind of control-freak shitbird would force MS to utilize only "open standards"?

    Microsoft is free to try to get users to adopt their standards rather
    than universal ones, but it shows what kind of a company they are.
    Unless they can clearly show that those universal standards require
    improvement and that their offerings include those improvements, they
    are simply ignoring the will of the people.

    Microslop is USELESS for serious personal computing.


    Linux:   made for developers,     has the worst developers on the planet

    Windows: not made for developers, has the best developers on the planet

    ouch!

    Subjective.

    --
    RabidPedagog
    Catholic paleoconservative

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Tue Jan 16 20:16:52 2024
    On Tue, 16 Jan 2024 13:44:17 -0500, DFS wrote:


    In the future it would be nice if they preinstalled at least Python,
    Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent programmer's editor, like Visual Studio Code or Notepad++.

    Except for VisualStudio and Notepad++ all are available for Linux, free,
    in abundance, and minutes away. Ironic you should include TCC.

    https://github.com/TinyCC/tinycc

    It was developed on Linux and somebody created a Windows binary. You can
    build it on Windows if you install MinGW and MSYS to create a Linux environment.

    Of course Ubuntu and most other distros include gcc by default. That
    includes C, C++, and Fortran. There might be others. Microsoft doesn't
    offer a Fortran compiler so you'd have to go third party -- or install
    gfortran with the Cygwin/MinGW packages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to RabidPedagog on Tue Jan 16 22:20:21 2024
    On Tue, 16 Jan 2024 11:25:31 -0500, RabidPedagog wrote:

    Nothing of use, at the very least. If your standards are very low, the
    new Windows Media Player will satisfy you. As far as browsers go, Edge
    is pretty good as are the bundled Office web apps. By default though and without any charge whatsoever, what Linux offers is superior in terms of utility.

    It takes me about a day to provision a new Windows machine. Most of what I install would be of no use to the vast majority of Windows users so it
    make no sense to be in the default.

    Linux is about the same. I forget if my last Ubuntu included gcc by
    default or if I installed build-essential and manpage-dev. Just for kicks
    I checked my WSL instances. Kali and Debian have gcc, Ubuntu doesn't. I
    have the feeling Ubuntu may be a little more 'consumerish'. I don't know
    if they still have the server option that is set up for LAMP. I never used
    that since I'm not that fond of Apache, MySQL, or PHP but at one time it
    was a one-stop out-of-the-box setup.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Joel on Tue Jan 16 19:13:59 2024
    Joel wrote this copyrighted missive and expects royalties:

    DFS <nospam@dfs.com> wrote:
    On 1/16/2024 7:13 AM, Farley Flud wrote:

    Microslop is USELESS for serious personal computing.

    Linux: made for developers, has the worst developers on the planet

    Windows: not made for developers, has the best developers on the planet

    ouch!

    Where do you get that from? I've found Linux perfectly stable.

    He's just trolling. Or he doesn't seem to realize that all OSes have developers ranging from newbies to real programmers.

    I'm wondering what morons work on Microsoft Teams.

    --
    You will triumph over your enemy.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to RabidPedagog on Wed Jan 17 11:08:03 2024
    On 1/16/24 10:25, RabidPedagog wrote:
    On 2024-01-16 9:53 a.m., rbowman wrote:
    On Tue, 16 Jan 2024 12:13:13 +0000, Farley Flud wrote:

    What about Microslop Winblows?  Ha, ha, ha, ha, ha, ha!  By default,
    Microslop includes NOTHING.


    I don't make it a habit to reply to Larry Pietraskiewicz, but this one
    is worthwhile.

    Nothing of use, at the very least. If your standards are very low, the
    new Windows Media Player will satisfy you. As far as browsers go, Edge
    is pretty good as are the bundled Office web apps. By default though and without any charge whatsoever, what Linux offers is superior in terms of utility.

    Yeah, I miss the days of finding little preinstalled goodies like the
    old Media Player, default music, widgets, etc etc

    It is just a useless digital appliance that
    allows the user to receive personalized ads.

    < snip >

    I wouldn't say it's useless, it definitely can do a lot. The ads are a
    bit overwhelming nowadays.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Wed Jan 17 23:21:00 2024
    On 1/16/2024 3:16 PM, rbowman wrote:
    On Tue, 16 Jan 2024 13:44:17 -0500, DFS wrote:


    In the future it would be nice if they preinstalled at least Python,
    Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent
    programmer's editor, like Visual Studio Code or Notepad++.

    Except for VisualStudio and Notepad++ all are available for Linux, free,
    in abundance, and minutes away. Ironic you should include TCC.


    I've been using it for years. It's extremely fast and small. The
    author, Fabrice Bellard, was an Obfuscated Code Contest winner.


    Priya Pedamkar says TCC is one of the Top 5 C compilers:

    https://www.educba.com/best-c-compilers/

    She's Microsoft-certified, so you know she's a good judge of C compilers...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Thu Jan 18 07:02:27 2024
    On Wed, 17 Jan 2024 23:21:00 -0500, DFS wrote:

    I've been using it for years. It's extremely fast and small. The
    author, Fabrice Bellard, was an Obfuscated Code Contest winner.

    "This compiler started its support for Windows in 2005."

    It's a good thing someone created a Windows binary using a port of gcc to Windows.

    https://www.mingw-w64.org/

    All I have to do is 'sudp apt install tcc' and voila:

    $ tcc
    Tiny C Compiler 0.9.27 - Copyright (C) 2001-2006 Fabrice Bellard
    Usage: tcc [options...] [-o outfile] [-c] infile(s)...
    tcc [options...] -run infile [arguments...]

    --- 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 Fri Jan 19 21:45:51 2024
    Le 16-01-2024, DFS <nospam@dfs.com> a écrit :

    Linux is a piecemeal kit that includes absolutely NOTHING unless a
    distro developer decides to add it.

    It's not exactly true.

    And each distro in the Linux hobbyware bizarro world includes a
    different desktop and apps

    It's more interesting than that. There are a lot of desktop and apps
    provided by every distro. Some of them choose which is the default,
    others don't choose and let you make your own choice. None of them
    require you to use the defaults.

    And that's great. You want to install a Linux system without worrying
    about the internals? You just pick a beginner's distro and every choice
    will be made for you. You don't like the defaults because you know what
    you do? Choose another distro.

    and versions.

    Yes and no. There is some diversity in the way they choose to be stable
    or up to date. But when they upgrade the version, they try to be as up
    to date as possible considering the stability and the compatibility with
    the rest of the system.

    So much for "standardization".

    That's something a Windows user can't understand. Windows do everything
    from the boot to the driver's management and they display of
    applications. In Linux, you don't have that: Linux is only a kernel. You
    need a tool to boot, a tool to display the windows, a tool to interact
    with the system and everything like that.

    So for Linux the standardisation is not about the version but about the
    way the different programs are interacting together. And it works pretty
    well. Lilo has been replaced effortless by grub, which can be removed to
    let the system boot directly from the UEFI. You can choose your Window
    manager. You can choose your terminal, your shell, and everything you
    want. With Windows, if you don't like the look and fell, it's probably
    possible to add a Windows Manager, but it's above Windows, it's not a replacement.

    If the version is different, it's often not a big deal. It's not like
    Word or Excel whose document can be unable to open on a new version when
    they are too old.

    Windows was built for and succeeded mightily with less technical
    end-users, but there was never any good reason for MS to not include at
    least a minimal set of dev tools for those that wanted to dabble.

    Let say that Powershell is pretty recent. Microsoft tried very hard to
    force people using the mouse instead of the shell.

    --
    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 All on Sat Jan 20 01:06:37 2024
    On 19 Jan 2024 21:45:51 GMT, Stéphane CARPENTIER wrote:

    Let say that Powershell is pretty recent. Microsoft tried very hard to
    force people using the mouse instead of the shell.

    I suppose 16 years is pretty recent on a geological time scale. Windows
    Script Host was optional on Windows 95 and included in Windows 98 and
    above. Originally it accepted JScript* and VBScript but has been extended
    to other languages. You could automate apps with an exposed COM/OLE
    interface. You could also script WMI (Windows Management Instrumentation)
    with it.

    * JScript is pretty much ECMAScript with a couple of added features but Microsoft didn't want to deal with Sun. Oracle owns the trademark these
    days but they haven't defended it. They'd already been sued by Sun over
    Visual J++. (Java).

    Microsoft made the tools available. Whether people used them or even knew
    they existed is another matter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Sat Jan 20 08:50:29 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On 19 Jan 2024 21:45:51 GMT, Stéphane CARPENTIER wrote:

    Let say that Powershell is pretty recent. Microsoft tried very hard to
    force people using the mouse instead of the shell.

    I suppose 16 years is pretty recent on a geological time scale. Windows Script Host was optional on Windows 95 and included in Windows 98 and
    above. Originally it accepted JScript* and VBScript but has been extended
    to other languages. You could automate apps with an exposed COM/OLE interface. You could also script WMI (Windows Management Instrumentation) with it.

    * JScript is pretty much ECMAScript with a couple of added features but Microsoft didn't want to deal with Sun. Oracle owns the trademark these
    days but they haven't defended it. They'd already been sued by Sun over Visual J++. (Java).

    Microsoft made the tools available. Whether people used them or even knew they existed is another matter.

    I still encounter tiny text-edit areas in Microsoft GUIs. Even in GitHub, which they bought.

    To backtrack to DFS's whinging about "standardization"... There's a wide swath of userland applications that one will find readily available on all Linux distros. Distros mainly vary in system control and how components are packaged and maintained, what window manager is default.

    --
    You have an ambitious nature and may make a name for yourself.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Chris Ahlstrom on Thu Apr 11 09:36:49 2024
    On 1/9/2024 7:09 AM, Chris Ahlstrom wrote:
    Joel wrote this copyrighted missive and expects royalties:

    DFS <nospam@dfs.com> wrote:

    But once you learn
    enough python, you'll question having a purpose for C.

    A bold claim.

    They each have their sweet spots. Python in fact is written in C, for example.


    CPython is the standard implementation, but there are many, eg PyPy is a
    Python interpreter written in RPython, which is itself a subset of
    Python. "RPython is a restricted subset of the Python language. It is
    used for implementing dynamic language interpreters within the PyPy
    toolchain."

    It all sounds very inbred.

    https://wiki.python.org/moin/PythonImplementations

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