Skip to content

Instantly share code, notes, and snippets.

View zboralski's full-sized avatar

Anthony Zboralski zboralski

  • Belua
  • London, UK
View GitHub Profile
@zboralski
zboralski / Trajectories.md
Created January 20, 2026 15:38
Trajectories, Not States

Trajectories, Not States

We propose a reframing of thermodynamics in which the fundamental object is not the state, but the trajectory.

Entropy does not count how many states exist. It measures how many futures remain executable from the present. Irreversibility arises because dynamics progressively eliminate paths. Once a constraint is enforced, the process cannot proceed otherwise. Time has a direction because options do not come back.

The second law is not about disorder. It is about constraint accumulation. Free energy measures the cost of continuing motion. Systems evolve toward trajectories that are easier to sustain and harder to escape.

Phase transitions occur when many possible trajectories collapse into a small set. After collapse, motion becomes stable and constrained. Learning transitions, including grokking, follow the same rule.

@zboralski
zboralski / The Internet Is a Shanty Town.md
Created January 12, 2026 03:13
The Internet Is a Shanty Town

The Internet Is a Shanty Town

It looks permanent.
It isn’t.

The land belongs to someone else.
Google owns the ground.
Facebook owns the streets.
Amazon owns the warehouses underneath.

@zboralski
zboralski / The Machine Runs.md
Created January 12, 2026 02:55
The Machine Runs

The Machine Runs

AHDB UK Wholesale Update, December 2025
Mild Cheddar averaged £2,830 per tonne, down £130 month on month.
Milk supply is high. Stocks are building. Demand is weak.

So the cheese is cheaper.
That matters.

£2,830 a ton.

@zboralski
zboralski / Someone Else Will.md
Created January 12, 2026 02:18
If I Don't Choose the Sentence, Someone Else Will

If I Don't Choose the Sentence, Someone Else Will

I put on clothes and they decide before I do.
I let them.

No.
They already decided.
I'm just catching up.

This shirt says something I didn't rehearse.

@zboralski
zboralski / That Just Sounds Like Slavery With Extra Steps.md
Last active January 12, 2026 01:11
That Just Sounds Like Slavery With Extra Steps

“That just sounds like slavery with extra steps.”
— Morty Smith, Rick and Morty, Season 2, Episode 6, The Ricks Must Be Crazy (2015)

Shelter is mandatory.
Payment is mandatory.
Everything else is noise.

We pay every month.
We pay or we leave.

@zboralski
zboralski / unxor.go
Last active December 11, 2025 16:19
unxor.go
// unxor - XOR key recovery and decryption for encrypted assets
//
// Uses Kasiski examination to find key length, then known-plaintext attack
// with common file headers to recover the full key.
//
// Usage:
//
// unxor analyze <file> # Find key length and recover key
// unxor decrypt <file> -k <key> # Decrypt with known key
// unxor decrypt <file> -a # Auto-detect key and decrypt
@zboralski
zboralski / QuantumBaristaEJML.java
Last active December 24, 2025 14:22
QuantumBaristaEJML
import org.ejml.simple.SimpleMatrix;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.security.MessageDigest;
/**
* Quantum Barista - Compact RHF solver using EJML
@zboralski
zboralski / getlimiter.go
Last active June 7, 2023 12:23
Temporal Worker GetLimiter
package main
import (
"fmt"
"reflect"
"unsafe"
"go.temporal.io/sdk/worker"
"golang.org/x/time/rate"
)
@zboralski
zboralski / keydb.conf.tpl
Created April 17, 2023 14:47
keydb.conf Nomad Template
# By default KeyDB does not run as a daemon. Use 'yes' if you need it.
# Note that KeyDB will write a pid file in /var/run/keydb.pid when daemonized.
daemonize no
bind 127.0.0.1 ::1 # listens on loopback IPv4 and IPv6
bind {{ env "NOMAD_IP_redis" }}
aclfile {{ env "NOMAD_SECRETS_DIR" }}/users.acl
# By default protected mode is enabled. You should disable it only if
@zboralski
zboralski / keydb.nomad.hcl
Created April 17, 2023 14:44
keydb nomad job with vault password rotation
job "keydb-vanilla" {
region = "global"
datacenters = ["dc1"]
type = "service"
group "keydb" {
count = 1
vault {
policies = ["nomad-keydb"]