<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Robert Andrew Spencer</title>
    <link>https://robertandrewspencer.com/</link>
    <description>Recent content on Robert Andrew Spencer</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 10:00:19 +0100</lastBuildDate>
    <atom:link href="https://robertandrewspencer.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Amateur</title>
      <link>https://robertandrewspencer.com/amateur/</link>
      <pubDate>Sun, 04 Oct 2026 10:00:19 +0100</pubDate>
      <guid>https://robertandrewspencer.com/amateur/</guid>
      <description>Call me an Amateur Mathematician. Not because my work is amateurish &amp;mdash; that is, not very good &amp;mdash; but rather in the original sense of the word: I do mathematics for the love of it, rather than for financial compensation.&#xA;After completing my PhD in 2022 I have kept the lights on at home by writing software of various forms. The realities of academia, particularly as someone from the Global South, made it difficult to justify doing mathematics for money.</description>
    </item>
    <item>
      <title>Cell Modules for type $A$ Webs</title>
      <link>https://robertandrewspencer.com/research/cell-modules-for-a-n-webs/</link>
      <pubDate>Sat, 28 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/cell-modules-for-a-n-webs/</guid>
      <description></description>
    </item>
    <item>
      <title>Cell Modules for the Temperley-Lieb Algebra in Mixed Characteristic</title>
      <link>https://robertandrewspencer.com/research/cell-modules-for-tln/</link>
      <pubDate>Wed, 28 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/cell-modules-for-tln/</guid>
      <description></description>
    </item>
    <item>
      <title>Don&#39;t Try This At Home</title>
      <link>https://robertandrewspencer.com/dont-try-this-at-home/</link>
      <pubDate>Wed, 28 Jan 2026 00:00:00 +0100</pubDate>
      <guid>https://robertandrewspencer.com/dont-try-this-at-home/</guid>
      <description>A few months ago I found myself with a fun little problem and decided to solve it in the most insane way I knew how.&#xA;Background I was maintaining PyBloqs, an open source framework for creating data-heavy reports from python. The specifics are not important to this story, but I&amp;rsquo;d recently added a dynamic server to the project.&#xA;In a nutshell, users could define dynamic dashboards similar to streamlit or dash, but much simpler.</description>
    </item>
    <item>
      <title>$\texttt{native-dot-py}$</title>
      <link>https://robertandrewspencer.com/native_dot_py/</link>
      <pubDate>Mon, 08 Dec 2025 15:22:46 +0000</pubDate>
      <guid>https://robertandrewspencer.com/native_dot_py/</guid>
      <description>Here&amp;rsquo;s something you can do but definitely shouldn&amp;rsquo;t.&#xA;To be clear, there is no trickery here. All these commands were executed as shown above1.&#xA;The magic trick is actually in the codec header. In a move shamelessly stolen from dict-unpacking-at-home we introduce a .pth file that installs our decoder. The decoder lives in the package native-dot-py=0.1.0 and simply copies the file to a temporary directory, runs cargo build and loads the dynamic library as any other native extension would.</description>
    </item>
    <item>
      <title>Wizard</title>
      <link>https://robertandrewspencer.com/wizard/</link>
      <pubDate>Thu, 08 May 2025 07:11:21 +0100</pubDate>
      <guid>https://robertandrewspencer.com/wizard/</guid>
      <description>A strange thing keeps happening in my professional life: people keep calling me a wizard1.&#xA;Its not because of my large beard or pointy hat, I&amp;rsquo;m sure, but my skill with the computer. As the famous aphoroism goes:&#xA;Any sufficiently advanced technology is indistinguishable from magic.&#xA;- Clarke&#39;s third law However, I&amp;rsquo;d posit:&#xA;Any sufficiently proficient practitioner of technology is indistinguishable from a magician.&#xA;- A logical conclusion While technology as magic is not a new concept (though I think there is a lot more to be said about it), I think likening me to a wizard is more correct than either of my colleagues realised.</description>
    </item>
    <item>
      <title>Hints and Nudges</title>
      <link>https://robertandrewspencer.com/inline_typehints/</link>
      <pubDate>Mon, 21 Apr 2025 00:00:01 +0000</pubDate>
      <guid>https://robertandrewspencer.com/inline_typehints/</guid>
      <description>Which of these identically implemented Python functions has the best signature?1&#xA;def add_new_item_to_shopping_list( list_: tuple[str, ...], item: str ) -&amp;gt; tuple[str, ...]: return tuple((new_item, *shopping_list)) def anitsl(l: tuple[str, ...], i: str) -&amp;gt; tuple[str, ...]: return tuple((i, *l)) def add_item(shopping_list: tuple[str, ...], new_item: str) -&amp;gt; tuple[str, ...]: return tuple((shopping_list, *new_item)) Well, the second option is obviously terrible (though some style guides would claim that the only problem is that there are five too many letters in the function name).</description>
    </item>
    <item>
      <title>Colouring a Rainbow</title>
      <link>https://robertandrewspencer.com/rainbow/</link>
      <pubDate>Wed, 25 Sep 2024 07:04:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/rainbow/</guid>
      <description>A long time ago I had a professor who was into photographing atmospheric optical phenomena like sun dogs. This inspired me to try work out exactly how these rainbow-like oddities occur. Any physics class will give you the basics: light reflects off water droplets and spreads out into a spectrum which we see as a rainbow.&#xA;But how does it reflect off the water droplets? Why does it split into a specturm?</description>
    </item>
    <item>
      <title>The Best Static HTML Generator</title>
      <link>https://robertandrewspencer.com/static_html_generator/</link>
      <pubDate>Sun, 25 Aug 2024 21:54:33 +0100</pubDate>
      <guid>https://robertandrewspencer.com/static_html_generator/</guid>
      <description>This bank holiday weekend I found myself writing a small amount of documentation for project I was doing. I wanted it to be simple and easy to edit but still look good and feel professional.&#xA;I started out writing some pure HTML and used simple.css to style the semantic elements. It was looking very neat, and I was enjoying getting back to the roots of web development by writing out tags manually instead of using a markdown parser.</description>
    </item>
    <item>
      <title>What is Securities Fraud, Matt?</title>
      <link>https://robertandrewspencer.com/matt_levine_securities_fraud/</link>
      <pubDate>Tue, 06 Aug 2024 06:26:56 +0000</pubDate>
      <guid>https://robertandrewspencer.com/matt_levine_securities_fraud/</guid>
      <description>Matt Levine is a columnist at Bloomberg where he has a column called Money Stuff.&#xA;One of the running themes in his pieces is that everything — according to him — is securities fraud . One would expect him to cover a fair amount of fraud as a financial columnist with legal training, but the list of things he&amp;rsquo;s claimed to be securities fraud over the years is&amp;hellip; extensive.&#xA;However, I couldn&amp;rsquo;t find a definitive list of Things Matt Levine Thinks are Securities Fraud, so I wrote a quick script to scrape the archive on Bloomberg and, well&amp;hellip;</description>
    </item>
    <item>
      <title>Twenty One</title>
      <link>https://robertandrewspencer.com/twenty_one/</link>
      <pubDate>Sat, 09 Mar 2024 12:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/twenty_one/</guid>
      <description> </description>
    </item>
    <item>
      <title>Paku Waka</title>
      <link>https://robertandrewspencer.com/paku_waka/</link>
      <pubDate>Sun, 11 Feb 2024 12:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/paku_waka/</guid>
      <description>They say that imitation is the sincerest form of flattery.&#xA;This was my first foray into small game development. I decided to make some things easier, and add restrictions to other things. These were the rules when I started.&#xA;Paku paku is a lot of fun. I am copying recreating it, and the game should have no more scope than that. The game should be written in five one-hour sprints. For the first four hours, I am only allowed to compile the code during the last ten minutes.</description>
    </item>
    <item>
      <title>Pick a Number ...</title>
      <link>https://robertandrewspencer.com/pick-a-number/</link>
      <pubDate>Mon, 14 Aug 2023 15:55:19 +0100</pubDate>
      <guid>https://robertandrewspencer.com/pick-a-number/</guid>
      <description>&amp;hellip; any number.&#xA;You&amp;rsquo;ll probably want this number to have three or four digits. Fewer might be boring and more may get a bit complicated.&#xA;If you don&amp;rsquo;t feel like working through this trick open the example boxes. It&amp;rsquo;s really better if you do it yourself (the first time) though.&#xA;Example Let&amp;rsquo;s choose $5701$. Let&amp;rsquo;s say the number has $n$ digits. We are going to make $n$ &amp;ldquo;layers&amp;rdquo; of numbers. The first layer only has one number in it: the number you chose.</description>
    </item>
    <item>
      <title>...</title>
      <link>https://robertandrewspencer.com/python_ellipses/</link>
      <pubDate>Sun, 23 Apr 2023 11:08:37 +0100</pubDate>
      <guid>https://robertandrewspencer.com/python_ellipses/</guid>
      <description>The following is valid python code:&#xA;def some_function(): ... That&amp;rsquo;s not a placeholder, that&amp;rsquo;s a constant called Ellipsis:&#xA;&amp;gt;&amp;gt;&amp;gt; ... Ellipsis &amp;gt;&amp;gt;&amp;gt; Ellipsis Ellipsis &amp;gt;&amp;gt;&amp;gt; ... is Ellipsis True The result is that the function some_function runs, it just returns nothing (since the only expression evaluates a constant and does nothing with it). Its like the todo! in rust except it doesn&amp;rsquo;t crash.&#xA;So what&amp;rsquo;s the point? Well just to name a few, docs where you don&amp;rsquo;t want to fill in the function body, type hints like Tuple[int, .</description>
    </item>
    <item>
      <title>$\texttt{NaN}$? Nah.</title>
      <link>https://robertandrewspencer.com/nan_nah/</link>
      <pubDate>Fri, 17 Mar 2023 19:24:07 +0000</pubDate>
      <guid>https://robertandrewspencer.com/nan_nah/</guid>
      <description>Let&amp;rsquo;s talk about floats.&#xA;Floating point numbers are complicated. They are meant to represent &amp;ldquo;any number&amp;rdquo; by which we probably mean any real number. However this is of course impossible, since there are only $2^{64}$ possible values that can be stored in a 64-bit float, and the number of reals is uncountably infinite.&#xA;To solve this, we represent a subset of rational numbers and declare the job done. For good measure, we throw in $\pm \infty$ and the concept of &amp;ldquo;not-a-number&amp;rdquo; or NaN.</description>
    </item>
    <item>
      <title>PhD</title>
      <link>https://robertandrewspencer.com/research/phd/</link>
      <pubDate>Sun, 22 Jan 2023 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/phd/</guid>
      <description>This is my thesis for my Doctor of Philosophy degree.</description>
    </item>
    <item>
      <title>Git lg with links</title>
      <link>https://robertandrewspencer.com/git_lg_with_links/</link>
      <pubDate>Sat, 07 Jan 2023 16:57:42 +0000</pubDate>
      <guid>https://robertandrewspencer.com/git_lg_with_links/</guid>
      <description>Click on commit hashes in git log --graph in order to check out that commit.&#xA;I&amp;rsquo;ve recently started using the terminal kitty, and something that&amp;rsquo;s impressed me is the custom handling of terminal hyperlinks.&#xA;While clicking on files to open them in your chosen editor, or cd to the directory output of ls --hyperlink=auto is neat, something I&amp;rsquo;ve been doing a lot of recently is jumping between commits in a complicated git history.</description>
    </item>
    <item>
      <title>Advent of Code: A koan</title>
      <link>https://robertandrewspencer.com/aoc_2022_1/</link>
      <pubDate>Mon, 12 Dec 2022 00:00:01 +0000</pubDate>
      <guid>https://robertandrewspencer.com/aoc_2022_1/</guid>
      <description>This year, I&amp;rsquo;m doing the Advent of Code and for career reasons I&amp;rsquo;m doing it in q.&#xA;In many ways q is a terrifying language1 and this seemed like a good opportunity to get more experience with it.&#xA;On the first day of AoC, the problem came to be:&#xA;Find the maximum sum of a given set of lists of positive integers. The input will be a flat array of integers with None separating the lists.</description>
    </item>
    <item>
      <title>Sort by Hue</title>
      <link>https://robertandrewspencer.com/sort-by-hue/</link>
      <pubDate>Wed, 09 Nov 2022 18:54:28 +0000</pubDate>
      <guid>https://robertandrewspencer.com/sort-by-hue/</guid>
      <description>My childhood bookshelf was sorted according to the Dewey Decimal System.&#xA;It&amp;rsquo;s an imperfect system concocted by an imperfect man1 and it showed. Fiction 823, the bulk of my teenage library, sat awkwardly in the middle between general maths 511 and world history 909. Algorithm design 005.1 sat uncomfortably close to unexplained mysteries 001.94.&#xA;As a result, my collection didn&amp;rsquo;t stay that way for long. I kept the good bits of the system (fiction at eye level and sorted by author surname) and discarded the less sensible &amp;mdash; putting maths and computer science together.</description>
    </item>
    <item>
      <title>What are Quantum Numbers?</title>
      <link>https://robertandrewspencer.com/quantum-numbers-definitions/</link>
      <pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/quantum-numbers-definitions/</guid>
      <description>In the course of my PhD, I was often working with quantum numbers. These are quite mysterious entities and though we know a fair amount about them, its often a lot of folklore.&#xA;Nonetheless, they are a fascinating generalisation of &amp;ldquo;normal&amp;rdquo; numbers, so I&amp;rsquo;m going write a series about them. In this first installment, we&amp;rsquo;ll define them, and play with them, and then ask a question I honestly don&amp;rsquo;t know how to answer.</description>
    </item>
    <item>
      <title>&#34;I Hate Paintings&#34;</title>
      <link>https://robertandrewspencer.com/i-hate-paintings/</link>
      <pubDate>Sat, 04 Jun 2022 15:16:36 +0000</pubDate>
      <guid>https://robertandrewspencer.com/i-hate-paintings/</guid>
      <description>An excerpt from &amp;ldquo;The Pocket Guide to Artistry in the 20th Century&amp;rdquo; by Sir A. R. Tiste, with a post-note by the author.&#xA;Chapter 4: Dealing with Friends, Family, and Acquaintances My candle burns at both ends;&#xA;It will not last the night;&#xA;But ah, my foes, and oh, my friends&amp;mdash;&#xA;It gives a lovely light! &amp;mdash; Edna St. Vincent Millay&#xA;The established artist is appreciated by her peers, accepted by her friends and revered by the public.</description>
    </item>
    <item>
      <title>AntennaPod Rewind</title>
      <link>https://robertandrewspencer.com/antennapod-rewind/</link>
      <pubDate>Wed, 16 Mar 2022 15:05:14 +0000</pubDate>
      <guid>https://robertandrewspencer.com/antennapod-rewind/</guid>
      <description>I use AntennaPod to listen to podcasts.&#xA;Its a great little piece of software: one of the few open source mobile applications that feels polished. Onboarding is great, its easy to find and subscribe to new podcasts, and it has all the gratuitous settings I expect by now of open source software. The interface is mostly intuitive and it JustWorks™.&#xA;One of the podcasts I listen to is 99% Invisible. Its a show about design in all its many shapes and forms and I honestly didn&amp;rsquo;t expect to be the kind of person who cares much for &amp;ldquo;Design&amp;rdquo;.</description>
    </item>
    <item>
      <title>Naked Science — Endurance Found!</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-8/</link>
      <pubDate>Mon, 14 Mar 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-8/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guest voices John James and Viv James&#xA;Adrian Glover&#xA;Mensun Bound Lead-in Julia Ravey </description>
    </item>
    <item>
      <title>Naked Science — Cyberwarfare</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-7/</link>
      <pubDate>Sun, 06 Mar 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-7/</guid>
      <description> Producer Robert Spencer Presenters Robert Spencer and Chris Smith Guests Solomiya (From Kyiv)&#xA;James Lyne (Cyber in context)&#xA;Chris Folkerd and Stephen Crow (Attack vs Defense)&#xA;Heather Harrison-Dinnis (Legal) 🇺🇦 Slava Ukraini 🇺🇦 </description>
    </item>
    <item>
      <title>Naked Science — Lit Gillnets</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-6/</link>
      <pubDate>Fri, 04 Mar 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-6/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guests Charlotte Birkmanis Lead-in Chris Smith </description>
    </item>
    <item>
      <title>Met Statistics</title>
      <link>https://robertandrewspencer.com/met-statistics/</link>
      <pubDate>Fri, 04 Mar 2022 10:22:46 +0000</pubDate>
      <guid>https://robertandrewspencer.com/met-statistics/</guid>
      <description>There are three types of lies.&#xA;Lies, damned lies, and statistics. &amp;mdash; Unknown&#xA;The Metropolitan police in London uses Live Facial Recognition (LFR) to find offenders on watch-lists in public places.&#xA;The practice is controversial, to say the least. It has been challenged in UK courts and Amazon has indefinitely halted providing its service, Rekogition, to law enforcement agencies.&#xA;In the spirit of accountability, the Met keeps records of when it deploys LFR.</description>
    </item>
    <item>
      <title>Naked Science — Atomic clocks</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-5/</link>
      <pubDate>Tue, 22 Feb 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-5/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guests Jun Ye Lead-in and Lead-out Julia Ravey </description>
    </item>
    <item>
      <title>Bring /me Back</title>
      <link>https://robertandrewspencer.com/bring-me-back/</link>
      <pubDate>Fri, 11 Feb 2022 16:26:56 +0000</pubDate>
      <guid>https://robertandrewspencer.com/bring-me-back/</guid>
      <description>I am too young to reminisce.&#xA;My parents spent more time on IRC1s than I did, but there is one aspect of the system I sorely miss.&#xA;tulip: turns out Einstein was a real guy tulip: im shook tulip: i thought he was just some theoretical physicist * rspencer sighs into his beard That last line was triggered by a /me command. Instead of sending a normal message, I&amp;rsquo;d have typed /me sighs into his beard.</description>
    </item>
    <item>
      <title>Naked Science — Facial recognition</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-4/</link>
      <pubDate>Fri, 11 Feb 2022 10:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-4/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guests Gareth Mitchell, Stephanie Hare, and Lord Clement-Jones </description>
    </item>
    <item>
      <title>Naked Science — Black hole seen forming new stars</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-3/</link>
      <pubDate>Wed, 09 Feb 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-3/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guest Zachary Schutte Lead-in Otis Kingsman </description>
    </item>
    <item>
      <title>Naked Science — Trees for the Jubilee</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-2/</link>
      <pubDate>Mon, 07 Feb 2022 10:00:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-2/</guid>
      <description> Producers Anoushka Handa and Robert Spencer Presenters Anoushka Handa and Robert Spencer Guests Richard Buggs (Ash Dieback)&#xA;David Coomes (Alder and Frankia Alni)&#xA;Richard Head (Longbows)&#xA;Chantal Helm (Cambridge Botanic Gardens)&#xA;James Littlwood (Cambridge PPF) </description>
    </item>
    <item>
      <title>Naked Science — Game of Life still revealing secrets</title>
      <link>https://robertandrewspencer.com/naked_science/naked-science-1/</link>
      <pubDate>Fri, 04 Feb 2022 14:25:24 +0000</pubDate>
      <guid>https://robertandrewspencer.com/naked_science/naked-science-1/</guid>
      <description> Producer Robert Spencer Presenter Robert Spencer Guests Ville Salo and Ilkka Törmä Lead-in Anoushka Handa </description>
    </item>
    <item>
      <title>Where Have You Been?</title>
      <link>https://robertandrewspencer.com/wherebeen/</link>
      <pubDate>Sat, 18 Dec 2021 20:49:21 +0000</pubDate>
      <guid>https://robertandrewspencer.com/wherebeen/</guid>
      <description>Here is an interesting picture:&#xA;Earlier this year, my partner and I holidayed in Dubrovnik, Croatia. This is a picture of that trip.&#xA;More exactly, its a picture of where I was during that holiday. I had set my phone to record its position every fifteen seconds or so. Then, when I was back home, I translated that data into the above image.&#xA;Every black pixel represents a point reported by my phone and we can pick out some pretty interesting features.</description>
    </item>
    <item>
      <title>Non-induced modular representations of cyclic groups</title>
      <link>https://robertandrewspencer.com/research/non-induced-modular-representations-of-cyclic-groups/</link>
      <pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/non-induced-modular-representations-of-cyclic-groups/</guid>
      <description></description>
    </item>
    <item>
      <title>MicroJSON</title>
      <link>https://robertandrewspencer.com/microjson/</link>
      <pubDate>Sun, 24 Oct 2021 18:06:54 +0100</pubDate>
      <guid>https://robertandrewspencer.com/microjson/</guid>
      <description>I published microjson today.&#xA;It&amp;rsquo;s a tiny crate, designed to do exactly one thing &amp;mdash; read JSON. It&amp;rsquo;s not very fast, doesn&amp;rsquo;t let you serialize objects, doesn&amp;rsquo;t unpack JSON into custom structs1 and doesn&amp;rsquo;t expose multiple APIs.&#xA;But there is one other thing it doesn&amp;rsquo;t do which I think is important: it doesn&amp;rsquo;t allocate any memory.&#xA;It also doesn&amp;rsquo;t have any dependencies.&#xA;No allocations: no_std The use case for microjson is tiny applications (embedded) that need to extract a small amount of data from some JSON once.</description>
    </item>
    <item>
      <title>How to Eat Eggs</title>
      <link>https://robertandrewspencer.com/eggs/</link>
      <pubDate>Fri, 10 Sep 2021 17:03:24 +0100</pubDate>
      <guid>https://robertandrewspencer.com/eggs/</guid>
      <description>How should you eat your eggs? I don&amp;rsquo;t mean sunny-side up or scrambled or as an omelette. I&amp;rsquo;m asking which order you should remove them from the carton. See, a while back the internet exploded over whether left-to-right or right-to-left was the &amp;ldquo;correct choice&amp;rdquo;1.&#xA;Eventually some people started to insist that from the centre out was the only option to &amp;ldquo;preserve balance&amp;rdquo;. But is it?&#xA;A colleague and I were discussing this today2 and realised there is a nice little puzzle here.</description>
    </item>
    <item>
      <title>Waveform Collapse Part 1</title>
      <link>https://robertandrewspencer.com/wfc1/</link>
      <pubDate>Fri, 27 Aug 2021 14:08:59 +0100</pubDate>
      <guid>https://robertandrewspencer.com/wfc1/</guid>
      <description>Here&amp;rsquo;s a picture from a project I&amp;rsquo;ve been tinkering with for a few weeks. Scroll to the bottom for a moving version.&#xA;An Introduction to the Algorithm The idea of this algorithm is to use Wave Function Collapse to construct a natural feeling castle shape in 3D. I&amp;rsquo;ve tinkered with WFC a few times in the past but this is my first attempt at implementing it on a 3D grid (as opposed to a 2D image).</description>
    </item>
    <item>
      <title>A Case for Static Analysis</title>
      <link>https://robertandrewspencer.com/rust_static_analysis/</link>
      <pubDate>Tue, 03 Aug 2021 18:46:52 +0100</pubDate>
      <guid>https://robertandrewspencer.com/rust_static_analysis/</guid>
      <description>I recently was browsing some code on GitHub when I came across a strange source file. From what I could read, there was a glaring bug in the code. It wouldn&amp;rsquo;t mean that the code didn&amp;rsquo;t work, merely that it wouldn&amp;rsquo;t work as expected (or documented).&#xA;What was strange though was how small the file was (barely more than a screen) and how clearly the bug stood out. Surely it should have been caught, I thought.</description>
    </item>
    <item>
      <title>Modular Valenced Temperley-Lieb Algebras</title>
      <link>https://robertandrewspencer.com/research/modular-valenced-temperley-lieb/</link>
      <pubDate>Sun, 01 Aug 2021 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/modular-valenced-temperley-lieb/</guid>
      <description></description>
    </item>
    <item>
      <title>Writing Better Proofs Part 6: State Clearly</title>
      <link>https://robertandrewspencer.com/writing-proofs-clearly-stated/</link>
      <pubDate>Fri, 28 May 2021 11:28:58 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-clearly-stated/</guid>
      <description>This one is specifically for the students writing exams.&#xA;If you are asked to clearly state a result in your proof, do so.&#xA;I don&amp;rsquo;t like to give full proofs in this series, as I believe that these are general tips not tied to any particular subject. However, I think this one is most easily demonstrated with an example.&#xA;Consider this problem1:&#xA;Problem: Show that the minimum weight a BCH code with design distance \(\delta\) is at least \(\delta\).</description>
    </item>
    <item>
      <title>Writing Better Proofs Part 5: An Exercise for the Reader</title>
      <link>https://robertandrewspencer.com/writing-proofs-exercise/</link>
      <pubDate>Mon, 24 May 2021 18:20:43 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-exercise/</guid>
      <description>This one is easy:&#xA;Never explicitly leave part of the proof &amp;ldquo;up to the reader&amp;rdquo;.&#xA;If you are writing a proof, you must convince the reader that the result holds. Asking the reader to show intermediate results or perform calculations just goes towards convincing them that you don&amp;rsquo;t have a complete solution1.&#xA;There are some easy phrases you should avoid:&#xA;It can be shown that&amp;hellip; A quick calculation yields&amp;hellip; It isn&amp;rsquo;t hard to see that&amp;hellip; Showing this is a quick exercise.</description>
    </item>
    <item>
      <title>Writing Better Proofs Part 4: Induction</title>
      <link>https://robertandrewspencer.com/writing-proofs-induction/</link>
      <pubDate>Thu, 20 May 2021 10:41:28 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-induction/</guid>
      <description>Of all the types of proof, proof by induction is the one I see botched the most often.&#xA;Induction proofs are a very specific type of proof with some very specific requirements. Failing to cover all of the requirements, at best is not a complete proof, and at worst will result in fatal flaws in the argument.&#xA;Anatomy of an Induction Proof All induction proofs need to have the same basic steps:</description>
    </item>
    <item>
      <title>Writing Better Proofs Part 3: Notation</title>
      <link>https://robertandrewspencer.com/writing-proofs-notation/</link>
      <pubDate>Mon, 17 May 2021 13:10:35 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-notation/</guid>
      <description>When writing a proof we often have a choice of notation. Perhaps we are naming variables or deciding if functions act from the left \( \theta(x) \), or right \( (x)\vartheta\). We may be referring to existing theorems or constructions (is it the HOMFLY polynomial or the HOMFLYPT?) or may need to introduce our own.&#xA;In all cases there is a single golden rule: be consistent.&#xA;As long as you set out your notation early and stick to it, you are being clear.</description>
    </item>
    <item>
      <title>Writing Better Proofs Part 2: Recap</title>
      <link>https://robertandrewspencer.com/writing-proofs-recap/</link>
      <pubDate>Fri, 14 May 2021 08:41:21 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-recap/</guid>
      <description>Proof can rapidly get complicated or involve multiple cases and edge conditions. Once you have finished tying up all the loose ends, take the time to give a very quick recap of what you have actually done.&#xA;Using the Going Up theorem we can extend &amp;hellip; and so \(\dim R \ge \dim S\).&#xA;On the other hand, if we have &amp;hellip; and thus \(\dim S \ge \dim R\).&#xA;We have thus shown that \(\dim R \ge \dim S\) and \(\dim R\le \dim S\) and so these must in fact be equal.</description>
    </item>
    <item>
      <title>LaTeX in 2021</title>
      <link>https://robertandrewspencer.com/latex_2/</link>
      <pubDate>Wed, 12 May 2021 17:16:15 +0200</pubDate>
      <guid>https://robertandrewspencer.com/latex_2/</guid>
      <description>You may recall my rant about LaTeX in 2020. In short, trying to &amp;ldquo;update&amp;rdquo; an installation of TeXLive had me running down internet rabbit holes, fuming about poor versioning, and generally tearing out my hair. It was not pretty.&#xA;Thankfully that story has a happy ending.&#xA;Shortly after writing that post, I discovered TinyTeX. TinyTeX is one of those rare pieces of software that does what it says on the tin, correctly, first time.</description>
    </item>
    <item>
      <title>Writing Better Proofs Part 1: Why Bother?</title>
      <link>https://robertandrewspencer.com/writing-proofs-intro/</link>
      <pubDate>Mon, 12 Apr 2021 16:34:38 +0200</pubDate>
      <guid>https://robertandrewspencer.com/writing-proofs-intro/</guid>
      <description>I&amp;rsquo;ve done a fair share of reading mathematical proofs. It comes with the territory. As an aspiring professional mathematician I expect to spend a substantial chunk of my remaining lifetime reading (and hopefully writing) proofs.&#xA;During my PhD, I&amp;rsquo;ve taught scores of undergraduate students and marked hundreds of problem sets. I&amp;rsquo;ve seen it all, from rote copies of the results from lectures (complete with errors verbatim), to proofs that were unintelligible, to submissions that made me want to read them again because they were just that good.</description>
    </item>
    <item>
      <title>\((\ell, p)\)-Jones-Wenzl Idempotents</title>
      <link>https://robertandrewspencer.com/research/l-p-jones-wenzl/</link>
      <pubDate>Tue, 16 Feb 2021 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/l-p-jones-wenzl/</guid>
      <description></description>
    </item>
    <item>
      <title>The Modular Temperley-Lieb Algebra</title>
      <link>https://robertandrewspencer.com/research/modular-temperley-lieb/</link>
      <pubDate>Mon, 02 Nov 2020 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/modular-temperley-lieb/</guid>
      <description></description>
    </item>
    <item>
      <title>LaTeX in 2020</title>
      <link>https://robertandrewspencer.com/latex/</link>
      <pubDate>Sun, 09 Aug 2020 19:03:04 +0100</pubDate>
      <guid>https://robertandrewspencer.com/latex/</guid>
      <description>My PhD is in Pure Mathematics. Every day I read beautiful documents typeset in the wondrous system of LaTeX. It is neat, elegant, easy on the eyes and designed with mathematicians in mind. I love LaTeX documents, and so should you.&#xA;But it is not only in academic writing that the TeX&amp;rsquo;ed document appeals. The archery club I run has its minutes taken (not by me) in LaTeX. This blog, when it has formulae, will use some form of TeX.</description>
    </item>
    <item>
      <title>Circles</title>
      <link>https://robertandrewspencer.com/circles/</link>
      <pubDate>Sat, 08 Aug 2020 12:13:10 +0100</pubDate>
      <guid>https://robertandrewspencer.com/circles/</guid>
      <description> </description>
    </item>
    <item>
      <title>Jacobsthal Elements</title>
      <link>https://robertandrewspencer.com/research/jacobsthal/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/jacobsthal/</guid>
      <description>The Jacobsthal elements, \(\mathcal{J}_n\) of \(\text{TL}_n\) are defined by Boyd and Hepworth12. They are so named as the number of diagrams in their support is given by the Jacobsthal numbers. There is an exact sequence \[0 \xrightarrow{} \mathcal{F}_n \xrightarrow{} \text{TL}_n\xrightarrow{-\cdot\mathcal{J}_n} \text{TL}_n\] where \(\mathcal{F}_n\) is the mysterious &amp;ldquo;Fineberg&amp;rdquo; module.&#xA;We present some of the Jacobsthal elements and some information about them below. In these calculations, \(X = \mu/ \lambda = -v\) and the loop resolves to a factor of \(v + v^{-1} = -X - X^{-1}\).</description>
    </item>
    <item>
      <title>Jones-Wenzl Idempotents</title>
      <link>https://robertandrewspencer.com/research/jones-wenzl/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://robertandrewspencer.com/research/jones-wenzl/</guid>
      <description>Here are some of the Jones-Wenzl idempotents in the Temperley-Lieb algebras. The coefficients are computed using Scott Morrison&amp;rsquo;s formula and my library temperley_lieb_cat. The data files can be deserialised, though calculation through jw(n) should be fast enough for all the values below. The pdf files use the convention that a closed loop resolves to \(X\).&#xA;\(\text{JW}_1\) pdf data \(\text{JW}_2\) pdf data \(\text{JW}_3\) pdf data \(\text{JW}_4\) pdf data \(\text{JW}_5\) pdf data \(\text{JW}_6\) pdf data \(\text{JW}_7\) data \(\text{JW}_8\) data \(\text{JW}_9\) data From \(\text{JW}_7\) onwards, \(\LaTeX\) refuses to compile the document and from around 10 onwards, the coefficients overflow signed 128-bit integers and I haven&amp;rsquo;t yet implemented larger number values.</description>
    </item>
  </channel>
</rss>
