Sep 2 2010

include vs. include_once vs. require vs. require_once

include (‘sponsor_links.php’);
If the file sponsor_links is present in the current folder, it will be included ( way may want it to appear both – at the top and at the bottom).

include_once (‘statistics.php’);
If the file statistics.php is present, it means we want statistics for the page. Otherwise, we don’t want statistics. Deleting statistics.php will not affect the main program.

require (‘navigation.php’);
We may want to include the navigational links both both at the top and the bottom at the page. If navigation.php is not present, the main program will stop running and an error message will be displayed.

require_once (‘google_adsense_top.php’);
Because a page has only one top, only one instance of google_adsense_top.php will be included. If google_adsense_top.php is not present, the main program will stop running and an error message will be displayed.


Aug 24 2010

Two Stories — Both True

STORY NUMBER  ONE

Many years ago, Al Capone virtually owned  Chicago .  Capone wasn’t famous for anything heroic.  He was notorious for enmeshing the windy city in everything from bootlegged booze and prostitution to murder.

Capone had a lawyer nicknamed ‘Easy Eddie.’  He was Capone’s lawyer for a good reason.  Eddie was very good!  In fact, Eddie’s skill at legal maneuvering kept Big Al out of jail for a long time.

To show his appreciation, Capone paid him very well.  Not only was the money big, but Eddie got special dividends, as well.  For instance, he and his family occupied a fenced-in mansion with live-in help and all of the conveniences of the day.  The estate was so large that it filled an entire  Chicago   City  block.

Eddie lived the high life of the  Chicago  mob and gave little consideration to the atrocity that went on around him.

Eddie did have one soft spot, however.  He had a son that he loved dearly.  Eddie saw to it that his young son had clothes, cars, and a good education.  Nothing was withheld.  Price was no object.

And, despite his involvement with organized crime, Eddie even tried to teach him right from wrong.  Eddie wanted his son to be a better man than he was.

Yet, with all his wealth and influence, there were two things he couldn’t give his son; he couldn’t pass on a good name or a good example.

One day, Easy Eddie reached a difficult decision.  Easy Eddie wanted to rectify wrongs he had done.

He decided he would go to the authorities and tell the truth about Al ‘Scarface’ Capone, clean up his tarnished name, and offer his son some semblance of integrity. To do this, he would have to testify against The Mob, and he knew that the cost would be great.  So, he testified.

Within the year, Easy Eddie’s life ended in a blaze of gunfire on a lonely  Chicago Street .  But in his eyes, he had given his son the greatest gift he had to offer, at the greatest price he could ever pay.  Police removed from his pockets a rosary, a crucifix, a religious medallion, and a poem clipped from a magazine.

The poem read:

The clock of life is wound but once, and no man has the power to tell just when the hands will stop, at late or early hour.  Now is the only time you own.  Live, love, toil with a will.  Place no faith in time.  For the clock may soon be still.’

STORY NUMBER TWO

World War II produced many heroes.  One such man was Lieutenant Commander Butch O’Hare.

He was a fighter pilot assigned to the aircraft carrier  Lexington  in the South Pacific.

One day his entire squadron was sent on a mission.  After he was airborne, he  looked at his fuel gauge and realized that someone had forgotten to top off his fuel tank.

He would not have enough fuel to complete his mission and get back to his ship.

His flight leader told him to return to the carrier.  Reluctantly, he dropped out of formation and headed back to the fleet.

As he was returning to the mother ship, he saw something that turned his blood cold; a squadron of Japanese aircraft was speeding its way toward the American fleet.

The American fighters were gone on a sortie, and the fleet was all but defenseless. He couldn’t reach his squadron and bring them back in time to save the fleet.  Nor could he warn the fleet of the approaching danger.  There was only one thing to do.  He must somehow divert them from the fleet.

Laying aside all thoughts of personal safety, he dove into the formation of Japanese planes.  Wing-mounted 50 caliber’s blazed as he charged in, attacking one surprised enemy plane and then another.  Butch wove in and out of the now broken formation and fired at as many planes as possible until all his ammunition was finally spent.

Undaunted, he continued the assault.  He dove at the planes, trying to clip a wing or tail in hopes of damaging as many enemy planes as possible, rendering them unfit to fly.

Finally, the exasperated Japanese squadron took off in another direction.

Deeply relieved, Butch O’Hare and his tattered fighter limped back to the carrier.

Upon arrival, he reported in and related the event surrounding his return. The film from the gun-camera mounted on his plane told the tale.  It showed the extent of Butch’s daring attempt to protect his fleet.  He had, in fact, destroyed five enemy aircraft.
This took place on February 20, 1942, and for that action Butch became the Navy’s first Ace of W.W.II, and the first Naval Aviator to win the Congressional Medal of Honor.

A year later Butch was killed in aerial combat at the age of 29.  His home town would  not allow the memory of this WW II hero to fade, and today, O’Hare Airport in  Chicago  is named in tribute to the courage of this great man.

So, the next time you find yourself at O’Hare International, give some thought to visiting Butch’s memorial displaying his statue and his Medal of Honor.  It’s located between Terminals 1 and 2.

SO WHAT DO THESE TWO STORIES HAVE TO DO WITH EACH OTHER?


Butch O’Hare was ‘Easy Eddie’s’ son.


Aug 6 2010

FIJI Water Urban Hunt

My friend Leyla is putting together an Urban Hunt in Chicago August 14th called FIJI Water Urban Hunt. This social competition will have 50 teams, 20 items, 1 day, 2 finalists, and 1 winning team. If you have will want to disconnect from your laptop and run around Chicago with your smart-phone and utilizing the power of social media.

For more information and registering a team go to TheUrbanHunt.com you can also find them on Facebook and Twitter.

Event Details

Participants are asked to arrive at the as-yet-to-be-determined starting location between 2:00 p.m. – 2:30 p.m. The FIJI Water Urban Hunt will begin at 3:00 p.m.

Each team will receive a complementary CTA Card (Chicago Transit Authority) for their journey.  This is the sole means of transportation that participants may use. Any team member caught using a taxi, private car, or any other form of private transportation will be disqualified.  Since the FIJI Water Urban Hunt will be taking place in the downtown Chicago area, all items on the list will be accessible by public transportation or on foot.  Sponsors will be revealed to participants through email, Facebook, and Twitter but no items on the lists will be divulged prior to the 3:00 p.m. start time.

The FIJI Water Urban Hunt will begin and end at the same location.  Participants must bring a driver’s license, state-issued ID, or passport as well as their signed waivers. Once registered, they will pick up their race packets and CTA cards. Registration will then be followed by a short introduction. At 2:45 p.m., participants will be given their “list,” and then head out on their journey at 3:00 p.m. Any team arriving after 2:30 p.m. will not be guaranteed their list or race packet by 3:00 p.m.


Jun 6 2010

What is Pumping Station One [VIDEO]


May 14 2010

Top 10 SEO checklist

Proper Title Tags
Well-constructed title tags contain the main keyword for the page, followed by a brief description of the page content. It will be less than 65 characters and avoid using stop words such as: a, if, the, then, and, an, to, etc. Your title tag should also be limited to the use of alphanumeric characters, hyphens, and commas.

Proper Description Tags

Good description tags contain information about the page’s content and persuade search engine users to visit your web site. They should be between 25 and 35 words in length.

Proper Keywords Tags

Your keywords meta tag should contain between 5-10 keywords or keyword phrases that are also found in page content.

Proper Heading Tags

Each page of your site should use at least the H1 heading tag for the search engines that examine it when crawling your site.

Page Content

Pages should have between 300 and 700 words of descriptive content that contains the keywords specified for the page.

Proper Navigation

Each page of your site should contain links to every other page so search engine spiders can find every page. This is a critical step for the proper indexing and page rank distribution of your site.

Proper Sitemap

It’s important to use two site maps for your website–an XML version and a static version. The XML version can be created with Search Engine Visibility’s site map tool. The static version should sit on a static HTML page and contain links to every other page.

Controlled Crawling

It’s important that search engine spiders find your robots.txt file that guides spiders to pages and directories you want crawled and denies entry to protected areas of your site.

Duplicate Content/Tags

Because search engines treat web sites as a grouping of pages and not a single entity, each page on your site should be unique so that the tags and content differ between each page. Doing so increases the number of pages that will rank.

Word Density

Pages should contain 300 to 700 words of unique and descriptive content. A page’s meta tag keywords should also be those that occur most frequently on the page.


Mar 25 2010

Simple Life Lesson

At age 25, Jim makes $100,000 a year. He’s constantly traveling for business. He has a large home in which he often doesn’t visit some rooms for months at a time. He eats out every single night. He drives a leased Lexus, which he updates every few years at the end of the lease. He buys a whole new wardrobe every six months, taking the leftovers to Goodwill. He spends everything he brings in.

At age 25, Bill makes $35,000 a year. He lives in a smaller home and doesn’t travel much. He makes most of his own meals at home. He drives a Toyota Corolla, which he owns free and clear. He wears clothes until they’re worn, then shops at Goodwill for replacements, often picking up Jim’s barely-worn clothes. At the end of the year, he usually has about $5,000 of his income left over, which he sticks into his stock investments which earn 8% a year.

In ten years, Jim’s net worth hasn’t grown a cent. In those same ten years, Bill has $72,000 in the bank.

At the twenty year mark, Jim’s net worth still hasn’t grown a cent. In those same twenty years, Bill has built up $228,098 in the bank.

At the thirty year mark, Jim’s still breaking even. Bill, on the other hand, has $566,416 in the bank.

At age sixty five, Jim hasn’t accumulated a cent and will be working for the man for the rest of his life. At the same age, Bill has $1.3 million in the bank and can do whatever he wants for the rest of his life – and probably already started doing that a few years earlier.

It doesn’t matter how much you earn. It matters how much you save.

When I was twenty five, my net worth was negative and heading south rapidly. I spent more than I earned and I didn’t really worry about the consequences of it. I figured if I had the money – or the credit – I certainly ought to spend it in whatever way made my life more enjoyable right now.

I’m now thirty one. My net worth is still negative (although it would be positive if I counted the value of my home towards it, which I do not), but it grows every month in a positive direction and will soon become positive even without the house value.

One might immediately think that I must have made my life less enjoyable to make that change. Actually, my life is more enjoyable now.

I have a better grasp on the things that actually make me happy and I don’t waste my money on things that don’t.

I’m not chained to a desk and a career, fearing the pink slip – I set my own career rules and goals.

I’m not afraid of getting the mail any more and I don’t wake up at night worried about how I’m possibly going to make ends meet or pay all of this off in the future.

Perhaps best of all, my financial position is improving every single month and I no longer see the long-term future as some kind of musty cloud that will “work itself out.” I know it’s getting better and I know that, if I continue on this path, I’ll be able to easily have some of the big things I actually want in life, like a beautiful house in the country with some wooded land in the back.

My life now is something I’ll happily trade having a shiny new Lexus and an iPhone and a set of high-end golf clubs and eating out every night for. In exchange, I’m not worried about the future and I have career and personal freedom I would never otherwise have.

Wealth has little to do with how much you earn. It’s how you spend – or save – it.


Mar 6 2010

Hot Tub Time Machine

I received some free movie passes via BrokeHipster from my friend Kate to go and see the movie screening of Hot Tub Time Machine on Thursday.

The movie I would described as the Hang Over meets Back to the Future II