SpeakingDuck (Maven plugin for java resource bundle transition.)

Developing multi-lingual applications in java seems a pain, to me anyway.There are resource bundles and a localisation API – which are well documented. To speed things up, I wanted to auto translate these bundles, and then have others look over and refine the translations later. Looking at what already existed, I was not excited. I …
Continue reading SpeakingDuck (Maven plugin for java resource bundle transition.)

Surface Preparation and Finger Prints. How bad are they?

In preparing a surface for paint / glue / thermal paste / soldering / whatever, there is one thing to remember. A normal finger print is of similar thickness to cling wrap (0.01mm). A thick (eg post pizza) print, where the ridges are no longer visible, is closer to the thickness of a sheet of paper (0.1mm).

Rule of thumb. If you would you would not be happy with this kind of material on the surface of whatever you are coating, remove your finger prints.

OpenXeen

Overview OpenXeen is a game engine rewrite I have been working on for Might and Magic III, IV and V . It’s opensource and still under development. Currently it brings up monsters, objects, and most of the outdoor environment. Resources: Git: here Wiki: here Development Blog: here State of openXeen features Interested in contributing Xeen …
Continue reading OpenXeen

[UPDATE] Comprehensive Arduino Flash Memory via PROGMEM

[Updated for arduino v1.6] This post is a huge set of PROGMEM examples (done as unit tests) which you can freely copy and paste into your work.

The readership level is set at those who are already familiar with the arduino PROGMEM documentation here and the use of the F() macro and __FlashStringHelper*

Its designed as a reference to save you the “lets see how to make this work” time and communicate common pitfalls. Search for the method you need to use, and see it running in working tested code

ASCII-Art Arduino Pinouts

Managing arduino projects can be a nightmare because its hard to keep track of your hardware setup in your code comments. To enable easy documentation of pin assignments, I created a couple of ASCII art arduino pin-outs.

These come complete with ports, PWM and coms all marked. Simply paste as a comment into your code and marvel at your new found organisation.

Practical Iterative K-ary Tree (aka n-ary, n-tree) Traversal in C#. A surprisingly useful tool for the average programmer.

Introduction: A lot of components in the C# environment are essentially a K-ary [kay-er-ee] tree. From tree-view nodes, to serialising a type via reflection, to directory listings to menu hierarchies, and so on. Often we need to iterate through these types of structures, or our own trees, and we just write some code to do …
Continue reading Practical Iterative K-ary Tree (aka n-ary, n-tree) Traversal in C#. A surprisingly useful tool for the average programmer.