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.)
Category:Programming
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
Arduino Graphing Libraries
Here is a library to write GNUPlot output from the Arduino. Now the Arduino can produce a graph output that is directly renderable across multiple platforms and cloud services. Does not rely on some gone tomorrow software + lets you edit the plot afterward.
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.
RGB Bias Lighting with Arduino (Part 1)
We are setting up an arduino with a WS2811 LED strip to do RGB based bias lighting effects.
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.
A List of projects for .NET that are better than a poke in the eye.
I propose “would you rather use this API or have a poke in the eye” as the new selection criteria for 3rd party projects. Here is what passes my poke in the eye test.
Images that use one of every colour + Free Software to make your own.
Its kinda captivating, an image that uses only one of every colour possible on your computer. It makes for an odd desktop background on a 4K screen.
Comprehensive Example Code Demonstrating using Arduino Flash Memory via PROGMEM
The 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 on how to accomplish many different common tasks in PROGMEM , from standard string functions, to structures and arrays. The idea is to save you the “lets see how to make this work” time and communicate common pitfalls.