Category Archives: Uncategorized

The Brilliant Concept of Standard Streams in Unix (1)

1. The basic idea of standard streams In the 1980s, almost every book or class on computer science here in Germany started with an explanation of the EVA-Prinzip, where E stood for Eingabe (Input), V for Verarbeitung (Processing), and A … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , ,

How to use ancient Morse code to solve a modern problem

If you own a Raspberry Pi mini computer the following problem may sound familiar to you: You just connected your Rasperry Pi to a network with automatic DHCP. Now you need to find out what IP address has been assigned … Continue reading

Posted in c, Information Theory, Linux, Raspberry Pi, Uncategorized | Tagged , , , , , , ,

Let’s make the heap explode!

This blog entry is dedicated to those who teach computer science at high schools and vocational schools. In one of my Java programming classes, only few of the students showed up. It didn’t seem to make sense to continue with … Continue reading

Posted in Java, Linux, Programming Essentials, Uncategorized | Tagged , , , , ,

Floating Point Representation

Back in the days when I was in middle school, I started to develop a strong preference for “nice” and “short” numbers, such as 0.1. One likely reason was that any math problem in school was designed to yield a … Continue reading

Posted in Bit-Twiddling, Math, Uncategorized | Tagged , , , , ,

Regular Expressions

At the very beginning of this post I’d like to point out that this is neither related to a specific programming language nor related to a specific operating system, although I’ll need to employ some “real-world” examples for better understanding. … Continue reading

Posted in Programming Essentials, Uncategorized | Tagged , , , , , ,

Pointers and References – Part 4 (Hacker Stuff) ;)

Ok, guys … party’s over. Some of you have requested some more in-depth stuff on pointers, so here we go: Function Pointer Arrays. Depending on your previous programming experience, Function Pointer Arrays (FPA) may seem a bit nerdy to you. … Continue reading

Posted in Pointers, Programming Essentials, Uncategorized | Tagged , , ,

A Beginner’s Guide to Object Oriented Programming (2)

Long time no see. I hope you still remember my recent posting on object-oriented programming. Here is part two, which I hope you are interested in. Today, we are going to have a look at inheritance. If you do not … Continue reading

Posted in Programming Essentials, Uncategorized | Tagged , , | Leave a comment