Category Archives: Humour

Self-explanatory

Programmer’s prayer

PROGRAMMER’S PRAYER

Our program, who art in memory,
called by thy name;
thy operating system run;
thy function be done at runtime
as it was in development.

Give us this day our daily output.
and forgive us our code duplication,
as we forgive those who
duplicate code against us.

And lead us not in frustration,
but deliver us from GOTOs.

For thine is the algorithm,
the computation and the solution,
looping forever and ever.

RETURN

Ref.: https://lists.freebsd.org/pipermail/freebsd-questions/2017-January/275982.html.

Make cupcakes, not war

I was catching up on some usenet reading at the end of my summer holiday, and after reading comp.risks 26.48 and this posting in particular, I created the following snippet of a Makefile.

# Ref. comp.risks 26.48
# Subject: Fwd: British Spies Replace Terrorists' Online
# Bomb Instructions with Cupcake Recipe
# Date: Sun, 12 Jun 2011 10:37:13 -0400

cupcakes:
        @echo not war

To the uninitiated an explanation is probably in order. Given an Unix-like system and a file named Makefile stored in the current working directory, a file whose contents is as shown above, although not necessarily the sole contents of said file. When the command “make cupcakes” is issued, the output yielded on the standard output device is “not war“. See below.

trond@enterprise:~>make cupcakes
not war