HNHacker News
TopNewBestAskShowJobs

matt_heimer

1,224 karma · joined December 15, 2012

My day-to-day job deals with Java (which I actually like) and AI development. I run an Operating System Development website (osdev.org) as a side project.
submissionscomments
matt_heimer··on Codex pricing to align with API token usage, instead of per-message
That's only good for the web based UI. If you want Gemini API access which is what this article is about then you must go the AIStudio route and pricing is API usage based. It does have a free usage tier and new signups can get $300 in free credits for the paid tier so it's I think it's still a good deal, just not as good as using the subscriptions would be.
matt_heimer··on Codex is switching to API pricing based usage for all users
If you use Google's tooling but not if you need API access. API access is not in the subscriptions and uses token based pricing. For development I find that the Gemini IDE plugins that have good free usage and are included in the subscriptions aren't great. Gemini plug-in under IntelliJ is often broken, etc. The best experience is with other tools like Cline where you've had to use a developer based account which is API usage based already.

But Gemini's API based usage also has a free tier and if that doesn't work for you (they train on your data) and you've never signed up before you get several hundred dollars in free credits that expire after 90 days. 3 months of free access is a pretty good deal.

matt_heimer··on Update on the eBay Scam
I shipped with signature verification to the buyers address. The buyer claimed they didn't receive the item and eBay still sided with them and refunded their money. I will never sell anything on eBay again.
matt_heimer··on My MacBook keyboard is broken and it's insanely expensive to fix
isn't an issue ONLY with macbook keyboards. It is absolutely an issue that shouldn't exist.
matt_heimer··on Our commitment to Windows quality
Funny, I just bought Start11 from Stardock for side taskbar placement. It was the oddest choice to remove that feature. On an ultrawide monitor it just makes so much sense.
matt_heimer··on Speed at the cost of quality: Study of use of Cursor AI in open source projects (2025)
Yes, it's not surprising that warnings and complexity increased at a higher rate when paired with increased velocity. Increased velocity == increased lines of code.

Does the study normalize velocity between the groups by adjusting the timeframes so that we could tell if complexity and warnings increased at a greater rate per line of code added in the AI group?

I suspect it would, since I've had to simplify AI generated code on several occasions but right now the study just seems to say that the larger a code base grows the more complex it gets which is obvious.

matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
In some places I'm using https://github.com/aeron-io/agrona

Strangely this is one of the areas where I want to use project panama so I might re-implement some of the ring buffers constructs.

You allocate off heap memory and dump data into it. With modern Java classes like Arena, MemoryLayout, and VarHandle it's honestly a lot like C structs.

I answered "why" in another post in this thread.

matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
Software HFT? I see people call Python code HFT sometimes so I understand what you mean. It's more in-line with low latency trading than today's true HFT.

I don't work for a firm so don't get to play with FPGAs. I'm also not co-located in an exchange and using microwave towers for networking. I might never even have access to kernel networking bypass hardware (still hopeful about this one). Hardware optimization in my case will likely top out at CPU isolation for the hot path thread and a hosting provider in close proximity to the exchanges.

The real goal is a combination of eliminating as much slippage as possible, making some lower timeframe strategies possible and also having best class back testing performance for parameter grid searching and strategy discovery. I expect to sit between industry leading firms and typical retail systematic traders.

matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
Probably the same thing that makes most developers choice a language for a project, it's the language they know best.

It wasn't a matter of choosing Java for HFT, it was a matter of selecting a project that was a good fit for Java and my personal knowledge. I was a Java instructor for Sun for over a decade, I authored a chunk of their Java curriculum. I wrote many of the concurrency questions in the certification exams. It's in my wheelhouse :)

My C and assembly is rusty at this point so I believe I can hit my performance goals with Java sooner than if I developed in more bare metal languages.

matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
You program differently for this niche in any language. The hot path (number crunching) thread doesn't share objects with gateway (IO) threads. Passing data between them is off heap, you avoid object creation after warm up. There is no synchronization, even volatile is something you avoid.
matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
You can achieve optimized C/C++ speeds, you just can't program the same way you always have. Step 1, switch your data layout from Array of Structures to Structure of Arrays. Step 2, after initial startup switch to (near) zero object creation. It's a very different way to program Java.

You have to optimize your memory usage patterns to fit in CPU cache as much as possible which is something typical Java develops don't consider. I have a background in assembly and C.

I'd say it's slightly harder since there is a little bit of abstraction but most of the time the JIT will produce code as good as C compilers. It's also an niche that often considers any application running on a general purpose CPU to be slow. If you want industry leading speed you start building custom FPGAs.

matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
I've been using several. LM Studio and any of the open weight models that can fit my GPU's RAM (24GB) are not great in this area. The Claude models are slightly better but not worth they extra cost most of the time since I typically have to spend almost the same amount of time reworking and re-prompting, plus it's very easy to exhaust credits/tokens. I mostly bounce back and forth between the codex and Gemini models right now and this includes using pro models with high reasoning.
matt_heimer··on The 100 hour gap between a vibecoded prototype and a working product
I'm building a Java HFT engine and the amount of things AI gets wrong is eye opening. If I didn't benchmark everything I'd end up with much less optimized solution.

Examples: AI really wants to use Project Panama (FFM) and while that can be significantly faster than traditional OO approaches it is almost never the best. And I'm not taking about using deprecated Unsafe calls, I'm talking about using primative arrays being better for Vector/SIMD operations on large sets of data. NIO being better than FFM + mmap for file reading.

You can use AI to build something that is sometimes better than what someone without domain specific knowledge would develop but the gap between that and the industry expected solution is much more than 100 hours.

matt_heimer··on Apple's MacBook Pro 14 cannot handle the M5 Max
Except in another linked page https://www.notebookcheck.net/M5-Max-with-inconsistent-perfo... they also mention a thermal issue.

Either way, this article is almost entirely about a symptom without root cause analysis.

matt_heimer··on Apple's MacBook Pro 14 cannot handle the M5 Max
If I remember correctly a previous MacBook air could have improved thermal dissipation by adding some thermal tape and turning the case into a heatsink.
matt_heimer··on Apple's MacBook Pro 14 cannot handle the M5 Max
Is the article trying to discuss a thermal issue? It spends the entire time discussing reduced watt consumption over time which would sound like a good thing to most people and then at the very end it has one sentence about needing improved cooling.

I think it's an entire article about thermal throttling that never once mentions it.

matt_heimer··on Ask HN: How to Be Alone?
It's not just a hobby you need, it's purpose. For some that is a hobby. If you go the hobby route, try to look for one that has in person meetups. Others going through this use self-improvement as their purpose (gym, suit up, etc). Church works for some. Consider some continuing education courses. Would charity work suit you? There are places like habitat for humanity that you can volunteer at. Maker spaces can be fun. You might also want to try out working from a co-working space.
matt_heimer··on Boy I was wrong about the Fediverse
For forums you can look at them for a minute or less and figure it out. It's same with HN and sub-reddits. They are information dense and don't require signing up or customization to figure out if you can curate them into something you might like.

Compare that to mastodon, step 1 is pick a server https://joinmastodon.org/servers Very few are actually topic focused. Even the ones with themes have a lot of deviation. Even picking the popular safe choice - https://mastodon.social/ , I can't tell if I would ever like it. I don't like what I normally see but considering I can see 2 posts at a time and a significate portion are animals or other topics I wouldn't visit a forum about, it doesn't feel like I would.

And the animal thing is common across most of the servers. I understand it, I have dogs. But it's a side effect of the medium not having a coherent focus. It feels like I'd have to spend so much time to turn it into something that I'd like that I'd be better off staying with forums.

Mastodon seem great if you want to follow people and be social which is kind of the point of social media. I want to follow areas of interest, not people.

matt_heimer··on Boy I was wrong about the Fediverse
I still host one of those 20+ year old forums. The Fediverse is different. With forums (and HN/Reddit) you immediately had good sense of them being for you or not. With the Fediverse to have to commit to servers and even then you don't know if they are right for you unless you try and spend time customizing your feeds/follows. It's a lot of work and you don't know if it will pay off. I tried again today and so much of it has no focus at all. It reminds me of this exchange from the Good Place TV show:

Chidi Anagonye: So, making decisions isn't necessarily my strong suit.

Michael: I know that, buddy. You-you once had a panic attack at a make-your-own sundae bar.

Chidi Anagonye: There were too many toppings, and very early in the process, you had to commit to a chocolate palette or a fruit palette. And if you couldn't decide, you wound up with kiwi-Junior Mint-raisin, and it just ruins everyone's night.

matt_heimer··on AI is making junior devs useless
The real question will be; Do we need to pay the juniors to write code to become seniors?

If coding is an art then all the juniors will end up in the same places as other struggling artists and only the breakout artists will land paying coding gigs.

I'm sitting here on a weekend coding a passion project for no pay so I have to wonder.

matt_heimer··on Meta Deployed AI and It Is Killing Our Agency
It was more that for past reasons they already have all my information so I'd rather avoid giving to out to other companies.

And their spam filtering is hard to beat.

Ended up narrowing my alternatives to fastmail and Microsoft. And since one of those already also had my info I went with the existing relationship.

matt_heimer··on Meta Deployed AI and It Is Killing Our Agency
I think most big tech companies are like this and it's just going to get worse as AI adoption increases internally.

2 days ago I tried to create new gmail account and Google insisted that my phone number was used too many times. Fine, I'll pay for a new workspace account... Submit my billing information, that same that I use on other accounts but now there is an extra validation step that requires my ID and copies of my bank statement. Wasn't happy about that but tried it anyway. They expected my entire checking account number to appear on my bank statement. My bank account number is for my entire account and not just the checking portion but even if they were the same my bank redacts parts of the number so that if anyone gets my statement they can't just start drafting money.

The additional information section where I explain things is obviously ignored because the auto generated responses are sent pretty fast.

I can't decide what the saddest part is, the fact that their "give us a moment" emails that are send immediately after submitting still say they need extra time to process the request due to limited staffing because of covid or the fact that Gemini was brutal in criticizing them when I asked if it was normal to expect complete account numbers on the statement.

Similar to OP, the embedded help chat got in a loop of telling me I needed to speak to a rep to fix the issue and when attempting to connect me it would deny the request because I wasn't a paying customer yet.

matt_heimer··on Minecraft Java is switching from OpenGL to Vulkan
Hopefully it would use the Foreign Function and Memory API instead of JNI.
matt_heimer··on I'm not worried about AI job loss
It's not binary. Jobs will be lost because management will expect the fewer developers to accomplish more by leveraging AI.
matt_heimer··on Ask HN: Why are electronics still so unrecyclable?
Ease of recycling is not prioritized during design or manufacturing because there is no monetary incentive (for the manufacturer) to do so it most cases. It would eat into profits. Simple as that.

Unless a component is expensive to manufactory and recycling/reuse could save the manufacturer money it won't happen. The only real solution are laws requiring it.

matt_heimer··on Ask HN: Is it still worth pursuing a software startup?
I'd argue the question was wrong, it's not that big companies can copy you easier now. They could have always invaded your space and destroyed your business. As other pointed out it was always picking up the pennies that they didn't want until those pennies became dollars.

The concern now is that other small team or solo developers can rebuild what you have very quickly. This happened in the mobile space with all the decompiled and repacked (with min changes) apps that showed up in the stores.

The moat for SaaS startups was that the code is hidden. Now that matters less because people use AI to try and reverse engineer your backend from the API or even UI screenshots.

You have to pick up the pace to keep ahead of them and make sure you don't cause problems for customers while doing it.

matt_heimer··on A $20 drug in Europe requires a prescription and $800 in the U.S.
Prices have jumped, see:

    * https://news.ycombinator.com/item?id=44604365
    * https://news.ycombinator.com/item?id=44989706
matt_heimer··on India orders smartphone makers to preload state-owned cyber safety app
That would discourage higher education, you are basically punishing people for it.

Try giving free education to all government employees instead.

matt_heimer··on James Cameron Says Netflix Movies Shouldn't Be Eligible for Oscars
Kids and preteens don't care about the experience being better in one environment vs another. That age group has less patience than older age groups, all they want to do is to see the movie NOW. They don't want to go to the theater, they want instant gratification. If a movie also released on streaming they'd be watching it before you could get them in the car for a trip to the theater.
matt_heimer··on A monopoly ISP refuses to fix upstream infrastructure
I found that logging into the cable modem itself and getting the signal levels and modem event logs helps. The poster seems to just be logging IP reachability. You have to keep repeating that modem logs show the problem is outside of my house until they send a technician. Then you hope the tech knows what he is doing enough to verify the issue and call the right person.

It took about 2 months and 5 visits to get my outages fixed. I also had to get some of my neighbors to report the outages.

← PreviousPage 2 of 16Next →