That sounds like a Dilbert quote π
07.11.2025 17:09 β π 1 π 0 π¬ 1 π 0@codedrome.bsky.social
I am a software developer from London, England, and I write about programming, mostly in Python, and various STEM topics. My articles are published on Substack.
That sounds like a Dilbert quote π
07.11.2025 17:09 β π 1 π 0 π¬ 1 π 0From the early 50s people have been trying to streamline the programming process or we'd all still be writing machine code. Somewhere along the continuum there's a point where the 0s and 1s generated are of a quality bad enough for the time saved to not be worthwhile.
07.11.2025 16:57 β π 0 π 0 π¬ 0 π 0I recently spotted an extraneous space after a dot in a bit of my Python code. Obviously invalid syntax apart from the fact that it isn't. This:
name = "Chris"
print(name. upper())
actually works! Why? How? Can anyone explain? It also works with a space before the dot.
#python #pythonprogramming
The first two of my series of articles on quadratic functions in Python are now live.
codedrome.substack.com/p/quadratic-...
codedrome.substack.com/p/quadratic-...
#python #pythonprogramming #programming #mathematics #algebra #quadraticfunctions
Try asking AI to point out the mistakes π
11.10.2025 15:03 β π 0 π 0 π¬ 0 π 0My latest Substack article: An Introduction to the Python Pillow Image Library
#python #pythonprogramming #pillow #imageediting
codedrome.substack.com/p/an-introdu...
I love assembly language. Except when I don't.
#assembly
#assemblylanguage
Exploring Sound Waves with Python
codedrome.substack.com/p/exploring-...
#python #pythonprogramming #physics #soundwaves
Part 1 of my series "Noughts and Crosses / Tic Tac Toe in Python". In this article I write a console/curses based implementation.
codedrome.substack.com/p/noughts-an...
#python #PythonProgramming
My latest Substack article "Calculating RGB Values from Light Wavelengths in Python".
codedrome.substack.com/p/calculatin...
#python
#pythonprogramming
Levenshtein Word Distance in Python. This algorithm calculates the number of steps required to change one word into another and has various uses including spell checking suggestions.
codedrome.substack.com/p/levenshtei...
#python
#pythonprogramming
#algorithms
#levenshtein
The Soundex Algorithm in Python
This algorithm assigns identical codes to words or names which it thinks are pronounced the same. It's not brilliant but coding it in Python is an interesting project.
codedrome.substack.com/p/soundex-al...
#python #pythonprogramming #programming #soundex #algorithms
Testing the Performance of Python Named Tuples: are named tuples slower than ordinary ones? Let's find out. (Spoiler alert: yes, a bit.)
codedrome.substack.com/p/testing-th...
#python #programming #tuple #namedtuple
In the second and final part of my series Exploring the Visible Spectrum with Python I plot the wavelengths, frequencies and energies of the colours of visible light using Matplotlib.
#python #pythonprogramming #programming #light #spectrum #physics #matplotlib
codedrome.substack.com/p/visible-sp...
Exploring the Visible Spectrum with Python Part 1
In this article I write Python code to calculate the frequencies, wavelengths, energies and RGB values of visible light.
#python #pythonprogramming #physics #numpy #matplotlib #light #spectrum
codedrome.substack.com/p/visible-sp...
Formula Triangles in Python Part 2 of 2.
Examining electrical current with Ohm's Law, Newton's First and Second Laws of Motion and more.
#python #pythonprogramming #programming #mathematics #physics
codedrome.substack.com/p/formula-tr...
New on Substack: Formula Triangles in Python Part 1
Many laws of physics can be expressed with just three values and illustrated using formula triangles which in this article I implement in Python.
#python #pythonprogramming #programming
#physics #mathematics
codedrome.substack.com/p/formula-tr...
New on Substack - Benfordβs Law in Python which describes the distribution of the first digits of most sets of numeric data. Here I explain the ideas and implement a demo in Python
codedrome.substack.com/p/benfords-l...
#statistics #benfordslaw #datascience #programming #python #pythonprogramming
My latest Substack article: Zipfβs Law in Python.
Zipf's Law describes a probability distribution that can be applied to many types of data and in this article I'll use it to analyse word frequencies in Bram Stoker's Dracula.
codedrome.substack.com/p/zipfs-law-...
My latest Substack article: Radians: An Exploration in Python
This article gives an overview of radians as a unit of angle measurement, shows how to convert between radians and degrees, and how to use radians in Python trigonometric functions.
codedrome.substack.com/p/radians-an...
My Substack article "Estimating Pi in Python". There are many ways to estimate pi and in this article I've coded a few in Python.
codedrome.substack.com/p/estimating...
New Substack article "The Caesar Shift Cypher in Python"
codedrome.substack.com/p/the-caesar...
Python Hub Weekly Digest for 2025-01-12
https://pythonhub.dev/digest/2025-01-12/
Handy article on Python dataclasses
jacobpadilla.com/articles/pyt...
My latest Substack article "Exploring Radioactive Decay Half-Lives with Python"
codedrome.substack.com/p/radioactiv...
My first post! My programming content is now published on Substack and I aim to create one new article each week. I mostly write about implementing some topic in science or mathematics in Python. This is a link to my Substack articles.
codedrome.substack.com/archive