Monthly Archives: January 2010

Selling out

The state of Java and MySql are changing. In case you missed it. Sun bought MySql and Oracle bought Sun. I’ve been working on Java for over 10 years and MySql for over 5 now. I’m not happy with what is happening.

The Java and MySql websites have changed. On the mysql.com site there is no prominent link to get to the community edition. If you go to mysql.org to redirects to dev.mysql.com where you can find it.

This is not good for me or a country like Sri Lanka. Most of the solutions I’ve been involved over the years have used open source foundations. So we were able to deliver solutions to clients at a very reasonable cost. If things get too commercial I’m a afraid the licensing costs will far overtake the implementation costs.

I’m sure there will always be open source or free to use versions of Java and MySql, but with a large commercial entity backing them profit comes first then community. I don’t know I think its time to look at some alternatives.

Update: They got to VirtualBox too.

Crazy Emails

Please don’t email me prayers or jokes with hundreds of people CC’ed. There is a very high likelihood I would delete them without even opening it.

I’m serious. You wonder how you get spammed so much its because you forward very free iPod giveaway email to all our buddies and get them in the spam ring as well.

Think about it. When was the last time anyone you know really got a free iPod?

Show/ Hide Hidden Files In Mac Finder

The first thing you notice in Mac Finder is there is no way to show hidden files. In Windows Explorer or Gnome this is in the menus. On mac you need to set a environment variable called “com.apple.finder AppleShowAllFiles” to toggle the state of hidden files.

I manually changed this a couple of times, but its annoying to do all the time. So I thought of adding it to a bash script to make things easier.

#!/bin/bash

SHOW_FILES=`defaults read com.apple.finder AppleShowAllFiles`

if [ $SHOW_FILES = "FALSE" ]; then
	defaults write com.apple.finder AppleShowAllFiles TRUE
else
	defaults write com.apple.finder AppleShowAllFiles FALSE
fi
killall Finder

References
Mac OS X – Show / Hide Hidden Files in Finder