I say good-bye to a great visionary, one of my idols in the computer industry.
Rest in Peace Steve Jobs. Thank you for making the world a better place to live in.
I always forget how to do this so I’m putting it here for my own reminder.
When you are on Ubuntu’s terminal or shell, this is the command on how to display the contents of a file in Ubuntu:
$ cat file.txt
Pretty easy huh!
We have plenty of experience deploying Django applications to remote servers, mostly on Webfaction. But the latest server we deployed to was a Debian Lenny VPS server. Since Ubuntu was of a Debian family, it’s been quite easy. The problem is if you have a reliable internet connection to the server half-way around the globe.
I’m on a mobile broadband internet connection since we moved to Davao City. That means I got an unreliable internet connection. So typing “tail -f /var/log/apache2/error.log” would take a few seconds to echo on your shell. Now imagine having to type that every time you make changes to your Apache configuration files?
I just finished voting in the Halalan 2010 – the First Automated National Elections in the Philippines. It was an exciting experience for me as a Filipino, although as a programmer and a techie guy, I do have some apprehensions.
TortoiseHg however is not in the Ubuntu Karmic Koala repositories. Another challenge is that TortoiseHg 1.0.1 requires Mercurial 1.5 but Ubuntu Karmic only has Mercurial 1.3 on the repositories. Of course I want the newer versions.
Here are the steps I did to install TortoiseHg, my preferred Mercurial GUI client on Ubuntu Karmic Koala 9.10:
I have been busy modifying Django‘s models for a project to include a field for uploading an image and was testing the model using Django’s Admin interface when I suddenly got this error:
Upload a valid image. The file you uploaded was either not an image or a corrupted image.
Here are some quick tips when moving your Django site into production.
I was surfing for news about typhoon Ondoy (Ketsana) and the new typhoon Pepeng (Parma) when I saw this very interesting item at CNN’s Tech News section. It’s about Google Wave – an online tool for real-time communication and collaboration. And I must say it is a very interesting and useful product from Google. Click on the video links at the bottom of this post to see what I mean.
To use multiple Django versions for development, you will need virtualenv. Virtualenv is a sandbox that allows you to use different versions of Python in your development machine. It is a tool to create isolated Python environments.
I have been using Django 1.1 beta on my projects. Just recently, I needed to use Django 1.0 for a new project. Of course there were major differences from Django 1.0 versus Django 1.1 which could cause headaches.