The fruition of some weekend hacking in C#:
WP:FRIEND – A Wikipedia Administrator’s Best Friend
WP:FRIEND is my answer to the deluge of housekeeping duties facing Wikipedia administrators. Faced with weeks-old backlogs of deletions, a tool that makes chores easier and faster is what we need. There are existing editing tools, such as AutoWikiBrowser, but they are not particularly suited for administrator clean-up jobs. I’ve just implemented the deletion of images tagged {{Now Commons}} so far – and there are plenty of bugs to be fixed and functionality to be implemented before I’ll release it publicly – although that’s the eventual goal. Here’s the obligatory plug to DotNetWikiBot for saving me hours of pained debugging (the interaction between the browser and MediaWiki is actually quite complicated, and there is thankfully an effort to provide a clean API, but it’s not quite done). Lesson of the day: don’t reinvent the wheel.
Computational geometry code
Computational geometry looks all nice and dandy on paper – and as usual the devil is in the detail. It has to be the area of computer science where corner/special cases require the most careful handling. And there we have it! After hours of argh, I have code that triangulates! One interesting thing to comment on is that, whilst coding, I stubbed out some parts that I’ll eventually write with .NET library calls (the idea being that I can get to the goal faster) but that turned out to be one of the causes of my headache: e.g. GraphicsPath.IsVisible() has unexpected behaviour. Lesson of the day: write your own code because you know precisely what it does1.
1 or what it’s meant to do at least.
No related posts.
Tags: .net, administrators, computational geometry, mediawiki, triangulation

No comments
Comments feed for this article
Trackback link: http://www.nointrigue.com/blog/2007/04/09/weekend-hacking-and-i-finally-triangulate/trackback/