Archive for February, 2009

Dasher with keyboard

Saturday, February 21st, 2009

Dasher is basically a way to input textual data using a mouse or other 2D input device. I wonder how effective it would be to use a dasher like algorithm for zooming, but map each section of the map unto one of four keys that could be pressed from the keyboard. It’s definitely something worth trying. It may be faster than using a mouse.

Procedurally Generated Website Layout

Tuesday, February 3rd, 2009

Now, this may be a challenge. How do you procedurally generate a website layout? My current idea is:

  • Start with YUI CSS stuff
  • Add modifications per tag in a smart way (CSS attributes)
  • Genetic algorithm it up

This would be difficult but useful to do.

Debug heavy development

Sunday, February 1st, 2009

It’s funny sometimes how you can spend all day working on some code and all you have to show for it is a handful of new lines of code. That’s how it was today messing with Django contrib comments. I think understand flagging now though.

Django comments comes with the ability to flag comments, flags can basically mean any binary value, approved/unapproved, spamfiltered/unfiltered, etc. The comment view that comes with django comments is for flagging comments for removal. Now, it just flags the comment, if you want the comment to become hidden, you need to add a message listener for flags and have it look through the flag type.

I’ve set all of this up in preparation for retrying djangobayes and commentbayes. Last time I ran into a few exceptions being thrown when there wasn’t a djangobayes database yet, so we’ll see how it goes.

I wonder if I should add the ability to flag/moderate comments in emails, probably a good idea.