2 September 2024

18 links · Monday

DRY your Apache APISIX config

DRY is an important principle in software development. This post will show you how to apply it to Apache APISIX configuration. The DRY principle 'Don’t repeat yourself' (DRY) is a principle of software development aimed at reducing repetition of informat…

Diffusion is spectral autoregression

A deep dive into spectral analysis of diffusion models of images, revealing how they implicitly perform a form of autoregression in the frequency domain.

Preferring public method isolation

Things become complicated when public methods of a class call each other. This can be demonstrated fairly easily with some examples...

DEFRAG THE GAME

Welcome to DEFRAG the game! Embark on a retro journey as you defrag a virtual hard drive

How I’ve managed notes over 12 years

I have a Git repository dating back to 2012. Before that, I remember using Notational Velocity1 with a bunch of text files, it worked well, until I decided to keep my notes for life. If I’m not digitizing them, I’ll write notes on index cards and store them in…

Attention Is The Scarce Resource

There are, currently, a lot of high-profile people doing crazy stuff in public. Saying outrageous things, in interviews or on social media, that we would not have expected high-profile people to do a few decades ago (at least not in public). Any explanation …

1,000,000 - An's Blog | SpaceHey

Hello everyone - it's been a while! I was super busy with university and my mandatory internship in a software company for the past 6 months, so I haven't poste...

Extreme Pi Boot Optimization

🚀 3.5 sec to Linux userspace code

How to test HttpClient inside API Tests

I am a great fan of API tests. I do like to utilize the WebApplicationFactory for this. I even wrote some articles about this in the past "Introduction to WebApplicationFactory". But what if we need to "mock" HttpClient calls inside our tests?