Archive for the 'Rechenknecht' Category

Is my code compiled on Mono (or Microsoft .NET)?

If you want to distinguish between your .NET program compiled on Mono and your program compiled on Microsoft Windows you can use the “__MonoCS_” pre-processor flag!

using System;
using System.IO;
public class AmIMono
{
    public static void Main()
    {
#if __MonoCS__
        Console.WriteLine("Hello Mono! ");        
#else
        Console.WriteLine("No Mono! [...]

Tuesday, December 22nd, 2009

Definition of C#

C#.NET: A hybrid of C and Java that attempted to lure defectors from the Java camp to the .NET platform. It also provides an easy transition for C++ refugees who are sick of the annoyances of manual memory management and having 9 incompatible ways to implement a simple string. (via Software++)

Saturday, October 17th, 2009

Google Wave – A Revolution done wrong!

What might E-Mail look like if it were invented by… Linus Torvalds… the OSS-Community… the XMPP-Guys… or any company without central servers within their buisness plan? To me Google Wave is not much more than an IMAP-Server with integrated CSV-Log and a nice GUI. If you remember Linux Torvalds talk on the GIT at Google [...]

Thursday, October 8th, 2009

C# and implicit conversions

Sometime you decide to create a small datastructure – let’s call it Trinary – which will mostly behave like some standard datastructure – let’s think of Boolean – but with some different behavior from time to time. TO avoid a lot of noisy changes to your codebase it might be better to define [...]

Sunday, October 4th, 2009

OpenVPN and Windows7

Soon after our sones Windows7 install day I realized, that our OpenVPN based VPN isn’t working properly! Fortunately there is an easy workaround:
First: “Rightclick” onto the installer and set the compatibility mode to “Vista” and run the installer as “Administrator”

Second: “Rightclick” onto the OpenVPN GUI and run it as “Administrator”

Third: If you prefer to have [...]

Monday, August 17th, 2009

Architectural Principles…

Principles that seemed inviolable a few years ago are deprecated today. Principles that seem sacred today will be deprecated tomorrow. The principle of constant change is perhaps the only principle of the Internet that should survive indefinitely.
RFC1958
s/the Internet/any IT technology/

Saturday, May 2nd, 2009

OpenSSL default on Windows?!

There’s a bug in “the matrix ™”…?!?

(Note: WE did NOT install OpenSSL on our development systems… It seems to be there at default )

Monday, February 2nd, 2009

.NETzzzzz

F: Was ist ein echte Ritterschlag einer Programmiersprachen / Laufzeitumgebung?
A: Wenn Hacker anfangen ihre Toolzzzzz Analysesoftware darinzu programmieren

Wednesday, December 31st, 2008

Datatypes: To be “0″ or not to be “0″…

Argh… how much time (and money) is wasted every year by bugfixing problems caused when a variable becomes zero although there is not much sense for the variable to become zero within the actual context of the program and therefore the programmer missed to add a line for checking this unexpected behavior.
The most common example [...]

Sunday, November 23rd, 2008

Google’s Android and the gilded cage

I just agree with laforge and his Android posting.
Thus, Android so far was little more to me than yet-another-J2ME. Some sandbox virtual machine environment where people can write UI apps for. In other words: Nothing that gets me excited at all. I want a openness where I can touch and twist the [...]

Thursday, October 23rd, 2008