At this point in time AI can write way better code than me. And debug way better than me.
Given the exact same context, I don’t think I’d be able to do anything better.
I guess I’m not sure what I’m actually contributing at this point.
Maybe the alpha comes from providing the right context?
In order to feel better about myself, I guess I’d like to list a couple things I think I’m good at:
- But I still don't think it's solved. Otherwise you wouldn't need to put these guardrails in yourself. The agent would make them automatically - "Are we testing the DUT or the harness" - A concept I learned in my first year of CS that I still think about is: "don't test the test harness" - The AI stuff still often struggles with this. But maybe it's just a lack of context, or me getting excited and making an overly complex harness - PCB rework - Since we don't have general purpose robotics yet, this is still an important skill to have. - A lot of interesting tests involve rework. It's a great way to gain visibility to internal signals. - You can't always test correctness through loopback. Consider this example:
- Your UART out code has a bug where it doubles the output of every input
- So `UART_tx(10)` will actually write 20 on the bus
- Your UART in code has a bug where it halves the output of every input
- So `UART_rx(&buf)` will write 10 where it received 20
- Under a loopback test these would cancel out and you wouldn't notice the problem
- But if you were asserting on the actual UART bus with probes, you would catch both instantly - I've gotten a lot of practice with rework and can consistently solder probes onto 0402 parts - Kinda unrelated but my general technique is:
- Put flux on the pad
- Get solder on the tip of your iron
- Touch the probe wire to the pad
- Touch the iron to both the wire and the pad
- Tape the probe wire to the board with kapton tape - This is a "cold solder joint" but it doesn't actually matter. It'll be very strong with the tape