Posts Tagged ‘Web’

Cumulus plugin for Wordpress

Thursday, June 18th, 2009

In the context of my Hypergraph project, I have been asked whether Hypergraph can be used to show the tags of Wordpress blogs.

To be honest, I don’t think that this would be a good idea. On this page I use the Cumulus plugin by Roy Tanck. This plugin does a good job in visualizing the tags in your blog by distributing the tags on a 3D sphere. It’s easy to use, easy to understand – so if you are looking for some appealing visualisation of your tags, use this plugin and you’re done.

But why don’t I write a wordpress plugin for Hypergraph? First of all I currently don’t have the time ;-) . But apart of that, I don’t think it’s fit for purpose. Hypergraph, like other tools that show trees/graphs using hyperbolic geometry, is strong when there is some exponentially growing graph structure in the background. For example the organisational structure of a company or a class hierarchy are suitable.

However,  this is not the case for blogs: tags are used to loosely group blog entries which are somehow related, but even if we enforce a graph structure based on tags (which I don’t really propose), it won’t work. Of course one could link all entries with the same tag(s). Of course I haven’t conducted something like a field study to analyse a significant amount of blogs in the wild, but I assume that this will just create a lot of clutter, but won’t give additional meaning. Plugins like the mentioned Cumulus plugin circumvent this problem: they show the tags and not the articles, hence reducing the number of entities to show. They also don’t link the tags – even thought this would be some interesting challenge.

This leaves us with two open questions: Is it possible to cluster tags such that some similarity of tags can be established? If this can be done, would this give benefit to the visitor of a blog or another site?

Ideas and comments are of course most welcome.

Ideas for analysing legacy code

Saturday, May 31st, 2008

Basildon Coder wrote about the P.G.Wodehouse method of Refactoring, which reminded me of a graphic I have seen at the Museum of Modern Art in ‘Design and the elastic mind’: Code Profiles by W. Bradford Pailey. A demo how the graphic evolved can be seen on the site of the Whitney Museum.

The basic idea is to have a program on one single page / in one single graphic, which shows the overall structure and density of the program part you are looking at. Bradford Pailey adds an overlay that shows the actual execution path on top of the code.

I wonder whether this idea, which is currently art rather than a programming tool,  can actually be implemented as part of an IDE plugin (I’m thinking of Eclipse as I’m working with Eclipse 99% of my time). 

The code is of course already available in any IDE and profiling data could be obtained from the Eclipse Test and Performance Platform or other profiling tools.

However, it’s not yet clear to me how the interaction between the different classes and packages can be covered. The graphic by Bradford Pailey shows a program that consists of one file only – at least that’s what it looks like.