HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tyrion

no profile record

comments

tyrion
·vorig jaar·discuss
Some years ago I thought it would be interesting to develop a tool to make a python script automatically install its own dependencies (like uvx in the article), but without requiring any other external tool, except python itself, to be installed.

The downside is that there are a bunch of seemingly weird lines you have to paste at the begging of the script :D

If anyone is curios it's on pypi (pysolate).
tyrion
·vorig jaar·discuss
Helping improve the spec and all is great, but being 100% honest, as a user, I would rather have a type checker I can bend to my needs. As you said, some code patterns in a dynamic language like Python are difficult, or even impossible, to type-check without custom code. Type checkers are becoming more popular than ever, and this implicitly means that these code patterns are are going to be discouraged. On one hand, I believe the dynamism of Python is core to the language. On the other, I would never want to write any collaborative piece of software without a type checker anymore. Therefore, to get the benefits of a type checker, I am occasionally forced to write worse code just to please it.

Considering how fast uv and ruff took off, I am sure you are aware of the impact your project could have. I understand that supporting plugins is hard. However, if you are considering adding support for some popular libraries, IMHO, it would be really beneficial for the community if you could evaluate the feasibility of implementing things in a somewhat generic way, which could be then maybe leveraged by third-party authors.

In any case, thanks for all the amazing work.
tyrion
·3 jaar geleden·discuss
This was brought up in one of the previous discussion on HN [1], and people found out that indeed this project seem to have copied the original coreutils. There were some name of variables/constants taken from the original code [2]. Also, I am not implying that they are violating copyright (as someone else said, not doing a clean-room implementation does not necessarily imply violating the original license). However, I find it very sad that they replaced the license and are effectively damaging the GNU project. (It is also a bit sad to see your comment, which expresses a perfectly valid concern, down-voted).

I wonder what is the official position of the GNU project about this though.

[1]: https://news.ycombinator.com/item?id=26398251

[2]: https://news.ycombinator.com/item?id=26398538
tyrion
·3 jaar geleden·discuss
More than the limit, what seems absurd to me is that businesses seem to be allowed to refuse cash as a form of payment. I am reading the translated version of the article, and it says:

> A seller can decide not to accept cash above a certain amount. Or not accepting cash at all.

Why would not accepting cash at all be allowed? What is the other alternative? Mastercard, visa etc? If for example, a super market chain stops accepting cash and starts accepting only Visa, and for whatever reason I do not have a visa credit card, or worse I am banned by Visa,then I cannot buy groceries anymore? Also, I am not exactly sure everybody has access to a credit card. Maybe I am missing something here, but this seems a bit stupid/crazy to me.