HackerTrans
TopNewTrendsCommentsPastAskShowJobs

eirki

no profile record

comments

eirki
·3 tahun yang lalu·discuss
The only exceptions I can think of is https://docs.python.org/3/library/typing.html#typing.ClassVa...
eirki
·3 tahun yang lalu·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 tahun yang lalu·discuss
Url: https://github.com/casey/just
eirki
·3 tahun yang lalu·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 tahun yang lalu·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 tahun yang lalu·discuss
I also switched to just recently. Nice and simple syntax, and a very satisfying verb:

  just push
  just test
eirki
·5 tahun yang lalu·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 tahun yang lalu·discuss
Disabling mutation prevents you from changing attributes after instantiation, no?
eirki
·5 tahun yang lalu·discuss
I just wish I could disable the type coercion. E.g. 1 becomes "1" if the attribute is annotated str.
eirki
·5 tahun yang lalu·discuss
Does it not lack a proper æ?
eirki
·5 tahun yang lalu·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 tahun yang lalu·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 tahun yang lalu·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 tahun yang lalu·discuss
This is my experience as well. $10 for each running process (server, worker, database) adds up very fast.
eirki
·5 tahun yang lalu·discuss
Absolutely agree. The myriad of overlapping tools were the biggest problem for me when learning javascript.
eirki
·5 tahun yang lalu·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?
eirki
·5 tahun yang lalu·discuss
And some linters will complain if there is a collision between the names of a parameter and a function.
eirki
·5 tahun yang lalu·discuss
Absolutely love the idea of using default params to identify fixtures. That part of pytest has always rubbed me the wrong way.
eirki
·5 tahun yang lalu·discuss
Also: The Age of Napoleon. https://ageofnapoleon.com
eirki
·5 tahun yang lalu·discuss
This is very good advice. It's often so tempting to get on that threadmill after making the first purchase.