Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jim33442
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
91.
▲
by
jim33442
6mo ago
There are at least two of us
92.
▲
by
jim33442
6mo ago
PK isn't the same as public ID, even though you could make them the same. Normally you have a uuid4 or whatever as the public one to look up, but all the internal joins etc use the serial PKs.
93.
▲
by
jim33442
6mo ago
Yeah the Java way makes sense if it's the only thing running on that machine, or at least you know ahead of time how much RAM to budget to each thing. Which was often the case on servers. I'm not surprised if that performs better
94.
▲
by
jim33442
6mo ago
I agree. Ironically have inherited a lot of projects where they picked a "type-safe" language but didn't properly type the system boundaries, including RPC and database. Wrong priorities there.
95.
▲
by
jim33442
6mo ago
I could see myself picking Java over Go just cause of the error handling
96.
▲
by
jim33442
6mo ago
HN posts are mostly not about politics, at least not on the top page. Sometimes a non-politics post ends up getting politics comments though.
97.
▲
by
jim33442
6mo ago
When I tried Reddit a while back, that problem showed up even with no moderation action being taken. I guess cause an obsessed person will use the site like 1000x more than a regular person, they end up being the "majority." The v
98.
▲
by
jim33442
6mo ago
Thanks, that's a really good explanation. And makes sense, especially since Java objects are all constantly getting allocated/freed on the (virtual) heap rather than stack.
99.
▲
by
jim33442
6mo ago
I still don't get why Java is the only language that needs the heap to be carefully tuned. Like it hogs some memory at start, crashes if you go above a certain amount, and doesn't return memory to the OS when GC'd. Even Pytho
100.
▲
by
jim33442
6mo ago
HN doesn't need it. I'll read this site, not gonna bother with Twitter or Reddit though.
101.
▲
by
jim33442
6mo ago
AI
102.
▲
by
jim33442
6mo ago
That and it also sounds like not really a key insight
103.
▲
by
jim33442
6mo ago
I don't see how this strategy can work without the EU basically having a counterpart to Microsoft. You can't beat Windows just uniting around the Linux kernel, it needs to be a whole OS plus an entire ecosystem including cloud.
104.
▲
by
jim33442
7mo ago
USPS does deliver packages. Before Amazon had their own trucks, they were mostly just USPS. Given the dominance of online shopping, how have they been consistently losing money? Were they subsidizing Amazon?
105.
▲
by
jim33442
7mo ago
I've worked in big companies long enough to know that "deprecated" or "legacy" mean "the thing we actually rely on"
106.
▲
by
jim33442
7mo ago
I did read the rest, but I'm stuck on the first part where their SQL table has almost a thousand cols. Why so many?
107.
▲
by
jim33442
7mo ago
The Java "compiled" code isn't a native binary like in Go, it really does run in a VM. I honestly don't know if that's why they handle memory differently though.
108.
▲
by
jim33442
7mo ago
Any company that's 10 years old will have code that's 10 years old in every language they use. And every language has some flaw that was "fixed recently" but that's not relevant in a mature codebase. Like "Pyth
109.
▲
by
jim33442
7mo ago
Records and pattern-matching didn't exist back then and are only used in new codebases. That isn't enough to fix it anyway. The Go error handling is bad enough that it makes the lang not a top choice for me. Seems like entire visi
110.
▲
by
jim33442
7mo ago
Most of the young people like me learned Java as a first language in AP Computer Science, then probably again in college. We were tested thoroughly on all the OOP details and required to use that in projects. The most popular video game is&
111.
▲
by
jim33442
7mo ago
Java takes flags for min/initial/max memory that, as a strict law of nature, are always wrong the first time you try. And it holds onto unused memory unless you pass another flag. Idk exactly why there's no reasonable default
112.
▲
by
jim33442
7mo ago
10+ years of lambdas, but you can still tell from new code that the language used to not have lambdas. Plenty of code is older than that too. The annotations are static, yeah. That's one advantage. I would still rather not do that. A l
113.
▲
by
jim33442
7mo ago
That metaprogramming is how a lot of places end up doing Java, because Java is a bad language that needs crutches like that. Or at least needed until whatever newer version fixed limitations of the old one, but all that old code is still
114.
▲
by
jim33442
7mo ago
Cause it's still quicker to review only then to code + review. And review time isn't necessarily costlier than code time.
115.
▲
by
jim33442
7mo ago
Also Firefox and Safari by default block 3p cookies everywhere, which is a significant step above Chrome
116.
▲
by
jim33442
7mo ago
The allow/reject button seems useless anyway. It's my browser allowing this, not the website. If I were worried about cookies, I'd disable them or clear at end of session.
117.
▲
by
jim33442
7mo ago
Which channel and which MP3 player? Cause if you're talking about Limewire...
118.
▲
by
jim33442
7mo ago
Please drink verification can to verify that you have verified your cookie preferences
119.
▲
by
jim33442
7mo ago
Well "think of the children" was the PR reason for the US clamping down on TikTok, while the lawmakers and lobbyists behind it said pretty openly that it's about silencing criticism of Israel. So I would think it's the s
120.
▲
by
jim33442
7mo ago
Seems like anywhere in the EU, something draconian only needs to be popular for like 5 years for it to get implemented, for better or for worse. They don't have robust constitutions like the US.
More ›