5 January 2025

34 links · Sunday

The day I taught AI to read code like a Senior Developer

A messy experiment that changed how we think about AI code analysis Last week, I watched our AI choke on a React codebase - again. As timeout errors flooded my terminal, something clicked. We’d been teaching AI to read code like a fresh bootcamp grad, not a se…

Making the Matrix Screensaver in C on a PDP-11/83

Dave shows you how to create the famous Matrix screensaver in pure C on a PDP-11/83 running 211BSD UNIX! Free Sample of my Book on the Spectrum: https://amzn.to/3zBinWM Watch ShopTalk Now on Dave's Attic: https://youtu.be/5Emgx0lhllE Follow me on X: https:/…

No more needles! Tracking blood sugar on your wrist | Waterloo News

Imagine shrinking satellite technology that predicts the weather into a device that transmits vital information about the health of the person wearing it. University of Waterloo engineers have achieved this technological feat to help people faced with chronic …

Docker on MacOS is still slow?

TLDR Link to heading Two years after my first analysis of Docker performance on MacOS, things have improved significantly. VirtIOFS is now much faster (bind mounts are only 3x slower instead of 5-6x), and we have new solutions in the ecosystem. Lima (open-sour…

Web page annoyances that I don't inflict on you here

I've been thinking about things that annoy me about other web pages. Safari recently gained the ability to "hide distracting items" and I've been having great fun telling various idiot web "designers" to stuff it. Reclaiming a simple experience free of wi…

Sailboat Metaphor - Scott Barry Kaufman

Chances are you’re familiar with Abraham Maslow’s hierarchy of needs, a pyramid with self-actualization depicted at the top. You likely learned about it

Leave Me Alone.

I'm almost embarrassed to say how important LinkedIn is to my business. My network is large though not vaynerchukian. It's taken a good amou...

msmetko's blog

Sampling a sample from a distribution appears in a lot of places in natural sciences, but lately it’s mostly been used to power LLMs, due to how the Transformer architecture works internally. This blogpost will talk about how to efficiently sample from a categ…

Fine Tuning the Erlang Virtual Machine · Anantha Kumaran

In my previous post, I discussed how to identify the causes of high CPU usage. In this post, I’ll focus on addressing system bottlenecks. Our production workload runs on 16-core machines, yet the CPU usage has never exceeded 70%. In other words, the system eff…

A Better Way to Stand Out in the Job Hunt

Learn how Loom videos helped me land top roles in finance and fintech. My tips on video introductions will help you stand out, connect with hiring managers, and transform your job search.

Trade Ideas’ Missed Opportunity

Trade Ideas offers a powerful tool for retail traders, but its focus on the wrong audience has led to high churn and unnecessary feature development.

Is social media dead?

Social media once carried a promise. It would bring us closer, enrich our relationships, and create a world of authentic connection. We bought into it wholeh...

Exploring Identities in the AT Protocol via Bluesky

The AT Protocol is an open, decentralized network for building social applications. Bluesky, a relatively new social network, is built on top of the AT Protocol. It recently piqued my interest as I came across this fascinating research paper Bluesky and the AT…

Geometric Intuition for Jensen’s Inequality – Madiyar's Page

Jensen’s inequality is fundamental in many fields, including machine learning and statistics. For example, it is useful in the diffusion models paper for understanding the variational lower bound. In this post, I will give a simple geometric intuition for Jens…

Do it in jeans first

It was six months after my trek through the cloud forests of Peru when I learned I'm not supposed to hike in jeans. At least it's what I was told, on a different mountain range and continent, by a Seattleite guide who volunteered to lead a group of hikers aro…

The Path to StyleGan2 - The Finale

This post concludes The Path to StyleGan2 series and will see us implement the StyleGAN2 model (there is a StyleGAN3 but I will not cover it, for now).

Weak references and garbage collectors

From 2018 to 2021, I worked on a greenfield Python runtime called Skybison. One of its major differences from CPython was that it used a moving garbage collector (GC). This I understood in theory—I knew that it ran when the heap filled up, knew we needed handl…

Drug Dilution

Caffeine and alcohol are the most commonly consumed psychoactive drugs in the world. They are most often consumed as beverages, which has a few benefits: dos...

The State of Generative Models

In the face of disruptive technologies, moats created by closed source are temporary.Even OpenAI’s closed source approach can’t prevent others from catching up.So we anchor our value in our team — our colleagues grow through this process,accumulate know-how, a…

How Websockets are Scaled

When a client initiates a Websocket connection, it sends an HTTP request with the `Upgrade` header set to `websocket`, signaling its intent to establish the connection. Once the TCP connection is established, each request must be routed to the correct server, …

Optimizing Ruby’s JSON, Part 5

In the previous post, we showed how we eliminated two malloc/free pairs of calls when generating small JSON documents, and how that put us ahead of Oj when reusing the JSON::State object.