Das Bedingungslose Grundeinkommen

Wir leben in der Krise. Sie begleitet uns nun schon seit Jahren, ohne dass ein Ende in Sicht ist. An manchen Tagen ist vom Ende der Krise die Rede, gleich darauf folgt schon die nächste Schreckensnachricht. Es ist also genau die richtige Zeit, sich über alternative Wirtschaftsmodelle Gedanken zu machen.

Ein Modell, das in den letzten Jahren zunehmend an Aufmerksamkeit gewonnen hat, ist das Bedingungslose Grundeinkommen (BGE). Bisheriger Höhepunkt ist eine erfolgreiche Volksinitiative in der Schweiz, die zu einer Volksabstimmung bezüglich der Einführung 2016 führen wird.

(more…)

Import XSPF playlists into Google Play Music All Access

I had a wonderful list of favorite songs on last.fm that I sadly could not listen to after I abandoned last.fm a long time ago. But now that I’m using Google Music, which has an unofficial API, I figured the time was right to revive that playlist.

So I quickly whipped up a small tool to import an XSPF playlist. The kicker is that it uses Google Music’s All Access library, so no uploading the songs required. On the other hand that also means that not all songs from your playlist may be available.

Go try it out, the code is at https://github.com/georgms/google-music_xspf-importer

JMS basics

I’m currently integrating JMS (Java Messaging Service) into a project. Being a true enterprise component it has a very complex nomenclature and consists itself of many modules to cover all kinds of topologies. To aid other newcomers here is an overview of what I’ve learned so far.

(more…)

How to install CyanogenMod 7 on your Samsung Galaxy Ace

I just successfully installed CyanogenMod 7 on my Samsung Galaxy Ace. Finding all the right instructions was a bit tricky so here’s my personal recollection on how to get you up and running with CM7.

(more…)

Zendesk widget for Thunderbird

I just released a small extension to integrate Zendesk with Thunderbird.

Run PostgreSQL in a ram disk

At a a project I am heavily relying on PostgreSQL in the unit tests. This works fine but creating and dropping databases takes quite a while which goes against the purpose of unit tests. One simple solution to this is to run PostgreSQL in a RAM disk which will make IO-heavy operations a snap.

(more…)

Accessing bundled resources in Java packages

This is sort of a continuation of a previous post about how to integrate your own Java classes into the Maven build lifecycle. This entry described how to generate files for inclusion in the final project artifact (ie. .jar, .war etc.). It took me some time to figure out how to access these files using Java’s resource mechanism so this post will summarize my findings.

(more…)

Calling Java classes from the Maven build lifecycle

I love Maven for its flexibility, but this flexibility at times makes it hard to figure out how to achieve certain tasks. In my case I wanted to execute a certain Java class that is included in the project at some point during the build lifecycle. While I can see many uses in my case the class itself compiles a SQL dump out of several source files so it can be included in the final artifact.

(more…)

Spring Security authentication with a Neo4j backend

I am currently working on a Spring-based Neo4j (a graph database) application and needed to add user authentication. Since Spring Security allows integrating custom authentication providers it felt only natural to implement a provider based on Neo4j. A data structure to support users and groups is already provided in the Neo4j Wiki. I used it as the basis for my implementation with some wrapping so it could be integrated with Spring Security and provides administrative methods.

(more…)

Nagios Plugin to check memory consumption

For some reason the Nagios package in Debian / Ubuntu does not provide a plugin to check the memory consumption so I built a simple script to do that. It ignores swap space (since if your machine starts swapping you’re lost anyway) and caches (it’s nice to have memory available for caches but this isn’t really required). That way only the real memory consumption is checked and if that passes a certain threshold you can rest assured that you’re in for trouble.

(more…)

Go to Top