1. Have fewer than two alcoholic drinks a day

2. Watch less than 1 hour of TV daily

3. Read novels

4. Do crosswords

5. Eat fish

6. Drink tea or coffee

7. Keep a journal

WebSmart, like it’s green screen predecessor, is not a case tool. It’s a program generator.

When a new program is created in WebSmart the user runs a wizard that in which the user selects which existing files to use in the program, how the files are related and what the program should do by choosing a template. A full featured program is then generated that includes PML and HTML. After that, the user is on their own to customize the HTML and PML (Program Macro Language). (more…)

 toughgoers.jpg

Excerpted from Robin Sharma’s Discover your Destiny.

Rule# 1: Remember that life is a series of seasons. Every human being will have to endure the harshness of a few winters in order to get the glory of best summers. Never forget that winters do not last.

Rule# 2: Join the Hope Club. Big, beautiful and seemingly impossible goals are superb vehicles to keep you inspired. Da Vinci said: “Fix your course to a star and you can navigate any storm.” When you are reaching for great and noble goals that speak to the best within you, your desire to reach them will pull you through the tough times that you will encounter along the seeker’s path.

Rule# 3: Keep in mind, at all times, that we grow the most from our greatest suffering. As we go through it, it hurts. But as we move through it, it also heals. When a jug of water falls to the floor and cracks, what was hidden within begins to pour out. When life sends you one of its curves, remember that it has come to help crack you open so that all the love, power and potential that had been slumbering within you can be poured into the world outside you.

Rule# 4: Failure is a choice. Nothing can stop a man or a woman who simply refuses to be kept down. The book – The Go-Getter is very helpful on this point. Just make a decision from the center of your heart that, no matter what happens to you, you will keep walking the authentic path. Doing so will ensure you a life of real success.

Rule# 5: During tough times, there is a tendency to let go of yourself. As you encounter adversity, have the discipline to maintain your routine – get up early, do your holy hour, eat very well, exercise, spend time with nature. And make sure that you do all you can to keep all four of your central dimensions – the mind, the body, the emotions and the spirit – in fine operating order.

Rule# 6: Feel your feelings. When you are facing hard times, some people will tell you to “just think positive thoughts.” Such advice is not helpful. While living in the past is unhealthy, one must not rush to reframe a so-called negative event as a positive one. Doing so will throw you into denial. Feel through the feelings of hurt, anger or sadness that will naturally surface. It’s okay to be with them. Processing through them allows you to release them. Just don’t get stuck in them. The key is really to strike a balance.

Rule# 7: Remember that, no matter how hard things get, you are never alone.

Source : http://www.mehtanirav.com/2005/09/09/rules-for-going-through-tough-situations/

The Top 25 companies based on the annual ranking by America’s popular Fortune Magazine:

  1. Wal-Mart Stores
  2. Exxon Mobil
  3. General Motors
  4. Chevron
  5. ConocoPhillips
  6. General Electric
  7. Ford Motor
  8. Citigroup
  9. Bank of America Corp.
  10. American Intl. Group (more…)

Comparison of DOM and SAX

DOM SAX
Tree approach is useful for small documents in which the program needs to process a large portion of the document. Event driven approach is useful for large documents in which the program only needs to process a small portion of the document.
SAX parsers generally require you to write a bit more code than the DOM interface. If you use DOM to construct the tree, extract the data and throw away the tree, then SAX might have been more efficient.
Unless you build a DOM style tree from your application’s internal representation for the data, you can’t as easily write the XML file back to disk. The DOM tree is not constructed, so there are potentially less memory allocation.
  If you convert the data in the DOM tree to another format, the SAX API may help remove the intermediate step.
  If you do not need all the XML data in memory, the SAX API allows you to process the data as it is parsed.

(more…)