Monday, March 15, 2010

Running BlazeDS on 32 bit Ubuntu Linux 9.04

This is a topic that will appeal to a very narrow minority (smart, not-frightened to try new stuff, developers). I have always loved Linux and lately found myself totally thrilled with Ubuntu. I've now run 9.04 on a Mac Pro in VMware and have a dual boot 64-bit install running Ubuntu 9.10. What can I tell you? If Adobe had an approved Exchange client for Ubuntu, I'd say bye-bye to OS X. Check out the screenshot:



There really isn't that much to get BlazeDS up and running on either of these systems, largely thanks to the ease of use built into Ubuntu. Here are the instructions to get it up and running.

1. Grab the Vancouver build of BlazeDS from here.

2. Unzip it to your desktop. Ubuntu 9.04 makes this simple as all you have to do is double click on the *.zip package, the same as OS X or Windows.

3. Check to see if you have a JDK configured and installed. To do this, grab a terminal and type in "javac" and see what comes back. If you have not installed a JDK before, you will get a message similar to this one:



4. This means you have to use a great feature of Ubuntu. The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced Packaging Tool (APT) performing such functions as installation of new software packages, upgrade of existing software packages and more. It can even update the O/S. apt-get has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH) and the ability to be used in system administration scripts, which can, in turn, be automated by the cron scheduling utility.

5. Run the command "sudo apt-get install sun-java6-jdk". This will install the Sun Java JDK. I chose this one over the others as I consider it the reference implementation for a JDK. Once you hit enter, you will be asked for your admin password and then the magic begins. I swear this was the easiest Java install I have ever done in my life. Thank you whoever created this tool at Ubuntu!!!




6. At some point during the install, you will be hit with the Sun license agreement. There will be a little (yes) prompt at the bottom of the grey area and none of the regular keys or mouse inputs seem to get you to be able to interact with it. You have to use the TAB key for this. Tab over until the (yes) is highlighted (shown below) and hit enter. Same for the next screen.


7. When this completes, you should be able to type "javac" into the command line and see the proper output (basically a prompt asking you for options).

8. Navigate to the folder where you saved the BlazeDS build from step 1. Using the terminal, chmod it to make it executable ( chmod -R 755 BlazeDS/ ). Chmod makes the file persist in a mode of "executable" if given the 755 argument. You may have to change to su to do this. This can be accomplished by typing in "sudo" in front of the command.

9. You're almost ready to start it up. The last step is to set $JAVA_HOME. To do this, you have to modify a small properties file that controls the environmental variables when in the terminal. This file is usually in your home directory. To switch back to this directory just type in "cd ~" and then type in "ls -la .bash*". This should provide a list of files that are hidden (from just running "ls") and you will see one such as .bashrc or .bash_profile. This is assuming you are running the BASH shell.

10. You will have to edit the .bashrc or similar file to add a line that sets the $JAVA_HOME environmental variable. First you have to know what this value should be. Within the terminal, type "whereis java". This should provide a list of locations where Java is installed.

My system returned the following:

administrator@ubuntu-904:~/Desktop$ whereis java
java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz

11. Unfortunately, the process is not quite straightforward. Grab a File Browser and navigate to the first path you see (in this case /usr/bin/) and inspect "java". On my system and many others, this will turn out to be a symbolic link to another location. To find out where, right click on it and select "Properties". Mine showed the location as /etc/alternatives/java.



12. Navigating to /etc/alternatives/java also revealed that this too was a symbolic link. The real target was /usr/lib/jvm/java-6-sun/jre/bin/java. This means that the real value for $JAVA_HOME will be /usr/lib/jvm/java-6-sun/.

13. To set this, use a line editor of your choice. I am going to use pico as pico is one I am familiar with. To do this, type the following in your terminal:

- "cd ~"
- "pico .bashrc"

14. Pico should bring up a configuration file. If it is not already filled in with lots of values, check the name of the config file and try again. In this file, you can add comments so I usually append my custom entries to the bottom of the file. In this case, at the very bottom, I enter the following lines of code:

# JAVA_HOME added by Duane Nickull
export JAVA_HOME=/usr/lib/jvm/java-6-sun

15. To save your .bashrc profile use "Control X" and answer "Y". Quit the current instance of terminal and open a new one. Test that your JAVA_HOME environmental variable is okay by typing in "echo $JAVA_HOME". You should see output like below:


16. With your terminal, navigate to the BlazeDS root folder, then change directory to the "sampledb" folder. Type in the following: "sh startdb.sh". The sample database should start up.

17. Start another instance of terminal and navigate to the BlazeDS root folder, then navigate to subfolders "tomcat" and "bin". Type in the following: "sh catalina.sh run".

18. Fire up a web browser and navigate to http://localhost:8400 (the default port the BlazeDS will be running on). Voila! You are done.




Coming up next will be some tutorials on Flex and AIR development on Linux if anyone is interested.

Tuesday, March 09, 2010

New Tutorial - How to set up your Model Driven Development

Sujit Reddy and I just co-wrote a new technical paper for the Adobe Developer Connection on how to get your development environment up and running if you want to take advantage of the powerful new features of LiveCycle Data Services 3 and Flash Builder 4.

Click here to get started - it only takes about 15 minutes from start to end.

LiveCycle Data Services ES2 is an important component for many companies migrating to a three-tier architecture for enterprise RIA development. The advanced Message Exchange Patterns (MEPs) it enables are unparalleled and very robust. This article is aimed at developers and distills the essential steps needed to set up model-driven development with LiveCycle Data Services ES2 and Flash Builder 4 beta 2.

In this tutorial, we'll share these steps to help you get started quickly and walk through building a simple application using a new technology that brings model-driven development to Flex developers. The model-driven development process is really cool. We were able to write a basic CRUD data grid and form to work against a back-end database with minimal lines of code. Below is a screenshot of the finished project.


So what are you waiting for? Start coding now!

Monday, March 08, 2010

What does my race/ethnicity have to do with Olympics?

Sorry if I am just a thick-headed Canadian farm boy but I saw something today that I have to ask about. I went to register for tickets for the 2010 London Olympics when I found this question posed to me:

Ethnicity: (it is on this web page)

Two immediate thoughts came out of this. First I wondered how to classify myself. Although I have relatively white skin, I do read books from other cultures and try to live some of their ideals. Buddhism is a particularly large influence on my private thoughts although most of you would never guess it. As I pondered this though the bigger picture entered my head and I asked the first question I should have.

What does your race have to do with watching the Olympics?

Sorry Olympics organizers but I really do not see the connection here. This could not have been asked in Canada at the recent 2010 games during the registration process as every person in Canada is afforded the same quality of life. The Charter of Rights and Freedoms guarantees this in section 15.1 (read here)

"15. (1) Every individual is equal before and under the law and has the right to the equal protection and equal benefit of the law without discrimination and, in particular, without discrimination based on race, national or ethnic origin, colour, religion, sex, age or mental or physical disability."


I guess I am missing something here. Can anyone shed some light on this?

Monday, March 01, 2010

Duane's World - Interview with David RR Webber

I was lucky to catch up with David RR Webber in Washington, DC and was able to talk to him about the OASIS Election Markup Language (EML). David and I also got kicked out of a bar in this episode.



Musical guest Matt MacKenzie lays down some 1980's flavour house groove with a great backbeat and ambiance. Code and Tunes gets into how to set up LiveCycle ES for Java Developers plus some tips on how the OASIS EML might be implemented using Adobe LiveCycle ES2 and PDF.

Vancouver City Centre Florists use Deception business practice

I had sent my wife flowers for her birthday. I logged onto the web as I was in London and found some local florists. I went with one that looked good but have since found they ripped me off. Do not use City Centre Florists (http://www.canadaflorists.com/D7-2985.htm/) as they use a very deceptive practice. Here is what happened.

I went to the webpage to order the flowers for my wife. After finding the ones I wanted, I clicked the "Buy Online" button. See the image below.




The price clearly says $84.99. When I clicked through I was presented with a form that also said my card would be billed for $84.99, this of course being the advertised price. I completed the transaction. The receipt sent to me did not indicate otherwise and simply said thank you order received:


Since the last price they showed me was the $84.99, I thought all was good. The flowers got delivered. But wait!! When I got my credit card statement, I was billed $182.49. See below:



I called them to complain and they said simply that they arbitrarily decided that flowers cost more around valentine's day. They claimed that they had some text somewhere on the website saying they could cost anywhere between 50-100% higher from Feb 1-15. Note that this now appears on the website image (above). This did not appear on my browser at the time I ordered these flowers though. The check out screen said $84.99. I contacted my credit card company and am filing a dispute.

In the meantime, if you send flowers to anyone in Vancouver, do not use City Centre Florists. They are deceptive, rude people who should be put out of business IMO! This dishonest business practice is also against BC law. In British Columbia you have to honor the lowest advertised price. City Centre Florists are criminals. They were given a chance to be nice and do the right thing but now this blog post stays and everyone can see what criminals they are.


Screw you City Centre Florists!!!! You are evil, stupid and treat your customers with contempt. I hope you go out of business and I will do everything to make this story heard until you fail.

#FAIL

Friday, February 26, 2010

Flash Player 10.1 build 3 rocks!

There are few things in this world that get better and better over time. Wine comes to mind and so do vintage Porsches. When it comes to software though, it gets incrementally harder to improve quality. I think however that Flash Player 10.1, build 3 is an exception. (DISCLAIMER: I work for Adobe and while I attempt to always be unbiased, I may unintentionally not be completely neutral).

So what has been done? The major changes in beta 3 update include support for hardware video
decoding on more netbooks and PCs. From the product management (in their words):

"The Broadcom Crystal HD chip is a video decoder chip found in newer Pine Trail netbooks, like HP's Mini 210, while the GMA 500 chip is in many netbooks, from Dell's Mini 10 to Sony's Vaio netbooks and others."

There is also some enhanced hardware acceleration on many other hardware platforms and chipsets. What many people have noticed seems to be an improvement in performance on both PC and Mac devices although I have not yet run any tests. Tests are hard to run in any event due to the way the garbage collection works. Flash Player uses the same Mark-Sweep pattern as the Java Virtual Machine and just because something is "marked" as memory that may be reclaimed, it does not immediately get reclaimed until the memory is required. This is because in some cases, running the GC may take more CPU time than the memory being reclaimed would provide as a benefit (which is just good engineering).

On mobile, the peephole pattern is used to only render that which is currently in use on the display list's actively viewed area. This is a cool invention.

OK - enough of me talking. Time to get it for yourself and help us test it. We have an open bug database which we encourage you to submit and vote bugs to (BTW - there are a lot of bug fixes in the latest release). Get involved here:

DOWNLOAD: http://labs.adobe.com/downloads/flashplayer10.html
LOG ISSUES: http://bugs.adobe.com/flashplayer/
FORUMS: http://forums.adobe.com/community/labs/flashplayer10/

Note that some of this blog post was copied from our internal briefing document. I do stuff like that because I am a lazy Adobe evangelist, I live in Vancouver and would much rather spend my time watching Olympic ice hockey this week ;-P

Thursday, February 25, 2010

New Flex 4 Workshop now online - NY May 13

For Flash and the City, Kevin Schmidt and I will be giving a 5 hour workshop on Flex 4 (link). This will be a hardcore, hands on boot camp to teach all the core concepts of Flex 4 (new Spark architecture etc.) in one evening.

The entire day will be run in a code camp style, each lab being chosen by participants. The presenters will come prepared to teach over 30 modules including topics such as Web Services, REST style data paging, Flash Remoting, 3D effects, working with the Datagrid, the new Flex 4 graphics packages (Spark), video, XML, graphs, integration with Java , saving data to a hard drive, storing data locally in AIR’s SQLite database and much more.

All attendees will receive a preparation guide to help them get set up with the correct software prior to the event itself. Upon leaving, each attendee will receive all the completed code and materials to re-use as reference material. Demo software will be provided for download prior to the event and resources for further learning will be shown at the end of the day.

How to get in?

You must register for Flash and the City as soon as possible here. The cost is very cheap for the whole 4 days plus there will be tons of good parties etc (that is how the organizer lured me).

Wednesday, February 17, 2010

LiveCycle ES Managed Services go Production!

Adobe LiveCycle Enterprise Suite 2 (ES2) has now moved into a production environment! Using the moniker “LiveCycle Managed Services”, Adobe is hosting a set of web services that provides an alternative deployment model for most Adobe LiveCycle ES2 modules.

It is offered in partnership with Amazon, the industry leader in IAAS (yet another acronym using the suffix “As A Service”; the “I” standing for “Infrastructure") cloud computing and leverages the power and security of the Amazon EC2 platform. I am personally not for using the acronym IAAS because anything that is concretely implemented on this scale is ipso facto infrastructure services (the same as I claimed about DaaS or Data as a Service).

Nevertheless, this is a remarkably cool advancement for Adobe. In a time when many companies are talking about the cloud as “maybe one day in the future”, our engineers have accomplished the dream. LiveCycle ES2 modules available with
Managed Services include:

• LiveCycle Forms ES2
• LiveCycle Reader Extensions ES2
• LiveCycle Rights Managements ES2
• LiveCycle Digital Signatures ES2
• LiveCycle PDF Generator ES2
• LiveCycle Output ES2
• LiveCycle Process Management ES2
• LiveCycle Content Services ES2

The cloud architecture is simple. It effectively uses a client side interceptor to proxy requests bound to a localhost address to a remote endpoint that proxies the services. Below is depicted a typical environment for development, however the runtime is essentially the same.



Cloud computing has many advantages. First, by definition, the logical and physical network topologies no longer map to each other. This effectively allows for faster scalability. Adobe also puts 24/7 enterprise level support on this making it easier for small and medium sized enterprises to use for mission critical applications. Another advantage is that it costs far less to use the managed version as all admin tasks are shared with other users. Things like backups, monitoring and intrusion detection are done for you at a much cheaper cost. The full power of LiveCycle can be made available to your organization at a much lower cost.

To check it out, run to this URL - http://tv.adobe.com/watch/getting-to-know-livecycle-es2/livecycle-managed-services

Friday, February 05, 2010

My thoughts on HTML 5, Flash and Innovation

I have been aware of HTML 5 for several years now and many people have asked me if I see it as a threat. This question usually is posed in the context of the fact I work for Adobe and Apple has made statements such as "HTML 5 will replace Flash". I have thought about this hard and long from a number of different angles and felt it may finally be time to speak up. Yeah - it took a while and Steve Jobs (UPDATE - read disclaimer below) has told everyone how lazy we are. You see, I only do around 125 speaking engagements a year (an average of over 2 per week), travel around 300,000 kilometers as well as raise a family, play in a rock band, write books, white papers and technical articles, visit customers, produce episodes of Duane's World for Adobe TV and more. I am not sure what constitutes lazy but I can't do any more than I am now without sacrificing my family life so call me lazy or whatever. I don't really care.

UPDATE: It was brought to my attention from someone who was present that Steve Jobs words' were not exactly as reported (re: "Adobe is lazy"). In an effort to be accurate, I want to state I was not in the room nor have I heard Steve say these words. I am glad as most of us like Steve and think he has given the world some really great visions and technology. It actually deeply hurt my feelings when it was reported he personally attacked our character. Competition is good for the market and attacks of a personal nature have no place in our profession IMO.
END_OF_UPDATE

I have already divulged that I work for Adobe and I want to be pragmatic and transparent in this blog post. Some may take this as a slight against Apple. It is not. Adobe doesn't rant. I rant on my own time to make up for it but this is not one of those times.

In case you haven't heard, HTML 5 is a successor to HTML 4 and it will carry a set of new features such as native video capabilities, variables, and more. The theory some have put forward is that because HTML 5 will have video, this will hurt Flash. To begin, let's look at what Flash has done. If we had simply let standards bodies decide innovation, many of the top Web 2.0 patterns would not have developed. Microsoft introduced the XMLHTTPRequest objects, which led to the rise of AJAX. Adobe created Flash for rich visual user experiences and PDF for high fidelity documents while other technologies such as microformats and browser plugins to read them have extended the base set of web standards. Several vendors worked on Application Servers and specialized server pages written in PHP, JavaServer Pages, and more. Jeremy Allaire developed ColdFusion, still working so well today I was recently in an account that had CF version 1.1 running. This is the innovation that drives standards. None of this stuff came from standards and most of it used standards whenever possible. Eventually, some of the innovation gets commoditized into standards or browsers. That's life in the tech world. It happens!

If the video bits get commoditized, so be it. Then we have to place a great deal of trust in the browser vendors to consistently implement the behaviors and user interface controls so that there is a consistent web experience. It is with this thought that I start to see fractures in the arguments of HTML 5 replacing Flash. Individually, each browser vendor will build and test their own work and generally release good quality products. Open source engines like WebKit and Firefox do well (another example of commoditization - remember when people actually used to charge money for browsers??). Let's do some simple math to demonstrate the problem facing the web.

There are many browsers on the market (Internet Explorer 8, Chrome 2, Safari 4, Opera 10[13], Chrome 3, SeaMonkey 2, Camino 2, Firefox 3.5). Many of these run on multiple operating systems (Mac OS X, Windows, Linux, Unix) and have multiple concurrently used versions of each. The matrix is roughly 5 major browsers, times 3 major operating systems, times 3 different concurrent browser versions, times 3 different concurrent operating system versions--or around 125 major variations. Now factor in the diversity of screen resolutions, bandwidth speeds. and several other factors and ask yourself this question - "is it ( highly probable || somewhat probable || probable || not probable ) that all the browser vendors will implement HTML 5 in a consistent manner?" Since this has not been demonstrated with CSS and HTML 4 today, I would think that it is possible, but some details might be a bit rough. Anyone who has developed AJAX applications or rich content that uses CSS and has performed cross browser debugging knows this. I am not saying Flash is perfect, but the fact you have a single runtime environment is appealing to many people. To that end, I don't see Flash disappearing anytime soon. People who hate Flash may jump all over this statement but I hate peas and they are still being served in restaurants and stores despite my best efforts to rid the planet of those slimy, round green vegetables.

The next consideration is how well people implement the standards, the main choices being full, somewhat, or not very well. Take PDF as an example. The PDF format is an ISO standard meaning that it is in the hands of a fully accredited standards development organization. No one vendor controls it. Adobe Acrobat and Reader are the traditional reference implementations; however others are completely free to fully implement the specification. Apple has not in Preview. Microsoft has done a much better job with PDF IMO.

Apple itself has done some great stuff to innovate the web. iTunes is certainly a great example and I will publicly state I love OS X. I own an iPhone and recently bought my 7th Mac. I drank the Kool-Aid and may change when Ubuntu 10.1 comes out. (see - I am really being transparent, even at the cost of looking like a hypocrite).

Innovation will continue as things get commoditized. This will force further innovation on the cutting edge. This is just the nature of the beast. This is not to be feared; it doesn't mean Flash developers will suddenly drop Flash and only develop in HTML (if they did in a production environment they will probably be using Photoshop, Dreamweaver, Premiere Pro and After Effects anyways so I believe Adobe is well positioned in either case). Flex certainly is not going away any time soon. I don't see any Web Services wizards being introduced in browsers or the ability to perform advanced data throttling and paging operations running across multiple browser platforms. Flex is there today.

Having said all of this, my final thoughts are that I am really thrilled about HTML 5. Adobe will be there as will everyone else. Let's wait and see how it goes. I could be wrong. It wouldn't be the first time and forking the web would be a bad thing. HTML 5 represents a great opportunity for the entire world. It represents a sharing of information, the cornerstone to any democracy. It is in our best interests to get this right and work on it together.

Some of this may be flame bait so have at it. I've worked in standards for a number of years and base my thoughts off those experiences. If you want to flame me, go ahead. I live in Canada, it's cold and I this is just my own opinion anyways. I think there are probably around 6.4 billion more opinions on this subject out there somewhere.

Ciao!

Thursday, February 04, 2010

Apple's MobileMe not Trustworthy

That is a bold statement for me to make. After all, I am regularly talking about Cloud computing to a number of people and advocating its use. I have written several articles on Adobe's move into the clouds and have also clearly articulated that there are some subtle issues that need to be worked out. Nothing has prepared me for what MobileMe has done to my data.

It started last night as I was cleaning out my inbox and found a friend who had changed their address. I logged in to me.com to make the changes to my master records for my address book only to discover that Apple's cloud said I had no contacts. Now this frightened me a little (I still have local back ups) so I contacted them. Within 12 hours my contacts were back again. It was an older copy, however, so I had to fix multiple details. I relaxed a bit and slept.

Today, I got an even worse message. I have the same (you have no contacts) message (see below).


Since I was logged in on another machine, I tried to refresh that page only to now get a message that says "Your MobileMe contacts are temporarily unavailable".

FAIL!!!

Let me repeat that again:

FAIL!!!

Since MobileMe offers only chat support, I could not really tell them about this and how I felt. I asked the person twice directly "Has Apple had an event or has my data been corrupted?". The first time there was no response and when I asked the second time, the reply was "I am not aware...". So, what can we infer from this (other than Apple might have issues with their cloud)?

I think the first thing is that we really need a cloud users' "Bill of Rights". I want to be notified if my data becomes corrupt, lost, stolen, exposed, etc. It is MY data, not Apple's. If they have had an event, I believe I am entitled to know about it. The generic messages just tell me that MobileMe is not enterprise ready nor should it be trusted.

UPDATE:

An Apple rep got in touch with me and worked with me. There are sync issues with MobileMe and they are aware of them. To be fair and balanced, the Apple employee was timely, professional and courteous as well as understood my frustration. While I am skeptical of MobileMe being enterprise ready, I will be giving it another chance for a year.

Thank you Apple! Your customer service was good.

Tuesday, February 02, 2010

Duane's World Episode 23 - MovieSet.com and Flex Key Events

In this episode, I get to interview well known film producer Colleen Nystedt (who has worked with David Bowie, Matt Damon and hundreds of others in the industry) about a new platform for B-to-B-to-C movie collaboration. Code and tunes features a tutorial to work with keystrokes in Flex 4.

After watching this you will want to try out MovieSet.com to get special behind the scenes footage from great movies like Avatar, Trailer Park Boys and more.

Monday, February 01, 2010

New Chaos Theory algorithm for Lotteries?

I have always been a bit of a mathematics fan and I work on various algorithms. Some of the recent ones I have been working on in private are a combination of academia and new age philosophies. I decided to apply this in practice to the lottery so in January 2010, I used a filter to analyze and work on numbers that have a higher probability of being generated based on an evolution of Chaos Theory. The results are somewhat significant and shown below.

For those who are uninitiated, Chaos theory is focused around "order from chaos". I live my life in total chaos and find myself thinking about it a lot. Is Chaos really Chaos or is there something else? While many had pondered the theories of Chaos, Edward Lorenz, a meteorologist, is generally credited with the first experiments around 1960-1962. He used a computer to digest 12 distinct models for predicting weather. The experiment predicted what the weather would be, although not accurately.

I have believed that Chaos itself is just a pattern that we have an incomplete understanding of. For example, if you look at weather patterns, is it possible that we are missing some key criteria or have failed to understand a vector that affects the weather? Such forces may be difficult for humans to comprehend. The Butterfly effect and small variations in initiating conditions could explain much chaos. This leads me to my next thought.

What if there are certain types of brain waves that affect physical matter? I know this sound crazy but let's just explore this for a second. Such a possibility has been contemplated in conjunction with the chaos theory of lotteries before and dismissed. The idea goes like this. If enough people concentrate on a specific number, that number is more likely to be a result in a lottery. Of course, this theory would have to be balanced by assuming that the population that is thinking of equally random lottery numbers, yet this is not the case. There are numbers that are significant to various segments of the population in different cultures. Asians love the number 8, North Americans generally think 7 is lucky. Religious people associate God with the number 3.

Many lotteries that have a game whereby the numbers are selected from 1-49 inclusive have statistically significant patterns in drawn numbers based upon these theories. These are small enough to potentially make a difference yet likely not large enough to establish a winning hypothesis. Statistics can be found at http://www.lotto649stats.com/

I basically reviewed a number of lottery results and applied a filter towards shifting number significance based on cultural events. This was factored into a statistical draw model and factored in modification weighting based on current events in a confined geographical area. Think of it as an experiment to debunk the claims above. The results were interesting yet not a net positive outcome. Here is a snapshot of my lottery account in January 2010. I basically won a lottery prize every single draw using my algorithm based on buying 5 tickets boxing several combination of projected numbers. The odds of winning the grand prize once are one in ~14 million (not including the extra). The odds of winning a smaller prize based on 3 out of 6 numbers correctly drawn is about one in 12,000. To accomplish this every single consecutive time or to hit an extra number is not astronomical yet I would aver it is significant.


Having stated this, I do not expect this will yield any big results as the theory itself starts to destroy itself due to it's inherent flaw.

Either that or this is all just a crazy coincidence.

Saturday, January 16, 2010

22nd Century at the Yale Jan 21 - Raising money for Charity

SkoolAid Benefit
Thurs, Jan 21 at 8:30pm. $25 Adv/ $30 Door.

On Thursday January 21, three of Vancouver's most exciting bands will be rockin' out in order to raise money to build a school for the Afretech Aid Society and the Tujifunze Project.

Tujifunze, which is Swahili for learning, is an organization in Tanzania, Africa dedicated to providing basic education to the youngest and most vulnerable children in Mwanza, Tanzania. Event organizer Susan Bibbings travelled to Mwanza after assisting Tujifunze for three years from her home base in Canada. Bibbings discovered that the school which serviced more than 60 children was a 12 x 12 foot concrete room located next to a dilapidated butcher's shop. The school lacked supplies and provided students with inadequate books. "We're in the business of getting as many children as possible under the shelter of this giant book," explains Bibbings. "We hope to build the school roof in the shape of a giant book," she adds.

Hot Lucy (www.hotlucy.ca) is Vancouver's newest high-energy group. The band will be playing high octane traditional and modern blues with their signature "blues-done dirty" sound that's sure to set the dance floor on fire.

Montgomery / Dupray 'No Quarter' features Rob Montgomery on guitar and Alita Dupray on vocals. Dupray's stunning jazz vocals transforms into a powerhouse of rock and blues as the band covers the best of Led Zeppelin, Cream, The Rolling Stones and more.

Indie chart topping 22nd Century's (www.myspace.com/22ndcentury) hard punching and sometimes comical style is a mixture of Ramones power punk with a healthy dose of 1990's grunge. The group's debut CD produced by legendary music producer John Webster (Aerosmith, Cher and The Cult) garnered an honorable mention in Billboard's 2009 song writing contest.

Proceeds from this event will go to Afretech Aid Society for the Tujifunze Build a School Project. Yale VIP Passes not accepted.

www.afretech.org

Monday, January 11, 2010

Multi File Flex Projects

Lately I've received several emails from people asking about setting up projects using more than one file. Having come from an Eclipse background, I found it really intuitive but realized there are not many good tutorials on how this works specifically with Flex Builder or Flash Builder from Adobe. Here is a quick start on how to get your project up and running.

Start a new project and name it. A Flash Builder/Flex Builder project may contain several components, ActionScript files, classes, packages and other assets. The first step is to identify your project's entry point and then reference other files.

The Flex Project I had emailed has the following lines of code:


Line 1 is the XML processing declaration and line two contains the root component of the application. This particular application is a Windowed Application (Adobe AIR). The xmlns:mx="http://www.adobe.com/2006/mxml" line tells the compiler to use a specific Flex SDK, in this case the Flex 3.4 SDK. The namespace declaration below on line 3 (xmlns:components="components.*") declares that the project may use any or all of the components in the Package named "components". Note that at this point in your application, the Package has not yet been created so your project will throw an error (correct behavior).

Line 5 of the code is where the a specific component is referenced. Because this component is namespace qualified with the same namespace prefix given to the "components" Package, the component MUST exist within that package. The specific component named here is CountriesCombo. The declaration comp:CountriesCombo tells the compiler to create an instance of that component at runtime.

Creating a new Package is really easy. In Flash Builder 4, highlight the src folder and right click (PC) or Command-Click (OS X) the folder and a context menu will appear. Select "New -> Package" as shown and when the dialog pops up, give the Package the name "components". Remembers that these are case sensitive.


Now that you have a Package created, it is time to add your component. It is just as easy. Right-click (PC) or Command-Click (OS X) on the newly created package and select "New -> MXML Component" from the Menu as shown below.


In the dialog box that opens, name your component "CountriesCombo". Paste the following code into the component source view:


Your project should now be runnable and have the following structure:


Note that all red X's are gone.

If your project still does not work, try cleaning it "Project -> Clean" from the top menu. If you have added a component to your project that is not being recognized, you may have to manually refresh the package Explorer view. Do this by right clicking on the root folder of the project (or even just the src folder) and hit "refresh".

Wednesday, December 23, 2009

RIA Architectures: An Exclusive Interview with Adobe's Duane Nickull

DZone recently caught up with me to discuss RIA's Web 2.0 and SOA as well as other trends in enterprise architecture. In this interview, recorded at Adobe MAX 2009, we revisit the notion of 'Web 2.0' and discuss the architectural patterns behind it in the context of the O'Reilly book "Web 2.0 Architectures". We also discuss some of the new architectural and human interaction patterns that are shaping the way in which we build Web applications today as well as some of the new Flash authoring tools for the iPhone, the Open Screen Project, as well as the impact HTML 5 will have on Flash adoption.

The complete transcript of the interview has been provided here.



Saturday, December 12, 2009

12 Ideas for an Environmentally Efficient House

I got an email asking about solar and wind options for housing. Since I am planning to build an energy efficient house north of 49 degrees (in Canada) and have done a lot of thinking on this topic, I decided to share the following and now make it available as a blog post.

1. House design is essential. I plan to re-route all hot air evacuations (bathroom fan, kitchen fan, clothes dryer (if we get one) exhaust etc.) into either a thermal bus or to tie them directly to a year round greenhouse to use the thermal energy for growing food.

2. IMPORTANT: Always do the “Net” energy calculations. For example – having cheap, Chinese made solar powered, LED lights to power your walkway instead of investing in a proper system is a waste of time and an affront to the environment if you have to throw out something that broke in one year and took 25 times as much energy to make as it saved. For example, I bought these little solar powered lights at Home Depot, which lasted only about 250 days. When I took them apart, I discovered the culprit – a single AA rechargable battery was the only power source. These usually do not last more than 250 charging cycles and if you connect one to a daily charge routine, it will burn out in less than a year. Net result: I actually polluted more by buying cheap goods to save energy.

3. I also plan to use wood heating with a proper catalytic converter (avoids most carbon pollution) to warm the house on winter days as we have ample wood for cooking etc. The house we are choosing has a small horizontal footprint and is 2.5 stories high, which allows thermal energy to be more efficient.

4. I'm putting the shower and kitchen on the top floor then using a diverter valve to reroute the entire waste water into the flooring for either keeping the house cool in summer or heating in the winter.

5. After the electrical inspectors give the final OK, I am moving to 12 or 24 VDC power for all lighting in the house and possibly some USB outlets. All lighting will be 12/24 VDC LED indirect. This saves tons of energy over trying to convert a 12/24VDC battery array into 110 AC (or in your case 220 VAC, which would be less efficient). Most solar and wind systems use 12 or 24 VDC as the charging output. Energy can neither be created nor destroyed and it is a lossy process to convert energy. The biggest culprit is usually thermal energy as an unwanted byproduct (think of hot transformers). If you must convert, try to capture the byproduct (place the converters in a place that needs heating).

5. My wife and I are investigating thermal heating systems. These seem to make a lot of sense as they can be used in both the summer and winter. In North America, there is an relevant organization that has members; there might be a similar system in the UK - http://www.geoexchange.org/

6. In order to use wind energy in a micro manner, there are lots of manufacturers and the kits are not that hard to figure out. The first thing you have to do is check out the MET office to find out if it will work in your location. Wind speed must be at a minimum of 5 metres per second to work. The Canadian map showed us that in our case, we have sufficient wind. http://www.windatlas.ca/en/nav.php?field=E1&height=50&season=ANU&no=45.

7. Solar kits are also not that complicated. Study up on it and note the major components – collectors/charge controllers, battery array/inverters or converters then do the calculations. You have to figure out what you want to use the property for before you can plan a system. In our case, assuming we only go there on the weekends, we can go with less collections and a bigger battery array as the battery array will recharge during weekdays. If we lived there full time, we would have to use more collectors. Most manufacturers of repute (Siemens, etc/) will have all the calculations available. There are some good resources online for this too. Here is one: http://midsummerenergy.co.uk/solar_panel_information/solar_panel_calculator.html#nogo

8. Look into evacuated solar tubes. These work in very low temperatures (as low as –40 degrees Celsius) and can deliver off grid water at 65 degrees Celsius. They work by having no gas (a vacuum) in between the outer tube and the inner collector. This collects energy radiated from the sun without the atmosphere moving the heat away and harvests it via the manifold. http://www.solarthermal.com/products.asp These can take care of big things like hot water tanks.

9. If you use your property for weekends only like me, you might want to consider a Linux micro kernel running a small routine that can be used to “wake up” the house. For example, if you have a grid tied-hot water system, you could invoke a cron job that turns your hot water heater on and off remotely so you’re not paying for energy you don’t need. Another option is to move to a EU style JIT hot water heater (tank-less system).

10. For certification, The SRCC (Solar Rating and Certification Corporation) is the key solar collector certifying body for the US and Canada. Make sure everything you use has passed the minimum criteria for this.

11. My thoughts on this are that when I buy my supplies, I want to do it with a company that has been around, been certified and is backed by a manufacturer with a warranty and good history, and someone who has a physical office I can identify and walk into. Too many snake oil vendors on the web.

Thursday, December 10, 2009

50 Free Citrify Licenses!

Remember - you heard this here first! My buddy Zee sent me an email and offered 50 free licenses (a $39.95 value), to the first 50 people who go to this URL:

Visit http://www.citrify.com/promo/

Citrify is photo editing software built using Adobe AIR. It runs on Linux, Mac and Windows. Very cool use of AIR!

Submit the form with this promo code in the message body: duane1209

Here are some screenshots of our key features: http://www.citrify.com/features/

Here is more information about our team: http://www.citrify.com/about/

Thursday, November 26, 2009

Flex Builder Linux Alpha 5 release

The Flex Builder for Linux alpha bits posted on Adobe Labs have been updated to extend the hardcoded timeout period. The current FB Linux Alpha 4 product will expire on Dec. 1st, 2009, so if you are currently using Flex Builder for Linux be sure to download the updated Alpha 5 bits from Adobe Labs http://labs.adobe.com/technologies/flex/flexbuilder_linux/ prior to Dec. 1st. There are no changes to the functionality of the product in these new bits; however they have been tested on later versions of Linux distros. Please see the release notes http://labs.adobe.com/technologies/flex/flexbuilder_linux/releasenotes.html posted on Adobe Labs for complete details.

Tuesday, November 10, 2009

How to deploy Axis2.war to JBoss 5

In order to use LiveCycle Data Services 3, I decided to upgrade to JBoss 5. When I attempted to add in the axis2.war file to the {JBoss_Home}/server/default/deploy directory, I got a whack of errors when I started up the server. The main complaint was that the server barfed up the “Failed to create a new SAX parser” and several subsequent errors. The issue is that there are older versions of certain jars within the axis2.war file that won’t work and cause a java.lang.ClassCastException. In particular, the org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

So how do you solve it? It is not too hard but a bit tricky. First, open up the axis2.war file. On Mac OS X, you can do this by using StuffIt.app. Just navigate in finder to the directory containing axis2.war, control-click, select “Open with…”, and then choose ~/Applications/StuffIt.app. This will expand the WAR file in the same directory.

Within the directory, there are two files you have to get rid of. I first tried to delete xml-apis-1.3.04.jar and xercesImpl-2.8.1.jar thinking that should work. This is shown below.



It actually did but lead to another problem (later). To get all the files back into a war, you have to do two things. The first is to use the command "jar -cvf ". Since I wanted to rename the output to axis2.war, I navigated to the directory holding the META-INF, WEB-INF, etc. files and rant the command "jar -cvf axis2.war *". This made the war file, which is essentially a *.jar file.



After this, on a Unix-based system, you have to change the permissions to ensure the file is usable by the app server. Use the chmod 775 command for that as shown below.


Figuring I had this problem licked, I started up the appserver. It started fine, however when I went to navigate to the http://localhost:8080/axis2/ URL, I got another error. This time is was a mismatch in impedance between the JSP servlet jars. The error comes out as "The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory". The problem is that the build of axis2 I downloaded had an older version that did not have the same method. Once again, to rectify this, open up the axis2.war file and remove another file called "servlet-api-2.3.jar". Repackage the war file and chmod it so that it is executable by the app server.


JBoss 5 should start up perfectly and you should now see the happy axis page when you navigate to http://localhost:8080/axis2/ as shown below. Problem Solved!!


Sunday, November 08, 2009

Flash Builder 4 Tutorial - AMF

This tutorial is from Adobe Developer Connection and it shows how to use Flash Builder 4 beta 2 with BlazeDS AMF endpoints. The concepts are simple and if you download and start up the Vancouver build of BlazeDS (here), you can run this. You will have to ensure you have Java installed and configured properly as described in this tutorial. Have fun! This project has to be built from scratch as the source code will have paths specific to my system.

Wednesday, November 04, 2009

Video Tutorial - Flash Builder 4 Graphics

This video shows how to use the MXML syntax and the graphics package in Flash Builder 4 to create a rectangle using the new Spark graphic packages. This is part of the new fx package for declarative graphics. You can use Rect or Ellipse to make most shapes. A circle is a specialized type of ellipse with a constant radius, a line is a Rect with a very small value for one of the thicknesses, and a square is a Rect with 4 equal sides. As with all of these tutorials, if you want the source, email me: dnickull at adobe dot com.

Tuesday, November 03, 2009

Best Duane's World Episode ever

Thanks to the great acting of Marc Thiele, Serge Jespers and Tom Krcha, this turned out to be a great episode. The code and tunes bits involve Marc's German Metal band Spoiler (well worth checking out) as well as Flex 4 Data Paging using PHP on the back end.

Monday, November 02, 2009

Fastest Broadband Service in the UK?

Ahh – life as an evangelist. Conferences, fun, parties, music, snowboarding, code camps, cutting edge software *bla-bla-bla* not enough words for the fun I have in my life. Lately, I’ve been working in the UK quite a bit and want to get all the comforts of home. I’ll be there again Nov 7-11, right after my stint at SAP in Walldorf. As an Adobe Evangelist, working remotely is hard. I often forget to bring files with me or download software from a high bandwidth site. Last Thursday while waiting at the airport, it really sunk in. You can’t just depend on most Internet companies to provide a good quality of service. Fifteen minutes to upload a simple blog post really sucks. When you forget the latest build of LiveCycle ES and try it over a normal wireless while VPN’d, forget it! At over 2GB, it just doesn’t work.

When I travel for Adobe, I expect some minimal comforts. Good hotel, good food, good car (if applicable) and more. Good Internet is the least I expect so I set out on a quest to find the best broadband in the UK. Finding a good high bandwidth hotspot is hard though. Nevertheless, my googling fetched an availability checker. All you do is hit in your postal/zip code and get an immediate response with the best deals and offers for broadband service for individual ISPs. The availability checker coughed up a list of multiple, fast broadband connections, prices, terms etc. I checked out a broadband comparison between ISPs, read a couple of reviews. Finally found one that suits my needs (namely does not compromise on the speed).

If you live in the UK or are passing through for a couple of days, you may want to try the broadband availability checker.

Monday, October 26, 2009

Nokia Sponsors "Web Professional Minute" with me



Here is a very short interview I did with Bill Cullifer (always a treat to work with him!) during the recent Adobe MAX event in Los Angeles, CA. The entire interview can be heard or downloaded here. Thank you once again Bill!

Saturday, October 24, 2009

A tribute to my Great Uncle - one of the smartest people ever!

This is reprinted from the memorandum article from UCLA. Kenneth MacKenzie was my great Uncle and one of the world's greatest scientists. He came from very humble beginnings and taught himself a lot of what he knew. I plan to write a punk rock song about him as he was far more punk that Blink 182 ever will be.

Kenneth Ross MacKenzie
Professor of Physics and Astronomy, Emeritus
Los Angeles
1912–2002

Kenneth Ross MacKenzie, who made contributions to nuclear physics, particle accelerators and plasma physics, died July 3, 2002 at age 90, following complications resulting from a series of small strokes, at his home in Los Angeles, California.

Ken was born in Portland, Oregon. The family moved to Victoria, British Columbia when he was 10 years old. He received bachelor’s and master’s degrees from the University of British Columbia, and began further graduate study at the University of California, Berkeley, in 1937.

The longstanding vacancy in the periodic table at element 85 ended in 1940. Carson, MacKenzie and Segre, in the Physical Review, reported "Artificially Radioactive Element 85". They bombarded Bismuth-209 with alpha particles to produce what was suspected to be element 85-211. Physical, chemical and even physiological evidence confirmed the assignment. After a reminder to do so, in a 1947 Nature article, they named the element "Astatine", which means unstable in Greek. All 31 of the isotopes of Astatine are unstable.

When Ken began working in the Radiation Laboratory, the 60-inch cyclotron was nearing completion. He became involved with the radiofrequency (RF) system which produces the D-voltage. With this beginning he became an authority on RF systems. He made a major contribution to the design of the system for the 184-inch cyclotron which was completed in 1947. It was the first machine capable of producing mesons. He also made significant contributions to the system for TRIUMF, the meson factory which was completed in 1974. RF systems can be temperamental. Ken had an uncanny knack in getting them to perform properly.

Ken contributed to the development of cyclotrons from day one. He was in Berkeley when the first tests of large-current Uranium mass spectrometry were made in late 1941. He participated in the full scale tests which were made in the recently completed 184-inch magnet, beginning in mid-1942. An accelerating voltage had to be held constant with great precision. The system developed, involving RF signals, is described in a chapter which he contributed to a book in the National Nuclear Energy Series, Manhattan Project. Ken also went to Oak Ridge where he participated in the process of getting the production plant into operation.

In 1964 Ken wrote a paper titled "Space Charge Effects and Cyclotron Beam Enhancement." Cyclotrons had been in operation some thirty years and this effect had been overlooked. Near the center of a cyclotron there can be appreciable loss of particles which are near the surface of the circulating current due to repulsion by those particles within the body of the beam. Once the effect was recognized, steps could be taken to reduce it. As a result, several large synchrocyclotron laboratories were able to increase their research output.

McMillan and Veksler, during World War II, predicted means of increasing the upper energy limit of cyclotrons. The first test of the proposal was made in Berkeley in 1946. The 37-inch magnet was modified for the test. Ken participated, not surprisingly, in the design of the RF system, which now involved frequency modulation. The prediction was confirmed.


After World War II, UCLA was interested in establishing a program in nuclear physics. It was decided to move the 37-inch frequency-modulated cyclotron to UCLA to begin the new program. After a year at the University of British Columbia, Ken joined the UCLA faculty in 1947. Over the next 10 years he and his students performed positron-electron scattering experiments, stopping power measurements, precision range-energy relationships and a final increase of the "37-inch" energy to 20 Mev protons.

In about 1960, Ken initiated the UCLA Department of Physics program in experimental plasma physics. Over the next 15 years, with various colleagues, he published some 20 papers in this field, many involving various aspects of large quiescent plasmas. Early on, Ken and his students lined the walls of a vacuum chamber with permanent magnets of alternating polarity to suppress plasma electron losses. "MacKenzie buckets" are now universally used as plasma sources. He initiated an introductory undergraduate course in plasma physics and an accompanying laboratory (which used a restaurant size cooking pot as an ion bucket). He invented simple physical pictures for a number of plasma wave phenomena usually described in complex mathematical terms.

Ken can be given much credit for the impressive status of experimental plasma physics at UCLA today. Studies of plasmas in the ionosphere (Alfred Wong); the physically largest Electric Tokomak (directed by one of Ken's students, Robert Taylor); and physically large plasmas for wave studies (Reiner Stenzel and Walter Gekelman) are examples of important work in progress.

For a period of about two years Ken was the president of a small company, Meva Corp, which was formed to build cyclotrons. After producing one for an undergraduate laboratory at Pomona College, the company was sold to Hughes Aircraft.

After retirement, Ken continued a long standing interest in Special and General Relativity. Some results are described in an unpublished monograph titled Einstein's General Relativity in Three Dimensions. He also wrestled with the dark matter enigma.

Ken made very significant contributions to the Department. In a broad sense, being one of eight new faculty appointments following World War II, he participated actively and fully in every aspect of the Department's development. Over the years he saw to it that the electricity and magnetism laboratories were kept up to date. He introduced the plasma physics curriculum. He took the course in “Physics for Non-Science Majors” seriously, devoting a great effort to make special relativity understandable. In the mid-70s he served as chairman.

What kind of a physicist was he? He could of course use mathematics to formulate and solve problems. Beyond that, he could see through the most complex situations to their conceptualization and solution. As a person, he was gentle, kind, understanding, pleasant and modest to a fault. He rarely, if ever, raised his voice. He had a considerable range of interests outside of physics, both physical and intellectual. Verna, his second wife whom he married in 1981, gave him great care during his decline. Other survivors are his children, Robert, Maryann and Wallace. They miss him dearly as do all who knew him well.

Thursday, October 22, 2009

New Video - Blitzkrieg live by 22nd Century



Thank you to Jason Alby for sending this one in!

San Jose Parking ticket scam?

I get the feeling that there are some crooked public servants policing the streets of San Jose, CA issuing parking tickets. Now don't get me all wrong before you judge. I have received parking tickets in the past. Plenty of them. I paid every single one of them because I deserved them. I have only fought 2 tickets that I can remember and both successfully (one was in error, another relied on a public servant judging my car too short for a "tall vehicle only" stall). I'm not the guy to cry over a simple ticket, except in this case.

What happened in San Jose, CA in July 2009 is an illustration of how flawed parts of the US justice system are. After a recent business trip, I was surprised to get a letter from Hertz in the mail claiming that I had received a parking ticket. My surprise came as the car had been driven from San Francisco to San Jose directly to the Fairmont valet stand and parked until the day I left. The day I left, I picked up the car and drove to return the car (after refueling) to the airport. The car was NEVER parked for even a second on any city street while in my possession. The valets also attest that it was parked underground the entire time.

My first impulse was to suspect that the valets had taken the car out but when I examined the time, it turns out that was not possible. Rather than repeating the facts, here is the letter I wrote to the City of San Jose:

"Re: Citation Number 90018947

Dear Sir/Madam:

I am writing to dispute a parking citation apparently issued to a car I had rented. This alleged violation was stated to have occurred on July 23, 2009 on or around 9:49 AM at or nearby South 125 Market Street. The vehicle in question was rented to me by Hertz and was in both my possession as well as the possession of the Fairmont Hotel Valet staff. It was never parked where the incident allegedly took place and I am writing to ask you to formally review this ticket and to formally dispute this matter.

I first saw the violation notice upon my return from a trip to Germany the week of September 14, 2009. I have enclosed a photocopy of my return flight boarding pass as per our conversation.

On the morning the alleged violation took place, here are the chronological sequence of events:

9:25 (Approximately) – I called the valet service to request the car be ready for me. They informed me it would be available in the underground parking lot of the hotel (NOT on the street level).

9:36 AM – I check out of the hotel via the front desk. I have attached a copy of the email verifying this from the hotel manager. I immediately walked out the south door to grab breakfast.

9:38 AM – I paid for my breakfast after ordering a toasted bagel. The clerk put the bagel into the toaster. I have attached the receipt for your perusal. The original is on file with Adobe systems as part of my expense reports.

9:44 (Approximately) I received my order and started to eat it.

9:47 (Approximately) I finished breakfast and walked to the valet station and took possession of the rental vehicle. You can verify this by requesting the video footage from the Fairmont Hotel.

After taking possession of my car, I drove directly out of the hotel parking lot, stopped at the red light to turn towards the Park Avenue, then proceeded to the 101 freeway via Guadalupe. I drove directly to Burlingame where my next stop was recorded before returning the vehicle to Hertz at San Francisco Airport. At no time did I stop or park this car. At no time did anyone put a parking ticket on the car. I was in the car the entire time. You can verify this by requesting video footage form the front facing cameras from the Fairmont hotel.

9:49 is the time of the alleged parking violation. The car was never parked.

10:27 (Approximately) I had stopped at the Burlingame gas station (34.7 miles from the hotel) to refill my rental car before returning it. I arrived, walked inside, provided $40 cash to the attendant, went back outside, fueled the vehicle, then returned inside to pay. To cover the distance between the Fairmont Hotel and the Gas station, the calculations reveal a person averaging 45-50 MPH would take approximately 45 minutes to cover the distance. At 60 MPH, a person would cover 45 miles in the same time. Keep in mind the time – post rush hour on a weekday on the 101 and the fact there were traffic lights at each end. 45 minutes is probably a BEST CASE scenario. It is highly unlikely anyone could make the trip faster, which is what would have been required should parking a car be included.

10:33 I paid for the gas AFTER refueling. The receipt (enclosed) shows a time stamp of 10:33 AM July 23. It took approximately 5 minutes to refill and the fact this was in post morning rush hour traffic.

~10:50 The car was then returned to Hertz at SFO.
I never stopped anywhere during this trip as I was focused on making my flight to return home to my family.

I also took the time to contact the hotel to see if perhaps one of their staff temporarily parked the car outside on the street. They reviewed their security tapes and have verified the car was only in the hotel basement. In any event, they store the cars underground in the valet parking area so it would not have been on the street.

You can see why a prudent individual might question the validity of this ticket. I wish to ask you to please investigate this matter further and let me know what you can find out.

I also hereby swear and will swear under oath that I did not park the car anywhere on my trip to the airport, other than to stop at red lights. I certainly would not have picked up the car only to park it somewhere on the same block I had just walked past. It does not make any sense.

Sincerely



Duane Nickull"

Please note that copies of all of the receipts with the time stamps were sent back to verify the times. The result? I got a letter saying "We are unable to verify your claims the alleged infraction never occurred". Idiots!! First off, according to most law books, is the onus not on the accuser to prove the allegation? How can someone logically defend themselves from something they did not do? If I was not there, what possible evidence can exist to allow me to clear my name (other than receipts at the same time showing that I was in different areas, which I had sent)? It only shows that the city of San Jose parking enforcement division is staffed with simians who fail to comprehend basic logic. I really hope someone grasps this concept and can turn things around. How can the people of San Jose let their public servants drop to such a low standard???

If I had to try again to defend this, I guess I could start with the basic items that come to mind. First, there was NO PARKING TICKET placed on the car. Yes - this is true and was admitted to me by the city of San Jose. Apparently the person issuing the ticket was not able to place the ticket on the car. Hmmm - could this be a strong indicator that the car was never parked and was in fact in motion??

Second, perhaps we should examine this from a "what if" point of view. If I had forgotten something at the hotel and wanted to go back, what option would I take?

1. leave my car on parked on the street outside the hotel where it risks getting a ticket; or....

2. Give it back to the valets, who would look after it and not charge me anything for such a service as I had just paid them? I am a President's Club member at the Fairmont too.

My bets would be on number 2. Since the car was never parked, this is all moot anyways.

Third, would it be conceivable that some public servant in San Jose is issuing bogus tickets to rental cars as they drive out of the hotel driveway so they can fulfill their daily quota then simply lay around in the sun the rest of the day and not work, thus wasting taxpayers' money? Would that be a likely scenario?

I leave it for you to judge. In the mean time, I have a bitter taste in my mouth after realizing the effort and expense to fight this is not worth it and I have to pay.

It's the perfect system:

- Guilty until you can prove conclusively you are innocent (logically impossible).
- The cost of exposing the truth is far too expensive compared to the cost of admitting to do something you never did. (inconvenient at least).
- The truth will never be exposed since no one is likely to look into it.

Land of the free? I hope someone from the city of San Jose reads this and decides to investigate the person who issued the ticket.

I was not even allowed to discuss it with them. I have no rights in the United States of America. After all - I am a Canadian.

Wednesday, October 21, 2009

RIA Radio, Live at Adobe MAX - Duane Nickull - InsideRIA



Here is an interview I did with the InsideRIA guys (Garth, Zach, Leif et al). This is probably the best and funnest interview I have done lately. I hope you enjoy it. RIA Radio, Live at Adobe MAX - Duane Nickull - InsideRIA

Monday, October 12, 2009

New Video: 22nd Century performing in Los Angeles, CA

This video was shot Oct 6, 2009 when 22nd Century played at Adobe MAX 2009 in the LA Live Plaza. This was a great night for us to be privileged to perform at such a great venue in front of thousands of people. The song in the video is called U Generation, an assault on the lost generation between baby boomers and Gen X. The sound is totally raw (recorded on a video camera with one mic) but it turned out not too bad.

The first CD is starting to pick up in sales @ http://www.cdbaby.com/cd/22ndcentury. Only buy it if you really want to support the band. You can also download the 22nd Century MP3s from our MySpace (free). The CD offers far better quality in AIFF format.

Either way is cool with us. We don't do music for money but totally appreciate people who support the band via buying CDs.


22nd Century - U Generation (live) v2

22nd Century|MySpace Music Videos

Thursday, October 08, 2009

Video Tutorial - 3D effects in Flex/AIR in 5 minutes

This is a very focused video tutorial to help developers understand the basics of X, Y, and Z axis rotations of graphical components while programming in Flash Builder 4 (Flex 4 framework) and using AIR.

Tuesday, October 06, 2009

Adobe MAX Sleeper News? RIM!

While many people were focused on the iPhone announcement yesterday, a bigger story was emerging. Both Google and RIM not only joined the Open Screen Project, but RIM and Adobe announced they will bring support for Adobe's Flash Player to the Blackberry platform. This is a huge story for business users as RIM is still the SmartPhone of choice for many business users.

Via the OSP, 19 out of the top 20 mobile handset manufacturers are now collaborating with Adobe to integrate Flash technology into their devices. MAX's mobile story gets even better when you consider Adobe and Nokia are jointly announcing the funding of more than 35 multi-screen applications as part of the Open Screen Project Fund.

Now to go and teach the 4 hour AIR/Flex Boot Camp!

Monday, October 05, 2009

Flash - iPhone announcement.

So today at Adobe MAX a huge announcement came out. We now have special tooling that allows you to use the Flash Platform to build applications for the iPhone. Flash developers will be empowered to use their existing skills to construct applications for iPhone that can be distributed through Apple’s App Store. No promises but the betas of this (CS5) should be available by the end of this year.

This caps a long running stealth like program code named "notus" within Adobe. While we just announced this today, there are several apps available today via the App Store. There are details published at adobe.com/go/iphone.

Does this mean iPhone supports Flash? No. Apple has not yet announced support for Flash on the iPhone. So what does this really mean? It means there are hundreds of thousands developers who can use their existing skills to build iPhone apps via CS5. From a consumer/user perspective, these applications appear and work just like any other iPhone application. Users cannot easily determine which applications were built with CS5, native objective C code, or even using something advanced like Nitobi's PhoneGap.

Will we use this exclusively? No. Many developers use whatever makes them productive. Another major announcement today was the addition of an iPhone mobile client for Adobe LiveCycle ES. This was built using objective C. Developers who have ActionScript skills though will be able to build applications using a language and IDE they are familiar with and not be forced to learn another application programming language. This is huge IMO and will help both the Apple and Adobe developer ecosystems.

Adobe has not yet made any breakthrough WRT to getting Apple to put the Flash player natively on the iPhone. I don't work with the people who are having the talks but I get the feeling (mine - not necessarily the truth) that Apple and Adobe haven't made much progress on this front. I do know there are tons of people who want this so I am not sure what is going to happen. I have heard that much of the issue is licensing. By the same token, PhoneGap also ran into issues with licensing. I hope Apple listens to their developers.

I am going to build an application later this month to try it out. In the meantime, if you go out and build one, please leave a shout here to tell others.

Sunday, October 04, 2009

List of Adobe Evangelist Twitter handles

Adobe Evangelists (this list is not complete so please add yourself via comments and I will check back and update). List is filed in alphabetical order by handle (except Ted who likes to use non-alpha numeric characters).

@ashorten - Andrew Shorten
@Beatlejase - Jason Levine
@BenForta - Ben Forta
@duanechaos - Duane Nickull
@ddura - Daniel Dura
@garazi - Greg Rewis (Web Standards)
@gregorywilson Greg Wilson
@jlward4th - James Ward
@karlsoule - Karl Soule' (Video)
@LeeBrimelow - Lee Brimelow
@mcorlan - Mihai Corlan
@markadoherty - Mobile and Devices
@Mesh - Mike Chambers
@parkerkrhoyt - Kevin Hoyt
@pburnett - Paul Burnett
@rufusd - Rufus Deuchler
@RyanStewart - Ryan Stewart
@SJespers - Flash Platform
@_ted_ - Ted Patrick
@tomkrcha - Tom Krcha
@tpryan - Terry Ryan
@adrocknaphobia - ColdFusion

LiveCycle ES Pre-Conference Session at Adobe MAX

Every MAX is come with a belief that I will achieve at least 5 hours of sleep per night. Inevitably, the one last drink turns into two then suddenly it is 2:00 AM and sleep is limited to less than 4 hours. Normally I just roll with the punches but today I really wished I had been up an hour earlier to do the entire LiveCycle ES training. I missed the first hour. This class is nothing short of excellent!



The room is SRO with 80 strong in attendance. This session has more attendees than Russell Brown's Photoshop session! This goes to show that Adobe's enterprise story is stronger than ever and starting to really pick up in the mainstream.

Oh - if you're not coming to MAX, you can still get the materials from the course. Stay tuned here for more updates. Gotta get back to Workbench now.

Ciao!