Category: Coding

Comparing Generic Types

I recently ran into a situation where I needed to compare two types to see if they were the same. What complicated matters is the types I was comparing were

Read More »

A Few Python Insights

I run a Raspberry Pi on my home network for three reasons: To have a local DNS (dnsmasq) so I don’t have to remember or look up numeric IP addresses

Read More »

sudo’ng Pycharm

I recently had occasion to write a simple python (3) script under debian buster with JetBrains’ Pycharm. The script rewrites protected system files so it needs sudo privileges…which turned out

Read More »

Configuring DbContexts

The interface definitions are pretty simple: The marked lines show the interface that a configurator class needs to implement. It’s just a marker interface (i.e., doesn’t specify any required methods).

Read More »
Archives
Categories