Archive for the ‘Computing’ Category.
16th October 2000, 03:52 pm
I’ve started to rewrite my menu-system here at gimpster.com. The current
system only works when the tree-structure is two levels deep. You can see
this on my sitemap.
The new system will be able to handle an arbitrary number of levels
(remember, though, that a PHP script can only use 8 MB of RAM :-).
In the new system, all pages have a parent, and perhaps also some children.
This is what connects the different pages too one another, it defines a
tree of so-called double-linked lists. The lists are double-linked because
each node defines both the next and the previous node in the tree. This
makes it very easy to find out who the parent is to a particular node. And
to find other nodes at the same level as the current node, you just look up
the parent. Now that you know the parent, you can easily find the children
of the parent.
Thanks to the very flexible way PHP handles arrays, I can store all the
information in a huge multidimensional array. That makes it very easy to
access the information.
9th October 2000, 03:57 pm
Thanks to Eduardo Guilenea who provided me
with a translation of PHP Weather into Spanish, PHP Weather now has support for foreign languages.
So far there’s only English and Spanish, but more will hopefully come. If
you want to translate PHP Weather, then have a look at the locale_en.inc
file in the tarball. This is
the file you’ll have to translate into your chosen language.
You have to translate all the text, just remember to leave the %s
intact.
They will be replaced by the actual numbers and strings later.
I’ve also made a maillinglist for PHP Weather, so please announce it there.
To do this, just send a mail to [email protected]. If you want to
subscribe to the list, then send a mail to [email protected].
27th September 2000, 10:46 pm
I case you didn’t notice, gimpster.com had a kind of anniversary today. As
you can see on my statistics-pages, my domain has had over 100,000
requests in total! This is the total number of requests — so when you
entered this page you made about 8 requests to the server, one for each
image on the page, and one for the page it self.
If you only count page-requests, then I’ve had about 25,000 of those.
23rd September 2000, 07:44 pm
You can now get access the current weather from any where in the world with
WAP! Just point your
WAP-browser on your mobile phone to
[http:/www.gimpster.com/wap/](#)
.
I’ve adjusted the pretty_print_metar()
function, so it can be used in
WAP-pages. This means that it only shows the
most important informations without all the text. The small displays on
mobile phones limit the amount of information you can present at any given
time, so it has to be compact.
Please be aware, that this is my very first attempt at
WAP, and that the page therefore isn’t
finished. But please send me your
suggestions — the many good ideas you’ve
already send me regarding PHP Weather, has improved
it tremendously.
21st September 2000, 04:13 pm
At the ANP netparty last weekend, I saw a GeForce 256 in action. And it was
easy to see how powerful it is. On a Pentium
III 800 MHz it ran games at
1600×1200 with maximum detail levels!
So I decided that I need a GeForce in preparation for the next party. Since
the GeForce2 Ultra has yet to arrive in Denmark (and considering that it will be
quite expensive), I choose a V7700
Deluxe from
Asus.
Another exciting thing about these GeForce cards, it that
NVIDIA is making Linux drivers! This
means that I’ll be able to get accelerated
OpenGL, which will be used intensively in
upcoming versions of Enlightenment. As you
can see on my screenshots-page, I can only make 15-20
FPS even with my new
Athlon. On the
Enlightenment-maillinglist there have been
reports of frame rates of 100 FPS. So it will be exciting to see how my system
compare to that.