The Binnenhof

The binnenhof is the old, political, center of The Hague. It has an interesting combination of old buildings, with newer skyscrapers visible behind it.

Read More »

The Hague China Town

The Hague has a small China Town in the center. In this video I walked from the station to the center of The Hague to take a quick look at China Town.

Scheveningen Time Lapse

Just behind Scheveningen beach, there’s a casino and a small cinema complex. As this is all on a relatively busy road, this makes for a great opportunity for a nighttime time lapse.

The Hague Town Center

In this video I walk through the station and to the edge of the main center of The Hague. I used this footage to test different styles of editing, here I was going for a more cinematic look.

Scheveningen Beach and Pier

Scheveningen beach is the main beach in The Hague. I’m lucky to be able to walk there within 10 minutes and spend a lot of time walking along this beautiful beach. The beach around the pier gets busy in tourist season, or simply on summer days. This was an unexpected sunny day in spring!

The Hague Central Station Area

This is a quick video around the station area in The Hague. This mostly ended up being slow motion footage of trams. I guess I must like trams!

Shannon Informational Entropy in PHP

Shannon information entropy attempts to predict the smallest possible average size of lossless encoding of data. This is useful when writing compression software as it provides a target estimate to which we can attempt to compress a file without losing any of the information contained inside it when it is subsequently decompressed.

Cast V2 in PHP

Cast V2 is the protocol used in communications with Chromecast dongles and Google Home’s. It is not an open protocol, but as it is built into things like Chrome it is possible to reverse engineer how it works. Creating a library makes it easy to control these devices with PHP.

New Site

This site is undergoing a complete rewrite. Please be patient whilst I rework all the content and design.


mDNS is a zero configuration protocol. Essentially it runs a localised, distributed, DNS service. It is used primarily by consumer devices, such as iPads, to enable the provision of services without burdening the consumer with technical configuration requirements.