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…

Straathofmanegebodems going multilingual

wordpress logo

A while back I created a website for Straathof manegebodems (horse arena footing). One RFC stated multilingual support, not (yet) a default WordPress feature. After some research, broken plugins and messing up my test environment I found a plugin fitting my clients needs: the Language Switcher. (There are some different approaches for bi-/multilingual wordpress support, please visit the WordPress codex to determine yours)

After activation of the plugin on the settings page in the admin panel you will find options for: default language, replacement text for missing translations, time and date format etc.

The language switcher works from within the post, page etc. You simply place a [lang_xx] (xx must be replaced with an international code) tag in your post with matching [/lang_xx] at the end and the plugin takes care of the rest. A part of a post could look like this:

[lang_en]This is an English text[/lang_en]
[lang_nl]Dit is een Nederlandse tekst[/lang_nl]
This is a text shown for all languages.

With the following code switch I added some special features within my theme:

global $langswitch_lang_pref;
if( $langswitch_lang_pref == 'nl' )
...

For language switching you could use the widgets option, I chose to implement this feature myself by adding the flag images with the following coded url:

/post->post_name ?>/langswitch_lang/en/">

The $wp_query->post->post_name part makes sure your visitor stays on the same page while switching a language.

In short, a perfect basic plugin, and it surprised me for even translating page and post titles. I’ve probably used only 50% of all features packed in this plugin, because I read the plugin is also capable of translating the theme etc. Visit the plugin website for a very detailed tutorial.

India diary done! big up to mudslideshow!

Last February 2010 me and my girlfriend visited India. We visited the cities of Mumbai and Hyderabad and I just finished a diary of our trip.

It took me a while to get the pictures in nicely. I had googled for ‘Wordpres album plugins’ before and they all worked out nicely, but now I wanted a whole bunch of pictures cropped, uploaded and displayed… something not that easy to find in a plugin I thought. As it turns out the Mudslideshow fits these every needs!
After installing the Mudslideshow and Minimax plugins your only two simple steps away from showing your album in a blog post:

  1. Upload your pictures to Googles Picasa (you will need a google account for that task)
  2. Select the album within the post
  3. Optional: adjust the amount of pictures per row and/or the thumbnail size and/or slideshow viewer

Have fun reading and/or publishing your gallery!

Reflecting after 10 days of India(n cities)

No name

India, a country that was never in our top 100 of places we had to visit, was our destination 2 weeks ago. The sole reason for us to go was that my girlfriends sister, Desiree is doing an intern at DQ Entertainment an animation company in Hyderabad. The decision to go was quite adventurous since we didn’t really take much time reading about the places we were going to visit. Collegaues of mine who spend some time working in India told me some gruesome stories which actually matched my thoughts on India.

…..

Hello world! I’m back after rebuilding my blog ;(

wordpress logo

Welcome back to WordPress. This is your first10th+ post. Edit or delete it, then startresume blogging!

For some mysterious reason my WordPress blog got contaminated about 2 months ago. I couldn’t reach the admin pane any longer so I (instinctively) renamed all the plugins in the wp-plugins directory, hoping to preserve all the widget metadata. This seemed to work, although after naming the plugins back to the original name (with exception of some), I couldn’t add new ‘default’ WordPress widgets like a text box.

Some time passed and I had started writing more intensively, so I had an urge to upgrade my blog with more features. After adding a now reading plugin and some other stuff, the problems started again.
At this moment I’m rebuilding my blog, keeping track of the steps taken: Continue reading

Quadrifoglio Verde

Alfa Mito Quadrifoglio VerdeThis is what Alfisiti want: style & HORSES…in any order! Although the Quadrifoglio will come with a 1.4 engine, it’ll output a nice 170HP which is 124HP per liter! This little bullet will be fitted with nice 17inches. Can’t wait though for the MITo GTA on 19inch and supposibly 240 HP. Not sure btw if the picture on the left is the QV or the GTA.

Hope they’ll put some lucky 4 in the new Alfa 149 as well. For now I’ve heard the Alfa 149 will be sold with the 3.2 v6 which also should output around 240 HP since this is the GTA engine.

Other dreamcars I stumbled upon: Ferrari 458, Maserati CranCabrio and the Alfa Romeo 8c spider

source: autoweek, autowereld, autoblog

Module dependend, annotated, Panel menu

I am currently working on a Wicket / Spring e.a. website for a client in Rotterdam. The website serves as a single point of contact to the organization from a customers perspective and therefore we interface with a lot of other systems. The dependency on succes of other projects causes an ever changing scope for this project so we set up a multi module Maven stucture to be able to do ‘last minute’ in- or exclusion of products. To have the least amount of work when in- or excluding modules we were in need of a menu which would auto-adjust to what was packaged in the release. We created an annotation and placed this on all Panel classes that should have a menu item: Continue reading