We’re getting there…
The newest beta of PHP Weather is out, take a look here. It fixes some small problems with some missing strings.
Adventures with Computers
The newest beta of PHP Weather is out, take a look here. It fixes some small problems with some missing strings.
I’ve rewritten PHP Weather, so that it uses objects. And it actually works, so I think we’re almost done for version 2. You can download it here.
I sent a mail to the maillinglist, but here it is as well:
I’ve also tried to write some documentation for the new version, which is included in the tarball. I used a php-script called PHPDoc. It works by reading comments in the code, and then build HTML-pages with that information.
It’s not finished yet, but I think we’re getting really close now. The main advantages of this structure is:
It is easy to add support for new database-engines. Basically they just
have to support three methods: insert_metar()
, update_metar()
and
get_metar()
.
I’ve made a database-engine called ‘none
‘ which doesn’t do anything, and
one called ‘mysql
‘ which is fully working. I hope that someone will
write an engine for PostgreSQL, dbm etc.
The translators are able to override the output-routines, if that is necessary. And at the same time, most languages only need to translate the English language-file, just like old times :-)
I’ve made an English language-file. It’s probably missing some strings,
since I changed the keys in the $strings
-array quite a bit while I was
coding. When a string is missing, PHP complains about an undefined index.
If you get such an error, then please
report it to this list.
I know that there’s still some problems with getting it to work under PHP3, which should be solved. We’ll have to try and identify the cause of these problems, and then make a fix.
So, what do you think? Is it any good? Please report any failures and successes you get — thanks.
I’ve now been using Debian for about three weeks. And I like it :-) It’s a little confusing in the beginning, but now I feel that I understand most of it.
The package-management system is just great, after you get used to it. I
run the unstable branch, called Woody, and this means that the packages
are updated quite often. And when they do, they sometime break! At one
point BBDB stopped working in
Gnus. It was strange, since I didn’t remember
messing with it. But one or two days later a new version appeared, and
when I installed it, the problem went away. So with
Debian you really get the chance to try out the
vary latest software. So far, this has been the only incident of this
sort. I hope they watch more carefully before they make a new version of
something important, say lilo
:-)
I’m also eagerly awaiting a new version of Mozilla. I’m currently using M18, but they’ve already made both a version 0.7 and 0.8. But so far, there hasn’t been made any debs. The same goes for Enlightenment. I haven’t compiled the new E17 yet, because I don’t want to mess-up my new tidy system. But I’ll probably do it after all, when it’s useful for everyday work.
I don’t know exactly why I set my alarm to go off 30 minutes before Tais and Cookie picks me up… I’m tired, but it’s going to be fun anyway :-)
Tomorrow I’ll be heading for Copenhagen, the capital of Denmark. I’m going to the LinuxForum 2001 conference, together with Cookie and Tais.
I’m really excited about this, and expect to bring home loads of merchandice: t-shirts badges etc :-) It’ll be great! Apart from this, there’s also some very interesting talks. I recently switched to Debian, so I look forward to hear the talks about this. But there will also be talks about a lot of other interesting subjects.
Cookie told me, that they had spoken to Raster about having him speak at the conference! Judging from the news on his homepage, he would probably have spoken about “his new toy”: Evas. This would have been awesome — to have met this incredible talented guy… Wow. But they found out, that they didn’t have an empty slot for him, so he won’t be there. What a shame!