Der Blog

Was den haarigen Kerl betrifft

A weblog by Peter Berry

STACK OVERFLOW!

You might have heard of the Garfield Randomizer. Turns out a similar thing exists for Dinosaur Comics.

I actually came across Dadasaurus Rex a couple of weeks ago. It lends itself very well to the treatment since not only is the panel layout the same in each strip, the art is the same as well. Here's a rather excellent one I got:

Dadasaurus Rex suffers from sleep madness.

A fairly accurate depiction of what happens when you don't get enough sleep, I think. :)

[ Entry posted at: Sat 07 Jul 2007 18:53:04 UTC | Comments: 0 | Cat: Funny ]

QOTD XII

I'm here to shoot a pilot.

— Nobody, apparently. A director called Mike Figgis was supposed to have said it, but apparently the story was a hoax. But it still makes a funny example of what not to say to the security people at an airport.

[ Entry posted at: Fri 01 Jun 2007 22:15:06 UTC | Comments: 0 | Cat: Funny ]

QOTD XI

"Suppose I wanted to--have a party?" I said.
"Like, what kind of a party?"
"Suppose I wanted Noam Chomsky explained to me by two girls?"
"Oh, wow."
"If you'd rather forget it..."
"You'd have to speak with Flossie," she said. "It'd cost you."

— From "The Whore of Mensa", a short story by Woody Allen (quoted at Language Log).

[ Entry posted at: Wed 25 Apr 2007 01:41:07 UTC | Comments: 0 | Cat: Funny ]

Change is the root of all evil (apparently)

Being the functional programming nut that I am, I couldn't help but chuckle at this.

[ Entry posted at: Mon 02 Apr 2007 00:09:42 UTC | Comments: 0 | Cat: Funny ]

QOTD VII

Found on Wikiquote:

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

— Brian Kernighan

[ Entry posted at: Mon 15 Jan 2007 03:42:48 UTC | Comments: 0 | Cat: Funny ]

QOTD V

Debian Etch will include a browser called “IceWeasel,” which is simply Firefox rebranded with open source artwork, whereas Ubuntu Feisty will include a browser called “Firefox” which is a little bit pregnant.

Mark Pilgrim again. "A little bit pregnant" here is code for "a little bit non-free". (Apparently Firefox isn't free software because it contains non-free artwork; you can distribute it without the non-free artwork, but then you're not allowed to call it Firefox. That's what Debian is doing.)

[ Entry posted at: Wed 08 Nov 2006 17:47:36 UTC | Comments: 1 | Cat: Funny ]

Bug of the month

[ Entry posted at: Thu 17 Aug 2006 01:16:36 UTC | Comments: 1 | Cat: Funny ]

QOTD

Ubuntu is an ancient African word meaning “can’t install Debian”.

— Mark Pilgrim (from his blog).

[ Entry posted at: Sat 08 Jul 2006 12:21:00 UTC | Comments: 0 | Cat: Funny ]

Young man, here's a language for you

Just found this brilliant filk at http://www.dpawson.co.uk/xsl/sect1/intro.html:

<?song version="1.0" name="XSLT" author="Robin Johnson"?>
Young man, there's no need to feel blue
I said, young man, here's a language for you
If your data doesn't look like it ought
There's no need to feel so distraught

Young man, if you're going through hell
Trying to transform all of your XML
I said young man, are you listenin' to me?
You can stick that damn ASP...

<xsl:template name="chorus">
It's fun to program in XSLT!
It's fun to program in XSLT!
Every line in your code
Is an XML node
And the program is one big tree

It's fun to program in XSLT!
It's fun to program in XSLT!
It works functionally
And it's side-effect free
And the variables don't vary
</xsl:template>
<xsl:call-template name="chorus"/>

It's a language like no other you've seen
It's got constructs that will make you turn green
It's recursive as a thing that recurs
And it ain't got no procedures

Young man - if you don't know .NET
And you haven't read your Java books yet
There is still time to learn XSLT
It's almost as easy as C...

<xsl:call-template name="chorus"/>

XSLT!
XSLT!
Young man, young man, there's no need for distress!
Young man, young man, put down that CSS!

XSLT!
XSLT!
XSLT!... etc.

[ Entry posted at: Sun 22 Jan 2006 14:59:38 UTC | Comments: 0 | Cat: Funny ]

Open sauce

Yes, I was bored...

class Gravy extends Sauce throws UtensilNotFoundException {
    public Sauce(Ingredient meatJuice, Ingredient flour) {
        Utensil whisk = kitchen.findUtensil("whisk");
        Utensil bowl = kitchen.findUtensil("bowl");
        bowl.add(meatJuice);
        bowl.add(flour);
        do {
        whisk.whisk(bowl);
        } until (bowl.contentsAreSmooth());
     // try to serve in a jug; if there is no jug handy, just serve it from the bowl
        try {
            Utensil jug = kitchen.findUtensil("jug");
            if (jug.isDirty()) jug.washUp();
            bowl.pourInto(jug);
        } catch (UtensilNotFoundException e) { }
    }
}

Recipe by me, but put in the public domain.

[ Entry posted at: Sun 15 Jan 2006 13:54:22 UTC | Comments: 0 | Cat: Funny ]

Labs at 8:30 am


try {
    work();
} catch (SleepDeficiencyException e) {
    sleep();
} finally {
    go_home();
}

[ Entry posted at: Tue 15 Nov 2005 07:10:40 UTC | Comments: 0 | Cat: Funny ]

Validate : XHTML / CSS / RSS / ATOM :: SUCS Blogs Version 209