Post AwASTdPcTbSP9un8qm by navi@social.vlhl.dev
(DIR) More posts by navi@social.vlhl.dev
(DIR) Post #AwASTdPcTbSP9un8qm by navi@social.vlhl.dev
2025-07-15T19:42:36.525155Z
1 likes, 0 repeats
$ adb pair ...error: protocol fault (couldn't read status message): Success---okay ig
(DIR) Post #AwAV5GgnbkVBb6trOK by lanodan@queer.hacktivis.me
2025-07-15T20:19:56.732867Z
0 likes, 0 repeats
@ska @navi Specially when there's lousy programs not saying it's an error so you get "Success" in the logs with maybe a little bit of context and you're left wondering if something went wrong or not.
(DIR) Post #AwAWFwmy2Op316RPay by piggo@piggo.space
2025-07-15T20:25:13.718782Z
1 likes, 0 repeats
@lanodan @ska @navi I like how shitstemd says Succeeded when the program crashes, it's so good
(DIR) Post #AwAXtAz1ITYKHuLei0 by navi@social.vlhl.dev
2025-07-15T20:48:03.015262Z
0 likes, 0 repeats
@ska this is more "it did not report any errors" than "it reported success" for the errno imoachieves the same, but it's different semantics, and less intuitive imo
(DIR) Post #AwAXtC7v2sGVpnWHDc by lanodan@queer.hacktivis.me
2025-07-15T20:51:20.885931Z
0 likes, 0 repeats
@navi @ska Yeah C error handling moment where typically you need another bit of information rather than errno to know if there's been an error.
(DIR) Post #AwAhRptWaxOQbbNc80 by navi@social.vlhl.dev
2025-07-15T22:37:04.277641Z
1 likes, 0 repeats
@lanodan @ska i also don't have my own personal catchall libi also prefer to make smaller libs that can be packaged individually, and provide a set of utilities for a given topic, say a lib here for linear algebra math, or so on -- not a fan of "the one package with N libs under my name", it also helps that meson/muon lets me easily include what i need in a project as a subproject/wrap-fileso far i've used strtol and kindof just... checked if endptr matched what i expected the string to be