Friday, March 12, 2010

Font Style Formula in Crystal reports

Under certain scenario’s, the need to have some Bold text fields in the report detail section is a common requirement.

The usual technique is to create 2 identical detail sections; use the compress logic based on the scenario. One of these sections will have the fields as Bold. The problem with this flow is that each time we make a change in fields (length\font), we need to do it both sections and take care of the alignment issues.

The alternate method I found more efficient is to use only 1section. Change each field format - Use the formula for the Style section.
if (Need Regular) then
  crRegular
else if (Need Bold Font) then
   crBold
else if (Need Italic Font ) then
   crItalic
else if (Need Bold+Italic) then
   crBoldItalic
else
   crRegular

Five S's

The Five S's (or 5S) is a basic, fundamental, systematic approach for productivity, quality and safety improvement in all types of business.

Sort - the first step in making things cleaned up and organized
Set In Order - organize, identify and arrange everything in a work area
Shine - regular cleaning and maintenance
Standardize - make it easy to maintain - simplify and standardize
Sustain -maintaining what has been accomplished

More than the Office or Home, it is more applied on how we keep\maintain items in our Mindset.

Five S's is part of Kaizen (Kai – change , zen – good :: continous improvement ) and Kadan ( Kan – visual, ban – card :: visual aid that triggers action) concepts.

Tuesday, March 9, 2010

JDK, JRE, & JVM .

Java Development kit (JDK) = JRE + Tools needed for Java Development

Java Runtime Envirnoment (JRE) = JVM + Java package Classes + runtime Libraries

Java Virtual Machine (JVM) =  Interprets the byte code into the machine code depending upon the underlying operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking, etc

Wednesday, January 13, 2010

Open System

For a very long time I was in the impression that Open System product means the product can run in majority of the Operating systems (Windows, Unix, Linux and others). But in reality it tends more towards Unix Operating system.
The Real Definition is:
Open systems are computer systems that provide some combination of interoperability, portability, and open software standards. (It can also mean specific installations that are configured to allow unrestricted access by people and/or other computers)