eirki
|
3 years ago
|
on: The different uses of Python type hints
eirki
|
3 years ago
|
on: The different uses of Python type hints
eirki
|
3 years ago
|
on: Automate your Python project with Makefile (2021)
eirki
|
3 years ago
|
on: Pytest Tips and Tricks
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
|
3 years ago
|
on: The genetic history of Scandinavia from the Roman Iron Age to the present
eirki
|
4 years ago
|
on: How did I run that code again? Tools to help recall
I also switched to just recently. Nice and simple syntax, and a very satisfying verb:
just push
just test
eirki
|
4 years ago
|
on: IPython 8.0
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
|
4 years ago
|
on: The Data Classes Decorator
Disabling mutation prevents you from changing attributes after instantiation, no?
eirki
|
4 years ago
|
on: The Data Classes Decorator
I just wish I could disable the type coercion. E.g. 1 becomes "1" if the attribute is annotated str.
eirki
|
4 years ago
|
on: Show HN: My proposal for a new keyboard layout
Does it not lack a proper æ?
eirki
|
4 years ago
|
on: The Decline of Django
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
|
4 years ago
|
on: It's weird that most of “Hacker” news is dominated by business news
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
|
4 years ago
|
on: An Iraqi who saved Norway from oil (2009)
> 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
|
4 years ago
|
on: Show HN: Heroku Alternative for Python/Django apps
This is my experience as well. $10 for each running process (server, worker, database) adds up very fast.
eirki
|
4 years ago
|
on: Benefits of Not Using an IDE
Absolutely agree. The myriad of overlapping tools were the biggest problem for me when learning javascript.
eirki
|
4 years ago
|
on: Julia: Faster than Fortran, cleaner than Numpy
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
|
4 years ago
|
on: Ward: Modern Test Framework for Python
And some linters will complain if there is a collision between the names of a parameter and a function.
eirki
|
4 years ago
|
on: Ward: Modern Test Framework for Python
Absolutely love the idea of using default params to identify fixtures. That part of pytest has always rubbed me the wrong way.
eirki
|
4 years ago
|
on: The Lives of Napoleon
eirki
|
5 years ago
|
on: Beginner’s guide to mechanical keyboards
This is very good advice. It's often so tempting to get on that threadmill after making the first purchase.