By Mat | Published:
April 2, 2006
mentioned in an earlier post that one of the things that attracted me to the Panasonic FZ30 that I chose as my new camera was the fact that it had a whopping great zoom built in as standard. What I didn’t mention before is that it has a neat little trick up it’s sleeve for when the 12x optical zoom just isn’t enough.
The FZ30 let’s you lower the final image size and use the extra resolution to boost the effective zoom of the camera - all without resorting to digital. For instance, in the gallery that follows, I dropped the image size to a respectable 5 mega pixels and got the effect of a 15.3x zoom. Very handy indeed.
Read More »
By Mat | Published:
April 2, 2006
I’ve had most of my weekend planned around watching the Australian Grand Prix today. I flitted between decorating and working on the computer all day yesterday in order to free up 3 hours of quality grand-prix time, and had the TV & Radio off this morning so that I wouldn’t know the result before hand.
Much as I enjoy F1 I wasn’t going to watch the 4am live broadcast from Australia, so just needed to check the airing times when I got up this morning. Stuipidly, I thought that the best place to do this would be at www.itv-f1.com - the official site for the ITV Formula 1 coverage. Stupid mistake as the result was plastered all over the home page. Tossers.
I watched and enjoyed the race anyway. Actually, it wasn’t so much a race as some sort of strange demolition derby today, but it was certainly not one to miss.
Posted in Play | Tagged f1, tv |
By Mat | Published:
April 2, 2006
Just spotted that a lot of pages of this site have ended up confined to the supplemental results of Google, effectively being dropped from the main results.
This is an annoying feature of Google in particular in that it does really know how to deal properly with sessions (a way of storing information, such as login status, when you are on a site). Basically every time Googlebot visited it was seeing a different URL and thus assuming that there were hundreds of similar pages on the site.
As a quick fix I have simply added the following to my .htaccess file:
php_value session.use_trans_sid 0
php_value session.use_only_cookies 1
This forces PHP to use cookies to store the session and removes session support where cookies are not enabled. Not really the best solution, but on that will do for now at least. A better approach would be to do something like this on the pages instead:
$spiders = array(”Googlebot”,”WebCrawler, “etc etc”);
$from_spider = FALSE;
foreach($spiders as $Val)
{
if (eregi($Val, $_SERVER["HTTP_USER_AGENT"]))
{
$from_spider=TRUE;
break;
}
}
// Session
if(!$from_spider)
session_start();
This would then only start the session if the user_agent was not a recognised search engine spider. This is effectively cloaking (usually seriously frowned upon), but is one of the few legitimate uses for it.
The second solution is what I would use on a commercial site, but search engine results are not as important for this one so I have just gone for the quick fix.
Posted in Code | Tagged php, programming, sessions |
By Mat | Published:
April 1, 2006
… and the lifeblood of intellectual property lawsuits.
I saw this post on Freelancer.com last night and wasn’t quite sure whether we should be flattered, indignant or just plain amused.
Here’s the salient part of the post:
I want a clone website of www.mypropertyforsale.co.uk with all the funtionallity that it has but with a worldwide search and the website must be in two language English and spanish. I want everything done by the winning bidder because I don´t know anything about this, I don´t want any question about the funtionallity nor information needed for completing any task neither.
I should point out that www.mypropertyforsale.co.uk is a site that we developed at work and have an ongoing interest in, so seeing someone ask for coders to rip it off makes me want to put a call in to the lawyers. On closer inspection though it is actually quite amusing.
Read More »
By Mat | Published:
April 1, 2006
Decided to re-skin this site today as I was getting bored by the grey style that I previously had. Turned out to be quite a good test of the CMS system that I have put behind it as well, as the reskinning took just over 45minutes from start to finish including doing up the graphics.
I’m using a boat picture that I took the other week as the header at the moment. No great reason for this other than it was one of the few images that fitted the top of the page quite well. Might change it periodically.
There are still a few bits to tidy up, but it looks better than it did before. It’s amazing what you can find to do when you are trying to put off decorating your home!
Posted in Code | Tagged blog, design |
By Mat | Published:
March 31, 2006
Just a little tip: If you are ever going to make threatening phone calls to someone then make sure that you withhold your number first.
The bright spark who did this to one of the guys in the office today took about 20 minutes to realise what he had done before calling back with his number withheld in order to clear the memory of it. Not only was this too late, but our phone system holds the last 150 numbers anyway. Way to go Einstein.
The most interesting suggestion as to how to use this genius’s number wins a pint.
Posted in Guff | Tagged crank call, idiots, phone |
By Mat | Published:
March 31, 2006
I’ve added a couple of extra features to the site today. The most obvious is “talkback” - a way of letting people add their comments to any item or photo posted on the site.
The other is automatic referrer information. At the moment this is just limited to listing the top referrers to the site and the most recent referrers to the site, but it will also soon do the same on an item by item basis.
I look forward to reading a few comments from you soon.
Posted in Code | Tagged blog, programming |
By Mat | Published:
March 23, 2006
Just been looking at optimising some Froogle feeds and wondered which site were used to produce the Froogle merchant ratings. Oddly I can’t find much written about this on the web at the moment, so thought that I would pop a quick list of the ones that I have unearthed so far:
Sure that there are others as well, but they seem to be the most common for UK stores at least
By Mat | Published:
March 22, 2006
As anyone who has ever seen me in profile will testify, I am not the kind of guy who shies away from a bit of chocolate, but this week I’ve had plenty thanks!
We’ve being doing some of the close-up photography for a new site that we are working on, ChocoholicShop. The photos are coming out great, but the number of Belgium chocolates we are being left with is just too much! Yes, I suppose we could bin the left-overs, but it just doesn’t seem right.
We haven’t got a finalised date for when the site goes live yet, but I can heartily recommend the plain chocolate covered candied orange peel. ;¬)
By Mat | Published:
March 18, 2006
It’s been one of those fantastic sea-side winter weekends down on Hayling. Cold but sunny with a good wind and some great waves - my absolute favourite for walking on the beach. With my girlfriend working all weekend I thought that this would be a good opportunity to try to get used to the new camera.
I do have a tendency to get absorbed in things, but I was stunned when, half way through my walk, I realised that I had already filled up my 1GB memory card was was getting low on battery. It really was a great day for photos on the beach.
Read More »