About:
Paul Cochrane is a versatile software developer with a PhD in Physics, skilled in Python and Django, and experienced in diverse tech fields. Based in Germany, originally from New Zealand.
Website:
Specializations:
Interests:
Outgoing Links:
Subscribe to RSS:
The author explores the solution to the differential equation of simple harmonic motion, emphasizing the lack of intuitive understanding often provided in educational settings. They express frustration over the traditional present...
The post discusses the action of a simple harmonic oscillator (SHO) and how it varies with different paths. The author explains the principle of least action, using a mass on a spring as a toy example. The calculation of action fo...
This blog post provides a step-by-step guide on how to create a private area in a Jekyll-built static site using Apache for authentication. The author explains how to set up a 'subscribers' directory for articles intended for revi...
A physics problem about an uncoupled railway carriage illustrates how to calculate the distance traveled by both the train and the carriage using graphical and algebraic methods.
Django's handling of non-nullable string fields can lead to empty strings being saved instead of raising errors, but constraints can be added to enforce data integrity.
A frustrating VPN experience leads to a deep dive into DNS troubleshooting, ultimately revealing the importance of proper network configuration and persistence.
A comprehensive guide on shrinking VirtualBox disk images by converting VMDK to VDI format and utilizing TRIM support to reclaim disk space.
The blog post discusses the necessity of installing the acl package on remote hosts when using the become_user feature in Ansible. It highlights a common error encountered when legacy Ansible tasks fail due to outdated practices a...
A detailed guide on the pull request process in Git, illustrating collaboration through a practical example of two developers working on a fortune cookie program.
The post discusses the equivalence of two forms of the solution for a simple harmonic oscillator: the sum of sine and cosine functions versus the sine function with a phase shift. The author explains the confusion surrounding thes...
This post explains how to forward a Jekyll development server running in a Vagrant VM to allow access from the host system by configuring port forwarding and binding the server correctly.
The blog post details the author's iterative writing process, focusing on quality, documentation, and the tools used to enhance clarity and structure.
StreetComplete gamifies updating OpenStreetMap, making it fun and beneficial for community members, especially those with disabilities, while promoting exploration and engagement with local environments.
The text discusses the use of Perl Data Language for interactive analysis of bike ride FIT data. It explains the process of setting up PDL, creating a module, and manipulating data in the PDL shell. It also provides examples of ho...
The text discusses how to extract, collate, and print statistics about the data contained in a FIT file using Perl. It also covers the process of plotting time series data, specifically heart rate data, using Chart::Gnuplot. The a...
The text discusses how to parse FIT files and calculate basic statistics from the extracted data using Perl. It explains the FIT format, prerequisites, and provides code examples for data extraction and filtering.
The text is a retrospective of the German Perl/Raku workshop 2025 in Munich, Germany. It includes a summary of the talks, pre-conference meetup, and social interactions. The workshop featured various talks on topics such as API te...
The text is a detailed guide on how to handle indirect connections between stations in the Hannover tram network using Map::Tube. It explains the process of adding a new line, connecting stations, and testing the network. The auth...
The text is a detailed guide on building a map of tram lines in Hannover using Map::Tube. It discusses adding new lines, managing complexity, and testing the network. It also explains how to find routes between stations and how to...
The text is a how-to guide on adding a new tram line to the Map::Tube map, focusing on the process of adding a new line, connecting it to existing stations, and adding color to the lines for better visualization.
The text is a detailed guide on building Map::Tube maps, focusing on the structure of the map file, extending the network, and visualizing the railway network. It includes code examples and test-driven development to extend the tr...
The text is a detailed guide on how to create Map::Tube maps for different cities, with a focus on Hannover, Germany. The author explains the process of setting up a Perl module, creating a stub module, running tests, and developi...
The author introduces the DBIx::Class::ResultSet::PrettyPrint module, which pretty prints DBIx::Class result sets. The module was created to make printing DBIx::Class result sets easier and operates on DBIx::Class::ResultSet objec...