Event JSON
{
"id": "f25d21ccf0a492a02aca614173d93017904f883601c03f23005275f454b0d488",
"pubkey": "f256835736550a85428b988fdeb80b491534fe74fc6e7eea1701fc79e6642176",
"created_at": 1731422748,
"kind": 1,
"tags": [
[
"p",
"5d26ff261f8115f0c1a595a44121783f939af499db5e79bff4e0cb9422a0a5f8",
"wss://relay.mostr.pub"
],
[
"p",
"fb0714092668afae543f8889f8a8c2a8bfa498f094a20a34b18e3ab2e43580fd",
"wss://relay.mostr.pub"
],
[
"e",
"3b05c7fde2e738eb4d9ccead85480086e3a6b08e7489bc24036b4fc25e215fbc",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/zirias/statuses/113470521226075517",
"activitypub"
]
],
"content": "nostr:npub1t5n07fslsy2lpsd9jkjyzgtc87fe4ayemd08n0l5ur9egg4q5huq678v75 I never went as far as actually using AI-generated code. I thought it's fun to play around and see what I get, so quite a while ago, I showed GPT this interface (from my own code):\nhttps://github.com/Zirias/dos2ansi/blob/master/src/bin/dos2ansi/stream.h\n\nThen I asked it to implement me an example \"StreamWriter\" that just logs write operations. I immediately got some code that had undefined behavior (crashing). I gave it a gentle hint (this doesn't look quite right because ...), and it told me \"thank you, you're right, here's the fixed code\" 😅. Well ...\n\nIn a nutshell, 2/3 still sounds like a net gain, but be prepared for more debugging of bugs \"better hidden\" 😏",
"sig": "819421eb1e9234c0a2c548678c9d4422b181e5024f40b40848fd76c62564bdcb16396f0c8ec957ec3263a11dbeb5d3e65231742912fa934b318d6cb7e5c78362"
}