Jun 18

Add these two sites through help->software updates

Name :RDT
URL : http://updatesite.rubypeople.org/release
Name :RadRails
URL : http://radrails.sourceforge.net/update

Jun 10

I am learning scala and erlang the same time to get an idea of FP.  So far, I like Erlang better in term of syntax.  Scala is good but its syntax is just getting too complicated.  It is trying to replace java but the its syntax is no simpler than java.  I think if Scala is not static type, the syntax would be simpler.

Jun 8

I am starting to learn Scala. This will be my first step to Functional programming world (even though Scala is not a pure functional programming language, it supports OO too).  I highly recommended this article for anyone who wants to take the first step: http://www.artima.com/scalazine/articles/steps.html .

Jun 8

As if the great firewall of China is not enough, they want to put a Dam on its people’s computers to reduce the flood of  porn (so they say). The software is called “Green Dam-Youth Escort”.  However, I really don’t think Chinese Communist/Capitalist government really cares about blocking porn.  They require every new computer to install this software because they want to block other political websites and control the information flow.   China wants to have its cake and eat it too.  It likes to get the benefit of modern technologies and internet but also want to control information flow.   I think they are fighting a losing battle.  Sooner or later, they will lose.

Jun 4

Eclipse is a great tool but like any great tool with long history.  I think Eclipse is getting bloated.  It is so easy to break by just doing a simple upgrade.

May 16

Finding nursing homes for your elderly can be difficult.  There are not many good site out there that is easy to find by simply typing in an address.  So I decide to create one using Medicare’s free data.  It is call US Nursing Home Finder .   I think it is the best site to find a nursing  home in US.

May 13

I need to find if there are some duplicate class in the a list of jar files.  Here is what I did:

Go to the directory contains the jar files, can run this command:

find . -name “*.jar” -exec jar -tvf {} \; > list.out 2>&1

Then run:

cat list.out | grep Somepattern

May 4

I got this error when deploy and redeploy a service: java.lang.IllegalStateException: Endpoints already been registered or something like that.  Google it without much luck.  I will have to go to server/default/work directory and remove the jbossws folder and also the particular web service folder and then restart jboss.  Then the problem will go away.  JBoss sucks!

Apr 22
  1. install xcode tools from installation cd
  2. install Macports. go to: http://www.macports.org/
  3. sudo port selfupdate
  4. sudo port install mysql5 +server
  5. sudo port install ruby
  6. sudo port install rb-rubygems
  7. sudo port install rb-termios
  8. sudo port install rb-mysql
  9. sudo port install subversion +tools
  10. sudo port install git-core
  11. sudo port install freetds
  12. sudo port install rb-dbi +dbd_odbc
  13.  sudo port install rb-odbc
  14. sudo ln -s /opt/local/var/run/mysql5/mysqld.sock /tmp/mysql.sock
  15. sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
  16. sudo mysql_install_db5 –user=mysql
  17. sudo gem install -y rake
  18. sudo gem install -y rails
  19. sudo gem install -y capistrano
  20. sudo gem install -y mongrel
  21. sudo gem install -y mongrel_cluster
  22. install eclipse
  23. install Aptana plugin
  24. install Aptana Radrails plugin

Apr 20

Oracle is offering to buy Sun at $9.50 per share (http://news.yahoo.com/s/ap/20090420/ap_on_bi_ge/oracle_sun).  That is bad news for Sun, Java and MySQL.  Sun bought MySQL and I thought it was a great idea to compete with Oracle.   Now MySQL is under Oracle and you know Oracle is going to kill MySQL because they don’t want free open source database to compete with their product.  It is time to fork MySQL to a different open source project so that it won’t be controlled by Oracel.

« Previous Entries