Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
Posts
8
Comments
336
Joined
2 yr. ago

  • Wait waaaaat? Doesn't everyone have a desktop cat. What a sad bunch of losers without the company of even a digital cat.

    oneko wtf!

  • It's a potential single point of failure. Which have experienced first hand. The rest of the app could not run cuz a non-essential piece was non-operable due to the missing compiled message definitions file or message definitions file was updated but not compiled.

    So protobuf carries a non-zero risk.

    Could the app have been designed without an essential exploding binary blob? Most definitely yes!

  • 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.)

  • Also there is strictyaml that validates against schemas. Don't touch the builtin yaml module.

    protobuf needs to be compiled. This introduces possibility of coder error. Just forgetting to compile and commit protobuf files after a change. This affected the electrum btc and ltc (light) wallets.

  • as well as Apache

  • or G'd forbid Perl. Oh i can think of something worse, PHP.

    Call to action: calling all toppers

  • They are coming to steal your IP

  • they are coming for our daughters

  • Using geany. It's simple tabbed text editor which does not get in your way.

    it's not awesome; just does the job and has zero ambition to march towards enshittification

  • Not bringing a phone to a protest is a govts wet dream. Bring a burner phone. The real issue, assuming signal jamming, is how to propagate video chunks thru a mesh network until node(s) find working Internet connection(s) and the video chunks can be distributed out to multiple servers.

    Also would be nice to be connected to coordinators to break up mob into cells with distributed specific targets.

    Why do we have to suck at what we do?

    Seeing police with riot gear in a phalanx, and crowds pushed against them. Looks like failure to me; lost opportunity. Where in da f are the coordinators?

  • and the entire ecosystem of packages which needs to be maintained.

    Unless you think that is done by magic fairy elves

  • Allude to Rust without saying Rust

    Oh you mean MSFT is part of Alpha-Omega foundation and their money is not green.

  • tl;dr;

    Alpha-Omega funds Seth Larson and Mike Fiedler. Alpha-Omega is big corp grants to open source projects, except yours. Never yours.

    About Anthropic

    Anthropic is the AI research and development company behind Claude — the frontier model used by millions of people worldwide.

  • Python @programming.dev

    Criminal mind vs OSD #2

  • 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.

  • overrated or not the choice is between sync or async drivers. Actually there is no choice, just an illusion of choice.

    So async or async ... choose. Without the web router running multithreaded, concurrency will have minimal effect. But everything is step by step. freethreaded hasn't been out for very long.

  • I live and breathe this stuff

    SQLAlchemy AsyncSession calls greenlet_spawn which wraps a Session sync method. For async dialect+driver, the sqlalchemy dbapi driver will make async connections.

    Hey lets make an async call. You mean rewrite the exact code except with dispersed await sprinkled about? Fuck that! Once is enough. Instead wrap the sync call in a greenlet_spawn. And then return to the gulag of static type checking hell forever.

    So is it async all the way thru? No. It's async enough™

  • btw use mypy AND pyright. The OP writes, mypy OR pyright.

    mypy -- chokes on excessive number of overloads. Annoyingly runs forever.

    pyright -- more verbose; finds issues mypy never will

    So when mypy broke had to use pyright. Then fixed mypy by ignoring a module and some configuration voodoo.

  • Python @programming.dev

    the guy in charge of random data base object names

    github.com /fastapi/sqlmodel/issues/264
  • Programming Horror @programming.dev

    duck hunting

  • Python @programming.dev

    Dependency management

    pypi.org /project/wreck
  • Python @programming.dev

    Feedback on gh profile design

    github.com /msftcangoblowm/
  • Python @programming.dev

    Whats in a Python tarball

  • Python @programming.dev

    PEP 735 does dependency group solve anything?

    peps.python.org /pep-0735/
  • Python @programming.dev

    constraint vs requirement. What's the difference?