Björn Sandberg Lynch
armillary.bsky.social
Björn Sandberg Lynch
@armillary.bsky.social
Father, software architect, history buff, space enthusiast, sci fi reader, role player, costumer, gamer, in no particular order.
Error handling, cont. Errors generally have four causes:
1. Fatal errors (memory, fascist takeover). Can't be managed, best just to log and crash.
2. Dev error. Should be caught in unit tests. See above.
3. Poor API design. Wrap in an adaptor at the point of call.
4. External sources. See above.
October 11, 2025 at 4:10 PM
It's interesting trying to teach a subject you know really well - you still end up learning things. I recently taught a small class on software design, and it really affected the way I develop. Case in point, I've mostly stopped catching errors in business logic.
October 11, 2025 at 3:04 PM
I guess we're calling them "fascist units" from now on. #metric
February 2, 2025 at 5:19 PM
Reposted by Björn Sandberg Lynch
I want to share my experience today with Google support, trying to get Gemini (their AI/plagiarism machine) turned off in my Google workspace account. That account is where I personally do all my work communication—I am an editor, and most of my work contracts explicitly ban any use of Generative AI
January 17, 2025 at 1:02 AM
We should start calling 45 and his munchkins DEI hires since the only reason they got the job was because of their ethnicity and gender.
January 17, 2025 at 3:50 PM
Finished getting my certification in "Cybersecurity" yesterday. Unless I'm missing something, that's my first official diploma. The value of this is a little nebulous, but I did not have to pay for it.
December 20, 2024 at 4:58 PM
What's the role of Services in Vertical Slice Architecture and how do they differ from domain rules?
December 14, 2024 at 5:40 PM
Keeping the holiday traditions alive as an expat comes with its own challenges. At least the kids are interested in my weird cultural quirks.
December 13, 2024 at 3:37 PM
Today's architecture insight was how to replace a legacy, stateful messaging service that relies on locks and external storage with one that is active-active and instead shares data needed for sync through a topic broadcast. Won't fit in a single post though.
December 12, 2024 at 4:59 AM
Following my testing with MinimalAPI, I'm still not fond of static methods. It also lacks support for model binding with XML or even Newtonsoft.Json. In the end I was able to convert the existing app to Vertical slices but the end result isn't that pretty.
December 10, 2024 at 1:19 AM
My current research topic is .net Minimal APIs. Unlike the old-school controllers, this approach uses static (class) methods or lambdas, reducing the need for heap-allocation. The downside is that dependencies and endpoint parameters are jumbled together, leading to reduced readability.
November 28, 2024 at 4:47 PM
Having a snow weekend with the kids, making cunning plans to surprise eldest sprog with her own Steam account come bday so we can play co-op Valheim.
November 23, 2024 at 11:18 PM
Hallo Bluesky. I was never a Twitter user but we'll see if this platform works for my social media "needs".
November 23, 2024 at 6:10 PM