13 October 2024

35 links · Sunday

Static Files as a Database

For a long time, we have been living in a world where we use default approaches without fully thinking about their purpose. Take WordPress as an example: it's a powerful application, but it requires MySQL as its database, and to make it fast, you often need Me…

Principles

Web site created using create-react-app

In search of the simplest all-in-one blade sharpener

Getting into the world of woodworking means I suddenly found myself needing to sharpen a lot of blades. With no prior experience, this led me to spend many hours distilling conflicting information. Here are some snippets of how I learned to sharpen, and the pr…

The Ultimate Guide to Matrix Multiplication and Ordering

Matrix multiplication in graphics APIs is ridiculously confusing. People are often confused about the right order of multiplying their matrices, and about row-major, column-major, pre-multiplication, post-multiplication, row vectors and column vectors, and tra…

Content-Blocking in Manifest v3

I’ve written about selectively blocking content in browsers several times over the last two decades. In this post, I don’t aim to convince you that ad-blocking is good or bad, instead f…

Kyle Benzle

Jul, 2024

UDP, A Disclaimer, And QUIC

The main justification for using UDP in a production application is latency. yet it seems like the culprits, and extreme lack of reliability in UDP, are not ...

Beauty, The Last Bastion - Yonge Bai's Blog

As more and more work gets outsourced to LLMs, skills that are difficult to convey through language become more and more valuable. Call it intuition, taste, a sense of beauty, or whatever, these aren't fluffy, abstract qualities; they're …

Deriving the Kelly Criterion to maximise Profits

If you want to put some fraction of your money into a risky venture, how much should you invest? In order to maximise long term wealth, the Kelly Criterion is often used to size the bet. This post shows how to derive the gambling formula from the Kelly Criteri…

the quiet art of attention

There comes a moment in life, often in the quietest of hours, when one realizes that the world will continue on its wayward course, indifferent to our desires or frustrations. And it is then, perhaps, that a subtle truth be…

Psychopath or Autistic? What's the Difference?

Dave contrasts and compares the symptoms and traits of Psychopathy vs Autism to consider how similar or different they might be. For my book on the autism spectrum, check out: https://amzn.to/3zBinWM Without Conscience Book: https://amzn.to/3Y5sEmh Dave's …

Getting Started with .NET Aspire and SQL The Right Way

Getting started with .NET Aspire and SQL is not that simple. At least not if you try to follow the offical documentation. Therefore, in this video I want to show you the proper way to get started with .NET Aspire and SQL, to make sure that your data is persist…

Policy Updates

Policy Updates

Know a lot, a lot

Most good engineers I worked with had a common trait - they just happen to know a lot of random stuff, facts, and practices at surface level. The conversations with them were always fun and insightful as they kept telling and sharing interesting nuggets. Altho…

Let's run some NFAs — 0xd34df00d.me

Lately, I’ve been playing around with memoized NFAs for optimized regular expression matching, with features like lookahead and atomic groups, based on this paper. The original authors have their code in Scala, and I thought it’d be fun to code something in Ha…