Blog Archives

Integer Square Roots

Because I can, this post is about square roots

Tagged with: , ,
Posted in Python

Overlapping Time Zones

What you ever wondered “What part of the day has the most time zones on the same calendar day”?

Tagged with: ,
Posted in Python

A rational more accurate than its length

A rational number is a fractional number, like 22/7, with a numerator p (the 22) and a denominator q (the 7; must be non-zero). This post is about a question I had when looking at a rational approximation of π.

Tagged with: ,
Posted in Python

Simple Python Dictionary Viewer

Here is a simple Python dictionary viewer

Tagged with: , ,
Posted in Python

GOES-16 Image Downloader

Here’s a simple image downloader for the weather satellite GOES-16.

Tagged with: ,
Posted in Python

Stopping Fortran through Python

This is how to stop some Fortran code though Python, specifically Fortran with OpenMP through Python.

Tagged with: , , ,
Posted in Python

Monitoring Fortran through Python

Say you’ve compiled Fortran code with f2py to be able to run it through python, and it’s a rather long running process. Here’s a method to monitor its progress while it’s running.

Tagged with: , , ,
Posted in Python

Eratosthenes’ Sieve

Because I can, this post is about finding prime numbers with the sieve of Eratosthenes.

Tagged with: ,
Posted in Primes, Python

numtxt 1.2

Yet another update on the numtxt module. Technically, it’s now 1.2.1 but what the hey.

Tagged with: , , ,
Posted in Python

Number bases part 12: Mixed Bases

Yet another post about number bases! Instead of the usual positional bases, this post will look at mixed radix – mixed number bases. Mixed bases are what happen when someone goes “but what if I don’t wanna have the same

Tagged with: , ,
Posted in Number Bases, Python
In Archive
Design a site like this with WordPress.com
Get started