HackerTrans
TopNewTrendsCommentsPastAskShowJobs

eirki

no profile record

comments

eirki
·3 года назад·discuss
The only exceptions I can think of is https://docs.python.org/3/library/typing.html#typing.ClassVa...
eirki
·3 года назад·discuss
FastApi very recently added support for Annotated, and now recommends using that over default arguments.

https://fastapi.tiangolo.com/release-notes/#0950
eirki
·3 года назад·discuss
Url: https://github.com/casey/just
eirki
·3 года назад·discuss
I absolutely agree about fixtures-as-arguments thing. Ward does this a lot better, using default values for the fixture factory. There's a long issue on ideas to implement something like that as a pytest plugin (https://github.com/pytest-dev/pytest/issues/3834), but it seems the resulting plugin relies on something of a hack.
eirki
·4 года назад·discuss
Different time period, but definitely check out History of the Twentieth Century.

https://podcasts.apple.com/us/podcast/the-history-of-the-twe...
eirki
·4 года назад·discuss
I also switched to just recently. Nice and simple syntax, and a very satisfying verb:

  just push
  just test
eirki
·5 лет назад·discuss
Also chiming in to say thanks for the good work! This looks like an amazing release - I practically jumped in excitement when I saw the fish style autocomplete.
eirki
·5 лет назад·discuss
Disabling mutation prevents you from changing attributes after instantiation, no?
eirki
·5 лет назад·discuss
I just wish I could disable the type coercion. E.g. 1 becomes "1" if the attribute is annotated str.
eirki
·5 лет назад·discuss
Does it not lack a proper æ?
eirki
·5 лет назад·discuss
I think the comparison between VS Code and Chrome is spot on. Monoculture in the text editor/IDE space is a very real risk right now.
eirki
·5 лет назад·discuss
If 10% are located in and around one location and the rest are spread around the world, then that would definitely count as 'heavily concentrated' in my book
eirki
·5 лет назад·discuss
> For instance Australia has a lot more private wealth saved up than Norway. At a lower GINI coefficient as well!

This is demonstrably false: https://data.oecd.org/chart/6tTs
eirki
·5 лет назад·discuss
This is my experience as well. $10 for each running process (server, worker, database) adds up very fast.
eirki
·5 лет назад·discuss
Absolutely agree. The myriad of overlapping tools were the biggest problem for me when learning javascript.
eirki
·5 лет назад·discuss
Genuine question: Is Julia used for anything other than mathematics yet? Is there any sign of the Julia community expanding beyond science, maths, machine learning etc?