Category Archives: Programming

sudo hints and ~/.hushlogin in debian or ubuntu

My work laptop runs Ubuntu Linux. After using Ubuntu for more than a month now, I can definitely agree that it is a really nice Linux distribution. Most of the things I have to do as part of my every-day … Continue reading

Posted in Computers, GNU/Linux, laptop, Linux, Open source, Programming, Software, Ubuntu | Tagged | 8 Comments

Then vs. Than

Scribd has many online books. I try to read at least one book every week. Starting to read a new book is always fun. The sense of anticipation builds up while the search for a new book is still in … Continue reading

Posted in Books, Computers, Γλωσσικά, Programming, Software, Typesetting, Writing | Tagged , , , , , , , | 9 Comments

Unit Testing Uncovers Bugs

As part of the ‘utility’ library in one of the projects we are using at work, I wrote two small wrappers around strtol() and strtoul(). These two functions support a much more useful error reporting mechanism than the plain atoi() … Continue reading

Posted in Computers, FreeBSD, GNU/Linux, Linux, Programming, Software | Tagged , , , , , , , | 13 Comments

Parallel Downloads with Python and GNU Wget

GNU wget is a very useful utility that can download files over HTTP, HTTPS and FTP. Downloading a single file from a remote server is very easy. You just have to type: $ wget -np -nd -c -r http://server/path/to/file That’s … Continue reading

Posted in Computers, Free software, Open source, Programming, Software | Tagged , , , , , | 28 Comments

Distributed Development with Mercurial

Every clone of a Mercurial repository can act as a consistent, fully functional repository itself. This is a very useful property of a DVCS; one that you can take advantage of to make development a lot easier, especially for teams … Continue reading

Posted in Computers, Free software, Mercurial, Open source, Programming, SCM, Software | Tagged , , , , , , , | 1 Comment

Mercurial Clones without a Working Copy

Mercurial repository clones can have two parts: An .hg/ subdirectory, where all the repository metadata is stored A “working copy” area, where checked out files may live The .hg/ subdirectory stores the repository metadata of the specific clone, including the … Continue reading

Posted in Computers, Free software, FreeBSD, Mercurial, Open source, Programming, SCM, Software | Tagged , , , , , , , , | 5 Comments

FOSDEM 2010

Earlier tonight, on December 7 2009, a friend and me booked our flight tickets for FOSDEM 2010. I am really excited that I am going to attend another open source & free software conference. It has been a while since … Continue reading

Posted in Computers, Conferences, Free software, FreeBSD, GNU/Linux, Open source, Programming, Software | Tagged , , , , , , , , | 3 Comments

Summary of MIT Lectures – Introduction to Algorithms

MIT OpenCourseWare (MIT OCW) is an initiative of the Massachusetts Institute of Technology (MIT) to put all of the educational materials from its undergraduate- and graduate-level courses online. The lectures of many courses are available in video format, freely downloadable … Continue reading

Posted in Computer Science, Computers, Programming, Science, Software | Tagged , , , , , | 3 Comments

fts(3) or Avoiding to Reinvent the Wheel

One of the C programs I was working on this weekend had to find all files that satisfy a certain predicate and add them to a list of “pending work”. The first thing that comes to mind is probably a … Continue reading

Posted in Computers, FreeBSD, GNU/Linux, Linux, NetBSD, Open source, OpenBSD, Programming, Software | Tagged , , , , , , , , , | 1 Comment

Dear Santa…

I know it’s a bit early for 2010, but can you please grant me a wish today and count it as one of the 2010 ones? For 2010 (and the rest of 2009) I wish I can keep up today’s … Continue reading

Posted in Computers, Mercurial, Programming, Software | Tagged , , , , | Leave a comment