robsite

In programming

Quine (Computerprogramm)

Quine sind Programme, die ihren eigenen quelltext ausgeben, ohne zu 'schummeln', also einfach die Datei zu lesen.

Meine bis jetzt kleinste PHP-Version:

<?php class Quine { function __construct($s) { $c = chr(39); echo $s.$c.$s.$c."; $q = new Quine($s); ?>"; } } $s = '"; } } $s = '; $q = new Quine($s); ?>
· programming, php ·

Art of file - graphical interpretation of a file

Gynvael Coldwind visualisiert Dateien. Dazu nimm er je zwei benachbarte Bytes als X- und Y-Koordinate und verdunkelt den entsprechenden Punkt in einem weißen 256x256-Bild.

Hier gibts nen Unix-Port des Windows-Programms. Funktioniert auch unter Mac OS X (muss erst compiliert werden).

/images/posts/0000/1882/fileviz_big.png

· programming, bild, grafik ·

They Write the Right Stuff

they-write-the-right-stuff

Wie das Softwareteam fürs Space Shuttle nahezu fehlerfreien Code schreibt.

And that's the point: the shuttle process is so extreme, the drive for perfection is so focused, that it reveals what's required to achieve relentless execution. The most important things the shuttle group does -- carefully planning the software in advance, writing no code until the design is complete, making no changes without supporting blueprints, keeping a completely accurate record of the code -- are not expensive. The process isn't even rocket science. Its standard practice in almost every engineering discipline except software engineering.

· programming, artikel ·
Mastodon