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?
eirki
·قبل 5 سنوات·discuss
And some linters will complain if there is a collision between the names of a parameter and a function.
eirki
·قبل 5 سنوات·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 سنوات·discuss
Also: The Age of Napoleon. https://ageofnapoleon.com
eirki
·قبل 5 سنوات·discuss
This is very good advice. It's often so tempting to get on that threadmill after making the first purchase.