Kothar Labs Contact Me

Plex, SSL and Nginx
Sun, 24 Mar 2013 / blog

I've been experimenting with the Plex Media Server, and decided to have a go at securing remote access to the 'Web Client' interface using SSL (by default it runs over an unencrypted HTTP connection).

This post is essentially a gathering of instructions from where I found them on the internet.

Comments |

ExtJS 4.1.1a Repository Update
Thu, 6 Dec 2012 / projects / extjs-public

Another update to the repository today. ExtJS is bumped to version 4.1.1a, and the latest version of GXT - 3.0.1, also gains a new root in the repository.


Resampling for fun and profit
Wed, 5 Dec 2012 / blog

I'm a co-author on a paper which was presented at RTNS this year. Sadly I didn't have time to attend the conference, but it's nice to have been able to contribute!

Re-Sampling for Statistical Timing Analysis of Real-Time Systems

Comments |


Dynamic Disqus Instantiation
Tue, 28 Aug 2012 / blog / gwt / disqus

I needed to use Disqus from a GWT app, so I needed to solve the problem of loading threads on demand as virtual pages in the app were changed.

A small amount of reverse engineering and experimentation led me to construct a utility class (below).

I also posted this answer on Stack Overflow.

Comments |

Spotify for Linux media keys with DBUS
Wed, 11 May 2011 / blog / spotify

Now that Spotify has discontinued the free account, and restricted me to an 'open' account with only 10 hours of music a month, I've ended up paying for an 'unlimited' account.

While I'm a little disappointed with this turn of events, it does mean I am now able to use the Linux client. It seems pretty decent so far, but I wanted to map some keys to do things like play/pause and next.

Comments |

Lock-Free IPC
Wed, 16 Mar 2011 / blog / programming

I was doing some reading a while back into lock-free algorithms for multi-threaded communication using buffers. The general idea is to use a circular buffer in shared memory to allow one process (or thread) to write data into a buffer so that another process can read it. The algorithm relies on atomic compare-and-swap instructions, which are part of the x86 instruction set and also present in several other architectures which have features designed to assist with concurrency.

Comments |

Enabling IMAP SSL and TLS encryption for mail-notifier under Ubuntu
Mon, 14 Dec 2009

After struggling all morning to find or compile a mail notification applet that supports TLS encryption under Ubuntu, I finally read all the way to the end of the Launchpad bug for mail-notifier (all 119 comments) and found David Jurenka's time-saving PPA with SSL support enabled. Thanks David!


Shorter Bash Prompts
Fri, 5 Jun 2009 / blog / bash

I use Java a lot, and the common practice of naming java packages with long URI-derived namespaces often leads to my bash prompt becoming extremely long. Here's a script to display an abbreviated path on the bash prompt.

Comments |

Javada 0.1.1
Mon, 2 Feb 2009 / projects / javada

I've released a new version of Javada today - just a maintenance fix, after an email request for a pre-compiled version. It's available for download from:


Also note, the licence is now LGPL.


Brief introduction to PolyORB
Mon, 10 Nov 2008 / blog / ada / polyorb

I've been experimenting with PolyORB at work, and the documentation, while fine for configuring and compiling your application, is sorely lacking on any help with implementing your CORBA servants.

Here I'll attempt to provide some brief hints on how to do things that don't seem to be described in the documentation. The PolyORB mailing list is a good place to find more information.

Comments |

Mon, 21 Jul 2008 / projects / jgraphviz / java

This project is hosted at SourceForge.

Comments |

Circo jGraphViz layout

Thu, 1 May 2008 / projects


Javada automatically generates bindings which allow Ada and Java to talk to each other.


Eclipse Corba Plugin
Thu, 1 Jul 2004 / projects


An Eclipse editor plugin for CORBA IDL files