Daily Archives: 22 Aug ’09

No Attachment

A57 doom

No Attachment

Songs in Code: Death Magnetic, Metallica

while (albums.sortBy(loudness)[0] != this): for track in this.tracks: compress(track) multibandcompress(this) Explanation: make this the loudest album ever.

No Attachment

Songs in Code: Enter Sandman, Metallica

light.exit() night.enter() napster.share() user.sue_for_copyright_infringement() Explanation.

No Attachment

Songs in Code: Everything Sounds Like Coldplay Now, Mitch Benn and the Distractions

struct { bar piano[4]; bar intro[16]; bar drums_and_guitars[16]; bar high_bit[8]; da_capo_ad_nauseam; } coldplay; Explanation is best given in the form of the original song.

No Attachment

Songs in Code: A Forest, The Cure

struct tree { void *item; tree *left; tree *right; } void song() { tree title[10000]; /* come closer and find the code */ } Explanation: “title” is lots of trees.

No Attachment

Songs in Code: Zero, The Smashing Pumpkins

return 0;

No Attachment

Songs in Code: One Second, Paradise Lost

#include <unistd.h> int main(int argc, char *argv[]) { sleep(1); return 0; } Explanation: the program exits after one second.

No Attachment

Songs in Code: Eraser, Nine Inch Nails

void e( head ) { if ( head->tail ) e( head->tail ); free( head ); } Explanation: deletes a linked list.

No Attachment

Songs in Code: Destroy Everything You Touch, Ladytron

touch * && rm * Explanation: “touch” all files, then if that is successful, delete them.

No Attachment

Songs in Code: 4 o’clock, Emilie Autumn

lover.clock.tick() for girl in girls: assert(girl.clock.remaining<TIMEOUT) Explanation: “ticking away from the ones we love, so many girls, so little time”.

No Attachment

Songs in Code: Lost Forever, uncertain attribution

while True: assert( self not in universe ), "http://maz.nu/wpaf" Explanation: continuously test that “self” is not in the “universe” and raise an unexpected error if it is.

No Attachment

Songs in Code: One Second Ghost, The Gothsicles

invincible=1; blink(1); setTimeout( function() { invincible=0; blink(0); },1000 ); Explanation: But I suddenly scream “Shit!” Because my guy has just been hit With my hits points indicator less than full But it’s quite inconsequential And my wrath will be torrential For the following one second … Read More