HN user

sampullman

409 karma

Doing mostly web development with some native apps, embedded firmware, and bluetooth stuff sprinkled in.

Personal: https://github.com/sampullman

Professional: https://github.com/samatechtw

sam AT samatech.tw

.=~~~=.

Posts1
Comments229
View on HN

I've built a few little games for myself both with and without AI, and completely agree. AI can help prototype an idea faster, or clone something very specific, but it can't make your control scheme feel good, invent a unique mechanic, etc (at least not yet).

There's a bunch of stuff I include, depending on the project. Some general ones are commenting style and coding standards. In theory it should be able to do it without that by looking at the repo style, but I haven't found that to be the case (especially with overly verbose/repetitive comments).

A specific example in another project is the testing/verification procedure. It's a wasm/WebGPU and the test harness is fairly complex. There are scripts to handle it, but by default Claude will churn for a while to figure it out and sometimes just give up. It definitely saves a lot of tokens/speeds things up.

I hate soldering 2 months ago

How ofter are you switching tips? It's been a while since I did any real soldering, but I don't remember often needing to switch in the middle of a session.

I usually don't mind, but tend to split reviews into two types. Either I understand the context and can quickly do an in depth review, or I have to take some time to actually learn about the code by reviewing the surrounding systems, experimenting with it, etc. But in both cases I would at least run the code and verify correctness.

I think it becomes a chore when there are too many trivial mistakes, and you feel like your time would have been better spent writing it yourself. As models and agent frameworks improve I see this happening less and less.

You might be surprised, there are plenty of low effort attacks out there that just install a crypto miner and phone home periodically without doing much to cover it up.

That's interesting, I actively use both and usually find it to be a toss up which one performs better at a given task. I generally find Claude to be better with complex tool calls and Codex to be better at reviewing code, but otherwise don't see a significant difference.

That's a good point, I'm not 100% sure it's worth throwing away the potentially beneficial uses. There might not be a solution that's both feasible to implement and avoids banning useful things. In the end I usually come back to it being the parent's responsibility to monitor usage, limit screen time, etc., but it hasn't been working so well in practice.

JPEG Compression 4 months ago

There is lossy PNG compression that works very well for images using a limited color palette (pngquant, lossypng, etc).

It can be harder, but it's specific to the country/system. Here it Taiwan you can walk into any clinic with stock and get a (NHI covered) vaccine any time.

There are other things to complain about of course, but the rules for what's covered ate generally logical. Non-covered medication is affordable to, which helps.