Tuesday, July 24, 2007

Leap Years



In investigating making an age of majority checker, I started thinking about leap years. I know of one person total that was born on February 29th. Statistically speaking, there are bound to be more.

Anyway, here's a good little function that'll return true if you have a leap year. and false if you don't

function checkYear(year) {
return (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) ? 1 : 0;
}

Labels: , ,

Tuesday, June 05, 2007

Week Off, Day Two

Today wasn't quite as eventful as yesterday, but still a lot of fun.

I made my very first BBQ sauce from scratch. Super tasty. However, I added my own little kick of two tablespoons of Tabasco and a tablespoon of Cajun chicken seasoning. I can't help myself. To be honest, if I hadn't, the sauce would have been too sweet.

The ribs were excellent. I think Libs was suitably impressed. Once again, I helped get Declan down for his naps and just helped him get back to sleep a few minutes ago.

On the Camgasm front, I found a cool TransformManager class from Jack Doyle at Greensock.com. Very nice.

Labels: , , ,

Wednesday, May 16, 2007

Camgasm Update



The fine folks at CustomWeather gave me access to their weather service a little while ago.

After finally getting a chance to play with it again, I ran into problem after problem trying to connect.

Well, it's been worked out and now camgasm.com has a cute little current weather reporting system for the time being.

What am I doing with it?

step 1. I get your IP address
step 2. I send that IP to GeoBytes IPlocator.
step 3. Now that I have the city, I query CustomWeather and get back the xml with your local weather.

fun fun.

Labels: , ,

Tuesday, March 06, 2007

Camgasm Update



I'm going to need some help with Camgasm. If you want to be a beta-tester, please email me. If you need a little more information, I can't help you until you agree to not steal my ideas, concept and soul.

I promise I won't be storing your email any further than beta and won't be bugging anyone more than I need to.

Labels: ,

Friday, March 02, 2007

Camgasm - Starting Fresh

A year ago (well, over a year ago) I registered Camgasm.com as a joke after a Craig showed me his site webcamtastic.com. That's as far as it went.

I've been banging around ideas on what I wanted to do with the site since. Is it a portal?, Should I do interviews?, etc. etc.

But I did actually come up with a pretty solid idea recently. And by recently, I mean about six months ago. Oh, just about the time Declan was born. Surprise, surprise...So I put everything on hold (by choice) and concentrated on my little son. Which should be evident as the only posts of note on this blog have been baby this, baby that.



So I'm pretty excited. I'll try and be a good Flash guy and document what I'm up to without giving it away too much.

Viva La Camgasm!

Labels: ,