Welcome to northCoder

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

Some Basic Lucene Index Structures

24 Jul 2023
A closer look at some of the basic Lucene indexing structures, based on Lucene 9.7.0.

Functional Interfaces in the Javalin Framework

07 Jul 2023
A quick look at different ways you can arrange your configuration and endpoint code in Javalin (a Java web framework). This is based on Javalin’s use of functional interfaces - specifically the Java Consumer interface and Javalin’s own Handler interface.

Flatten JSON using Python

11 Jun 2023
Flatten arbitrary JSON into a Python dictionary.

Lucene Span Queries - An Example

20 May 2023
A walkthrough of a Lucene span-based search, using a combination of SpanNot, SpanOr and SpanNear queries. We also take a quick look at an alternative approach using Lucene’s Standard Query Parser with interval functions.

The IANA Time Zone Database (and Java)

07 May 2023
How can we see the IANA Time Zone Database (TZDB) zone change rules in Java?

CLDR Decimal Formatting Rules

06 May 2023
What localization rules does Java use (via the CLDR) for formatting decimal numbers - specifically the separator character and the decimal character?

DataTables Filtering for Accented Characters

03 May 2023
Modifying the behavior of the DataTables global search - in this case, to make the search insensitive to diacritics (accented characters).

Thymeleaf and HTML Boolean Attributes

08 Apr 2023
HTML’s boolean attributes can get a bit confusing - especially when combined with Thymeleaf expressions.

Java Currency and Locale - Updates

07 Apr 2023
A subtle change has happened in how currency strings need to be parsed.