- 8 Posts
- 3 Comments
emirmrkaljevic@programming.devOPto
Linux@programming.dev•I made usb-rea: point it at a USB capture of a Windows-only vendor app and it writes a Linux driver
0·10 hours agoPartly. The capture side is USB specific (it reads usbmon/USBPcap pcapng, endpoints and control setup packets), but the inference part is not: it diffs payloads between labelled actions and looks for constant headers, counters, length fields, checksums and value fields. Network protocols would mostly need a different front end that feeds it TCP/UDP payloads. That isn’t built in today. For network protocols Netzob is worth a look, it has been doing that kind of inference for years. File formats are harder because you rarely get clean “I changed exactly one thing” pairs, but the same diffing trick works if you save the file twice with one setting changed.
emirmrkaljevic@programming.devOPto
commandline@programming.dev•behave: record how a CLI behaves, then replay it against a rewrite
0·2 days agoYes, I used AI coding tools a lot while building it, both for the Go code and for working through the uutils differences. The part I care about is that everything is checkable: the specs are plain files recorded from the real GNU binaries, every reported difference is a command plus expected and actual output you can rerun yourself, and the upstream fixes went through normal review by the uutils maintainers before they were merged.








Thanks. If you go for one of the cheaper decks, check DeckBridge and python-elgato-streamdeck first, a lot of the MiraBox/Ajazz style clones are already covered there, so you might not need to reverse anything.