Website Logo
/ blog
Blog posts about:Programming

Do LLMs have style?

2025-06-30

A quick experiment of the stylistic tastes of LLMs in frontend design.

"getattr" is bad

2025-06-15

A plea for Python developers to stop using getattr so often

Python Code Smells - Passing self to objects

2025-04-18

Passing self into other Python objects is a common anti-pattern that dramatically increases complexity.

Google's Places API (new)

2025-03-30

Some gripes about Google's Places API

'Data' sucks

2025-03-23

The most consistently bad variable name.

Serverless Python Websites

2025-02-02

Some notes about the process of creating a serverless Python website, so that it is hosted for free on AWS.

Self Referential Type Hints with | in Python

2024-10-14

Exploring a quirk of Python's type hinting with the pipe operator

Dynamically Specifying Dependencies in Python with Setuptools and pyproject.toml

2024-09-22

Using setuptools to specify project metadata in pyproject.toml, but dependencies in python

Plotly Histogram is too big

2024-09-19

Some code to make a reasonable sized plotly histogram.

Downloading all your Facebook messages

2024-09-11

A guide on how to download all your Facebook messages for storage or analysis

Creating a 'Match 3' game in Pygame

2024-07-21

Exploring the hidden complexity of a good Match 3 game implementation.

Cards in Pygame

2024-06-27

Making rotating cards in Pygame

The AnyLogic Truncated Gamma Distribution is incorrect

2024-05-08

Using the Gamma distribution with the 6 parameter method returns incorrect values

AnyLogic Beta Distribution is Wrong for Large P or Q

2024-05-07

For p or q parameters greater than ~int32_max, AnyLogic's Beta distribution samples incorrect values

Python Import Error when in Editable Mode

2024-04-11

Fixing a Python bug caused by some interesting pip behaviour

Changing Python Version on Windows with no Admin Privileges

2023-11-27

How to install Python - The eternal question

AWS - Multiple Subdomains Per Certificate

2023-11-01

How to configure a certificate to cover subdomains AND apex domain.