Thursday, 19 November 2026

Gemini 4 Hydrogen - Powering Google Search

Gemini 4 Hydrogen (adapted from Gemini 4 Carbon and hence empowered by Carbon's training data sets) is Google's newest "fast AI" model. 

Hydrogen powers AI mode and complex AI overviews in Google Search, rolled out globally on November 12, 2026.

Search is elevated from behaving more like a keyword matcher and more like a smart research assistant.

Google is also now offering AI Studio dubbed "the fastest way to build with Gemini". It's also emphasising AI sustainability given public concern over AI's immense energy consumption.

Rolling Hash

From Hashing to Rolling Hashing

You know about hashing but do you know about "rolling hash". This is a very simple concept, whereby a hash function is applied to a rolling window of text.

A major application is the Rabin-Karp string search algorithm. Another important application is rsync.

The cleverness of a rolling hash is efficient calculation - instead of computing hash values fresh each time, it updates the hash incrementally as new data comes in.

Rolling Hash in Rabin-Karp

This is used in string matching, and plagiarism detection.

Rolling Hash in rsync

This is manifested in the form of a rolling checksum, to check "everything is ok" as the sync operation proceeeds.

Other names for Rolling Hash

Recursive hashing is another name for rolling hash, or rolling checksum, as in the case of rsync.

Wednesday, 18 November 2026

Claude Usage Limits

Claude comes with usage limits.

With the free Claude plan, the session-based usage limit resets every 5 hours. Also number of messages you can send varies based on demand to ensure fair usage for all users.

More details here.

Tuesday, 17 November 2026

systemd - a true friend in Linux

systemd is a true friend of the Linux aficionado, and by extension the regular Windows Joe using WSL.

More precisely, it is a suite of basic building blocks for the Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system.

MiB

No, MiB is not the men-in-black, it is the computing abbreviation for mebibyte, a binary unit of memory equal to 1,048,576 bytes (2^20 bytes) used to measure RAM and other volatile memory with base-2 accuracy.

The prefix "mebi" was defined by the IEC (International Electrotechnical Commission) in 1998 to avoid confusion with decimal megabytes (MB). MiB is commonly used in operating systems, programming and RAM specifications.

GiB is the analog for a "billion" bytes and is known as the gibibyte, amounting to 1,073,741,824 bytes. This is 2^30 bytes. GB (gigabyte) refers to 1 billion bytes in decimal.

TiB is the same for a "trillion" bytes and is known as a tebibyte (equal to 2^40 bytes). 1 Tib = 1,024 GiB.

Base-2 accuracy is important as operating systems often report memory in binary units as hardware addressing is binary.

An AWS Emulator Practica

The instructions here can be used to install aws-emulator on WSL. 

By default the emulator serves HTTPS on 127.0.0.1:9297 so only your machine can reach it.  You can run multiple emulators side-by-side on different ports.

If you want to set this up in Docker you may need to play with the options. The -b option (or --bind) specifies the IP address (note: not hostname) that the emulator listens on, with -p (or --port) to tell the port.

The emulator keeps emulated resources in memory. It uses about 160 MiB (mebibytes) when idle. To cap the memory used by the emulator you must use the systemd-run command.

Developer Expectations

Expect the documentation for a new technology to be 50% correct.