An Ode to Logging

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Oh, log, a nerdy scribe, In you, all errors hide. To write it well - not an easy quest, Let's see how we can do it best! True hackers always start with print() Don't...

Mercurial's extdiff extension and reporting filenames in diffs

Setting up a Wireguard VPN in UniFi

This is a quick post showing how to set up a Wireguard VPN in an UniFi Dream Machine.

My first experience with Gleam Language

Over the past few months, I saw a growing amount of posts on X about the Gleam language (probably the X algorithm doing its thing), and decided to give it a try. I was not disappointed, with few exceptions.

New unique package

New package for interning in Go 1.23.

Channels that channel channels?

#​520 — August 27, 2024 Unsub  |  Web Version Go Weekly Range Over Function Types in Go 1.23 — Go 1.23 was released just two weeks ago with one of the headline features being improvements to iteration, principally for/range suppo...

Interview with Josh Medeski

In this interview I talk with Josh about my developer workflow including tmux, neovim, nix, and more on macOS.

SentencePiece BPE Tokenizer in Go

Earlier this year I wrote a post about implementing BPE tokenization in Go, which made it possible to reproduce OpenAI's tokenizer. Today I want to mention a new project I've been hacking on recently: go-sentencepiece - a pure Go implementation of the SentencePiece tokenizer that...

Ep. 5: Key Techniques for Accurate AI-Driven Information Retrieval

Introduction: Welcome to Episode 5 of our Intro to Generative AI series! In this episode, Daniel explores practical techniques for enhancing AI models’ ability to handle large volumes of text data effectively. He addresses the challenges developers face when working with ex...

It's not simple to add function keyword arguments to Go