Selective Creativity

https://blog.sebastiansastre.co

8 posts

Tech 88% · Culture 13%

Subscribe via RSS

  1. Eight Bytes Are Already a Number

    When you need to parse data for downstream processing, the enthusiasm to get the processing outcome quickly might induce you to overlook one interesting nuance of the cost of how it’s parsed. See this “parse me a u64” function for example: fn parse_id(bytes: &[u8]) -> Result<u64, ParserError> { if bytes.len() < 8 { return Err(ParserError::InputTooShortForU64); } let owned = bytes[..8].to_vec();

    0 ▲
  2. Dear User of the Universe

    Make truth and reality have a special place for you. Make them be your compass. Make genuine mistakes earn gentle corrections seventy times seven. Do that while staying firm in this course. Intentionally preserve lies and manipulations in their despicable status: aberrations. While you do that, demons, mistaken ideas and temptations to promote them will insist until you prove yourself stronger than them; that’s when they desist; maybe that’s why they exist. Call this what you want:…

    0 ▲
  3. What Are You Coding?

    When we present demos, we do not “show instead of explain” at random. We do it with direction and intent because we have a goal and an effect in mind. Close a selling engagement. Awaken curiosity for lead generation. Land anywhere in between. All of it happens inside the story the listener is already telling themselves. Whoever watches starts thinking: I can do this and that. I can grow in this way if I use it. For that to happen, understanding deeper what this is becomes crucial. It becomes…

    0 ▲
  4. Ban From on your Rust Error Variants

    An alert lands. You were eight hours intensely into something completely unrelated to that alert. You have this alert now, and you are not just tired. You are spent. The log says the sequencer failed. You open the crate that returns EngineError. You search for EngineError::Sequencer. Zero call sites. The conversion happened. The compiler was happy. You are not. The ? that made some method in that engine code look clean is the line that hides what you cannot find when the unexpected alert hits…

    0 ▲
  5. The Green Build and the Hermeneutic Gap

    Last month something failed in production that had never failed in CI. It compiles, unit tests are green, it builds. The contract between services matched the OpenAPI file everyone had signed off on. The symbolic world of the codebase was all green. And still, it executed the unintended behavior exactly as coded. If you have been shipping long enough, that story is boring on purpose. But boring might mean we have internalized and normalized it. It is the story we stop telling at stand-up…

    0 ▲
  6. Thinking in Solana

    There is a particular cognitive dissonance that hits you when you first study blockchain concepts and Solana’s execution model in particular. It isn’t confusion exactly — it’s something closer to the feeling of a familiar room with the furniture rearranged. Everything is still there. But it’s been deliberately separated. Just checking our cognitive compass: in Software Engineering, what we do with libraries and clients and nodes is create enforceable abstractions that allow programs (automated…

    0 ▲
  7. Grounded sources

    In the age of ChatGPT‑style assistants, a paragraph that “sounds right” can appear in seconds. Yet the very thing that makes AI so attractive, its ability to produce plausible text on demand, is also its Achilles heel and a force that pushes you to own its mistakes. If your product’s promise rests on those “plausible” outputs, you’re trading certainty for a statistical gamble. We’ve moved from great code autocompleters to it’s been a month since I wrote code for my MRs — and every release,…

    0 ▲
  8. The Half of CI We Forgot to Automate

    A new aircraft does not get cleared to fly because its blueprint is internally consistent. It gets cleared because someone strapped it to a rig, ran it through scripted abuse, instrumented every joint, and — after hours and hours of tests — produced evidence that the design survives a controlled approximation of the real world. That ritual has a name in aerospace and motorsport — shakedown — and it exists because the cost of guessing is paid in catastrophic failures, irreparable damage to human…

    0 ▲