Welcome to northCoder

a blind man in a dark cellar looking for a black cat that isn't there

SSL/TLS Certificates Using Let's Encrypt

02 Dec 2019
How to generate a free SSL wildcard certificate using Let’s Encrypt and certbot.

Java Timezones (or Time Zones if you prefer)

27 Nov 2019
The other day I was working with some old relational data, where timestamps had been stored without timezone data - and not standardized to UTC…

Lucene 8.3 - More Analyzers - and Some Queries

26 Nov 2019
While I was exploring Lucene as a way to improve my demo web application, I tried a few different combinations of analyzers, tokenizers and filters. It got to the point where I created a small test application for this. Along the way, I also had to dive into Lucene’s boolean query logic.

Lucene 8 Custom Analyzer SPI Names

21 Nov 2019
Using SPI (service provider interface) names allows us to use the Lucene CustomAnalyzer. This can be much more succinct than using the related classes directly.

Lucene 8.3 Basic Search Examples

20 Nov 2019
A basic introduction to Lucene, including the following: Setting up Lucene 8, building an index, using analyzers, and performing full-text searches across millions of IMDB movie titles. This is my first time using Lucene, so it only scratches the surface of what the library offers.

Highlighting Text Output

18 Nov 2019
The linux tput command can be used to format text output in a variety of ways. Here I use it to add some color to my terminal output.

Backup File Proliferation

17 Nov 2019
Two approaches for linux log file compression and purging: custom scripts and logrotate.

DataTables - Notes on Sorting and Filtering

16 Nov 2019
The Datatables library can add a great deal of functionality to plain HTML tables. I will focus on a couple of sorting and filtering techniques which I have found useful - especially when handling text containing accents and diacritics.

The Curse of the Diaeresis

15 Nov 2019
What happens when a user wants to search your website for a word such as cooperate, but some instances are stored as coöperate? Notice those two tiny dots on top of the second ö? What are they? And why do we care?

Jdbi - Fluent Generic JDBC

14 Nov 2019
Jdbi is is built on top of JDBC - you can use Jdbi wherever you have a JDBC driver. I use it for the way it lets me load result sets directly into my Java classes. But that’s only the tip of the iceberg.