Welcome to northCoder

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

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.

Hibernate with Infinispan

27 Mar 2023
A very basic demo of Hibernate 6 with Infinispan, showing the L2 cache in action.

Javalin 5 Secure Connections

26 Jan 2023
Javalin Plug-Ins for Secure Connections

Jersey Client for a REST Resource

19 Jan 2023
Specifically, this includes handling a REST resource which uses a self-signed certificate.