As I thought I might, today I spent some
time adding full and relatively honest type hints to my recent
Python program. The
experience didn't go entirely smoothly and it left me with a number
of learning experiences and things I want to note down in case... (more…)
Read more »
We usually care about keeping our terminal tools up to date. pip however doesn't provide an easy way to upgrade CLI packages. Here's a workaround. (more…)
Read more »
A decorator to aid in annotating logs for easier reading and searching - github/annotated-logger... (more…)
Read more »
If you try to mutate a sequence while traversing through it, Python usually doesn't complain. For example: # src.py l = [3, 4, 56, 7, 10, 9, 6, 5] for i in l: if not i % 2 == 0: continue l.remove(i) print(l) The above snippet iterates through a list … (more…)
Read more »
I discuss the challenges of teaching Digital Signal Processing (DSP) and Software-Defined Radio (SDR) concepts to those without any background in the area. At the University of Maryland I created an elective for undergraduates in the CS dept. that introd... (more…)
Read more »