Eskild Hustvedt

Browser based games

I’ve been spending the day looking at a few browser based games. The ones that I’ve come up with that I’m going to continue playing is Urban Dead which is related to this and Nowhere Else and Beyond. The first one is a undead game where you take the role of a undead or a human (that is likely to turn undead :P) in a city and get a set amount of movement points every day (50 iirc) - the second one is a javascript based fantasy game - which is amazingly well made for a browser game, however has a few grammatical errors here and there, but nothing big. If you’ve got any hints on other games I should try be sure to leave them in a comment to this post, however the game must not require the use of any proprietary software (read: flash or java) - javascript is okay.

Common configuration parser (CCP)

I’ve been thinking about ways to upgrade configuration files lately and I’ve come up with the idea for CCP (common configuration parser). The idea is to take one template file, one old configuration file, one definition file and one mode. To give a better example of how this would work: ccp –type basic –mode rpmnew –template /usr/share/example/config.ccptemplate –oldfile /etc/example.conf This here would tell ccp to work with the configuration type “basic”, in the mode rpmnew (upgrade if a rpmnew file is found), use the template file /usr/share/example/config.ccptemplate and upgrade the old configuration file /etc/example.conf. Settings not found in /etc/example.conf would then be taken from /etc/example.conf.rpmnew. For an even better understanding of the idea lets look at it some more. For example before the upgrade /etc/example.conf could look like this:

# Example configuration file
SystemVersion = 0.1
Mode = public
Extensions = off

/etc/example.conf.rpmnew could look like this: # Example configuration file SystemVersion = 0.1 Mode = private Extensions = on AllowUsers = yes

/usr/share/example/config.ccptemplate could look something like this: # Example configuration file SystemVersion = $CCP::CONF:SystemVersion Mode = $CCP::CONF::Mode Extensions = $CCP::CONF::Extensions AllowUsers = $CCP::CONF::AllowUsers

ccp would read these files and write the new /etc/example.conf as: # Example configuration file SystemVersion = 0.1 Mode = public Extensions = off AllowUsers = yes

More advanced files could be supported by different –type’s. This is still mostly an idea that’s growing in my head but this is the basic thought of it. Quite possibly –template wouldn’t be needed and it would autogenerate a template on-the-fly by using the .rpmnew (or whichever file is the new one - ccp is not rpm specific, it is just one of multiple modes it would be able to run in).

Finally... Victory! :o

Finally the Norwegian government is changing. The socialist side won, of which I am extremely happy. SV, of which I am a member, did not get as many votes as we hoped for, but still I am happy. AP did extremely good, of which I can nothing but congratulate them. Currently it appears that we’re going to get 88 representativse of the left hand side of the politics, and 81 from the right hand side, which after all is a pretty decent result. Finally we’re here, finally there’s change and finally we won. We’re returning to caring about people instead of money.

My thanks go out to all the people in SV, AP and SP that have worked hard to make this happen. You’re all appreciated!

Thank you

The Norwegian election - vote SV

If you live in Norway and are uncertain of what to vote then this might give you a hand. I am a socialist, and a member of SV.

So if you’re uncertain, please think about someone other than only yourself like the right hand side wants you to. There are more important things than cheap gasoline and lower taxes! Think about those that need healthcare, think about the children attending schools, think freedom and think peace.

Do you want to see children shut into a religious school where all they get is that there is nothing but one religion? Don’t you want children to see, to think and make their own opinions? Allow them to THINK for themselves, allow them to get better public schools that are not falling apart! Care about our elderly, we need more people nursing and helping them. They deserve a good offer for free public healthcare so that they can have the life they deserve. We need to support peace, not war. We must stop supporting the USA in their random wars, we need to support peace. Let’s get our troops out of Iraq and show them that we don’t support the murder of many people. One murder is a tragedy, and those responsible need to be put to trial so that we can have justice, right? Then why is not the murder of houndreds of innocents by american troops a tragedy?! Why don’t we put them to justice? Why do we support them? Would you give a weapon to a murderer? Ofcourse not! So let’s stop giving the murderer people to help him kill!

Norway needs to be independant of the EU, we need our own voice! Let’s not join this horror that is the european union, this that is turning into a second USA. We don’t need the united states of europe. We don’t need a european army! We don’t need a more free market! The world is not about money, it is about people and it is about life. This life may be human life, it may be animals. Whatever the life is we need to protect them. We need the nature, and we need animals. Let’s protect them! Because these days animals need protection, from what? FROM US. We are their enemies, we are the ones cutting down their home, burning it, killing them and using them as coats! We’re the ones that go into the forrest with a gun to kill a few animals for fun. Killing is a sport! When a human kills ten animals it’s sport. When one animal kills one human as self-defence it is slaughter and the animal must be killed immedietly. We need to protect the animals, and we need to live in peace with the world, ourselves and mother nature.

If these arguments did not catch your fancy, or you just plainly skipped them then I’m saving one more thing. Since you’re reading my blog you likely care about software freedom right? SV is going in for creating the worlds first government funded program for authors of open source software. They want to use more free software in the government and they want to take care of our privacy. We don’t need big brother, he doesn’t need to see us! They want to make it obligatory for the government to use open standards. You can find more information here.

If you’re still uncertain you can find more information on Sosialistisk Venstreparti’s website. For those of you interested but don’t know Norwegian, you can find some information on wikipedia and SV’s English information website.

Good luck, good election!

I knew GFSGL was amazing but...

this is a bit much: [0 zerodogg@drizzt shared]$ file /home/zerodogg/.gfsgl/CVS/debug.log /home/zerodogg/.gfsgl/CVS/debug.log: Apple Old Partition data block size: 21331, first type: ., name: nd:hashall:interactive-comments, number of blocks: 1852403303,

I didn’t know it could create an entire partition out of a logfile.

In other news GFSGL version 0.91.0 (stable) has been released :).

gmDB ported to gtk2 :)

I’ve just uploaded a screenshot of gmDB ported to GTK2 (a screenshot of the old GTK1 interface is available here). I got alot of help from Chong Kai Xiong, on of the developers of Beep Media Player and there is no way I could have ported it to gtk2 this fast without the help hehe. It also has a standard GTK2 error dialog for things that previously would only be echoed to stdout now (still echoed to stdout too). The code has been cleaned up and now compiles without warnings on gcc4. Perhaps it’ll be ready for a alpha or beta release soon :o.

School is over

…not officially this time either though. Tomorrow we have a «study day», which is just my schools excuse of giving us a day off without actually calling it a day off. then on Wed-Thu I’m going to be in Oslo for the OOo meeting. I’m suppose to go to school on Friday but I’m going to take a «study day» (ie. a day off) that day :), since there is absolutely no point at all in going. Then on Monday we’re suppose to be there 2-4 hours, hopefully it won’t be long. So in practice school is over for now. I really need this vacation, and I’m probably going to get to do a bit of Mandriva packaging this summer too in addition to the OOo work. I just got developer (read not write) access to beep-media-players CVS too :)

Right now I’ve got a really cute cat lying on my lap, it’s a young one, so it’s quite tiny, currently sleeping but it’s been most playful all day, it’s an orphan so a friend of mine is «raising» her (to put it like that). Nice kitty :)

Webpage up

I finally got around to creating a webpage (mind you I am no web designer). It’s available at http://zerodogg.iamaturtle.org/. Theres not too much content there right now (except in Norwegian) but that’s coming.

The page has all of my notes from this year of school available (in Norwegian) under a creative commons license, thus hopefully perhaps aiding some student of the same thing next year! I had planned all along to make the notes available once the school year ended, now it’s over so they are available, hopefully I’ll be able to do this once the next schoolyear is over too.