Monthly Archives: September 2008 - Page 2

DokuWiki and WordPress Integration

I spent the last couple days learning about DokuWiki and integrating it with my wordpress/bbpress installs on muagames.com. I’m finally finished, and the results are quite nice. All three pieces (site/blog, forum, wiki) share one account system – you can log in on one and it automatically logs you into the others, and the wiki takes its user groups and permissions from your wordpress settings. On the flip side, it introduces all the wordpress overhead to the wiki, but it’s worth it in my opinion.

I got it all set up this morning and already somebody wanted help doing the same. I wrote up the custom dokuwiki authentication module and a nice set of instructions, and now he is up and rolling too. I decided it would be helpful for others if I posted it all online, and so I did.

DokuWiki + WordPress Integration

It works on the latest version of DokuWiki and at least as far back as WordPress 2.5.1. Give it a try and let me know what you think.

If you set it up on your site, let me know! Maybe we can make a list of sites using it.

MEncoder & Time Lapses

I’ve been working on my time lapse tool for ludum dare for quite a while now. As usual, feature creep became a feature stampede. What started as just synched screen and webcam captures has become a moderately well featured time lapse suite for windows (sorry, I couldn’t find a cross platform webcam lib). I’ll make a complete post and new project page when it is finished.

This post, however, is to help out anyone who ran into the same problem I did with MEncoder. First of all, MEncoder is part of the MPlayer project, and both are incredible pieces of software. If you haven’t looked at them before and do anything with encoding/ripping/using video and sound, go check it out.

After my python solution for encoding movies from a bunch of images fell through, I decided I would just use MEncoder instead. While the docs are insane, this is obviously a problem others have tackled before and I quickly found the long command option for it). However, I did run into some interesting behavior. When MEncode is run from the directory of the image files, everything works. When it is run from a different directory, it still finds the files, counts them up, then hangs and crashes. I have no idea why this happens. I googled and found some other people running into it, but didn’t see any solutions using mencoder itself.

So, captain obvious gave me a hint, and I just use python to change the current working directory (os.chdir) to the image folder, tweaked my mencoder command a bit, and it works. A hack to be sure, but if you’re running into this problem, try that first if you can.

I should work at Google

Those of you who know me are familiar with my constant wishes for my own country. I’m pretty talented at turning any of our problems into a discussion of running your own country as a solution, even if it doesn’t really apply. The biggest problem is and always will be money; it costs a lot to run your own country. I have many many ideas, but one of them was/is to create a fleet of boats and make them really nice on top. We could use hydrogen or wave power, run a desalinization plant, etc. A sister idea to that is to use our country as a data haven to generate income. Outside the jurisdiction of any other country and unlikely to ever become a ‘real’ country, you could make a fair amount of money thumbing your nose at international copyright law and the like. Or you could just be completely legit; not having to pay standard taxes might be enough reason for some people to move their stuff over.

So, one of my friends who has been well subjected to my speeches on the subject linked me this today: http://technology.timesonline.co.uk/tol/news/tech_and_web/the_web/article4753389.ece Apparently google is doing exactly that — not making their own country, but putting data centers on boats in international waters. Apparently they have some patents going and have a good way to use wave power for both electricity and cooling, which is clever. With their billions of dollars, I’m hoping they work out the bugs in the system and make it easier for nobodies like us to take the idea and run (sail?) with it.

Mini LD #3 – Tools

So mini ludum dare #3 is in progress, and the theme is tools. This one isn’t like a normal ludum dare – instead of making games about tools, we’re making tools for making games. I’ve been wasting my time so far, but I finally designed and finished up the GUI for it. Now I just have to write the entire program… :)

Here are some GUI screenshots:

Chronolapse GUI

Chronolapse GUI