Open post jerome @jerome@strings.io · 10mo ago Replying to @mttaggart@infosec.exchange <p>Buried in this nicely-detailed RCA is a pretty damning fact: </p><p>Cloudflare left <code>.unwrap()</code> in mission-critical Rust code.</p><p>For non-Rustaceans, <code>.unwrap()</code> handles a type called <code>Result</code> that can either be <code>Ok</code> with a value, or an <code>Err</code> with an Error. The whole point is to gracefully handle errors and not let panics make it to production code. But <code>unwrap()</code> assumes there's a value to extract without safeguards.</p><p>I use <code>.unwrap()</code> sometimes! Usually when there's a logical guarantee that the result can never be an error. But I make sure to purge it from critical processes for exactly this reason.</p><p><a href="https://blog.cloudflare.com/18-november-2025-outage/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">blog.cloudflare.com/18-novembe</span><span class="invisible">r-2025-outage/</span></a></p> @mttaggart@infosec.exchange I find most unwraps are opportunities to refactor code to remove the necessity to unwrap (basically removing impossible code paths / states)
Open post jerome @jerome@strings.io · 9mo ago Replying to @tojiro@mastodon.social A year ago I installed solar panels+batteries, and now have a year of electric bills to compare. 2024: $4,133.13 2025: $655.62! The entire year was less than the previous year's July bill. Also got an EV last year so that amount ALSO includes my "gas" costs from charging at home. (~$1500/year with my prev gas car.) Hard to think of a pair of purchases I've been happier with! @tojiro what equipment did you get? Sounds interesting!