• Re: Back To CS Basics. Fuck AI

    From Lawrence D?Oliveiro@3:633/10 to All on Sat Oct 17 20:36:37 2026
    On 17 Oct 2026 09:43:01 GMT, St‚phane CARPENTIER wrote:

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

    I haven?t encountered that. I have written some reasonably substantial
    Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
    That?s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
    consists of 2 modules totalling over 10,000 lines.

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

    It is true you can make typos with misspelling variable names, because assignment to a name the compiler hasn?t seen before causes the implicit creation of a new variable.

    One thing that helps limit the damage from this is the scoping rules.
    For example, you can reference a global variable from an inner scope
    without having to declare it global; but you can?t assign to it from
    that scope unless you explicitly declare it ?global?.

    And I'm not speaking about the dependencies. Each version breaks
    everything ...

    Backward compatibility tends to be pretty good. Yes, some ancient
    library modules do get deprecated -- still want to use the CGI
    toolbox, or access Sun audio files??

    ... so well that now some distros don't let you install
    libraries with pip if you are not in a virtual environment.

    Do other languages get away with allowing you to override standard
    system libraries without breaking things?

    Maybe the issue is, Python has achieved a degree of popularity way
    beyond anything those earlier languages could have managed, to the
    point where critical system components have now become dependent on
    it.

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

    Python can do things as complex as anything you might want to do in
    C++ or Java, with much less code. For a real-world example, look at
    how you would set up a TLS/SSL encrypted connection in Java, versus
    doing it in Python.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sat Oct 17 20:38:49 2026
    On Sat, 17 Oct 2026 18:33:42 GMT, Charlie Gibbs wrote:

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

    It just makes it easier to mess around with stuff. You know, when
    you?re not sure how to go about something, and are just experimenting.

    A good environment for experimenting with Python is Jupyter <https://jupyter.org/>. This gives you a notebook-type interface which
    is convenient for ?scratchpad? programming.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sat Oct 17 20:42:04 2026
    On 17 Oct 2026 16:46:21 GMT, St‚phane CARPENTIER wrote:

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

    It?s *always* important. Consider why languages like PHP (ptui) and
    JavaScript need that extra ?===? comparison operator: it?s to disable
    automatic type conversions (e.g. number ? string) that Python refuses
    to do anyway.

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

    Who says you need to ?declare dictionaries??

    ldo@hypatia:~> python3
    Python 3.14.7 (main, Sep 13 2026, 08:30:29) [GCC 16.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> a = "some text"
    >>> print(a)
    some text
    >>> a = {"colour" : "green"}
    >>> print(a)
    {'colour': 'green'}
    >>>

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sat Oct 17 15:47:43 2026
    Lawrence D?Oliveiro wrote:
    On 17 Oct 2026 09:43:01 GMT, St‚phane CARPENTIER wrote:

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

    I haven?t encountered that. I have written some reasonably substantial
    Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
    That?s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
    consists of 2 modules totalling over 10,000 lines.

    No wonder. The problem with counting by lines is you may come up with
    10,000, but if you took out whitespace it could be short as 102 lines.

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

    It is true you can make typos with misspelling variable names, because assignment to a name the compiler hasn?t seen before causes the implicit creation of a new variable.

    To begin I know you should only import maybe at most 2 packages besides
    sys and/or random.

    One thing that helps limit the damage from this is the scoping rules.
    For example, you can reference a global variable from an inner scope
    without having to declare it global; but you can?t assign to it from
    that scope unless you explicitly declare it ?global?.

    And I'm not speaking about the dependencies. Each version breaks
    everything ...

    Backward compatibility tends to be pretty good. Yes, some ancient
    library modules do get deprecated -- still want to use the CGI
    toolbox, or access Sun audio files??

    I'm usually attempting to advance to a later version of Python in my expeience. Backward compatibility is great, but it's important to look
    at what new versions bring.

    ... so well that now some distros don't let you install
    libraries with pip if you are not in a virtual environment.

    Do other languages get away with allowing you to override standard
    system libraries without breaking things?

    It's a standard.

    Maybe the issue is, Python has achieved a degree of popularity way
    beyond anything those earlier languages could have managed, to the
    point where critical system components have now become dependent on
    it.

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

    Which of the powers are you referring to?

    Python can do things as complex as anything you might want to do in
    C++ or Java, with much less code. For a real-world example, look at
    how you would set up a TLS/SSL encrypted connection in Java, versus
    doing it in Python.

    I've found the integer system powerful.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sat Oct 17 23:11:27 2026
    On Sat, 17 Oct 2026 15:47:43 -0600, Blaine wrote:

    Lawrence D?Oliveiro wrote:

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

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

    I haven?t encountered that. I have written some reasonably substantial
    Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
    That?s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
    consists of 2 modules totalling over 10,000 lines.

    No wonder. The problem with counting by lines is you may come up with
    10,000, but if you took out whitespace it could be short as 102 lines.

    ldo@hypatia:dbussy> grep -cE '^$' dbussy.py ravel.py
    dbussy.py:720
    ravel.py:240
    ldo@hypatia:dbussy> grep -cvE '^$' dbussy.py ravel.py
    dbussy.py:6279
    ravel.py:3483

    Still close to 10,000 lines. So ... nope.

    To begin I know you should only import maybe at most 2 packages besides
    sys and/or random.

    Where do you get that idea from?

    From the abovementioned dbussy.py:

    import os
    import builtins
    import operator
    import array
    import enum
    import ctypes as ct
    from weakref import \
    ref as weak_ref, \
    WeakValueDictionary
    import threading
    import io
    import atexit
    import asyncio
    import functools
    from xml.etree import \
    ElementTree as XMLElementTree
    from xml.sax.saxutils import \
    quoteattr as quote_xml_attr

    Do other languages get away with allowing you to override standard
    system libraries without breaking things?

    It's a standard.

    Doesn?t seem like a coherent answer ...

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sat Oct 17 18:07:08 2026
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 15:47:43 -0600, Blaine wrote:

    Lawrence D?Oliveiro wrote:

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

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

    I haven?t encountered that. I have written some reasonably substantial
    Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
    That?s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
    consists of 2 modules totalling over 10,000 lines.

    No wonder. The problem with counting by lines is you may come up with
    10,000, but if you took out whitespace it could be short as 102 lines.

    ldo@hypatia:dbussy> grep -cE '^$' dbussy.py ravel.py
    dbussy.py:720
    ravel.py:240
    ldo@hypatia:dbussy> grep -cvE '^$' dbussy.py ravel.py
    dbussy.py:6279
    ravel.py:3483

    Still close to 10,000 lines. So ... nope.

    To begin I know you should only import maybe at most 2 packages besides
    sys and/or random.

    Where do you get that idea from?

    From the abovementioned dbussy.py:

    import os
    import builtins
    import operator

    Because I tricked you into thinking, "To begin" means "well here we go
    again." I intentionally made it obscure that I am instructing the
    beginner on this point. I am suggesting that someone "new" to Python
    shouldn't import very many packages, as they can overlap problematically.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 03:05:38 2026
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.

    How ?overlap??

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From StĂ©phane CARPENTIER@3:633/10 to All on Sun Oct 18 09:57:01 2026
    Le 18-10-2026, Blaine <cactus_DAC@yahoo.com> a ‚crit˙:

    Because I tricked you into thinking, "To begin" means "well here we go again." I intentionally made it obscure that I am instructing the
    beginner on this point. I am suggesting that someone "new" to Python shouldn't import very many packages, as they can overlap problematically.

    One of the power of python is the number of available packages. As the
    saying go, in C you have a million ways to do what you want when in
    python you have a million packages to do what you want.

    So, telling beginners that python is great because it has so many
    packages, but one should try to avoid using them can be a little bit
    confusing.

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

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Sun Oct 18 12:11:06 2026
    On 18/10/2026 03:54, rbowman wrote:
    On Sat, 17 Oct 2026 20:42:04 -0000 (UTC), Lawrence D?Oliveiro wrote:

    Who says you need to ?declare dictionaries??

    ldo@hypatia:~> python3 Python 3.14.7 (main, Sep 13 2026, 08:30:29)
    [GCC 16.2.0] on linux Type "help", "copyright", "credits" or
    "license"
    for more information.
    >>> a = "some text" print(a)
    some text
    >>> a = {"colour" : "green"}
    >>> print(a)
    {'colour': 'green'}

    Python 3.14.4 (main, Aug 20 2026, 10:41:58) [GCC 15.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    a = {"coluor" : "green"}
    print(a)
    {'coluor': 'green'}
    a["color"] = "purple"
    print(a)
    {'coluor': 'green', 'color': 'purple'}


    I've seen bugs introduced either by typos or a programmer who couldn't
    spell. It's either a very handy feature or a potential problem to add ad
    hoc fields.

    If that's the case use a dataclass with frozen=True (and perhaps kw_only=True).

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Sun Oct 18 12:14:11 2026
    On 18/10/2026 04:49, rbowman wrote:
    [..]
    One annoyance is the different site packages on the various distros. For example on Fedora you can install python3-ruff as a site package with
    dnf. On Ubuntu 26.04 you get 'Error: Unable to locate package python3-
    ruff' and have to install it in a venv.

    Or use docker.

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Sun Oct 18 12:38:33 2026
    On 18/10/2026 12:11, John Bokma wrote:
    On 18/10/2026 03:54, rbowman wrote:
    On Sat, 17 Oct 2026 20:42:04 -0000 (UTC), Lawrence D?Oliveiro wrote:

    Who says you need to ?declare dictionaries??

    ˙˙˙˙ ldo@hypatia:~> python3 Python 3.14.7 (main, Sep 13 2026, 08:30:29)
    ˙˙˙˙ [GCC 16.2.0] on linux Type "help", "copyright", "credits" or
    ˙˙˙˙ "license"
    ˙˙˙˙ for more information.
    ˙˙˙˙ >>> a = "some text" print(a)
    ˙˙˙˙ some text
    ˙˙˙˙ >>> a = {"colour" : "green"}
    ˙˙˙˙ >>> print(a)
    ˙˙˙˙ {'colour': 'green'}

    Python 3.14.4 (main, Aug 20 2026, 10:41:58) [GCC 15.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    a = {"coluor" : "green"}
    print(a)
    {'coluor': 'green'}
    a["color"] = "purple"
    print(a)
    {'coluor': 'green', 'color': 'purple'}


    I've seen bugs introduced either by typos or a programmer who couldn't
    spell. It's either a very handy feature or a potential problem to add ad
    hoc fields.

    If that's the case use a dataclass with frozen=True (and perhaps kw_only=True).

    ? python3
    Python 3.14.7 (main, Aug 8 2026, 20:03:42) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    from dataclasses import dataclass
    @dataclass(frozen=True, kw_only=True)
    ... class Config:
    ... color: str
    ...
    a = Config(color='purple')
    a.coluor
    Traceback (most recent call last):
    File "<python-input-3>", line 1, in <module>
    a.coluor
    AttributeError: 'Config' object has no attribute 'coluor'. Did you mean: 'color'?
    a.color = 'green'
    Traceback (most recent call last):
    File "<python-input-4>", line 1, in <module>
    a.color = 'green'
    ^^^^^^^
    File "<string>", line 15, in __setattr__
    dataclasses.FrozenInstanceError: cannot assign to field 'color'
    a.color
    'purple'


    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sun Oct 18 11:31:00 2026
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.

    How ?overlap??

    This paper examines two manifestations of the problem. First, it
    analyzes dependency conflicts surrounding the Jupyter ecosystem, with
    emphasis on jupyter-client, ipykernel, notebook, and related packages.
    Second, it examines a more subtle form of conflict in which a function
    is silently substituted or renamed, causing a fundamentally different probabilistic behavior. As a case study, we consider situations where
    code expecting a uniform random generator instead receives a Gaussian
    random generator.
    The central thesis is that package conflicts and semantic substitutions
    are not separate issues. Both arise when software components rely upon assumptions that are no longer true.
    ________________________________________
    1. Introduction
    Many software failures originate not in algorithms but in assumptions.
    An algorithm may be mathematically correct. A class hierarchy may be
    perfectly designed. Unit tests may pass. Yet the system fails because
    one component assumes:
    Python
    f() returns a uniform random sample

    while another component provides:
    Python
    f() returns a Gaussian random sample
    Likewise:
    Python
    Package A assumes jupyter-client 7.x
    while:
    Python
    Package B assumes jupyter-client 8.x
    In both cases, the failure results from incompatible expectations.
    The experienced developer often focuses on explicit code. Dependency
    conflicts remind us that software behavior is also determined by
    implicit contracts.
    ________________________________________
    2. The Role of jupyter-client
    The Jupyter ecosystem consists of multiple cooperating packages.
    Among them:
    jupyter-client
    notebook
    jupyter-server
    ipykernel
    nbclient
    jupyter-console
    Many developers think of Jupyter as a notebook interface.
    In reality, it is a distributed messaging architecture.
    A typical execution path looks like:
    Plain Text
    Notebook UI
    |
    jupyter-server
    |
    jupyter-client
    |
    ipykernel
    |
    Python interpreter
    The package jupyter-client acts as a communications layer between
    front-end applications and kernels.
    This position makes it especially sensitive to compatibility problems. ________________________________________
    3. Why jupyter-client Conflicts Occur
    The primary reason is version coordination.
    Suppose:
    Plain Text
    Notebook requires:
    jupyter-client >= 7

    Kernel package requires:
    jupyter-client < 7
    The package manager cannot satisfy both constraints.
    The experienced developer often views this as a deployment issue.
    However, the deeper reality is that each package encodes a model of
    expected behavior.
    One package believes the communication protocol behaves one way.
    Another package expects a different behavior.
    The conflict merely exposes the disagreement. ________________________________________
    4. Layered Dependency Assumptions
    Consider the dependency graph:
    Plain Text
    Application
    |
    Notebook
    |
    ipykernel
    |
    jupyter-client
    |
    pyzmq
    Every layer depends upon assumptions from lower layers.
    When a developer upgrades:
    Shell
    pip install --upgrade notebook
    they may unknowingly alter assumptions several layers below.
    The resulting failure often appears unrelated to the action that caused it. This makes troubleshooting difficult.
    ________________________________________
    5. False Attribution of Failure
    One of the most interesting cognitive errors among experienced
    developers is false attribution.
    Suppose notebook execution suddenly fails.
    The developer investigates:
    the notebook code
    the data
    the operating system
    Yet the true cause is:
    Plain Text
    jupyter-client version mismatch
    A package conflict resembles a hidden variable in an experiment.
    Without awareness of dependency interactions, the developer can spend
    hours debugging code that is functioning correctly. ________________________________________
    6. Dependency Hell as Assumption Hell
    The phrase "dependency hell" is common.
    A more accurate description may be:
    assumption hell.
    A successful installation requires agreement among many independent authors. Each author makes assumptions about:
    APIs
    object behavior
    exception formats
    message protocols
    return values
    Dependency conflicts occur when those assumptions diverge.
    The package manager is merely the messenger. ________________________________________
    7. Lessons From jupyter-client
    For experienced developers, the central lesson is not package pinning.
    The lesson is architectural.
    A package version should be treated like:
    a protocol version,
    a database schema,
    a network contract.
    Changing versions changes assumptions.
    The number itself is not important.
    The assumptions behind the number are.
    ________________________________________
    8. Semantic Substitution and Function Renames
    We now turn to a different class of problem.
    Suppose a developer expects:
    Python
    random.random()
    This generates values from a uniform distribution.
    Specifically:
    Plain Text
    0 <= x < 1
    with equal probability across the interval.
    Now imagine a package update or local wrapper introduces:
    Python
    gaussian_random()
    and maps it to the same interface.
    The function still returns a number.
    No exception occurs.
    No warning appears.
    Yet the semantics have changed completely. ________________________________________
    9. Uniform Versus Gaussian Distributions
    A uniform distribution:
    Plain Text
    U(0,1)
    assigns equal probability throughout the interval.
    A Gaussian distribution:
    Plain Text
    N(0,1)
    clusters near the mean.
    Graphically:
    Plain Text
    Uniform:

    **********
    **********
    **********

    Gaussian:

    **
    ****
    ******
    ********
    ******
    ****
    **
    To many testing frameworks, both outputs appear valid.
    Both produce floating-point numbers.
    The mistake may survive for months.
    ________________________________________
    10. Unexpected Consequences
    Consider a simulation.
    The programmer intends:
    Python
    angle = random.random() * 360
    The angles should be evenly distributed.
    Substitution with Gaussian behavior produces clustering.
    The simulation develops bias.
    Examples include:
    Monte Carlo analysis
    particle systems
    game mechanics
    optimization algorithms
    machine learning experiments
    The code may remain syntactically correct while becoming scientifically invalid.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Sun Oct 18 22:25:06 2026
    On 18/10/2026 22:01, rbowman wrote:
    On Sun, 18 Oct 2026 12:11:06 +0200, John Bokma wrote:

    [snip]

    If that's the case use a dataclass with frozen=True (and perhaps
    kw_only=True).

    Yes, the language has been improving but iirc dataclass appeared in 3.7.

    named tuples are another, older way.

    But 3.7, that's 2018!

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sun Oct 18 14:38:31 2026
    rbowman wrote:
    On 18 Oct 2026 09:57:01 GMT, St‚phane CARPENTIER wrote:

    So, telling beginners that python is great because it has so many
    packages, but one should try to avoid using them can be a little bit
    confusing.

    Confusing but after seeing posts like 'Hi, I'm starting to learn Python.
    How do I use numpy?' you want to scream 'learn the basics first!'

    I had to put numpy back on the shelf. The use I found for it to this
    point was 3D placement. But it says somewhere in small print: don't use
    this for small vectors (3 per vector in 3D placement).

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 21:36:43 2026
    On 18 Oct 2026 09:57:01 GMT, St‚phane CARPENTIER wrote:

    So, telling beginners that python is great because it has so many
    packages, but one should try to avoid using them can be a little bit confusing.

    More likely an indication that the person giving such advice is ...
    confused ... ;)

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 21:38:11 2026
    On Sun, 18 Oct 2026 14:38:31 -0600, Blaine wrote:

    I had to put numpy back on the shelf. The use I found for it to this
    point was 3D placement. But it says somewhere in small print: don't
    use this for small vectors (3 per vector in 3D placement).

    Did you understand that by ?small vectors? they meant ?arrays of few
    elements?, not ?vectors with dimensions as few as 3??

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 21:40:30 2026
    On Sun, 18 Oct 2026 11:31:00 -0600, Blaine wrote:

    Lawrence D?Oliveiro wrote:

    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.

    How ?overlap??

    This paper examines two manifestations of the problem. First, it
    analyzes dependency conflicts surrounding the Jupyter ecosystem,
    with emphasis on jupyter-client, ipykernel, notebook, and related
    packages. Second, it examines a more subtle form of conflict in
    which a function is silently substituted or renamed, causing a
    fundamentally different probabilistic behavior.

    [long screed deleted]

    Copied-and-pasted AI slop, is it? I notice the lack of attribution,
    and the fact that it doesn?t make any sense otherwise.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Piergiorgio Sartor@3:633/10 to All on Sun Oct 18 23:44:33 2026
    On 18/10/2026 22.05, rbowman wrote:
    [...]
    Confusing but after seeing posts like 'Hi, I'm starting to learn Python.
    How do I use numpy?' you want to scream 'learn the basics first!'

    Why?
    Maybe such person is interested in numpy for
    something matlab-like, but not in python as such.

    Which brings us back to the "too many libraries"
    pyhton has.

    For any thinkable application there is likely a
    python library, but the person interested in
    the application, might not really be interested
    in python, if not for the convenience of having
    almost everything already cooked.

    A bit of chicken / egg problem...

    bye,

    --

    piergiorgio

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 21:59:49 2026
    On 18 Oct 2026 09:33:56 GMT, St‚phane CARPENTIER wrote:

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

    Well, naturally, if you want to make a change to an object, that object
    must a) be mutable, and b) exist in the first place.

    E.g. appending to a list:

    >>> a = None
    >>> a.append("something")
    Traceback (most recent call last):
    File "<python-input-1>", line 1, in <module>
    a.append("something")
    ^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'append'

    Naturally that doesn?t work, but

    >>> a = []
    >>> a.append("something")
    >>> a
    ['something']

    Naturally that works. Similarly

    >>> a = None
    >>> a["colour"] = "green"
    Traceback (most recent call last):
    File "<python-input-6>", line 1, in <module>
    a["colour"] = "green"
    ~^^^^^^^^^^
    TypeError: 'NoneType' object does not support item assignment

    doesn?t work either, but

    >>> a = {}
    >>> a["colour"] = "green"
    >>> a
    {'colour': 'green'}

    does work.

    I managed to do it with other programming languages. I managed to do
    it with python, to. In the end, it worked. But it was more
    cumbersome with python. I'm not saying that a programming language
    should be able to be used without being learned. I'm saying that
    it's not an easier language to use.

    I?d be curious to see some more detail about what exactly the
    situation was, if you can supply it. Maybe you were thinking in terms
    of declaring variables of a prespecified type, when Python doesn?t
    really have such a concept?

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sun Oct 18 16:07:21 2026
    Lawrence D?Oliveiro wrote:
    On Sun, 18 Oct 2026 14:38:31 -0600, Blaine wrote:

    I had to put numpy back on the shelf. The use I found for it to this
    point was 3D placement. But it says somewhere in small print: don't
    use this for small vectors (3 per vector in 3D placement).

    Did you understand that by ?small vectors? they meant ?arrays of few elements?, not ?vectors with dimensions as few as 3??

    True. Perchance I could have wrapped the vectors together making a data
    group of larger size.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sun Oct 18 16:09:07 2026
    Lawrence D?Oliveiro wrote:
    On Sun, 18 Oct 2026 11:31:00 -0600, Blaine wrote:

    Lawrence D?Oliveiro wrote:

    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.

    How ?overlap??

    This paper examines two manifestations of the problem. First, it
    analyzes dependency conflicts surrounding the Jupyter ecosystem,
    with emphasis on jupyter-client, ipykernel, notebook, and related
    packages. Second, it examines a more subtle form of conflict in
    which a function is silently substituted or renamed, causing a
    fundamentally different probabilistic behavior.

    [long screed deleted]

    Copied-and-pasted AI slop, is it? I notice the lack of attribution,
    and the fact that it doesn?t make any sense otherwise.

    Is that your final answer?

    I'll have my attorney review it and see if his observations are the same.

    Please don't tell me you didn't read it.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Sun Oct 18 22:09:41 2026
    On Sun, 18 Oct 2026 23:44:33 +0200, Piergiorgio Sartor wrote:

    Which brings us back to the "too many libraries" [Python] has.

    At some point, people were staying away from Python because it didn?t
    have enough libraries. Now the new excuse is that it has too many.

    It?s not like getting married, you know; you can try a few, pick the
    one(s) you find useful, and chuck the rest. That?s what choice is all
    about, and Open Source is all about choice.

    For any thinkable application there is likely a python library, but
    the person interested in the application, might not really be
    interested in python, if not for the convenience of having almost
    everything already cooked.

    That's what attracts people to Python.

    Why do you think Python has been able to achieve such a state, to a
    greater extent than any prior language? Even overtaking ones that had
    some quite big corporate heavyweight sponsorship behind them?

    Clue: it must have been something about the core language to begin
    with, that made it such an attactive basis to build on.

    A bit of chicken / egg problem...

    It?s not Python that has the chicken/egg problem ...

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Sun Oct 18 21:43:18 2026
    rbowman wrote:
    On Sun, 18 Oct 2026 16:09:07 -0600, Blaine wrote:

    I'll have my attorney review it and see if his observations are the
    same.

    Is your attorney's name Claude?

    No, my attorney's name is Blaine. You know, pro se?

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Keith Thompson@3:633/10 to All on Sun Oct 18 21:22:10 2026
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]

    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon
    to refer to Usenet posts as "papers".)

    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From c186282@3:633/10 to All on Mon Oct 19 00:22:20 2026
    On 10/18/26 05:57, St‚phane CARPENTIER wrote:
    Le 18-10-2026, Blaine <cactus_DAC@yahoo.com> a ‚crit˙:

    Because I tricked you into thinking, "To begin" means "well here we go
    again." I intentionally made it obscure that I am instructing the
    beginner on this point. I am suggesting that someone "new" to Python
    shouldn't import very many packages, as they can overlap problematically.

    One of the power of python is the number of available packages. As the
    saying go, in C you have a million ways to do what you want when in
    python you have a million packages to do what you want.

    So, telling beginners that python is great because it has so many
    packages, but one should try to avoid using them can be a little bit confusing.

    However the number of libs, there is more GOOD DOCUMENTATION
    these days for the Python stuff. Too much 'C' stuff just
    ASSUMES you know every what/why/how because you're such a
    great mighty 'C' programmer, of course. Also can be many
    more options, ok optional SCREW-UPS, with any 'C' libs you
    find. The more 'plain English' aspects of Python often get
    you going sooner with less bullshit. Leave the fiddly 'C'
    to the people who write the Python libs. Python, mostly,
    Just Works smooth and simple.

    There are advantages in 'C' and advantages in Python. All
    depends on what you are DOING.

    As said, for 30+ years I did most everything in 'C' or
    Pascal. Past five years, almost entirely in Python.
    Pascal is more elegant and self-documenting, and
    FPC/Lazarus IS by far the quickest way to a usable GUI,
    but some of the functions/structures ARE less clean
    than 'C', kinda afterthoughts glued on to the Wirthian
    foundation.

    Pick the best tool for the job at hand. No 'religion'.

    These days, for 90% at least, the Best Tool is
    probably Python. Some stuff you'll have to strong-
    arm it to do ... so look elsewhere.

    Oh, 'found' for Linux, the TCC, Tiny-C Compiler. Does
    MANY useful things GCC and LLVM/Clang can do but produces
    tighter code faster. Added it to Code::Blocks as an option
    easy to switch to. Great for 'utilities'.

    Still trying to find a good use/reason for 'D' - still
    preferable to Rust in my aesthetic :-)

    Oh well, there's always FORTRAN and COBOL ... do on odd
    occasion write something in FORTRAN, but would rather
    forget COBOL :-)


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Keith Thompson@3:633/10 to All on Sun Oct 18 21:48:06 2026
    rbowman <bowman@montana.com> writes:
    [...]
    It's not only Python. Whatever C spec that allowed inline variable declarations was great. I'd gotten used to it in C++. I'm sure there were other changes that I don't use. Some I actively dislike. afaik C still doesn't have lambdas.
    [...]

    I *think* you're referring to the ability to mix declarations and
    statements within a block. This was added in the 1999 edition of
    the C standard. C++ had this ability nearly from the beginning (I
    don't know the exact history).

    C++ has another feature of inline variables, using the "inline"
    keyword, added in C++17.

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Piergiorgio Sartor@3:633/10 to All on Mon Oct 19 09:54:28 2026
    On 19/10/2026 00.09, Lawrence D?Oliveiro wrote:
    [...]
    At some point, people were staying away from Python because it didn?t
    have enough libraries. Now the new excuse is that it has too many.

    No, the situation is the opposite.
    People use python because of the libraries,
    the very easy way to use them, but might not
    care less about the language itself.
    The language is just a commodity, it has no
    rewarding features, except for the libraries.

    Note that this is just an interpretation,
    not necessarily my opinion.
    Generally speaking I find the language OKish,
    even if I can see few improvements here and there.

    It?s not like getting married, you know; you can try a few, pick the
    one(s) you find useful, and chuck the rest. That?s what choice is all
    about, and Open Source is all about choice.

    Oh, I cannot agree more.

    For any thinkable application there is likely a python library, but
    the person interested in the application, might not really be
    interested in python, if not for the convenience of having almost
    everything already cooked.

    That's what attracts people to Python.

    Why do you think Python has been able to achieve such a state, to a
    greater extent than any prior language? Even overtaking ones that had
    some quite big corporate heavyweight sponsorship behind them?

    Clue: it must have been something about the core language to begin
    with, that made it such an attactive basis to build on.

    Not 100% sure about that.

    Initially python was sold as java replacement,
    but free from corporate interests.

    Later it developed in something much greater.
    To the point that even corporates adopted it.

    Just a different perspective.

    A bit of chicken / egg problem...

    It?s not Python that has the chicken/egg problem ...

    Of course not, but some users have it.

    bye,

    --

    piergiorgio

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Mon Oct 19 08:40:48 2026
    On Mon, 19 Oct 2026 09:54:28 +0200, Piergiorgio Sartor wrote:

    On 19/10/2026 00.09, Lawrence D?Oliveiro wrote:

    Why do you think Python has been able to achieve such a state, to a
    greater extent than any prior language? Even overtaking ones that
    had some quite big corporate heavyweight sponsorship behind them?

    Clue: it must have been something about the core language to begin
    with, that made it such an attactive basis to build on.

    Not 100% sure about that.

    Initially python was sold as java replacement, but free from
    corporate interests.

    How was it ?sold?, if it was being given away for free by a nonprofit
    dependent on volunteer support?

    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    Consider Microsoft Basic, for example, with the backing of the world?s
    most powerful computer company behind it. For building up a critical
    mass of libraries, it had a head start, not just of a few years, but
    of a decade or two, on Python. Yet nobody uses it any more. How come?

    Even Java had the support of Sun, probably the most successful Unix
    company. Yet Python has managed to overtake that, as well.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Piergiorgio Sartor@3:633/10 to All on Mon Oct 19 10:55:45 2026
    On 19/10/2026 10.40, Lawrence D?Oliveiro wrote:
    [...]
    How was it ?sold?, if it was being given away for free by a nonprofit dependent on volunteer support?

    Oh, come on!
    Sold! "Sold"? It's common English expression, not
    involving money, but intentions.

    It means some people, users, developers, were
    "advertising" (without any budget) python as a
    nice alternative to java (which was seen more closed).
    That's it. Budget does not play a role, here.

    I remember clearly an article chastising java
    for becoming "irrelevant *scripting* language
    (like python)".
    Imagine that...

    This is a different perspective, alternative to
    "language is so good, that's why it's successful".
    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    That does not seem to work either way.
    Linux was successful without publicity budget, it seems.
    On the other hand, OS/2 was not that successful, despite
    a large potential publicity budget.

    So what?

    Things are not always what they seem or what
    they are supposed or the are wished to be.

    bye,

    --

    piergiorgio

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Mon Oct 19 11:29:04 2026
    On 19/10/2026 05:19, rbowman wrote:
    On Sun, 18 Oct 2026 22:25:06 +0200, John Bokma wrote:

    [..]

    But 3.7, that's 2018!

    That brings up an interesting question. How many people who have been
    using Python for a decade or two keep up with the latest changes? What
    they have been doing still works and they don't go out of their way to
    read PEP 666 or whatever.

    I do. I like to read "What's new in Python 3.x". I do the same with Perl

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From c186282@3:633/10 to All on Mon Oct 19 07:16:50 2026
    On 10/19/26 04:40, Lawrence D?Oliveiro wrote:
    On Mon, 19 Oct 2026 09:54:28 +0200, Piergiorgio Sartor wrote:

    On 19/10/2026 00.09, Lawrence D?Oliveiro wrote:

    Why do you think Python has been able to achieve such a state, to a
    greater extent than any prior language? Even overtaking ones that
    had some quite big corporate heavyweight sponsorship behind them?

    Clue: it must have been something about the core language to begin
    with, that made it such an attactive basis to build on.

    Not 100% sure about that.

    Initially python was sold as java replacement, but free from
    corporate interests.

    How was it ?sold?, if it was being given away for free by a nonprofit dependent on volunteer support?

    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    Consider Microsoft Basic, for example, with the backing of the world?s
    most powerful computer company behind it. For building up a critical
    mass of libraries, it had a head start, not just of a few years, but
    of a decade or two, on Python. Yet nobody uses it any more. How come?

    Even Java had the support of Sun, probably the most successful Unix
    company. Yet Python has managed to overtake that, as well.

    I find Python pleasant to code with. Pascal is a bit
    more elegant but for me Python and Pascal tie for
    "most likable". 'C' ... kind of like building a car
    engine from the bolts on up.



    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Richard Kettlewell@3:633/10 to All on Mon Oct 19 17:29:52 2026
    John Bokma <contact@johnbokma.com> writes:
    On 19/10/2026 05:19, rbowman wrote:
    On Sun, 18 Oct 2026 22:25:06 +0200, John Bokma wrote:
    But 3.7, that's 2018!
    That brings up an interesting question. How many people who have been
    using Python for a decade or two keep up with the latest changes?
    What they have been doing still works and they don't go out of their
    way to read PEP 666 or whatever.

    I do. I like to read "What's new in Python 3.x". I do the same with Perl

    Currently my most prolific source of updates to my Python knowledge is
    code reviews with someone who keeps up with the changes a bit better
    than I do, which has the advantage that new features come to me with an immediately useful context attached.

    --
    https://www.greenend.org.uk/rjk/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From The Natural Philosopher@3:633/10 to All on Mon Oct 19 17:34:40 2026
    On 19/10/2026 17:29, Richard Kettlewell wrote:
    which has the advantage that new features come to me with an
    immediately useful context attached.

    Radical!

    --
    ?People believe certain stories because everyone important tells them,
    and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one?s
    agreement with that conventional wisdom becomes almost a litmus test of
    one?s suitability to be taken seriously.?

    Paul Krugman


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Mon Oct 19 10:42:07 2026
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:

    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]

    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon
    to refer to Usenet posts as "papers".)

    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    If you'd like, I can refer you to the Harvard teacher who instructed
    this about conflict between packages. Are you unfamiliar with the
    concept? BTW, I'm not claiming that anyone has to remain a beginner forever.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Mon Oct 19 18:51:47 2026
    On 19/10/2026 18:29, Richard Kettlewell wrote:
    John Bokma <contact@johnbokma.com> writes:
    On 19/10/2026 05:19, rbowman wrote:
    On Sun, 18 Oct 2026 22:25:06 +0200, John Bokma wrote:
    But 3.7, that's 2018!
    That brings up an interesting question. How many people who have been
    using Python for a decade or two keep up with the latest changes?
    What they have been doing still works and they don't go out of their
    way to read PEP 666 or whatever.

    I do. I like to read "What's new in Python 3.x". I do the same with Perl

    Currently my most prolific source of updates to my Python knowledge is
    code reviews with someone who keeps up with the changes a bit better
    than I do, which has the advantage that new features come to me with an immediately useful context attached.

    That's nice.

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Bokma@3:633/10 to All on Mon Oct 19 22:24:06 2026
    On 19/10/2026 21:57, rbowman wrote:
    On Mon, 19 Oct 2026 11:29:04 +0200, John Bokma wrote:

    On 19/10/2026 05:19, rbowman wrote:
    On Sun, 18 Oct 2026 22:25:06 +0200, John Bokma wrote:

    [..]

    But 3.7, that's 2018!

    That brings up an interesting question. How many people who have been
    using Python for a decade or two keep up with the latest changes? What
    they have been doing still works and they don't go out of their way to
    read PEP 666 or whatever.

    I do. I like to read "What's new in Python 3.x". I do the same with Perl

    https://gitlab.com/flufl/whatsnewt

    "A TUI text adventure through what's new in Python 3.15."

    Interesting approach.

    Thanks! Will check it out later.

    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Keith Thompson@3:633/10 to All on Mon Oct 19 17:09:13 2026
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:
    I am suggesting that someone "new" to Python shouldn't import very
    many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]
    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon
    to refer to Usenet posts as "papers".)
    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    If you'd like, I can refer you to the Harvard teacher who instructed
    this about conflict between packages. Are you unfamiliar with the
    concept? BTW, I'm not claiming that anyone has to remain a beginner
    forever.

    I just asked whether your post was AI-generated. You don't have
    to answer, but your response is completely irrelevant to what I asked.

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Tue Oct 20 00:54:56 2026
    On Mon, 19 Oct 2026 10:55:45 +0200, Piergiorgio Sartor wrote:

    On 19/10/2026 10.40, Lawrence D?Oliveiro wrote:

    How was it ?sold?, if it was being given away for free by a
    nonprofit dependent on volunteer support?

    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    That does not seem to work either way. Linux was successful without
    publicity budget, it seems. On the other hand, OS/2 was not that
    successful, despite a large potential publicity budget.

    You?re just reinforcing the point I was trying to make. YOu seemed to
    suggest that it was some kind of publicity campaign that led to the
    popularity of Python. I am saying it is down to the inherent quality
    of the product, nothing more. You seem to be backing that up here.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Piergiorgio Sartor@3:633/10 to All on Tue Oct 20 08:08:58 2026
    On 20/10/2026 02.54, Lawrence D?Oliveiro wrote:
    On Mon, 19 Oct 2026 10:55:45 +0200, Piergiorgio Sartor wrote:

    On 19/10/2026 10.40, Lawrence D?Oliveiro wrote:

    How was it ?sold?, if it was being given away for free by a
    nonprofit dependent on volunteer support?

    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    That does not seem to work either way. Linux was successful without
    publicity budget, it seems. On the other hand, OS/2 was not that
    successful, despite a large potential publicity budget.

    You?re just reinforcing the point I was trying to make. YOu seemed to
    suggest that it was some kind of publicity campaign that led to the popularity of Python. I am saying it is down to the inherent quality
    of the product, nothing more. You seem to be backing that up here.

    I never said the opposite.
    You seem so keen to defend python that
    every comment should be taken as negative
    so to requires a crusade.

    The point I was making was not that
    python is "bad".

    Simply that people can choose python,
    not because the language is particularly
    "exciting", but because it can solve a
    problem very quickly (thanks to the huge
    amount of libraries).

    That's quite different than saying "python
    is a bad language" and it is also different
    that saying "python is a good language".

    It does not comment on the language
    qualities themselves.
    It simply takes them apart and point out
    at different aspects.

    I understand you saying that the amount
    of libraries are a consequence of the
    language qualities, but it could also be
    a consequence of something else.
    Like nothing better to use.
    perl was used, but we all know perl...
    java? wow...
    C/C++, much, much faster, but ehi...

    You can draw a parallel between C and C++
    in the same way.
    C++ allows to solve some problems in a
    quicker way than C (better way is a matter
    of discussion up to nowadays).
    In C you can do almost directly exactly
    the same as C++, but with more effort.
    Just consider that the first C++ compiler
    was convertig from C++ to C and then using
    the standard C compiler.

    So, people can choose C++ not because is
    a nice, OO, fancy language, but just
    because to write to a file it can use
    ">>" instead of boring "fopen()" / "fclose()".

    And, in fact, it's plenty of C++ code written
    as it was C, just with minor "simplifications".

    Got the point?

    bye,

    --

    piergiorgio

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Lawrence D?Oliveiro@3:633/10 to All on Tue Oct 20 07:50:51 2026
    On Tue, 20 Oct 2026 08:08:58 +0200, Piergiorgio Sartor wrote:

    On 20/10/2026 02.54, Lawrence D?Oliveiro wrote:

    You?re just reinforcing the point I was trying to make. YOu seemed
    to suggest that it was some kind of publicity campaign that led to
    the popularity of Python. I am saying it is down to the inherent
    quality of the product, nothing more. You seem to be backing that
    up here.

    I never said the opposite.

    You said users used Python for the libraries, they couldn?t care less
    about the language.

    I pointed out that those rich libraries are there with Python rather
    than some other language precisely because of the unique strengths of
    the Python language.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Carlos E.R.@3:633/10 to All on Tue Oct 20 21:33:10 2026
    On 2026-10-19 10:40, Lawrence D?Oliveiro wrote:
    On Mon, 19 Oct 2026 09:54:28 +0200, Piergiorgio Sartor wrote:

    On 19/10/2026 00.09, Lawrence D?Oliveiro wrote:

    Why do you think Python has been able to achieve such a state, to a
    greater extent than any prior language? Even overtaking ones that
    had some quite big corporate heavyweight sponsorship behind them?

    Clue: it must have been something about the core language to begin
    with, that made it such an attactive basis to build on.

    Not 100% sure about that.

    Initially python was sold as java replacement, but free from
    corporate interests.

    How was it ?sold?, if it was being given away for free by a nonprofit dependent on volunteer support?

    Remember the corporate interests have access to million-dollar
    publicity budgets that no Free Software project can afford.

    Consider Microsoft Basic, for example, with the backing of the world?s
    most powerful computer company behind it. For building up a critical
    mass of libraries, it had a head start, not just of a few years, but
    of a decade or two, on Python. Yet nobody uses it any more. How come?

    Too many dialects.


    Even Java had the support of Sun, probably the most successful Unix
    company. Yet Python has managed to overtake that, as well.


    --
    Cheers, Carlos.
    ES??, EU??;

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Tue Oct 20 16:28:11 2026
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:
    I am suggesting that someone "new" to Python shouldn't import very >>>>>> many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]
    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon
    to refer to Usenet posts as "papers".)
    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    If you'd like, I can refer you to the Harvard teacher who instructed
    this about conflict between packages. Are you unfamiliar with the
    concept? BTW, I'm not claiming that anyone has to remain a beginner
    forever.

    I just asked whether your post was AI-generated. You don't have
    to answer, but your response is completely irrelevant to what I asked.

    Your question is rude. You're living in the past. Wake up in ten years
    and ask again, I guess. Beggars can't be choosers.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Tue Oct 20 18:06:11 2026
    Lawrence D?Oliveiro wrote:
    On Tue, 20 Oct 2026 08:08:58 +0200, Piergiorgio Sartor wrote:

    On 20/10/2026 02.54, Lawrence D?Oliveiro wrote:

    You?re just reinforcing the point I was trying to make. YOu seemed
    to suggest that it was some kind of publicity campaign that led to
    the popularity of Python. I am saying it is down to the inherent
    quality of the product, nothing more. You seem to be backing that
    up here.

    I never said the opposite.

    You said users used Python for the libraries, they couldn?t care less
    about the language.

    I pointed out that those rich libraries are there with Python rather
    than some other language precisely because of the unique strengths of
    the Python language.

    If it were entirely based on merit, there would be messages in the comp.lang.ml newsgroup.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Keith Thompson@3:633/10 to All on Tue Oct 20 19:30:22 2026
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:
    I am suggesting that someone "new" to Python shouldn't import very >>>>>>> many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]
    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon
    to refer to Usenet posts as "papers".)

    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    If you'd like, I can refer you to the Harvard teacher who instructed
    this about conflict between packages. Are you unfamiliar with the
    concept? BTW, I'm not claiming that anyone has to remain a beginner
    forever.

    I just asked whether your post was AI-generated. You don't have
    to answer, but your response is completely irrelevant to what I asked.

    Your question is rude. You're living in the past. Wake up in ten years
    and ask again, I guess. Beggars can't be choosers.

    Actually I asked two questions. One was what the phrase "this paper"
    referred to. The other was whether your post was AI-generated.
    I said nothing about Python packages. I only asked for some
    clarification about what you wrote.

    I have no idea why you think either or both of my questions were rude. Apparently you're not going to answer either of them. Clearly there's
    nothing I can do about that.

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Blaine@3:633/10 to All on Wed Oct 21 06:24:17 2026
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    Blaine <cactus_DAC@yahoo.com> writes:
    Lawrence D?Oliveiro wrote:
    On Sat, 17 Oct 2026 18:07:08 -0600, Blaine wrote:
    I am suggesting that someone "new" to Python shouldn't import very >>>>>>>> many packages, as they can overlap problematically.
    How ?overlap??

    This paper examines two manifestations of the problem.
    [snip]
    Does the phrase "This paper" refer to the Usenet post in which it
    appears, or to some other paper published elsewhere? (It's uncommon >>>>> to refer to Usenet posts as "papers".)

    A followup suggests it was AI-generated. Was it? (I don't much
    care either way, but I'm curious -- and if it was AI-generated I'm
    not going to bother reading it.)

    If you'd like, I can refer you to the Harvard teacher who instructed
    this about conflict between packages. Are you unfamiliar with the
    concept? BTW, I'm not claiming that anyone has to remain a beginner
    forever.

    I just asked whether your post was AI-generated. You don't have
    to answer, but your response is completely irrelevant to what I asked.

    Your question is rude. You're living in the past. Wake up in ten years
    and ask again, I guess. Beggars can't be choosers.

    Actually I asked two questions. One was what the phrase "this paper" referred to. The other was whether your post was AI-generated.
    I said nothing about Python packages. I only asked for some
    clarification about what you wrote.

    I have no idea why you think either or both of my questions were rude. Apparently you're not going to answer either of them. Clearly there's nothing I can do about that.

    Clearly.

    Look, you are suffering from a grand confusion about Usenet. I'm not
    your bondservant, son. I don't have to obey your orders. Likewise,
    neither do I have to fetch you a beer.

    --
    Can you strip away so we may start again?
    "There?s a switch and they don't
    seem authentic or themselves. It
    feels like I?m an unnecessary
    body and it?s a waste of time to
    even be there." -- Grim, playful Blaine.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Keith Thompson@3:633/10 to All on Wed Oct 21 12:27:53 2026
    There is nothing in this post about Linux or Python. Feel free to
    skip it.

    Blaine <cactus_DAC@yahoo.com> writes:
    Keith Thompson wrote:
    [...]
    Apparently you're not going to answer either of them. Clearly there's
    nothing I can do about that.

    Clearly.

    Look, you are suffering from a grand confusion about Usenet. I'm not
    your bondservant, son. I don't have to obey your orders. Likewise,
    neither do I have to fetch you a beer.

    This will probably be my last message on this thread, and my last
    interaction with you.

    You are lying, deluded, or both. I asked you a couple of straightforward questions. You chose not to answer them. I absolutely understand
    that you are under no obligation to answer any questions I asked,
    and have not said or implied otherwise. You have made laughably
    inaccurate inferences about what I asked, when the meanings of my
    questions were clear from the questions themselves. And for what
    it's worth, I no longer care about the answers.

    You seem to be projecting your own issues onto me. You might want
    to think about that, but I doubt it would do any good.

    Feel free to have the last word and pretend that you've won something.

    My apologies to the other readers of these newsgroups for contributing
    to this off-topic discussion.

    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From The Natural Philosopher@3:633/10 to All on Thu Oct 22 08:48:47 2026
    On 21/10/2026 20:27, Keith Thompson wrote:
    You are lying, deluded, or both. I asked you a couple of straightforward questions. You chose not to answer them. I absolutely understand
    that you are under no obligation to answer any questions I asked,
    and have not said or implied otherwise. You have made laughably
    inaccurate inferences about what I asked, when the meanings of my
    questions were clear from the questions themselves. And for what
    it's worth, I no longer care about the answers.

    You seem to be projecting your own issues onto me. You might want
    to think about that, but I doubt it would do any good.

    Feel free to have the last word and pretend that you've won something.

    My apologies to the other readers of these newsgroups for contributing
    to this off-topic discussion.

    What an apt description of Usenet - where everybody works off their frustrations and tries to learn how to lie convincingly: It is a true microcosm and refuge of the world of wannabees. As well as the world of 'couldn't care less: Take it or leave it-s'

    As well as those who live inside a mirror ball and see only their own reflections

    --
    ?The urge to save humanity is almost always only a false face for the
    urge to rule it.?
    ? H. L. Mencken


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)