Better HN
topnewbestaskshowjobs
Log inSign up

kooi

171 karma · joined Jul 30, 2026 (3mo ago) · 149 submissions

Research Engineer

Current research Interests: Rust for embedded systems, real time signal processing, control barrier functions for robotic manipulators

meet.hn/city/36.9743626,-122.0294673/Santa-Cruz Socials: - https://sites.google.com/view/david-kooi/ Interests: AI/ML, Books, Cycling, Hacking, Hardware, IoT, Open Source, Philosophy, Programming, Research, Robotics, Science, Space Tech, Writing

---

Submissions

comment 11h ago · link · parent

Just what ever is most convenient.

On my Mac I do the codex app. But when I'm on my linux box I just do herdr with a buncha windows, terminals.

comment 2d ago · link · parent

> Some students in my classes turn in barely adequate work, whereas others repeatedly shine. Typically, those who turn in the best work also understand it the best. Just like it’s always been; access to amazing tools does not erase the value of talent and dedication. Perhaps it even amplifies it.

This is why I strongly disagree with the SWE gravy train is dead doomers.

comment 2d ago · link · parent

I disagree. I think it's well written and has good points. Two examples.

#1 you can outsource thinking but not understanding.

#2 Beware of understanding debt: The more you take on, the less effective your prompts will be.

comment 2d ago · link · parent

Check out Rust with RTIC or Embassy on ESP devices. The tool chain is fairly well developed and you'll get experience with Rust and microcontrollers.

comment 3d ago · link · parent

Gosh, its so annoying that everyone tacks that on there.

comment 4d ago · link · parent

As an engineer, I felt ashamed reading that.

Common man, prompt at the level of someone with at least a little of background knowledge.

comment 4d ago · link · parent

It is helpful in an abstract theoretical world.

In the real world... not so much. Lex Friedman had a bunch of great guests talking about this.

At a certain point, math disconnects from the physical world. In a ~Platonic~ one may say.

Steven Brunton (GOAT and author of of the best ML books I've seen) gave the example of the Navier Stokes result. Could this new fluid dynamics result be used to make cool new engines? No. Unfortunately the scale where the proof resides, viscosity and real-world turbulence take over.

https://open.spotify.com/episode/0ndqMvnUJkNmQrhK98R09Y?si=6...

comment 4d ago · link · parent

Totally, it's fun!

No way, you need to ask the right questions and give the right direction. I think the user/develop will always drive.

comment 4d ago · link · parent

It's dead only if you want it to be dead. It's not that complicated.

I.e: You're a carpenter who is very good at using a hammer and doing timber framing. Then, nail guns arrive and your crew starts doing stick framing.

A few options:

1. You're old enough to retire 2. You cry, don't re-skill, and be grumpy 3. You re-skill and use your know how to be even more effective

Remember the E in SWE: Engineering. This involves way more than coding, button pressing. You're interfacing with clients, you're designing interfaces, you're debugging, designing systems, coming up with new projects, guiding LLMs.

If you're not doing E, when you're not a SWE. Maybe just a software developer.

comment 5d ago · link · parent

Its a very cool application of linear algebra! You can recover lost packets by sending "repair" packets with redundant information.

Its acronym is RLNC and is part of a larger family of fountain codes and in general erasure correction codes.

The sliding refers to the redundant repair packets are "encoded" over a sliding window.

Essentially for encoding repair packets youre creating a matrix, then taking a random linear combination of the last N packets. Then you send a repair packets with the seed of the random coefficients. You send as many repair packets as airtime allows!

The receiving you need to compute a matrix inversion through gauss Jordan elimination. That has to happens super fast, so luckily there are hardware accelerated operations over cyclical integers (Galios Fields).

A huge undertaking without AI unless youre a wizard at mathematical programming. Something one would only do if you're tail end of the IQ spectrum or you're a 40 year vet.

Theres a lot of blah blah about the gravy train stopping. Idk. I feel like this new train is fire.

What im excited about next is trying some hardware design with this XLS Google HDL which generates verilog from a rust like language. Freaking get the LLM in the loop with the debugger and logic analyzer and you're off to the races.

comment 5d ago · link · parent

Delivering software that "just works".

Before AI the focus was on making software that "just works" for other developers. Designing a system and it's interfaces where people from other teams could independently hook into. One example is this autonomous bulldozer where the control system was a bunch of spagetti. How do you manage multiple events, commands, sensor data from various locations? With some kind of ROS-like RTOS. But that takes a learning curve to learn all the ROS bloat. (I met one of the original middleware developers when I interviewed for a robotic tractor company and he's like "lol, we never use that".) Anyways, I applied some design patterns to the ROS spageti and ended up with a synchronized, multithreaded interface that the ML image people could understand, the controls people could use.

Today, that would be done in 5 minutes.

So, now I'm happily making real stuff "just work". Before it would have taken months to build up a sliding random linear network code error correction system. Especially because we were using an antiquated TI dsp chip. Now, in two weeks plus some debug time, Boom: Deployed, and our radio audio quality is nicely improved.

Need to do parameter optimization for a product? Code up some CLI hooks, test harness, instruct the LLM to have at it. Autonomous over night work and Boom: multi-variable plots showing the tradeoffs as parameters are tweaked.

It's different for sure, but still fun.

comment 1w ago · link · parent

Nice post. Good motivation to look more at formal verification. There was that Aristotle post today which seems like a prompt driven, plug and play verifier using lean.

Makes me think that LLM assisted formal requirements generation for a roll your own "Aristotle" is possible.

Just thinking about our own projects in the signal processing domain. A nice path could be: human language -> temporal logic specs for black and white box run-time testing.

There are code generators which will turn formal logic into a run time monitor. In the past, I've never used them past toy examples because its so verbose.

> The point of this post is to demonstrate that it’s possible in the era of AI coding to still make decisions based on evidence rather than vibes.

That's the difference between an engineer and a script kiddie.

Domain expertise will always be valuable.

comment 1w ago · link · parent

Hey, asking in a quasi-formal inquiry:

We're working on developing an ASIC from our working FPGA verilog. How would your formal methods fit into our process? Do we need to specify the requirements we want? Then Aristotle provides tests which match the requirements?

I have background in temporal logic for formal requirements, but I have not looked at how this connects with modern tools.

Thanks!

comment 1w ago · link · parent

I think this is why it has a lot of potential. I'm also controls background, so I'm going to just throw stuff at the wall.

I'm thinking it's both M and P. M for the reasons you've mentioned. Then there is P where a forward horizon prediction of both plant and the world.

I think JEPA also touches on the perception tasks: What to do with sensor data? Classical control objectives are quite simple, drive the state to stable, follow a trajectory, stay safe. It's very deterministic: Sensor data is used to determine state. State is used to update dynamics, dynamics is used for the forward horizon.

So. MPC works for things like self-driving because the car model is fairly knowable and world model is predictable (rules of the road, knowable dynamics of other cars).

JEPA seems like a fusion of control, sensing, world model into an embedding space where the learning that occurs is a model free approach to how these are all related to each other.

comment 1w ago · link · parent

I'm calling it: JEPA is what unlocks general robotics. In a autonomy stack, LLMs are only useful at the planning level and above.

comment 1w ago · link · parent

Same experience.

I was excited when I got a good metric system implemented because that meant concrete signals for Codex to use for optimization.

It attempted ~5 things. All of them did not improve performance past the baseline.

How much more for the unclear goals, general ML research, etc. My takeaway from all this: You need domain expertise to drive the models.

comment 1w ago · link · parent

Thats a great distinction.

The hope was that weak recursion could produce strong recursion by automating the iteration of ML pipelines.

Theres also the idea of LLMs producing synthetic data to contribute to new models. Perhaps that is not as effective as hoped.

comment 1w ago · link · parent

Mhh no.

LLMs are seen by politicians as a national security issue.

Better models = better cyber offense/defense, etc.

comment 1w ago · link · parent

That's great. Let's not forget the vast amount of "classical" methods at our disposal.

comment 1w ago · link · parent

Cool, I like state space models because they "feel" like they're doing proper homage to the power of control and modeling for linear dynamical systems. (Mamba is a bunch of time varying linear systems chained by non-linear activations).

I'm reading one of the OG papers now and here are some interesting snip-bits. I wonder how much of inference in data centers is done with traditional transformers vs SSM, because the efficiency gains are quite dramatic.

> We propose a new class of selective state space models, that improves on prior work on several axes to achieve the modeling power of Transformers while scaling linearly in sequence length.

> Our Mamba language model has 5x generation throughput compared to Transformers of similar size, and Mamba-3B’s quality matches that of Transformers twice its size.

Then, interestingly for training:

> Commonly, the model[SSM] uses the convolutional mode (3) for efficient parallelizable training (where the whole input sequence is seen ahead of time), and switched into recurrent mode (2) for efficient autoregressive inference (where the inputs are seen one timestep at a time).

https://arxiv.org/html/2312.00752v2

comment 1w ago · link · parent

Yes, for development we don't need LLM factories. At a code level there is always need for design-pattern factories, but that's different IMO. What people mean by factories is custom agentic harnesses.

Now, one space for custom agentic harnesses is anything customer facing: There is a communication flow, standard operating procedures, etc. You make the harness once, and can use it to "produce" the same product/service experience for many customers. But I'd not call that a factory.

comment 2w ago · link · parent

I dunno, I care if it works well and I get joy out of it.

For example, Omarchy is completely vibed. But it's sparked my original love of computers. Great experience, really fun.

I've contributed bug reports to be sucked up by the AI maintainers (and the human ones of course). In that sense I care way more than I do about Ubuntu. I want Omarchy to succeed despite it being AI driven.

comment 2w ago · link · parent

We had DRY for a long time. Now it's sloppy wet

comment 2w ago · link · parent

Very cool!

Looks like it's doing a kind of vision based model-predictive-control.

Curious about how well it generalizes outside of tasks which it was explicitly trained on.

comment 2w ago · link · parent

I interviewed at company and their project was applying the music algorithm to find covert radio transmitters.

They were direct sampling the RF signals and running them through a bunch of H100's to get the algorithm to operate near real time. (They were quite proud of their 20 or so H100's)

Maybe this post is about that? It really lacks any technical substance. A bunch of corpo-talk is your ask me.

They probably throw all the signals, phase information into a ML model. But likely think the model inputs are very proprietary information so they just say ~ML will solve it~.

https://en.wikipedia.org/wiki/MUSIC_(algorithm)

comment 3w ago · link · parent

Local model utopia!

comment 3w ago · link · parent

Speaking annecdotally because im an engineer, not in sales:

Our company has secured projects and executed them to a standard which we would not have otherwise were it not for AI or hiring more people. Now, these are at least 3 year projects, so we are only seeing ~3 being AI accelerated.

For us, yes, it's a multiplier, directly translated to more $$.

comment 3w ago · link · parent

Not sure what all these words mean. These are mathematical results, I'm not sure why people are acting like they are anything otherwise.

comment 3w ago · link · parent

Mass media doesent do ML reseaech.

comment 3w ago · link · parent

The results are in the math. Does not really matter the terms used.

You wont get anything materially useful, apart from an intuition, from using different terminology.

12345