Why developers are never on time

Thursday 2012-06-28

If you have worked in IT as long as I do, you probably have noticed that developers have a tendency to not be on time. They are late for meetings, late for lunch, and on other days they are in at 6am or (and) they work until 3am the next morning. If you ever wondered why this is, I might have some answers for you.

You might also find this post interesting if you are trying to figure out why you can’t get your time zones working in MySQL.

Read the rest of this entry »

Distributed jMeter through VPN and SSL

Thursday 2012-02-16

This week I created a jMeter test setup for distributed testing. I thought it would be straight forward but I ran into some interesting things you might want to know if you are considering distributed testing using jMeter.

In my case, I had to test an application which was inside our corporate network, while working from home through a VPN and a firewall. Normally that is no problem, but jMeter has this funny construction where the slave (jMeter server) wants to connect back to the master (jMeter gui). It took some fiddling with iptables, the jMeter configuration and ssh tunneling to get it to work. Here’s my setup:

Read the rest of this entry »

Strange fix for SMB problems in Linux

Monday 2011-11-28

Linux Sucks.Last week, the upgrade to Ubuntu 11 severely broke all carefully selected menu colors, graphics settings and icon sets. I gave up the fight after a few hours of effortless restoration work and switched to Linux Mint 11.

While setting up my machine and restoring the links to the company Windows file servers I could not connect. The password window would re-appear without any feedback. The fix was even stranger than the problem.

Read the rest of this entry »

Having fun at J-Fall 2011

Thursday 2011-11-03

J-Fall 2011This year’s Dutch Java Nerd event called J-Fall was held in Nijkerk, in a beautiful location called “Hart van Holland” . With plenty of sessions by speakers from all over the world it promised to be a great day for Java enthusiasts, at a great location for meeting friends and colleagues. I took a day off from work and it was well worth it.

Read the rest of this entry »

Gmail: Save an email to disk

Tuesday 2011-10-18

Gmail save to diskWant to save a single email from gmail to disk, in a readable format for Outlook, Thunderbird or Apple Mail? Here’s how:

  1. Open your browser and log into your gmail account.
  2. Open the email you want to save.
  3. On the top-right, there is a little triangle next to the “Reply” button. Click that, and select “Show Original”.
  4. The original, raw email opens in a new window or tab.
  5. Right-click on this new window, and select “Save as…”.
  6. When saving the file, make sure the extension of the filename is “eml“. So for example “MyEmail.eml”.

All done. Now you dan open the file in Thunderbird, Outlook or whatever email viewer you have out there and see the original mail, in all it’s marked-up glory.

Add some magic to Eclipse

Saturday 2011-07-30

Templatus Expandum!The top feature of the eclipse IDE is the very impressive refactoring possibilities. It makes code feel like play-doh, allowing you to knead it in any shape way or form you think fits the current situation. A close second to that is the impressive templates and code assist. Yes, Java is verbose, but I think 80% of the characters which make up a Java program was never actually typed. All the readability without the labour, brought to you by eclipse’s powerful templates.

What many people don’t realize is that you can easily add to this magic by creating your own templates. One of the first templates I always add to the environment is the one which adds a private static final log4j logger. I thought it would be great example to share with you.

Read the rest of this entry »

Replacing Dropbox with Spideroak

Sunday 2011-07-03

After lies about Dropbox Employees not being able to see your files, then proving that they do not do regression testing on their security, the latest change in terms of service really was the last drop. So I dropped dropbox.

I had become dependent on Dropbox to transfer files between my private and work machines, having my notes, configuration files and (encrypted thank god) password databases handy at all times. Searching around, there is really no other service like it. Although lots of products claim to have the same functionality, the “share this folder between all my machines” feature which dropbox proviced is really unsurpassed.

I had to find an alternative solution which would meet the following criterea:

  1. has to be a single, native folder, instantly syncing with all other machines
  2. has to be free or *really* cheap, minimum 2GB
  3. has to use an encryption technology where no one else can ever read my files, not even the hosting party, not even at gunpoint
  4. has to have client software for Windows, Mac and Linux
  5. accessing data on my iPhone would be a nice bonus.

After some browsing around, there are two solutions that come close, one is Wuala, and the other is Spideroak.

For one additonal GB of storage for life, use my referal link to register at SpiderOak. Read the whole article to add another 5GB to that.

Read the rest of this entry »