Emesary: Nasal implementation for FlightGear

I’ve been recently looking at how to improve the way that the F-14 is built after starting to integrate the enhancements that Fabien has made to the radar system.

The trouble is that the F-14 is currently all very interdependent and would massively benefit from being decoupled. This is ideally suited to my standard solution to this sort of problem Emesary


Using Wordpress 4.1.7, Woocommerce to create a furniture store

It’s been a while since I did any Wordpress development, but recently I was asked to build a straightforwards, clean, site to act as a shop front / ecommerce for a retailer of special and refurbished furniture.

As always with these sites, the URL caused a considerable discussion, until it was decided that zunika-interiors.co.uk fitted nicely into their target niche market.

The last site I built was using Wordpress 4.1.7 with Woocommerce, so I started off with a direct copy of this (it’s always easier to drop the whole lot onto the ftp server an

Flightgear Interior shadow cubemap kit

This is a kit for making an interior shadow for the Effects/model-interior in Flightgear 3.6

Steps are.

  1. Load the interior-shadow-cubemap-creator.blend
  2. Import your model.
  3. Place the camera at the correct place (see the F-15 reference picture)
  4. Use the animate button – this will create 6 correctly oriented png files
  5. Use the properties to find the X,Y,Z of the camera
  6. Modify interior-shadow.eff to have the correct coordinates.
  7. Move the 6 png files to the appropriate place; I use Model/Effects/inteior

Flightgear Rembrandt deferred rendering performance


The deferred configurable pipeline has great possibilities; but poor performance.

ALS works exceptionally well and ThorstenR has done amazing stuff with it; and not burnt frame rate at all. Rembrandt shadows are too flickery and a shadow map as Thorsten has added to ALS is arguably2 a much better way than the way Rembrandt does it.

Rewriting working code

I was recently asked to advise on converting a site that was written in ASP to PHP, Ruby on Rails, or ASP.NET. Sounded like a good job because the specification is the existing site and the only requirement is that the new system must run on a technology “that is supported” and has a future roadmap.

PHP Implementation of a reference monitor to provide record level access

How I implemented a reference monitor in around 400 lines of PHP (in ZXAF) – together with code examples and samples.

Generate SQL to identify duplicates

A small tool that javascript to generate SQL that will identify duplicated records in a table

Object Model Design for a Reference Monitor

A reference monitor is an approach to implement a secure system based on access control. Any system can be depicted in terms of subjects, objects, an authorization database, an audit trail, and a reference monitor, as shown in Figure 1. The reference monitor is the control center that authenticates subjects and implements and enforces the security policy for every access to an object by a subject.

Figure 1: Reference Monitor

This is the basic design for the Reference monitor.

Generic data modelling of products in the Entity Framework (EF)

Everything is composed of something until you hit the fundamental elements of your domain. In a restaurant environment these would be what a chef would call ingredients, ie. stuff that comes from a food processing plant or a farm. However at the food processing plant these are the output rather than the input. I’ve tried to draw this below, it’s not complicated once you understand that it is a model of how things are.

So model this, using a table ProductBase

Ingredients, recipes, menus, etc. are all the same.

Web Application Architecture

Frequently I see the same question in many forms; “How do I design a web application architecture”. The simple answer is that all application architectures are different, depending on the actual needs. Instinctively most programmers know what’s required, or at least we think that we do.

The true skill is to realise that we are often wrong and that any architecture design needs to be validated.

Pragmatic approach to application architecture

Pragmatism is one of those often misapplied terms that is often used interchangeable with “in my experience”.

Syndicate content