Blog Archives

How to Clone & Reuse VirtualBox Disk-Images under Linux

When working with Oracle VirtualBox you might have come accross situations, where you wanted to copy the state of a given Disk-Image and build a new Virtual Machine upon that. We tell you, hot to do that. a) Preparations Before

Posted in Build Process, Infrastructure, Software Engineering, Uncategorized

WLAN dead after Microsoft Windows System Updates

This post is for the minority of users, whose netbook’s WLAN facility has been killed by an automatic Microsoft* update and who still have a chance accessing the internet – i.e. by using a Linux-based device – to search for

Posted in Knowledge

Confusing Comparable- & Comparator-Contract

Read here more about the Confusing Comparable- & Comparator-Contract in Java today. I recently came accross the following exception, thrown by the Java Runtime Environment: “Comparison method violates its general contract!” The Exception occurred in a Comparable-implementation looking similar as

Posted in Software, Software Architecture, Uncategorized

Data Security without the Cloud

This post shows a simple solution to backup your most valuable documents on a USB-Stick in an hidden and encrypted form, such that the data is not easily recognizable and accessible for unauthorized users. Users connecting the Stick would just

Posted in Data Security

Cloud or no Cloud, that’s the question!

This post is about the question, wheter or not you should use cloud services in order to backup your data. Compared to traditional backup solutions using hard drives there are lots of advantages you win when going for a cloud

Posted in Data Security, Enterprises

Match multibyte Characters with Regex in JAVA

When working intensively with regular expressions in JAVA and other languages than english are involved, you are bound to meet unexpected behaviour, at least when trying to cope with it the first time. This post teaches you how to match

Posted in Regular Expressions, Software Engineering

Sort String Tokens alphabetically in JAVA

This is an example to show a simple way of sorting String Tokens alphabetically in JAVA. We’re using the StringUtils helper-class provided by the Spring-Framework to realize this exmaple. Add the following dependency within your pom.xml to have StringUtils available:

Posted in Software Engineering, Spring Framework

Query to select top-n Records from each Group (TSQL)

Often I come accross a task where I need to select the top-n records from each group from a given set of data, where each subgroup is defined by having a specific attribute in common. To demonstrate how this is

Tagged with: , , , ,
Posted in Databases, TSQL (MSSQL)