I didn't realize until recently that I wouldn't be able to build a container image of my application while offline. Because only my code was changing, I didn't think Docker would need to make internet requests, but it does. With some digging I figured out how …
Spargine is an open-source set of .NET 8 assemblies and NuGet packages, offering enhanced functionality for ICollection collections. Features include AddIf, AddRange, AsReadOnlySpan, Upsert, and mo…
dotnettips.wordpress.comยทPublished by dotNetDaveยทยท4-5 minutesdotnet
This blog is intended to be a place to share ideas and results that are too weird, incomplete, or off-topic to turn into an academic paper, but that I think may be important. Let me know what you think! Contact links to the left.
Retrieval Augmented Generation (RAG) is a common pattern in AI-powered apps that allows a model to generate completions using context data that might not have been available during training. It's beneficial when working with large language models because it he…
I use toy Monte Carlo simulations to demonstrate 5 ways to reduce variance in A/B testing: increase sample size, move towards a more even split, reduce variance in the metric definition, stratification and CUPED.
In my last TIL I talked about how to set additional security headers for Gitlab. But I also had to do this for other applications I was supporting, where it was more straight-forward to do it (meaning: with code). I needed to set the access-control-allow-origi…
Photo by Caterina sanders on Unsplash
"You know what's weird? Day by day, nothing seems to change, but pretty soon...everything's different." – Bill Watterson
Note: if you need the upgrade steps for version 15 to 16, you can find them here, and if you n…
Ok, that might be an overdramatic title but Product Hunt is currently facing some serious issues. Mainly, their rule to feature products are quite opaque and arbitrary. It is harder to be featured on the home page: This September on average 16 launches are fe…
A long, long time ago in a galaxy far away I had to give an impromptu presentation about something I didn’t know much about. The goal of the task was to see ...
Richard Terry demonstrated this in a lightning talk at DjangoCon US today. It's the latest in a long line of attempts to get Django to work with a single file …
The other day I was randomly browsing in a bookstore and stumbled by Empire of the Sum: The Rise and Reign of the Pocket Calculator. As I was flipping through its pages, a realization dawned on me with some force: I... love... calculator. I don't mean as a phy…