Sunday, May 15, 2011

Spell Checkers are the best spelling teachers.

It's like that redheaded teacher who's always behind you and won't stop nagging till you fix the error or tell her to ignore it once, or forever.


Has been learning spelling from her for years nwo.

Image from here.

Parallels have inconsistent systems.

So we're basically parallel to everyone whom we will never meet?

Thursday, May 12, 2011

How to kill a child.

This note demonstrates how to spawn and kill a child. For the sake of simplicity, I chose C instead of real life for the example.

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
 
int main()
{
    pid_t pid = fork();
    if (pid == 0) {
        printf("Killing the child using with next line.");
        _exit(0);
    } else if (pid > 0) {
        printf("While we're at it, might as well kill the parent as well");
        exit(0);
    }
}

Monday, May 9, 2011

A lame joke.

Superstitious admins work on localghost.