Monthly Archives: September 2014

Clearcase Find Based on Checkin Date and Comments

The command to find all the matching files in the current directory is cleartool find . -type f -name “*.java” -branch “brtype(main)” -version “created_since(2014-09-22)” -exec “cleartool desc -fmt \”Version: %n\tComment: %c\n\n\” %CLEARCASE_XPN%” | findstr “commented string to be found” the … Continue reading

Posted in Tool and Debug | Tagged , , , | Leave a comment

Eclipse Workspace Mechanic for Java Code Format in Team Environment

Problem How do you ensure each developer in your team can deliver Java code in the same format (indentation, line length, code blocks….)? Well, you of course know Eclipse preference is the place to go. You can easily import a … Continue reading

Posted in Tool and Debug | Tagged , , , , , | Leave a comment

Javascript for in Loop Enumeration Order

Problem When enumerating the properties of an object, ECMAScript specs doesn’t provide an explicit order. Instead it says the order is implementation dependent. Therefore the following code could result in different output from different browsers. Most of the browsers today … Continue reading

Posted in Javascript & html, Programming | Tagged , , , | Leave a comment

Database Diagram in Microsoft SQL Server Management Studio

As a new user of Microsoft SQL Server, I today found its free SQL Server Management Studio can also provide database diagrams, just like the MySQl Workbence does. ┬áThe instructions for creating the diagram and the diagram notations can be … Continue reading

Posted in Database, Tool and Debug | Tagged , | Leave a comment

What Do I Hate for My New Job, and What Did I Do– 1/3

I have been with my new company for three months now and I like and hate it. We are developing very complicated cloud based web applications deployed to a few load balanced server farms, each with dozens of servers running … Continue reading

Posted in Best Software Practices, Tool and Debug | Leave a comment