Wednesday, October 24, 2012
It's good to hear that now the latest release version 1.4.x of Django can run on Python 2.7, and not lagging much on the support for the latest Python 2.x family. This is what I've been waiting for!
The full release notes is at here.
I am going to try get my hands on it!
Wednesday, August 1, 2012
The approach with this client is a bit different from the rest, as we work together for almost one year to close the gap between the application and the business requirements through iteration. In the methodology that we use (Scrum) it is called "sprint". After each 2 sprints we need to deliver a working application to the client, which will be installed by their server admins. In the industry we are in, we usually are not allowed to access the server machines remotely. We need to deliver package with the instructions on how to install it and get it working. As this application is running on Apache Tomcat, we initially just bundle everything inside and deliver a tarball, database dump and installation instructions to the client.
As few iterations went by, new requirements and wishes emerged (as usual)!
Need to run the same application in the same machine in 2 different environment (database and TCP ports). We delivered 2 separated tarballs with ports hard coded.
Then there were needs to run more than 2 environments in single machine. This complicates the problem when you hard code the port numbers.
We shop around to see what open source installer options available, especially ones that can run well without GUI and very few dependencies need to be installed. Eventually we came into conclusion that we'd better develop our own installer script to have much greater control over what's happening.
I opt in for Python. It's there in most Linux/UNIX servers.
Ubuntu has Python 2.6 as the base of apt-get tools. Both RHEL's yum tool and SLES yast2 tool. All are sophisticated package dependency management tools!
I have (successfully) uninstalled Python 2.6 from Ubuntu, and also uninstalled Python 2.4 from CentOS. Oh, please don't do this at home!
At least it's encouraging that Python actually serves at the heart of these wonderful Linux distros. You can't just get rid of Python on those distros.
We came with Python 2.4.x as the winner, as it is the lowest common denominator. Python 2.4 script will mostly run without modification on Python 2.6. You can't uninstall Python 2.4 from RHEL or SLES (at least not for now!).
The library side of the code is open sourced: http://code.google.com/p/swpt-tools/
But I still need some time to tidy up the code and wiki there.
If you have the same requirements like:
- Need to deploy an application running on Tomcat (or other application servers)
- Need to prompt and modify (or parameterize) on installation:
- values which will go inside the XML or properties files inside your Tomcat folders
- values that needs to go inside your WAR file
- values that needs to go inside your JAR file inside WAR file
- the installation folder location
Thursday, March 24, 2011
Sunday, November 28, 2010
I just found another catch, when you are trying to install Python 2.6 in Ubuntu (I was using Karmic Koala, 9.10), such as:
$ sudo apt-get remove python2.6
It will display the components that are about to be removed.
Kids, don't try this at home!
It will remove your whole desktop related application! Java, Gnome, apt tools. You practically will be left with command line Linux, and without the apt tools.
Uninstalling Python 2.6 from Ubuntu seems to be an act of shooting own's foot!
Lucky I tried on not-so-important experimental Ubuntu installation on my laptop.
Saturday, July 10, 2010
Yesterday I had to leave an hour earlier from the Google DevFest 2010 event, as I have to catch up with my wife, she was waiting for me for the second Antenatal Class. I missed the Code Lab, the Maps and Buzz T-shirts. Ouch. 5:30pm I had to leave while they ended the event on 6:30pm.
Flash back: After lunch time, there were some presentations on Google Apps, by Patrick Chanezon, followed by success story of people who developed applications for Google Apps. One from creately.com (http://www.creately.com). Another round from SingPath (http://singpath.appspot.com).
One thing that was missed a lot is the power points (aka power plugs). It was awful so many people carrying laptop and no power plug on the Connexis Theater. Almost everyone were running out of battery.
I just don't know why the crowd was kinda lacking enthusiasm to verbally respond to the speaker on stage with 'ooo's, 'aaaa's, 'yeah's, 'alright's and stuffs. Most of the time the crowd was silent.
Nevertheless it was a must-attend event of this year. I will attend the next event for sure.
Friday, July 9, 2010
Currently I am attending the Google DevFest 2010. Timothy Jordan and Bob Aman in their presentation on Open Social.
Today the registration was pretty crowded, and they differentiate based on the first letter of your first name. I was in the "A-F queue". The queue was long and the registration process was draggy.
They changed the schedule a bit, Daniel Lee presented the Google Maps as opposed to the initial schedule on the web site: Google DevFest 2010 in Singapore. He showed us how to create a coffee shop location based informative web site as an example.
After the first session, Jeremy Orlow, an engineer working on the Chrome team, explained the HTML5 and the Chrome. They skipped the Q&A for HTML5 and Chrome. May be they pushed forward because we're late because of the registration, so in order to finish during the lunch time, the organizer advised to ask in person to Jeremy during lunch time for anyone who want to ask questions.
Then here comes the third session, and its about Open Social. Tim was of more lively presenter than others I think. More like MC may be? Google Buzz API stuffs, atom, OAuth, Salmon, Pubsubhubbub etc.