Tuesday, March 01, 2005

Some muttering

I've been off-blog. I know.

Main reason for this: I'm bored. There are several modes for being bored. Sometimes you have nothing to do and no inspiration to do anything. That's really bad. And sometimes, the sheer amount of work you do is so un-interesting, that you still stay bored, although very busy.
That's the state I'm in right now.

PyQLogger had reached the state, where all the fun coding ended, and now the dreadful ton of bugfixing is on my back. But since the interest in the project from outside has went down hill, Xander and me are busy with Real Life (tm) stuff, it just doesn't seem like I'll be able to wrap it up nicely. I know I should, but it became a large project, and handling it alone, with lack of time is really hard.

On other topics:
Lately I've been needing some clone of Google's Desktop Search for Linux. The most serious one seems to be Beagle, and it's REALLY impressive from their demos. Unfortunatly, it works by using DBUS and I haven't been successful in setting it up. That was very discouraging, so I've went to look around and may be try to write my own.
I've took LuPy, which is a partial port of Lucene search engine to Python, and wrapped some classes together. Now I have a full text, fast indexer for my python files. Very nice.
It still looked kinda clumsy to me, so I kept looking around and found this:
Pixies Desktop Search by Matteo Merli. Looks very promising. And although author decided to rewrite the indexer engine (which is very admirable, though hard), it looks like a project that I would be interested to take part in.
I've exchange two mails with the author, and I think i'll get contributing soon.


Yeah. And I love python. Why? Because of this:
Mini TCP server for plain text protocol:

from SocketServer import ThreadingTCPServer, StreamRequestHandler
class ClientHandler ( StreamRequestHandler ):
    def handle(self):
        print "got this from socket: %s"%self.rfile.readline()

server = ThreadingTCPServer ( ('', 7777) , ClientHandler )
server.daemon_threads = True
server.serve_forever()

Now that ROCKS!
Oh. And one last thing, I came across this very nifty Firefox extension called ScrapBook
ScrapBook is a Mozilla / Firefox extension, which helps you to save Web pages and easily manage collections. Key features are lightness, speed, accuracy and multi-language support. Major features are:

  • Save Web page
  • Save snippet of Web page
  • Save linked Web page
  • Organize the collection in the same way as Bookmarks tree
  • Full text search and quick filtering search of the collection
  • Simple Editing of the collected Web page
  • Text/HTML edit feature resembling Opera's Notes

I highly recommend it.