Recent submissions

Comment · 1 year ago
In my mind all these productivity systems cook down to creating a list of tasks. The list can be between 4 and 10 items. You do one task at a time and when you are finished you can cross out the task. This is the extent of focus my brain is capable of. Creating giant backlogs and plans is just | /dev/null in my case.
Comment · 2 years ago
Because of inline css and different fonts on different os-es and generally no guarantees about render size. In short, you have no idea how big a block is without rendering it.
Comment · 2 years ago
I remember the sysadmins trying to figure out why sqiud was so slow and tracing the system calls. It was because they did not use kqueue/epoll. When he asked the maintainer to improve on this he said squid was fast enough. This was the start of Varnish where one of main ideas was to use modern os-calls to speed up things.
Comment · 3 years ago
I don't understand. You complain about coworkers getting high pay and complaining while not producing any value. Do you think a downturn and potentially getting fired will educate them in this matters and getting less pay will make them solve actual problems?
Comment · 4 years ago
Yes, this is true as long as the method or function doesn't contain if's changing the behaviour depending on the data. In other words if the problem is so well defined that you can create a method that solves the problem and it doesn't need to take into account x variations of the problem then it is fine. This is the copy-paste versus creating a function discussion. Problem is the x variations of the problem and you need the code to do different things depending on the variation, we usually break the modularity of the function instead of separating the generic and non-generic parts. Hence the ifs in the function. From what I have seen people are unable to do this in their own codebase properly so I don't think it will happen globally. But on the other hand libraries are kind of the answer to the problem and as problems get well defined, one starts using libraries. Raising the level of abstraction is a continuous process.
Comment · 4 years ago
The thing is that git is not supposed to be smart when it comes to merging. https://wincent.com/blog/a-look-back-bram-cohen-vs-linus-tor...

At the end of the article: This is a clearly ambiguous merge and it simply wouldn’t be right for your version control system to try "resolving" it for you.

So the strategy is that if there is any doubt you have to manually fix conflicts. This is by design.

Comment · 4 years ago
If you are used to being the guy everybody goes to it is a big change since nobody will depend on you if you are new. But that is fine, it takes som time to get recognised in a new work environment. If you are skilled it will change in 2-3 months.
Comment · 4 years ago
But then from the wikipedia page.

The Online Etymology Dictionary states that the use of the term to mean "'calculating machine' (of any type) is from 1897.

The Online Etymology Dictionary indicates that the "modern use" of the term, to mean 'programmable digital electronic computer' dates from "1945 under this name

So computer is the correct term before 1945.

Comment · 4 years ago
> Computers are programmable. A system created from logic gates, executing a fixed set of operations is not called a computer. Your washing machine is not a computer either.

Found this quote that sums it up nicely.

Comment · 4 years ago
> The Nimatron.” A non-programmable digital computer.

How can a computer be non-programmable? The whole idea of a computer is that it runs a list of instructions.

Comment · 4 years ago
>What has the world come to, where technology has been appropriated and we are left paying rents every month and companies are increasingly becoming user-hostile and predatory and monopolistic!

This is the issue. While the subscription model may be the right choice forward it may also be the catalyst of a collapse (like the dotcom bust) if the users get bullied enough.

Comment · 4 years ago
Beware of the imposter syndrome. It never goes away. If your old code looks awful and embarrassing, you are on the right track (you are learning). Focus on learning to read code. It is more important than writing. Find a good open source project and read some good code.
Comment · 4 years ago
Haha, no that was missing. I mean all the features/loggers that were used in the project mapped one to one.
Comment · 4 years ago
I have ported a Spring Boot application from log4j to logback and it was pretty easy since we used slf4j. The code was the same, the only thing I had to do is to convert the logging configuration. The features mapped one to one and it to some fidgeting to make it work, but all in all it was pretty straight forward. Would recommend.
Comment · 5 years ago
I think the problem here is motivation and keeping it up for so many years. Maybe there is a trick to it. Idk.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton