Weekend

Am going to be away for a couple of days till Sunday afternoon to celebrate my birthday which is today
Going out with my mates down to West Sussex – have loaded the car with booze and with a bit of luck should be a good trip

Have spent today pottering around on the internet, and stumbled on a couple of interesting links
The first is a site Apple must be annoyed they didn’t register the domain for:
macosx.com
Looks like quite an interesting site, particularly their HowTo section which has the quick way to sleep your mac and hidden dashboard features

I also stumbled on this homepage for yet another OSX maintenance app called mac help mate. It looks nice but it only works on OS X 10.4.x Tiger and is still in beta testing – haven’t tried it yet

Oh, and those who are more observant may have noticed that I’ve added a weather plugin to the sidebar. For a day or so it was showing the weather for somewhere ridiculous because i hadn’t realised that it draws the location from multiple places

Bad news for iWeb

On January 10th, Steve Jobs of Apple announced at the Macworld Keynote a new program to become the 6th application in the iLife ’06 suite: iWeb

In the days before that, Karelia Software had been talking about and released their app Sandvox as a beta

I have not used iWeb, as I don’t have an interest in any of the other apps in iLife except for perhaps iMovie. But i have an old version of iMovie from when it was free, which fits my needs
However, I have tried out Sandvox a little, and today they sent an email that they’ve done a couple of updates (though not much), so I went to their site to check out the latest.
In the discussion forums, there is much talk about iWeb vs Sandvox – one of the links in there goes to the Ars Technica forum. Here they discuss iWeb, and it doesn’t sound good for Apple

Why? My initial suspicions have been proved true – the code looks Ghastly
Yes, it supports CSS, and is XHTML compliant, but (ignore the br tags at the top of each textarea – i haven’t quite figured out how to get rid of them):

To elaborate on the sort of HTML that iWeb generates, it pretty much violates the sort of semantic practices that the W3C advocates. It uses unordered and ordered lists where appropriate. But paragraphs are wrapped in…get this
and instead of using headers h1 through h6, it outputs something like this piece of crap:

To make matters worse, text size is not resizable, and if you even think about using a font that isn’t particularly common, it will turn the text into a PNG file
And it doesn’t stop there, it requires the use of PNGs for the images to achieve the transparencies & reflection effects – but you try viewing it on the most common Browser/OS setup IE6/Windows and it will look nothing like the original design. They’re 24-bit PNGs, so the images are huge!
Next, since the code is pretty much unmanageable to be edited manually, if you want to make a small change to one page you have to use iWeb, which will then reupload the whole lot rather than just what you changed
Finally, it has been speculated that Google will not be able to index any page created in iWeb because of all the bloated code it generates at the top of every HTML file – particularly the div tags as ppmax says:

I built a site once and couldnt for the life of me figure out why google would crawl the site but not seem to index it. Turns out that the pages werent structured logically: I had a bunch of div’s on the page with no structure…. Google will crawl these pages–but by using div’s there’s no way to interepret the relevence or importance of the content contained therein. Which means that you wont get well ranked, if at all.
That’s bad web design

Here is an Example of a webpage made in iWeb – it isn’t too bad with the code, but it has plenty of div tags.
Here’s another – the about me page’s code is particularly ugly to look at

This all links back to Sandvox when Recasse posts:

I’ve been trying out Sandvox, and that software outputs very clean HTML. In fact, when it is officially released, I may start using it to manage some business websites I need to redesign. I’m very excited about it. In its beta state, it’s quite buggy and unstable. Hopefully the 1.0 release will have these kinks worked out.

Well that just about sums up the discussion thread there – I’m gonna have another look at Sandvox now that I’ve seen the results that iWeb generates and compare.
I suspect iWeb will be yet another reason why I won’t be buying iLife

Terry the Cat

Come tomorrow it looks like my dad will have to put down our remaining cat. Aged 15 years old – Terry was always the bigger of the two. His brother theo had to be put down 13 months ago after some sort of neurological condition.
Terry has got cancer of the jaw. And an unusual kind that is very fast – i believe it’s called a spiral tumour – i forget the name
It was only really diagnosed in November, and since then it has grown at a progressive rate
We always knew this day would come but always hoped it would not come this soon.
He looks old when he was always so active – he wants to eat but now cannot do so without a struggle. We have had to change his food from regular cat food to fish & fresh meat.
But last week when he even struggled with prawns we knew that time was short

We have many photos of Terry, in fact we have made up 5 albums of photos of the two cats, but over the the next few days i am sure that i will be sadder than usual once we decide that Terry should not suffer anymore

The photos below are quite old and not brilliant quality, but they are the best I have on computer at present

Free Image Hosting at www.ImageShack.us
Free Image Hosting at www.ImageShack.us

Whether it is tomorrow or tuesday or after that I do not know, but it will be soon, as the cancer will begin to cause him more pain soon, and we cannot put him through that

Graphics Card Woes & Strange Books

I haven’t posted anything new on my blog the past couple of days as I’ve been a bit busy
It’s my dad’s birthday this weekend, so needed to do a bit of shopping. He’s a very difficult person to buy presents for, but I can usually find something in the wonderful shop Borders Books – that’s the US site, as they don’t have a UK site, because they sell online through amazon
They have a couple of shops in Central London which are huge 4 or 5 floors full of books, CDs, DVDs, Magazines, Coffee Shop etc. and I always find something I want to buy there.
After about an hour wondering round on wednesday I found a good book on Italian Cinema which would do as a present, but I also found some extraordinary books in the Travel writing section, including several books written by skateboarding legend Tony Hawk which I can’t find a trace of online.
I also bought an intriguing book by Jonathan Margolis, a journalist from the Times newspaper called Mob_Log. It is a “book” showing scenes taken on the author’s camera phone, following his initial prediction when the first camera phones came out in 2002 about how they would change the world. The scenes are photos that nobody would take on a normal camera. The photos are funny, thought provoking, satirical and an insight into life. That probably gives it more credit than it’s due, but I ccouldn’t resist buying a copy at £5.99 (much cheaper than the list price).

Still in Borders book shop, I had a call from my agency to do some work at my old workplace – a different department, and pretty good pay. It’s only 3 days a week, but it should get me by until I can sort out a full time permanent job. I started there yesterday, and it’s a real mess, but I think I can handle it. It’s in the Psychology department, but with a bit of luck my interview next week should go well.

So I left Borders, and thought now was as good a time as any to get a new graphics card which I’ve been putting off for ages. Following the Stevenote on tuesday 10th January (the day before), I thought that I would be trading in my Frankenstein Mac for something newer, and the Graphics card will more than likely be the only thing I upgrade before I do so.

The previous week I’d gone into the Apple Store in Regent Street for the first time and asked around to see if anyone there could make any recommendations without much joy. They suggested Micro Anvika – a computer store that has a few branches in the area. They’re an apple dealer, but also sell PCs. They sell a lot of accessories, and I’ve bought stuff from them in the past.
Armed with a bit of info on what I was looking for – an AGP card that supports Core Image on OSX 10.4, and a preference for ATI, I thought that a Radeon 9600 would be a good card and fit the job.

Micro Anvika have two shops opposite each other, the first one I went to said they do the card but didn’t have one in stock, however, the other branch did. The assistant in the 2nd shop was very knowledgeable, and asked the right questions. He helpfully told me they had one on returns, and would get me a discount because it had been opened, but was still brand new. The customer who bought it before didn’t realise his PowerMac G5 had PCI express, so it hadn’t even been fitted to a computer. Everything looked good, £150, a good spec Radeon card, AGP, supports Core Image. I was excited, and soon I would get some better video playback performance in quicktime, take the load off my ageing processor. I got home, shut my mac down, pulled the old card out, and straight away I saw a problem… the new card would not go into the slot as it did not have an extra notch in it, even though they were both AGP. I looked at the manual, which was helpfully for the old version, the 9600 Pro Mac Edition. The one I had bought was the Radeon 9600 Pro PC & Mac Edition. Unbeknown to me, and due to lack of adequate research, ATI had seriously messed around with the specs inbetween. This card was a 4x AGP only card, unlike the previous version which was 4x/2x AGP. My AGP slot is 2x – and after much exhaustive searching, it seems that the higher spec card, the Radeon 9800 Pro Mac Edition is 4x/2x AGP, but Micro Anvika do not sell this one. It’s probably also more expensive.

Irritated, and having put my old graphics card back in, a GeForce 2mx with 32mb VRAM, I booted my mac up. While i was looking at the innards of my mac, I’d pulled out my extra USB ports PCI card and forgotten to put it back in, so shut the mac down again to put it in. Everything back together. Pressed the power button – nothing – PANIC!!! What had I done. I changed the mains cable – again nothing – more PANIC!!! Those who have read about how I built my mac up will know what a mess it is inside with custom wiring – anything could’ve happened. I realised pretty quickly that the power supply was not at fault as when i plugged and unplugged the power cable i was still getting a little spark which was good news, as I do not have a spare. My immediate suspect was the dodgy wiring, and that in setting everything back up i’d dislodged something. Straight away, I pulled out the dodgiest part – the logic board power extension cable which I had used initially to allow the use of an ATX power supply. Once again I tried to power my mac up, with no joy. In a moment of inspiration, I remembered that when I came back from holiday the clock had reset itself to the default January 1 1972 or whatever it is – and that in some mac models, if the clock battery fails, it will sometimes refuse to allow you to boot up. I pulled the battery out, and for no real reason put it back in, pushed the power button and it started up. A sigh of relief! I was back to where I had started, but will probably need to buy a new clock battery sometime this week.

But, I still had the problem that I had spent £150 on a graphics card that wouldn’t work. I couldn’t get back to the shop that day, and decided that I would go back on Friday (today) after starting work on Thursday. So, this morning before I went back I did all my research, and even though the shop assistants were knowledgeable, I hoped that they would give me a refund. I spoke to the assistant who had sold me the card, and he seemed baffled as to why it didn’t work. I explained the problem referring to the manual which did show a card that would fit, especially after I explained several times that my mac had an AGP slot, and was a G4 as the system requirements said – it fitted everything on the box.

Here’s a site on AGP compatibility which shows the importance of the AGP key.
The important diagram is this one:
AGP Keys
AGP 1x/2x runs at 3.3V or 1.5V and requires cards with both notches, while AGP 4x runs at 1.5V or 0.8V and only needs the one notch (the 0.8V uses the 1.5V part). AGP 8x runs at 0.8V, again requiring just the 1.5V notch
Wikipedia summarises it quite well on thei Section on AGP Compatibility
I think I am now an expert on AGP formats!

He then got his boss who initially appeared very knowledgeable wearing an Ixus t-shirt he was clearly showing off all the skills he was trained in. He was nearly onto the right track, but was convinced, like I initially believed, that AGP 2x and 4x were the same type of slot, and suggested that it was only AGP 1x that was really different. The only other Mac AGP card they did was the Radeon X800 which was much more expensive and very definitely only AGP 8x. I could tell now I was gonna get my refund as I started mentioning cards like the Nvidia FX5200 and they said they didn’t do them for macs. The assistant who I originally bought it from now blamed Apple for putting some strange connector on my motherboards that wasn’t a proper industry standard and gave me a full refund. Success! Great relief. I’m not sure if I’d just walked in and said I bought this card and it didn’t work because my board is 2x and the card only supports 4x that I would’ve got my refund.

So, my next challenge is should I look further into whether there is still a graphics card that I can buy which will fill the purpose, or concentrate on what my next computer should be, as that will come with a top spec motherboard, graphics card and everything I want. I still can’t decide what that computer should be

Sandvox from Karelia Software

While everyone eagerly awaits what his Steveness (aka Steve Jobs) is going to announce at the keynote tomorrow, rumours have been circulating about one of the items
This item has encroached on the territory of another developer Karelia Software and their new product, Sandvox:

Sandvox

The app requires OS X 10.4 Tiger, and is a Web Site Creation app which makes it very easy to make good looking well coded sites

…Sandvox makes Web site creation elegant, intuitive and fun. It’s the Macintosh way — the way it should be: drag and drop content, watch your site take shape as you create it, and publish. Sandvox makes it easy to keep in touch via the Web with friends, family and customers. …

Now, here’s the part I’m trying to get to – please click the download link and download a copy – because the more people that download from this link, the more I get to save when it comes out on full release, as this is still a beta version. And from that you too can save money by recommending the software to others

This is all so that when Apple release their program tomorrow, lots mac users can then have tried Sandvox aswell. We will have to wait and see which will be preferred, but we have to give the little guys a fair shot

Mods to Blog

Just a post to talk about the add ons that i’ve done to the blog today
If you look in the comments you will notice that it now notifies the country of the poster, plus what browser & OS they were using when they made the post
It utilises two plugins to WordPress which are linked to below. I also want to add some details as it is not very well documented
The easier of the two is the one that produces the OS and browser and is fully documented in the below link:
Priyadi’s Place WordPress Browser Detection Plugin
I will not add anything to this as it is very comprehensive and links to where to download the plugin, what to add to your files and contains links to download the images
The plugin to add the country is not as well documented, so I will detail it below

1. Go to the IP to Nation WordPress Plugin Site
2. On the site download the plugin from this link
3. Rename the file to have a .php suffix as opposed to the .txt suffix that it will download as, and upload it to the plugins folder on your WordPress site
4. Download the Flags from this site – note that although the link is to a zip file you need to click the link on the site as it is not a direct link to the zip file.
5. Unzip the file and upload the folder to the root level of your blog
6. Enable the plugin in WordPress

Now for the tricky part (I have deliberately separated this bit from the rest of the guide in order to ensure that you understand what is going on)

I am providing a guide for PHPMyAdmin, because that is the easiest way to go about installing anything MySQL as not only do I not have the SQL knowledge to run through how to do it manually, but also PHPMyAdmin is so much easier. Download it & install from PHPMyAdmin if your webhost does not already have it installed – most good ones do, but some don’t.
Right, now you have the tools and are ready to do the tricky part
1. Download the SQL Dump file from ip2nation.com and decompress it if necessary
2. Log into your webserver’s PHPMyAdmin Control Panel – all of them are different, so I won’t attempt to explain how to do this. If you get confused, now would be a good time to stop the mod
3. Use PHPMyAdmin to BACKUP your MySQL data – if it goes wrong, this will form the backup for your blog which you can restore from – you do this by clicking the export button – ensure all the tables are checked and choose to save to file, then click go – a file we be downloaded to your downloads folder – check that this is ok!
From now on I assume no responsibility for corruption to your data, but if you follow the instructions, and have a backup nothing should go wrong – this is just a provisor – you have been warned
4. Choose your database from the pull down menu and you will see the tables in the right hand frame
5. You will see in the toolbar the button SQL – click it
It will look like:
phpmyadmin
though since I have already imported the tables required they are already there on the left hand side – when you see this screen they will not be there
(you should probably also ignore the address bar and all the other tabs i’ve got open – i’m far too lazy to edit the screenshot so that it doesn’t show my site’s IP address or any of the other junk on there)
6. Click the “Choose File” button
7. Find your SQL dump file you downloaded earlier and select it however your OS would open a file
8. Click the “Go” button
You should now have completed everything involved with PHPMyAdmin and have two new tables added to your MySQL database called:
ip2nation
ip2nationCountries

You now need to add the PHP coding to your comments.php following the examples shown in the IP to Nation WordPress Plugin Site
This isn’t very clear, but with a bit of PHP knowhow, you should be able to figure it out. Don’t worry if you get a parse error or two while trying to add it – remember work on a BACKUP and you can always restore it back to as it was.
If it’s anything like my experience, adding the browser sniff plugin will be much easier as it makes more sense. Don’t forget to add the < ?php and ?> tags when typing the commands into the comments.php file and with a bit of luck it should go well

I’m willing to help you through it if it goes pearshaped, and also remember depending on your theme, you may have to add the information in different places compared to mine – the joys of WordPress themes

Again, I add the proviser that I am not responsible if you ruin your Blog’s data, as my guide is just intended to make the instructions more user friendly. Do read the site for the plugins to get the full information before going ahead with this modification to your WordPress Blog

Happy Modding!!

Apple Store & New Keyboard

I finally got round to going into my local Apple Store in London’s Regent Street
Expecting it to be amazing I came out with mixed emotions
Of course I couldn’t walk out of there without buying something, so I bought a new keyboard to replace my existing replacement one. I broke the original USB one a couple of years ago after trashing it at uni – spilt too much beer on it and it got thrown around the room a little bit too much! Replaced it temporarily with my old ADB Apple Extended Keyboard II – arguably Apple’s best keyboard… except that it’s not USB, so I had to connect it with an ADB to USB adaptor

But back to the store… my initial impressions were: this is not a shop, it’s a showroom!
I felt like I needed to be wearing an iPod and talking about the latest airport extreme accessory to use it to listen to my music from two rooms away!
But my mac isn’t like that! I don’t own an iPod, and don’t have any intentions of owning one in the short term – am more likely to buy one of the competitor’s options
I also felt that this wasn’t a computer shop because there were assistants everywhere except whenever you wanted them – I had to fight to talk to someone to ask advice about upgrade options and then where I could find a keyboard that wasn’t a bluetooth one. Eventually one assistant offered to look to see if they had any in stock, and it was pretty good value @ £19 including VAT
On my way out I asked someone if they were going to be showing the Macworld keynote next week, to which the response was as if to say “what’s a keynote” based on the expression. This was followed by a more official “We don’t show Keynotes” – that was the icing on the cake – why not!?!

Back home, the keyboard seems good, though it crashed my mac a couple of times – teething troubles i guess with all my hardware, and i don’t like the left ctrl button or the slopes, but at least i can drop into open firmware, single user mode, the boot manager and zap the pram again. It’s also good to be able to type the “~” key again which seemed to disappear when I upgraded to 10.4 – dunno why, but now I’ve got it back! Oh, and the eject and opt-eject keys now open the correct DVD drives – on the old keyboard, they both opened the slave on the IDE bus.
The arrow keys seem a bit weird, I do miss the power key which is now the eject button, as now I have to use ctrl-eject to bring up the shutdown/sleep/logout dialogue box. Haven’t even tried the volume keys – they look a bit weird. Also, as many have commented, it’s a shame the F-keys don’t have spaces every 4 keys like the old keyboards. And again, the downward slope on the bottom row (command, ctrl, spacebar, etc) is very weird, and upward slope on the F-keys will take a bit of getting used to
I liked the nice touches in the packaging – the USB extension lead, and the covers for the plugs on the leads which I will be keeping for my other USB cables – very well done and that they give you a nice bag that you can carry on your shoulder

Also on my way out I picked up the event schedule which looks really good if I had the time to practically live in the apple store covering a different topic every hour. You can follow what’s going on using Apple’s Event Widget (requires dashboard ie OSX 10.4 Tiger or equivalent)
I’m waiting to find out when the really local Apple Store in Brent Cross, London will be opening – have walked past it several times, and would be really convenient. Having said that, I can’t not add how disappointed I was by the range of products and how overpriced everything felt. Nothing felt like it was a bargain (except for the keyboard! and that wasn’t even on the shelves). USB card readers for £30, DVD-Rs for £4 each, Firewire drives £70 for 40GB – none of it felt like something I wanted to buy, and more like something I might write down and go online to find somewhere cheaper.

Would I go back to the Regent Street shop again? Not unless I was in the area and had some time to kill – like I say, it felt more like a showroom than a shop
Accessories were stacked underneath showroom iPods, Scanners, and iMacs. Even Powermac G5s seemed to be pushed into the background to show off the consumer products
It’s a shame, but perhaps I had too high an expectation of it

New Year’s Eve

Happy New Year Everyone!
2006 here we come – hope everyone had a good celebration & all
I quite enjoyed it this year – it had everything that was required – went to a house party with my former uni mates, plus some of their friends
Until midnight it was going surprisingly well with no damage to the house whatsoever – which is pretty impressive for a combined new years and house warming party
It didn’t go badly wrong but it certainly was a bit of a change when the cheapo “Champagne” or more accurately Asti was being drunk shortly followed by the Fireworks….

Ok, I will set the scene, the house is my ex flatmate from uni’s and letting off the fireworks are his two mates from school and himself.
Starts off fairly well, though the fireworks are obviously the extra value cheapo set, but they make a few bangs along with some pretty fountains
But when one of his mates set off a rocket directly from his hand which went flying into the garden of the house two doors down you could tell that something mad was a brewing
He then proceeded to light fireworks while about 3 feet away from one that was going off and lit one and threw it into a corner of the garden
I think about that point most of the group went into the kitchen to watch from the safety of indoors
But, then one of the fireworks had blown a hole in the pots they were using to set them off and the nutter set one off which was pointing in the direction of everyone else and was not well secured. And you guessed it… it was in the pot which had the hole in it!
Firework goes whirling round to shout of it’s coming this way
Those that hadn’t gone inside (like myself) now ran for the kitchen door, which only made it worse as the end of the firework flew out, bounced off the patio, through the kitchen door. All the while it was chucking black smoke and sparks bounced off peoples’ legs (including mine) as we ran further into the kitchen!
Eventually it went out, fortunately causing no injuries and we can only be thankful that the kitchen had a stone floor rather than anything expensive or flammable as it was now covered with firework debris on the floor and up the walls.

I dont think anyone could quite believe what had happened, and on reflection how lucky we all were. A bit of soap and water and the floor and walls were good as new and the last two fireworks were set off by the other two to a muted applause.

After that everyone needed a few more stiff drinks and 2006 had arrived!

The rest of the party went well, apart from the cream carpet getting covered by several red wine stains which just had to happen. Amazingly no breakages, which was very impressive considering the amount of alcohol that was consumed. It all ended at about 3:30 in the morning and we all laughed about it in the morning.

On an unrelated note, i got an interview letter for one of the jobs i applied for, and with a bit of luck i feel confident that i can get the job
I think i’ll be celebrating some more tonight *raises glass* cheers