• The Folly of Python

    From Farley Flud@21:1/5 to All on Sun Apr 14 17:46:21 2024
    Who would love python? Only a fucking asshole.

    I was curious about the program img2pdf:

    https://gitlab.mister-muffin.de/josch/img2pdf

    But then I discovered that to install img2pdf one
    must first install "pillow," or the Python Imaging
    Library.

    But look at the fucking prerequisites for pillow:

    https://pillow.readthedocs.io/en/latest/installation/building-from-source.html

    Holy fucking shit! Pillow is just some stupid wrapper
    around the common GNU/Linux image processing libraries.
    On Gentoo, the pillow install is a whopping 45.5 Megabytes!
    All this just for a fucking wrapper???!!!

    Listen up developers.

    Forget about Python. Just do it in C, fer chrissake.

    Fucking OO assholes.

    Python is not a crutch; it's a fucking ambulance.

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

    --- 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 Apr 14 20:20:49 2024
    Le 14-04-2024, Farley Flud <ff@linux.rocks> a écrit :
    Who would love python?

    You.

    You have five versions of python on your computer. It's way more than
    necessary for the basic needs of Linux. You have more versions than
    needed because of your love of python. It could be because of your
    inability to manage your system but I won't be so cruel as to suppose
    it.

    Only a fucking asshole.

    Yes, every one agree with your way of speaking of yourself. Except your
    pet dog but his opinion is irrelevant.

    Listen up developers.

    I'm not a developer, but I have fun reading you anyway.

    Forget about Python.

    Are you ready to remove the four useless versions of python on your
    system? I'm not that sure about it.


    Just do it in C,

    Why? you could learn rust if you want an efficient programming language
    close to your computer.

    Fucking OO assholes.

    What's that? You mean "Object Oriented"? If yes, are you really a
    programmer (in fact, I know the answer, it's a rhetorical question)? If
    no, do you know that python doesn't require Object Oriented programming
    (it's another rhethorical question)?

    Python is not a crutch; it's a fucking ambulance.

    So, why do you have five version of it on your 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 All on Sun Apr 14 20:53:05 2024
    On 14 Apr 2024 20:20:49 GMT, Stéphane CARPENTIER wrote:

    What's that? You mean "Object Oriented"? If yes, are you really a
    programmer (in fact, I know the answer, it's a rhetorical question)? If
    no, do you know that python doesn't require Object Oriented programming
    (it's another rhethorical question)?

    Yes and no... Everything in Python is an object but you don't necessarily
    need to construct your own classes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Mon Apr 15 04:54:04 2024
    On Sun, 14 Apr 2024 17:46:21 +0000, Farley Flud ranted:

    But then I discovered that to install img2pdf one must first install "pillow," or the Python Imaging Library.

    But look at the fucking prerequisites for pillow:

    Just for fun, I tried

    apt-cache depends --recurse img2pdf | sort | uniq | wc -l

    which produced the output

    63493

    which seems like a lot of packages. However, for Python itself,

    apt-cache depends --recurse python3 | sort | uniq | wc -l

    prints

    63461

    which is not much less. So what are the extra dependencies? The output of

    comm -23 \
    <(apt-cache depends --recurse img2pdf | sort | uniq) \
    <(apt-cache depends --recurse python3 | sort | uniq)

    is just

    Breaks: ocrmypdf
    Conflicts: <libjbig2enc0>
    Depends: icc-profiles-free
    Depends: libjbig2enc0t64
    Depends: link-grammar-dictionaries-en
    Depends: python3-deprecation
    Depends: python3-img2pdf
    |Depends: python3-lxml
    Depends: python3-pdfminer
    Depends: python3-pikepdf
    Depends: tesseract-ocr
    img2pdf
    jbig2
    <libjbig2enc0>
    libjbig2enc0t64
    libjbig2enc0t64
    link-grammar-dictionaries-all
    link-grammar-dictionaries-en
    ocrmypdf
    ocrmypdf-doc
    pngquant
    python3-deprecation
    python3-img2pdf
    python3-pikepdf
    Recommends: jbig2
    Recommends: pngquant
    Recommends: unpaper
    Replaces: <libjbig2enc0>
    Suggests: img2pdf
    Suggests: link-grammar-dictionaries-all
    Suggests: ocrmypdf-doc
    Suggests: <python-watchdog>

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

    On 14 Apr 2024 20:20:49 GMT, Stéphane CARPENTIER wrote:

    What's that? You mean "Object Oriented"? If yes, are you really a
    programmer (in fact, I know the answer, it's a rhetorical question)? If
    no, do you know that python doesn't require Object Oriented programming
    (it's another rhethorical question)?

    Yes and no... Everything in Python is an object but you don't necessarily need to construct your own classes.

    https://www.linkedin.com/pulse/understanding-pythons-mutable-immutable-objects-memory-gihozo

    Integers are immutable objects in Python. When you modify an integer, a
    new object is created instead of modifying the existing one.

    x = 10

    Wowza!

    --
    Do not sleep in a eucalyptus tree tonight.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Joel on Mon Apr 15 14:40:10 2024
    Joel <joelcrump@gmail.com> wrote at 20:24 this Sunday (GMT):
    Farley Flud <ff@linux.rocks> wrote:

    Who would love python? Only a fucking asshole.

    I was curious about the program img2pdf:

    https://gitlab.mister-muffin.de/josch/img2pdf

    But then I discovered that to install img2pdf one
    must first install "pillow," or the Python Imaging
    Library.

    But look at the fucking prerequisites for pillow:
    https://pillow.readthedocs.io/en/latest/installation/building-from-source.html

    Holy fucking shit! Pillow is just some stupid wrapper
    around the common GNU/Linux image processing libraries.
    On Gentoo, the pillow install is a whopping 45.5 Megabytes!
    All this just for a fucking wrapper???!!!

    Listen up developers.

    Forget about Python. Just do it in C, fer chrissake.

    Fucking OO assholes.

    Python is not a crutch; it's a fucking ambulance.

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


    You're making me want to learn it.


    It's a pretty good lang.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Farley Flud on Mon Apr 15 12:34:13 2024
    On 4/14/2024 1:46 PM, Farley Flud wrote:

    Who would love python? Only a fucking asshole.

    Only the whole fucking world, less a few insecure dweebs.


    I was curious about the program img2pdf:

    https://gitlab.mister-muffin.de/josch/img2pdf

    What, can't write your own converter? Considering you're a "magnificent programmer" and "image processing expert", what's the problem?

    The problem is you're a liar.



    But then I discovered that to install img2pdf one
    must first install "pillow," or the Python Imaging
    Library.


    $ pip install pillow
    Collecting pillow
    Downloading pillow-10.3.0-cp311-cp311-win_amd64.whl.metadata (9.4 kB) Downloading pillow-10.3.0-cp311-cp311-win_amd64.whl (2.5 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 12.4 MB/s eta
    0:00:00
    Installing collected packages: pillow
    Successfully installed pillow-10.3.0

    No more than 3 seconds.




    But look at the fucking prerequisites for pillow:

    https://pillow.readthedocs.io/en/latest/installation/building-from-source.html

    Holy fucking shit! Pillow is just some stupid wrapper
    around the common GNU/Linux image processing libraries.
    On Gentoo, the pillow install is a whopping 45.5 Megabytes!
    All this just for a fucking wrapper???!!!

    https://files.pythonhosted.org/packages/ef/43/c50c17c5f7d438e836c169e343695534c38c77f60e7c90389bd77981bc21/pillow-10.3.0.tar.gz


    As usual, you spew idiocy. Pillow has significantly more lines of new
    Python code than those found in the libs.



    Listen up developers.

    Forget about Python. Just do it in C, fer chrissake.

    Show us how YOU do it in C, fer chrissake.

    Or slink your talentless 'C Programmer Extraordinaire' ass away for the
    1000th time.



    Fucking OO assholes.

    Yesterday you were spooging over ghidra, which is written in Java.

    You can't keep your stupidity straight from one minute to the next.



    Python is not a crutch; it's a fucking ambulance.

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

    cackling idiot

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Chris Ahlstrom on Mon Apr 15 23:48:15 2024
    On Mon, 15 Apr 2024 07:42:20 -0400, Chris Ahlstrom wrote:

    Integers are immutable objects in Python. When you modify an
    integer, a new object is created instead of modifying the existing
    one.

    x = 10

    Wowza!

    >>> int("10000000002") is 10000000002
    False
    >>> int("10000000002") == 10000000002
    True

    Double wowza!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to DFS on Tue Apr 16 02:09:35 2024
    On Mon, 15 Apr 2024 21:16:46 -0400, DFS wrote:

    What do you notice about those id numbers?

    for i in range(1000, 1011): print("int %d, id = %d" % (i, id(i)))
    ...
    int 1000, id = 133523511399088
    int 1001, id = 133523511399056
    int 1002, id = 133523511399088
    int 1003, id = 133523511399056
    int 1004, id = 133523511399088
    int 1005, id = 133523511399056
    int 1006, id = 133523511399088
    int 1007, id = 133523511399056
    int 1008, id = 133523511399088
    int 1009, id = 133523511399056
    int 1010, id = 133523511399088

    or, for extra credit explain

    for i in range(250, 261): print("int %d, id = %d" % (i, id(i)))
    ...
    int 250, id = 133523513024528
    int 251, id = 133523513024560
    int 252, id = 133523513024592
    int 253, id = 133523513024624
    int 254, id = 133523513024656
    int 255, id = 133523513024688
    int 256, id = 133523513024720
    int 257, id = 133523511399088
    int 258, id = 133523511398960
    int 259, id = 133523511399088
    int 260, id = 133523511398960

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Chris Ahlstrom on Mon Apr 15 21:16:46 2024
    On 4/15/2024 7:42 AM, Chris Ahlstrom wrote:
    rbowman wrote this copyrighted missive and expects royalties:

    On 14 Apr 2024 20:20:49 GMT, Stéphane CARPENTIER wrote:

    What's that? You mean "Object Oriented"? If yes, are you really a
    programmer (in fact, I know the answer, it's a rhetorical question)? If
    no, do you know that python doesn't require Object Oriented programming
    (it's another rhethorical question)?

    Yes and no... Everything in Python is an object but you don't necessarily
    need to construct your own classes.

    https://www.linkedin.com/pulse/understanding-pythons-mutable-immutable-objects-memory-gihozo

    Integers are immutable objects in Python. When you modify an integer, a
    new object is created instead of modifying the existing one.

    x = 10

    Wowza!


    $ for i in range(10): print("int %d, id = %d" % (i, id(i)))
    int 0, id = 140706145489672
    int 1, id = 140706145489704
    int 2, id = 140706145489736
    int 3, id = 140706145489768
    int 4, id = 140706145489800
    int 5, id = 140706145489832
    int 6, id = 140706145489864
    int 7, id = 140706145489896
    int 8, id = 140706145489928
    int 9, id = 140706145489960

    wowza^10!

    What do you notice about those id numbers?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to rbowman on Mon Apr 15 22:52:21 2024
    On 4/15/2024 10:09 PM, rbowman wrote:
    On Mon, 15 Apr 2024 21:16:46 -0400, DFS wrote:

    What do you notice about those id numbers?

    for i in range(1000, 1011): print("int %d, id = %d" % (i, id(i)))
    ...
    int 1000, id = 133523511399088
    int 1001, id = 133523511399056
    int 1002, id = 133523511399088
    int 1003, id = 133523511399056
    int 1004, id = 133523511399088
    int 1005, id = 133523511399056
    int 1006, id = 133523511399088
    int 1007, id = 133523511399056
    int 1008, id = 133523511399088
    int 1009, id = 133523511399056
    int 1010, id = 133523511399088

    reference counts come and reference counts go



    or, for extra credit explain

    for i in range(250, 261): print("int %d, id = %d" % (i, id(i)))
    ...
    int 250, id = 133523513024528
    int 251, id = 133523513024560
    int 252, id = 133523513024592
    int 253, id = 133523513024624
    int 254, id = 133523513024656
    int 255, id = 133523513024688
    int 256, id = 133523513024720

    -5 to 255 are pre-allocated by CPython


    int 257, id = 133523511399088
    int 258, id = 133523511398960
    int 259, id = 133523511399088
    int 260, id = 133523511398960


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Tue Apr 16 07:58:07 2024
    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 15 Apr 2024 21:16:46 -0400, DFS wrote:

    What do you notice about those id numbers?

    for i in range(1000, 1011): print("int %d, id = %d" % (i, id(i)))
    ...
    int 1000, id = 133523511399088
    int 1001, id = 133523511399056
    int 1002, id = 133523511399088
    int 1003, id = 133523511399056
    int 1004, id = 133523511399088
    int 1005, id = 133523511399056
    int 1006, id = 133523511399088
    int 1007, id = 133523511399056
    int 1008, id = 133523511399088
    int 1009, id = 133523511399056
    int 1010, id = 133523511399088

    or, for extra credit explain

    for i in range(250, 261): print("int %d, id = %d" % (i, id(i)))
    ...
    int 250, id = 133523513024528
    int 251, id = 133523513024560
    int 252, id = 133523513024592
    int 253, id = 133523513024624
    int 254, id = 133523513024656
    int 255, id = 133523513024688
    int 256, id = 133523513024720
    int 257, id = 133523511399088
    int 258, id = 133523511398960
    int 259, id = 133523511399088
    int 260, id = 133523511398960

    Ahh the indeterminate beauty of garbage collection!

    --
    Q: Why did the astrophysicist order three hamburgers?
    A: Because he was hungry.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lameass Larry Piet on Tue Apr 16 09:10:26 2024
    On 4/14/2024 1:46 PM, Lameass Larry Piet wrote:

    Who would love python? Only a fucking asshole.

    Eric Raymond says:

    "I noticed (allowing for pauses needed to look up new features in
    Programming Python) I was generating working code nearly as fast as I
    could type."

    No wonder Gentoo depends so heavily on Python.

    Here's a list of some of the files in a directory:

    file_999
    file_1000
    file_998
    file_200
    file_2000


    How about some of your 'extraordinary' C to read the directory and list
    those files in ascending order (because they need to be processed
    sequentially by nbr)?


    yeah, crickets, just like I knew


    -------------------------------------------------------------
    import os
    msgdir = "D:\\"
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in pfile:
    filearr.append(int(str(pfile).split('_')[1]))
    for filenbr in sorted(filearr):
    print("file_" + str(filenbr))
    print()
    for filenbr in reversed(sorted(filearr)):
    print("file_" + str(filenbr)) -------------------------------------------------------------
    python temp.py
    file_200
    file_998
    file_999
    file_1000
    file_2000

    file_2000
    file_1000
    file_999
    file_998
    file_200
    -------------------------------------------------------------

    It can also be done in fewer lines with the glob and regex modules, and
    using list comprehension.

    By the way, I have a folder of 191K+ such files, and that code runs in:

    python temp.py
    0.13s to read 191490 files
    First file is 730478
    Last file is 943773



    Feeb severely pwned by his own ineptitude
    C severely owned by python

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Tue Apr 16 18:42:09 2024
    On Tue, 16 Apr 2024 07:58:07 -0400, Chris Ahlstrom wrote:

    Ahh the indeterminate beauty of garbage collection!

    Of course reference counting never ever goes wrong. Don't get me wrong, I
    like the versatility of Python/MicroPython/CircuitPython but it's like
    popping the lid on a sleek Porsche 911 and seeing the complex mechanisms
    that make it work.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Chris Ahlstrom on Tue Apr 16 19:19:15 2024
    On Tue, 16 Apr 2024 07:58:07 -0400, Chris Ahlstrom wrote:

    rbowman wrote this copyrighted missive and expects royalties:

    On Mon, 15 Apr 2024 21:16:46 -0400, DFS wrote:

    What do you notice about those id numbers?

    for i in range(1000, 1011): print("int %d, id = %d" % (i, id(i)))
    ...
    int 1000, id = 133523511399088
    int 1001, id = 133523511399056
    int 1002, id = 133523511399088
    int 1003, id = 133523511399056
    int 1004, id = 133523511399088
    int 1005, id = 133523511399056
    int 1006, id = 133523511399088
    int 1007, id = 133523511399056
    int 1008, id = 133523511399088
    int 1009, id = 133523511399056
    int 1010, id = 133523511399088

    or, for extra credit explain

    for i in range(250, 261): print("int %d, id = %d" % (i, id(i)))
    ...
    int 250, id = 133523513024528
    int 251, id = 133523513024560
    int 252, id = 133523513024592
    int 253, id = 133523513024624
    int 254, id = 133523513024656
    int 255, id = 133523513024688
    int 256, id = 133523513024720
    int 257, id = 133523511399088
    int 258, id = 133523511398960
    int 259, id = 133523511399088
    int 260, id = 133523511398960

    Ahh the indeterminate beauty of garbage collection!


    So when are you programming "hotshots" going to contribute
    to the global effort to analyze the xz-backdoor?

    Huh? When?

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

    Just as I suspected.

    When the going gets tough, the "tough" keep their
    fucking mouths shut.

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

    Fucking vacuous code monkeys.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to DFS on Wed Apr 17 18:26:06 2024
    On Tue, 16 Apr 2024 09:10:26 -0400, DFS <nospam@dfs.com> wrote in <uvltc2$v4b9$1@dont-email.me>:

    On 4/14/2024 1:46 PM, Lameass Larry Piet wrote:

    Who would love python? Only a fucking asshole.

    Eric Raymond says:

    "I noticed (allowing for pauses needed to look up new features in
    Programming Python) I was generating working code nearly as fast as I
    could type."

    No wonder Gentoo depends so heavily on Python.

    Here's a list of some of the files in a directory:

    file_999
    file_1000
    file_998
    file_200
    file_2000

    Why do you prefix them with "file_"? Why not name the files
    by article number, like other nntp software does?



    How about some of your 'extraordinary' C to read the directory and list
    those files in ascending order (because they need to be processed sequentially by nbr)?


    yeah, crickets, just like I knew


    -------------------------------------------------------------
    import os
    msgdir = "D:\\"
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in pfile:
    filearr.append(int(str(pfile).split('_')[1]))
    for filenbr in sorted(filearr):
    print("file_" + str(filenbr))
    print()
    for filenbr in reversed(sorted(filearr)):
    print("file_" + str(filenbr))

    You assume they are prefixed with "file_" instead
    of, say, "foo_" -- but you print them as "file_xxx".
    Tsk, tsk, tsk.

    BTW, have you ever used awk?

    (Also: see ls -v)

    -------------------------------------------------------------
    python temp.py
    file_200
    file_998
    file_999
    file_1000
    file_2000

    file_2000
    file_1000
    file_999
    file_998
    file_200
    -------------------------------------------------------------

    It can also be done in fewer lines with the glob and regex modules, and
    using list comprehension.

    By the way, I have a folder of 191K+ such files, and that code runs in:

    python temp.py
    0.13s to read 191490 files
    First file is 730478
    Last file is 943773



    Feeb severely pwned by his own ineptitude
    C severely owned by python

    $ man 3 scandir
    and
    $ man 3 strverscmp

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to vallor on Wed Apr 17 16:08:47 2024
    On 4/17/2024 2:26 PM, vallor wrote:
    On Tue, 16 Apr 2024 09:10:26 -0400, DFS <nospam@dfs.com> wrote in <uvltc2$v4b9$1@dont-email.me>:

    On 4/14/2024 1:46 PM, Lameass Larry Piet wrote:

    Who would love python? Only a fucking asshole.

    Eric Raymond says:

    "I noticed (allowing for pauses needed to look up new features in
    Programming Python) I was generating working code nearly as fast as I
    could type."

    No wonder Gentoo depends so heavily on Python.

    Here's a list of some of the files in a directory:

    file_999
    file_1000
    file_998
    file_200
    file_2000

    Why do you prefix them with "file_"? Why not name the files
    by article number, like other nntp software does?


    That was just my example. They're actually prefixed with the name of
    the newsgroup:

    comp.lang.c_551568
    comp.os.linux.advocacy_1239605
    etc.

    No extension.

    I use SuckMT for Windows to download them. Well, I try to, but it
    doesn't work too well. It always crashes after downloading around 4K
    message files.



    How about some of your 'extraordinary' C to read the directory and list
    those files in ascending order (because they need to be processed
    sequentially by nbr)?


    yeah, crickets, just like I knew


    -------------------------------------------------------------
    import os
    msgdir = "D:\\"
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in pfile:
    filearr.append(int(str(pfile).split('_')[1]))
    for filenbr in sorted(filearr):
    print("file_" + str(filenbr))
    print()
    for filenbr in reversed(sorted(filearr)):
    print("file_" + str(filenbr))

    You assume they are prefixed with "file_" instead
    of, say, "foo_" -- but you print them as "file_xxx".
    Tsk, tsk, tsk.

    ?

    You're not equipped to tsk my programming.

    That was an example for Feeb.

    The real thing: ------------------------------------------------------------------------
    msgdir = "D:/computer/dev/usenet/suckmt/posts/blocknews/" + sys.argv[1]
    + "/"
    msgfile = ''
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in str(pfile):
    filearr.append(int(str(pfile).split('_')[1]))
    for articleID in sorted(filearr):
    msgfile = grpName + '_' + str(articleID)
    .... ------------------------------------------------------------------------

    In the first line, sys.argv[1] is my abbreviation for the newsgroup
    (cola, clc, cdma, etc) passed in from the command line. In the last
    line, grpName is the full name of the newsgroup. ID, abbreviation,
    group name and other info is in a db table.



    BTW, have you ever used awk?

    A tiny bit.


    > (Also: see ls -v)

    Yeah, I know ls will list the files in the correct order. I couldn't
    make it happen using Windows dir, though.

    Windows File Explorer and thunar and Nemo showed them in the correct
    numerical order.


    -------------------------------------------------------------
    python temp.py
    file_200
    file_998
    file_999
    file_1000
    file_2000

    file_2000
    file_1000
    file_999
    file_998
    file_200
    -------------------------------------------------------------

    It can also be done in fewer lines with the glob and regex modules, and
    using list comprehension.

    By the way, I have a folder of 191K+ such files, and that code runs in:

    python temp.py
    0.13s to read 191490 files
    First file is 730478
    Last file is 943773



    Feeb severely pwned by his own ineptitude
    C severely owned by python

    $ man 3 scandir
    and
    $ man 3 strverscmp


    Please don't feed the "C Programmer Extraordinaire" any hints.

    Note: I do know how to write C to scan directories and list files and
    check file types and open and read the contents, etc.

    <FPDeI.3446$IC5.734@fx24.iad>
    <KSGdH.282124$5_4.76405@fx40.iad>

    Feeb does not.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Wed Apr 17 22:02:31 2024
    On Tue, 16 Apr 2024 09:10:26 -0400, DFS wrote:

    msgdir = "D:\\"

    Ah, the wonders of drive letters. Don’t you wish Linux had such a
    capability for keeping you files organized? Isn’t it so much easier to remember that “messages” are kept on your “D” drive?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to DFS on Wed Apr 17 22:36:44 2024
    On Wed, 17 Apr 2024 16:08:47 -0400, DFS <nospam@dfs.com> wrote in <uvpa8j$1pj2q$1@dont-email.me>:

    On 4/17/2024 2:26 PM, vallor wrote:
    On Tue, 16 Apr 2024 09:10:26 -0400, DFS <nospam@dfs.com> wrote in
    <uvltc2$v4b9$1@dont-email.me>:

    On 4/14/2024 1:46 PM, Lameass Larry Piet wrote:

    Who would love python? Only a fucking asshole.

    Eric Raymond says:

    "I noticed (allowing for pauses needed to look up new features in
    Programming Python) I was generating working code nearly as fast as I
    could type."

    No wonder Gentoo depends so heavily on Python.

    Here's a list of some of the files in a directory:

    file_999
    file_1000
    file_998
    file_200
    file_2000

    Why do you prefix them with "file_"? Why not name the files
    by article number, like other nntp software does?


    That was just my example. They're actually prefixed with the name of
    the newsgroup:

    comp.lang.c_551568
    comp.os.linux.advocacy_1239605
    etc.

    No extension.

    I use SuckMT for Windows to download them. Well, I try to, but it
    doesn't work too well. It always crashes after downloading around 4K
    message files.



    How about some of your 'extraordinary' C to read the directory and list
    those files in ascending order (because they need to be processed
    sequentially by nbr)?


    yeah, crickets, just like I knew


    -------------------------------------------------------------
    import os
    msgdir = "D:\\"
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in pfile:
    filearr.append(int(str(pfile).split('_')[1]))
    for filenbr in sorted(filearr):
    print("file_" + str(filenbr))
    print()
    for filenbr in reversed(sorted(filearr)):
    print("file_" + str(filenbr))

    You assume they are prefixed with "file_" instead
    of, say, "foo_" -- but you print them as "file_xxx".
    Tsk, tsk, tsk.

    ?

    You're not equipped to tsk my programming.

    That was an example for Feeb.

    The real thing: ------------------------------------------------------------------------ msgdir = "D:/computer/dev/usenet/suckmt/posts/blocknews/" + sys.argv[1]
    + "/"
    msgfile = ''
    filearr = []
    for pfile in os.listdir(msgdir):
    if '_' in str(pfile):
    filearr.append(int(str(pfile).split('_')[1]))
    for articleID in sorted(filearr):
    msgfile = grpName + '_' + str(articleID)
    .... ------------------------------------------------------------------------

    In the first line, sys.argv[1] is my abbreviation for the newsgroup
    (cola, clc, cdma, etc) passed in from the command line. In the last
    line, grpName is the full name of the newsgroup. ID, abbreviation,
    group name and other info is in a db table.



    BTW, have you ever used awk?

    A tiny bit.


    > (Also: see ls -v)

    Yeah, I know ls will list the files in the correct order. I couldn't
    make it happen using Windows dir, though.

    Windows File Explorer and thunar and Nemo showed them in the correct numerical order.


    -------------------------------------------------------------
    python temp.py
    file_200
    file_998
    file_999
    file_1000
    file_2000

    file_2000
    file_1000
    file_999
    file_998
    file_200
    -------------------------------------------------------------

    It can also be done in fewer lines with the glob and regex modules, and
    using list comprehension.

    By the way, I have a folder of 191K+ such files, and that code runs in:

    python temp.py
    0.13s to read 191490 files
    First file is 730478
    Last file is 943773



    Feeb severely pwned by his own ineptitude
    C severely owned by python

    $ man 3 scandir
    and
    $ man 3 strverscmp


    Please don't feed the "C Programmer Extraordinaire" any hints.

    Note: I do know how to write C to scan directories and list files and
    check file types and open and read the contents, etc.

    <FPDeI.3446$IC5.734@fx24.iad>
    <KSGdH.282124$5_4.76405@fx40.iad>

    Feeb does not.

    I looked at those, and had to do a double-take with the
    second one.

    Calling "file" is "cheating". ;) You can get crafty with
    a lookup table and stat(2).

    I mention this mainly because if Laughing Boy was
    capable of reading your article, he'll surely launch
    into a cackling fit that might brake his brane. (That
    is...if he understood the program, which he probably wouldn't.)

    (Regarding article lookups and such, I use a shell script that calls
    openssl(1) s_client to connect, log in, and leaves me with
    the NNTP prompt...a place at which Feeb would be lost.)

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to ldo@nz.invalid on Wed Apr 17 22:19:58 2024
    On Wed, 17 Apr 2024 22:02:31 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <uvpgtm$1qshp$2@dont-email.me>:

    On Tue, 16 Apr 2024 09:10:26 -0400, DFS wrote:

    msgdir = "D:\\"

    Ah, the wonders of drive letters. Don’t you wish Linux had such a capability for keeping you files organized? Isn’t it so much easier to remember that “messages” are kept on your “D” drive?

    Can't tell if you're serious or not...

    https://en.wikipedia.org/wiki/Poe%27s_law

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Lawrence D'Oliveiro on Wed Apr 17 20:18:54 2024
    On 4/17/2024 6:02 PM, Lawrence D'Oliveiro wrote:
    On Tue, 16 Apr 2024 09:10:26 -0400, DFS wrote:

    msgdir = "D:\\"

    Ah, the wonders of drive letters. Don’t you wish Linux had such a capability for keeping you files organized?

    I just wish lsblk wouldn't tell me I have 3 devices with funny names
    like 'sda'. There's only one.



    Isn’t it so much easier to remember that “messages” are kept on your “D” drive?

    It's much more beautiful than that.

    It's "D:\computer\dev\Usenet\suckmt\posts\blocknews\cola"


    C = binaries
    D = porn and everything else

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to vallor on Wed Apr 17 20:34:33 2024
    On 4/17/2024 6:36 PM, vallor wrote:
    On Wed, 17 Apr 2024 16:08:47 -0400, DFS <nospam@dfs.com> wrote in


    Note: I do know how to write C to scan directories and list files and
    check file types and open and read the contents, etc.

    <FPDeI.3446$IC5.734@fx24.iad>
    <KSGdH.282124$5_4.76405@fx40.iad>

    Feeb does not.

    I looked at those, and had to do a double-take with the
    second one.

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.



    You can get crafty with a lookup table and stat(2).

    I did stat against text files and a couple files in usr/bin, and against EXCEL.EXE, and it called all of them 'regular files'.

    How would I use stat and a lookup table to get a better description,
    like 'file' provides? Isn't file and the 'magic' db as good as it gets?



    I mention this mainly because if Laughing Boy was
    capable of reading your article, he'll surely launch
    into a cackling fit that might brake his brane. (That
    is...if he understood the program, which he probably wouldn't.)

    If you read the thread (it's old so hard to get to), Fool Feeb's
    response to that code was to say it didn't actually work, because it
    didn't use ncurses.


    (Regarding article lookups and such, I use a shell script that calls
    openssl(1) s_client to connect, log in, and leaves me with
    the NNTP prompt...a place at which Feeb would be lost.)

    I use these most of the time: https://imgur.com/a/cj36AzT

    Also custom python programs using the soon-to-be-deprecated nntplib library.

    Using that NNTP prompt, can you store messages locally? How?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to vallor on Thu Apr 18 01:39:51 2024
    On Wed, 17 Apr 2024 22:19:58 -0000 (UTC), vallor wrote:

    On Wed, 17 Apr 2024 22:02:31 -0000 (UTC), Lawrence D'Oliveiro <ldo@nz.invalid> wrote in <uvpgtm$1qshp$2@dont-email.me>:

    On Tue, 16 Apr 2024 09:10:26 -0400, DFS wrote:

    msgdir = "D:\\"

    Ah, the wonders of drive letters. Don’t you wish Linux had such a
    capability for keeping you files organized? Isn’t it so much easier to
    remember that “messages” are kept on your “D” drive?

    Can't tell if you're serious or not...

    https://en.wikipedia.org/wiki/Poe%27s_law

    Does Microsoft Windows count as a “right-wing” OS?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to DFS on Thu Apr 18 01:51:12 2024
    On Wed, 17 Apr 2024 20:34:33 -0400, DFS <nospam@dfs.com> wrote in <uvppqr$1som3$1@dont-email.me>:

    On 4/17/2024 6:36 PM, vallor wrote:
    On Wed, 17 Apr 2024 16:08:47 -0400, DFS <nospam@dfs.com> wrote in


    Note: I do know how to write C to scan directories and list files and
    check file types and open and read the contents, etc.

    <FPDeI.3446$IC5.734@fx24.iad>
    <KSGdH.282124$5_4.76405@fx40.iad>

    Feeb does not.

    I looked at those, and had to do a double-take with the second one.

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.



    You can get crafty with a lookup table and stat(2).

    I did stat against text files and a couple files in usr/bin, and against EXCEL.EXE, and it called all of them 'regular files'.

    How would I use stat and a lookup table to get a better description,
    like 'file' provides? Isn't file and the 'magic' db as good as it gets?


    Not that stat(1) program, but the stat(2) system call.

    $ man 2 stat

    which will reference the mode_t value, discussed at

    $ man 7 inode




    I mention this mainly because if Laughing Boy was capable of reading
    your article, he'll surely launch into a cackling fit that might brake
    his brane. (That is...if he understood the program, which he probably
    wouldn't.)

    If you read the thread (it's old so hard to get to), Fool Feeb's
    response to that code was to say it didn't actually work, because it
    didn't use ncurses.


    (Regarding article lookups and such, I use a shell script that calls
    openssl(1) s_client to connect, log in, and leaves me with the NNTP
    prompt...a place at which Feeb would be lost.)

    I use these most of the time: https://imgur.com/a/cj36AzT

    Also custom python programs using the soon-to-be-deprecated nntplib
    library.

    Using that NNTP prompt, can you store messages locally? How?

    Just for one or two articles, I run script(1), which spawns a subshell
    with everything going to a file called "typescript". Then I run
    my nntp.sh[*] script, retrieve the articles, and then exit the subshell.

    If I want a snapshot of a newsgroup, I use leafnode, and have
    it connect via stunnel, which connects to a bulk commercial news provider. (BTW, don't do it using a free text service like Ray's, he's got
    enough problems with people doing that crap from Google and
    Amazon cloud services.)

    [*] I'm lazy. My scripts are named (servername)_nntp.sh. They
    look something like this:

    - - -%<- cut here - - -
    #!/bin/bash

    ( echo "authinfo user xxx"
    echo "authinfo pass xxx"
    cat ) | \
    openssl s_client -connect sample.news.server.name.invalid:563

    - - -%<- cut here - - -

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Thu Apr 18 01:39:05 2024
    On Wed, 17 Apr 2024 20:18:54 -0400, DFS wrote:

    I just wish lsblk wouldn't tell me I have 3 devices with funny names
    like 'sda'. There's only one.

    But those are device names, they are not used for referring to files on
    mounted volumes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to vallor on Thu Apr 18 03:30:48 2024
    On Thu, 18 Apr 2024 01:51:12 -0000 (UTC), vallor wrote:

    Not that stat(1) program, but the stat(2) system call.

    Note also you might sometimes want lstat(2), not stat(2).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lawrence D'Oliveiro on Thu Apr 18 14:50:05 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 01:39 this Thursday (GMT):
    On Wed, 17 Apr 2024 20:18:54 -0400, DFS wrote:

    I just wish lsblk wouldn't tell me I have 3 devices with funny names
    like 'sda'. There's only one.

    But those are device names, they are not used for referring to files on mounted volumes.


    Yeah, you usually have to mount them (which a lot of user distros
    manually do). Side note, doing lsblk -f helps a bunch with figuring out
    which disk is what, since it displays the partition label. Then you can
    do

    udisksctl mount -b /dev/sdx

    or sudo mount /dev/sdx /mount if you don't have udiskie installed.
    --
    user <candycane> is generated from /dev/urandom

    --- 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 Apr 19 21:11:05 2024
    Le 18-04-2024, DFS <nospam@dfs.com> a écrit :

    I just wish lsblk wouldn't tell me I have 3 devices with funny names
    like 'sda'. There's only one.

    Do you have snaps? Because lsblk is pretty good by itself but snaps put
    a lot of garbage in its output.

    --
    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 Fri Apr 19 21:12:52 2024
    Le 18-04-2024, DFS <nospam@dfs.com> a écrit :
    On 4/17/2024 6:36 PM, vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Relf@21:1/5 to All on Fri Apr 19 14:41:48 2024
    I didn't enjoy Dune 2021 but Dune 2024 is really good.

    It's well on its way to grossing a billion $.

    Nuclear bombs, MultiPolar imperialism, mysticism, Islam & Africa . . .
    . . . it's all there.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Sat Apr 20 00:46:33 2024
    On 19 Apr 2024 21:12:52 GMT, Stéphane CARPENTIER wrote:

    Le 18-04-2024, DFS <nospam@dfs.com> a écrit :
    On 4/17/2024 6:36 PM, vallor wrote:

    Calling "file" is "cheating".

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.

    PTR

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to sc@fiat-linux.fr on Sat Apr 20 03:30:02 2024
    Stéphane CARPENTIER <sc@fiat-linux.fr> wrote at 21:12 this Friday (GMT):
    Le 18-04-2024, DFS <nospam@dfs.com> a écrit :
    On 4/17/2024 6:36 PM, vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.


    We should only use 90s modems :D
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to All on Sat Apr 20 07:22:55 2024
    candycanearter07 wrote:

    Stphane CARPENTIER wrote:

    some dumb fsck wrote:

    vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem.
    Saved a drive to the university computing center!

    Gosh, line editors were "fun". 8)

    --
    '[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 candycanearter07@21:1/5 to chrisv on Sat Apr 20 16:50:02 2024
    chrisv <chrisv@nospam.invalid> wrote at 12:22 this Saturday (GMT):
    candycanearter07 wrote:

    Stéphane CARPENTIER wrote:

    some dumb fsck wrote:

    vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem.
    Saved a drive to the university computing center!

    Gosh, line editors were "fun". 8)


    Line editors? You mean like 'ed'?
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to chrisv on Sat Apr 20 16:49:57 2024
    On Sat, 20 Apr 2024 07:22:55 -0500, chrisv wrote:

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem. Saved
    a drive to the university computing center!

    A real live wired modem and not an acoustic coupler? You had it good.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to candycanearter07@candycanearter07.n on Sun Apr 21 03:48:21 2024
    On Sat, 20 Apr 2024 16:50:02 -0000 (UTC), candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote in <v00rnq$3p12d$1@dont-email.me>:

    chrisv <chrisv@nospam.invalid> wrote at 12:22 this Saturday (GMT):
    candycanearter07 wrote:

    Stéphane CARPENTIER wrote:

    some dumb fsck wrote:

    vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language.

    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem. Saved
    a drive to the university computing center!

    Gosh, line editors were "fun". 8)


    Line editors? You mean like 'ed'?


    "Ed! Ed is the standard!" :)

    https://www.gnu.org/fun/jokes/ed-msg.en.html


    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to All on Sun Apr 21 06:43:25 2024
    candycanearter07 wrote:

    chrisv wrote:
    candycanearter07 wrote:
    Stphane CARPENTIER wrote:

    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem.
    Saved a drive to the university computing center!

    Gosh, line editors were "fun". 8)

    Line editors? You mean like 'ed'?

    Yes. Of course, as painful as they are, they are way better than
    punched cards.

    Imagine having to wait so long for your compiler to "warn" you that
    you added two numbers, when you should have subtracted them! :-D

    Imagine even considering posting such ridiculous lying idiocy as the
    below. Utterly shameless.

    --
    "ALL non-idiots support the use of testing over compile-time warnings
    to determine if the code functions correctly. You're one of the few
    idiots who thinks otherwise." - DumFSck, lying shamelessly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to shitv on Sun Apr 21 08:26:55 2024
    On 4/21/2024 7:43 AM, shitv wrote:

    "ALL non-idiots support the use of testing over compile-time warnings
    to determine if the code functions correctly. You're one of the few
    idiots who thinks otherwise." - DumFSck, lying shamelessly


    Relf: "Testing is how you know if the code works or not, not
    compile-time warnings."

    shitv: "Heh. One doesn't need to be a pro, to know how stupid that
    is..."



    "I've written countless programs, some of them quite substantial, in a
    variety of languages. Basic, C, Assembler, Pascal, TI58C programmable calculator..." - shitv, programmer extraordinaire who thinks it's
    stupid to test the code.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to chrisv on Sun Apr 21 16:50:02 2024
    chrisv <chrisv@nospam.invalid> wrote at 11:43 this Sunday (GMT):
    candycanearter07 wrote:

    chrisv wrote:
    candycanearter07 wrote:
    Stéphane CARPENTIER wrote:

    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem.
    Saved a drive to the university computing center!

    Gosh, line editors were "fun". 8)

    Line editors? You mean like 'ed'?

    Yes. Of course, as painful as they are, they are way better than
    punched cards.

    Well yeah, you can always edit them unlike with punch cards.

    Imagine having to wait so long for your compiler to "warn" you that
    you added two numbers, when you should have subtracted them! :-D

    Imagine even considering posting such ridiculous lying idiocy as the
    below. Utterly shameless.


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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to chrisv on Sun Apr 21 17:45:20 2024
    On Sun, 21 Apr 2024 06:43:25 -0500, chrisv wrote:

    Imagine having to wait so long for your compiler to "warn" you that you
    added two numbers, when you should have subtracted them! :-D

    That's better than leaving out the damn punch in column 6.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to rbowman on Sun Apr 21 17:27:50 2024
    rbowman wrote:

    That's better than leaving out the damn punch in column 6.

    Those old IBM chain printers were awesome, though. Paper just
    *spewing* out.

    --
    "Let's see... Google had enough brains to do this while Ubuntu missed
    the boat on this entire market." - trolling fsckwit "Ezekiel",
    ridiculing Canonical because they have not been as successful as
    *Google*

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to chrisv on Mon Apr 22 01:34:26 2024
    On Sun, 21 Apr 2024 17:27:50 -0500, chrisv wrote:

    Those old IBM chain printers were awesome, though. Paper just *spewing*
    out.

    https://www.youtube.com/watch?v=Lu4SxJqU9I4

    https://www.youtube.com/watch?v=OqN8kpHGRmw

    https://www.youtube.com/watch?v=EPk8MVEmiTI

    The third one is the old AM radio trick.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to ldo@nz.invalid on Mon Apr 22 01:52:48 2024
    On Thu, 18 Apr 2024 03:30:48 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote in <uvq458$229m8$2@dont-email.me>:

    On Thu, 18 Apr 2024 01:51:12 -0000 (UTC), vallor wrote:

    Not that stat(1) program, but the stat(2) system call.

    Note also you might sometimes want lstat(2), not stat(2).

    You're right, I should have mentioned that.

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Joel on Mon Apr 22 07:11:16 2024
    Joel wrote:

    Imagine having to wait so long for your compiler to "warn" you that
    you added two numbers, when you should have subtracted them! :-D

    Imagine even considering posting such ridiculous lying idiocy as the
    below. Utterly shameless.

    What

    He has obsessions.

    Tell me, when I rub his face into his lies, does that dumb fsck post
    his "support" for his snittish attack? I'm hoping so...

    --
    '[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 Joel on Mon Apr 22 19:05:33 2024
    On 4/21/2024 6:33 PM, Joel wrote:


    Rufus for Winblows


    That's one of those rare FOSS-for-Windows-only apps (along with
    Notepad++ and SumatraPDF and a few others I'm sure).

    Did some looking into Rufus:

    * stands for "The Reliable USB Formatting Utility, with Source""

    * he claims Rufus is the result of reverse-engineering an old
    proprietary HP utility called HPUSBFW

    * he claims "as of 2023, Rufus gets downloaded close to 3 million times
    each month"

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would
    take him at least 4 months of full-time work.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Matuch@21:1/5 to DFS on Mon Apr 22 19:21:59 2024
    On 2024-04-22 7:05 p.m., DFS wrote:
    On 4/21/2024 6:33 PM, Joel wrote:


    Rufus for Winblows


    That's one of those rare FOSS-for-Windows-only apps (along with
    Notepad++ and SumatraPDF and a few others I'm sure).

    Did some looking into Rufus:

    * stands for "The Reliable USB Formatting Utility, with Source""

    * he claims Rufus is the result of reverse-engineering an old
      proprietary HP utility called HPUSBFW

    * he claims "as of 2023, Rufus gets downloaded close to 3 million times
      each month"

    * he has no plans to port it to Linux or MacOS.  He thinks a Linux
      version that has ~75% of the features of the Windows version would
      take him at least 4 months of full-time work.

    Rufus is an excellent utility. Unfortunately, even with Rufus, some
    Linux ISOs end up not booting because, for whatever reason, the people
    behind the distributions enjoy giving us a free preview of what to
    expect when running Linux.

    --
    Andrzej (Andre) Matuch
    TG: @AndrzejMatuch
    Christ is king.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Andrzej Matuch on Mon Apr 22 20:04:46 2024
    On 4/22/2024 7:21 PM, Andrzej Matuch wrote:
    On 2024-04-22 7:05 p.m., DFS wrote:
    On 4/21/2024 6:33 PM, Joel wrote:


    Rufus for Winblows


    That's one of those rare FOSS-for-Windows-only apps (along with
    Notepad++ and SumatraPDF and a few others I'm sure).

    Did some looking into Rufus:

    * stands for "The Reliable USB Formatting Utility, with Source""

    * he claims Rufus is the result of reverse-engineering an old
       proprietary HP utility called HPUSBFW

    * he claims "as of 2023, Rufus gets downloaded close to 3 million times
       each month"

    * he has no plans to port it to Linux or MacOS.  He thinks a Linux
       version that has ~75% of the features of the Windows version would
       take him at least 4 months of full-time work.

    Rufus is an excellent utility. Unfortunately, even with Rufus, some
    Linux ISOs end up not booting because, for whatever reason, the people
    behind the distributions enjoy giving us a free preview of what to
    expect when running Linux.

    ha!

    You Sly-mer!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to vallor on Tue Apr 23 07:33:28 2024
    vallor wrote this copyrighted missive and expects royalties:

    On Sat, 20 Apr 2024 16:50:02 -0000 (UTC), candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote in <v00rnq$3p12d$1@dont-email.me>:

    chrisv <chrisv@nospam.invalid> wrote at 12:22 this Saturday (GMT):
    candycanearter07 wrote:

    Stéphane CARPENTIER wrote:

    some dumb fsck wrote:

    vallor wrote:

    Calling "file" is "cheating". ;)

    No doubt! Everything should always be written in assembly language. >>>>>
    And only written on punched cards.

    We should only use 90s modems :D

    It could be worse. For my late '80's Pascal programming assignments,
    I was able to remote into the mainframe using my Amiga and modem. Saved
    a drive to the university computing center!

    Gosh, line editors were "fun". 8)


    Line editors? You mean like 'ed'?

    "Ed! Ed is the standard!" :)

    https://www.gnu.org/fun/jokes/ed-msg.en.html

    In grad school I had to use TECO to write C code for one class.

    Later, much later, I had to use EDLIN to work on a megabyte-sized
    MASM file.

    WAS
    WAS
    WAS

    or something like that, to get to where I needed to be in 64K increments.

    I showed the project lead vi, but he balked immmediately because it
    took a few seconds to load, even though you could then jump anywhere
    in the file quickly.

    --
    It is easy to find fault, if one has that disposition. There was once a man who, not being able to find any other fault with his coal, complained that there were too many prehistoric toads in it.
    -- 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 All on Tue Apr 23 07:22:45 2024
    Stéphane CARPENTIER wrote this copyrighted missive and expects royalties:

    Le 18-04-2024, DFS <nospam@dfs.com> a écrit :

    I just wish lsblk wouldn't tell me I have 3 devices with funny names
    like 'sda'. There's only one.

    Do you have snaps? Because lsblk is pretty good by itself but snaps put
    a lot of garbage in its output.

    % lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part
    ├─nvme0n1p2 259:2 0 4G 0 part [SWAP]
    └─nvme0n1p3 259:3 0 234G 0 part /

    Arch Linux. The p1 is EFI.

    --
    Kiss me, Kate, we will be married o' Sunday.
    -- William Shakespeare, "The Taming of the Shrew"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Andrzej Matuch on Tue Apr 23 15:10:12 2024
    Andrzej Matuch <andrzej@matu.ch> wrote at 23:21 this Monday (GMT):
    On 2024-04-22 7:05 p.m., DFS wrote:
    On 4/21/2024 6:33 PM, Joel wrote:


    Rufus for Winblows


    That's one of those rare FOSS-for-Windows-only apps (along with
    Notepad++ and SumatraPDF and a few others I'm sure).

    Did some looking into Rufus:

    * stands for "The Reliable USB Formatting Utility, with Source""

    * he claims Rufus is the result of reverse-engineering an old
      proprietary HP utility called HPUSBFW

    * he claims "as of 2023, Rufus gets downloaded close to 3 million times
      each month"

    * he has no plans to port it to Linux or MacOS.  He thinks a Linux
      version that has ~75% of the features of the Windows version would
      take him at least 4 months of full-time work.

    Rufus is an excellent utility. Unfortunately, even with Rufus, some
    Linux ISOs end up not booting because, for whatever reason, the people
    behind the distributions enjoy giving us a free preview of what to
    expect when running Linux.


    Do you mean live enviroments?
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Joel on Wed Apr 24 07:25:51 2024
    Joel wrote:

    chrisv wrote:

    Tell me, when I rub his face into his lies, does that dumb fsck post
    his "support" for his snittish attack? I'm hoping so...

    I know DFS can be a prick, it's just that sometimes it's easier to
    accept Usenet as being Usenet, than counterattack. But I'm certainly
    not one to talk, as such, because of past times when I was more
    emotionally triggered by stuff.

    Well, don't you think it's funny? That dumb fsck was too ignorant to understand what was wrong with Relf's statement. I knew, and expert
    programmer Peter Khlmann backed me up. But DumFSck claims that I'm a
    "tech moron".

    I was programming Z80 microprocessors with machine code and building
    circuits with TTL logic 40 fscking years ago. DumFSck didn't even
    know what hexadecimal was, until recent years. But DumFSck claims
    that I'm a "tech moron".

    I'm a degreed electrical engineer, and have made a career of being a
    technical expert in an electronics company. But DumFSck claims that
    I'm a "tech moron".

    Hilarious!

    I used to program a *lot*. For fun, in school, and for my job. I've
    probably forgotten more about programming than that dumb fsck knows
    today.

    But, according to that dumb fscking liar, not only am I unaware of the
    need to test code to make sure that it works, I think that doing so is "stupid"!

    Could you even make-up such absurdity, if you tried? Hilarious!

    I mean, what kind of person lies so openly and shamelessly as DumFSck
    does? Who does he think looks bad, when he does?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to Joel on Wed Apr 24 10:07:44 2024
    On 4/21/2024 2:13 PM, Joel wrote:

    He [DFS] has obsessions.


    Doesn't everyone?

    shitv, to this day, continually posts random cola quotes from 10-15
    years ago, written by people that haven't posted here for many years,
    about topics that aren't being discussed.

    He's permanently butthurt.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Joel on Wed Apr 24 15:00:13 2024
    Joel <joelcrump@gmail.com> wrote at 14:41 this Wednesday (GMT):
    DFS <nospam@dfs.com> wrote:
    [snip]
    shitv, to this day, continually posts random cola quotes from 10-15
    years ago, written by people that haven't posted here for many years,
    about topics that aren't being discussed.

    He's permanently butthurt.


    They're entertaining, though.


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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to chrisv on Wed Apr 24 13:32:14 2024
    chrisv wrote this copyrighted missive and expects royalties:

    Joel wrote:

    chrisv wrote:

    Tell me, when I rub his face into his lies, does that dumb fsck post
    his "support" for his snittish attack? I'm hoping so...

    I know DFS can be a prick, it's just that sometimes it's easier to
    accept Usenet as being Usenet, than counterattack. But I'm certainly
    not one to talk, as such, because of past times when I was more
    emotionally triggered by stuff.

    Well, don't you think it's funny? That dumb fsck was too ignorant to understand what was wrong with Relf's statement. I knew, and expert programmer Peter Köhlmann backed me up. But DumFSck claims that I'm a
    "tech moron".

    I was programming Z80 microprocessors with machine code and building
    circuits with TTL logic 40 fscking years ago. DumFSck didn't even
    know what hexadecimal was, until recent years. But DumFSck claims
    that I'm a "tech moron".

    I'm a degreed electrical engineer, and have made a career of being a technical expert in an electronics company. But DumFSck claims that
    I'm a "tech moron".

    But you don't know the difference between positive and negative feedback!!!

    :-D Obviously I am just teasing you, remembering that feud of
    long ago.

    --
    Why is it that we rejoice at a birth and grieve at a funeral? It is because we are not the person involved.
    -- 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 Joel on Wed Apr 24 13:35:40 2024
    Joel wrote this copyrighted missive and expects royalties:

    DFS <nospam@dfs.com> wrote:

    On 4/21/2024 2:13 PM, Joel wrote:

    He [DFS] has obsessions.

    Actually, I meant Chris V., not you.

    Doesn't everyone?

    shitv, to this day, continually posts random cola quotes from 10-15
    years ago, written by people that haven't posted here for many years,
    about topics that aren't being discussed.

    He's permanently butthurt.

    DFS should talk! Jeezzuzz!

    They're entertaining, though.

    I get a chuckle from many of those memories. I used to have a collection of troll quotes, but lost track of it.

    --
    Don't read any sky-writing for the next two weeks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DFS@21:1/5 to shitv on Wed Apr 24 14:21:41 2024
    On 4/24/2024 8:25 AM, shitv wrote:

    I used to program a *lot*. For fun, in school, and for my job. I've probably forgotten more about programming than that dumb fsck knows
    today.

    As you've so aptly demonstrated by not posting a single line of code to
    cola in 20 years (that I've seen).



    But, according to that dumb fscking liar, not only am I unaware of the
    need to test code to make sure that it works, I think that doing so is "stupid"!


    I'm just going by what YOU said:


    Relf:
    "Testing is how you know if the code works or not, not compile-time
    warnings."

    shitv:
    "Heh. One doesn't need to be a pro, to know how stupid that is..."



    Gawd. It's the single most stupid thing ever posted to cola.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to rbowman on Thu Apr 25 00:25:33 2024
    On 20 Apr 2024 16:49:57 GMT, rbowman wrote:

    A real live wired modem and not an acoustic coupler? You had it good.

    Acoustic coupler ... with an actual phone? Powered by electricity? Luxury!

    We had to send bits one by one via semaphore flags from on t’hilltop. On t’overcast night. With no moon. In t’middle of t‘rain and t’wind and t’storm. With one arm tied behind our back. And t’bloke at t’other end was
    blind.

    But try telling the young kids these days, they don’t believe you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to DFS on Thu Apr 25 00:28:49 2024
    On Mon, 22 Apr 2024 19:05:33 -0400, DFS wrote:

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would
    take him at least 4 months of full-time work.

    I’m not sure why we need it, anyway. dd works fine for simple cases. And
    for more complex ones, there’s Ventoy.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lawrence D'Oliveiro on Thu Apr 25 14:40:11 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 00:28 this Thursday (GMT):
    On Mon, 22 Apr 2024 19:05:33 -0400, DFS wrote:

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would
    take him at least 4 months of full-time work.

    I’m not sure why we need it, anyway. dd works fine for simple cases. And for more complex ones, there’s Ventoy.


    There are definitely other disk burners, like gnome-disks.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to Chris Ahlstrom on Thu Apr 25 16:08:32 2024
    Chris Ahlstrom wrote:

    chrisv wrote:

    I'm a degreed electrical engineer, and have made a career of being a
    technical expert in an electronics company. But DumFSck claims that
    I'm a "tech moron".

    But you don't know the difference between positive and negative feedback!!!

    :-D Obviously I am just teasing you, remembering that feud of
    long ago.

    Yeah, that was something else, wasn't it? I was 100% correct, yet
    attacked from all sides by ignorant assholes who had *zero* desire to understand or learn. It was like it would have destroyed their souls
    to accept that I had expertise that they did not.

    "We can't concede that chrisv is an intelligent, educated man!" Even
    though I am, as were most of the cola advocates. *Obviously*

    On all matters of importance, we were right, and trolls had nothing
    but idiocy and lies, against us.

    --
    "The negative feedback kept the circuit stable." - trolling fsckwit "Ezekiel", putting his ignorance on display

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chrisv@21:1/5 to All on Thu Apr 25 16:23:21 2024
    candycanearter07 wrote:

    Joel wrote:

    They're entertaining, though.

    Yeah.

    Right? We used to have shit-brained freedom-hater in here who claimed
    to be a "true Linux advocate". This guy despised *all* of the
    principles of Free and Open Source Software!

    According to this asshole, there were "too many distros". Choice was
    "for the brain dead". Some "OSS committee" should have the power to
    decide what software is worked-on and made available to the public.

    Of course he was also a staunch defender of the Micro$oft Corp. And,
    like all the haters, a pathological liar and attacker of decent,
    reasonable people. Funny as fsck.

    --
    '[Linux is] designed for a "community"?????????????????????
    Hahahahha. Whats that? A group of people who dont want to buy
    anything????' - "True Linux advocate" Hadron Quark

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Fri Apr 26 00:16:44 2024
    On Thu, 25 Apr 2024 14:40:11 -0000 (UTC), candycanearter07 wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 00:28 this Thursday (GMT):

    On Mon, 22 Apr 2024 19:05:33 -0400, DFS wrote:

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would
    take him at least 4 months of full-time work.

    I’m not sure why we need it, anyway. dd works fine for simple cases.
    And for more complex ones, there’s Ventoy.

    There are definitely other disk burners, like gnome-disks.

    More functionality and better choice than Rufus.

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

    On Thu, 25 Apr 2024 14:40:11 -0000 (UTC), candycanearter07 wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 00:28 this Thursday (GMT):

    On Mon, 22 Apr 2024 19:05:33 -0400, DFS wrote:

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would
    take him at least 4 months of full-time work.

    I’m not sure why we need it, anyway. dd works fine for simple cases.
    And for more complex ones, there’s Ventoy.

    There are definitely other disk burners, like gnome-disks.

    More functionality and better choice than Rufus.

    $ growisofs -dvd-compat -Z /dev/dvdrw=$ISOBASE
    $ wodim dev=ATA: -scanbus
    $ wodim -v dev=/dev/cdrw1 $FLAGS -data $ISOBASE

    Just some samples from my ~/bin scripts. Might be out-of-date.

    My wants are simple.

    --
    Your heart is pure, and your mind clear, and your soul devout.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Chris Ahlstrom on Fri Apr 26 14:40:12 2024
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 12:34 this Friday (GMT):
    Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

    On Thu, 25 Apr 2024 14:40:11 -0000 (UTC), candycanearter07 wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 00:28 this Thursday (GMT): >>>>
    On Mon, 22 Apr 2024 19:05:33 -0400, DFS wrote:

    * he has no plans to port it to Linux or MacOS. He thinks a Linux
    version that has ~75% of the features of the Windows version would >>>>> take him at least 4 months of full-time work.

    I’m not sure why we need it, anyway. dd works fine for simple cases. >>>> And for more complex ones, there’s Ventoy.

    There are definitely other disk burners, like gnome-disks.

    More functionality and better choice than Rufus.

    $ growisofs -dvd-compat -Z /dev/dvdrw=$ISOBASE
    $ wodim dev=ATA: -scanbus
    $ wodim -v dev=/dev/cdrw1 $FLAGS -data $ISOBASE

    Just some samples from my ~/bin scripts. Might be out-of-date.

    My wants are simple.


    Exactly, better choice ^^
    --
    user <candycane> is generated from /dev/urandom

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