Jan/100
Javascript type and Internet Explorer
Here’s a fun little discovery. I was working on a web application for the iPhone and the javascript includes were declared as follows:
<script src="lib/jquery-1.3.2.min.js" type="application/x-javascript"> </script>
I wanted to test a more generic XML handling pattern so I loaded one of the test pages in IE. Unfortunatly Internet Explorer doesn’t understand the application/x-javascript and doesn’t execute the code. Not even IE8 knew what to do with this type. So just stick with text/javascript or text/ecmascript I suppose.
Mar/090
Netbeans 6.5, Java 1.6 and Mac OSX
Had a lot of fun today trying to get my Netbeans to work on my MacBook. Apple tends to lag behind on Java versions and defaults to JDK1.5 to this very day. In order to use some plugins in Netbeans I needed Java 1.6 to work. At first I tried to set the global Java through the Java preferences application you can find in your utilities. This did not fix my issue since Netbeans ended up using 1.5 anyway. After some googling I stumbled across the following blog post: http://point2blog.wordpress.com/2009/02/17/defaulting-to-jdk-16-in-netbeans-65-on-osx/
What I found there fixed my netbeans without changing the default Java version on my Mac (which can mess up other java applications). What it boils down to is the following:
- Go to “/Applications/NetBeans/NetBeans 6.5.app/Contents/Resources/NetBeans/etc/”
- Edit “netbeans.conf”
- Change the “netbeans_jdkhome” to something like “netbeans_jdkhome=
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home”
Jan/080
Added old projects
I managed to find an old backup of the CowControl and FileMerger sites. I used those to (re)create their project pages. You can now find them on this website in an updated form. I’m still planning on adding the page links to the upper left corner of the site for easy access.
Dec/070
Hello world!
And another Wordpress blog is added to the world wide web. This blog will focus on my live as a software developer. Any past, present and future projects should end up on here in one way or another.