I had to work with a remote Oracle database lately and the choice was made to use
Scott's wrapper around the Java JDBC API.
The solution worked. Everything is fine. Is it? No it isn't.
I had to insert some thousand records into the...
Sometimes you have a block of code and just want to know how long it took the
machine to execute it.
The Java developers have some really cool metric libraries like the
Dropwizard subproject Metrics.
But for the quick and dirty case there is...
Ever wanted a normal (blocking) socket connection to listen for data but also
wanted to check for a condition if it should stop listening?
Problem is that the default BSD 4.3 version of the socket API (which is the
default API to bind to) does not...