Every once in a while we all run across something that it takes a while to get our head around. For me (at least with Java 8) it was some of the syntax regarding the use of method references in functional programming. I didn’t have the slightest problem using lambdas, for example, but I kind […]
JPA 2.1 Schema Generation – Formatted Output
In my first post on JPA 2.1 Schema generation, I demonstrated how one could use the features built into the JPA 2.1 standard to generate database schemas from your model objects. One minor annoyance of the schemas generated via this manner (at least by Hibernate), is that they don’t really come out completely usable. Specifically: […]
JPA 2.1 Schema Generation
I’ve used Hibernate as a persistence layer for years. As any of you who have used it probably know, it was the basis for the Java Persistence API, the “portable” version of the Java Object Relational Mapping (ORM) API. Until the advent of version 2.1 of the JPA specification, one of the items that still […]
WordPress Customization Series – Custom Post Type
Table of Contents for the series So in our last episode, we got the basic framework for a plugin in place. It was a singularly boring plugin – not even as functional as WordPress’ “Hello Dolly” plugin, but it showed up on the WordPress console. Let’s add some functionality now. We’re going to create a […]
WordPress Customization Series – Basic Plugin Setup
Table of Contents for the series So let’s get started. For reasons we’ll see in the future, I’m going to create a custom post type (CPT) for WordPress (as well as a number of other odds and ends). There are two places we could do this – in a plugin, or in the theme we’ll […]
WordPress Customization Series – Background
Table of Contents for the series We’ve used WordPress as the base for our web site for quite a while. Thus, I’m reasonably familiar with plug-ins and themes as a user. Recently, however, I decided to dive deeper into actually designing for WordPress. The “back story” is probably not uncommon, at least in the broadest […]
WordPress Customization Series
This is the table of contents for my “WordPress Customization Series” – a series of posts in which I will be documenting my way through the creation of a somewhat-customized web site based on WordPress. Posts in the series: Background A little bit of background on why I’m doing this. If you’re interested just in […]
Fast but Obtuse is Usually Bad
I admit it – I’m a recovering C++ programmer. I’ve suffered a bit of a relapse related to a recent project, and may very well be dragged back deeper on an upcoming one. (Point of history – I attended one of Bjarne Stroustrup’s early lectures on “C with Classes” when I worked at Bell Labs. […]
Android OpenGL Unit Testing
Every once in a while you go back to your toolbox and discover something shiny you haven’t shown the world before. I have a client who needed some OpenGL work done on Android, which brings up the whole question of how to unit test OpenGL code. I had some support classes for this lurking around […]
IIOMetadata Tutorial – Part 4 – Automatically Determining Metadata Format
In Part 1 of this tutorial, we went over some background related to the Java ImageIO subsystem and how one could retrieve information about the supported ImageReaders and ImageWriters. In Part 2, we looked at how one goes about retrieving metadata from an image as it is read. In Part 3, we looked at writing […]