Tuesday, December 13, 2011

Chrome seasoned with Salt & Pepper

I'm not gonna lie. I'm getting pretty excited for Native Client in Google Chrome. The thought that I can suddenly use tons of libraries that have been tested and worked on for ages in the browser raises the hair on my neck. I've been searching for a way to generate files on the client side in my web app. It might soon be possible to use iTextSharp in Chrome to create PDF files in a webapp without a trip to the server and a lengthy download. Or imagine the image and audio libraries that are instantly usable without porting to javascript.  This is the kind of excitement once felt when you realized the Java virtual machine allowed you to write code that would run "everywhere". Then MS created their Common Intermediate Language. It was very exciting that you could compile more than one language to run on the same VM.
  Now NaCl has the possibility to be *the* intermediate language of the web.  You can think of it sidestepping the java plugin, or taking over where ActiveX left of. It has the benefit of leveraging tons of existing code for the web. There's nothing stopping Google or anyone from compiling or transpiling any and all languages to be used in NaCl. Think C, C++, C#.  Why not Dart, javascript, Go, Java?

  In my mind, this is going to be HUGE. Use what language you love. It's all web. That's what I call open.

Friday, October 14, 2011

Some coffee math...

Seriously, WTF is with Starbucks "reward" card?  I have to buy 30 drinks within a year to get to the gold level and THEN another 15 just to get my first free coffee! That's 45 visits to a Starbucks to get 1 free drink.  All I have to say is WOW.

Let's assume I buy a Pikes Place roast tall coffee which is one of the cheaper items on the menu.  45 x 1.85 = $83.25.  Or if I buy a triple grande mocha each time that's roughly $222 to get 1 free drink. Ouch. That's not what I call free. It sure makes Tully's buy 8 get the 9th free deal groundbreaking.