Friday, April 30, 2010

WebCam Photo of the Day: #1


2010-04-30-205348

Just having a little fun with the Cheese Photo Booth application on
Ubuntu!

Steve Jobs hates Flash -- A prediction of 2015


This is why there's a stench of panic hanging over silicon valley. this is why Apple have turned into paranoid security Nazis, why HP have just ditched Microsoft from a forthcoming major platform and splurged a billion-plus on buying up a near-failure; it's why everyone is terrified of Google:



The PC revolution is almost coming to an end, and everyone's trying to work out a strategy for surviving the aftermath.




Everything is cloud this and cloud that. The PC is dying and Apple is building their walled garden to fend out the PC zombies. Definitely worth to read the entire post by Charlie Stross -- it's a prediction of the personal computing / Internet in 2015.

Wednesday, April 28, 2010

Your Entitlement: Your Own Opinion; Not Your Own Facts


Everyone is entitled to his own opinions, but not entitled his own facts.


- Daniel Patrick Moynihan (1927-2003)



I absolutely love this quote.  Thought I would post for future reference.

Definitely a Full "Mike" Coffee Day -- Photo


2010-04-28-162123


Allyson and I have a little joke in our house. We have Tinkerbell and Mike coffee mugs from Disney. You can tell if it's going to be a long day depending on if it's a "Full Tink/Mike", "Half Tink/Mike" or "Quarter Tink/Mike". Today is a "Full Mike" coffee day.

Tuesday, April 27, 2010

cf.Objective() 2010 Redux - The Good, What I'd Change and the Ugly

It's the week after the conference and I'm sure everybody that attended is currently digging themselves out of the pile of work that accrued during the conference.  I decided to blog about the conference now before I forget things.

Before I continue, I want to thank all of the fellow Content Advisory Board (CAB) members that helped decide the topic for the tracks this year.  Without all the help and diligence, I doubt the conference content would have been so good this year.

The Good

The conference was great this year and here are some of the random things I really thought made the conference different than in past years.
  • The Birds of a Feather (BoFs) were organized and put into the printed schedule this year.  This needs to be done at least a month in advance otherwise the BoFs are not well attended.  The BoFs are some of my most favorite moments of the conference.
  • Just about all of the presentations this year seemed pretty polished and informative.  Maybe it was because we had a turn over in content completely or that a different speaker spoke on a needed topic than in past years.
  • This year the conference used green / red cards in a punchbowl to rate the presentation.  If you had comments, you could write it on the cards.  One suggestion is to add a "white" card to indicate "indifferent".  I understand the needs of having an imbalanced rating system (either good or bad), but most people will rate higher than needed if pushed into a corner.  I suspect that very few red cards were put into the punch bowl.  This system made it easy for attendees to provide at least a minimum amount of feedback.
  • I dare say I am biased, but the location of the conference is great (being that I live in the city of Minneapolis myself).
  • The schedule this year was great in the terms of timing.  This year the conference allowed 15 minutes between presentation slots and the presentation slots were 60 minutes.  This allowed for ample time for the presentation and QA.
  • The Duct Tape and Astronaut skit / presentation was great.  I hope to see the written technical comedy of Matt Woodward again next year.

What I'd Change / Add

There are a few things I'd change for cf.Objective() 2011.  I am not being negative here; merely critical as that is only way for cf.Objective() 2011 to be even better than this year!
  • I would reduce the total number of members of the CAB for 2011.  This year we had three "co-chairs" per track and the phrase "three's company" comes to mind.  Yes, the topic select was done in mostly democratic voting manner, however there still needs to be somewhat of a benevolent "dictator" for each track.  I'd suggest two CAB co-chairs per track.
  • Now this might come as a surprise to some because I'm the lead developer for Mach-II, but I would eliminate all framework talks from cf.Objective() 2011 especially for the major frameworks.  In retrospect, I would have not had talks for Mach-II, Model-Glue, ColdSpring and ColdBox.  The smaller / younger projects I could see a talk being presented such as FW1 and CFWheels.  At some point, the frameworks really self-evangelize themselves and the framework talks in general have lower attendance.  Plus, you see the major frameworks if other talks that are not directly related the framework nowadays.  This would free up a lot of space in the Process and Methodology track for other really neat things.
  • The RIA: Flex / AJAX / AIR track was the least popular track in the terms of attendance based on my causal observations.  This year it really made me wonder if RIA deserves a track in 2011.  This is because if you are a Flex / AIR developer you go to Flex360 or other AJAX oriented conference.  I feel that the RIA track is really not attracting RIA people to cf.Objective() and just waters down the real focus of the conference -- CFML!
  • I'm starting to worry about the increasing cost to the conference.  I hope the cost can be reduced for next year as $799 early bird is a bit pricey over previous years.  I'd like to see the early bird back down to under $599 for a three day event.  However, I'm not the money man for the conference.  This is merely a suggestion.
  • The Pecha Kucha BoF was very well received from what I hear (I was in the mobile BoF that night).  I would definitely bring that back, but during the day -- preferably each track getting their own.  Also, I hope to offer a presentation that is similar to Pecha Kucha -- "Choose Your Own Adventure" style presentation in which multiple short presentations are strung together in a choose your own adventure format.
  • I would setup a "private" StatusNet (identi.ca / twitter) network for the conference.  It would be great fun to have "private" channel just for the conference.  Plus, StatusNet (open source) supports file uploads and photo sharing.

Personal Observations

  • I did four presentations this year: Speedy Websites, Open Source Debugging Tools, Mach-II and OpenBD on Google Application Engine.  To be entirely blunt, I over extended myself this year.  Yes, the Mach-II presentation was a snap to plan (thanks Kurt) and Matt basically put the whole GAE presentation together.  It was a lot of stress for me this year especially after my wife and I decided to buy a house and move between time I agreed to four presentations and the actual conference.  Next year I'm limiting myself to a maximum of two presentations (if they even selected).
  • I am local to conference and therefore I commuted to the conference hotel.  My parking was paid for, however non-local speakers get hotel room.  Honestly, it would be a lot less stress for the local presenters to have been giving a hotel room (I would have happily roomed with Kurt to save money).  I just don't understand why locals get way less in the terms of "compensation" than non-locals.
  • This is sort of a pet peeve of mine so please excuse me for getting on my soap box for a moment.  The CFO steering committee (all names read), the CFO CAB (just a mention of the committee as a whole) and CFO Sponsors (all names read) were all thanked.  However, the speakers were not thanked (either by name or as a whole) for a second year in a row.  In all honesty it is probably just an oversight, but without the speakers the conference cannot happen.  I hope next year the conference decides to thank speakers directly during the "closing ceremonies."  At the first CFO in 2006, we all got $100 gift cards to the Mall of America (actually place that accepted Visa).

The Ugly

  • Actually, there was nothing ugly.  Just thought it would be a nice joke to put up that category.
That's my cf.Objective() 2010 redux.  I hope to be there in 2011 -- it was a blast!

Monday, April 19, 2010

Are Software Development Practices Killing Our Creativity?

Let us consider this statement:


All children play.

Without question, I believe that most people would consider the practice of "play" to be a significant and important part of the development of a child.  Play inspires imagination and creativity which brings development of concepts, ideals and beliefs.  Another important aspect of this is the lesson of playing with others and learning the value of sharing.  Let us not forget that it's just good old fun.

Before we continue, let's decide a concrete meaning of "play" in the way I see it.  Yes, we all play games as adults whether it's the dating game or the latest and greatest console game.  However, I would be better to agree that those kind of activities are more inline with process of finding love and enjoying entertainment mediums.  It is not the kind of "play" that inspires creativity, new thoughts and imagination.  For the sake of this blog post, let's define "play" as follows:


Play (noun): A process that inspires imagination and creativity while teaching the value of sharing and collaboration with others.


As we get older the practice of play, as defined above, typically ends as we enter into adolescence and adulthood.  Maybe it morphs into other things, but the concept of a 20-something still playing with G.I. Joe's (sorry fans and collectors) or playing house (in a house of our very own) becomes something that most adults would not want the world to know about them.  Where do we find inspiration for our imagination and creativity as a programmer?

Let us dive into software development. In a consumer based internet, everything is about data sharing, mashing that data into new data streams and sharing that knowledge with others. But developing software there are legal matters that stop us from sharing knowledge. We've all been subject to NDAs (non-disclosure agreements) for a variety of reasons from trade secrets or patented processes.  I'm not advocating that NDAs are not necessary however, it does provide an additional barrier leap over when it comes to developing that killer new feature.

Applying it to software that is widespread and common this stifles the creativity and inspiration drives the development of the next new world changing feature or application.  There are two groups of software which can be divided into:



  • Commodity

  • Specialized


Commodity software are areas where the type of software is widely used in the world across the general public and enterprise.  It would easy lump in things such as operating systems, word processing and web browsers.  Unless you are already a major player in the market, it's very hard to make money on commodity software.  When was the last time you paid for a web browser?

Most software starts off in the specialized software group as proprietary software.  You can only be unique for so long until you get competitors that offer alternative options to your product.  There a variety of factors that make alternate products attractive to decision makers.  It might be cost / licensing, different features or support options.

An alternative may not need to be better to begin winning market share.  Most alternatives compete on price and some what on features.  Suddenly, your product needs feature X and be $1,000 cheaper to remain competitive and continue being "specialized".  As time goes by and alternatives continue to erode your specialized market.

You may have not noticed yet that I have not mentioned whether or not the alternatives are proprietary or open-source.  There may not be an open-source alternative, but in most cases people start asking the question:


Why do I have to pay for this? I could write my own that only does what I need it to. It would be a creative challenge and I would get to use my imagination to solve problem X.


I believe this is how most open-source project start.  Whether it competing against a proprietary product or it's free reign, open-source projects usually start to fill a gap.  I believe it's not filling the "free" gap, but fills the creativity programming gap that is so often overlooked by employers.  In lots of cases, open-source bridges a particular type of software from the "specialized" to "commodity" software group.  Companies that fail to see a bridge being built will only suffer the punishment of seeing their once "specialized" software become a "commodity".

Why is open-source becoming increasingly popular?  I pose this thought:


Open-source is an adult programmer's playground where creativity and imagination can be shared with the rest of the world.


As programmers, I believe that some of us are looking to fill the hole left behind by childhood "play" and open-source offers a new paradise -- a digital playground in code.  Our primary purpose is to have fun; not to make boat loads of money.  Considering this...


Does proprietary software kill our creativity?

 


The short answer is "yes" when applied to commodity software because the method of participation is restricted by NDAs and the inability to share with others that may have useful contributions.



Like any other sort of fringe activity, you find that people are attracted to it because there's something that it fulfills that their daily life doesn't. - Paul Jennings



You're free to continue this discussion as comments, but I would appreciate it if you keep the flame wars / baits to a minimum.

Sunday, April 18, 2010

Prototype JS - Auto-Resize Text Area

Recently needed to auto-resize or auto-grow a text area in a form (with a maximum size).  Below is short a little Prototype JS version which you invoke by using:





new TextAreaResize('idOfElement');



This utility does not resize the text area smaller if an user deletes data from the text area (which is expected in most cases).





var TextAreaResize = Class.create();

TextAreaResize.prototype = {

    /*
     * PROPERTIES
    */
   
    /*
     *
     * OPTIONS:
     * maxRows: integer (default 50)
     * The maximum number of rows to grow the text area
     *
    */
   
   
    /*
    * INITIALIZATION - CONFIGURATION
    */
    initialize: function(element, options) {
        this.element = $(element);       
        this.options = Object.extend({maxRows: 50}, options || {} );

        Event.observe(this.element, 'keyup', this.onKeyUp.bindAsEventListener(this));
        this.onKeyUp();
    },

    /*
    * PUBLIC FUNTIONS
    */   
    onKeyUp: function() {       
        while (this.element.scrollHeight > this.element.offsetHeight && this.element.rows < this.options.maxRows) {
            if (this.element.rows < this.options.maxRows) {
                this.element.rows = this.element.rows + 1;
            }
        }
    }
};