Friday, June 03, 2011

Changing the thumbnail layout in Plone

I had a lot of trouble searching for the simple task of changing the number of thumbnail images displayed on a page by Plone 3. The answer is to go into the Zope Management Interface (ZMI) and change portal_skins/ATContentTypes/atct_album_view .

Click on the Customize button, then replace the number 12 with the number of thumbnails per page that you want to display in the line:

batch python:Batch(images, 12, int(b_start), orphan=1)">

Reload the page.

Thanks to Mike Takahashi's post here.

Tuesday, May 17, 2011

I have my Desire back

I lost my Desire for a while. We tried to work together, but our time was constantly aborted and we had from scratch anew. Now my Desire has a new heart, but at least most of our memories are the same. Oh Desire, how I missed you!

I am, of course, talking about my HTC Desire Android phone. It was constantly rebooting so I took it into the Telstra shop for a warranty repair. It was returned yesterday with a new motherboard, as expected. From what I have read it's a manufacturing flaw that has affected many of the phones.

I really did miss the constant internet access, as well as the 15 Gigs worth of music on the phone. Still, my old Sony Ericsson w705 worked admirably well as a phone and music player in the meantime.

Wednesday, April 13, 2011

Like father, like son

I'm was very proud of Alex today. When I picked him up the class was playing cricket and he wanted to play too. Then he told me that he wanted to fly in a plane. The free newspaper on the train had a photo of the latest Dr Who, Matt Smith, attending a premier with Karen Gillan, who plays Amy Pond. Alex immediately recognised them as the Doctor and Amy, despite not being dressed in character. (Matt  Smith had an ordinary tie, not a bow tie. I thought bow ties were "cool"!)

Wednesday, March 16, 2011

A new superhero

I have been inspired by the events in Japan to create a new superhero.

Our mild-mannered, slightly nerdy, protagonist is freakishly exposed to a blast of radiation. His skin tingles, his hair falls out, he starts shaking uncontrollably. He becomes...

... Dead.

This, of course, sets things up for a sequel, where a mysterious voodoo priest digs him out of the ground and turns him into a Super Zombie. By day he is a writer for News Corp's Daily Telegraph, eating out his reader's brains, an unsatisfying task considering the small size of them. At night... Well, you will need to buy the comic book for that.

Wednesday, March 02, 2011

Beauty is in the processor of the camera

As I predicted would happen to digital cameras, Panasonic's new FX-78 model includes a recording mode to deemphasise skin blemishes and a retouch function which includes teeth whitening and various cosmetics application to the photo.


How long until an automatic version of this is made compulsory for all paparazzi cameras?

Tuesday, March 01, 2011

Stand up for an ignorant Australia

I hate Australian politics, but at least it's better than Libya's right now. Here's a song for Tony Abbott's next election campaign.

Stand up! For an Ignorant Australia

Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

A place where all our wealth
Comes from digging up the earth
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Workers rights are out the door
Big business always needs more
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Your income will be free
To pay all of Mac Bank’s fees
Stand up for an ignorant Australia
Stand up! For in Ignorant Australia

Where watching a Current Affair
Will fill your head with hot air
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Say no to the married gay
Let the church have its way
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

It was hotter in Jesus’ day
If you’re flooded then kneel and pray
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

If it’s green then cut it down
We prefer the colour brown
[Unless his name is Bob]
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Better for you to be dead
Than be called a tech head
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Say no to an NBN
What’s wrong with a ballpoint pen?
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Never having to say sorry
We’ll rewrite history, don’t you worry
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

We’ll stop the boats
Of terrorists and their goats
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Our border cops will stop the lot
Send them back to be shot
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Except for Pommies, they’re just fine
Although they gave us Bodyline
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

We support the rights
Of all our frightened whites
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Our policies come from Alan Jones
And his callers on the phones
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

All that you need to know
Is tucked up inside my Speedos
Stand up for an ignorant Australia
Stand up! For an Ignorant Australia

Monday, February 14, 2011

Sleepy fish

An Alex update. Lying in bed with a sick kid asleep on my shoulder. At least it's a chance to relax and listen to music; I love relaxing with him.

He continues to amaze. On Saturday, with his "bubble" floats off he began kicking off the wall and swimming back, dipping his face into the water and back up again. The instructor was very impressed, as were we. The backyard pool may be too much work and waste energy and water, but it certainly has its uses!

Popular Posts