HackerTrans
トップ新着トレンドコメント過去質問紹介求人

kjmr

no profile record

投稿

Tim Cook sold Apple's soul

loopwerk.io
34 ポイント·投稿者 kjmr·5 か月前·12 コメント

Coolify accidentally broke Docker layer caching (and what you can do now)

loopwerk.io
2 ポイント·投稿者 kjmr·8 か月前·0 コメント

An archive of Spamusement.com (which went offline in 2020)

spamusement.cc
3 ポイント·投稿者 kjmr·9 か月前·0 コメント

A quarter century of chasing simplicity

loopwerk.io
3 ポイント·投稿者 kjmr·10 か月前·0 コメント

コメント

kjmr
·2 か月前·議論
Author here. It wasn't a recommendation, it was just the only way I knew how to. "uv pip list --outdated" indeed has much better output, thanks!

Though this makes me wonder why are there 2 ways of viewing outdated packages, with wildly different output? The UX is mess...
kjmr
·2 か月前·議論
“Removing upper version bounds is important when publishing libraries.”

That makes total sense! The article however was written as someone creating websites, not libraries. And when I consume dependencies in my web project, I do want those upper bounds to prevent breaking changes (assuming the dependencies respect SemVer of course).

Thanks for pointing out that config, I’ve updated the article.
kjmr
·2 か月前·議論
Once you know what the ^ means (I always think of “roof”), I do think that one character is easier to read than >=,<
kjmr
·2 か月前·議論
What you’re saying makes sense for library authors. But when I make a website and I depend on a bunch of packages, that’s where I want to be safe when upgrading and I want that upper bound. The —-bound flag really helps, but is one more thing to type and remember.

Maybe when uv knows the project isn’t a library it could default to upper bounds?
kjmr
·2 か月前·議論
The lack of an upper bound in pyproject.toml isn’t the real problem. The real problem is that `uv lock —-upgrade` does a wholesale upgrade of everything without an upper bound. If there was a way to upgrade packages without updating the major version, this command would be a lot safer to run.
kjmr
·2 か月前·議論
Author of the article here. Sorry it comes across as “clickbait style” when actually it’s simply Dutch bluntness and honesty

poetry update also updates the lockfile. I really think the way the uv cli is organized makes it quite annoying to work with. It’s designed for correctness, for machines, not for user-friendliness.
kjmr
·5 か月前·議論
The article links to https://www.notesfromthecircus.com/p/the-crisis-no-5, which goes deep into China and manufacturing.
kjmr
·9 か月前·議論
Yeah, you'd have to outsource the payment processing completely to a third party, which handles everything like updating payment methods etc. Stripe payment links might work well, although I have no experience with them.
kjmr
·9 か月前·議論
I wouldn't want to give my credit card info to a CLI. When it's on the web I can see if the connection is encrypted, I can (usually) see who the payment processor is (like Stripe). What happens with my credit card number that I enter into the CLI? How is it sent, where does it get stored, etc.

You also wouldn't be able to support Apple Pay or Google Pay, or international payment methods (like iDEAL in The Netherlands).

Payments seem like a huge problem to go pure CLI without a web UI.