Close Panel

Since i use a MacBook I have been getting a bit annoyed at not being able to test my sites in IE6 or IE7 unless i go home and turn on the pc. Sure i can run IE6 in X11 but its slow and a little buggy, plus IE7 doesn’t run at all.

Since i am running Leopard i thought that i would try and install boot camp and then run Windows XP on a new partition on the hard drive. There are tons of tutorials about how to do this and the process is simple but you may have tried doing it only to find Boot Camp crashed whilst making the partition and you end up having to do a hard reset… this will happen time and time again until you do a little bit of tricky.

So here is a quick step by step guide to getting boot camp to work 100%, the guide assumes that you have already tried using boot camp and that it crashed whilst creating a partition…

1) Boot camp has just crashed…
Bootcamp Crashed

2) Place your Leopard install disk 1 into the CD drive and turn off the computer

3) Whilst booting up keep your finger pressed on the C key, this forces your mac boot from the dvd drive

4) Wait ages until OSX installation gets going and the on the menu bar find Disk Utility

5) Select your hard drive in Disk Utility (DU) and click repair…
What we are doing here is rebuilding the partition because when Boot Camp crashed it was half way through creating a new one, thus you will have less space available if you don’t repair the disk

6) Wait for repair to finish and then reboot the machine, again holding C to load the OSX install disk

7) Now we are going to go back into Disk Utility and create the partition that boot camp was supposed too.
The reason boot camp is crashing is caused by it trying to move files from the space that it was going to partition. Since Boot Camp was running in OSX it could not move the files and sent the kernel into a panic. Now we are booting from a CD so by creating the partition we are forcing it to move the files into a different area.

8 ) You will see something similar to the image below, but you will probably only have 1 partition. Simply click on the + arrow at the bottom right (my image doesnt show this) and it will add a new partition. You should resize this to be about 1gb larger than you was planning to use for boot camp
Disk util

9) Apply the changes and let DU do its work, once it has finished exit out and then reboot, again holding C to boot from the install disk

10) After the disk has loaded again, go back into DU, and select your new partition, click the - button and it will throw up a warning to say that the partition will be deleted but all information on the original partition will be ok. For the love of God make sure you selected the partition that you wanted to delete and triple read the wording to make sure you are removing the new, smaller partition.

10a) You now need to resize the original mac partition so it fills the entire disk, simply grab and drag the partition to fill the space.
Thanks go to Sergio in the comments for pointing out this step i had missed

11) Wait for it to finish, exit out of DU and reboot, DON’T hold C this time, we want to boot into native OSX

12) Go back into Boot Camp and go through the process, now that we have a clean section on the drive it can partition the disk without any issue.
bc1.png

13) Wait until the partition has been made and you should see…
bc2.png

14) Put your Windows XP or Vista (ha) disk in, and wait for an icon to appear on your desktop, once it does hit start installation, and wait for the machine to reboot.

15) You will now reboot into Windows installer mode, go through the yadda yadda and you should see something like…
xp1.png

16) Make sure you install on the new partition that was created, the screen shot doesnt show it but OSX will have labelled this partition [BOOTCAMP] [FAT32] - hit enter to install on that partition.

17) When asked how to format i chose Fat 32 as it allows Leopard to actually write files back to a windows disk, you could then say edit a txt file from both within Leopard and XP. Its your choice but make sure you reformat it and dont select the option which says “Leave it how it is”
xp2.png

17) Go through the boring windows setup and wait for it to complete, once Windows runs you will need to pop your Leopard install disk into the machine to install all the windows drivers, this is thankfully painless.

18) Marvel at XP on a Mac, and pat yourself on the back, its been a hell of a ride.

Bonus tip:
If you want to select which operating system to use during boot up simply keep the option (alt) key pressed and you will get the following screen…
boot1.png

If this has helped you, please leave a comment :o)


28 Comments »  

15

Apr

2008

Google teams up with NCMEC

By Chewie. Posted in General | No Comments »

With all the shouting that goes about whether Google really do stick to their “Do no evil” slogan its nice to see that the power house is teaming up with the National Centre for Missing and Exploited Children (NCMEC) to utilise the technology it created in filtering copyright material on YouTube to help catch scumbags who create child porn and exploit children.

The program uses pattern recognition to enable analysts to sort and identify files containing child sex abuse.

“The program uses pattern recognition and will work even if the pattern has been modified,” explained technology analyst Larry Magid.

“So if police can identify a pattern such as a calendar on the wall or a t-shirt logo, they have a much better chance of finding the exploited child and catching the suspect.”

Google engineers and scientists were able to work on the project on what the company calls “20% time”, which allows all employees to dedicate that amount of time to projects they initiate.

This is a great step forward in trying to protect children from exploitation on the Internet and hopefully the technology can be further developed to be even more effective.


No Comments »  

This is just so awesome it defies belief, some guy called CupBoy has managed to create world 1-1 of the original super mario brothers in Javascript.

Javascript MarioIf that wasnt impressive enough he has also managed to squeeze it all down into an ity bity 14kb javascript file.

The sprites are stored in custom encoded strings in a format that only allows 4 colors for each sprite but in turn only takes up around 40-60 bytes per sprite.

We also have MIDI music embedded as base64-encoded data: URI’s. No music for IE, though, and it seems all the other browsers each have different, minor problems with it, but it sort of works.

Go check it out now!


No Comments »  

9

Apr

2008

Great new IE testing browser

By Chewie. Posted in Coding | No Comments »

I am not gonna make a massive post about this, but i came across this browser this morning which looks pretty cool.

Basically some guy over at My DebugBar has created a little browser which allows you to switch rendering engines between all versions of IE from 5.5 up to IE8 Beta.

I am fully aware that there are other programmes out their that allow you to install multiple copies of IE, but this little beauty lets you change the rendering engine by just hitting a drop down box so you have everything in one place.

Of course it only works on XP and Vista, but should save people some time. I however long for a OSX version of this software as running IE6 in an emulator to test pages really sucks.

IE Tester

Download from My DebugBar


No Comments »  

28

Mar

2008

Bad Request on London Elects Website

By Chewie. Posted in General | 3 Comments »

It’s election time to find a new mayor for London soon, and what better way to get people to vote than by providing all the information about if you are eligible, how to register, or where you can vote by commissioning a nice shiny website that is available in nearly every language imaginable?

The answers is there isn’t :o)

Now imagine that you have a tv campaign to promote the existence of this website running across various local channels in London, you would have thought that some one, somewhere would notice that if you do not include the www. in http://www.londonelects.co.uk then you get a 400 - Bad Request http header.

If you are like me then you would probably cursor focus your address bar, then hit cmd + A to select the current url and just type in londonelects.co.uk, the browser would then add the http:// and send you onto http://londonelects.co.uk

As i already stated when you get there you will get a Bad Request error which seems pretty silly to me since i can imagine that a hell of a lot of people wont be typing the www. when typing in the domain.

Shouldn’t it be obvious to websites that are trying to promote themselves, to at least check if the non www version actually resolves to the website? Well you would of thought so.

It amazes me that these official websites can’t even get the basics down, so what should they do to fix it?

RewriteCond %{HTTP_HOST} !^www.londonelects.co.uk$
RewriteRule ^(.*)   http://www.londonelects.co.uk/$1  [QSA,L,R=301]

That simple piece of code can be placed in a .htaccess file and will redirect anyone who types the url without www to the url that includes the www, easy peasy :o)


3 Comments »  

ie7logo.jpgOn what marks a surely glorious day in the web developer world, Microsoft have done a complete U-Turn  on their decision to force developers to use tags which make IE8 render in standards mode. Apparently the browser will now render in standards mode via default.

Dean Hachamovitch, General Manager of Internet Explorer stated…

“We’ve decided that IE8 will, by default, interpret web content in the most standards compliant way it can. This decision is a change from what we’ve posted previously. Microsoft recently published a set of Interoperability Principles. Thinking about IE8’s behaviour with these principles in mind, interpreting web content in the most standards compliant way possible is a better thing to do.”

So from this we can see that Microsoft are actually starting to take standards seriously which is good news for everyone since IE has been a pain to develop for.

You can find out more on the official Microsoft blog


No Comments »  

I am not sure how long Facebook have been doing this but today i finally realised that Facebook are letting users permanently block application requests from those damn annoying applications such as owned or lil green patch.

This is especially welcome to me as having the name Dean Chew means that i frequently appear at the top of the friends list when apps ask you to send to a friend.

Below is screen shot of the joyous occasion…

Facebook application block

facebook-block2.gif

Images altered to protect the innocent :o)


1 Comment »  

Ahhh, good old Yahoo, first they are getting bought out by the Microsoft ogre, then they are not, maybe thats why it is taking them so damn long to change a domain name in the SERPS listing even though i placed a 301 redirect on it about 3 months ago.

I have a fashion website which sells high end clothes, mainly aimed at the rich housewife market, hopefully some of them are MILFS but obviously i haven’t actually seen any of the customers. Anyway, i bought the domain name www.boden-mini-sale.co.uk, not surprisingly Boden weren’t to happy about that so they kindly asked me to change my domain or i’ll get kicked off the affiliate program. I agreed and immediately placed a 301 redirect from the domain to www.fashionable-clothing.co.uk/boden.

The big G picked up on the 301 and changed the listing in the SERPS in about 2 days, Yahoo on the other hand flat out refuses to update their SERPS and still shows the domain as the old one.

Below is an uber advanced photoshop’d image showing Yahoo’s defiance…

Bloody Yahoo

So there you have it, (for what ever reason i can’t work out Yahoo) will not update the SERPS to show the new domain and has no other pages from the new site indexed. When i search for the domain, Yahoo tells me…

We did not find results for: www.fashionable-clothing.co.uk/boden. Try the suggestions below or type a new query above.

Damn you Yahoo! Damn you.


No Comments »  

I was hanging around on Facebook over the weekend when i noticed a couple of strange wall posts from two of my friends. Both of them included url’s to “ringers” which in English means ring tones. I was quite fascinated by this because i have been playing with FB apps for a while and have been looking to see if something like this could be done.

I know that about 6 months ago there was a way to post to users walls by injecting some code on the canvas page but FB plugged the hole, i am now looking into how people have managed to do it this time.

fb-hack1.gif

I’ll update this blog post when i have more info…


1 Comment »  

The porn industry has always been pretty clever when it comes to creating links and marketing their sites. Obviously it is such a competitive vertical that they are always trying to get one up on each other (No pun intended). Unlike the rest of the SEO world that can game sites like digg.com and reddit.com it is very hard for the porn industry to infiltrate the masses so when they do it is in a very clever way.John Bukkake

Let me introduce to you Professor John Bukkake, what a strange name you ask. Well for anyone who knows what joys Bukkake is all about you will find it even stranger that he is a facial dermatologist at the University of Calcutta. Finding this a little hard to believe i decided to click through the links of the site to eventually find myself transported to an actual Bukkake movie download site.

You see, what those clever porn seo’s have done is to create a page which is so unbelievable that it is funny, the masses over at digg and reddit can’t beleive that something so funny would exist so they digg/vote it up without looking over any of the external links on the site. This generates a great buzz, and some seriously good links in to the John Bukkake page which then links out to the porn sites.

I wouldn’t be suprised if they 301 the domain to the porn site after a couple of days either.

So in closing this is a by the book method of gaming social network sites, you need to be extremely creative but it will pay off.

Edited to add:
I have seen this kind of idea before on a lawyer site. Basically they had the lawyer in question pull a stupid face for his profile picture on his site. After the crowds started linking at such a silly picture being shown on a very professional site they switched it back to his normal profile pic. They generated a ton of back links from authority sites such as digg’s front page.

Edit 2:
Looks like they are cloaking the J Bukkake page so that if your not a human then you 3o1 straight through to the actual err proper content.


1 Comment »