7 May 2023

34 links · Sunday

The Leadership Myth in Replicated Databases

I’ve heard multiple times that a strong notion of leadership somehow simplifies replication. I don’t think this is true. I explain why in this post.

Cookie Bugs - Smuggling & Injection

Research on how browsers encode & send cookies, how they are parsed by various web frameworks, and some bugs

In search of a good western book

Ever since I randomly found the book The Whistling Season by Ivan Doig at the Half Price Books closest to my Minnesota hometown, I’ve been on a casual quest to find another “western” book that’s as satisfying.

Does writing bring clarity?

Does writing bring clarity? Does it bring goodness?

Prolog for data science - Emir's blog

I demonstrate a widely applicable pattern which integrates Prolog as a critical component in a data science analysis. Analytic methods are used to generate properties about the data under study and Prolog is used to reason about the data via the generated prop…

Code Smell: Magic Numbers & How To Fix It #shorts

Support me on Patreon to access the source code:https://www.patreon.com/milanjovanovicJoin my weekly .NET newsletter:https://www.milanjovanovic.techRead my B...

.NET 7 Minimal API Route Groups Are INSANE!

.NET 7 Minimal API route groups is a feature that allows us to extract common logic for several endpoints to a group level. This makes our code cleaner and e...

Using The Singleton Design Pattern in .NET

Discover how to use the Singleton design pattern in C#/.NET to create a single instance of an object that is globally accessible throughout your application. Learn about the benefits and drawbacks of the Singleton pattern, how to implement it using Lazy<T> for…

A very brief BitKnit retrospective

BitKnit is a LZ77+RANS lossless general-purpose compressor that was designed 8 years ago (1.0 release on May 20, 2015) to replace the aging and very slow to encode LZ77+arithmetic coding codec buil…

[Talks] – Update Days .NET MAUI

Event name:                                  Update Days: .NET MAUI Talk name:                                     .NET MAUI Layouts, navigation, shell &  MAUI Community Toolkit Official Site:                                  https://maui.updatedays.cz/schedul…

Collision, Randomization and Welzl's Algorithm

Have you ever played a 3D video game and wondered how the game engine detects collisions between objects? I recently found myself thinking about this while playing a popular racing game. As I was

Discord Should Remove Usernames Entirely

Discord's Recent Announcement made a lot of people mad, mostly because of Hyrum's Law - users were relying on unintended observable behavior in the original username system, and are mad that their use-cases are being broken despite very good evidence that the …

How to create resilient digital products.

Any founder with a product in production knows the pain of waking up at 0200 to outage alerts, or support interruptions at family dinner. It can be rough and scaling support is challenging. Here are some things you can do to make your systems more resilient. R…