23C3 - The Arrival

23C3 Berlin Central Station

Ich bin gerade mit dem Zug in Berlin angekommen um - wie jedes Jahr ;-) - am Kongress des CCC teilzunehmen. Ein ganz besonderer Gruß geht an dieser Stelle an meine Freundin Kerstin, die leider aus beruflichen Gründen nicht mit nach Berlin kommen konnte.

Hier schon mal mein "Vortrags-Stack" für den ersten Tag:

FC6, iSCSI + Oracle RAC and 23C3 -- new stuff for the cold days

Wuff, the year 2006 nearly finished with the speed of light. But there is still one month left with a lot of new stuff to check out.

Last week I upgraded my notebook from Fedora Core 5 to Fedora Core 6. Hey! Everything worked without a problem. Just the usual update of the fedora-release-6-4.noarch.rpm package followed by yum upgrade and I am on FC6...

There are two new OTN articles about iSCSI and Oracle RAC. The first one "Setting Up an Inexpensive iSCSI Linux Cluster Using SLES10 and OCFS2" is from Mark Fasheh and Todd Trichler. The Paper is quite short and only describes how to get the storage part working. This article is also included in the "How-To's" section on the "Download OTN's Greatest Hits CD". The second article "Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and iSCSI" from Jeffrey Hunter includes an complete work through from OS installation to the RAC setup.

Finally the "Fahrplan"/Agenda of the 23C3 conference in Berlin got released too. That is definitely something you should check out...

First Install of Oracle Enterprise Linux

Just finished the download and installation of Oracle Enterprise Linux. As already stated in the news it is essentially Red Hat Enterprise Linux 4.

I hoped for a little bit more customization towards data center or Oracle database installations. Not even the default screen for the firewall or SELinux settings includes some Oracle specific things like port 1521:

Well, but they include some RPMs for ASM (Automatic Storage Management) I could not find on my latest Centos 4.4 DVD:

Disc3:
glade2-2.6.0-1.oracle.i386.rpm
oracleasm-2.6.9-42.0.0.0.1.EL-2.0.3-2.i686.rpm
oracleasm-2.6.9-42.0.0.0.1.ELhugemem-2.0.3-2.i686.rpm
oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm
oracleasm-support-2.0.3-2.i386.rpm

If you want to learn more:

Creating Images with Mono / C#

I just wrote some sample code on how to create GIF images in C#:

using System;
using System.Drawing;
using System.Drawing.Imaging;


public class Tester {
  static void Main() {
    Bitmap bmp = new Bitmap(79,121);
    Graphics graph = Graphics.FromImage(bmp);
    Font font = new Font("Times", 6, FontStyle.Italic);

    for(int i=0; i<10000; i++) {
      graph.Clear(Color.White);
      graph.DrawString(i + " - Test", font, SystemBrushes.WindowText, 1, 1); 
      bmp.Save(i + "foo.gif", ImageFormat.Gif);
    }
  }
}

To compile that code you have to make an reference:

$ mcs -r:System.Drawing pic01.cs

To create 10.000 images takes about 12 seconds on my notebook. If you prefer PNG it takes a little bit longer ~ 26s.

FC5 - install j2sdk1.4.2_06

I just tried to install j2sdk1.4.2_06 under FC5 and got:

[root@w0004 stage]# bash j2sdk-1_4_2_06-linux-i586.bin

...

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
tail: cannot open `+486' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

hmm... well, Google is always your best friend :-).

You need to set:

[root@w0004 stage]# unset _POSIX2_VERSION=199209

to work around that problem.