Development tools/links for the week of 2017-06-11

Gradle 4.0 is out. It is fast, much faster than Maven. I tried it out on 3 projects that I maintain, and all of them saw build times cut in half (longest one was 86 seconds -> 40 seconds). cukes-rest – I am really late the to the Cucumber /…

Continue reading

Optimizing a SQLite Database

TL:DR; takeaways: These seem very obvious, but with rushed deadlines, and “it works well enough”, these things are sometimes overlooked. Use the right data type for the job. If the documentation says VARCHAR when the values are always integers, maybe you should use INT. Generate a proper primary key when…

Continue reading

Lessons learned from our first trip to Disney

We just got back from our first trip to Disney World, and had a great time. We procrastinated a bit in our planning, and there are some things I wish I had known before going. Maybe these will be helpful to someone: When you get an e-mail to “complete your…

Continue reading

DJI Phantom 3 – DNG Raw

I recently picked up a DJI Phantom 3 Standard Quad / Drone / UAS. I ultimately would like to use it for some aerial photography, and am considering getting a FAA UAS license at some point, but for now I am just toying around with it. When I was researching…

Continue reading

The Love of my Live

An excellent wife who can find? She is far more precious than jewels. The heart of her husband trusts in her, and he will have no lack of gain. She does him good, and not harm, all the days of her life. (Proverbs 31:10-12, ESV) A little over twelve years ago, I was a very…

Continue reading

Postal Code Voroni Diagram

The links in this article point to a free Heroku instance, which can shut down due to inactivity. It may take a few seconds for the instance to start up. I’ve uploaded a little experiment to Heroku, showing something I toyed around with a couple years ago. Would it be…

Continue reading

Using Consumer in Spring Validator to validate nested collections

In one of my projects I have a custom Spring Validator that validates a nested object structure, and adds per-field error messages. As an example, a field nested inside an array might produce an error like the following: array[0].field must be a valid value The Errors object works as a stack,…

Continue reading

Hibernate Logging Options

For years I have relied on a simple property “show-sql=true” to see Hibernate’s generated SQL. This option is fairly limited: it bypasses the logging framework in the rest of my apps (SLF4J) it doesnt show parameters, just question marks it doesn’t show any timing information Frustrated at these limitations, I…

Continue reading

Mac Office 2016 – Saving some Space

For the past 3 years, my primary laptop has been a MacBook Air. Technically, it is a Mid 2012, 11-inch MacBook Air. It is a very agile little machine – I can do all of my development on it, plus play the occasional game (albeit at minimum settings). But the…

Continue reading

Making JMeter accept a HTTP 404 as success

One of the projects I am currently working on involves re-writing a REST service written in ColdFusion into Java/Spring. Im in the testing phase, and am trying to make sure the endpoints behave the same as the ColdFusion versions. One of the tests I am performing is to replay a…

Continue reading