Rick Hurst Web Developer in Bristol, UK

Menu

Category: Uncategorized

a change is as good as a rest

mobile working

I’ve been working so much recently, clearing a huge backlog of work that i’ve got into a habit of mobile working again, as a way of varying the endless hours sat staring at a screen. Despite having some lovely studio space, I find it helps my productivity to wander off and work in a few different places. The 3 mobile broadband has made this even more of a possibility now, not having to stick to places with free wifi, although I did fail to connect from the back of one cafe up in clifton. I’ve also been making the most of the weather with a bit of garden working 🙂

garden working

Apache as Proxy to IIS

Been meaning to get this working for ages – using apache 2.0 on my ubuntu dev server to proxy requests to an IIS server on the local network – to avoid having IIS facing the internet directly and to be able to have a central place to configure virtualhosts. Finally got it working with a bit of help from the helpful people on underscore. First enable mod_proxy, and then set up a virtual host something like the following:-

(note this is just to enable access to dev servers for testing etc. – not a production environment)

<VirtualHost *>
ServerName myvirtualhost.whatever

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPreserveHost On
ProxyPass / http://myiisserver/
ProxyPassReverse / http://myiisserver/
</VirtualHost>

installing php5 and mysql on windows

I was having some real headaches getting mysql to work with a fresh install of php5 and IIS on a windows XP machine earlier. I was eventually put out of my misery by this excellent how-to.

The trick is: do not use the installer – it comes without mysql support by default. Use the zip package and follow the relevant instaructions in the article mentioned above, to configure it for mysql support. In addition to the steps described, I also found I had to move my php.ini file to the windows directory for to be picked up.

archived comments

If it’s not a production server, I just use XAMPP

http://www.apachefriends.org/en/xampp-windows.html

Runs like a dream.

Phil Wilson 2008-02-27 22:28:29

How to resize a Bootcamp partition on Leopard

I recently got a mac mini and decided to give bootcamp a try as I needed a native windows machine from time to time. I initially created a 10GB bootcamp partition, thinking that would be enough, but after installing Visual Studio and a load of other stuff I was soon down to about 200mb. I had been fooled by the bootcamp setup into thinking that it would allow me to resize the partition later, but it doesn’t – the only choice you have is to delete the partition and start again. I didn’t want to install windows yet again, so after googling around I found an excellent bit of free software called WinClone. This allowed me to create an image of the bootcamp partition from within OSX, then delete the bootcamp partition, create a new one – (20gb this time) and restore the windows image. The added bonus is that I now have a backup of the windows install, should I ever stuff it up.

archived comments

I tried it and it failed. MacBookPro, Leopard, Vista.
My bootcamp partition is 57GB and I want to allocate 120GB (of 232).
Did it work first time for you?

Matthew 2008-03-14 10:57:27

what part of it failed for you? The process I described above worked for me on my mac mini (with fresh leopard install), but since then i’ve tried and failed several times to create a bootcamp partition on my macbook (with leopard upgraded from tiger). Tried about three times each time with a full on crash and having to rescue lost disk space by booting from the install disc and using disk utility to repair it.

Rick 2008-03-14 19:40:19

Silverenlightenment

I’ve just returned from a Silverlight seminar/ workshop run by Mason Zimbler, where I was lucky enough to be one of a few Bristol freelancers invited to attend. This wasn’t a Silverlight evangelism seminar, but rather a practical hands on seminar that introduced the Expression suite of software (Design, Blend and Encoder) and some basic tasks using each piece of software. Having said that, we were able to discuss the all important question that always crops up for Silverlight – why would you use it rather than Flash?

I haven’t done a recent side by side comparison, and I don’t want to risk inviting a flame war from MS averse developers and fans of Flash, but Silverlight certainly has a few nice features, that weren’t in flash last time I looked. Notably it has excellent HD video streaming and handling, including a really nice video fill feature where multiple movies can be efficiently rendered at runtime into other (skewed, flipped, animated, reflected) containers from a single source movie, and I love the uncompiled nature and the fact that it uses XML (XAML) and javascript for scripting, and can integrate seamlessly with the DOM.

Downsides of course – the development tools are MS only, and even with Microsoft’s pervasiveness it is going to take a while for the critical mass to install the browser plugin – currently available for a handful of browsers for PC and Mac, not yet (ever?) for linux.

I was hoping to see a few more components provided in the box for common functionality such as form fields. I was under the impression that Microsoft would try to take advantage of silverlight’s .net underpinnings and sell Silverlight to hordes of Visual Studio developers by creating a library of form elements like you would find in a typical visual studio project. Third party components do exist, but I was surprised not to see it built into Blend.

Overall impression: it’s actually pretty good. If it wasn’t for the MS-only tools (and .net hosting to take full advantage of the features?) i’d be pretty enthusiastic about it. Being platform agnostic, I will certainly install the Expression suite trial (180 days), and experiment with it further. The “Design” program alone may make a decent cheap alternative to photoshop/ fireworks, but that’s not such a big deal – i’m more interested in the DOM interaction aspect, and the fact that I can use my JavaScript knowledge to create rich media interaction.

Bristol Skillswap Relaunched



I attended the relaunched Bristol Skillswap last night at Goldbrick House in Bristol. The new format is called “Talking Points” – five chairs in a circle, one of which is always empty. Someone starts a (web related) subject to discuss with the other seated people, when someone in the room wants to join in, they claim the empty chair and someone else has to leave. When this was being explained by organise Laura Francis, I was initially worried that this was all a bit musical chairs, and end up with four people sat there trying to persuade people to join them. In reality it worked straight away, and there was always people ready to jump in and claim the empty chair. If anyone needed proof that geeks can have the same arguments in real life that they do on a mailing list or forum – this was it!
The first session was kicked off by Andy Budd – “Are standards still relevant?”, followed by Elliot Jay Stocks (Carsonified), followed by Matt Jones (Dopplr). Matts session was more of a traditional talk format – but the relaxed atmosphere and free beer ensured plenty of audience participation in the form of heckling.

bristol skillswap at goldbrick house bristol

more pics

The drive against white noise

I’ve been trying to eradicate our living room of machine hum. For the past six months or so a noisy beige linux boxTM has provided a) always on living room internet access, b) a vmware server c) automated nightly backup of various web databases.

I’m slowly getting out of the habit of carrying my powerbook everywhere so I figured that a better solution is to have the powerbook as the living room machine (quiet, instant reliable hibernate for powersaving, and a mac therefore aesthetically pleasing!), and move the noisy box somewhere else. I tried and failed to get the noisy beige box working with a wireless card – I could have persisted but after wasting a few hours that weren’t available to waste I switched my attention to wasting time combining a few spare parts to build a windows 2000 server (i’m doing a lot of freelance MS specific stuff at the moment, was using a VM, but was finding the VNC-only access very tedious). Getting the wireless working with that was a challenge but finally got it working – flaky – but working nethertheless.

So now the noisy beige linux box will become a virtual machine on the windows 2000 server, and be eradicated from my living room.

comlounge TV coverage of plone conf and sprints

I have to admire the commitment and effort of Christian Scholz with the videos from plone conf (and subsequent sprints) he has been producing under the banner of COM.lounge TV. These things are appearing online at a prolific rate, it’s difficult to keep up! From my experience with helping Nate to video a few things at snow sprint 3, it takes a lot of organisation, time and effort and… free disk space to get these things edited and online in any decent amount of time, let alone to produce them with professional quality like these ones. I think “videocast evangelist” Robert Scoble could learn a thing or two from Mr Scholz.

gmail mobile app certificate error

I decided to try the new java gmail app on my sony k750i. It installed OK, but when I tried to connect it was telling me I did not have the “appropriate certificate”. After abit of googling I found advice on this forum thread to navigate to the following URL on my phone browser:-

https://www.verisign.com/cgi-bin/support/rootcert/getrootcert.cer

I did this (even though I am reluctant to take the seven hours it takes to type in a URL that long on my phone) and it gave me a certificate to accept. The app now works a treat 🙂

archived comments

Hi, I tried this on a k700i – and got an “invalid certificate” error. I think certificates have different formats… there’s this x.509 format, etc. This certificate’s format might not be appropriate/valid for some phones. It would be great if google’s email app could just download the appropriate certificate in the appropriate format, if the phone didn’t have it…

Qasim 2006-12-08 05:21:22

Nice! it works, thanks!

dereck 2006-11-23 20:53:28

If that URL is too long for people, use this TinyURL instead:

http://tinyurl.com/yhrayo

Emyr Thomas 2006-11-24 09:37:11

hai there, i’ve tried this link and other at ocasta.co.uk , but my phone respond is unsupported content type – my phone is Nokia 6275i CDMA – how to install this certificate if the content tytpe is unsupported ? please help

ngux 2006-11-25 17:45:19

Hi. I came to this page looking for help about the GMail app security certificate in SE K700i and thanks to you, I found the solution. The long URL is really a pain in the ass but after the application started working, it felt totally worth the effort. Thanks a lot!

Raunak Mehta 2006-12-18 22:13:40

I have the same problem with my Nokia 6275i, but I can’t access the mentioned urls (both long and short one). Anybody can help me. Thanks a lot!

ykristiawan 2006-12-27 10:58:59

Thanks for the resolution. it worked very well indeed.

Skyin 2007-01-07 15:42:29

Is there any new issue, loading this page with my K700i it tells me illigal certificate.

Andreas 2007-02-19 17:58:01

Yeah – thanks, works great 🙂

Tim 2007-02-28 09:00:29

Anyone figure out how to get a Samsung SGH-a707 to accept the certificate and work with the gmail mobile app?

UghSamsung 2007-03-24 17:19:59

I have a samsung sgh as well, when I try to download the certificate it says unsupported file type. Also, you don’t have to ttype in the whole URL, you can send a text message online then goto

kristen 2007-03-25 21:08:36

I have a SGH Z720. Whenever logging and signing in to Gmail, after a short moment, certificate error message – Sorry, Gmail will not work on your phone. Your phone doesn’t have the appropriate certificate to communicate with the server. Try accessing Gmail on your mobile browser at http://mail.google.com. Well, accessed, downloaded re-installed, still the same. So puzzled. Seek help, anyone, please.

Philip 2007-04-08 06:37:57

Thanks! This helped me with my Nokia 6131! 🙂

Annie 2007-04-28 07:37:07

Thanks to this article it was working on my k750i in a jiffy.
Many thanks for the tiny url Emyr !

Neil 2007-05-23 14:01:26

Thanks a million! This trick worked perfectly with my Nokia 6131

Jarn 2007-05-28 13:41:55

Thanks a lot. Works fine (after an unsuccessfull first time) on my Nokia 6233.

Wim Tas 2007-06-03 11:38:16

On my k700i it perfectly works.
I’ve downloaded it on my PC and sent it to the phone with a bluetooth connection

Thanks a lot

Diego 2007-06-05 06:16:21

Many thanks for this. I had my Nokia 6131 reflashed and the GMial app wouldn’t work afterwards until I found this.

halifax555 2007-07-03 21:26:37

Well .. I can see lot of ppl found the solution for the cert … but never the less it does’t work for all …

Like many I too own Nokia 6275.
The browser does not support to download cert as it is.
Also when I checked the browser’s cert info I could see 2 from Versign and others.

This could be a basic problem with Series 40 Nokia phones.

MObiles CDMA 2007-07-30 10:06:14

I read from another site that just setting the POP (incoming) server to pop.googlemail.com and leaving the SMTP and all other settings the same will cure the problem. Worked great!

I tried it on my Nokia 6233 and it worked, after I also logged into Gmail and enabled POP access from the “settings…” menu.

Good luck

nokia6233 2007-08-27 12:11:42

This is excellent information, thank you indeed!

Jacob Wieland 2007-09-30 14:26:22

Google’s pages have wrong MIME type for this cert, which causes that Nokia Series S40 phones won’t recognize it. I left solution to google’s support-team and propably they will fix it some day.

I made little webpage to my own server, where you can download certificate to your Series 40 phone (may work with other phones too).
URL: http://tilu.homelinux.net

Mikko 2007-10-06 07:21:41

I tried this for my K800i but it didn’t work. Any suggestions?

aidanxc 2007-12-21 14:07:01

Worked like a charm, good info dude. My phone is a modified Nokia 6133, debranded and flashed with the latest software.

Frank 2007-12-26 06:20:13

Obviously many Nok’s have had their day in the sun. I’m still here melting my Sam keys trying to find some URL that will override Samsung’s incompetent engineering. Without reading volumes of threads does anyone have anything on loading up Gmail onto the SamSync (707)? Hey…ANYTHING would be greatly appreciated. You can even bill me…maybe. Merci Dear Friends and Foe alike.

Wes

Westown 2007-12-27 15:16:53

I had Gmail for mobile working just fine on my IC902 and then one day I get this error message “Certificate Error” Gmail for mobile will not work with your phone.. blah blah blah. I just sent the url above to my phone via sms using googles text to phone extension. It said it was going to overwrite the certificate with the new one but they had the same valid date. It still doesn’t work on my IC902.

I called Sprint and they referred me to Google and wouldn’t even let me talk to a technician about it since it was a third party.

Elijah 2008-04-21 19:07:38

I’ve just run into this problem, but I only get a “Downloading failed” error when trying to download the root cert 🙁

This is with a Nokia 6230i.

Maybe it’s time for a new phone.

Michael 2009-12-14 22:23:03