No image

Java 8 Lambdas and Method References

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 […]

Read More
No image

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: […]

Read More
No image

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 […]

Read More
No image

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 […]

Read More
No image

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 […]

Read More
No image

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 […]

Read More
No image

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 […]

Read More
No image

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. […]

Read More
No image

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 […]

Read More