Archive for the ‘Computing’ Category.

Lost mail

I’ve started to use mutt as my email-client. This is very cool, but unfortunately I’ve lost some mail in the process :-( Sendmail was installed as a standard part of my Redhat 6.2. But it was only when I started using mutt that I noticed that it wasn’t properly configured. Sendmail is probably the most difficult thing to configure, so I decided that it was time to try qmail. Although qmail is much easier to configure that sendmail, I still managed to loose some mails.

So if you have sent any mails to me around 16-17 GMT, then please send it again. So now you know, that it is not just simple ignorance, if I seam to be ignoring you :-)

PHP Weather has been submitted to Freshmeat

Freshmeat Today I submitted PHP Weather to Freshmeat. So now it should be much easier for people to find. With a little luck, this should appear on the frontpage today. This should also generate a lot of hits.

Yeah! It’s working!

The news-system, the scripts, everything is working. I’ll explain how everything works later, for now you can take a look at the source.

Just a test

This should work. I’m testing my new news-system. If this works, then it can’t be all wrong :-)

Working on a new news-system

I’m currently working on a new and improved version of my news-system. The current system is based entirely on text-files. Why did I choose to use text-files, instead of entering the news into something like phpMyAdmin, you might ask. The answer is simple: I can use Emacs to write the text-files, but would have to use a browser (like Netscape) to enter the information into phpMyAdmin. And the current system works beautifully. I now have about 85 text-files in the include directory, and the page is still rendered pretty fast.

But using text-files isn’t the smartest way to store data. If I had stored the news in a database, I could search them easily or group them into different topics.

So, I had to find a way to bridge the gap between Emacs and the database. The solution, what I’m working on right now, is to write a text-file, parse the file with PHP and put the results into the database. That way I can still use Emacs to write the news, but I also get the fancy features of the database.

I’ll let you know when it’s finished, so you can take a look at my code.