Daily Shaarli

All links of one day in a single page.

August 13, 2023

Making Illegal States Unrepresentable
thumbnail

Illustrated with Rust in this case, but definitely one of the big advantages of having type systems. Adding constraints (even runtime ones) to your types make it harder for bugs to hide.

The importance of verifying webhook signatures | Snyk

Nicely explain how to secure your webhooks step by step.

Carrot Problems
thumbnail

Very good advice. Don't waste time believing false business claims and trying to replicate them. Easier said than done though, most people don't have the privilege of insiders knowledge.

Squeeze the hell out of the system you have – Dan Slimmon

Excellent points. Don't be fooled by alluring architecture changes. Always keep the complexity in check and favor tuning what's already here or changing your use patterns to meet the performance you need.

Root Cause is Plural

A good reminder on how the "five why" are just a starting pont. For proper investigation and risk management you need to go deeper.

The downsides of C++ Coroutines | reductor’s blog

Beware of the problems coroutines might bring. Some are "obvious" and related to concurrency in general, but some are running deep in their design in C++.

80% of bosses say they regret earlier return-to-office plans

Those who listen (not mandate) to their employees and hire whatever the location will come out on top. It'll require planning real estate ahead of course but the writing is probably on the wall.

Web Environment Integrity has no standing at W3C; understanding new W3C work | 2023 | Blog | W3C

Good reminder on how the W3C works and what it evaluates. If Web Environment Integrity would become a "standard" it'd likely be more of a "de facto" thing because a major player shoved it everyone's throat.

Solving the Point-in-Polygon Calculation Challenge: Tips From Top Engineers

Not as detailed as I would like on the proposed solution. A good starting point for inspiration though. Should help with geospatial and fleet management problems.

mDNS Primer

Doesn't go much in depth, but this is a nice resource with interesting references to follow to dig deeper and learn mDNS.

Every Phone Should Be Able to Run Personal Website | rohanrd.xyz

I admit I'd love it if it made a come back. That'd be a big boost to self-hosting websites for people. Our infrastructures are not quite ready for it though.