Some TILs

Ulysses pact: a freely made decision to bind yourself in the future. Used for living wills in modern day but originated from Greek mythology.

December 22, 2024 · 2 min · 414 words · Medium

Hot Reloading with Local Docker Development

tl;dr You can find the source code for a bare-bones dockerized python HTTP server with hot reloading using fastapi on this Github page.

July 19, 2020 · 3 min · 608 words · Medium

Data Science for Software Engineers — Joint Probability Matrices

Joint Probability Matrices — An ‘Extension of the Confusion Matrix’ for Continuous Variables

May 25, 2020 · 8 min · 1596 words · Medium

Python 3.9 StatsProfile — My first OSS Contribution to cPython

You can try out all of the code in this article yourself using this Google Colaboratory notebook. If you’ve ever tried to debug and optimize your python application, it’s likely that you stumbled upon Python Profiles to understand where most of the execution time is being spent. You enable the profiler at the beginning of a code segment you’re interested in profiling with pr.enable(), and call pr.create_stats() at the end. Afterwards, you can create a Stats object, and print the results in a human readable format with ps.print_stats(). ...

February 17, 2020 · 4 min · 735 words · Medium