The lighthouse keeper's son

John James Turpin’s memories of growing up in occupied Jersey at La Corbière lighthouse. Born in 1930. Chapter 1 My father was a full time naval man. Having served before the First World War up until the late twenties, he joined the lighthouse service. He was then in a position to bring his family to the lighthouse cottage which consisted of my mother, my two brothers, my sister and of course myself. [Read More]


Debugger crib sheet

Adding debug symbols gcc -g hello.c gdb a.out # Run program run # Run and immediately break start # View code at current break point list # Break main b main # Break at line 9 b 9 TUI mode - text user interface Type ctrl-X A ctrl L - repaint ctrl X2 - multiple windows ctrl X2 - view registers tui reg float - view floating registers ctrl x 1 - source code view ctrl p/n - command history Python interpreter built in (since version 7) import os print(os. [Read More]

Big data

A consolidated list of sources

Sources of big data Big data communities / platforms Crime Internet Government Health Business Transport Weather Travel Entertainment Sport http://www. [Read More]

Miso-seaweed bread

Ingredients Proportion Ingredient g 100% Shipton Mill white organic bread flour 540 65.00% Evian mineral water 351 2.80% Fresh yeast 15.12 1.90% Billington’s Organic Golden Granulated 10.26 9.30% Sanchi Hatcho Miso 50.22 1.90% Poppy seeds 10.26 1.90% Sussex Gold extra virgin rapeseed oil 10.26 0.45% Dried seaweed 2.43 Method Make a miso solution with the water, poppy seeds and oil 30 minute rest Combine 60% of the flour Leave to rest for 8 hour rest Mix yeast and sugar Yeast/sugar mix with the remaining flour 1 hour lazy baker knead Dust with flour 40 minute prove at 35°C 35 minutes in oven at 225°C Autolyse The 8-hour rest isn’t absolutely necessary but a pre-ferment stage breaks down some of the anti-nutrients in the flour husks. [Read More]

Learning circular breathing

On the didgeridoo

I’ve been playing for a few months so it’s time to give something back. I gave myself a month to learn circular breathing. You need to immerse yourself in the culture and practice, go into a YouTube flat spin. Commit to 20 minutes a day, no excuses. And it’s difficult. The first few weeks you’ll be building up the muscles you haven’t used before and it’s very hard to measure progression. [Read More]


Linux without running a VM

Work demands that I run a Windows 10 laptop but I no longer run a Linux VM on the side. Apart from some slightly esoteric networky stuff like tcpdump WSL does it all and it feels like a native shell.

  • Windows key > “features”
  • Enable “Windows Subsystem for Linux”
  • Probably restart
  • Windows key > store
  • Install Ubuntu 20
  • And you’re away!

Android Repo

Managing project dependencies

There are lots of tutorials on how to initialise a repo but then what? The basics work quite well and use multiple processors to sync dependencies but I’ve yet to get to grips with doing a basic commit! It feels like you should be able to do an atomic commit across multiple repos but the curses interface goes all weird and I gave up for now. It’s also really annoying searching for information on something called “repo”! [Read More]

git submodules

Managing project dependencies

Are they really that bad? [Spoiler alert: yep, worse than you can imagine.] Adding submodules Clone an existing repo and update the submodules - note the hashes against folders in the repo. git submodule init git submodule update Add a new submodule by HTTPS. $ git submodule add Cloning into '/home/deant/deps-submodules/dft'... remote: Enumerating objects: 1417, done. remote: Total 1417 (delta 0), reused 0 (delta 0), pack-reused 1417 Receiving objects: 100% (1417/1417), 17. [Read More]

git subtrees

Managing project dependencies

A mono repo under the hood. See the Atlassian documentation. Create your outer repo and add something to it just to have history – otherwise you’ll see this unhelpful error: fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree. # Make history touch && git add . && git commit -am "create empty readme" && git push # Add subtree git subtree add --prefix=cpp/ git@gitlab. [Read More]