Archive

Author Archive

RIP Steve Jobs

October 6th, 2011

I say good-bye to a great visionary, one of my idols in the computer industry.

http://www.telegraph.co.uk/technology/steve-jobs/8810743/Steve-Jobs-tributes-to-the-Apple-co-founder.html

Rest in Peace Steve Jobs. Thank you for making the world a better place to live in.

Author: Cyril Pauya Categories: General Tags:

How to display contents of file in Ubuntu terminal

February 20th, 2011

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!

Author: Cyril Pauya Categories: how-to Tags: , ,

Screen your way on Ubuntu Linux

October 31st, 2010

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?
Read more…

Halalan 2010 – First Automated National Elections in the Philippines

May 10th, 2010

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.
Read more…

Author: Cyril Pauya Categories: Politics Tags: , ,

Mercurial GUI Client on Ubuntu

April 15th, 2010

There are a lot of options for a Mercurial GUI client on Ubuntu but I preferred to use TortoiseHg so that I could use it with Nautilus – Ubuntu’s file manager.

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:
Read more…

How to Install Agilo on Trac at Webfaction

December 30th, 2009

Here are the steps I did to successfully install Agilo for Scrum (open-source version) in my Trac site at Webfaction.com:
Read more…

Fix for JPEG upload problem in Django in virtualenv

December 2nd, 2009

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.

Read more…

Author: Cyril Pauya Categories: programming Tags: , , , , ,

Django in Production

October 20th, 2009

Here are some quick tips when moving your Django site into production.
Read more…

Author: Cyril Pauya Categories: Software, programming Tags: ,

Ride the Google Wave

October 4th, 2009

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. :)

Read more…

Author: Cyril Pauya Categories: Internet Tags: ,

Use multiple Django versions for development

September 23rd, 2009

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.

Read more…

Author: Cyril Pauya Categories: programming Tags: , , ,