Graham Markall

@gmarkall
313 Followers
405 Following
408 Posts
Professional interests: Python, CUDA, Compilers.
Personal interests: RISC-V, PSXDev, OSHW, 日本語.
Recreation: family time, cycling, running, cooking.
Githubhttps://github.com/gmarkall
Personal site:https://big-grey.co.uk
LinkedIn, in a nutshell
How did I only learn today that you can trivially write a function that returns itself in Python?

I just noticed Python's math.nextafter with the steps kwarg seems like a good pedagogical tool for getting a feel for how floating point numbers work and represent values (see screenshot)

Also math.ulp() as a complementary tool:

>>> math.ulp(1.5)
2.220446049250313e-16

>>> math.ulp(1500000)
2.3283064365386963e-10

One of those "need a debugger for my debugger" Monday mornings
A large and complex code change is definitely best reviewed by looking at exactly one file at a time and navigating through files with a "previous / next" interface.
Yeah but this one goes up to 101...
The people spontaneously decide to recognize your many years of enlightened leadership. Craftsmen, masons, laborers, and artisans turn out to build a fine addition to your palace.
I too will continue to work, but may not perform at my peak either.