My life through Google

  • A large part of my online income depends on Google Adsense.
  • I filter my email through gmail and since this morning I’m feeding a backup gmail account with a copy of every single email I get. Thanks Matt for that idea.
  • I use Google’s search engine to find solutions to my problems.
  • Like Tom and Matt I now read my feeds through Google Reader. Not being able to hit ‘S’ to go forward a feed still sucks but my workflow has changed to accommodate it.

It’s a bit scary how much I use we use Google.

PS. I’m testing a new WordPress plugin. It needs comments to work on, so please leave a comment! It’ll hopefully see the light of day tomorrow! 🙂

Notes when upgrading to PHP5

I upgraded one of my servers to PHP5 this morning. Two things to watch out for:

  • The location of your php.ini may have changed. It’s probably now in /etc/php5/apache2/. You need to copy over any changes from your old one.
  • Update your libraries too such as the mysql client and the gd library. Don’t forget you can delete the old ones. apt-get install php5-mysql php5-gd will do the job of installing, the old packages have a php4 prefix.
  • WP-Cache doesn’t like PHP5 much. If you see a blank page after upgrading to PHP5, then hit reload and it loads, then WP-Cache needs to be modified. Leroy has the fix, open wp-cache-phase2.php in your wp-cache folder and change ob_end_clean() to ob_end_flush(). SImple as that!

The reason for the upgrade? I wanted to install the gd extension, but after lots of fun upgrading everything my browser tried to download every page, complaining that it was a phtml file. I chose the upgrade to PHP5 to fix it!

And finally, the reason for gd, was to get the heatmap in this wordpress click tracking plugin working. It’s like Crazy Egg and it works well, but I couldn’t get it to display a heatmap for any page other than the front page. Some of the comments on Daily Blog Tips where I found it are hilarious. They completely miss the point of using a heatmap!

The blinking folder and question mark is bad, right?

Just over a year after buying my Macbook and it has quite possibly died. While using it, it stalled, keyboard wouldn’t respond, and I had to shut it down. When I started it up again I heard 3 distinct clicks which is never a good thing, and after a few minutes of staring at a grey screen a flashing folder appeared with a question mark in the middle.

It has happened to others and the prognosis isn’t good. A reinstall of Mac OS X is required, but those clicks I heard disturb me. I get the feeling I’ll be finding out how good Apple Support are. Does anyone know how to eject a DVD without the OS running? The Bourne Supremacy is in the drive and I haven’t even watched it yet!

I’m paranoid about backups, and what has been bugging me over the last few weeks is that all my email was on the Macbook, and I hadn’t got around to backing it up because the wireless connection was too slow. I’ll find an older Thunderbird directory on my Linux box and fire that up, but if you’ve sent me email over the last few weeks that needs a reply, send it again. I think I’ll allow Gmail to store my mail in future.

If for some reason the machine can’t be resurrected, it’s definitely the last Mac I’ll buy. What with the flickering screen too, I think I might be better off spending the extra pennies on better hardware from a PC manufacturer.

Update! I rang Apple, who put me on to their local reseller/fixer-upper, and they have the laptop. Hopefully I’ll hear back from them before the end of the week. They’ll try to fix the flickering screen too. That’s apparently caused by a missing piece of rubber on the mother board.

Update on Aug 24! The service center rang yesterday evening to say the machine is fixed so I picked it up this morning. All data is gone but I won’t put anything on there I can’t afford to lose. I hope the flickering screen problem is gone now as they replaced a “board, inverter” and “cable, inverter” too. OS X is 10.4.10, and Software Update picked up one iPhoto update. Now to reinstall Firefox and other apps ..

The strange tale of the Brita water filter

It was a dark and stormy night. Thunder rolled over the land and lightning shot from the sky incinerating trees, cars and unlucky people caught out in the worst storms since records began. Out of the dark came a hulking shape. It was transparent, and water sloshed from side to side as it moved down the road, but no! Disaster struck, a little pebble made a small crack in the jug and it’s life force, the magical water seeped into the ground and the transparent walls of the Brita jug finally fell silent.
The thunder rolled on …

Well, I had to make a post about water filters exciting in some way eh? Now, here’s what I really wanted to tell you.

We’re on our second water filter at home. The first one was a Brita jug, which worked perfectly fine until a small crack appeared in the bottom. Filters lasted slightly less than a month before it became obvious the water wasn’t as pure.

My litmus test is my bedside glass of water. If it’s still drinkable in the morning then the water filter works! Without a filter, water in Blarney where I live tastes fine out of the tap, but left overnight it has a distinctly metallic taste.

As I said, the Brita jug was fine, but water leaked out of that slowly but surely and it was time to replace the jug. Little did I know how much the Brita was costing us ..

A few days later we were shopping in Tesco and I remembered the water filter. We made our way to the hardware section of the store, and discovered quite an array of shapes and sizes, not only from Brita, but also Tesco’s own brand. I compared prices and the Tesco filters were half the price of the Brita ones, so buying a Tesco branded water filter jug was a no brainer.

Back home, the Tesco jug works great. The filter seems to last longer and my glass of water can still quench my thirst in the morning a month after installing it. If you’re going to buy a water filter, go do yourself a favour and buy the Tesco one. It’s cheaper and works just as well as the Brita one.

If on the other hand you still have a Brita jug, the Tesco filter may fit it if your jug uses the long and round filters. That’ll save you about €3 a month and as they say, “every little helps” 🙂

No, I’m not paid by Tesco for this. I think it’s too good a bargain to pass up if you use a water filter at home! Normal WordPress, tech and “popular culture” blogging will resume shortly!

PS. ‘course the Brita filter might have been doing more work because the water was leaking out of it, and thus clogging up the filter more quickly!

Must be the rain in Cork

Rain spattered onto the windscreen in drops and a light drizzle sprinkled the car as we drove through town on our way home. It was warm today and I was looking forward to getting home, putting the baby to bed and relaxing for the evening. The windows were half down to let the air circulate in the car and traffic was going nowhere fast.

As we waited I heard the slowly increasing beat and volume of loud music from behind. A car drew alongside us and the cheering and laughing faces of the guys in it were clearly visible and their music blared into the evening. Their exuberance was catching and we were soon smiling and laughing with them! I think God must have heard their music, because suddenly the heavens opened and the car almost shook with a torrential shower of rain. We all looked at each other and laughed again. Why? Click play and you’ll find out!

Continue reading “Must be the rain in Cork”

Open a new window here in Ubuntu Linux

cmdline.png

One of the things I missed a long time ago in Windows completely was the handy “start” command I could type from a command prompt to open a new Windows Explorer window in whatever directory I was in. Can you still do that? Does anyone use Windows from the command prompt any more?

nautilus.png

I have since discovered you can do the same thing in Ubuntu Linux (and any other Linux for that matter of course!). I’m a big fan of Gnome, which uses the Nautilus file manager. If you’re fond of navigating your computer using a terminal, it’s really easy to open a Nautilus window in the current directory. Simply run ‘nautilus .‘ and a new window will open in that directory.

Don’t tell me you’re a keyboard junkie, I am too. I use Vim! Nautilus is still very useful though. Besides it’s obvious use as a file manager It’s dead handy for copying files to a remote server using any number of transmission protocols from ssh and SMB through to plain old ftp. But more on that some other time eh?

Matt Damon: on fatherhood and acting

Two quotes from a Sunday Times interview with Matt Damon, star of the Bourne series of movies. He and his wife, Luciana Barroso, have a 14 month old baby daughter and despite all the money and lavish lifestyle, they have some of the same experiences all new parents have ..

“Sometimes I wish I could go back to sleeping on the couch,” he says. “I think back to those days when I was sleeping on friends’ couches. For years I had two duffel bags and I went from set to set and everything I had in the world was in those two bags. I didn’t have a house. I had nothing. And I loved that and there was incredible freedom in it; I could be in and out of a place in a minute – I could have everything on my body and moving. And now I have 20 bags and cribs and strollers and Pack ’n Plays.”

Last night my daughter was up all night,” he says, rubbing his eyes. “My wife tries to help me when I’m working – she tries to do everything at night so I can rest, but the reality is that when you’re in a room with a baby who’s crying it doesn’t matter whether or not you’re the one who’s changing the diaper, you’re still going to be awake.

“Halfway through the movie Paul Greengrass [the director] looked at me and said, ‘You look terrible.’ I told him, ‘I’m sorry. I’m awake all night with the baby’, to which he said, ‘No, it’s really good. She came along just at the right time – she’s really helping your performance.’ In the previous two Bourne films I’d have to achieve that same ragged look by staying out all night in Paris.”

Not all of us have to jet across the world or party all night in Paris to look grubby in the morning but you get the idea. When a baby comes along your life is turned upside down!

Finally, first I’ve heard of him, but apparently Jimmy Kimmel has a long running gag surrounding Matt Damon. Unfortunately Matt “freaks out” when he finally gets on the show.

Continue reading “Matt Damon: on fatherhood and acting”

WordPress MU 1.2.4

The new WordPress MU 1.2.4 went live this afternoon and can now be downloaded. This is based on WordPress 2.2.2, a security release, so it’s important to update your WordPress MU install too. If you haven’t changed any files, all your need to do is copy over the new release and things should work fine.

  • Kses has been reverted so you can use class and id attributes in your HTML tags again. Conor is already happy because his microformats will work again!
  • The installer has been smartened up and is now friendlier and may catch a few more problems before they arise.
  • Lots and lots of bugs have been squashed. It’s been messy but they had to be exterminated.

If you’re comfortable with Subversion and merging file changes, then the list of changed files should come in useful. You can also download a diff file there if that suits. Check the forum announcement for feedback.

It's Toddtime at Sacred Heart

Some said “Even The Todd wouldn’t wear those” but I think he would. In a recent episode of Scrubs, Todd had a tshirt with the url, thetoddtime.com emblazoned on it. Fearful for what I’d find there, I visited thetoddtime.com and discovered something so unreal, so shocking that I had to share it with you.

thetoddtime.jpg

If the Quicktime movie doesn’t load for you, someone kindly uploaded it to YouTube as well. Click the “Read more” link to view it as I want to spare the sensibilities of the casual visitor here. It’s so YEEEEA!!!

Continue reading “It's Toddtime at Sacred Heart”