2006-11-11: Mono

To defuse the situation a bit: Mono Mono is a good piece of software which I like and use quite often. The catch is that I don’t think Mono’s stable yet. Some parts of mono are, others are not. As the term ‘Mono’ is normally associated with the whole suite (compiler, library, tools) this is, from my point of view, acceptable.

Dissension on implementation details is permitted (even for open source software), I think.

2006-10-20: Coding Style

A compiler is a thing that takes some input, processes it in some way, and drops out some output. It normally also outputs information to the terminal for the developer. It’s not that difficult to understand and there are hundreds of compilers out there that work this way. Well known, mainly in relation to programming and compiling is Emacs, a kind of meta operating system which can be used to, among other things, edit files.

Now the developers of Mono have decided to make the Mono compiler (g)mcs “Emacs Aware” (M. d. Icaza). This means that the compiler adapts its textual output to the environment it is running in; better: it adapts solely to Emacs by suppressing information. IMHO this is bad style. It is the editor’s, console’s, whatever’s responsibility to correctly display the output of programs executed by and in it. By adapting the programs’ behavior instead of letting the displaying process handle output rendering, things will get even worse.

Finally saying “is not a bug, it’s a feature” (M. d. Icaza) really makes me believe that the Mono framework will never improve. It might thus keep its indeterministic and somewhat unreliable behavior.

2006-10-14: Intelligent Design

Yesterday, after visiting the video store and cooking something for my long awaited Friday evening meal, I decided to not watch the movie I fetched. It actually was a quite too odd film, so I decided to zap a bit. After watching comedy series here, some documentaries there, I suddenly stopped. Phoenix, a highly regarded German news channel, screened a documentary on Intelligent Design. Yes, about creationists, their theory, and their tricks. I was astonished, puzzled, and afraid. For me it always was mostly an American problem but it seems that fundamentalists are spread all over the world.

Creationists and scientists were interviewed. I can’t believe that there are people want to reanimate the dark ages!? Religion and politics, religion and science must not be mixed up. Teaching children scientifically unproven theories in school is unacceptable! Letting teachers tell pupils in biology or some other scientific class things about the earth being something between 6000 and 20000 years old, or stories about some meta-person that has designed and created the earth in a few days or years is criminal in my opinion! Even worse, this discriminates other religions because hints towards the one Christian god are obvious.

The main problem here is that children are always taught to believe adults and especially teachers. Letting teachers teach their pupils their personal view is abuse of duty! Children should not be taught what to believe but decide by their own. In science it is okay and welcomed to review other theories as well, but only scientific theories. Creationism is no scientific theory, it is a religious one. It still is, and will remain, a theory–a wrong one in my opinion!

The best scene in the whole documentary was the interview with an Austrian archbishop, the one of Vienna, I think. He adjudged the Intelligent Design movement and the Creationists as being kind of stupid. They should not have mixed up religion with science, this was wrong, he said. The catholic church as a whole does not support this movement in any way!

Religion is okay, as long as I do not have to believe something that I personally refuse. Fundamentalists are a thread for man, independent of their religion!

2006-09-03: Raw Preview in Nautilus (Gnome)

Here’s a nice howto for raw image (RAW images from digital cameras) previews in the nautilus filemanager. Looks good and works for me (Ubuntu Dapper, Gnome 2.14):

http://www.penguin.cz/~utx/gnome-dcraw

2006-07-16: Note to myself: 64bit

In order to use a localized version of Wordpress on a 64bit system (gettext actually), you’ll need to make the following modification to wp-includes/gettext.php:

    // Caching can be turned off
    $this->enable_cache = $enable_cache;

    // $MAGIC1 = (int)0x950412de; //bug in PHP 5
    $MAGIC1 = (int) - 1794895138;
    // $MAGIC2 = (int)0xde120495; //bug
    $MAGIC2 = (int) - 569244523;
    // Required for 64bit gettext
    $MAGIC3 = (int)  2500072158;

    $this->STREAM = $Reader;
    $magic = $this->readint();
    // Required for 64bit gettext
    if ($magic == $MAGIC1 || $magic == $MAGIC3) {
      $this->BYTEORDER = 0;
    } elseif ($magic == $MAGIC2) {
      $this->BYTEORDER = 1;
    } else {
      $this->error = 1; // not MO file
      return false;
    }

(Found on Wordpess.de)

You are currently browsing the phbaer blog archives for the year 2006.

Bookmarks

Meta