Pedro Assunção

Archive for the ‘jokes’ Category

Red Hot Chili Peppers lyrics generator

Here’s a little something i tried yesterday: a ruby script that mixes and matches verbs, nouns, adjectives, and colors to come up with crazy ass lyrics, red hot style. Enjoy $nouns = IO.readlines(‘names.txt’) $adjectives = IO.readlines(‘adjectives.txt’) $verbs = IO.readlines(‘verbs.txt’) $adjectives << ['red','blue','green','white','black','yellow','brown','gray'] $pronouns = IO.readlines(‘pronouns.txt’) $adverbs = IO.readlines(‘adverbs.txt’) $prepositions = IO.readlines(‘prepositions.txt’) def get_rand(collection) sleep rand [...]

Guru meditation error

While reading my morning web comics, i noticed this error in wulffmorgenthaler: Guru meditation error. Apparently this is the default way the Varnish HTTP cache shows errors and – as it turns out – it comes from the old Commodore Amiga times. It’s always refreshing to find more developers with a sense of humor

Irony of searches and one iPad visit to my blog

Just a couple of pictures this time. The first one is about something i noticed i was doing, while searching for a code fragment. One could call it ironic, trying to find “find” The other is proof of my amazement by the fact that there was one person who visited my blog using an iPad [...]

Bomb This Country

After an awesome Japanese dinner with my good friend Luizzz , we came to the conclusion that the website that was missing was one where you could bomb any country in the world. … So over the course of about 8 hours – the next day – we came up with bombthiscountry.com , a meaningless website where you can bomb any country in the world (yes, China, Tibet is a country).

Mars produces Methane, and so do I

Turns out that the methane that was found on Mars is not a product of meteor strikes, scientists have found, which means Mars actually produces methane. My question is: Where are the green aliens that fart all day to produce it? NOTE: After careful investigation, I found the following: “According to Dr. James L. A. [...]