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 ne...
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 t...
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, an...
Turn your old laptop into low-end gaming machine Make your foldable e-waste run games with all it has
The practice of noting down random ideas Reading, writing, cooking, and maybe some other random explorations.
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…
The hidden danger that kills search products The lack of objective definition of good search creates huge hazards when creating search, RAG, AI solutions
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 ...
how-i-think-of-the-expression-problem - Chad Nauseam Home how-i-think-of-the-expression-problem - Chad Nauseam Home
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 Cr...
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 tru...
Large language models reduce public knowledge sharing on online Q&A platforms Abstract. Large language models (LLMs) are a potential substitute for human-generated data and knowledge resources. This substitution, however, can present
Adding AI to a Windows and Uno Platform Application using Microsoft.Extensions.AI - Nick's .NET Travels Earlier this month Microsoft introduced the preview of Microsoft.Extensions.AI.Abstractions and Microsoft.Extensions.AI libraries with the aim of making it easier for .NET developers to integrate AI services into their applications. The Uno Platform provi...
Diffusion for World Modeling: Visual Details Matter in Atari (DIAMOND) 💎 Diffusion for World Modeling: Visual Details Matter in Atari (DIAMOND) 💎 Webpage
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 Da...
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 pe...
Boost Your .NET Projects: Unleashing the Power of Spargine’s DateTime Extension Methods Spargine offers open-source assemblies and NuGet packages for .NET 8, including the DateTimeExtensions class. This class provides useful methods for DateTime and DateTimeOffset types, enhancing the…
Every bug/quirk of the Windows resource compiler (rc.exe), probably Fuzz testing decades-old software can turn up some curious behaviors
Automating the most annoying aspects of blogging ⌘I Get Info Back in 2021 I had a look around and decided to base this incarnation of my blog on an open-source Jekyll theme called “Type”, though I’ve changed and added ...
Using query intent to boost retrieval results — any blockers? Enhance your retrieval systems by determining user query intent and tailoring search strategies accordingly.
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. ...
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 ...