deech on Nostr: This may or may not apply to Cloudflare but I've had the pleasure of debugging a ...
This may or may not apply to Cloudflare but I've had the pleasure of debugging a couple of outages caused by 'unsafePerformIO' and 'read' in my time as a Haskell dev.
Not on the same scale as Cloudflare but the single biggest obstacle to getting up and running was a complete lack of stack traces. A fix that took seconds needed hours of frantic Debug.Trace + extremely slow build/deploy cycles.
IMO the root problem was a crappy runtime debugging environment not the use of footgun functions.
Published at
2025-11-19 14:19:20 UTCEvent JSON
{
"id": "14052e619de2400c9fc5354a50c846884a5ff85efef2ce5fdec48fe7e5a30332",
"pubkey": "647f548e8f2821eeffc5bf4b5bc7afdbc45b300d859ca96b2357f537026215be",
"created_at": 1763561960,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/deech/statuses/115576796645591460",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub/"
]
],
"content": "This may or may not apply to Cloudflare but I've had the pleasure of debugging a couple of outages caused by 'unsafePerformIO' and 'read' in my time as a Haskell dev. \n\nNot on the same scale as Cloudflare but the single biggest obstacle to getting up and running was a complete lack of stack traces. A fix that took seconds needed hours of frantic Debug.Trace + extremely slow build/deploy cycles.\n\nIMO the root problem was a crappy runtime debugging environment not the use of footgun functions.",
"sig": "a2b84e09d7d796a0fa8b130e4dc7218948c8512a212625a49b9b380d4b553b316b4449ce534c1bc370c579d88ab967802f30fb916252ed05005fc3bc54df2992"
}