• 8 Posts
  • 341 Comments
Joined 2 years ago
cake
Cake day: March 1st, 2024

help-circle


  • project cost = sigma(1...n)(risk likelihood of occurring * risk cost), but we aren’t discussing every possible risk. Only the one risk.

    The risk of having to:

    • for the app to work, requires compiled components
    • having to be familiar with setup.py. This is referred to as the sewer, which is what is targeted by hackers e.g. xv
    • maintainers who come later being familiar and can maintain packages that incorporate other languages e.g. C or rust
    • possibly neglecting to perform the compile (but lets ignore this)
    • compiler runs a binary written and maintained by the spy agency Google

    or

    Just not doing that

    The only justification for going with protoc, over other methods, could only come down to data serialization speed. But in that case, wouldn’t a rust solution be: not only as fast, but also much safer.





  • A better approach

    That unfortunately isn’t a better approach. The compilation step requires protobuf to be installed, by the distro package manager. To my knowledge it’s not available from pypi.

    An uncompiled protobuf file is essentially worthless unless it’s compiled. But if it’s compiled then it’s a binary blob.

    Not anti-protobuf. Just make the protobuf compiler available without getting a distro package manager involved.

    Otherwise slower alternatives might be more viable.

    strictyaml bundles strictyaml.ruamel, which used to be an external unmaintained C package.

    This reduces strictyaml dependencies to:

    pyproject.toml

    dependencies = [
        "python-dateutil>=2.6.0"
    ]
    

    Just that one. So can be confident strictyaml will work.

    Can the same be said for protobuf and Google (over invested in AI and is probably dying underneath a huge debt burden while spending tons of money on AI wash propaganda while not funding Python projects enough. Maintainer leave or burn out while everyone is too busy head fcking us with the AI washing to notice.)














  • Surprised this post received no love.

    Well written. Presents an intriguing argument for plain text + git + grep + plugins over SQL databases.

    Too many possible paths to spend our time on and only one person, yourself, to do it.

    The only objection have is with what the OP considers to be an investment. Some things oddly missing:

    • cryptocurrencies

    • investments outside of the Wall Street gambling dens of declining purchasing power

    • precious metals

    • only interact with peers is settlement of tiny debts. No investment in their enterprises or community

    If everyone followed the OP’s pattern of investment, there would be no real economy.

    So the article is slightly cringe worthy; reads like propaganda for indoctrinating children.

    See that pretty chart going up, that is your total personal wealth losing purchasing power. Will wake up one day a trillionaire that can’t buy a loaf of bread.