- A few days ago I blogged without comment a video by Larry Lessig on the Creative Commons. It’s a great video, but I won’t use it to license my photography. Why? Jim covers most of my reservations about the scheme. This might come as a surprise to some but one of the main reasons I “reserve all rights” on my Flickr stream and photoblog is because I would like some say in how my images are used. I would be horrified if a picture of my son was used in a derogatory way, or if a photo of a stranger on the street appeared in an inappropriate context.
If I was going to use one of their licenses then it would have to be the cc-GPL. I’ve released GPL licensed software for the past 10 years and at least then all materials used in any derivative works would have to be made available. Would that mean a magazine featuring a GPL licensed image would have to make PDF files of their magazine available? I hope so. I also do not want to give up my right to redistribute my image under a different license. As the original copyright holder of the work that is important to me. Anyway, my duck photo shows that many people think photos found online are there to be ripped off and used. I don’t think it matters what license you use. - This image would definitely not make it into the wedding album. Love it!
- Digg’s API docs, for something I’m working on now.
- Paul Indigo took a great portrait here. I can only imagine how bossy that woman was if he compares her to Hyacinth Bucket. Paul is so right. The number of “That’s great”, or “Lovely image” comments on Flickr and photoblogs is overwhelming. They don’t add much to the photographer’s skills. Critique!
- Conor gets nostalgic about the Speccy for Science Week. Damien has more posts about great inventions.
Monthly Archives: November 2007
Why I think StumbleUpon is better than Digg
Compare the following two graphs taken from Google Analytics.

Hits from StumbleUpon

Hits from Digg
At first glance, an appearance on Digg.com looks great! All those lovely hits. 5 times more in a few hours than StumbleUpon sent over a few days. What you don’t see there is the bounce rate. That is the rate at which people visit your site and never come back.
According to Google Analytics, the StumbleUpon bounce rate is 29.94% while a whopping 77.58% of Digg users visit once and leave. I’d rather have the visitor who comes to my site, browses around and then hopefully subscribes.
It’s also easier to gain attention on StumbleUpon and it is likely to continue to send traffic to your site long after your Digg submission disappears into the nether regions of that site never to see the light of day again. That bump on the StumbleUpon graph a few days later was yesterday as people came back into work after the weekend.
In this example, there’s a large difference between the number of visitors Digg and StumbleUpon sent, but StumbleUpon can send you a torrent of traffic too. After I stumbled Grandad’s How to survive your first Guinness post, his site received an extra 16,000 hits plus his subscriber count jumped by a few as people enjoyed what they read.
So, sign up on StumbleUpon and add me as a friend and I’ll pop by for a visit.
Update! Grandad sent me a graph of his traffic over the last month. That big spike is the “StumbleUpon Effect”, but the extra traffic afterwards is more interesting. That’s from his new-found regular readers. Glad I could help!

Rescued from a terrible fall
If you live in Australia you may remember a news story about a young man who slipped and fell from a waterfall at Mount Glorious, west of Brisbane several weeks ago. The injured man was very badly hurt but his friend stayed with him and cared for him until help arrived. From the news report:
Inspector Hunter Nicol says he was lying face down in the water and a hiking companion jumped in and dragged him out.
“He has got severe head injuries, some leg injuries from what we can gather initially,” he said.
“He’d fallen approximately 10 metres, landing face first into water and it was only for his friend – he was able to get him out and look after him until help was able to arrive.”
Why am I blogging about a hiking incident that happened on the other side of the planet? Because Bartek, the friend who saved the injured man’s life, is my sister-in-law Suzanne’s boyfriend. Here is his story. He sent me photos but they didn’t attach properly unfortunately. Suzanne sent on the images you see here later.
My friend’s name is Andrew Davison but I call him Davo at times from our school days. Suzanne tells me you would like a more comprehensive account of what happened 2 Sundays ago, so here goes.
I hadn’t seen Andrew since we climbed some of the Glass House Mountains, Queensland about 5 months ago. On this trip, he was eager to show me the Mount Glorious creek bed from Greens Falls to Love Falls (pictured). There was enough water at Love Falls for a little cool down dunk in the water before we headed up Love Creek and we got up to a pretty huge waterfall which we climbed to the top to have a better look before heading back.
It was about 1:30pm and we were about an hour’s walk from the car when we where retuning through a fairly difficult portion of the creek. We had to go around a dried up water fall as it would be unsafe to try going straight up. Andrew was about 10m from the bottom of the creek bed and had reached a bit he was struggling with. I told him to grab hold of the bag strap I lowered down and to give the rock in front of him a big tug to see if it held, and then use that rock for leverage. This he did but without holding onto the bag to check the rock properly. Our worst fears were confirmed when a 6-8kg rock came straight out of the side of the ravine and Andrew fell from his hazardous perch. The rock followed him down and I believe smashed his right eye during the fall. He landed back first into about 20cm of water, knocked him unconscious, and started to sink into the water as the pool turned crimson. I flew down the side of the ravine with little thought to my safety and made it to him in about 35 seconds, apologies to the vegetation on the way!
I slid straight into the waist deep water near Andrew and put both my arms underneath his, with my left hand on his forehead to stabilize his neck, my right arm around his chest I heaved… Damn he was heavy! My underwater foothold slipped and we fell back into the water and again I heaved him up the side of the rock. As he lay there he coughed up all the water he had swallowed and started coughing and moaning. Once I got him in a stable position I checked him out. There were major lacerations to his head, possible skull fractures, a hole in his right cheek about an inch long, his right eye was mush with multiple fractures bulging out, two major lacerations on his right knee and one on his left knee. So much blood.
Having only my shirt available, I strapped his right knee to stop that bleeding and put a thick woolly sock on the head wound so he couldn’t feel all that blood flowing over him and cause him to panic even more. I pulled my mobile phone out of the bag while cradling Andrew so he would stay still and be more comfortable and called the emergency services. it took them about 5 minutes to put me in contact with emergency personnel who told me to do what I had already done; check his pulse, his breathing, see if his eyes were reacting to light and movement, ask him questions, keep him conscious and not to give him any water. He was in a really bad shape.
We had a very long wait of two hours keeping leeches, flies, mosquitoes, ticks and ants off us, keeping Andrew moaning and concious and trying to keep him warm with my blood covered body while answering phone calls to stupid ass people that couldn’t follow my directions.
“Just ask the F***ING locals!” I felt like screaming down the phone but said so politely. Finally two locals did find us and a girl of about 16 came climbing down to us like a natural. She talked to Andrew while her brother screamed to the 2 paramedics, the fireman and the police officer who had fallen well behind, “Hurry the f*** up you slow bastards. He’s down HERE!”
Thank God help was here. I told the girl to use her white shirt to wave at the helicopter at the clearing and her brother to take off his shirt so we could keep Andrew warm as he was already shivering uncontrollably. Within 20 minutes the chopper dropped off 2 more paramedics who helped to stabilize Andrew. Then it came back after another 20 minutes to drop off the stretcher and returned after 45 minutes once we had Andrew in it and had carried him down to the clearing about 20 meters away and about 15 meters below where he fell.
Anyway, Andrew was sent home today from hospital. He will have to return for at least 2 more operations to remove bone fragments from behind his eye again and for his right knee. Apart from that he is healing quickly and looks like he will be back to normal in the near future.
Thanks Bartek for sharing the story of the rescue. I think you were a hero that day and Andrew is lucky you kept your head and knew what to do. Hopefully you’ll never have to use those skills again!
100,000 page views in 5 minutes
Now, that’s why you can’t believe benchmarks. Sure, this server was able to serve 100,000 page views in 282 seconds but:
- Requests were made from a VPS in the same datacenter. No need to worry about slow clients, or maintaining network connections to many remote clients.
- I used Litespeed Web Server instead of Apache.
- Was it realistic? Even a digg that sends you say, 8,000 page views in an hour, isn’t going to exercise your server that much unless your page is chock full of graphics, css and Javascript. (oh wait, web 2.0 ..)
So, Litespeed’s webserver is the one to go for? Maybe not. I can’t for the life of me get compression of the static cache working. When I do, the browser tries to display the gzipped data directly. I can enable the webserver’s gzip function but from tests I don’t think it caches the resulting gzipped file. (btw – mod_deflate, the Apache2 module that does the same thing suffers from this problem too!) Later – testing this again. Litespeed allows you to set a a gzip cache directory. For normal traffic it’s worth doing so pages load faster.
The mod_gzip site is a great resource if you want to find out more about compressing HTTP content.
How did Apache cope? I was serving 100 concurrent requests and Apache didn’t cope too well. It did serve all the file requests eventually but the load average jumped to just over 50 and the site was unavailable to anyone else. It’ll serve 1000 requests for a static file fine, even 10,000 too, but under constant load the server starts to wilt. Unless you have the RAM to keep enough Apache child processes going all the time you’re going to start swapping.
Meanwhile, Litespeed hardly caused a blip in the server’s load average. I’m quite impressed and I’m running it now. It’s also what powers WordPress.com. Even if you’re not using WordPress, you should look at alternatives to Apache.
This leads me nicely on to announce WP Super Cache 0.4! Download it here!
Major new features include:
- A “lock down” button. I like to think of this as my “Digg Proof” button. This basically prepares your site for a heavy digging or slashdotting. It locks down the static cache files and doesn’t delete them when a new comment is made.
- Automatic updating of your .htaccess file. (Backup your .htaccess before installing the plugin!)
- Don’t super cache any request with GET parameters. You really need to use fancy permalinks now.
- WordPress search works again.
- Better version checking of wp-cache-config.php and advanced-cache.php in case you’re using an old one.
- Better support for Microsoft Windows.
- Properly serve cached static files on Red Hat/Cent OS systems or others that have an entry for gzip in /etc/mime.types.
- The Reject URI function works again and now uses regular expressions!
Support queries should go to the forum. Make sure your posts are tagged “wp-super-cache”, but if you post from that link they will.
Donncha's Monday Links
Finally got some shots of the Autumn leaves on the trees and the ground last night, a little late of course!
- Funny Olympus commercial – full of passion!
- Towering ambition – I knew I recognised Chicago’s Navy Pier!
- Chemtrail Conspiracy – via a scrawled message on a building site in Cork. Photo to appear tomorrow.
- Milking a dead horse – Tubular Bells x y and z. I remember going into HMV and seeing a different Tubular Bells album in the “sales” every few months. They all looked the same and I had no idea if the one Bells album I bought was the one on sale each time.
- Bloglines top feeds – I’m subscribed to the top 2. There’s comfort in that.
- Vic did the NCT last week. I have to book mine shortly.
Things started to get even worse. When people were called for their results they didnt immediately jump up. They slowly looked up and repeated their name, pointed at themselves and then made the long walk of death to the guy with the NCT results.
- WP Super Cache and Lsws rock. 100,000 page views in less than 5 minutes! Pity compressed files don’t work.
And via Jim, How Creativity Is Being Strangled By The Law by Larry Lessig.
How long can you hold your breath?
I used to be able to swim well. At a stretch I could do 50*25m lengths of a pool in about an hour. I’d be wrecked after it for days on end, but I did it. And at the time I managed to hold my breath and swim the whole length of the pool underwater. Those pesky kids at the top of the pool were always a frustrating obstacle when the air is running out ..
That all pales in comparison to the achievements of British freediver Sara Campbell who can hold her breath underwater for 4min 30sec. She recently set a world record in the disciple of, “constant weight” freediving when she dived to 90m (295ft) on one breath.
There is a risk of blackout and burst eardrums and the lungs compress to the size of a clenched fist, but deep down at 90 metres – where no other woman swimming with just a monofin for propulsion has gone before – the Red Sea looks golden to Sara Campbell.
Phew.
Donncha's Friday Links
There is no vulnerability in WP Super Cache. Chris blogged about it after we spent a late night of debugging it until 1.30am. But if:
- You are using Windows (props Computer Guru)
- You are using a Red Hat or Cent OS system, or just having problems with compressed content (props Dennis)
- You want to use the reject uri function
- You want to try out the new automatic .htaccess rule generator
- You want WordPress searches to work again
then you should head to the download page and try the development version of the plugin. Official release tomorrow probably.
I tell ya, I have learned more about Apache, content types, mod_rewrite, IIS and Red Hat vs Debian differences with this project than I ever could have considered healthy.
- Joseph linked to How to Debug PHP with Vim and XDebug on Linux. I started reading but then I realised I had to compile Vim again! I’ll stick with my error_log(). Inertia is a bitch isn’t it?
- Haha. Hugh responds to requests for a Facebook cartoon. (via Damien)
- Google is abusing nofollow? Credit where credit is due. That’s just mean.
- Akismet announces Defensio. So, who’ll hack both their plugins to compare results? Should be easy. Should be interesting! Chris is comparing the two on different blogs. Excellent.
- The WordPress MU Codex is going to get another boost when we start populating it with useful nuggets of information from the forum. More documentation, more help, less frustration.
- OK, so how many Irish and UK natives sneer, sniff and give out about the Polish people living here and in the UK? This is what happened to Joe who broke his ankle in Poland. Wouldn’t you just love if your hospital was that good?
He arrived in the hospital at 10:15am, He was wheeled into the doctor at 10:30am and then taken for an X-Ray. By 11am it was confirmed that his ankle was broken and it was reset. By 11:15am his ankle had been placed in a cast and by 11:30am he was back in his hotel eating his lunch. 1 hour 15 minutes, done and dusted.
- Stephen Fry bemoans the advent of modern cameras and mobile phones. Gone are the days of the simple autograph.
- IPhone Day in the UK today! Fanboys started queueing For the iPhone release in the UK, yesterday. Unfortunately for them they have to deal with British weather. Whycantheywaitafewdays…
- Googlehacks is a neat front end to Google allowing you to find music, books, videos and other things online. via and Digg so you all probably saw this too 🙂
Donncha's Thursday Links
Reports of an exploit in WP Super Cache are being investigated but details are vague at this stage. There are only 3 reports of this out of hundreds who installed the plugin. Email me at donncha at ocaoimh.ie if you find files from outside your blog in wp-content/cache/supercache/
Tell me the following if you can:
- Plugins installed on your blog.
- WordPress version.
- The output of
ps auxw
andlsof
if it’s installed. - If you notice any strange processes running, check that they are not shell or php scripts.
- Anything strange in your log files? Look for the string “=http” for funky stuff. There will always be strange entries, so don’t be too alarmed if you see them, see my perl bot post. They’re fishing for an exploit on your server.
On to the links ..
- You can now make your Google Reader tags public and add those sites to your blog as a blogroll. Nice! I still want a “timely dozen” like Photomatt used to have. Must look at Simple Pie ..
- I’m shocked. Alkos is writing on his blog. I thought the world ended when he used colour but this? What will happen next? Oh, great photography, as usual!
- Robert’s girlfriend has only a few days to go and his nerves are starting to go. Good luck with the birth! He has also posted Super Cache benchmarks. Good results!
- Any world leaders reading? If you want to justify an outrageous pay rise, talk to Ireland’s Prime Minister/Taoiseach. His pay rise takes him to the top of the list of top 30 OECD countries. Well done Bertie! Now where’s the health service gone?
Ireland €310,000
The US €276,000
Britain €267,500
Germany €261,500
Switzerland €256,000
How well did Super Cache handle the digg?
I must admit making the front page of Digg.com wasn’t the nail biting experience I expected.
$ grep "GET /2007/11/05/wordpress-super-cache-01/" access.log.1|grep digg -c
4686

My Super Cache announcement only drew 4686 visitors which is an ultra-light Digg. The Digg page for the post received 808 diggs as of a few minutes ago which is great. Thank you for voting! Judging by the sheer number of comments on that post, there’s a lot of interest out there in the plugin.
What about traffic graphs? The spike at the end of the first graph is my nightly Backuppc service kicking in. The second is from Google Analytics. My server could certainly handle a lot more traffic!


A quick look at my uptime shows the server hardly broke a sweat dealing with the extra traffic except where some idiot spammer bots tried to download my archives a few times. Unfortunately the first time that happened the archives weren’t cached and the load climbed.
For maximum performance, download Xcache and install it. The Xcache WordPress plugin uses Xcache to cache data structures and makes WordPress much faster, even if you don’t use any other caching tool.
Donncha's Wednesday Links
Post digg.
- Ireland’s Prime Minister or Taoiseach Bertie Ahern, recently received a nice pay rise of €38,000. He is now one of the highest paid heads of state in Europe. He even earns more than George Bush! Here are 50 ways his party, Fianna Fail, laugh at Irish voters. (via). Twenty Major elaborates on a possible discussion between Bertie and a member of Government. It’d be funny if it wasn’t based on fact. (via)
- Damien is lusting after the Eee PC. Toni already bought one and he has the same complaints I had reservatioons about,
* The screen and keyboard are tiny
* I was hoping for a longer battery life (seems like it gets about 3 hours) - I Broke Blogspot.
- How to scale WordPress MU is a work in progress. I’ve only skimmed it so far but I’ll dig into it later.
- Make Linux look like a Mac is a Gnome theme with instructions and screenshots. Looks pretty.
- Haha! Niall discovered that the Golden Spiders voting form only does Javascript validation. Vote as many times as you like! (sort of)
- When I get older. What scares you most about the prospect of being old? Failing eyesight, hearing, physical disability? Memory loss or dementia?
- The digging yesterday of my Super Cache post wasn’t as heavy as I thought it would be. More on that later.