Event JSON
{
"id": "d0535c13d8a60267b218dceb4ae56ec432d85827dffdbd1371bc991c2ac11434",
"pubkey": "cf0a81a36c1dcb897aebdd55e81c529077eed019458bd128f2dde221520bcd87",
"created_at": 1685081952,
"kind": 1,
"tags": [
[
"p",
"bdd2553e411cc7394a92f7fde27bdf06d614ea4edd7eb34ea59b0401979982b0",
"wss://relay.mostr.pub"
],
[
"p",
"4c77444725378bd9a511dde9500fd69a6314e77b99d028f6fdd9e790c8f9d880",
"wss://relay.mostr.pub"
],
[
"p",
"cd4b815b3d62e0f51d4047669ded9152eb928b7226bfc29696bde2527bed3a0c",
"wss://relay.mostr.pub"
],
[
"p",
"eb25df8b749d7bf62468c86c089987e2c6f81c26d2abe34c11e57325d3bbf93c",
"wss://relay.mostr.pub"
],
[
"t",
"Pybricks"
],
[
"t",
"micropython"
],
[
"mostr",
"https://fosstodon.org/users/laurensvalk/statuses/110433530854882283"
]
],
"content": "Maybe it's fun to share some day to day developments... Today I'm working on making our #Pybricks sensor API async-compatible at minimal cost.\n\nEvery byte counts, so I've arrived at something that costs just 4 extra bytes for each async method! Still learning new #MicroPython development tricks every day.\n\nFor those in the know... I'm basically modifying the commonly used MP_DEFINE_CONST_FUN... macros/types to \"decorate\" a C function to behave asynchronously.\n\nnostr:npub1hhf920jprnrnjj5j7l77y77lqmtpf6jwm4ltxn49nvzqr9ues2cqv9qm3g nostr:npub1f3m5g3e9x79anfg3mh54qr7knf33femmn8gz3aham8nepj8emzqq9ew4gd\n\nhttps://cdn.fosstodon.org/media_attachments/files/110/433/511/328/498/207/original/13a40c9396f2a21a.png",
"sig": "83279d10b8802c63d5e680ad42bb5a1449f58bb01a8fa823a4e921056dc28da373c9bc09525296fef00f59fab64ad0eede8f6dd36c5d0c7b056e35bb1dd6f3fa"
}