ads' corner

How to reset your KDE (without deleting everything else)

I’m a (more or less) happy KDE user, ever since the KDE 3 days. Before that, I used fvwm2 for a long time, but that is a different story. It also happens that I never really reinstalled my home directory - the oldest files I can find are from 1997, and that is pretty much when I switched from an old Slackware system with self-compiled updates, to something with a more modern distribution. That means, that all the time from 1997 to today, I carry the same /home/ads across my computers. The home directory grew from a few MB to 133 GB today (maybe I should clean it up, but then again it’s cheaper to buy a bigger harddisk).

It also means, that I never deleted my KDE config, even when upgrading to KDE 4 or Plasma.


GSoC 2011 - phpPgAdmin

Google Summer of Code 2011 is in the second term. Leonardo Sápiras passed the midterm evaluation and continues his work on the phpPgAdmin plugin infrastructure.


GSoC 2011 - Big changes in phpPgAdmin

After many years in the PostgreSQL community, I applied as a co-mentor for the phpPgAdmin project and was accepted. More specifically, the project is about a plugin architecture to extend phpPgAdmin, Leonardo Sápiras has submitted this proposal and was accepted. Jehan-Guillaume (ioguix) de Rorthais is the main mentor for this project.


PostgreSQL with natural language support

In today’s fast development cycles and with the available, rapidly changing technologies there is less time for the rational planning of a new application. Since the database is usually the last in the development chain, programmers tend to avoid learning yet another programming language for relational databases. The PostgreSQL Project is aware of this problem.


Read number lines in a file - in LaTeX

Probably a rare needed feature, but I had to count the number lines in a text file - in LaTeX.


Generate random number in LaTeX

It is possible to generate random numbers in a TeX document. For a gimmick I wanted a random line from a text file in my slides. The first step was to find a random number.


konsole in KDE 4 with fixed size

The (for me) most annoying “feature” in KDE 4 was the konsole behaviour: every new window was opened in the last saved size. Those who (like me) open dozens of terminal windows each and every day will understand the annoyance of this non-deterministic behaviour. In addition, early KDE 4 versions always ignored the default settings for the window size (and also ignored the according commandline parameters), priority was given to the saved session data. In the meanwhile (KDE 4.3) the software was improved and with some manipulations konsole can be forced to start with a fixed size.


sudo: sorry, you must have a tty to run sudo

It took me a while to find out, why this backup script would not start. Finally, I found this error message: sudo: sorry, you must have a tty to run sudo. The sudo call is required to execute clustat and find out, which machine is the current master.

sudo is configured to execute clustat without password and works fine on the command line - so what’s wrong here?


Papierformat (A4 oder Letter) in einer Ubuntu Installation

Eine standardmäßige Ubuntu Installation ist der Meinung, als Papierformat Letter nutzen zu wollen.


How to upgrade a Ubuntu server over the network

Now that the shiny new Ubuntu 9.04 is available, the servers with packages for 7.10 are closed down. Ok, how to upgrade a server, if you can’t even install the update-manager-core package - because of the missing repositories?