Submitted by paul on Sat, 2011/10/08 - 14:27
Hi, my name is Paul Hopkins and Newsoft Technology is my company. I am an IT consultant who has been freelancing for nearly 12 years.
I have worked with numerous technologies over the years but currently specialise in Java, Java ME, JEE, iOS, Objective-C and Android development.
Please check out my Linked In page or download my CV

Blog
The rest of this page is dedicated to my Blog. I try to update it whenever I find anything I feel would be useful to share. It may not be a daily event - not sure what that says about me ;-) Hopefully you might glean something useful.
Submitted by admin on Fri, 2012/02/03 - 11:43
I have just taken delivery of my new Macbook Air! I ordered it at 3pm and it arrived at 8:20am the next morning. You can't argue with service like that.
I was looking for something to replace my Macbook Pro which I have to return to a client. I chose the 11" screen to make it nice and portable with the thinking that I can plug a proper monitor in and just use it as a base station. Because of this I opted for the i7 processor and 256GB flash storage.
Submitted by paul on Fri, 2011/10/28 - 11:21
It is sometimes useful to recoup the memory that MySQL is using while I am not using it so I can use it for other more important things (iTunes, Quicktime etc ;-). I have noticed that OSX Lion takes up a lot more of my 8GB than the previous version so this is even more important now.
To stop MySQL on Lion use the following:
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
To start it again when you need use:
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
Submitted by paul on Wed, 2011/10/26 - 17:17
I have just installed OSX Lion. I needed to upgrade Xcode to work on iOS5 so I thought I would take the plunge and move to Lion at the same time. While a lot of things are great Java apps were no longer running. The reason:
OSX Lion does not ship with Java!
Ok, so I install the 10.7 Lion JDK from http://connect.apple.com.
Once installed you will need to change your JAVA_HOME environment variable to the new location. For me this was:
/Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home/
Submitted by paul on Wed, 2011/10/26 - 16:50
When you need to access a Subversion repository from your Mac there are a few options. Unfortunately most require you to buy software. If you would rather not, and you would like something a little more user friendly than the command line I can recommend SCPlugin.
http://scplugin.tigris.org/
Submitted by paul on Tue, 2011/10/11 - 11:53
So, my first proper blog entry is going to be to do with Mac environment variables.
I am installing MySQL and it is complaining that $JAVA_HOME is not set. What do I do? Ok, so here it is
In a terminal:
sudo vi /etc/launchd.conf
> Enter your password
You will now be in VI so you can use your normal VI commands. I would do:
a (to get VI into append mode)
setenv JAVA_HOME /Library/Java/Home
ESC (to exit insert mode)
SHIFT+Z Z (to save and close VI)