Clean up your Gmail!
My Gmail had grown slowly to 55% of 7493 MB overtime. Not a real big concern, but since I was cleaning my Mac I thought I should clean my Gmail as well. A quick google got me to the creativebits site and after reading the article I got a bit depressed. One of the comments from energio though cleared everything up. In your webbrowser, go to Gmail.com, and do a search for:
- has:attachment (*.ppt || *.pptx || *.pptm || *.pot || *.potx || *.potm || *.pps || *.ppt ||)
- has:attachment (*.mov || *.wmv || *.wm)
This will find all mail including large attachments like movies and powerpoint presentations (you can of course come up with you own line or combine these two or whatever..). After Gmail found these emails you start selecting the mails you want to trash. Don't forget to empty your trash to see actual result of you action.
With a quick search 'n trash I earned 18% back of my Gmail cappacity.
Hello world in Android
Tonight I wrote my first Android app in Eclipse @ IProfs, a dutch Java consultancy company. They had prepared a good presentation on Android and a step-by-step tutorial for setting up my first app. We wrote a simple todo application which gave a pretty good overview of some of Adroid's capabilities. I was surprised how fast I could get started building. All I had to do, since I had Eclipse preinstalled on my Mac, was:
- install the Android SDK and the ADT plugin (Android Developer Tools)
- restart Eclipse
- create a new Android project in Eclipse
- go to 'run as' 'Android Application'
- create a virtual for the Android OS in the popup presented
- and BAM! I was saying hello to the world (well, I actually had to restart Eclipse since the first startup of the VM choked my workspace)
After some tweaking in a Java file, an xml resource and a Android xml UI layout file I had made my first todo app.

The structure of Android apps is really easy and the programming model is fun to work with. The set of tools gives you code completion, since its Java and xml by xsd. The VM option, as said before, makes it possible to run the apps you create without having an actual Android phone hooked up to your computer.
I had fun creating this simple app and am looking forward to start working on an actual Android app.
resources:
developer.android.com
groups.google.com/group/android-developers
JQuery 1.3.2. & Lightbox-2 conflict
Today I found out why the Lightbox-2 plugin didn't work on the straathofmanegebodems website. I had placed a JQuery script on the faq page to have a better overview of the questions in the faq. I had used jquery-1.3.2.min.js which interfered with the JQuery 1.3.2 javascript libs used by Lightbox-2 (packaged with the plugin).
I found this out by placing the wp_head tag last in the head, which made Lightbox-2 work and the faq to fail, while when I placed it above my custom faq javascript Lightbox-2 failed but my JQuery changes worked. I guess no wonder since the one or the other javascript lib will overwrite functions in the other.
Since I have a lot on my hands right now I fixed it by only including my script when browsing the faq, in this case the Lightbox plugin won't work since I placed the script after the wp_head() statement.
From now on: I’m the boss ;)
Finally I started out as a freelancer, a freelance agile software consultant that is. Value driven products with passion is my mission.
I have over 10 years experience as Java/J(2)EE developer and am a Scrum master since 2009. Eperienced in all layers of (web)development from backends with Spring/ Hibernate to front-ends with Wicket or GWT.
I'm co-founder and engineer of Qafe, the framework for declarative Enterprise Application Development with a possibility for Oracle Forms migration.
Check out my website, linkedin profile and leave me a note if you need translations or an official resume. You can also email me at marc {a t} jajava {d o t} com.
I'm currently hired by the Gemeente Rotterdam, but will be available for jobs starting from August 2010.
Releasing with Subversion mess
On my current project we use Subversion 1.4. My MacBook Pro came with a preinstalled Subversion client 1.6.5 (use svn --version to see what clientversion your are running). I had assumed we used 1.6 so I didn't change my client. I was aware of the troubles you can have mixing svn client and server versions.
I had no trouble synchronizing up untill now since Eclipse uses a build-in client and commandline svn st and up works without any trouble with different Subversion versions. Today I ran into some trouble while releasing with Maven 2.2.0 (preinstalled on the MBP as well). There was no actual error but when I ran mvn release it stalled on download maven-release-plugin-2.0-beta-8.pom. A friend with a Mac remembered he had the same trouble releasing before since it should be using the beta-7 release plugin for svn server version 1.4 and advised me to downgrade my Subversion client.
If you are using this as a setup/tutorial: DON'T FORGET TO COMMIT OR BACKUP YOUR DATA FIRST!
I downloaded an older version of Subversion, 1.5.4 (minor versions should be simlair of the client and server version) and installed it on my MBP. After restarting my terminal svn --version still showed I was using 1.6.5. After some research I found out about the somewhat weird setup:
- echo $PATH showed me: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
- cd /usr/local/bin and ls-lrta gave me a symbolic link for svn: svn -> /opt/subversion/bin/svn
- this symlink was actually pointing to svn 1.5.4 (/opt/subversion/bin/svn --version) (the 1.6.5 was actually moved to an versioned directory in opt subversion_backup.date)
- in /usr/bin i found that there was another svn client, that actually had version 1.6.5
- I moved that file to svn.old (so it wouldn't be found when calling svn), restarted my terminal and svn was now set to 1.5.4
mvn release now used the maven-release-plugin-2.0-beta-7.pom and releasing worked out just fine (well... except for a hanging artifactory problem)
Don't forget to check out (svn co) your projects again and throw away the old versions since the .svn directories are poluted with the other svn versions stuff. Also think about changing your svn client in your development tool.
My MBP arrived!!
Last week my MBP finally arrived!! UPS probably had a 100% extra hit rate over the past few weeks since I couldn't wait and I must say, my new toy has seen more cities over the world than I have. It came in a beautiful box and installation was peanuts.
After a few days working on the Mac I have asked myself the following question a million times "What have I been doing over the past years, messing around with Windows on Dell/ HP? Everything on the Mac works extremely naturally. I still have to get used to the control/option/command shortcut keys but after that's all in my system I'm sure my productivity will get a great boost. Love all the glair btw, without making my Mac slow.
Here are some things I ran into, when installing and configuring.
How to set the JAVA_HOME environment variable Ubuntu
Dave Shuck's reminder to himself on how to set the JAVA_HOME in Ubuntu as a reminder to me
How set JAVA_HOME environment variable Ubuntu
Ow and by the way, the new Ubuntu 10.04 is great.. big up to the committers!
MacBook Pro
Finally going Pro
Just ordered and paid my new MacBook Pro with Intel Core i7, 4GB 1066MHz DDR3 SDRAM, 128GB Solid State Drive and 15-inch Hi-Res Glossy Widescreen. After working with Windows for several years and Ubuntu last year I can't wait for this new much promising user experience. I must say developing in Eclipse with command line Maven builds on Ubuntu has worked out for me very well over the last year on my current Dell Latitude E6500, but you must be an experienced user to keep it running well. Windows I am not even going to discuss... Anyways I figured, a new start with my new company Jajava should be celebrated with some new gear!
I went through some trouble paying for my newest toy though. Recently I opened a new ING bank account. The account turned up on my online banking site after only a couple of days. After a trial transfer to the account I transferred the amount for my new Mac Book to the new account. When I tried to transfer the amount to Bibit it wouldn't let me leaving me with the following error: Transaction refused, account blocked (Transactie geweigerd, rekening geblokkeerd). After some research it turns out that the account is created, but it won't be opened until you send a signed contract back. That meant I had to wait another week or so before receiving my Mac. Well not in this life! Luckily I found another way to come up with the amount.
So now the sleepless nights begin till my new baby arrives...
James Gosling
While reading about James Gosling leaving Oracle (can imagine why, smart move!) and reading other posts of James I found this very interesting image on his blog. An image says so much more than words....
Boarding Austria
Last week I spend a week boarding in Austria. Beautifull weather and the last day brought us 30 centimeters of snow. Some great pictures captured the moment!
