Werbung
Apple iPhone 3G S vertragsfrei, ohne Simlock, kostenlose Lieferung, Turicom Online Shop

MD5 collisions

March 30th, 2006

On http://www.cits.rub.de/MD5Collisions/ you can find two different postscript files with the same MD5 hash.

That’s why I wouldn’t use MD5 anymore. SHA-1 should be secure enough for now…

Boycott Blu-ray and HD-DVD

March 27th, 2006

I’ve found a site which describes why you should boycott Blu-ray and HD-DVD: http://fuckbluray.com/boycott

Problems with Maxtor harddisks

March 23rd, 2006

I’m just having problems with my external Maxtor 6Y160P0 (160 GB) harddisk:

Mar 23 18:38:35 server kernel: sd 1:0:0:0: SCSI error: return code = 0x8000002
Mar 23 18:38:35 server kernel: sdb: Current: sense key=0x3
Mar 23 18:38:35 server kernel:     ASC=0x11 ASCQ=0x0
Mar 23 18:38:35 server kernel: end_request: I/O error, dev sdb, sector 228134640
Mar 23 18:38:35 server kernel: loop7: loop_end_io_transfer err=-5 bi_rw=0x0
Mar 23 18:38:35 server kernel: EXT3-fs error (device loop7): ext3_get_inode_loc:
    unable to read inode block - inode=2044226, block=4096014

There are many files that aren’t readable anymore (Input/output error).

I noticed that this is not the first Maxtor harddisk I’m having problems with. I had also problems with my 40 GB Maxtor 6E040L0 and an older 6.8 GB Maxtor harddisk, which I already threw away. My other five harddisks (which are not from Maxtor) work without any problems.

My conclusion: Never buy a Maxtor harddisk!

Is there anyone with similar experiences?

Vista erneut verschoben

March 22nd, 2006

Wie heise.de mitteilt, wurde Windows Vista jetzt auf den Januar 2007 verschoben. Ursprünglich sollte der Nachfolger von Windows XP im Jahre 2002 erscheinen - und das mit mehr Features. In einem Kommentar findet sich eine nette Chronik der Ankündigungen.

Ausserdem wurde wieder eine neue Lücke im Internet Explorer bekannt. Alle seit 2002 bekannten Lücken habe ich auf meiner NoIE-Seite zusammengetellt.

Useful web development tools

March 9th, 2006

Here are some tools that might be helpful if you’re creating websites.

The first one is GNOME Colorscheme which allows you to generate a variety of colorschemes from a single starting color. Note that there are many dependencies when you’re trying to compile it from the source code.

The second one is LinkChecker which allows you to check your website for broken links. I like the HTML output:

linkchecker -o html http://www.example.com/ > output.html

And if you don’t know the Web Developer Toolbar for Firefox yet, check it out!

Quick script to count occurrences of words

March 7th, 2006

I wanted to know how many times the words in a file appear. So I wrote a Python script that counts them. Please note that the code was written in a hurry and I know it’s possible to make it better.

Here’s it:

import sys

print sys.argv[1]
f = file(sys.argv[1])
buf = ''
while True:
        line = f.readline()
        if len(line) == 0:
                break
        buf += line
f.close()

buf = buf.replace('n', ' ')
buf = buf.replace('(', ' ')
buf = buf.replace(')', ' ')

arr = buf.split(' ')
dict = {}
for word in arr:
        if not word in dict:
                dict[word] = 0
        dict[word] += 1

for i in sorted(dict.items(), lambda a, b: cmp(b[1], a[1])):
        print '%s: %s' % i

HDMI? Nein Danke

February 27th, 2006

Auf der CeBIT 2006 wird die erste PC-Grafikkarte mit HDMI- statt DVI-Ausgang vorgestellt. HDMI hat im Gegensatz zu DVI einen Kopierschutz. Ich frage mich aber, wie man die Filme dann auf dem PC abspielen will. Ob da proprietäre Software nötig sein wird?

Wegen HDCP werden wir wahrscheinlich nicht einmal kostenlos in den Genuss von HDTV kommen: Es wird geplant, für HDTV-Sendungen zusätzliche Gebühren zu verlangen. Dazu siehe auch den Artikel auf Telepolis.

Meine Empfehlung: Nicht kaufen!

My new 404 page

February 24th, 2006

I replaced my old Windows 98-style bluescreen 404 page with a new, dynamically generated Windows NT-style bluescreen. I think it looks much cooler now.

PHP scripts for language detection and correct delivering of (X)HTML

February 23rd, 2006

My website automatically detects which language you prefer and displays the appropriate content. I’m using this script because I didn’t want to write one myself. Strict mode is of course off (be nice to IE ;-) ).

The website is delivered in either XHTML 1.1 or HTML 4.01 Strict. It depends on whether your browser accepts the application/xhtml+xml mime type. There’s a great script which automatically sends the right version to the browser. I’m using that script because XHTML should be delivered as application/xhtml+xml and I can’t just send it to all browsers as application/xhtml+xml, because there are some browsers that do not support this mime type (yes, IE again).

First post

February 23rd, 2006

This is the first post of the new eggdrop.ch blog. The website has got a completely new look. It should be easier to navigate now. There’s also an automatic language detection (German or English) and a nice warning for IE-users :-)

IE Warning

eggdrop.ch blog is powered by WordPress
Entries (RSS) and Comments (RSS).