Java Generics
Background
Background
Are you annoyed by setting up VPNs?
In Java, sometimes it can be useful to have exactly one instance of a class. This is known as a Singleton pattern. A logger, print spooler, or window manager...
I was writing some Python code for a project and needed a class to hold constants. Unfortunately, Python doesn’t natively support constants or static classes...
I was writing a class to construct CURL requests in Python. I decided to experiment with making one of the methods static. To do this, simply place a “@stati...
Functional Programming
A NullPointerException in Java is thrown when an object is expected as a parameter, but null is passed instead. To avoid this when doing String comparisons, ...
I spent the weekend camping at Buck Lake. It’s a serene alpine lake in the middle of the Mt. Hood National Forest and the camping spots are an easy, mile-lon...
My recent move to Portland precipitated (pun intended) an upgrade of my iPhone armband. In college, I used a plastic bag and a Belkin armband on rainy days. ...
I was looking for a guide on how to do this, and the one that finally worked for me was found here. I copied it for reference and made a few minor corrections.