Waiting for boarding…….

Yeah…

We?ve been together for 9 months now…

Yes, it only supports 64-bit Intel-based Macs…

safariscreensnapz001.png

The latest Apple Security Update 2007-009 updated Ruby and Rails installed on Leopard to:

Ruby 1.8.6 (patch level 111)
Rails 1.2.6
ActiveSupport 1.4.4
ActiveRecord 1.15.6
ActionWebservice 1.2.6
ActionPack 1.13.6
ActionMailer 1.3.6

The default local gems repository is in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/

So if you?ve got a separated gems repository created in /Library/Ruby/Gems/1.8, you won?t be affected by this update if you?ve already update your Rails to the latest 2.0.2.

This could be configured by setting:

GEM_HOME=/Library/Ruby/Gems/1.8

This means you should still get Rails 2.0.2 displayed when you issue the ?rails -v? command after the update.

All the .Mac services are not available at the moment: Mail, iDisk, .Mac website….

snapz-pro-xscreensnapz0014.png

Flickr has introduced a new feature for the pro members: stats.

According to Flickr Blog, Stats on Flickr is designed to give you all sorts of insight into how people arrive at your photos.

If you are a pro member, you can activate your stats now by clicking the following link:

http://www.flickr.com/photos/me/stats

Here comes some screenshots:

1. Activation page:

snapz-pro-xscreensnapz0013.png
2. Processing:

snapz-pro-xscreensnapz0022.png
3. Daily aggregate views:

snapz-pro-xscreensnapz007.png
4. Referrers:

snapz-pro-xscreensnapz0043.png

5. Breakdown of your photos:

snapz-pro-xscreensnapz0051.png

6. Referrers for your account: flickr.com:

snapz-pro-xscreensnapz006.png

Java SE 6 is 365 days old.

Yes, I am a Mac user. Can we actually get it from Apple?

Flickr Uploadr 3.0 Beta 2 was released a couple of weeks ago. For more details about Flickr Uploadr 3.0 Beta, please visit:

http://flickr.com/help/forum/59804

The new Flickr Uploadr is much better than the previous ones. You can select any number of photos and add titles, tags, descriptions, sets and privacy data for your photos. You can also drag your photos into a different order.

1. Installer package (Mac)

snapz-pro-xscreensnapz0012.png

2. Photos

snapz-pro-xscreensnapz0031.png

3. Photo details

snapz-pro-xscreensnapz0042.png

I Replaced the original DDR2 SDRAM memory shipped with 2.16 GHz MacBook to 2 x 2 GB 667 MHz DDR2 SDRAM today.

MacBook: 2.16 GHz (May 2007)
RAM: 2 x 2 GB 667 MHz DDR2 SDRAM (Only the first 3 GB will be addressed and used)

Everything seems to be OK…

snapz-pro-xscreensnapz005.png

snapz-pro-xscreensnapz0021.png

snapz-pro-xscreensnapz0041.png

Congratulations!!!

JetBrains pushed out its powerful continuous integration and build management server, TeamCity 3.0, last week. TeamCity 3.0 continues to extend support of both Java and .NET software development teams: per-project roles, visual statistics reports, improved code quality maintenance, and much more. For a quick look, I did an evaluation of the very first EAP release of TeamCity 3.0 back in August:

http://blog.cokee.org/?p=814

TeamCity 3.0 comes with two editions: the free Professional edition, and the Enterprise edition. The edition comparison matrix is available from the following URL:

http://www.jetbrains.com/teamcity/buy/edition_comparison.html

The full feature list is available from the following URL:

http://www.jetbrains.com/teamcity/features/index.html

The Enterprise Server is priced at $1,999 per license. But if you own Prior TeamCity licenses, you will qualify for a free upgrade to the Enterprise Edition of TeamCity. A single Prior TeamCity license entities you to run a single instance of the TeamCity Enterprise Edition Server.

I requested my Enterprise Server License 10 minutes ago through the following web page:

http://www.jetbrains.com/eshop/assistance/displayAssistance.do?assistanceProduct=TeamCity

All they need is your customer ID and one of your Prior TeamCity licenses.

I received the License Certificate email sent by JetBrains Sales Support in just 2 minutes with the brand new License Key for TeamCity 3.0 Enterprise Edition.

That’s really, really, really fast!!!

Your Prior TeamCity licenses will serve as Agent Licenses. An Enterprise Server License will automatically grant you use of three bundled Build Agents. So I should get:

1 (my Prior TeamCity License) + 3 (bundled Build Agents per instance of TeamCity) = 4.

The Build Agents could be purchased separately for $299 per agent.

Indeed, TeamCity does have quite a few competitors in the Continuous Integration Servers market, both commercial and non-commercial.

One name I have to mention is ThoughtWorks’ CruiseControl. Currently it comes with so many ‘flavours’: CruiseControl.NET, CruiseControl.Enterprise (CCE), CruiseControl.rb, to name a few…

Probably they should re-consider their marketing strategy on all their ThoughtWorks Studios products. Take a quick look of the page below:

http://studios.thoughtworks.com/cruisecontrol/purchase

Yes, they are offering the Early Access release of the ‘overwhelming interested’ CruiseControl Enterprise. But where is it? I ‘registered my interest’ in CruiseControl Enterprise in early summer this year, but still haven’t heard anything interesting…

Maybe they’re just afraid of releasing those Early Access products… Because their EA products are really, really, really full of bugs. More importantly, they won’t fix bugs found in their ‘Early Access’ builds.

Try to google ‘Mingle Early Access’ or simply search for ‘mingle’ in my blog, you’ll know what I’m talking about:

http://blog.cokee.org/index.php?s=mingle&submit=Search

snapz-pro-xscreensnapz0011.png

The latest Adium 1.2b1 release includes loads of new features. For details and download link, please visit:

http://beta.adiumx.com/

snapz-pro-xscreensnapz003.png

The final release of Rails 2.0.0 is finally here.

As the time of writing, activeresource-2.0.0 won’t get updated using the standard gem update. Alternatively, grab it from http://gems.rubyonrails.org directly.

snapz-pro-xscreensnapz004.png

It seems that ActiveResource 2.0.0 hasn’t been uploaded to RubyForge properly. The standard gem update won’t get the activeresource gem updated to 2.0.0.

For now, you could change the gem repository to http://gems.rubyonrails.org:

sudo gem install activeresource –source http://gems.rubyonrails.org

snapz-pro-xscreensnapz002.png

Although it hasn’t been mentioned on Ruby on Rails website, but the standard gem update will update your local Ruby on Rails gems to:

actionmailer-2.0.0
actionpack-2.0.0
activerecord-2.0.0
activesupport-2.0.0
rails-2.0.0

As the time of writing, it seems that ActiveResource hasn’t been uploaded to RubyForge…

snapz-pro-xscreensnapz001.png

新的口岸艾滋病防治管理条例已于12月1号起在首都国际机场实施。所有在国外居住超过1年的中国公民都被列入接受艾滋病检测的范围。

按照规定,被检测时,原则上都会使用全新不锈钢针头。什么叫原则上?这种事情难道还能商量?为什么只有中国公民?殊不知中国的艾滋病疫情已经远远超过很多欧美发达国家。

更搞笑的在后面,如果被检测愿意,可以选择与同行的家人,同事或同学等共用一只针头,但共用同一只针头的人数最多限制在4人。

有同学认为这样不仅降低了成本,也加快了检测的速度。

荒谬至极啊。

听说扎针抽血80元人民币一次,看来17大以后新上台的年轻同志们确实是敢打,敢干,不怕出风头。看来中国人民的智慧终究是无人能敌啊。

下次谁再敢说中国人缺乏创造力和创新精神,我一准儿跟你丫急。

看来以后旅行的常备物品里还要加上一次性注射器若干,世风日下啊,自给自足是不是能稍微踏实

I downloaded and installed Logitech Control Center 2.4 on Mac OS X 10.5.1 today. Not surprised I am getting this (already been made famous) error:

2007-12-05 23:38:49.696 mate[1703:10b] Exception raised during posting of notification. Ignored. exception: ‘[NOTE: this exception originated in the server.]
*** Object does not implement or has different method signature’ invoked observer method: ‘*** -[OakLaunchHelper didLaunchTextMate:]’ observer: 0×121ac0 notification name: ‘NSWorkspaceDidLaunchApplicationNotification’

It seems LCC 2.4 breaks Growl as well…

Shame on you, Logitech.

NetBeans IDE

6 different bundles are available:

  • Web & Java EE: Base IDE, Java SE, Web & Java EE, GlassFish v2, Apache Tomcat 6.0.14
  • Mobility: Base IDE, Java SE, Mobility
  • Java SE: Base IDE, Java SE
  • Ruby: Base IDE, Ruby
  • C/C++: Base IDE, C/C++
  • All: Base IDE, Java SE, Web & Java EE, Mobility, UML, SOA, Ruby, C/C++, GlassFish V2, Apache Tomcat 6.0.14

The ‘All’ bundle comes with a 169 MB single file on Windows and Linux platform, and a 125 MB DMG file on Mac OS X platform (with Mobility and UML packs stripped off).

The significant enhancements and new features introduced in NetBeans IDE 6.0 could be found at:

http://www.netbeans.org/features/

Grab it while it’s hot from:

http://download.netbeans.org/netbeans/6.0/final/

The NetBeans’ main website also got a fresh re-design:

http://www.netbeans.org/index.html

Powered by ScribeFire.

WPhone allows you to use a custom admin interface while interacting
with your WordPress install via your mobile phone. It contains two
versions of the mobile admin interface:

  • an iPhone / iPod Touch specific interface with full JavaScript and animation support.
  • a lightweight, simple version designed for all other phone types (no JavaScript or anything else required).

For more information, please visit:

http://wphoneplugin.org/

The latest WPhone release is 1.4.2, which was released on 23/11/2007, could be downloaded at:

http://downloads.wordpress.org/plugin/wphone.zip

The downloaded wphone.zip file is approx. 261 KB in size. Extract all
files from the Zip file, makeing sure to keep the file structure
intact, and then upload the plugin’s folder to /wp-content/plugins/:

Activate the WPhone plugin in the admin page.

activate wphone plugin…

When logging into your account, check the checkbox marked ‘Use mobile admin interface’ on the login form to use the mobile admin interface.

WPhone Admin Plugin:

mobile admin interface

Powered by ScribeFire.

今天是我和QQ同学认识八个月纪念日。

特发此文,已表纪念。

Powered by ScribeFire.

Specification:

  • Blackboard Academic Suite 7.1: 7.1.467.28
  • Operating System: Sun Solaris 9 (SunOS 5.9)

The script used to stop/start Blackboard services is called ‘ServiceController.sh’, which is stored in:

# pwd
/usr/local/blackboard/tools/admin

1. Stop Blackboard services

Please make sure the server running Blackboard Collaboration Server is always stopped last.

Please shutdown Blackboard services running on one server at a time, check the status and continue to next server.

The command to stop Blackboard services is (please make sure your local user has already been switched to root user using ‘su’):

./ServiceController.sh services.stop

The following output (or similar) is expected:

# ./ServiceController.sh services.stop
Using JAVA_HOME: /usr/j2se5/jdk1.5.0_08

impl.services.webserver.stop:
     [echo] Stopping Main Apache…
     [exec] waiting for child operations to finish….
     [exec] 0
     [exec] /usr/local/blackboard/apps/httpd/apachectl stop: httpd stopped
     [echo] Stopping Modperl Apache…
     [exec] waiting for child operations to finish….
     [exec] 10
     [exec] 0
     [exec] /usr/local/blackboard/apps/modperl/bin/apachectl stop: httpd stopped

impl.services.collabserver.stop:
     [echo] Stopping Collaboration Server…
     [exec] /usr/local/blackboard/systemlib /usr/local/blackboard/apps/collab-server
     [exec] /usr/local/blackboard/apps/collab-server/collabserverctl.sh stop: The Collab server with pid 8996 was stopped successfully.

impl.services.appserver.stop:
     [echo] Stopping Application Server…
     [exec] Using CATALINA_BASE:   /usr/local/blackboard/apps/tomcat
     [exec] Using CATALINA_HOME:   /usr/local/blackboard/apps/tomcat
     [exec] Using CATALINA_TMPDIR: /usr/local/blackboard/apps/tomcat/temp
     [exec] Using JAVA_HOME:       /usr/j2se5/jdk1.5.0_08
     [exec] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
     [exec] log4j:WARN Please initialize the log4j system properly.
     [exec] Verifying that the Application Server was properly shutdown…
     [exec] The Application Server with pid 8981 could not be shutdown. Attempting to kill it…

Please use the following command to check whether Blackboard services have been properly stopped:

# ps -ef | grep java

You should not see the following process or the similar one running at this point:

bbuser 19486     1  2   Nov 20 ?       1213:26 /usr/j2se5/jdk1.5.0_08/bin/java -server -Xms512m -Xmx3072m -Xss128k -Djava.util

# ps -ef | grep blackboard

You should not see the following process or the similar one running at this point:

bbuser 13989 19502  1 15:01:50 ?        0:13 /usr/local/blackboard/apps/modperl/bin/httpd

2. Start Blackboard services

Please make sure the server running Blackboard Collaboration Server is always started first.

Please start Blackboard services running on one server at a time, check the status and continue to next server.

The command to start Blackboard services is (please make sure your local user has already been switched to root user using ‘su’):

./ServiceController.sh services.start

The following output (or similar) is expected:

# ./ServiceController.sh services.start
Using JAVA_HOME: /usr/j2se5/jdk1.5.0_08

-impl.services.appserver.start.nodebug:
     [echo] Starting Application Server…
     [exec] Sun Microsystems Inc.       SunOS 5.9       Generic May 2002
     [exec] /usr/local/blackboard/apps/tomcat/bin ~
     [exec] ~
     [exec] Using CATALINA_BASE:   /usr/local/blackboard/apps/tomcat
     [exec] Using CATALINA_HOME:   /usr/local/blackboard/apps/tomcat
     [exec] Using CATALINA_TMPDIR: /usr/local/blackboard/apps/tomcat/temp
     [exec] Using JAVA_HOME:       /usr/j2se5/jdk1.5.0_08
     [exec] Using Security Manager

impl.services.collabserver.start:
     [echo] Starting Collaboration Server…
     [exec] /usr/local/blackboard/systemlib /usr/local/blackboard/apps/collab-server
     [exec] Sun Microsystems Inc.       SunOS 5.9       Generic May 2002
     [exec] /usr/local/blackboard/systemlib ~
     [exec] /usr/local/blackboard/apps/collab-server/collabserverctl.sh internal_start: Collab Server started (pid 8996)

impl.services.webserver.start:
     [echo] Starting Modperl Apache…
     [exec] KEY: ‘English (United Kingdom)’ not defined for bundle: ‘locales’. Caller is CI::Data::Locale/usr/local/blackboard/system/lib/perl/CI/Data/Locale.pm112CI::L10n::get_text118UUUUUUUUUUUU
     [exec] /usr/local/blackboard/apps/modperl/bin/apachectl start: httpd started
     [echo] Starting Main Apache…
     [exec] /usr/local/blackboard/apps/httpd/apachectl start: httpd started

Please use the following command to check whether Blackboard services have been properly started:

# ps -ef | grep java

You should see the following process or the similar one running at this point:

bbuser 19486     1  2   Nov 20 ?       1213:26 /usr/j2se5/jdk1.5.0_08/bin/java -server -Xms512m -Xmx3072m -Xss128k -Djava.util

# ps -ef | grep blackboard

You should see the following process or the similar one running at this point:

bbuser 13989 19502  1 15:01:50 ?        0:13 /usr/local/blackboard/apps/modperl/bin/httpd

Powered by ScribeFire.

Specification:

  • VAS: 3.1.2.11
  • MAV: 3.4.0 (r233)

vastool is located in:

# pwd
/opt/quest/bin

The standard command to flush cached client daemon information is:

./vastool flush

The following output is expected:

vasd stopped
Flushing auth cache: OK
Loading users cache: …………………………………… OK
Loading groups cache: …. OK
Loading Domain Info cache: … OK
vasd started

Please note that the flush process takes approximately 1 minute to finish on one server. During this period VAS daemon will be restarted, all the user authentication requests will not be accepted.

For more information, please refer to VAS help which could be accessed using following command:

# ./vastool -h flush
Usage: vastool flush [-rlx] [keytab | statedir | ccaches | accounts | auth | srvinfo | users | groups]
-r  don’t reload the caches after flushing them
-l  Reload caches even if vasd isn’t running
-x  Only clear expired password hashes from authcache

Powered by ScribeFire.

Specification:

  • IDE: All major IDEs.
  • JDK: Java SDK 1.5.
  • External Tools: Apache Ant (if not bundled with IDE).
  • Dependent Blackboard SDK:
    • Standard bb-platform.jar
    • Standard bb-taglibs.jar
    • bb-portal.jar (this has to be created manually)

1. How to create bb-portal.jar

bb-portal.jar is required to compile various Blackboard internal JSPs. This is not stored in the standard location:

/usr/local/blackboard/systemlib

Please use the following command to create bb-portal.jar file. Please note this file should be created after each major or minor system upgrade.

cd /usr/local/blackboard/webapps/portal/WEB-INF/classes

# ls -ltra
total 8
drwxrwxr-x   4 bbuser   other        512 Aug  9  2005 blackboard
drwxrwxr-x   3 bbuser   other        512 Aug 10  2005 com
drwxrwxr-x   4 bbuser   other        512 Aug 10  2005 .
drwxrwxr-x   6 bbuser   other        512 Aug  4 09:08 ..

# jar cvf bb-portal.jar ./blackboard/

After this, bb-portal.jar should be created:

# ls -ltra
total 3640
drwxrwxr-x   4 bbuser   other        512 Aug  9  2005 blackboard
drwxrwxr-x   3 bbuser   other        512 Aug 10  2005 com
drwxrwxr-x   6 bbuser   other        512 Aug  4 09:08 ..
drwxrwxr-x   4 bbuser   other        512 Nov 26 13:13 .
-rw-r–r–   1 root     other    1850469 Nov 26 13:13 bb-portal.jar

Copy this file to your local machine.

2. Compile JSP files using NetBeans IDE (recommended)

NetBeans IDE provides built-in support to test compile all JSP files during builds. In this case, no extra configuration is needed to pre-compile JSP files for Blackboard.

Create a new ‘Web Application’ or check out the ‘BlackboardFrame’ project on SVN.

Open the ‘BlackboardFrame’ project in NetBeans IDE. All the JSP files should be stored in ‘web’ directory and can be seen under the ‘Web Pages’ section of the project.

Open ‘Project Properties’ window by right-clicking the project and choosing ‘Properties’ in the context menu. Navigate to ‘Compiling’ section, make sure the ‘Test compile all JSP files during builds’ is checked.

Build the project by right-clicking the project and choosing ‘Build’ in the context menu.

The output message from the project build process could be viewed by pressing ‘Ctrl-4’ or choosing from Window -> Output -> Output from the toolbar.

If the build is successful, the output messages should look like:

After the build, all the generated Java source files would be stored in the following location:

Project\build\generated\src\org\apache\jsp

Please copy the required Java source files to the appropriate location (please refer to the package and folder structure of the original JSP files).

Change the package name of the generated Java source files from org.apache.jsp to the appropriate ones (please refer to the folder structure of the original JSP files).

Build the project again by right-clicking the project and choosing the ‘Build’ in the context menu.

After the successful build, please copy the Java source files, class files, and JSP files to the appropriate locations on the server.

The location of final Java class files:

Project\build\web\WEB-INF\classes\path\of\package

The location of final Java source files:

Project\src\path\of\package

3. Compile JSP files using other IDEs (using Apache Ant).

Other IDEs, including Eclipse and Intellij IDEA, do not have built-in support to test compile JSP files during builds. However, we could use Apache Ant and Tomcat container to achieve this.

Please make sure the Apache Tomcat container 5.5.x is properly installed on your local machine. I will assume that Apache Tomcat 5.5.x is installed in the following location:

C:\apache-tomcat5

If your local Tomcat container is installed in a different location, please modify the following line in the Ant buildfile build.xml:

Check out the project using the instructions mentioned above.  The Ant buildfile build.xml should be already in the top level of the project structure.

The dedicated target for compiling JSP files is called ‘compile-jsp’. This is an independent target and should only be called if it is necessary.

The default Java source file output location for test compile JSP files is:

Project\web\WEB-INF\src\org\apache\jsp

Run the ‘compile-jsp’ target, and the output messages should look like:

Copy the generated Java source files to the appropriate locations and change the package name of each file according to the folder structure of the original JSP files.

Rebuild the project and you should get the JSP pre-compiled.

Powered by ScribeFire.

Not a very pleasant time though…

Powered by ScribeFire.

My iPhone automatically restarted just now while I was listening Leona Lewis’ Bleeding Love…

The screen just suddently went black, and the silver Apple logo appeared…

The actual restarting time seems shorter than the normal shutdown/restart (by holding the sleep button)…

It’s really weird… Anybody got any idea?

Powered by ScribeFire.

FreeRice is a sister site of the world poverty site, Poverty.com.

For each word you get right, they donate 10 grains of rice through the United Nations to help end world hunger:

http://freerice.com/index.php

For more details, please visit:

http://freerice.com/faq.html

Powered by ScribeFire.

Next Page »