The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page


Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

// cool highlighting!
$f = fopen(source, "rb");
while(!eof($f)) {
$s = fgets($f);
$h = parse($s);
echo $h;
}
fclose($f)

Today I finally solved a problem that was bothering me for a while. A Drupal site I installed for a friend of mine would not accept the Clean URL set. This is when the URL does not need to include the rather ugly ?q=<path>.

The more I was looking into it and the more it looked like the problem was coming from the Apache installation.

[toc hidden:1]

I guess I liked Netscape just way too much... I used Mozilla after Netscape went down and bust, then I continued with SeaMonkey 1.x and now I just finished installing SeaMonkey 2.0.

There are features in this system that are just better than in FireFox. However, SeaMonkey 2.0 is a re-sync. with FireFox 3.x. In other words, this is very similar to FireFox, with the correct display features of the HTML code. But it keeps the menu, preferences and look in general of SeaMonkey. (although the fonts have changed... I'll have to get used to those!?)

[toc hidden:1]

Ada variables are complex objects. When developing a compiler, you must definitively take that in account. You have several sides to your variables: one you need to be able to handle dynamic variables since the compiler will have to be capable of doing all the operations on all the constant variables just as if you were executing your program and it has to handle all the tests necessary to ensure integrity.

So... we need a library that can handle integers, a library to handle floating points, a library to handle arrays, etc.

Today, I had to fix an installation of MySQL.

There were several problems, and I finally got it to work. Somehow, I had to run some commands manually to cleanly shutdown the cluster server and then re-run the configuration script with dpkg:

[toc hidden:1]

Today, as I was working with Coverity, I got this one message...

Negative constant passed to a negative sink.

Although I understood the meaning, I thought that this message was very confusing, How about:

Unexpected negative value in parameter #<position>

title 1

Test A

title 2

Testing B

title 3

Weird format

[toc hidden:1]

Since I manage multiple computers and each run a PostgreSQL database system, I can see discrepancies between versions. (i.e. newer versions fix problems in older versions.)

[toc hidden:1]

Today I ran in an error that looked like this:

Invalid argument supplied for foreach() in <path>/modules/taxonomy/taxonomy.module on line 1214.

The line number may vary depending on the version you are using. At the time, I had Drupal 6.14 and the line number was 1214.

The problem is with a node that has an invalid definition of its taxonomy field. In other words, the $node->taxonomy is not defined. If it were an empty array, the function would not fail.

I was updating a new Drupal website from an old static website generating nodes automatically with a little module. There were a ...

All of last week I've been looking for the solution to a bug in one of my numerous websites.

The problem was that after registering, a user would get an error saying that the PostgreSQL connection was lost. I had never had that with Drupal and yet, it would be 100% consistent.

I tested the new code several times and had no problems with it, so I was really dismayed that all of a sudden it stopped working.

After quite some time, I finally decided that my new code was the culprit. Weird. It was. It does the same thing as one of the Core modules and yet it breaks the PostgreSQL ...

Thank you for visiting my website.