Open sourcing a slipnet viewer!

(This page will be updated with further details as soon as soon as possible; I am setting up the repository asap)

Hello world!

After reading this fantastic book and playing with this, I think one good way to proceed is to open-source some parts of a FARG framework which are not at its core, but are extremely useful and everyone could benefit from them.

I’m thinking first about a slipnet viewer. A java class that receives a list of nodes and links, and creates a nice view of the ongoing slipnet at any point in time. A node might consist of its activation levels and a bitmap to display inside the node (sometimes we may want to display something other than a string), while a link might include just the nodes it connects, (perhaps) a direction, and a string (to show up distances and for those with IS-A beliefs). It is a good tool for debugging and for propaganda purposes.

The class would get this information and create another bitmap, now with a beautiful view of the current slipnet: close nodes appear close to each other, distant nodes appear distant, and their activity levels are displayed. From my past life in combinatorial optimization, I have a hunch that this is NP-hard, so we may be resorting to some heuristic that works.

It should be in java, to run in everybody’s machine, and also because everyone knows java and could either make a call to it from their own weirdo language or rewrite the code for their project.

In this initial stage, no windows or anything fancy should be done. Just get the data in and output a bitmap with the slipnet. But if our collaboration works, we could go bigger, triggering a window in a new thread and having a great display running in true parallel style. That would, I think, be a first step that everyone would benefit from.

This is small stuff, of course, but it’s annoying to redo it everyday in every single project. It takes some time to do, and distracts from the core issues. Our productivity will rise. So, as Micheal Roberts once said, instead of having “obsessive geniuses” working under the basement, we should finally stop doing the same things over and over again. We should finally start collaborating like a small research group.

Or as a start-up company.

Advertisements
Explore posts in the same categories: Architecture, Author: Alexandre Linhares, General

2 Comments on “Open sourcing a slipnet viewer!”

  1. Eric N. Says:

    I’ve written my basic workspace and coderack viewers for Musicat, and have a null viewer for the slipnet šŸ™‚ But the good news is that I have a generic “FargViewer” component I inherit from for all my general viewers (I can make “MusicatViewer”s too for thinks like my custom music notation workspace).

    Anyway, with the general FargViewer it’s easy to make the Slipnet thing you’re talking about, although we have to also standardize on a base Slipnet definition for the viewer to work. I have this library called FargCore that holds things like the Slipnet, intended for reuse elsewhere. My version is, of course, in .NET, but it’s the same idea as what you’re looking for I think. However, the viewer based class is actually a .NET component, not simple a bitmap output engine like you suggested. I think there are merits to both ways.

  2. Michael Says:

    The Slipnet viewer should be written in Process, which is a graphics-specific language implemented in Java. I’d be quite interested in looking into that further, actually. (Process can also be made to create videos and still graphics — very powerful system.)

    This could easily be combined with other Slipnet-oriented infrastructure, such as a history storage format, an event-watching protocol, etc. Ideally things like viewers should be implemented once, then reused.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: