[mnet-devel] Allow me to introduce myself...

Zooko zooko at zooko.com
Sat Mar 29 20:12:08 GMT 2003


Heh heh.  Welcome, Rob!

Content Trackers, like most things in Mnet, are in the middle of being 
rewritten.  The old one, inherited from Mojo Nation, is to be found here:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mnet/mnet/server/merchant/ContentTrackerEGTP.py?rev=HEAD&content-type=text/vnd.viewcvs-markup

and here:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mnet/mnet/server/merchant/contentdb.py?rev=HEAD&content-type=text/vnd.viewcvs-markup

That version is currently running in Mnet v0.6.1.

The new one isn't written yet and I don't know if Myers even knows what he wants 
it to look like yet.  The new one is based on mnetURI's, which Myers has *just* 
finished so that now you can run "mnetput" and "mnetget" to put files and get 
them back using their mnetURI.

I often remark that the next version of content trackers is named "blogger", (or 
"google" or something) with some sort of plugin that treats mnetURIs the way it 
treats HTTP URIs...

> In amongst my reading I looked at the Twisted coding standards, and saw a 
> recommendation to use emacs.  I've been a vim user for years

I tried Emacs several times and couldn't get very far, then eventually I tried 
again and did two things: 1. read the built-in tutorial, 2. used VIPER -- the 
VI emulator.  I still use VIPER.  I recommend it!  I'd be happy to give you 
help.

The Python mode in Emacs (I use XEmacs 21.4 from Debian testing) is sweet.  It 
does indentation automatically for you (the "TAB" key doesn't insert a 
character -- it re-indents the current line according to the rules of Python 
indentation).  It has a menu by which you can browse all classes and methods in 
the current file, and click to jump to the definition of that class or method.

The thing I miss most if I have to edit Python code without XEmacs is the syntax 
highlighting.  Here's a screenshot showing the same Python file in XEmacs and in 
vim:

http://zooko.com/vim-python.png
http://zooko.com/XEmacs-python.png

(I suppose if I turned on syntax highlighting in vim then it would look 
moderately better.  Maybe someone who uses vim could supply a screenshot.  The 
file was mnet_new/mnetlib/filesystem/blockwrangler.py.)

--Z



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list