indexpost archiveatom feed syndication feed icon

Idle Cycles

A collection of thoughts and experiments that at one point occupied my time, some still do. These are the things happening in my idle cycles.

Debugging a Weird Python Slowdown

2024-04-13

I noticed some latency in a unit test on a single machine. It turned into a bit of a rabbit hole that took some time to get to the bottom of. I think I at least understand some libraries and tools better as a result though!

read more...

CGI Programming in Go

2024-03-12

While perusing the documentation I found an enticing reference to CGI programming. Go is of course a reasonably modern language compared to TCL but the fact that they've included support for CGI is novel given the state of Python which has deprecated its CGI module.

read more...

Minor Python Annoyances

2024-03-09

There have been a few instances lately in which I've found myself lamenting the number of libraries available to aid in testing Python. I'm getting the feeling again that not only is your test framework making things worse but also the ease of installing libraries exacerbates issues of quality in the design of projects.

read more...

Client Certificate Authentication with HAProxy

2024-03-03

After configuring HAProxy on this server I've been trying out a few things that have been in the back of my mind for some time. Here I document configuring a client certificate to mutually authenticate a web browser to a subdomain and limit access based on its presence.

read more...

Simple Automatic Site Generation

2024-02-25

How complicated could it really be to deploy this site? Some brief documentation and a test to ensure I have things working with a new "deployment" strategy to replace my old rsync workflow.

read more...

State of the Server

2024-02-18

It has been a few years and I've finally got around to revamping a few things on the server. Mostly these are notes in case I forget when I change something else in a couple years.

read more...

Profiling Hare Performance

2024-02-04

I read about some new debugging features recently added to Hare and it wasn't long before I found myself browsing around the mailing list. One recent thread that caught my eye has to do with the performance of a basic Hare program. These are a few notes on diagnosing where all those cycles are spent in a minimal program.

read more...

journald for centralized logging

2024-01-25

I have had an item on my to-do list for ages to investigate options for centralized logging. I'm especially interested in simple solutions rather than enterprise-grade approaches that require massive resources and dedicated maintenance. To that end I am trying out systemd-journal-remote to see how it integrates with an uncomplicated Linux server configuration.

read more...

Basic Auth with Python's xmlrpc.server

2023-07-15

Just a quick note on how easy it turned out to be to add basic authentication to the Python standard library's xmlrpc.server

read more...

Spooky Web Application Idea

2023-07-08

Just a silly idea for a web application that will put a chill down your spine.

read more...

Older Posts...