Automatically updating a working copy on a remote server using Mercurial

Introduction Imagine you have two servers: on one server, you have a Mercurial repository with all your code, accessible through http. On the other one, you have a working copy of this code that you are using to test a…

More Details
Quickly remove PHP 5.3 deprecated warnings in web applications

It’s easy enough to do (although you shouldn’t fix your issues that way, obviously), but I found it difficult to find information about it on the web. To change your PHP settings in order to avoid these warnings, one quick…

More Details
Debug: Howto show variables used in Chamilo 1.8.7 translations

As a developer or translator for Chamilo 1.8.*, you might often be faced with the need to know what variable is used to look for a translated term to be shown on screen. While we don’t have a nice in-house…

More Details
Translating web applications – lesson 2 – Include punctuation

If you haven’t read lesson 1 on string identifiers for web applications translations, then I strongly recommend you do so first. When you start translating a web application, one question will always pop to mind fast enough: do I include…

More Details
A basic guide to unit testing, or how not to write unit tests

Inside the bunch of implicit responsibilities I have in some projects, including the Chamilo project, one is to review the code of my fellow colleagues (or should I say team members). The fact that we asked people with little experience…

More Details
Using Intel ATOM as OpenSolaris NAS engine

I  recently started searching for a power- and price-efficient engine for modest-sized NAS, running OpenSolaris (Nexenta) of course. The idea to go to Intel ATOM first comes from their high power efficiency (1-13W TDP). To really benefit from it, do…

More Details
Installing Squid on ZFS

The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID. To achieve this on…

More Details
Reasons to (not) setup swap on GNU/Linux

Disclaimer: this article does not pretend to be a complete picture of using swap on UNIX. Most of the time, recent GNU/Linux distributions insist on creating a swap area. Swap is generally used to temporarily store memory used by running(/sleeping)…

More Details
HOWTO Enable temporary swap file on GNU/Linux

GNU/Linux supports swapping to a file on any filesystem, with reasonable performance impact since kernel 2.4. This might be useful whenever needing a temporary increase in available memory, I’m writing this article with that goal in mind. Create a zero-filled…

More Details
Howto reset network device after swapping disks from one PC to another

I had a problem with a very old Compaq PC not detecting the keyboard anymore. I used the PC as a local server, not a real problem, except that the BIOS didn’t allow the PC to boot when the keyboard…

More Details

Quick Contact Form