Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Scarblac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
Scarblac
8mo ago
I disagree, I feel (experienced) developers are excellent at this. It's always about translating between our own domain and the customer's, and every other new project there's a new domain to get up to speed with in enough de
62.
▲
by
Scarblac
8mo ago
Allowing advertising quickly makes everything about getting more eyeballs and therefore more income from advertising. Users aren't the customer, they are the product. That directly leads to all these addictive dark patterns.
63.
▲
by
Scarblac
8mo ago
Users can pay for services they use. If that's not viable enough, so be it.
64.
▲
by
Scarblac
8mo ago
I write down: - To-do items (with empty checkboxes) - Notes about what I did, every so often. Or what I talked to someone about, what was decided. - If I'm programming, I try to have a kind of plan for the next fifteen minutes / h
65.
▲
by
Scarblac
8mo ago
> In my view nonnegative real numbers have good physical representations: amount, size, distance, position. Rational numbers I guess, but real numbers? Nothing physical requires numbers of which the decimal expansion is infinite and neve
66.
▲
by
Scarblac
8mo ago
https://www.economist.com/cdn-cgi/image/width=1096,quality=8...
67.
▲
by
Scarblac
8mo ago
But you won't have poverty related stress.
68.
▲
by
Scarblac
8mo ago
There is no actual "panther" animal though, the word is used for several different animals (leopards, jaguars and pumas at least, I think). They can all have melanistic coats and are then often called black panthers. But that'
69.
▲
by
Scarblac
8mo ago
I think the bacteria in your gut outnumber the human cells in your body.
70.
▲
by
Scarblac
8mo ago
Yes, I have no idea what the expectation of a manager in de engineering department of ASML is. Personally, my "manager" has about 35 reports and also other duties. Basically as long as everything is going OK I don't have much
71.
▲
by
Scarblac
8mo ago
This is about the engineering department, which apparently has 16000 employees now. With 4500 managers! They're going to 1500, 1300ish can become engineers, 1700 are let go.
72.
▲
by
Scarblac
8mo ago
Apparantly ASML had 4500 managers of 16000 employees in the engineering department, and engineers spent a third of their time in meetings. 1500 managers of 14400 employees sounds a lot more normal to me.
73.
▲
by
Scarblac
9mo ago
There is an ongoing move from Whatsapp to Signal. It's just very slow.
74.
▲
by
Scarblac
9mo ago
"In the US you cannot make jokes about failure" There is also the phenomenon that serial failure Donald Duck is still a very popular character in several European countries, while we don't care about Mickey Mouse at all. Isn&
75.
▲
by
Scarblac
9mo ago
On the web 3.0 blockchain.
76.
▲
by
Scarblac
9mo ago
The EU should have the place of Russia on that. Russia's population and GDP are tiny.
77.
▲
by
Scarblac
9mo ago
Yes, in case of an actual war the US soldiers on those bases would quickly become prisoners of war.
78.
▲
by
Scarblac
9mo ago
But the slaves were told that there was an afterlife, and that they had a better chance of going there than rich people. That must have been nice to hear for them.
79.
▲
by
Scarblac
9mo ago
Two bits on the king for castling, queenside and kingside.
80.
▲
by
Scarblac
9mo ago
Each side has 16 pieces, so you need 32 elements.
81.
▲
by
Scarblac
9mo ago
He starts out by using 4 bits for castling rights. Then he introduces the other method (signify that castling is allowed by saying the rook on that side is on the same square as the king) and with that method he doesn't need any extra
82.
▲
by
Scarblac
9mo ago
I think didn't mention the bit for whose move it is? Luckily, he has a few spare bits.
83.
▲
by
Scarblac
9mo ago
It just looked way more complex (and it's easy to miss the () at the end of the whole expression that makes it II). And the point of the rule was to make code more readable. Basically it's a shame that Typescript doesn't ha
84.
▲
by
Scarblac
9mo ago
A colleague recently added a linter rule against nested ternary statements. OK, I can see how those can be confusing, and there's probably a reason why that rule is an option. Then replaced a pretty simple one with an anonymous immedia
85.
▲
by
Scarblac
9mo ago
Yes of course, sometimes there is no understandable way to write the code and comments are the best way. But there's also the case to be made that the comments that particular code needs are "why" comments. I can see what hap
86.
▲
by
Scarblac
9mo ago
Yes, but there are other ways to make it more understandable (like good names, idiomatic code, units that are neither too long nor too short) that are often preferable, because comments always have a danger of going out of sync with the cod
87.
▲
by
Scarblac
9mo ago
Nowadays my rule is "the comment should contain enough about the why and the how so that the LLM generates the next few lines mostly correctly."
88.
▲
by
Scarblac
9mo ago
Turns out writing a book and getting it published with the title "Clean Code" is great marketing. I have had so many discussions about that style where I tried to argue it wasn't actually simpler and the other side just point
89.
▲
by
Scarblac
9mo ago
For me a good way to visualize it is, you get given a key. It works on exactly one of the houses in your entire country, and you get one try (no you cant inspect the lock first and all keys look the same). Good luck trying!
90.
▲
by
Scarblac
9mo ago
In the Dutch postcode lottery, they draw a random postcode (roughly a street) and everyone that lives there and has a ticket wins. The wider area code (village level) win smaller prizes. People get FOMO - what if my neighbors become million
More ›