<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bytestone Blog</title><link>https://www.bytestone.uk/</link><description>Recent content on Bytestone Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 20 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.bytestone.uk/index.xml" rel="self" type="application/rss+xml"/><item><title>Archiving family photographs: a format statement</title><link>https://www.bytestone.uk/posts/2026-10-20-archiving-family-photographs/</link><pubDate>Tue, 20 Oct 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2026-10-20-archiving-family-photographs/</guid><description>What we capture when we scan a family photograph, what we keep, and how we expect it to still be readable in fifty years without any of the software that made it.</description></item><item><title>GoNIX and gokrazy: two ways to run Go on bare Linux</title><link>https://www.bytestone.uk/posts/2026-10-13-gonix-and-gokrazy/</link><pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2026-10-13-gonix-and-gokrazy/</guid><description>Both put a Go userland on top of the Linux kernel, but one wants to be a small UNIX you can read in an afternoon and the other wants to be an appliance with nothing you don&amp;rsquo;t need.</description></item><item><title>An Elitech temperature logger without the manufacturer's software</title><link>https://www.bytestone.uk/posts/2026-09-27-elitech-temperature-logger/</link><pubDate>Sun, 27 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2026-09-27-elitech-temperature-logger/</guid><description>Buying an Elitech RC-5 USB temperature logger and writing the software for it in Go, without ever opening the manufacturer&amp;rsquo;s web site.</description></item><item><title>ABNF and Plain Text Accounting</title><link>https://www.bytestone.uk/posts/abnf-and-plain-text-accounting/</link><pubDate>Sat, 14 Mar 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/abnf-and-plain-text-accounting/</guid><description>&lt;p&gt;Plain text accounting is a useful way to describe a machine and human readable accounting journal. Some formats
are single file format and some are multiple file formats. F&lt;/p&gt;
&lt;p&gt;The software primarily Beancount and ledger transform the data into useful reports as well as validating that the
data is correct in the first place.&lt;/p&gt;
&lt;p&gt;The reports that can be run are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Summary balances at varying times and selections. Hierachical accounts can be consolidated&lt;/li&gt;
&lt;li&gt;Ledger entries by account&lt;/li&gt;
&lt;li&gt;dealing with multiple commodities eg multiple currencies and stocks and shares&lt;/li&gt;
&lt;li&gt;preparing balance sheets&lt;/li&gt;
&lt;li&gt;preparing profit and loss&lt;/li&gt;
&lt;li&gt;SQL like query languages&lt;/li&gt;
&lt;li&gt;gui visualisation eg FAVA for beancount.&lt;/li&gt;
&lt;li&gt;integration of documents into the accounts.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Beancount documents that the clear process of converting text based records to an internal memory model is:&lt;/p&gt;</description></item><item><title>Dates, Times and Periods</title><link>https://www.bytestone.uk/posts/dates-times-and-periods/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/dates-times-and-periods/</guid><description>&lt;p&gt;I want to write about the dates times and periods including how these are represented in text.&lt;/p&gt;
&lt;p&gt;ISO8601 or RFC-3330 is a good place to start as UK goverment writes in their article on [dates and time-stamps standard][].&lt;/p&gt;
&lt;p&gt;We normally differentiate between periods of time with a start and end date. Eg a week goes from Mon to Sunday where in a precision of days Mon is the start
and Sunday is the end.
Often we are less precise and just use the whole period, eg this will be done in week 44.&lt;/p&gt;</description></item><item><title>Claude, Singularity Postgres and Gokrazy</title><link>https://www.bytestone.uk/posts/2026-02-07-claude-singularity/</link><pubDate>Sat, 07 Feb 2026 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2026-02-07-claude-singularity/</guid><description>Claude, Singularity Postgres and Gokrazy</description></item><item><title>Gluten Free loaf</title><link>https://www.bytestone.uk/posts/glutenfreebread/</link><pubDate>Fri, 02 May 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/glutenfreebread/</guid><description>A gluten free loaf in a bread machine</description></item><item><title>Augmented Backus Naur Format</title><link>https://www.bytestone.uk/posts/abnf/</link><pubDate>Sat, 15 Feb 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/abnf/</guid><description>A comparison of ABNF and EBNF notation systems</description></item><item><title/><link>https://www.bytestone.uk/slides/notationnotes/</link><pubDate>Sun, 26 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/slides/notationnotes/</guid><description>&lt;h1 id="1-introduction-to-credits-and-debits"&gt;1 Introduction to credits and debits&lt;/h1&gt;
&lt;h2 id="early-confusion"&gt;Early confusion&lt;/h2&gt;
&lt;p&gt;Accounting notations is confusing, mostly because early renniasance mathematicians did not like
negatives numbers. So instead of using negatives they used Credit and Debit.&lt;/p&gt;
&lt;p&gt;So I am going to show how to do it with transfers. This is not my idea but Martin Kleppmann&amp;rsquo;s who
wrote a nice blog post about it in 2011.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="2-show-a-deposit-into-a-bank"&gt;2 Show a deposit into a bank&lt;/h2&gt;
&lt;p&gt;The question is how does the bank represent this in it&amp;rsquo;s accounting system?&lt;/p&gt;</description></item><item><title/><link>https://www.bytestone.uk/slides/notation/</link><pubDate>Sat, 25 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/slides/notation/</guid><description>&lt;h1 id="1-introduction-to-credits-and-debits"&gt;1 Introduction to credits and debits&lt;/h1&gt;
&lt;p&gt;Credit and Debit notation is confusing.&lt;/p&gt;
&lt;p&gt;But transfers are conceptually easy:&lt;/p&gt;
&lt;p&gt;&lt;img src="./svg/bankTransfer.svg" alt="Bank Transfer"&gt;&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="2-show-a-deposit-into-a-bank"&gt;2 Show a deposit into a bank&lt;/h2&gt;
&lt;p&gt;This shows a customer depositing money into the bank into their own account.&lt;/p&gt;
&lt;p&gt;&lt;img src="./svg/bankDeposit.svg" alt="Bank Deposit"&gt;&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="3-accounting-notation"&gt;3 Accounting notation&lt;/h2&gt;
&lt;p&gt;Original transfer notation:&lt;/p&gt;
&lt;p&gt;&lt;img src="./svg/bankDeposit.svg" alt="Bank Deposit"&gt;&lt;/p&gt;
&lt;p&gt;Accounting notation:&lt;/p&gt;
&lt;p&gt;&lt;img src="./svg/bankDepositAN.svg" alt="Bank Deposit Accounting Notation"&gt;&lt;/p&gt;
&lt;p&gt;The net result is actually identical.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="4-simplest-bank"&gt;4 Simplest bank&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Safety deposit box&lt;/li&gt;
&lt;li&gt;Piggy bank&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="./svg/bankDeposit.svg" alt="Bank Deposit"&gt;&lt;/p&gt;</description></item><item><title>using Journal entries as plain text</title><link>https://www.bytestone.uk/afp/plain-text-accounting/journalasplaintext/</link><pubDate>Fri, 10 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/plain-text-accounting/journalasplaintext/</guid><description>&lt;h1 id="journal-entries"&gt;Journal Entries&lt;/h1&gt;
&lt;p&gt;Pacioli as translated by &lt;em&gt;&lt;a href="./afp/references/#geisjbeck-1914"&gt;Geisjbeck 1914&lt;/a&gt;&lt;/em&gt; has a very nice division of the primary records into:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Opening Inventory&lt;/li&gt;
&lt;li&gt;Day book&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Journal&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Ledger&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The journal is a neat list of entries which are cross referenced and entered in the ledger. Now a computer
is great at animating that data so you only need to enter the journal data. Each journal entry is a single
transaction in date order.&lt;/p&gt;
&lt;h2 id="two-legs-better"&gt;Two legs better&lt;/h2&gt;
&lt;p&gt;I am taken with the idea of the directed graph to inform the way you create plain text accounting.
Most plain text formats follow [ledger from John Wiegley] &lt;em&gt;&lt;a href="./afp/references/#wiegly-2003"&gt;Wiegly 2003&lt;/a&gt;&lt;/em&gt; in that they are journals
which support transactions with multiple posting legs:&lt;/p&gt;</description></item><item><title>Trading oranges as money - Credits and Debits</title><link>https://www.bytestone.uk/afp/movements/orangesasmoneycreditsdebits/</link><pubDate>Wed, 08 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/orangesasmoneycreditsdebits/</guid><description>&lt;p&gt;Now it is time to connect the directed graph to conventional accounting. We will follow the same sequence
with the direction of the graph in the most normal way.&lt;/p&gt;
&lt;h2 id="trading"&gt;Trading&lt;/h2&gt;
&lt;p&gt;So to recap the scenario is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;invest in your business.&lt;/li&gt;
&lt;li&gt;buy oranges from an orange farmer&lt;/li&gt;
&lt;li&gt;sell them at a profit at market&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="investment"&gt;Investment&lt;/h3&gt;
&lt;p&gt;We start from nothing. The first step is an injection of cash from an external investor.&lt;/p&gt;</description></item><item><title>Trading oranges as money - accounting conventions</title><link>https://www.bytestone.uk/afp/movements/orangesasmoney_ac/</link><pubDate>Tue, 07 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/orangesasmoney_ac/</guid><description>&lt;p&gt;So we rework the previous example and treat the oranges as a money equivalent stock item.
This allows complete accounts to be done.&lt;/p&gt;
&lt;h3 id="converting-stock-purchase-as-money"&gt;Converting stock purchase as money&lt;/h3&gt;
&lt;p&gt;The conversion of amounts of things to their monetary value is a key element of accounting records. This makes it possible to create accounts
So we are going to represent the stock as money and at the cost price. This is not present
in the original stock taking accounting of the Sumerians where each type of item eg barley or malt
was &lt;a href="./afp/historical-accounting/"&gt;shown on the transaction&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Trading oranges as money - new conventions</title><link>https://www.bytestone.uk/afp/movements/orangesasmoney/</link><pubDate>Tue, 07 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/orangesasmoney/</guid><description>&lt;p&gt;The first time through I tried using the conventional accounting conventions but the
overall result was unsatisfactory so that here I have reverted to something that makes
more sense and show how the accounting conventions are built from it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="./afp/movements/orangesasmoney_ac/"&gt;Using money and accounting conventions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="./afp/movements/pacioliogotitwrong/"&gt;Pacioli was wrong and why it doesn&amp;rsquo;t matter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So we rework the previous example and treat the oranges as a money equivalent stock item.
This allows complete accounts to be done. In order to make clear the sign difference between a node
in graph terminology and an account in accounting terminology I will refer to nodes in a graph sense (with positive and negative balances) and
accounts in a conventional accounting sense (credits and debits).&lt;/p&gt;</description></item><item><title>Accounting sign conventions</title><link>https://www.bytestone.uk/afp/movements/conventions/</link><pubDate>Sun, 05 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/conventions/</guid><description>&lt;p&gt;There are at least two of ways of modelling the account movements. The notation of
&lt;em&gt;&lt;a href="./afp/references/#kleppmann-2011"&gt;Kleppmann 2011&lt;/a&gt;&lt;/em&gt; chooses the opposite notation although slightly more obvious is the
opposite of accounting notation as
published by Pacioli.&lt;/p&gt;
&lt;p&gt;This is the overall position for an investor transferring £5 to a business for investment:&lt;/p&gt;
&lt;div class="mermaid-container" style="text-align: center"&gt;
 &lt;div class="mermaid"&gt;
flowchart LR
 classDef classAssets fill:#CDA;
 classDef classBusiness fill:#FFFFDE;
 classDef classEquity fill:#EEB,stroke-width:4px;
 classDef classExpense fill:#FCC,stroke-width:4px;
 classDef classIncome fill:#BCE,stroke-width:4px;
 classDef classInvestor fill:#ECECFF,stroke-width:4px;
 classDef classLiabilities fill:#DDD;


class I classInvestor;
I([Investor])
subgraph Business
B([...Accounts...])
class B classAssets;
end
I -- £5 --&gt; Business
&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;and if you had a single entry accounting system you might represent this as a positive balance.
For a double entry accounting system you are representing not just the value but a movement from
one account to another.&lt;/p&gt;</description></item><item><title>Accounting transactions as graph theory</title><link>https://www.bytestone.uk/afp/movements/graphtheory/</link><pubDate>Sun, 05 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/graphtheory/</guid><description>&lt;p&gt;A transaction represents a transfer of value, eg investing in a business, the transaction consists of an amount, a source and a destination. The transaction is a transfer from the source to the destination.&lt;/p&gt;
&lt;p&gt;Each node is an account and has a balance. Each node must represent the same type of stuff in it,
eg money or oranges etc. The value of a balance at a node is
determined by simple rules:&lt;/p&gt;</description></item><item><title>Boundaries</title><link>https://www.bytestone.uk/afp/movements/boundaries/</link><pubDate>Sun, 05 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/boundaries/</guid><description>&lt;h2 id="entity-and-the-boundary-of-the-entity"&gt;Entity and the boundary of the entity&lt;/h2&gt;
&lt;p&gt;One of the principles of accounting is that is done from the point of view of single entity. Here
we have two, the investor and the business. If the investor is self employed and investing in
their own business then the boundaries between the two get blurred. In the UK the tax authority
&lt;a href="https://www.gov.uk/money/income-tax"&gt;HMRC&lt;/a&gt; will normally require a self employed person to
complete a tax return on behalf of you and your business, ie as a single entity.&lt;/p&gt;</description></item><item><title>Accounting movements - trading oranges</title><link>https://www.bytestone.uk/afp/movements/oranges/</link><pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/afp/movements/oranges/</guid><description>&lt;p&gt;Using the convention developed in &lt;a href="./afp/movements/conventions/"&gt;Accounting Conventions&lt;/a&gt; and
looking solely at the accounts with a start from nothing.&lt;/p&gt;
&lt;h2 id="the-trading"&gt;The trading&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;invest in your business.&lt;/li&gt;
&lt;li&gt;buy oranges from an orange farmer&lt;/li&gt;
&lt;li&gt;sell them at a profit at market&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="investment"&gt;Investment&lt;/h3&gt;
&lt;p&gt;So reusing the diagram above you the reader as entrepreneur invests in your own business:&lt;/p&gt;
&lt;div class="mermaid-container" style="text-align: center"&gt;
 &lt;div class="mermaid"&gt;
flowchart LR
 classDef classAssets fill:#CDA;
 classDef classBusiness fill:#FFFFDE;
 classDef classEquity fill:#EEB,stroke-width:4px;
 classDef classExpense fill:#FCC,stroke-width:4px;
 classDef classIncome fill:#BCE,stroke-width:4px;
 classDef classInvestor fill:#ECECFF,stroke-width:4px;
 classDef classLiabilities fill:#DDD;
 

 I([Investor])
 class I classInvestor;
 subgraph Business
 direction LR
 E([Equity Input **£25**])
 class E classEquity;
 B([Cash Assets **£-25**])
 class B classAssets;
 end
 I -- £25 --&gt; Business
 B -- £25 --&gt; E
&lt;/div&gt;
&lt;/div&gt;

&lt;h3 id="buying-stock--inventory"&gt;Buying stock / inventory&lt;/h3&gt;
&lt;p&gt;I have used the term stock as it is a British English term
&lt;a href="https://en.wikipedia.org/wiki/Inventory"&gt;Wikipedia has inventory&lt;/a&gt; as the American synonym.&lt;/p&gt;</description></item><item><title>Plain text accounting</title><link>https://www.bytestone.uk/posts/plain-text-accounting/</link><pubDate>Fri, 22 Nov 2024 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/plain-text-accounting/</guid><description>&lt;h2 id="time-series-functions"&gt;Time series functions&lt;/h2&gt;
&lt;p&gt;A time series is a function that varies over time. For example the amount of money in a piggy bank.
This has a value at a point in time as well as changes. This corresponds to a derivative although typically the changes are stochastic not a regular time intervals. There is also an integral version which is the change during a period eg how much was added during 1 week or some other period. Here the period can be regular.&lt;/p&gt;</description></item><item><title>Gokrazy WSL and photos</title><link>https://www.bytestone.uk/posts/gokrazy/</link><pubDate>Sun, 28 Apr 2024 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/gokrazy/</guid><description>&lt;p&gt;Very excited to be getting gokrazy to work as a deployment platform for devices. My first project
is to use our Samsung smart screen as a &lt;a href="https://github.com/drummonds/gophoto"&gt;photo display&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It has taken a little while to work out how to use effectively use gokrazy from WSL and here are some of my notes.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When building the initial image you can use &lt;code&gt;gok -i hello overwrite --full x.img --target_storage_bytes=1258299392&lt;/code&gt; to output to a file rather than
a device which allows you to export the img from from wsl and burn on Windows. Attaching an sd card
to the WSL instance I found tricky.&lt;/li&gt;
&lt;li&gt;To cross compile and update I used &lt;code&gt;CGO_ENABLED=0 GOARCH=arm64 gok -i hello update&lt;/code&gt; for a raspberry pi 3B+.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="solved-problems"&gt;Solved Problems&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Using Task to store required cross compile flag configuration.&lt;/li&gt;
&lt;li&gt;Changing DNS server on router to change DNS entries of DHCP names.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="current-problems"&gt;Current Problems&lt;/h2&gt;
&lt;h3 id="monitor-fails-after-a-time-on-my-samsung-95q55-screen"&gt;Monitor fails after a time on my Samsung 95Q55 screen.&lt;/h3&gt;
&lt;p&gt;It works after uploading but then goes to a state overnight (power saving ?) which the TV doesn&amp;rsquo;t recognise.&lt;/p&gt;</description></item><item><title>Accounting for Programmers</title><link>https://www.bytestone.uk/posts/accountingforprogrammers/</link><pubDate>Wed, 17 Apr 2024 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/accountingforprogrammers/</guid><description>An introduction to accounting for programmers.</description></item><item><title>EBNF Extended Backus Naur Format</title><link>https://www.bytestone.uk/posts/ebnf/</link><pubDate>Thu, 04 Apr 2024 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/ebnf/</guid><description>Introduction to EBNF</description></item><item><title>EBNF and Participle</title><link>https://www.bytestone.uk/posts/ebnf-and-particple/</link><pubDate>Tue, 14 Nov 2023 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/ebnf-and-particple/</guid><description>Using Extended Backus-Naur Form (EBNF) notation and how the Participle parsing library leverages it for elegant language processing.</description></item><item><title>HTMX applications</title><link>https://www.bytestone.uk/posts/htmx/</link><pubDate>Fri, 10 Mar 2023 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/htmx/</guid><description>&lt;p&gt;I have been wondering about finding a simpler development environment that allows me to do graphic programming. My first successful tool was Delphi which allowed me to generate tools with a simple Pascal like language and a great IDE. The interface was the simple VCL ([Visual Control Library][]).&lt;/p&gt;
&lt;p&gt;[Visual Control Library]; &lt;a href="https://docwiki.embarcadero.com/RADStudio/Sydney/en/VCL_Overview"&gt;https://docwiki.embarcadero.com/RADStudio/Sydney/en/VCL_Overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Over time I have moved languages and currently I like writing in Python for expressiveness and Golang for simplicity and robustness.&lt;/p&gt;</description></item><item><title>Go CAD versions</title><link>https://www.bytestone.uk/posts/golang-cad/</link><pubDate>Thu, 23 Feb 2023 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/golang-cad/</guid><description>&lt;p&gt;I am keen to try out writing and designing in go CAD models. I am on a drive to simplify and unify my coding styles. My process for designing I would much rather be creating my models by programming. So I started with
OpenScad. I discovered that as the models got very complicated it would start to have problems particularly with
the difference function.&lt;/p&gt;
&lt;p&gt;There was a great go library called &lt;a href="https://github.com/ljanyst/ghostscad"&gt;ghostscad&lt;/a&gt; that generated OpenSCAD language but as it transpiles to OpenSCAD
it suffers from the same problems as complexity increases. As of Jan 2025 OpenScad has more or less stopped being
updated with the latest release in 2021. There is some work still going on though.&lt;/p&gt;</description></item><item><title>Colour Calibration</title><link>https://www.bytestone.uk/posts/colourcalibration/</link><pubDate>Mon, 02 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/colourcalibration/</guid><description>&lt;h1 id="standards"&gt;Standards&lt;/h1&gt;
&lt;p&gt;I used to have a Greta Mcbeth colour calibration both small and large but lost the large one and only have the small one left. Just recently purchased the Datacolor SpyderCheckr| 24 but probably should have bought the| 48 patch version in a hard shell. I have just discovered that| 24 patch is the right side of the| 48 patch. So can use the calibration data from that for checking the DataColour Print.&lt;/p&gt;</description></item><item><title>What is Tartan?</title><link>https://www.bytestone.uk/posts/tartan/</link><pubDate>Fri, 21 Oct 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/tartan/</guid><description>&lt;p&gt;Tartan or checked weaving pattern has ancient origins. Perhaps it came with the spread of the ancient Bronze age Celts from Austria and Turkey. To the East there may be a link to the &lt;a href="https://en.wikipedia.org/wiki/Tarim_mummies"&gt;Tarim Mummies&lt;/a&gt; as was popularised by Elizabeth Barber&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;. This currently has got caught up in origin stories of the Han. Notable mummies are the tall, red-haired &amp;ldquo;Chärchän man&amp;rdquo; or the &amp;ldquo;Ur-David&amp;rdquo; (1000 BCE); who wore a red twill tunic and tartan leggings. Elizabeth Barber highlights the similarities between this and fragments recovered from salt mines associated with the Hallstatt culture.&lt;/p&gt;</description></item><item><title>Filing MicroEntity Accounts</title><link>https://www.bytestone.uk/posts/hmrc-microentity-accounts/</link><pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/hmrc-microentity-accounts/</guid><description>&lt;h1 id="filing-microentity-accounts"&gt;Filing microentity accounts&lt;/h1&gt;
&lt;p&gt;This is meant to document how to use HMRC&amp;rsquo;s service
to input accounts and company house data when using
Beancount and HMRC.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Get Beancount up to date&lt;/li&gt;
&lt;li&gt;Generate annual accounts by editing report&lt;/li&gt;
&lt;li&gt;Input data here by hand&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="opening-questions"&gt;Opening questions&lt;/h2&gt;
&lt;p&gt;These are the questions and the answers to which this process applies.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;What is your organisation?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;Company&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do you want to make changes to a Company Tax Return you&amp;rsquo;ve already filed?&lt;/p&gt;</description></item><item><title>Drummonds New Bruce 1819</title><link>https://www.bytestone.uk/posts/drummondsnewbruce/</link><pubDate>Sat, 18 Jun 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/drummondsnewbruce/</guid><description>&lt;p&gt;&amp;ldquo;XR#D40000; A#5C8CA8; HG#285800; DP#440044;&amp;rdquo;,&amp;ldquo;XR/12 DP2 XR4 DP4 XR64 A2 XR4 DP16 XR4 HG4 XR4 HG48 XR4 DP4 XR/12&amp;rdquo;&lt;/p&gt;</description></item><item><title>Carbon Capture for lawns</title><link>https://www.bytestone.uk/posts/carboncapturelawns/</link><pubDate>Fri, 10 Jun 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/carboncapturelawns/</guid><description>&lt;p&gt;I have a robot mower that mows my grass. I was wondering if it actually captures carbon.&lt;/p&gt;
&lt;p&gt;I can see that the soil is capturing soil as it is getting higher. I had an edging made of bricks and over the last 15 year the grass has crept up ca 15cm. So about 1 cm a year capture. This is a capture of carbon but need to do the calculations to see if overall positive.&lt;/p&gt;</description></item><item><title>Drummond of Megginch Tartan thread counts</title><link>https://www.bytestone.uk/posts/tartancalcs/</link><pubDate>Fri, 10 Jun 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/tartancalcs/</guid><description>&lt;h1 id="given-thread-counts-produce-table"&gt;Given thread counts produce table&lt;/h1&gt;
&lt;p&gt;Wait for this to come out&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;test &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;R14 DB2 R4 DB4 R70 LB4 R4 DB20 R4 G4 R4 G74 R6 DB4 R12&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;import&lt;/span&gt; re
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;PATTERN &lt;span style="color:#f92672"&gt;=&lt;/span&gt; re&lt;span style="color:#f92672"&gt;.&lt;/span&gt;compile(&lt;span style="color:#e6db74"&gt;&amp;#34;([a-zA-Z]*)(\d*)&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;split_thread&lt;/span&gt;(threadcount):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&amp;#34;Given a thread count such as R14, will split to R and integer 14&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;match&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; re&lt;span style="color:#f92672"&gt;.&lt;/span&gt;search(PATTERN, threadcount)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;if&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;match&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;match&lt;/span&gt;&lt;span style="color:#f92672"&gt;.&lt;/span&gt;group(&lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;),&lt;span style="color:#66d9ef"&gt;match&lt;/span&gt;&lt;span style="color:#f92672"&gt;.&lt;/span&gt;group(&lt;span style="color:#ae81ff"&gt;2&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; threadcount,&lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;class&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Stripe&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;__init__&lt;/span&gt;(self, short_colour, count):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;short_colour &lt;span style="color:#f92672"&gt;=&lt;/span&gt; short_colour
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;count &lt;span style="color:#f92672"&gt;=&lt;/span&gt; int(count)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;__str__&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; &lt;span style="color:#e6db74"&gt;f&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#e6db74"&gt;{&lt;/span&gt;self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;short_colour&lt;span style="color:#e6db74"&gt;}{&lt;/span&gt;self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;count&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;class&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Tartan&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;__init__&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;stripes &lt;span style="color:#f92672"&gt;=&lt;/span&gt; []
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;@classmethod&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;from_space_threadcount&lt;/span&gt;(cls, threadcount):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; tartan &lt;span style="color:#f92672"&gt;=&lt;/span&gt; cls()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; threads &lt;span style="color:#f92672"&gt;=&lt;/span&gt; threadcount&lt;span style="color:#f92672"&gt;.&lt;/span&gt;split(&lt;span style="color:#e6db74"&gt;&amp;#34; &amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; thread &lt;span style="color:#f92672"&gt;in&lt;/span&gt; threads:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; colour,count &lt;span style="color:#f92672"&gt;=&lt;/span&gt; split_thread(thread)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; tartan&lt;span style="color:#f92672"&gt;.&lt;/span&gt;stripes&lt;span style="color:#f92672"&gt;.&lt;/span&gt;append(Stripe(colour, count))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; tartan
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;__str__&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; s&lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; stripe &lt;span style="color:#f92672"&gt;in&lt;/span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;stripes:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; s &lt;span style="color:#f92672"&gt;+=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;f&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#e6db74"&gt;{&lt;/span&gt;stripe&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt; &amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; s
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;@property&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;threadcount&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; tc &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; stripe &lt;span style="color:#f92672"&gt;in&lt;/span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;stripes:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; tc &lt;span style="color:#f92672"&gt;+=&lt;/span&gt; stripe&lt;span style="color:#f92672"&gt;.&lt;/span&gt;count
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;return&lt;/span&gt; tc
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;a &lt;span style="color:#f92672"&gt;=&lt;/span&gt; Tartan&lt;span style="color:#f92672"&gt;.&lt;/span&gt;from_space_threadcount(test)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;print(&lt;span style="color:#e6db74"&gt;f&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;Pattern = &lt;/span&gt;&lt;span style="color:#e6db74"&gt;{&lt;/span&gt;a&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;print(&lt;span style="color:#e6db74"&gt;f&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;Num threads = &lt;/span&gt;&lt;span style="color:#e6db74"&gt;{&lt;/span&gt;a&lt;span style="color:#f92672"&gt;.&lt;/span&gt;threadcount&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;Pattern = R14 DB2 R4 DB4 R70 LB4 R4 DB20 R4 G4 R4 G74 R6 DB4 R12 
Num threads = 230
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id="creating-images"&gt;Creating images&lt;/h1&gt;
&lt;p&gt;My first attempt at creating images was using a simple turtle graphics package:# Free after the example from the Python 3.5 manual&lt;/p&gt;</description></item><item><title>Details of New proposed Tartan</title><link>https://www.bytestone.uk/posts/drummondsofmegginchproposal/</link><pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/drummondsofmegginchproposal/</guid><description>&lt;p&gt;The following is a picture of the proposed new tartan sample.&lt;/p&gt;
&lt;p&gt;&lt;img src="GoldProposal.jpg" alt="Proposal with Gold" title="Gold proposal"&gt;&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Name&lt;/th&gt;
					&lt;th&gt;Sum&lt;/th&gt;
					&lt;th&gt;R/i&lt;/th&gt;
					&lt;th&gt;DB ii&lt;/th&gt;
					&lt;th&gt;R iii&lt;/th&gt;
					&lt;th&gt;DB iv&lt;/th&gt;
					&lt;th&gt;R v&lt;/th&gt;
					&lt;th&gt;LB vi&lt;/th&gt;
					&lt;th&gt;R vii&lt;/th&gt;
					&lt;th&gt;DB viii&lt;/th&gt;
					&lt;th&gt;R ix&lt;/th&gt;
					&lt;th&gt;G x&lt;/th&gt;
					&lt;th&gt;R xi&lt;/th&gt;
					&lt;th&gt;G xii&lt;/th&gt;
					&lt;th&gt;R xiii&lt;/th&gt;
					&lt;th&gt;DB xiv&lt;/th&gt;
					&lt;th&gt;R/xv&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;1849 Kilt&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;14&lt;/td&gt;
					&lt;td&gt;2&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;70&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;20&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;74&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;12&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;1997 New Kilt&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;18&lt;/td&gt;
					&lt;td&gt;2&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;64&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;20&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;62&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;10&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;</description></item><item><title>Drummonds of Megginch Tartan Notes</title><link>https://www.bytestone.uk/posts/drummondsofmegginch/</link><pubDate>Sat, 28 May 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/drummondsofmegginch/</guid><description>&lt;p&gt;Drummonds of Megginch Tartan&lt;/p&gt;
&lt;p&gt;Originally written May 16, 2018&lt;/p&gt;
&lt;p&gt;There has long been confusion about the tartan for the Drummonds of Megginch. This is due the tartan being very similar to the New Grant tartan that was recorded by Wilson in the 1819 weaving pattern book.&lt;/p&gt;
&lt;p&gt;Drummonds of Megginch Tartan different from Wilson Grant pattern.&lt;/p&gt;
&lt;p&gt;The earliest example I currently have of the tartans that the Drummonds of Megginch is a kilt dating from 1849 which I wore from about 1975 to 2000. The picture is of the inside which has faded less the outer. I can be confident of the date as there is a picture of JMD (James Murray Drummond) wearing this with a sporran which I also have. The sporran was made in 1849 in Edinbugh and can be dated from the silver makers mark.&lt;/p&gt;</description></item><item><title>Old Plaid</title><link>https://www.bytestone.uk/posts/drummondsofmeggincholdplaid/</link><pubDate>Sun, 22 May 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/drummondsofmeggincholdplaid/</guid><description>&lt;p&gt;Old Plaid&lt;/p&gt;
&lt;p&gt;&lt;img src="OldPlaid.jpg" alt="Stretched Out" title="Old 1820 Plaid"&gt;&lt;/p&gt;
&lt;h2 id="detail-of-tartan"&gt;Detail of Tartan&lt;/h2&gt;
&lt;p&gt;This was one of the est unfaded squares.&lt;/p&gt;
&lt;p&gt;&lt;img src="TartanDetail.jpg" alt="Tartan detail" title="Old 1820 Plaid Detail"&gt;&lt;/p&gt;
&lt;p&gt;Then there is the fine detail:&lt;/p&gt;
&lt;p&gt;&lt;img src="FineTartanDetail.jpg" alt="thread detail" title="Old 1820 Fine Plaid Detail"&gt;&lt;/p&gt;
&lt;p&gt;This for part of the tartan gives a thread count of:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Name&lt;/th&gt;
					&lt;th&gt;Sum&lt;/th&gt;
					&lt;th&gt;R/i&lt;/th&gt;
					&lt;th&gt;DB ii&lt;/th&gt;
					&lt;th&gt;R iii&lt;/th&gt;
					&lt;th&gt;DB iv&lt;/th&gt;
					&lt;th&gt;R v&lt;/th&gt;
					&lt;th&gt;LB vi&lt;/th&gt;
					&lt;th&gt;R vii&lt;/th&gt;
					&lt;th&gt;DB viii&lt;/th&gt;
					&lt;th&gt;R ix&lt;/th&gt;
					&lt;th&gt;G x&lt;/th&gt;
					&lt;th&gt;R xi&lt;/th&gt;
					&lt;th&gt;G xii&lt;/th&gt;
					&lt;th&gt;R xiii&lt;/th&gt;
					&lt;th&gt;DB xiv&lt;/th&gt;
					&lt;th&gt;R/xv&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;1849 Kilt&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;14&lt;/td&gt;
					&lt;td&gt;2&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;70&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;20&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;74&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;12&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;1820 Plaid&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;26&lt;/td&gt;
					&lt;td&gt;2&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;126&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;38&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;130&lt;/td&gt;
					&lt;td&gt;10&lt;/td&gt;
					&lt;td&gt;6&lt;/td&gt;
					&lt;td&gt;18&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;1820 scaled&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;13&lt;/td&gt;
					&lt;td&gt;1.3&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;84&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;25.3&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;86.7&lt;/td&gt;
					&lt;td&gt;6.7&lt;/td&gt;
					&lt;td&gt;4&lt;/td&gt;
					&lt;td&gt;12&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The 1820 plaid is the original pattern scale by about 50% and then rounded.&lt;/p&gt;</description></item><item><title>About</title><link>https://www.bytestone.uk/about/</link><pubDate>Thu, 05 May 2022 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/about/</guid><description>&lt;h2 id="about-yourself"&gt;About Yourself&lt;/h2&gt;
&lt;p&gt;This is a blog about various things I am interested in, specifically related to Bytestone which is long term digital storage of information.&lt;/p&gt;
&lt;h2 id="hugo-theme"&gt;hugo theme&lt;/h2&gt;
&lt;p&gt;Thanks Rainer for &lt;a href="https://github.com/RainerChiang/simpleness"&gt;simpleness&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Converting from Xero to Beancount</title><link>https://www.bytestone.uk/posts/2019-05-29-conversion-from-xero-to-beancount/</link><pubDate>Mon, 28 Oct 2019 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2019-05-29-conversion-from-xero-to-beancount/</guid><description>&lt;p&gt;&lt;button type="button" class="buttonStyle1" onclick="location.href='./xero-to-beancount.html'" title="External page for Xero to Beancount journey"&gt;Xero-&amp;gt;Beancount&lt;/button&gt;&lt;/p&gt;
&lt;h1 id="converting-from-xero-to-beancount"&gt;Converting from Xero to Beancount&lt;/h1&gt;
&lt;p&gt;This is about the journed of converting from Xero to Beancount. This version is a scrappy version written for me.
The reason is cost, I need to reduce my costs to the absolute limit and can no longer afford the ca£45 for the monthly
fee.&lt;/p&gt;
&lt;h1 id="plan"&gt;Plan&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Install Beancount&lt;/li&gt;
&lt;li&gt;Repeat the following a few times until it works well
&lt;ul&gt;
&lt;li&gt;Export Data from Xero, CSV&lt;/li&gt;
&lt;li&gt;Massage&lt;/li&gt;
&lt;li&gt;Convert to Beancount&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;success criteria&lt;/p&gt;</description></item><item><title>Outdoor cabling and wiring standards</title><link>https://www.bytestone.uk/posts/2018-12-05-outdoor-cabling-systems/</link><pubDate>Wed, 05 Dec 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2018-12-05-outdoor-cabling-systems/</guid><description>&lt;h1 id="technical-issues"&gt;Technical issues&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://gardenlightinglondon.co.uk/useful-information/mains-versus-low-voltage-for-garden-lighting/"&gt;https://gardenlightinglondon.co.uk/useful-information/mains-versus-low-voltage-for-garden-lighting/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="reels"&gt;Reels&lt;/h2&gt;
&lt;p&gt;On french extension wheels have a disconnection button.&lt;/p&gt;
&lt;h2 id="standards"&gt;Standards&lt;/h2&gt;
&lt;h3 id="bs-79092011-british-temporary-electrical-system"&gt;BS 7909:2011 British temporary electrical system&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://shop.bsigroup.com/ProductDetail/?pid=000000000030228298"&gt;Code of practice for temporary electrical systems for entertainment and related purposes&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="size-of-event"&gt;Size of event&lt;/h4&gt;
&lt;p&gt;Events are divided into different sizes&lt;/p&gt;
&lt;h2 id="ip-67-and-ip44"&gt;IP 67 and IP44&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.tcad.co.uk/ip44-ip67-plugs-shall-choose/"&gt;https://www.tcad.co.uk/ip44-ip67-plugs-shall-choose/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Toolstation sells IP67 connectors&lt;/p&gt;
&lt;p&gt;ur plugs are made by Lewden but other manufacturers include Gewiss and ABB.&lt;/p&gt;
&lt;p&gt;There are also Chinese Manufacturers:&lt;/p&gt;
&lt;h2 id="h07-rn-f-and-arctic-cable"&gt;H07 RN-F and Arctic Cable&lt;/h2&gt;
&lt;p&gt;&amp;ldquo;USE OF ARCTIC CABLE - Ref BS7909 2011 Code of Practice for Temporary Electrical Systems for Entertainment and related Purposes
Arctic Blue able can often be seen outdoors at events. This is not recommended in BS7909 2011, despite its widespread use.
BS7909 2011 recommends the use of HO7 RN-F cables for outside use&amp;rdquo;&lt;/p&gt;</description></item><item><title>RGB Floodlights</title><link>https://www.bytestone.uk/posts/2018-11-24-rgb-floodlights/</link><pubDate>Sat, 24 Nov 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2018-11-24-rgb-floodlights/</guid><description>&lt;p&gt;Aim to cover RGB flood lights that can be sourced in the both the UK and France, should have
long term support by been made by named manufacturers.&lt;/p&gt;
&lt;h1 id="ip-ratings"&gt;IP Ratings&lt;/h1&gt;
&lt;p&gt;&lt;a href="(https://www.dsmt.com/resources/ip-rating-chart/)"&gt;DSMT&lt;/a&gt; have a useful description.&lt;/p&gt;
&lt;p&gt;IP 6x is dust tight which is the minimium for outside use&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Rating&lt;/th&gt;
					&lt;th&gt;Meaning&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;IP 65&lt;/td&gt;
					&lt;td&gt;6.3mm jets from any direction&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;IP 66&lt;/td&gt;
					&lt;td&gt;12.5mm jets from any direction&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;IP 66&lt;/td&gt;
					&lt;td&gt;1M submersion&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;IP 68&lt;/td&gt;
					&lt;td&gt;beyond 1M eg Hermetically sealed&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1 id="table-of-lamps"&gt;Table of Lamps&lt;/h1&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Lamp&lt;/th&gt;
					&lt;th&gt;Amazon UK&lt;/th&gt;
					&lt;th&gt;Amazon Fr&lt;/th&gt;
					&lt;th&gt;Manufacturer&lt;/th&gt;
					&lt;th&gt;Watt&lt;/th&gt;
					&lt;th&gt;IP Rating&lt;/th&gt;
					&lt;th&gt;comment&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;Loftek 50W&lt;/td&gt;
					&lt;td&gt;&lt;a href="%5BLoftec50WFr%5D:(https://www.amazon.fr/Projecteur-IP66-Projecteur-T%C3%A9l%C3%A9commande-lext%C3%A9rieur-Roulement/dp/B01L6PKJPI/ref=sr_1_14?ie=UTF8&amp;amp;qid=1543065714&amp;amp;sr=8-14&amp;amp;keywords=loftek)"&gt;Loftec50WUK&lt;/a&gt; £33&lt;/td&gt;
					&lt;td&gt;[Loftec50WFr] N/A&lt;/td&gt;
					&lt;td&gt;Loftek&lt;/td&gt;
					&lt;td&gt;50W&lt;/td&gt;
					&lt;td&gt;IP66&lt;/td&gt;
					&lt;td&gt;RGBW, with TV type control&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Loftek 30W&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;[Loftec50WFr] 23Eur&lt;/td&gt;
					&lt;td&gt;Loftek&lt;/td&gt;
					&lt;td&gt;50W&lt;/td&gt;
					&lt;td&gt;IP66&lt;/td&gt;
					&lt;td&gt;RGBW, with TV type control&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Ustellar 60W&lt;/td&gt;
					&lt;td&gt;[Ustellar60UK] £36(min 2)&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;IR credit card Controller&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Ilux 10W&lt;/td&gt;
					&lt;td&gt;&lt;a href="https://www.amazon.co.uk/dp/B075QBL3J8?ref_=ams_ad_dp_ovrl"&gt;Ilux10UK&lt;/a&gt; £19&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;&lt;/td&gt;
					&lt;td&gt;Mesh Bluetooth and app&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1 id="ustellar-60w-rgb-flood-lights"&gt;Ustellar 60W RGB Flood lights&lt;/h1&gt;
&lt;p&gt;The unit looks quite good. The cooling fins at the back look very thin. In use the lamp was
not getting noticeably warm.
I took off the cover of the Unit by unscrewing 8 scres and you can see the insides: &lt;br&gt;
&lt;a href="USTellarRGB60W_cb70d7e8.png"&gt;USTellarRGB60W first dissasembly&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Companies House Micro Entity accounts</title><link>https://www.bytestone.uk/posts/companieshouse-microentity-accounts/</link><pubDate>Sat, 27 Oct 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/companieshouse-microentity-accounts/</guid><description>&lt;p&gt;This is about the process of using the companies house web site to enter accounts. In Xero there are templates
which produce the information you need.&lt;/p&gt;
&lt;p&gt;Accounts prepared to &lt;a href="https://www.frc.org.uk/getattachment/fbe6b585-4b9e-412e-adcd-0567a9ce78cc/FRS-105-FRS-Applicable-to-the-Micro-entities-Regime-(March-2018).pdf"&gt;FRS 105&lt;/a&gt;.&lt;/p&gt;
&lt;h1 id="directors-loans"&gt;Directors loans&lt;/h1&gt;
&lt;p&gt;The following is on the assumption that the directors loans are below 7,500Euro and so disclosure is not required
in the notes. FRS 105 (March 2018) 6B.20 Note 11&lt;/p&gt;
&lt;h2 id="page-1-balance-sheet"&gt;Page 1 Balance Sheet&lt;/h2&gt;
&lt;p&gt;There is a &lt;a href="./images/CompaniesHouseMicroEntityAccountsPage1.pdf"&gt;PDF of Page 1&lt;/a&gt;.&lt;/p&gt;</description></item><item><title> Calibration of Ormerod</title><link>https://www.bytestone.uk/posts/2018-06-25calibrationoformerod/</link><pubDate>Sat, 23 Jun 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/2018-06-25calibrationoformerod/</guid><description>&lt;p&gt;The aim is to calibrate the Ormerod so that I can accurately print meshing gears for my BluRay Robot. My current version
doesn&amp;rsquo;t work well enough.&lt;/p&gt;
&lt;p&gt;I also want to explore using the stepper motor limit currents to allow probing of the extruder. I am assuming that the
limiting current is proportional to the force.&lt;/p&gt;
&lt;h1 id="good-prints"&gt;Good Prints&lt;/h1&gt;
&lt;p&gt;Requires both Slic3r settings and RepRap firmware settings to agree as well as be calibration to actual hardware
and to the filament.&lt;/p&gt;</description></item><item><title>Xero Accounting Tips on Errors</title><link>https://www.bytestone.uk/posts/xero_errors/</link><pubDate>Wed, 18 Apr 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/xero_errors/</guid><description>&lt;h1 id="bank-reconciliation"&gt;Bank reconciliation&lt;/h1&gt;
&lt;h2 id="old-year-unreconciled-account"&gt;Old year unreconciled account.&lt;/h2&gt;
&lt;p&gt;Dealing with drummonds.net a couple of problems became apparent:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a duplicate unreconciled bank transaction had got into the final accounts&lt;/li&gt;
&lt;li&gt;This helped but was not the only reason the bank reonciliation was close but not accurate.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="non-material-difference"&gt;Non material difference&lt;/h2&gt;
&lt;p&gt;The difference was small &amp;lt; £100 so an opening year correction was done. In addition the
prior year duplicate was reconciled and then corrected on the first day of the current year.&lt;/p&gt;</description></item><item><title>Company Cars</title><link>https://www.bytestone.uk/posts/companycars/</link><pubDate>Wed, 04 Apr 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/companycars/</guid><description>&lt;p&gt;Company cards are probably a bad idea, ie they are a more expensive
way of getting a benefit than direct ownership.&lt;/p&gt;
&lt;h1 id="disposal-of-cars"&gt;Disposal of cars&lt;/h1&gt;
&lt;p&gt;When the car is disposed of, if the company is VAT regsitered.&lt;/p&gt;</description></item><item><title>Xero Accounting Tips</title><link>https://www.bytestone.uk/posts/xero/</link><pubDate>Sat, 10 Mar 2018 00:00:00 +0000</pubDate><guid>https://www.bytestone.uk/posts/xero/</guid><description>&lt;h1 id="directors-loan"&gt;Directors loan&lt;/h1&gt;
&lt;h2 id="directors-loan-pay-money-in"&gt;Directors loan Pay money in.&lt;/h2&gt;
&lt;p&gt;The standard directors loan account is NC 835. This can be marked
so that you can &lt;code&gt;Enable payments to this account&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;When you pay money into the company for working capital.&lt;/p&gt;
&lt;h3 id="from-other-source"&gt;From other source&lt;/h3&gt;
&lt;p&gt;Set up a liability account in Xero. Code the 600 pounds to this account
and the monthly payments. You then need to do a journal Debit equipment
purchases and Credit the liability account. You may need to consider
interest on the loan - not sure how your tax laws work, would be worth discussing with your accountant.&lt;/p&gt;</description></item></channel></rss>