hamblingreen on Nostr: i'm adding my first new feature to #fbp since inheriting the project, a system clock ...
i'm adding my first new feature to #fbp since inheriting the project, a system clock that sits on the keyboard statusline, and i'm using the C time library because there isn't a good one in the zig standard library. for whatever reason, it works just fine with optimizations off (-Doptimize=Debug) but spits out garbage time values when optimizations are on (-Doptimize=ReleaseFast). this is gonna be a pain to figure out
Published at
2024-06-12 23:59:47Event JSON
{
"id": "cb545e7494123b6768213fe5ca74869dabbbbf94b9c80a8214f99c415186515c",
"pubkey": "f7bd33f2549c033a52bd9311af2d6bcf760ffff6e8265320870f58fe47a16fad",
"created_at": 1718236787,
"kind": 1,
"tags": [
[
"t",
"fbp"
],
[
"proxy",
"https://fosstodon.org/users/hamblingreen/statuses/112606366130659601",
"activitypub"
]
],
"content": "i'm adding my first new feature to #fbp since inheriting the project, a system clock that sits on the keyboard statusline, and i'm using the C time library because there isn't a good one in the zig standard library. for whatever reason, it works just fine with optimizations off (-Doptimize=Debug) but spits out garbage time values when optimizations are on (-Doptimize=ReleaseFast). this is gonna be a pain to figure out",
"sig": "fb4369e28096abf591d017cb676f48f58ef3391b1dfb8d050d5e9b45bc5721278455d593a14daab87c230346cea4ac3c0b67100c9a2f0a070a64752691712edf"
}