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?