Nattviken
A bay in Härnösand, Sweden — and the place where things get built. Field notes, vibe projects and escapades, documented as they happen.
Featured: hyperZip
A content-aware archiver that is smaller and faster than the best established tool on 7 of 9 measured corpora. Everything lossless, everything measured — the losses kept next to the wins.
Latest field notes
- 18 November 2026hZ vs the established tools: smaller and faster on six corpora of nine
- 17 November 2026hZ: from idea to public benchmark report in two days
- 16 November 2026Welcome to the bay
- 15 November 2026Dagens upptäckt … AI slår människan igen
- 12 November 2026WOW! Förra julen fick jag DJ-utrustning av barnen. De hade hört mig sä
From the workshop
hZtorrent — erasure-coded distribution of restic archives
Spreads an already encrypted restic archive across many independent locations: any 10 of 20 shards restore everything, and 86 % of shards are reused between runs.
hZflow — compression between server and browser
A gateway that tries every codec the browser can decode and sends the smallest, with dictionaries the browser already supports. No client code. This site and 48 others run through it.
hZqr — JSON in a single QR code
A 53 kB document in one printed QR code, readable offline. A library of trained dictionaries does the work, not just compression. Live at hzqr.nattviken.com.
hyperZip — an archiver that knows what it is packing
Content-aware archiver in C++: smaller AND faster than the best established tool on seven corpora of nine. Open source.
hZbackup — verified backup of cold archives
Packs directories that no longer change into proven hyperZip archives before your backup tool sees them. Office files and PDF came out 55 % smaller than restic at maximum compression.
hZvideo — video as blobs
Blob-based video compression and streaming, built the hZ way: every setting is measured, and whatever measures best wins. About 40 % fewer bits than the best H.264 at the same quality, and an image within half a second of seeking.
Eystrasalt — a digital twin of the Baltic Sea
An open simulation of the Baltic Sea ecosystem: climate, eutrophication, fishing and interventions, the whole food chain from plankton to seal.
Hemsögrisen — the tech behind the pigs
An IoT feeding system and a vibe-coded CRM for the family's pig farm on Hemsön: technology meets moonlight farming.
Hemsogrisen.se — the site and the game
Hemsögrisen's own website with meat boxes, recipes and Happypigg — the game where you run a little farm.
Aciddz — the acid house instrument
A native Rust app driven by a Pioneer DDJ-FLX2: two TB-303 voices, an analog drum machine and a formant MC, all synthesized at 2.7 ms.
AI-DJ — the acid house machine from the basement
The DJ gear from the kids became a loop machine: a web app plus apps for Ubuntu and mobile, with the faders wired straight to loops and effects.
Medvind — self-help for overthinkers
Exercises from CBT and ACT in a calm app, built together with Ebba. For those who tend to overthink.
Big Akwa — land-based fish farming in industrial symbiosis
A company I co-founded: fish farming on land, in symbiosis with industrial waste heat. Winner of VC Norr 2021.
Symbios — a digital twin of industrial symbiosis
Simulates how industries can share energy and material flows: one plant's waste heat is another's raw material.
Piggs — the drone that counts pigs
Drone software that counts livestock in pastures and flags animals that lie still for too long.
Tick-n-Tack — timing for alpine skiing
An old project in a new guise: timing for alpine races and more.
Flow simulations
Simulating water flows in systems — the same toolbox as Eystrasalt, aimed at engineered flows.
AI-drone
AI that develops and tests drones — the development loop itself is the experiment.
Streaming platform for sports
Makes it easy to stream sports and other events with several live cameras.
Open source and joining in
Which repositories are public on GitHub, and how to get in touch if you want to take part.