Sunday, 9. January 2005Week 1

Nach dem Booten

Die ersten 5 Dinge, die ich tue, wenn ich mich an den Computer setze:

  1. Einloggen
  2. startx
  3. Sylpheed-Claws, Firefox und XMMS starten
  4. Warten bis die E-Mails abgerufen sind
  5. E-Mails lesen

Die ersten 5 Websites, die ich besuche:

  1. x-log
  2. symlink.ch
  3. heise.de
  4. der Rest hängt davon ab, was ich eigentlich am Computer machen wollte

Via cyrus.ruhr.de, Pocket-Blog, LostFocus, Late Night Blog.

Saturday, 8. January 2005Week 1

Colors

I’ve found some color resources & utilities on del.icio.us. These are always useful, especially since i’m not the person who can just throw together three colors and automatically the result looks good.

Friday, 7. January 2005Week 1

NetBSD 2.0 vs FreeBSD 5.3

Gregory McGarry has made a benchmark comparison between NetBSD 2.0 and FreeBSD 5.3.
(via mindtrap::weblog)

The main differences are that NetBSD scales O(1) on forking new processes while FreeBSD scales O(n). For memory mapping and socket creation both scale O(1) but NetBSD is twice as fast as FreeBSD
But for binding addresses to sockets, FreeBSD scales O(1) while NetBSD scales O(n) but is twice as fast for a small number of bound sockets. Also for POSIX thread creation FreeBSD scales O(1) while NetBSD scales something like O(n) and is twice as fast for a small number of threads.

This paper has presented a suite of benchmarks and results for comparing the performance of NetBSD 2.0 and FreeBSD 5.3 in the areas of core operating system functionality, network scalability and thread performance.

The results clearly indicate that recent architectural decisions in the NetBSD operating system have closed the performance gap between NetBSD and FreeBSD. In fact, NetBSD has surpassed FreeBSD in performance in the areas investigated in this paper. Significant performance improvements are obviously visible in the thread implementation.

Thursday, 6. January 2005Week 1

Nightwish - The Pharaoh Sails To Orion

Nightwish - Oceanborn

"Get away from me!
Take heed to thyself and see my face no more!
for in the day Thou see my face
Thou shalt die!"
– Exodus 10:28



A constellation of divine architecture built on Earth
A holy harbour – Orion
Nautical ascension to the firmament

Ship-shaped barrows open my heart to the wisdom of this land
Sailing with the Serpent Chimera of a fiendish sandman

The Unicorn arrives with the westwind to dream His funeral
"Thou art born for Horus dwells in Thee"

Slumbering with the ebb and the flow of this foaming tomb
"Thou art born for Seteh dwells in Thee"

Reveal your face to me and guide me through the Stygian fields
Enthral my soul to Sepedet’s beams to serve Your will

Sailing on the distant seas from darkness to deliverance
Tales like the ocean written to the Draco’s glance

Ruling with the scythe of death you tear our philosophies apart
An ancient starwalk to merge into the stars

"Open thy veins for my venom
Kiss the cobras with thy twisted tongue
So shalt thou join the empyrean circus
Where beggars mourn and seraphs dance
In this twilight cathedral
Shall I wed thee,
O Bride of the Netherworld"

Sailing on the distant seas...

Join my soul the Hunter in the sky

Smarty

Angeregt durch Gordons Smarty Posting gibts es hier nun auch einen Eintrag über Template Systeme und ein paar interessante Links.

Angefangen hat das mit den Templates, als ich vor 2 Jahren die Website für meine Klasse des Gymnasiums gemacht habe. Damals benutze ich die P.E.T. Template-Engine von Andreas Demmer.
In der damals top-aktuellen Version 1.5 musste man Template-Tags in einer etwas unhandlichen Form benutzen: <!-- {tag} -->

Als ich vor einem Jahr mein Weblog komplett neu programmierte, wollte ich auch ein Template-System benutzen, aber ohne so umständliche Tags.
Inspiriert von diesem Artikel habe ich eine PHP-Klasse programmiert, welche eigentlich nichts anderes macht, als ein paar Variablen zu speichern und eine Template-Datei zu inkludieren. Die Template-Tags sind auf <?=$tag;?> geschrumpft und man kann die ganze Vielfalt von PHP nutzen ohne die Template-Datei speziell zu parsen.

Im letzten Sommer habe ich einen Ferienjob gesucht und mich auf eine Ausschreibung des KIS gemeldet. Als Anforderung wurden unter anderem Smarty Kenntnisse genannt, und so habe ich mir einen Abend Zeit genommen und mich in Smarty hineingearbeitet.

Früher habe ich mich etwas vor Smarty gedrückt, weil es mir etwas schwerfällig schien mit Template-Kompilierung, Caching etc.
Doch seit ich mich intensiv damit beschäftige und auch entdecken durfte, dass die kompilierten Templates eigentlich genau meinem "include"-Template System entsprechen, habe ich meine Meinung geändert.
Nun setzte ich Smarty auch bei eigenen Projekten ein.

Hier noch ein paar gesammelte Links zu Smarty:

Wednesday, 5. January 2005Week 1

English

Motivated by Joel’s Advice for Computer Science College Students i beginn now to blog also in english. The target is to improve my written english skills.
I hope that this experiment doesn’t result like the french one, which is dying poorly since i daily speak french and don’t write in it anymore.