userspace.pl

I’ve wrote this script back in 2000, when I was working for J.F.Services Ltd. I needed regular summary reports for disk usage by different users. It is similar to reports sent by repquote. The only reason I used my own script is that I didn’t have any quotas set up at that time.

userspace.pl

PHP, Zope/Python, and Perl

There is an article at kuro5hin.net called “Switching from PHP to Zope/Python“. This should provide for an interesting read for all those poor PHP souls.

As for me – I use Perl and I am not planning to change any time soon. There are two major bonuses in Perl for my programming tasks:

  1. CPAN – Comprehensive Perl Archive Network. This is a huge collection of modules that help me to avoid as much programming as possible. And that’s pretty much.
  2. Perl’s scalability to all sorts of tasks. I am using Perl for one-line long utility scripts, log analyzing, mail searching, graph building, database maintenance, web programming and anything else that pops up. The broadness of tasks makes PHP way underpowered and Java way too complex. There are tools that might come handy (like Python), but why change if Perl works for me?

Said that, I am familiar with other languages, since it’s not rare at all that I need to patch someone else’s code. PHP being a widely used language for web development comes to my hands pretty often. My Python familiarity is more on the system level and GUI programming.

Repeat of the last command in bash

Ok, we all know that to repeat the last command in bash (as well as many other shells) you just need to press the Up key. Sometimes though it is handy to test a command before using it as a subset of a bigger command.

Continue reading Repeat of the last command in bash

CVS and bugtracking with Mantis

All the small things to close working week. Rest of the day I’ve spent education myself on CVS again. :) I’ve came across CVS book at red-bean.com which I now want to order hardcopy. All my today CVS practise was around a wonderful piece of software called Mantis. It is simple yet powerfull bugtracking system, which I have adopted as technical support tool for our company. All of my changes were based on version 0.16.0, while mantis went to version 0.17.0. So, I’ve been porting all my changes to the new version. Tried both ways with traditional diff-edit-patch-repeat and cvs ways. So far, I enjoy the cvs way of doing things, and I haven’t yet tried branching and merging. Oh, I sound like a developer, don’t I? :)