Andrew Tropin on Nostr: Today during the stream I found very interesting issue. I thought it's a bug in Arei ...
Today during the stream I found very interesting issue. I thought it's a bug in Arei Guile IDE, but probably it's not.
When I run the webserver (in a separate thread) and re-evaluate the handler (which have different return body), requests still get the same response. Later, I accidentally found how to "fix it".
I still hugely puzzled why this "fix" work. Take a look at last two lines.
#guile #scheme #lisp
Published at
2025-01-10 12:13:03Event JSON
{
"id": "2f16b30ecd8225124c5b2409ba949203cf8e7b82d0fb0e54693c1d5d2e206da5",
"pubkey": "6a3558cf15e6f724383ef20c385d65abf8af54d22fbd7f9c758fda61a08357ed",
"created_at": 1736511183,
"kind": 1,
"tags": [
[
"t",
"guile"
],
[
"t",
"scheme"
],
[
"t",
"lisp"
],
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/113/803/975/714/494/138/original/9ad9ef1ae9c31a51.png",
"m image/png",
"dim 1294x642",
"blurhash U9SiaB8{M}%M_4IVMyt7S5Wraxoer?V@%Mxu"
],
[
"proxy",
"https://fosstodon.org/users/abcdw/statuses/113803996946798817",
"activitypub"
]
],
"content": "Today during the stream I found very interesting issue. I thought it's a bug in Arei Guile IDE, but probably it's not. \n\nWhen I run the webserver (in a separate thread) and re-evaluate the handler (which have different return body), requests still get the same response. Later, I accidentally found how to \"fix it\".\n\nI still hugely puzzled why this \"fix\" work. Take a look at last two lines.\n\n#guile #scheme #lisp\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/803/975/714/494/138/original/9ad9ef1ae9c31a51.png",
"sig": "6d1c47dcbe49a9dc35ec0ef3d35bc772e6b958bdf22b1a5c6a920c00b56246aad0b29c8b709d56a9534cdb2f9a4280db595ada66359e92ccb5b2e84da681206e"
}