I recently gave a brief overview of my permanent disability and workers’ compensation benefit calculators. In that post I wrote a little bit about how my website calculators work.

In late 2004 I spent some of my free time working on a calculator for the 1997 Permanent Disability Rating Schedule 100% pure javascript (the only programming language I knew at the time). I had several reasons for never publicly releasing this calculator:

  • Uniformity. Not all computers and browsers perform all javascript functions the same way.
  • Speed. A pure javascript calculator would require the user to download all of the code – not just the parts they needed.
  • Protection. Anyone with a modicum of technical knowledge could simply downloaded the calculators, and then post it as their own.
  • Obsolete. With SB 899 and the 2005 Permanent Disability Rating Schedule, my calculator became nearly obsolete. I scrapped it rather than building a second calculator.

The current workers’ compensation benefits calculators use very very little javascript. Doing so has meant that I don’t have to worry about different computers/browsers, users only need to download the code they need to run a single calculation, and my calculators don’t work without my server.

Next up, PHP!

This jet
This jet

Mostly because its so flipping cool.

I’m one of those kinds of people who likes to customize their things to suit them better. My junky cell phone has a custom ringtone I created, custom welcome/power-on message, my e-mail and word processing programs have tons of little shortcuts to make my life a little easier in a multitude of ways. My dictaphone has a sticker on it. ((A sticker of a jet.))

The great thing about WordPress is that the entire program is SO customizable. You can change how it looks with “Themes” and how it acts with “Plugins.” I’ve been using it since March or so, even though it wasn’t publicly launched until July. I’m still finding all of these cool little features.

My current favorite feature: The ability to schedule a post. I can draft a quick post and then schedule it to appear on a particular day or time. Brilliant!

Its the little things in life, you know?

Here’s a (simplified) overview of how my permanent disability/impairment and workers’ compensation benefits calculators work. As I’ve mentioned elsewhere, I wrote these website calculators using javascript, PHP, MySQL, and AJAX.

In a recent post, I created a really simple test for cell phones using the above languages. Here’s what was happening:

  • The user clicks the button “Cell Test.”
  • The javascript embedded in the button detects the “click.”
  • The javascript embedded in the button then tells an AJAX program that the button was clicked.
  • AJAX sends a little bit of information to the web server – saying that the user clicked that button.
  • The PHP program on the server is notified that the button was clicked.
  • The PHP program checks a MySQL table to see what it should happen when that button is clicked.
  • The MySQL table returns the answer, what should happen when a button is clicked, to the PHP program.
  • The PHP program takes the answer from the MySQL table and sends it back to the AJAX program.
  • The AJAX program takes that information and, using a little bit of javascript, displays the answer in your web browser.

Easy!

Dr. Horrible
Dr. Horrible

This post has nothing to do with workers’ compensation whatsoever. So, you know, you might enjoy it. ;)

Long story short: Joss Wheedon, the guy who brought us Serenity, Firefly, Buffy the Vampire Slayer (the movie), Buffy the Vampire Slayer (the T.V. show), decided to put together a short internet movie during the writer’s strike. The result is Dr. Horrible’s Sing-Along Blog – a kind of three act musical comic book.

Starring Neil Patrick Harris of Doogie Howser M.D. fame. Seriously.

Why, oh why, have I posted about this? I watched the videos when they were released for free for a limited time – but only just before they they expired. They have just been posted again for free on the Dr. Horrible website.

These damned songs have been stuck in my head ever since I watched it. My nominations:

  • Best song: “Brand New Day”
  • Best quote not from a song: “Dude. You’re NOT my nemesis.”
  • Best line from a song: “That’s the plan. Rule the world. You and me. Any day. <wink>”

Kitchen Nightmares
Kitchen Nightmares

Gordon Ramsey, the super duper chef and Fox network star, has a show called, “Kitchen Nightmares.” I watched an episode last night. Its about what you’d expect from a Fox reality show – a slow motion train wreck from which your eyes cannot be pried away.

Nevertheless, I watched it.

It featured a pizzeria owner who had a failing and tragically flawed restaurant which was entirely supported by his wife’s income. The owner prided himself on his stubbornness and his ability to do anything he set his mind to. He had dreams of turning his establishment’s business model into a global franchise.

He kept running this restaurant for two and a half years. Some might admire his persistence. I think he probably would have learned a lot more about building a successful business by failing spectacularly, rather than throwing time and money at a losing proposition. As best as I can tell, successful people take risks. Throwing good money after a bad proposition just doesn’t seem risky or brave.

My thought: When your business doesn’t make money, its just a hobby. An expensive and time consuming hobby. A friend once referred to this as “feeding the beast,” when your business turns from a money making proposition to something that will eat your savings, free time, mortgage, second mortgage, and marriage. (Thanks anonymous!)

This may seem contradictory to my prior post where I quoted, “do what you love and the money will follow.” Now, I may be a victim of Fox’s incredible ability to edit footage, but that guy didn’t seem to love what he was doing. He seemed to love the idea of what he was doing – playing at being a chef and restaurateur. The reality of his situation seemed to be escaping him.

I’m rather lucky with this little hobby/business of mine. There is no beast to feed. I have no office, no staff, no programmers, no graphic design team, and no ad department. ((Reminds me of the song “Turning Japanese” by “The Vapors.”)) Of course, I did have a significant upfront time investment. But, I said I didn’t want to talk about that. :)

Perhaps that trite phrase is better stated as, “do what you love and the money won’t matter.”

Look at me waxing all philosophic!