Showing posts with label silly. Show all posts
Showing posts with label silly. Show all posts

2008-07-23

Got my Lisp t-shirt

The postie turned up today with a package from RedBubble. It was my Lisp t-shirt that I ordered a couple or so weeks back:

Here's a photo, with CLtL doing the modelling:

2008-07-02

Self-Documenting ruby t-shirt

For reasons I don't really understand myself, recently I've been messing about with the idea of code on t-shirts. Sure, it's not exactly a new idea, but I couldn't resist it. I started out with this Lisp t-shirt (mainly because I wanted one myself, the order is in and I'm looking forward to getting it) and then went on and did this one (which I'll probably end up buying at some point in the near future).

And then I got to thinking that it might be interesting to have a go at creating a t-shirt that was, in effect, self-documenting. The idea being that the design would contain code that would, as much as possible, be usable in creating the design. After thinking on this for a while I decided that a Mandelbrot set would be a good place to start.

Having already done some Lisp I thought it was time to do something with ruby. So, I sat down and knocked up a quick script that would plot a Mandelbrot set, emitting it as a PBM file, just to make life easier. I then converted that to a PNG. After that I loaded up Photoshop Elements, created an empty image sized correctly for a RedBubble t-shirt design, added in the Mandelbrot and then layered the ruby source code over the top. A tweak or two later and I had a finished design:


I'm rather pleased with the result.

That said, the idea still needs some more work. While the shirt contains the code to produce the background image it's not a fully self-documenting t-shirt in that running the code on the shirt won't produce the whole design. That's to say: you can't run the code and get a PNG that's ready to upload to RedBubble.

I think a bit of reading of the documentation for RMagick is in order.

2008-02-25

Describe my photography

This morning I added a few more pointless stats (along with some more pointless graphs) to the photography section of my site. For no good reason at all I thought it would be interesting to see the most common month, day of week and hour of the day.

And then I realised that, using the most common item in each table, I could sum up my photography:

Apparently you're most likely to find me using my Canon EOS 400D on a Saturday in August, between 14:00 and 14:59, to shoot in landscape orientation at 1/200, f/8.0, ISO 100 with a focal length of 55mm. I won't be using the flash, I'll be using matrix metering and the exposure will be done in program (auto) mode.

Chances are I'll be taking that photograph somewhere in Lincolnshire, probably in Billingborough.

Oddly enough I don't think I've actually taken that photograph yet... ;-)

2007-05-25

5x5

During a discussion over on Debate Unlimited I was reminded of a little puzzle I used to use as a test problem when getting to know a new development tool or environment. The puzzle is called 5x5.

Many years ago I wrote a version in Clipper (often including it in systems as an easter egg). I also seem to recall writing a version the first (and last) time I had a play with Visual Basic. I've also done versions for the Palm Pilot and for GNU emacs.

Prompted by this, and as a little lunchtime break, I quickly knocked up a web-based version. So, here it is, 5x5 in XHTML and JavaScript. You'll find details on how to play it on that page.

2007-03-14

2006-12-04

Dawkins in geek slur shocker

Today's Independent has an amusing Q&A with Richard Dawkins, many of the questions, and answers, had me smiling.

But I've got to take issue with the following:

How did a science geek like you get such an attractive wife? GARY HAMMOND, London

I suggest you go to salon.com, type "The Sexiest Man Living" in the search box and eat your words. But seriously (of course you knew there had to be a "but seriously"), science has an image problem with young people, and phrases like "science geek" don't help. Isn't it a bit like "kraut" or "dago"?
No, geek has an image problem, applying geek to a fan of all things science isn't the problem.

2006-11-21

Holy Grit!

It's that crazy time of year again, when Lincolnshire blesses the grit.

"The gritting lorries are very visible on the county's roads, but their work is often taken for granted," said Dr Saxbee, who wrote the prayer for the ceremonies.
I wonder what he means exactly by "taken for granted"? Do I assume that it will be done? Yes, of course, I do, I pay the taxes required to make it happen and, big surprise, I expect the council to keep up their end of the bargain.
It is the fourth time the blessings have been held.
And, yet, road deaths in Lincolnshire this year are up on last year. Does he really think anyone is listening to him?

2006-08-04

The name's LaForge, Geordi LaForge

I'm not great fan of weblogs that post one quiz result after another (yeah, I know, most online quiz things are stupid but they're often fun too). Normally I wouldn't post one right after another but after seeing a post on the Bad Astronomy weblog I had to have a go at this:



You are Geordi LaForge

You work well with others and often fix problems quickly. Your romantic relationships are often bungled.


Click here to take the Star Trek Personality Test.

Geordi LaForge
60%
Will Riker
60%
Spock
59%
Deanna Troi
50%
Jean-Luc Picard
50%
Mr. Scott
45%
Beverly Crusher
45%
James T. Kirk (Captain)
45%
An Expendable Character (Redshirt)
45%
Worf
40%
Data
37%
Chekov
35%
Leonard McCoy (Bones)
30%
Uhura
20%
Mr. Sulu
10%

2006-08-02

I'm an emaciated hipster drinking dreams and eating consciousness

Silly quiz time (via Tim): The Famous Leader Test — I took 18 questions and ended up as:


I think I got a better deal than Tim did. ;)

And, if you're wondering about the title of this post, it's a line from Sophisticated Beggar by Roy Harper. It was either that or the other obvious one (well, obvious to me).

2006-07-12

OMG! Clowns!

From The BBC:

The Bestival, which takes place on 8, 9 and 10 September near Newport, Isle of Wight, had asked festival-goers to turn up in curly wigs and large shoes.

But organisers decided to shelve the idea after a number of ticket holders said they suffered from Coulrophobia.
Sure, phobias can be terrible things but I can't help wondering what they're going to do when the agoraphobics start to complain... And, wait a moment, it's on the Isle of Wight — pity the poor aquaphobics too...

2006-05-08

Top Tip of the Day

Top tip of the day: if you have a ball stuck in a tree, don't try and get it down by throwing a garden rake at it, you'll then have two things stuck in your tree:

2006-03-06

SciFi Crew Quiz

Saw the quiz over on Matt's blog and couldn't resist. Shame I've never seen this "Serenity" mob.

Serenity (Firefly)

81%

Deep Space Nine (Star Trek)

75%

Moya (Farscape)

69%

Millennium Falcon (Star Wars)

69%

SG-1 (Stargate)

56%

Nebuchadnezzar (The Matrix)

56%

Enterprise D (Star Trek)

56%

Galactica (Battlestar: Galactica)

50%

Babylon 5 (Babylon 5)

44%

Andromeda Ascendant (Andromeda)

38%

Bebop (Cowboy Bebop)

25%

FBI's X-Files Division (The X-Files)

19%

Your Ultimate Sci-Fi Profile II: which sci-fi crew would you best fit in? (pics)
created with QuizFarm.com