rain 🌦️

@sunshowers.io

(gender)queer transsexual / they/them / eng @oxide.computer / atheist and scientific humanist / 🦀 #rustlang / #jj-vcs #1 fan / https://nexte.st / https://sunshowers.io also on mastodon: @rain@hachyderm.io / https://hachyderm.io/@rain

I'd just like to interject for a moment. What you're referring to as an OpenAPI spec, is in fact, an API document, or as I've recently taken to calling it, an OpenAPI spec plus document. An OpenAPI spec is not a document unto itself but rather another free component of a fully functioning API system

fascinating that the rust standard library also happened to run into soundness issues with allocators unwinding. (This is something I mentioned in my iddqd blog post as an entirely unexpected source of soundness issues that GPT flagged — it is now carefully handled by iddqd)

Guarantee `handle_alloc_error` never unwinds · Issue #834 · rust-lang/libs-team

Proposal Problem statement Currently, handle_alloc_error cannot unwind on stable. However, the unstable set_alloc_error_hook API would allow that to change, potentially allowing an unwind to happen...

github.com

btw iddqd is mythos approved 👍 it found one DoS pattern where while deserializing from serde, we would preallocate based on an untrusted size_hint

claude with my review prompt is just way better at code reviews than I am. in particular, it is very good at finding things that aren't covered -- missed test coverage, comments, docs, etc. it'll sometimes make incorrect assumptions but it's almost always thought-provoking

I was maybe 2 years into living in the US, and very cis-presenting. Some coworkers were hanging out talking about bemani games. I walk up and bring up sdvx — they straight up don't believe me. I pull out my e-amusement card and hand it to them, and they pass it around, unable to believe it's real

One of the things I'm used to doing is spending many hours painstakingly writing out a series of structs and enums which basically describe a spec and handle every possible case. I'm excited that LLMs make it possible to do this kind of work within the time constraints most devs face

github.com