Recent submissions

Comment · 3 years ago
PyCoder's Weekly[https://pycoders.com/] is a good newsletter for learning more about Python.
Comment · 3 years ago
Comment · 3 years ago
Ubuntu with the Cinnamon desktop environment works well. It feel similar to Windows XP and has the same default keyboard shortcuts.
Comment · 4 years ago
Comment · 4 years ago
For work it's 1. press power button 2. Ctrl + Alt + T, to open a terminal 3. . ./start_{project_name}, to execute a script setting environment variables and starting programs

Each day it saves me a few seconds and the start scripts also serve as documentation.

Comment · 4 years ago
Amazon Sweden is much worse than other regions. Nonsensical translations makes products difficult to find and top ranked products are often from sellers with spammy looking names (e.g. xuchangmadunshangmaoyouxianzerengongsi).

Before Brexit I frequently used Amazon UK. They had both good prices and fast shipping to Sweden. Same with Amazon US. I would still use them if it wasn't for the import charges.

Comment · 4 years ago
It depends on the complexity of the problem. Data classes can make the code easy to read, and if you use a good IDE then it will also be faster to write.

I suggest you focus on making the program work, before considering how to best manage state. Readability and performance can be improved through refactoring later.

Comment · 4 years ago
Was it your first job? How did you perform compared with other developers?

Expectations vary between workplaces. This isn't a pattern until it has happened at multiple companies.

The people who have been fired from teams I've worked with have either had trouble completing tasks or been unable to collaborate with others.

Comment · 4 years ago
No. With the limited time I have to spend on personal projects I would rather add new features or improve existing ones.

I've also experienced "fun" code unexpectedly showing in production at companies, leading to embarrassing situations for the developers who snuck it in.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton