PulseAudio Volume Keyboard and Mouse Bindings

Technology
Oct 25, 2015

Mad Catz M.O.U.S.9

I wanted to create keyboard and mouse bindings for PulseAudio volume control, which was slightly more complicated than I thought it’d be. The following is a simple script, written in fish shell, that can be used to adjust PulseAudio volumes via the command line. It can be used in conjunction with xbindkeys to create both keyboard and mouse shortcuts for controlling volume and music.

Read More Right Chevron

Jekyll Unsanitize

Technology
Oct 24, 2015

Jekyll 2.5.3 doesn’t allow for source files, such as layouts or includes, to be outside/below a site’s source tree. This worked in previous versions, but was disabled per github requirements for security. I created a gem that monkey patched the relevant Ruby code within Jekyll to allow this again. The source code and installation instructions can be found in jekyll-unsanitize on Github.

Context

Philosophy
Oct 13, 2015

The interpretation of media we use to exchange information depends heavily on surrounding context. Writing and photos can turn from rational to offensive, possibly even illegal, all dependent on the way and means by which they are presented. Human communication, art, performance and entertainment all depend heavily on the surroundings in which they are created. Much of how we interpret something to be either funny or offensive is dependent heavily upon both the context the work is presented, and the culture in which an audience was born into and raised from.

Read More Right Chevron

Embed Tomcat In Your Application

Technology
Oct 2, 2015
Apache Tomcat Logo
Apache Tomcat Logo

A number of Java web applications and services, both open source and commercial (Alfresco, iRise, Confluence, etc.), tend to embed the entire Apache Tomcat servlet engine in their distribution packages. Atlatisan has even gone as far as only supporting their embedded Tomcat package, no longer offering a WAR/EAR file distribution. These packages contain the full Tomcat engine and configuration files and seem really overkill. In most configurations, the default setting files are never even changed. Surely there must be a way to launch Tomcat in code and only require the tomcat jars as dependencies? In the following tutorial, we’ll examine Jetty, an embedded servlet engine designed for this purpose, and show how to replicate the Jetty setup with Tomcat.

Read More Right Chevron

Refugee Propaganda and the War in Syria

Politics
Oct 1, 2015

I rarely watch mainstream news, but it’s been on at hostels I’ve been traveling through and I am amazed by how much attention is being paid to refugees leaving Syria and entering Europe and how little coverage is given to the actual war. Meanwhile, Obama is echoing calls of his predecessor in regards to Saddam, asking Assad to step down. However, not one mainstream source is asking the question that needs to be asked: how do we stop America, the UK and Europe from funding the terrorism in Syria that is driving people from their homelands?

Read More Right Chevron

MSI-WS60 running Linux

Technology
Jun 4, 2015

MSI WS60 Laptop Last year I was the victim of a break in which involved me losing nearly all of my electronics. I had backups of my data, the import stuff, but since that time I had been using a work laptop for most of my personal work. I later purchased a Surface Pro2 and had it dual booting Linux, but I found the tablet/laptop difficult to deal with. The lack of a sold connection between keyboard and device made it impossible to use while sitting on a couch like a normal laptop. While visiting Melbourne I decided to purchase an MSI laptop that’s typically marketed for gamers, and turn it into my primary Linux development laptop.

Read More Right Chevron

Wellington is the kind of place

Poetry
Mar 29, 2015

Fate and Destiny

Philosophy
Dec 15, 2014

Recently I was the victim of a robbery. Prior to this, I was debating if I wanted to leave my city. I’ve grown increasingly tired of office work, and thanks to some recently accepted publications, I’ve wanted to look into funding to pursue independent research and apply for PhD programs. I had originally thought to continue working for a year while applying for funding and graduate programs. I have no insurance for my stolen items, making the loss somewhat more absolute and has pushed me to the point of my previous option of leaving to work on my own research, regardless of monetary concerns. Although there is a solid methodology behind my decisions, the interpretation of my options in regards to certain probabilistic outcomes can easily be interpreted as a type of fate or destiny.

Read More Right Chevron

Love is all around you

Poetry
Nov 23, 2014

Her (Matariki Slam)

Poetry
Sep 7, 2014