Just been building a site with some PNG furniture images which looked wrong in IE. The PNGs were rendering in a subtly different colour to the CSS backgrounds they were meant to match.
Turns out the fix was to remove the gAMA information using something called TweakPNG.
Well this morning was an unexpected pleasure. I recommend that if you find hacking minified .js files pleasurable, you listen to some nice Tchaikovsky or something. But anyway - we needed to show descriptions when the images changed, so I needed to find the previous and next functions to hook into.
I couldn’t find an unminified version of Wunderslider.js anywhere so I just hacked the lump in the end.
A while back Google said they were stripping search queries from referer data to protect their user’s anonymity when they’re logged in. Unless you happened to be using Adwords, in which case it was more important you should have access to that data, somehow.
They also said that this would affect a “minority” of queries.
I thought I’d just call this what it is. Bullshit.
Google sends this blog just under 3000 visitors a month. And the majority of them, I don’t have a clue what they typed or what they found.
So if you can’t find you want, sorry, but I don’t have a bloody clue what it is any more, thanks to “do no evil” Google. What a load of absolute bollocks.
Spent a few hours hacking CubeCart this morning, which was fun. Or at least more fun than removing your eyeballs with a rusty spoon. Just.
This is a hack to add option value to item price before sending option value to the template, thus displaying full price in option dropdown, rather than the additional price for that option.
So, by way of example, if your product was priced at £10 and it came in an XXL option for an additional £5, the price displayed next to the XXL option would be £15, not +£5
You’ll need to take the plus sign out of the Smarty template too.
Works with sale switched on, but not thoroughly road-tested. Obviously it’ll break when you update CC etc, so use at your own risk, no warranty implied, unlikely to be fit for purpose etc. You get the idea.
I’ve never really written about music stuff here before, but I do have a lot of fun playing keyboards in a few different bands.
I used to play in a Blues / Funk band years ago (before I could drive, which allowed me to entirely avoid sobriety when gigging for very many years.)
Nowadays I’m the band bus driver more often than not, and life is far more sensible, as is the band..
Groovetube is a Cambridge wedding band that does a goodly number of functions every year around Cambridgeshire, as well as a few pub gigs (never a big earner with a 7 piece band, but always a fun night.)
Its always a pleasure to play with great musicians, and whilst all the Groovetubers are great, Groovetube’s drummer is a legend (I won’t embarrass him here by putting his name in case he does a Google vanity search!)
Here’s our soundcheck from the other night, doing a bit of Cee Lo:
This is a personal message to Simon Wilcox, who plays the trumpet. I have no way I know of contacting you any other way Simon, so I figure sooner or later you’ll either Google yourself, or someone else will Google you and pass this message on.
In 1991 / 1992 I rented a room in your house. During that time I treated you absolutely atrociously. With others in the house I bullied you mentally, damaged your personal property and showed a breathtaking lack of respect, kindness and compassion. I was an absolute c**t to you.
I only wanted to say that, when I look back on that time, I’m appalled by how I acted; deeply ashamed of my behaviour. Simon, I’m very very sorry. I can’t imagine quite how I’d make up for it, or that you even give a monkey’s now, 20 years down the line, but if I can ever go some way towards showing you how sorry I am and making good, you can contact me through this site. Anyway, I wish you all the very best.
Just for the sake of this post doing its search engine thing, I’ll reiterate that was a message for a gentleman by the name of Simon Wilcox, a trumpet player. And if you’re not Simon but you know him, please pass on the message.
If you’re looking for someone to walk your dog(s) in or around Ely, click on over to Ely Dog Walking. Karen has started to offer this service, and knowing what a fuss she makes of Cocoa, your dog will be in excellent hands.
We looked long and hard for someone to walk Cocoa on the days we were both working and couldn’t find anyone suitable - most dog walkers are already very busy - so we found a friend to help out and Karen decided to start offering a dog walking service herself. If you prefer, she’ll pop round your house and just make a big fuss of your dog when you’re out. Most people, I’m guessing, would prefer a good walk then a 10 minute fuss at the end. Anyway there you have it -> Dog walking in Ely.
I’ve suspected this for a while but I got around to proving it just now. I downloaded the 100 most popular terms for a site of ours. Its a geo-optimised site, so receives traffic for “blue widgets chelmsford”, “blue widgets Birmingham” etc etc. Although I knew - for an absolute fact - that we had a handful of visits every month for each term, when pumped back into the keyword tool a great many came out zero. The takeaway for us is this: build the pages even if the keywords tool says “no” because, regardless of what it has to say, the visitors are in fact there. Not in their millions certainly, but they’re there. Cool. Remember every line in this table has had at least 1 visit in the last month (and our site is top 5, but not necessarily top, for these terms, so realisitically the demand must be in the 10+ range, if not the 50+ range.) There’s more fine-grained traffic there than anyone’s admitting to.
<rant>This is my blog so I’m allowed the odd moan. I just wanted to say to whomever ran a key down the side of my van on Saturday night in Wilburton, that you’re a nasty little coward. I doubt I’ll ever find out who you are, but you owe me £340. What a truly low thing to do. If you had a problem with me, you could have told me or even picked a fight. I would at least have respected that you looked me in the eye instead of skulking around brandishing a sharp metal object. Karma, my cowardly little friend, is a bitch. Wait for it… </rant>