Entries for month: May 2008

I'm quoted in Adobe's press about Flex

Flex No Comments »

I went to a technical briefing by Adobe and was surprised to see that they quoted me after talking with them for a while about how Flex is an amazing product where I work.  Here's my quote,

"Flex 2 enables us to more easily develop applications that connect backend systems with rich, front-end interfaces. Our end users are impressed by the ease of updating content and retrieving multiple sets of data – and also by the speed at which we can deploy applications readily available to anyone using the ubiquitous Flash Player"... 

See it on Adobe.com HERE.

 

Using Flex to get domain or server name

Flex No Comments »

I recently came across this very handy tip from a Flex Examples Blog.  This code sample allows any Flex developer to determine the server / domain name at runtime.  This is a handy tip which can help you when deploying Flex applications on mulitple servers (such as a staging/production server). Basically you can listen for the Application tag to dispatch the applicationComplete event, grab the URL of the SWF using the loaderInfo.url property, and then use the URLUtil.getServerName() method to parse out the server name. 

I ended up using this excellent solution for a Flex project I'm working on as a consultant.  Check it out:


<?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="vertical" applicationComplete="init()">
    <mx:Script>
        <![CDATA[
        import mx.utils.URLUtil;
        private function init():void {
        lbl.text = "url=" +
        URLUtil.getServerName(Application.application.loaderInfo.url);
        }
        ]]>
    </mx:Script>
    <mx:Label id="lbl" text="" />
</mx:Application>

 

Gas per Gallon vs. Other Liquids

Funny Stuff No Comments »

I found this to be very interesting.  I really need to get in the Ink Jet business!!!  The price of Gas versus Printer Ink

All these examples do NOT imply that gasoline is cheap; it just illustrates how outrageous some prices are....

You will be really shocked by the last one!
(At least, I was...)

Compared with Gasoline......

Think a gallon of gas is expensive?

This makes one think, and also puts things in perspective.

  • Diet Snapple 16 oz $1.29 ... $10.32 per gallon
  • Lipton Ice Tea 16 oz $1.19 ..........$9.52 per gallon
  • Gatorade 20 oz $1.59 ...... $10.17 per gallon
  • Ocean Spray 16 oz $1.25 ......... $10.00 per gallon
  • Brake Fluid 12 oz $3.15 ...... $33.60 per gallon
  • Vick's Nyquil 6 oz $8.35 ... $178.13 per gallon
  • Pepto Bismol 4 oz $3.85 .. $123.20 per gallon
  • Whiteout 7 oz $1.39 ....... . $25.42 per gallon
  • Scope 1.5 oz $0.99 .....$84.48 per gallon

And this is the REAL KICKER... Evian water 9 oz $1.49..$21.19 per gallon! $21.19 for WATER and the buyers don't even know the source

(Evian spelled backwards is Naive.)

Ever wonder why printers are so cheap?  So they have you hooked for the ink. Someone calculated the cost of the ink at...............
(you won't believe it....but it is true........) $5,200 a gal. (five thousand two hundred dollars)

So, the next time you're at the pump,be glad your car doesn't run on water, Scope, or Whiteout, Pepto Bismol, Nyquil or Printer Ink!

Just a little humor to help ease the pain of your next trip to the pump...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds