HNHacker News
TopNewBestAskShowJobs

jim33442

53 karma · joined February 28, 2026

submissionscomments
jim33442··on Hacker compromises A16Z-backed phone farm, calling them the 'antichrist'
There are at least two of us
jim33442··on B-trees and database indexes (2024)
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.
jim33442··on JVM Options Explorer
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 than Go in a way, but seems like Go does ok. If they really wanted a custom heap on top of preallocated memory in a Go program, couldn't they just do that?

The weirder part is that Java also used to be a bigger thing client-side, back when websites commonly included Java applets.

jim33442··on High-Level Rust: Getting 80% of the Benefits with 20% of the Pain
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.
jim33442··on High-Level Rust: Getting 80% of the Benefits with 20% of the Pain
I could see myself picking Java over Go just cause of the error handling
jim33442··on Bouncer: Block "crypto", "rage politics", and more from your X feed using AI
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.
jim33442··on Bouncer: Block "crypto", "rage politics", and more from your X feed using AI
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 voting system also encourages bad behavior.
jim33442··on JVM Options Explorer
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.
jim33442··on JVM Options Explorer
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 Python and JS don't have those problems.
jim33442··on Bouncer: Block "crypto", "rage politics", and more from your X feed using AI
HN doesn't need it. I'll read this site, not gonna bother with Twitter or Reddit though.
jim33442··on Bouncer: Block "crypto", "rage politics", and more from your X feed using AI
AI
jim33442··on The Problem That Built an Industry
That and it also sounds like not really a key insight
jim33442··on France's government is ditching Windows for Linux, says US tech a strategic risk
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.
jim33442··on US Postal Service expects to run out of cash in a year
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?
jim33442··on SSH has no Host header
I've worked in big companies long enough to know that "deprecated" or "legacy" mean "the thing we actually rely on"
jim33442··on Nobody ever got fired for using a struct
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?
jim33442··on A case for Go as the best language for AI agents
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.
jim33442··on A case for Go as the best language for AI agents
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 "Python packaging is fixed now with uv" no it's not. And especially anything to do with threading vs cooperative multitasking will stick around.

Mostly old code will keep working, but there are exceptions like Python 2->3 breakage that deserves all the criticism it got.

jim33442··on A case for Go as the best language for AI agents
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 vision of Go was being the opposite of C++ in every way, and that resulted in something halfway decent, but it unfortunately doesn't use exceptions. You get stuff done in fewer loc than in Java at least, and it always had solid m:n greenthreading, and the GC just works without having to tune it.

jim33442··on A case for Go as the best language for AI agents
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/was also in Java, and people love to mod it.

But still nobody wants to use it given the choice, because it sucks. 75% of the code you write is boilerplate mainly thanks to OOP, the com.foo.bar stuff is an eyesore, and it somehow uses even more RAM than Python. That's without getting into the enterprise cruft land where each method has 3 annotations on it, where the annotations themselves are maintained by an entire outsourced team.

jim33442··on A case for Go as the best language for AI agents
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 for that, but probably cause it's in a VM. No other language has this problem.
jim33442··on A case for Go as the best language for AI agents
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 lot of people were happy not to need that anymore in like NodeJS.

jim33442··on A case for Go as the best language for AI agents
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 around.

Biggest thing was lack of cooperative multitasking until virtual threads (Project Loom). And much older, lack of lambdas before Java 8.

jim33442··on A case for Go as the best language for AI agents
Cause it's still quicker to review only then to code + review. And review time isn't necessarily costlier than code time.
jim33442··on I'm reluctant to verify my identity or age for any online services
Also Firefox and Safari by default block 3p cookies everywhere, which is a significant step above Chrome
jim33442··on I'm reluctant to verify my identity or age for any online services
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.
jim33442··on I'm reluctant to verify my identity or age for any online services
Which channel and which MP3 player? Cause if you're talking about Limewire...
jim33442··on I'm reluctant to verify my identity or age for any online services
Please drink verification can to verify that you have verified your cookie preferences
jim33442··on I'm reluctant to verify my identity or age for any online services
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 same thing in the EU.
jim33442··on I'm reluctant to verify my identity or age for any online services
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.
← PreviousPage 4 of 5Next →