Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eirki
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
eirki
3y ago
The only exceptions I can think of is https://docs.python.org/3/library/typing.html#typing.ClassVa...
2.
▲
by
eirki
3y ago
FastApi very recently added support for Annotated, and now recommends using that over default arguments. https://fastapi.tiangolo.com/release-notes/#0950
3.
▲
by
eirki
3y ago
Url: https://github.com/casey/just
4.
▲
by
eirki
3y ago
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://gith
5.
▲
by
eirki
4y ago
Different time period, but definitely check out History of the Twentieth Century. https://podcasts.apple.com/us/podcast/the-history-of-the-twe...
6.
▲
by
eirki
5y ago
I also switched to just recently. Nice and simple syntax, and a very satisfying verb: just push just test
7.
▲
by
eirki
5y ago
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.
8.
▲
by
eirki
5y ago
Disabling mutation prevents you from changing attributes after instantiation, no?
9.
▲
by
eirki
5y ago
I just wish I could disable the type coercion. E.g. 1 becomes "1" if the attribute is annotated str.
10.
▲
by
eirki
5y ago
Does it not lack a proper æ?
11.
▲
by
eirki
5y ago
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.
12.
▲
by
eirki
5y ago
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
13.
▲
by
eirki
5y ago
> 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
14.
▲
by
eirki
5y ago
This is my experience as well. $10 for each running process (server, worker, database) adds up very fast.
15.
▲
by
eirki
5y ago
Absolutely agree. The myriad of overlapping tools were the biggest problem for me when learning javascript.
16.
▲
by
eirki
5y ago
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?
17.
▲
by
eirki
5y ago
And some linters will complain if there is a collision between the names of a parameter and a function.
18.
▲
by
eirki
5y ago
Absolutely love the idea of using default params to identify fixtures. That part of pytest has always rubbed me the wrong way.
19.
▲
by
eirki
5y ago
Also: The Age of Napoleon. https://ageofnapoleon.com
20.
▲
by
eirki
5y ago
This is very good advice. It's often so tempting to get on that threadmill after making the first purchase.
21.
▲
by
eirki
5y ago
> Avoid SELECT title, last_name, first_name FROM books LEFT JOIN authors ON books.author_id = authors.id > Prefer SELECT b.title, a.last_name, a.first_name FROM books AS b LEFT JOIN
22.
▲
by
eirki
6y ago
It is also marginally faster, I think.
23.
▲
by
eirki
6y ago
Alternate anectdata: I switched to Vivaldi a year or two ago and have had no problems with crashes.
24.
▲
by
eirki
6y ago
Reminds me of the "House of Special Purpose" https://en.wikipedia.org/w/index.php?title=House_of_Special_...
25.
▲
by
eirki
7y ago
Mypy sometimes uses init files to understand internal imports.
26.
▲
by
eirki
7y ago
There are a couple of apps out there! Although my experience was that I didn't really have a need for the data when all was said and done. Maybe I should have picked up knitting..
27.
▲
by
eirki
7y ago
Not exactly. NIMBY "carries the connotation that such residents are only opposing the development because it is close to them and that they would tolerate or support it if it were built farther away." (Wikipedia) Whereas drones, p
28.
▲
by
eirki
7y ago
I agree with your second point (self-driving cars might make more efficient use of roads), but I don't see how cheaper taxis is going to reduce road congestion?
29.
▲
by
eirki
7y ago
Mypy uses the init files to resolve absolute imports.
30.
▲
by
eirki
8y ago
Black (The uncompromising Python code formatter) is all the rage atm. https://github.com/ambv/black
More ›