News for hackers. Stuff that matters.

liveware

Re:Ask HN: What are some of the better Python blogs? on Saturday April 01, 2023 @09:21AM (#35400114)
PyCoder's Weekly[https://pycoders.com/] is a good newsletter for learning more about Python.
Ubuntu with the Cinnamon desktop environment works well. It feel similar to Windows XP and has the same default keyboard shortcuts.
The source code mentions Ghost [https://ghost.org/].
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.

Re:Ask HN: What Is the Appeal of Amazon? on Friday January 28, 2022 @05:23AM (#30112855)
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.

Re:Way to manage program state in Python, without OOP? on Monday January 24, 2022 @02:36PM (#30062770)
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.

Re:Ask HN: How do I know if im a slow developer? on Monday January 17, 2022 @09:29AM (#29966840)
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.

Re:Ask HN: Do u leave Easter egg in your personal project? on Wednesday January 12, 2022 @01:19AM (#29903003)
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.