Gigabit Goodness
I'm officially on a gigabit switch at work now!
With all the video work I've been doing, I'm sure it'll make transfers to and from our files servers a lot speedier!
Thanks, IT guys!
Cool Programmer Game
I found this great little flash game tonight that really helps you think like a programmer. It's pretty fun... check it out:

script.aculo.us effects in AIR
I'm starting a new Adobe AIR project and was trying to add some snazzy script.aculo.us effects to my application. It worked fine in the preview mode, but when I actually ran the application, I got a sandbox error since AIR is very restrictive on "eval()" statements.
Error: Adobe AIR runtime security violation for JavaScript code in the application security sandbox (eval)
Turns out that others have had this problem too. script.aculo.us apparently isn't planning on releasing an AIR-compatible version, but I found this great page where a developer re-wrote the code in question.
the offending code in in effects.js at line 254:
eval('this.render = function(pos){ '+
'if (this.state=="idle"){this.state="running";'+
codeForEvent(this.options,'beforeSetup')+
(this.setup ? 'this.setup();':'')+
codeForEvent(this.options,'afterSetup')+
'};if (this.state=="running"){'+
'pos=this.options.transition(pos)*'+this.fromToDelta+'+'+this.options.from+';'+
'this.position=pos;'+
codeForEvent(this.options,'beforeUpdate')+
(this.update ? 'this.update(pos);':'')+
codeForEvent(this.options,'afterUpdate')+
'}}');
In order to run this code in an AIR application, it can't be in an eval() statement.
To fix this problem, change that entire code block to:
/*
eval('this.render = function(pos){ '+
'if (this.state=="idle"){this.state="running";'+
codeForEvent(this.options,'beforeSetup')+
(this.setup ? 'this.setup();':'')+
codeForEvent(this.options,'afterSetup')+
'};if (this.state=="running"){'+
'pos=this.options.transition(pos)*'+this.fromToDelta+'+'+this.options.from+';'+
'this.position=pos;'+
codeForEvent(this.options,'beforeUpdate')+
(this.update ? 'this.update(pos);':'')+
codeForEvent(this.options,'afterUpdate')+
'}}');*/
this.render = function(pos){
if (this.state=="idle"){
this.state="running";
if(this.options["beforeSetupInternal"]) {
this.options.beforeSetupInternal(this);
}
if(this.options["beforeSetup"]) {
this.options.beforeSetup(this);
}
if(this.setup) {
this.setup();
}
if(this.options["afterSetupInternal"]) {
this.options.afterSetupInternal(this);
}
if(this.options["afterSetup"]) {
this.options.afterSetup(this);
}
}
if (this.state=="running"){
pos=this.options.transition(pos)*this.fromToDelta+this.options.from;
this.position=pos;
if(this.options["beforeUpdateInternal"]) {
this.options.beforeUpdateInternal(this);
}
if(this.options["beforeUpdate"]) {
this.options.beforeUpdate(this);
}
if(this.update) {
this.update(pos);
}
if(this.options["afterUpdateInternal"]) {
this.options.beforeUpdateInternal(this);
}
if(this.options["afterUpdate"]) {
this.options.beforeUpdate(this);
}
}
}
Thanks King Maxemilian!
Google on the iPhone is L337
I was browsing the new iPhone App store and found this funny little programmer joke in the Google Mobile application. Check out the version number:

I can always count on Google to have a sense of humor.
Amazon is Cat-tacular!
I found a little funny easter-egg on the amazon website that I've never noticed before. If you go to www.amazon.com
and view the page source. If you don't know how to do that, this post probably won't make much sense to you or be funny in any way, shape, or form.
One the very last line of the source is a comment: <!-- MEOW -->

What the heck? It made me laugh that the amazon developers would put something like that in the source code.
How much does this little gem cost amazon to serve to all their customers? It is, after all one of the highest trafficked sites on the internet. Adding that to every page has to have some sort of effect.
Total worldwide internet users: 1,407,724,920
Percent of global Internet users who visit this site: 2.13%
Unique pages viewed per user per day for this site: 6.64
So that put the estimated total users for amazon.com at 29,984,541 unique people and the total pageviews per day at 199,097,351.
The data for "<!-- MEOW -->" is 14 bytes including the newline character before it so this addition to the source costs amazon approximately 2.6 gigabytes of bandwidth every day. Amazing!
Let my know if my calculations are off.
Thank You, Netflix!
They royally screwed up and were "man" enough to admit it. Thanks for loving your customers, Netflix!
From an email I just received:
We Are Keeping Netflix Profiles
Dear Mark,
You spoke, and we listened. We are keeping Profiles. Thank you for all the calls and emails telling us how important Profiles are.
We are sorry for any inconvenience we may have caused. We hope the next time you hear from us we will delight, and not disappoint, you.
-Your friends at Netflix
I'm glad to see that there's at least ONE company that still cares about its customers. Netflix, you've renewed my faith in great customer service. (But I'm still mad at you for making me so upset)
Previously: "WTF, Netflix?"
Why it’s OK to ’steal’ Wi-Fi
This has got to be one of the most level headed discourses on Wi-Fi open networks I've seen in a long time.
His two main points are discussed in detail:
- By using a Wi-Fi network you're asking for, and receiving, permission from the owner.
- Your computer can't be on their Wi-Fi network unless their network is in your computer.
I highly encourage you to read this article.
Why it's OK to 'steal' Wi-Fi | Computerworld Blogs
Farecast.com Really Works!
I recently had to get two plane tickets to Dallas for a conference that my wife and I are going to. I decided I'd use Farecast.com because of all the hype about them recently on some of the blogs I follow.
The service they provide is amazing. The airline industry is pretty hush-hush when it comes to how they price their flights. What Farecast has done is plot historical prices from city to city and will tell you if the prices are going to drop, stay the same, or go up. It's really a quite ingenious way to think about air travel. I guess their "How It Works" page says it best:
Farecast offers unique features to help you Know When To Buy™, When To Fly™, and Where To Stay™—all based on science, not marketing. And now it's available from most major U.S. and Canadian cities to destinations worldwide. Our smart travel search also allows you to easily compare, sort, and narrow down flight and hotel results for hundreds of websites.
Thanks to our technology and data, you can find out if the lowest fare for a trip is rising or dropping over the next 7 days.
To find an Airfare Prediction, select cities and dates highlighted in green when you search flights.
My recent experience with Farecast was spectacular. I checked rates from Raleigh, NC (RDU) to Dallas, TX (DFW) in February and they told me to wait (ticket prices were about $375 if I recall correctly). When I got around to checking the price again on April 3rd, they said to buy the tickets at $299.
I jumped on it and bought the tickets. I looked at the same flight again today (7 days after I purchased the tickets).
Purchase Price:
Current Price:
As you can see, Farecast.com saved me about $200 ($100 each ticket) by telling me when would *statistically* be the best time to purchase the tickets.
Everyone should use Farecast.com. (They do hotel prices too.)


