Tuesday, July 27, 2010

Modx: Evolution

I have seen this CMS on the market for a couple of years now and was intrigued with its methods of providing users with a CMS that allowed people to designate different templates on different pages.  With previous CMS I have used most packages come with predefined sections designated where certain functionalities have to be accessed.  It can be quite frustrating when your clients want to be different than at least your other clients.

I have undertaken a new web project recently and decided to finally choose Modx as a back end platform.  Granted that I myself had to do a 10 part tutorial to understand what Modx has to offer and don't expect my clients to follow suite to manage their site.  Fortunately to simply add content I can break it down to my client in a 1 hour session.  As for designing web sites with a PHP backend Modx is a complete solution for developers looking for solutions for clients who want to do a periodical website with varying layouts.  Since Modx allows users to designate a template for a page that he is posting I can implement a selection of layouts for my client and allow my client to choose which lay out is appropriate for the particular content he wants to post.

Theme management is only the tip of the iceberg.  Modx is also into reusing code.  Users can create and store reused portions of HTML and PHP and easily designate an appropriate placeholder for them to be called from a template.  Modx furthers its flexibility by allowing designers to designate template specific variables so their clients can fill out fields when posting content to specify a parameter for a template.

Modx is also expandable.  The Modx support site posts a large selection of extension and plugins to add reusable code to implement everything from breadcrumb menus to gallery management to captcha form protecting.  People can find everything they need to get started from their site at http://modxcms.com/ .  They have a growing community with all kinds of helpful tutorials that can be found through their forums.  Oh, and yes, it is free.

Sunday, July 25, 2010

Rotting Apples

Apple has just recently released it's new IOS 4.0 for their i-phone line to coincide the release of the new i-phone.  With all I have been hearing on the whole bumper fiasco and how the new IOS releases are slowing down the performance of the older i-phones I have been thinking on and off on whether I should support Apple as a company.

I have a few Apple devices myself.  I still maintain that the Macbook White has been the best computer I have ever owned.  As for my i-pod touch, I have no complaints on its capabilities as a personal media player though I find myself thinking about jail breaking it to expand upon its use beyond that.  I have used my i-touch to check email and browse some social web sites and I have tried using it as a personal note taker and event planner but the virtual keyboard has made interacting with it in this function not as convenient as it should be.  I find myself entering data on my laptop and using the i-touch to review items of reference. 

The Apple devices I own are overall quality devices and should be since I have spent quite a bit of money to own them.  I find it, however, quite disturbing when I hear that these devices have planned obsolescence in their design.  Apparently after 2-3 year of use Apple expects me to toss a perfectly functioning device over for their new line of devices with minimal improvement in enhancing my experience.

When I bought these devices I had no problems investing money in a quality product but some how this is all moot when the device is suppose to be outdated in a couple of years.  When I spend $500+ on a gadget I expect it to use it for a little more than 2-3 years.  Doing less in my opinion would be no different than the mentality which started the trend of disposable consumerism that produces the products that line all our dollar stores, the only difference being that Steve Jobs makes a butt load of money doing it.  How about Apple be true to its eco-friendly claim and start a recycle program for older phones.  And how about Mac fan boys stop supporting Apple and make good use of your money by keeping that i-phone for another couple of years.

Tuesday, July 20, 2010

OMG Finished Half-Life:2

The review I did a month ago on Half-Life:2 does not do it justice.  It's been a month of stress and personal difficulty but through out it all the few hours in the evening I could spend being the bearded messiah of a physicist donning the horn rimmed glasses, HEV, and gravity gun have made these days and nights tolerable.  Gordon Freeman is my newest hero and the sheer fun, scares, and laughs I have had with this game will have me talking about Half-Life:2 as pretty much one of the best games I have played for quite some time.  This game has everything and more that I have experienced in first person shooters, adventure games, and most RPGs.  Last night it all came to an epic end and it was all very satisfying sending the maniacal Dr. Breen to the great dark beyond.  Though I can not wait to continue with Half-Life : Episodes 1 & 2 (and, yes, Half-Life) I have already started another trek through Half-Life: 2 just to make sure I did not miss smelling any roses while taking out Combined, zombies, and head-crabs.

Sunday, July 11, 2010

XBMC

I had recently been contracted to modify the interface of an XBMC installation.  For those who do not know what XBMC is, it is the open source media center that is based on the original Xbox online management software.  The original application allowed online users of the Xbox 360 to access on-line content in a pay per view context.  A community of hobbyist coders have reversed engineered the application and made it open source so anyone can slap together a media PC of choice parts (depending on their budget), hook up their rig to their entertainment center, and watch anything from DVDs, to Bluerays, to on-line media streams, to selections from their library of internet downloaded movies on their large screen LCD/Plasma TV.  They even coded routines to interpret PC remote controllers requests and configured much of their interface to accommodate the tactile nature of a push button remote control.

On top of playing a variety of formats on a PC through its built in player XBMC can also run scripts written in PYTHON to access and filter out links to media on your favorite streaming site and present the site's inventory of media on a stylized menu.  More scripts can also be added to associate backdrops, cover images of music albums and DVDs, and IMDB info of your presented media.

XBMC can also be skinned to your liking and the software provides the user with a system of XML files that can easily be edited to sport the graphics and layout of your choosing.  The system claims to even allow users to add functionality to XBMC; however, the reality is the displays that the user can add are either additional dialogues or overlays which support the main pages of the application.  The ability to add standalone new pages are somewhat limited and in practice stand out as jury rigged pages.  The skinning library is limited to image displays, lists, windows, and buttons but each component has a large inventory of customizable properties.  The interactive components can also be scripted to trigger a robust selection of predefined functions to control or display relevant information and content as well as flag states or conditions during the run time of the application.

XBMC has a community of contributors scripting everything from skin packages, plugins and scripts that target popular media source sites, to 3rd party application launchers for those who want to integrate some gaming into their media center.  XBMC is open source - anyone can download an install package for free or download the sources for modification.  All information can be found on http://xbmc.org/ .

I'd rather be blogging...

I decided to finally look into developing iphone apps.  It was the reason why I bought my Mac Book.  It's been a week and I don't think I have been this frustrated with a learning curve.  I think what is getting to me are the droves of Mac fan boys who claim anybody and their mom can learn how to make phone apps.  If that were true then why is every second tutorial I find not compiling.  Even more frustrating are the constant go to one of the many interface steps and type this code directives that's horribly out of date.  I find many of the tutorials them selves do not explain the mind set of performing the said steps and give me the impression that half these fan boys turned coder merely copy patterns of whole applications and don't have a true understanding of what really is going on.

Just the other day I was on the train and an intern I had just met who was really into iphone app development tried to show me how easy it was to throw together an app.  In 10 minutes he had his iphone simulator pop up on his Mac and pop a view of a bunch of thrown together components which really did not do anything useful.  I turned the question around to him and asked him if he could make a simple form to change the screen display to which he sat and looked around for an example he could base the app on.

I had recently learned Adobe's Flex platform in a stretch of 2 months and after working a total 6 months on the platform I know I can throw together a simple online web app with forms and views and have it store information onto a database in under an hour.  Now that to me would classify as intuitive since other than a a pattern of code I use to code database pulls and the local repository of variables everything is pretty much from the top of my head.

Now maybe I'm getting a little ahead of my self.  Maybe I'm just not of Steve Job's mind set of what easy should be.  But I am pretty sure my mom will never program her own iphone app in my lifetime.

Friday, July 9, 2010

The almost real sonic screwdriver.

I was looking around this morning for an electronics project with a little bit of cool and a little bit of mischief.  My recently draining endeavor/project has left me at least industrious and creative and on top of learning how to program iphone apps I all of the sudden wanted to make a real sonic screw driver.  I had an idea to take a Doctor Who sonic screwdriver toy and outfit it with some additional circuitry that would be obviously suited to a sonic device.

I came across some circuits to jam cellphones and another to turn remote controlled television sets.  The circuits seem relatively easy to put together onto a small board that I could fit into the cramped spaces in my toy other than the fact that I would have to hand wind a couple of inductors (coils) and somehow have to fit a 9 volt DC source (battery) into it as well.

I have not really given up on the affair.  I probably need to dig deep on this project though I impulsively clicked on someone's 60lbs stash of electronics with out inquiring first about the $50 delivery bill.  Luckily, I just got out bid (yay Ebay).  I also came across this little gem this morning when looking into prop replicas:



Now that is a work of craftsmanship -  a fully metal exact scale working replica of the 10th Doctor's screwdriver.  I really need to make more machining friends.

Thursday, July 8, 2010

Strictly Ballroom

An old friend of mine had got me to watch this film in the theaters back in the late 90's.  I had no idea who Baz Luhrman was and years later when his hit musical "Moulin Rouge" struck a chord with wannabe star crossed lovers everywhere the connection still did not hit me.  Strictly Ballroom, however, is part of a trilogy of films referred to as Luhrman's "Red Curtain" series which features lovers overcoming obstacles together infront of a backdrop of nostalgic 80's tunes, over the top stage acting, and, of course, a red curtain.  But despite the kitsch melodrama that a good part of the film is, the film is quite enjoyable with a good fairytale-like story of love, triumph, following your heart, and redemption.

Strictly Ballroom is set in New Zealand and focuses on the life of Scott Hastings, son of long time ballroom dancing champions Doug and Shirley Hastings.  Scott's mom runs a local ballroom dancing school with a family friend, Les.  His father has for unknown reasons resided to being the studio maintenance man though is seen throughout the film bumbling through some of his own moves on the floor when no one is around.  Scott himself has become also involved in the family legacy and has shown talent and made a name for himself in the ballroom dancing community.  Though original and determined to come up with his own steps Scott is look down upon by the Ballroom Dancing Federation President, Barry Fife, as an undisciplined upstart who has no place dancing his moves in this established community.

On the eve of what could be his debut year as a champion, his long time partner, Liz Holt, dumps him for a Federation favorite Ken Riley - a full time jacuzzi sales man and chronic drunk.  Their last performance together at a regular season competition had Scott break out of routine and pull her into an array of crowd pleasing moves that pleased everyone but the Federation judges.  Liz as most of Scott's family is tired of Scott's rebelliousness against the Federation and is doubtful that Scott despite his talent will ever be a champion.

At this point we are introduced to Fran.  She is a beginner ballroom dancer studying at her leisure at Shirley's studio.  She floors Scott with her proposal to dance with him learning his steps since it is unheard of in the dance community for a beginner to even suggest such a thing to a professional such as himself.  Scott is unconvinced at Fran's suggestions and just as he was about to dismiss the whole idea Fran blurts out in Spanish, "a life lived in fear is a life half lived" which somewhat grabs the attention of his fearless spirit and shakes him into reconsidering his situation.  Scott being with out partner decides that if he can't get a professional to dance his way then why not just dance with a beginner.  Scott has Fran work through the basics and works out his new routines with her as his family drag him through more disappointing try outs with professional dancers who are also looking for a partner.

In a month's worth of work Scott decides that Fran has to his surprise learned enough to carry out his new routine in competition.  He plans to reveal to his family his new partner at the night of the next regular season competition but before he can he and Fran are told that Scott has a chance to court another champion dancer, Tina Sparkle, whose current partner was announcing his retirement that night.  It was a plan concocted by Les and Barry Fife who both want to see Scott grounded with a proper partner dancing Federation approved steps.

So after the ensuing confusion Scott realizes that dancing with a champion is not what he wants and that he truly wants to dance his moves with a partner who believes in them as much as he does win or lose.  He also realizes that he has somewhat grown fond of Fran who has been slowly changing her physical appearance to reveal the true natural beauty she is.  Scott and Fran dance a tango offstage and realize to the horror of everyone that they are more than just dancing partners.  Fran gets chased off by Shirley who wants to push the thought of Scott dancing with the studio ugly duckling out of everyone's mind but Scott runs off to find Fran.

Fran runs back home where her family is in the middle of a fiesta and just as Scott reveals to her that he intends to dance with her at the championship competition he is abruptly introduced to her strict father.  Scott tries to explain they are dancing partners and nothing more but her father is reluctant to believe his boyish looks.  Scott then insists he is a professional dancer and tries to impress her father and family with his rendition of "Paso Double", traditional Spanish dance.  The crowd has a laugh at his and Fran's performance and angers Scott.  Fran's father then corrects him by performing the true "Paso Double" with the very intensity that Scott feels he needs in his dance.

Fran's grandmother steps in at the end of Fran's father's performance and decides that Scott has the heart but lacks the rhythm.  She attempts to teach him by telling him to listen to what his heart tells him with out fear and slowly Scott realizes what he needs to project the intensity he wants.  Scott and Fran's father finish the evening with their intense rendition of "Paso Double" and find respect for one another in the process.  Fran's father decides afterward to help Scott and Fran prepare for the championships.

The night before the championships Barry Fife surprises Scott at the studio and finally explains to him why everyone has been so hard on his rebelliousness.  Apparently Scott is exactly like his father Doug who had been once the favorite in the dancing community.  But because of his blind ambition to dance his moves over the Federation approved ones he had been side tracked and disgraced.  Everyone fears that if Scott fails just like his father had done so before that the loss would not only be Scott's but his poor father's as well.  Scott in disbelieve runs to his father's locker in the basement and finds memorabilia confirming Barry's story.  Torn at such a revelation he quickly decides to partner with his old partner, Liz (who had also been recently dumped by Ken for the available Tina Sparkle), and dance the competition as a Federation champion contender for his father's sake.

The movie whirls into the next day at the competition with Scott and Liz in their opening waltz.  During the break Scott sees the dejected Fran and tries to explain to her why he had decided so hastily to dance with Liz.  She is off course angry and upset and runs off with Scott in pursuit.  Scott bumps into his father Doug who stops him from catching up with Fran and insists he listens to what he says.  It appears Barry had somewhat lied to him and the only reason why he never became a champion was because Barry had convinced Shirley to leave Doug's hopeless crusade to dance his own moves and to partner with Les.  At this point Scott is about to enter the competition itself with Shirley and Liz struggling to put him onto the floor and Doug holding onto him to listen to his every word at which Doug blurts out "we lived our lives in fear".

Scott runs out to continue his pursuit of Fran.  Meanwhile Les figures out what Barry had intended to do all this time - shame Scott as he had shamed his father out of dancing so the Federation approved moves that he had dedicated his whole life to would never be challenged.  Just as Barry confirms his somewhat evil plan to Les, Scott and Fran finally make their grand entrance onto the floor.  They perform a "Paso Double" inspired dance with an intensity and precision that can not be looked over.  Barry eventually cuts the music before they can complete their performance and calls Scott and Fran to leave the floor.  But just Scott and Fran take their last bow Doug starts to clap out a rhythm and gets the crowd to follow suit.  Scott and Fran complete their performance to the rhythm of the crowd.  Their inspiring performance pull the audience onto the dance floor as we get a glimpse of Scott and Fran kissing.

Like I said really kitsch but enjoyable and you might even find yourself dancing in your living room during the finale.