Mozilla Thunderbird and Microsoft ExchangeRecently my domain name registrar, who provides my email, outsourced that service to Microsoft. They asked me to fetch my email either…Jan 12, 20231Jan 12, 20231
Terraform Packer TipsHere’s a few things I learened while building a packer image that installes packages and pulls things from private github repos.Jun 14, 2022Jun 14, 2022
Remove all IIFEsJust a quick script, but it illustrates a couple of interesting points. I have a bunch of JavaScript files that were written years ago, and…Mar 10, 2022Mar 10, 2022
Hibernate CriteriaQuery — fetching a partial entity and child with joinsI recently worked through a N+1 queries problem with Hibernate that was a bit of a struggle, and involved a lot of trial and error, so I…Sep 17, 2021Sep 17, 2021
Hibernate: Native Queries and POJOsTL;DR: If you need a simple class to store the results of an arbitrary query, spring + hibernate will do it for you.Jan 22, 20212Jan 22, 20212
JUnit + Hamcrest: Verifying unordered collectionsThere’s many ways to skin a cat, but it took me a while to find a pattern that I liked to verify the contents of a list.Jan 14, 2021Jan 14, 2021
Testing in Go: strict JSON parsingWe had a discussion today about JSON parsing in our golang app. We had some code like this:Jan 11, 2021Jan 11, 2021
Better build plans for better buildsI’m a big fan of relying on automation to help catch our mistakes. With a developer and a QA dev separated by nine time zones, we recently…Dec 28, 2020Dec 28, 2020
Golang sqlx.Get: Checking for no rows returnedWhen working with “github.com/jmoiron/sqlx” to fetch rows from the database, the Get function returns an error if there is an error with…Dec 22, 20201Dec 22, 20201