Python’s float type is a natural first step to represent monetary amounts in the code. Almost all platforms map Python floats to IEEE-754 “double precision”.
Doubles contain 53 bits of precision. When the machine is trying to represent the fractional part... (more…)
Read more »
https://cnfl.io/coding-in-motion-episode-2 | How do you get live notifications from a service that doesn’t support live notifications? Can you watch an onlin... (more…)
Read more »
Python is a programming language that has close relationship with C. Calling C functions from Python is straightforward via ctypes. (more…)
Read more »
Who else hates doing repetitive tasks that you know could be automated? I know I do 🙋♀️. This is part two about how I used cron jobs and python to take care of ‘the boring stuff’ (link to Part 1). In this article I will discuss how I used Strava’s API... (more…)
Read more »
Having too many custom exceptions on a project can be a pain, but a few choices are nice. The problem... (more…)
Read more »