Daily Shaarli

All links of one day in a single page.

April 16, 2025

When Life Gives You Java

A few interesting tricks to apply to Java code. Some I already did, but the proposed model for algebraic data types I might add to my bag of tricks.

These are not the same
thumbnail

This is a question which I have been pondering for a while... what will be left when the generative AI bursts. And indeed it won't be the models as they won't age well. The conclusion of this article got a chill running down my spine. It's indeed likely that the conclusion will be infrastructure for a bigger surveillance apparatus.

A flowing WebGL gradient, deconstructed

Very nice deep dive into the reasoning behind a wavy gradient effect. It shows the best effect have several layers of refinements and tricks. Each trick is explained separately nicely, this is a good read.

You cannot have our user's data

Sourcehut pulled the trigger on their crawler deterrent. Good move, good explanations of the reasons too.

Atomicless Concurrency

Nice trick for highly performance sensitive data structures. Making data CPU local instead of thread local you can make a mechanism which is especially cache friendly.

An Introduction to Modern CMake

Looks like a nice resource for CMake. The documentation for it isn't always great especially for beginners, hopefully it should fill that gap.