Wednesday, June 28, 2006

So you're turning it on!

Mujo and Janez got a job to chop wood. First day, Janez got fifteen timbers down, Mujo did just three. Second day, Janez got twenty-two down, Mujo five. Third day, Mujo sneaks out behind Janez to see how does he do it. Janez just takes a stroll down to the place where he worked the day before, gathers some wood, lights a little fire, makes a coffee, has a breakfast with it, cleans up his dishes, packs them back, takes his chainsaw, turns the engine on... and then Mujo jumps out of the bush: - So you're turning it on!

Ever been in a situation when you had to write a long workaround - and then later saw a straightforward and simple way to do it? All it takes is knowing how to turn it on. :)

From :

Monday, June 19, 2006

A thought and No Linux in Life

Text taken from the mentioned link, Well said Mary Jo Foley.

Microsoft Linux!: Microsoft could have and should have done its own version of Linux. It could have bought a Linux distro vendor or just christened some branch of Windows (with some Unix-compatibility add-ons) as Microsoft Linux. By doing this, Microsoft could have thrown a real monkey wrench into Linux companies' plans. Instead, Microsoft continues to spend lots of money, time and attention fighting open-source software on a whole host of fronts. They should have joined the camp, rather than obsessing on beating them.,1995,1977870,00.asp?kc=MWRSS02129TX1K0000535

Wednesday, May 31, 2006

VFP can do anything you can imagine...

Check out the video and it says loud and clear : VFP

Thursday, July 14, 2005

PDF Pagecount Logic

Well its been long time and i put my developer hats ON. Small code atleast worked for me to solve my current problem. It works and its too fast and VFP again gets 100% credit.

Lparameter tcPdfFileName
lcPdf = Filetostr(tcPdfFileName)
Do Case
Case Left(lcPdf,8) = "%PDF-1.2"
lnPos = At("/Count", lcPdf)
Case Left(lcPdf,8) = "%PDF-1.4" Or Left(lcPdf,8) = "%PDF-1.5"
Return lPageCount

Thursday, July 07, 2005

.Net Return on Complexity (ROC)

A thought rightly conveyed.

Tuesday, May 24, 2005


About ten years ago, a young and very successful executive named Josh was traveling down a Chicago neighborhood street. He was going a bit too fast in his sleek, black, 12 cylinder Jaguar XKE, which was only two months old.

He was watching for kids darting out from between parked cars and slowed down when he thought he saw something. As his car passed, no child darted out, but a brick sailed out and - WHUMP! - it smashed Into the Jag's shiny black side door! SCREECH..!!!! Brakes slammed! Gears ground into reverse, and tires madly spun the Jaguar back to the spot from where the brick had been thrown. Josh jumped out of the car, grabbed the kid and pushed him up against a parked car. He shouted at the kid, "What was that all about and who are you? Just what the heck are you doing?!" Building up a head of steam, he went on. "That's my new Jag, that brick you threw is gonna cost you a lot of money. Why did you throw it?"

"Please, mister, please. . . I'm sorry! I didn't know what else to do!" Pleaded the youngster. "I threw the brick because no one else would stop!" Tears were dripping down the boy's chin as he pointed around the parked car. "It's my brother, mister," he said. "He rolled off the curb and fell out of his wheelchair and I can't lift him up." Sobbing, the boy asked the executive, "Would you please help me get him back into his wheelchair? He's hurt and he's too heavy for me."

Moved beyond words, the young executive tried desperately to swallow the rapidly swelling lump in his throat. Straining, he lifted the young man back into the wheelchair and took out his handkerchief and wiped the scrapes and cuts, checking to see that everything was going to be OK. He then watched the younger brother push him down the sidewalk toward their home.
It was a long walk back to the sleek, black, shining, 12 cylinder Jaguar XKE -a long and slow walk. Josh never did fix the side door of his Jaguar. He kept the dent to remind him not to go through life so fast that someone has to throw a brick at him to get his attention. . . Some bricks are softer than others. Feel for the bricks of life coming at to you. For all the negative things we have to say to ourselves, God has positive answers.

Saturday, May 14, 2005

Japanese Fish Taste

Interesting Article!!!

The Japanese have always loved fresh fish. But the waters close to Japan have not held many fish for decades. So to feed the Japanese population, fishing boats got bigger and went farther than ever. The farther the fishermen went, the longer it took to bring in the fish. If the return trip took more than a few days, the fish were not fresh. The Japanese did not like the taste.

To solve this problem, fishing companies installed freezers on their boats. They would catch the fish and freeze them at sea. Freezers allowed the boats to go farther and stay longer. However, the Japanese could taste the difference between fresh and frozen and they did not like frozen fish. The frozen fish brought lower price.

So fishing companies installed fish tanks. They would catch the fish and stuff them in the tanks, fin to fin. After a little trashing around, The fish stopped moving. They were tired and dull, but alive. Unfortunately, the Japanese could still taste the difference. Because the fish did not move
for days, they lost their fresh-fish taste. The Japanese preferred the lively taste of fresh fish, not sluggish fish.

So how did Japanese fishing companies solve this problem? How do they get fresh-tasting fish to Japan? To keep the fish tasting fresh, the Japanese fishing companies still put the fish in the tanks. But now they add a small shark to each tank. The shark eats a few fish, but most of the fish arrive in a very lively state. The fish are challenged. As soon as you reach your goals, such as finding a comfortable job, paying off your debts, having already achieved your pre-set targets or whatever, you might lose your passion. You don't need to work so hard so you relax.

Like the Japanese fish problem, the best solution is simple. L Ron Hubbard observed it in the early 1950's. "Man thrives, oddly enough, only in the presence of a challenging environment." The Benefits of a Challenge - The more intelligent, persistent and competent you are, the more you enjoy a good problem. If your challenges are the correct size, and if you are steadily conquering those challenges, you are happy. You think of your challenges and get energized. You are excited to try new solutions. You have fun. You are alive!

Recommendations - Instead of avoiding challenges jump into them. Beat the heck out of them. Enjoy the game. If your challenges are too large or too numerous, do not give up. Failing makes you tired. Instead, reorganize. Find more determination, more knowledge, more help.

Don't create success and lie in it. You have resources, skills and abilities to make a difference. Put a shark in your tank and see how far you can really go!