Adam Bell :catPOWER: on Nostr: Spent my weekend losing my mind debugging why a usb driver + client app I wrote kept ...
Spent my weekend losing my mind debugging why a usb driver + client app I wrote kept resetting sporadically.
Checked everything from libusb to sample rates to swift concurrency / dispatch source issues. Redid my packet parsing / sending logic twice, only to ultimately discover the cable was faulty -_-
Just jiggle the cable and it would reset
Published at
2024-08-06 00:26:53Event JSON
{
"id": "167ba216d67c17eda7e508ad16c21ed4c75a11ec5b5f129927e46e6e6d1c3993",
"pubkey": "aed0b8708bc48239d5e53b5668999ad92e7aa1f31996e58cbceaf2c11e6970bd",
"created_at": 1722904013,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/b3ll/statuses/112912237445884608",
"activitypub"
]
],
"content": "Spent my weekend losing my mind debugging why a usb driver + client app I wrote kept resetting sporadically. \n\nChecked everything from libusb to sample rates to swift concurrency / dispatch source issues. Redid my packet parsing / sending logic twice, only to ultimately discover the cable was faulty -_-\n\nJust jiggle the cable and it would reset",
"sig": "3770a0dfa8db0d33e03f994d5ec83c6261fd25dc11ebdb060fb402c130fae23168d5506a61084302c753be7e9ae20c1958235a6d491104c4574fc3f28a9871e2"
}