Wednesday, 20 June 2012

Mnemosyne 2 finally released

Just noticed there was a new release of Mnemosyne, the spaced repetition flashcard program I use which also happens to be written in Python.  It's ten times larger than the previous version, but at 20 megabytes that's not a big deal.  A quick look suggests that this is due to the inclusion of mplayer and the updated version of QT being used.


There was no information I could locate about the repercussions of installing 2.0 over an existing 1.x installation, so I went ahead and installed it under a different menu and installation directory name.  Either as part of the installation process, or when first run, it located my existing cards and imported them.


The revision interface looks pretty much the same.  The card browsing interface which I didn't screenshot, is much improved however.


There's also new support for synchronisation with mobile devices built in, and a whole range of other more standard features used in the implementation of the new version.  I haven't had a chance to explore these yet, but am looking forward to it.

The older version had support for user authored plug-ins written in Python, which I only used to convert Chinese pinyin numbers to tone marks.  Unfortunately, there's no matching support in the new version yet.  For a long time, it seemed like this was one of those projects where the author had given up on it and was effectively distracted by a never-ending "rewrite".  Glad to see it's not the case.

Sunday, 20 May 2012

Planet MUD-Dev update

One new blog has been added to the aggregator:

Two blogs have died and been removed from the aggregator:
  • Lysator.  An extremely productive developer, inspired me to work on my own MUD.  Kicked off the one he worked on because of politics, presumably the blog has been discarded.
  • Ruby MUD.  This one has been dead a long time I believe.  The link was there in case it came alive.
Updates:

  • This blog.  Turns out it was pointing to the awkward feedburner thing I have stopped using because it got in the way of subscribing to labels.

Frankly it is a miracle the aggregator is working.  Bluehost has changed something and python no longer works in the shell, however the cron script appears to bypass the shell configuration and uses the default Python installation.. and hence things still work.

If you know of any MUD blogs which meet the criteria and are not already here, then please sing out!  Also, if you're involved in any community projects like the Imaginary Realities thing, some blog posts about the progress on a weekly basis might be a good idea.

Wednesday, 25 April 2012

Paint.NET file type plugin development

Paint.NET isn't very well documented in terms of what you need to do to develop a plugin.  And if your plugin is intended to add support for a new file type, rather than add a new image-related effect.. then there's even less information.  Luckily you can download a third-party template and use that as a base.

Ensure the project is set to use the .NET 3.5 framework (mine defaulted to 4.0).  If this is not done correctly, then your plugin will be ignored by Paint.NET.


Copy your compiled DLL from the Visual Studio project build directory to the FileTypes folder within your Paint.NET installation.


And that's pretty much the compile and test (or installation) cycle covered.  Debugging is another matter.  I'm not sure its possible with Visual Studio Express, but I think it is with the full version.  I had to make do with custom message boxes, but it could be worse! :-)