Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
branko_d
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
branko_d
2y ago
The author seems to suggest that the choice is between natural and surrogate key. In fact, the choice is between natural and natural+surrogate key. - If you have a natural key, you have to enforce it, otherwise you risk data corruption. T
152.
▲
by
branko_d
2y ago
I know about nanoimprint lithography, but it's not a viable alternative for most commercial uses, at least not yet. Maybe one day...
153.
▲
by
branko_d
2y ago
> Yet the primary effect it will have is for China to become less dependent on foreign chips faster. That's not a given. US did to Japan something similar in the '80s, and they never recovered. Today, ASML is at the forefront o
154.
▲
by
branko_d
2y ago
As a rule of thumb: AOT has shorter cold start time, but similar overall performance to JIT. In fact, JIT can perform slightly better once the program reaches "steady state" because it can target the exact processor running and al
155.
▲
by
branko_d
2y ago
> 2. compiled then interpreted bytecode You can also compile to bytecode (when building), and then compile that bytecode to the machine code (when running). That way, you can take advantage of the exact processor that is running your pro
156.
▲
JavaScript Visualized – Event Loop, Web APIs, (Micro)Task Queue
(youtube.com)
2 points
by
branko_d
2y ago
|
0 comments
157.
▲
by
branko_d
3y ago
So a red light turns on. What does it mean? For the next 0.5 s you don't know. Maybe it will turn off, maybe it won't. In the meantime, you have delayed your braking action and decreased your margin of safety. Or you have started
158.
▲
by
branko_d
3y ago
No one knows how LLMs work in a sense that nobody knows how human brains work. Yes, we know a lot about individual cells, but the complexity that emerges when billions of them get connected is something that we do not understand. There is a
159.
▲
Large language models can do jaw-dropping things. But nobody knows why.
(technologyreview.com)
65 points
by
branko_d
3y ago
|
36 comments
160.
▲
by
branko_d
3y ago
> Then again, it also boggles my mind how car makers in the US continue to use flashing red lights as the turn signal instead of yellow lights. Technology Connections channel had a video about that a while back: https://youtu.
161.
▲
Is Your Workplace Toxic?
(youtube.com)
1 points
by
branko_d
3y ago
|
2 comments
162.
▲
by
branko_d
3y ago
I have the same situation. The annoying part is that my "untrained" eye is not near-sighted, but my "trained" eye is. I suspect it was different in the childhood (untrained: far-sighted, trained: not far-sighted) and the
163.
▲
by
branko_d
3y ago
> And if you ever need to read anything even once database without indexes is slow This may be true in most cases, but not all. It just depends on your access pattern. If all you do are full table scans (possibly feeding to hash-joins),
164.
▲
by
branko_d
3y ago
True, but FK (in child table) must reference a key (in parent), and most databases won't let you create a key without the underlying index. The other direction, however, is not a given: most DBs will let you create a FK on fields not
165.
▲
by
branko_d
3y ago
> A database with no indexes is slow. No it’s not… if all you do is write to it. In fact, it’s the fastest possible database for such case. Indexes are pure redundancy - they contain the data already in the base table which must be maint
166.
▲
Year-in-Review: 2023 Was a Turning Point for Microservices
(thenewstack.io)
2 points
by
branko_d
3y ago
|
0 comments
167.
▲
by
branko_d
3y ago
My rule of thumb is: if the type system doesn't prevent an invalid value, it's your responsibility to prevent it at run-time. I've been writing a lot of T-SQL lately, which doesn't let you declare a parameter or variable
168.
▲
by
branko_d
3y ago
Reducing SI adoption to “gunpoint” is just silly. It was objectively better system and that’s why it ultimately prevailed.
169.
▲
by
branko_d
3y ago
From the article: "Paradoxically, megatsunamis are not necessarily the most destructive, nor are they always synonymous with devastation."
170.
▲
Dave Cutler: What Successful Programmers Do That Others Don't
(youtube.com)
3 points
by
branko_d
3y ago
|
1 comments
171.
▲
by
branko_d
3y ago
> It's better to have application-level processes in place to ensure data consistency. Good luck doing that correctly and with good performance, especially in concurrent and multi-client system. https://stackoverflow.co
172.
▲
by
branko_d
3y ago
Most of Serbia's firearms came from the breakup of Yugoslavia. That being said, I never saw a gun or even heard of someone having it (in my city of Novi Sad, at least - things may be different elsewhere). Homicide rates for 2021 (accor
173.
▲
by
branko_d
3y ago
This is a classic example of bandwidth vs. latency. You can transfer a helluva lot of data after the first byte arrives, but you’ll be waiting for that first byte for a looong time. It’s unfortunate that the words like “speed” and “fast” ar
174.
▲
I've witnessed many bad managers – and they almost all had these 4 traits
(businessinsider.com)
35 points
by
branko_d
3y ago
|
12 comments
175.
▲
You can’t run away from technical debt
(infoworld.com)
2 points
by
branko_d
3y ago
|
1 comments
176.
▲
by
branko_d
3y ago
> I half-jokingly tend to describe it to people as having a "small brain buffer" The good news is that "smallness of bran buffer" doesn't matter very much if you are trying to implement anything non-trivial. Most
177.
▲
by
branko_d
3y ago
Blocked from Kazakhstan too.
178.
▲
The chip patterning machines that will shape computing’s next act
(technologyreview.com)
1 points
by
branko_d
3y ago
|
0 comments
179.
▲
by
branko_d
3y ago
Were the customers aware of the risks? There is a difference between somebody selling me poison and somebody selling me “lemonade” that’s actually poison.
180.
▲
Russia says US intelligence hacked thousands of iPhones
(aljazeera.com)
6 points
by
branko_d
3y ago
|
1 comments
More ›