rullzer

Altitude in YOURS

by rullzer on Nov.12, 2008, under OpenStreetMap

This weekend I spend getting the srtm data (thanks NASA) into postgres to use it. To do that I used Sjors way to do that which is with python. I got it to work in no time on my Gentoo-amd64-dev-box. That was Saturday.

Now Sunday I spend all day trying to get it to work on the dutch openstreetmap server. Which was quite a bigger challenge. Since well on CentOS 5 not all packages were correct. So I ended up compiling a lot myself, this however is pain in the ass if it turn out you have to compile almost all dependencies yourself to.

But it works! Check it on altitude.openstreetmap.nl. There you won’t find much but check the wiki page for more info on how to get data out of it. We only host the srtm data for the Netherlands, Belgium and Luxembourg. This since the data is quite large and well, I am not the only one using the server.

But back to the title. YOURS is an OpenStreetMap routing service. Which is kick-ass by the way. YOURS supports the altitude data and give the altitude profile of your route. Right now only a plot of the altitude is shown but I guess we get some nice stats soon!

Now for a little problem YOURS does not work really well when using Konqueror. I tried to figure out why but I’m not really a java script expert. So if you are and have some free time. Please find the problem :)

Now for another project idea of mine (probably around Christmas): porting Sjors python implementation to C. This since well. I love C.

Leave a Comment :, , more...

Writing a music player demon

by rullzer on Nov.12, 2008, under Hardware, Linux

Yesterday Sander and I released a new version of QtMPC (0.4.1).

However when thinking about some of the features we would like to have in QtMPC we once again got annoyed by the MPD protocol. One of the main issues we had was that it is not event based, or even publish-subscribe. You have to ask for every little detail you want. This is a choice and it is true that this way you do not get unwanted messages thus generate unwanted network traffic.

But we feel that some sort of event based protocol will do a better job here. Lets say in the default nothing is send as well. That way mobile clients can still control the player without receiving anything unwanted. Or just subscribe to events related to playback. This way mobile clients are still supported but again. They do not have to request the status ever x seconds. They just get a message once had changed.

For full blown clients event bases is also a positive thing. For example the reaction time. When adding a new song. Right now this has to be noted by the client when requesting the version of the playlist. A simple message from the server saying playlist current newsong …….. (or something like that) could be send right after the song is actually added. It just makes things easier.

Another thing that kind of bother us that there was no inotify support. This would be great however. Lets say you have a music server running on your server. And add some new music to the collection. It would be best of course if it would find the new music. Add it to the database and notify the clients of a change in the music library.

Now we have not written any code yet. But we are thinking about it. For the music playback part we are planing to use gstreamer. Since well it already supports a lot of audio formats. And why reinvent the wheel right?

7 Comments :, , , more...

Javascript Warning Boxes…

by rullzer on Nov.07, 2008, under Annoying things, Linux

I’m pretty sure you all know what I’m talking about. When you are at some site and you fill in a form. Doesn’t matter what is is for. And you submit (everything you entered is OK) and a warning box pops up telling me that everything is send.

First of all why is this a Warning? I mean I know I pressed Send. And besides that if it is a waring they should provide me with contact information on how to get my submission removed.

Now apart from the warning box it could be a message telling me everything is inserted into the database. Let say they have some java script in the background that does that and once everything is inserted it gives the warning (still a warning is wrong but OK). However I checked the source of the site and guess what? All the button does is generate the pop-up after which the stuff is submitted.

Now I’m wondering why people do this? It does not look good, since it is a wrong pop-up box. It does not speed up the process. It is wasting my time. Which in general I do not like.

Leave a Comment :, more...

Bash.org RSS feed

by rullzer on Oct.07, 2008, under Annoying things, Daily news, Linux

I really like bash.org. However there is no RSS feed available for the latest quotes. This makes me sad. However after a 15 minute php session (which was more than enough php for me) it is working.

Checkout my bash.org rss feed. It updates every 15 minutes. Enjoy :)

3 Comments :, , more...

DIY Openstreetmap Slippy map

by rullzer on Aug.31, 2008, under Gentoo, Programming things

It has been long since my last post. Too long. I won’t fill you up on all the things I have done. Or maybe I will in other posts. But today I want to talk about openstreetmap.

As you might (or might not) know openstreetmap aims to provide a free (as in speech) map of the world. You can help by adding or editing the map. This is what I have been doing the last couple of months. Mostly fixing roads or adding new cycleways. Now of course cycling is good exercise. And it feels good to contribute to a free world map. However the real kick is seeing your changes of your work!

This can be seen on the main website. However that is only updated once a week. There are several other tile servers that serve a part of the map. These servers are generally updated more often. However when you use a tile server you are can’t change the rendering. So how great would it be to create your own rendering?

Check out my wiki entry. Of course it is a wiki so add all improvement you can think of.

Leave a Comment :, , more...

A cute little princes

by rullzer on Apr.22, 2008, under Daily news

When browsing trough my photo’s I found this great picture of a collegue of mine :) He’s cute right :)

A cute little princes

Leave a Comment more...

And the blue smurf marches on!

by rullzer on Apr.16, 2008, under Daily news, Party

We got a little bored yesterday after work. And destiny wanted me to find this huge bucket with smurfs. And well one thing led to another.

Smurfs 1

Smurfs 2

Smurfs 3

for more check out the album

1 Comment more...

Wanna go biking?

by rullzer on Apr.15, 2008, under Daily news, Party

Now that is biking :)

In case you get thirsty

Leave a Comment more...

Payback time

by rullzer on Apr.15, 2008, under Party

Over a dozen times he has tied up liltle colleges of mine. But yesterday it was payback time. Enjoy:

Leave a Comment more...

5 gentoo boxes in the building

by rullzer on Mar.29, 2008, under Hardware, Linux

So at my fathers work the pc’s had to be replaced. It took a while since he works at a the CWI a semi goverment thing in the Netherlands. However for a soft price I could get 2 pc’s. Compaq’s. 2Ghz, 256mb RAM. So pretty nice desktop pc’s for my sisters. And well since they are almost identical I can build binary packages on each system and use them on the other.

Now I won’t stop compiling all my pacakges but this gives great advantages If I (might come soon) have to handle some homogenous systems. Since well if they are identical in hardware and you want to do the same stuff of them why not reuse the packages that are already build.

Now with those two computers this brings the total number of computers at my folks at 7. I’m secretly building my own server farm to take over the world in case you are wondering.

Now abut those 7 computers:

  • Desktop downstairs - Running Windows
  • Mothers laptop - Running Windows
  • My old laptop - Running Gentoo
  • Server - Running Gentoo
  • Oldest Sister Computer - Running Gentoo
  • Youngest Sister Computer - Running Gentoo
  • My testbox - Running Gentoo

Now the two windows boxes are in a Domain controled by samba. It works. However the gentoo boxes connect all much easier. Man i love nfs!

Ofcource I have my current laptop which is also running gentoo. So linux is taking over at least over at my folks. I’m guessing it takes only a couple of months before I can confince my dad to move to linux to :) That would be a great day….

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!