5 December 2024

17 links · Thursday

Keyset Cursors, Not Offsets, for Postgres Pagination

We're building Sequin, a Postgres CDC tool to streams and queues like Kafka, SQS, HTTP endpoints, and more. Efficient, correct pagination is paramount for our backfill process, so we use keyset cursors extensively. You've probably heard about the limitatio…

Why do we need redis?

Learn how to cancel long-running jobs in .NET the right way. Using Redis and CancellationToken, I’ll show you how to build a system for on-demand cancellations. Simple, clear, and effective! Join my mailing list: https://mdbouk.com/ Follow me on X: https://x.…

Stop Using Exceptions in C#! Here’s Why and What to Do Instead

Exceptions in C# are notoriously slow and should be avoided at all cost! If you are using exceptions for normal flow control, you need to watch this video! By simply using other patterns and practices you can reduce the memory footprint and greatly improve th…

Late Takes on OpenAI o1

I realize how late this is, but I didn’t get a post out while o1 was fresh, and still feel like writing one despite it being cold. (Also, OpenAI just announced they’re going to ship new stuff starting tomorrow so it’s now or never to say something.)

Testing reading comprehension in 15 LLMs - Bulmash Media

POSSIBLE SPOILER ALERTThis article discusses asking various models a question about my novel, Hell on $5 A Day, after providing it for context or RAG (retrieval augmented generation). The specific question addresses how one character dies. It’s a little bit of…

I hate `apt`

Let me start this post by writing how much I thank the Ubuntu, Debian and therefore also the apt ecosystem to be there in my life. It was there when I operated VPS back in 2010, it excited me in 2013 when I used Ubuntu as my main Desktop Operating System, and …