<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for harbourn</title>
    <link>http://www.advogato.org/person/harbourn/</link>
    <description>Advogato blog for harbourn</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Tue, 21 May 2013 05:32:33 GMT</pubDate>
    <item>
      <pubDate>Sun, 13 May 2001 02:31:07 GMT</pubDate>
      <title>13 May 2001</title>
      <link>http://www.advogato.org/person/harbourn/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/harbourn/diary.html?start=0</guid>
      <description>Wow, this is my first entry.  I feel enlightened already :) &lt;br&gt;
Well, it is yet another weekend for me without my car.  It
has been in the shop now for two weeks.  Being trapped in my
house forces me to concentrate on code even harder. &lt;br&gt;&lt;br&gt;

&lt;p&gt; &lt;p&gt; &lt;p&gt; Today I began working on some skeleton code for a simple
filesystem for BSD.  Right now it doesn't do much, but there
are greater plans afoot!  It is not a file storing file
system, but rather a proc style file
system concept.&lt;br&gt;
A month or so ago I wrote a quick and dirty language that
had a pretty impressive symbol table system.  my hopes and
dreams are to integrate that language
with this filesystem.  essentially what this would give you
is a programming environment which could be debugged and or
interacted with from an outside process via a simple file
system interface.  Imagine this senario:&lt;br&gt;&lt;br&gt;
The Following lines of code could be executed by the mangle
interpreter (The little language I mentioned earlier).
&lt;blockquote&gt;&lt;tt&gt;
def string mystring;&lt;br&gt;
mystring="Hello World!";&lt;br&gt;
&lt;/tt&gt;&lt;/blockquote&gt;
Now, at the same time, a seperate process inspects the
programs symbol table via the file system:
&lt;blockquote&gt;&lt;tt&gt;
# cd /mangle/$MANGLE_PID/symboltable/&lt;br&gt;
# ls&lt;br&gt;
mystring&lt;br&gt;
# cat mystring&lt;br&gt;
Hello World!&lt;br&gt;
# echo "Smello World" &amp;gt; mystring&lt;br&gt;
# cat mystring&lt;br&gt;
Smello World&lt;br&gt;
#&lt;br&gt;
&lt;/tt&gt;&lt;/blockquote&gt;
Now, returning back to the mangle interpreter, the session
continues without a burp:
&lt;blockquote&gt;&lt;tt&gt;
print mystring;  #the program prints out "Smello World"&lt;br&gt;
undef mystring;&lt;br&gt;
def number foo;&lt;br&gt;
def ref bar;&lt;br&gt;
foo = 5;&lt;br&gt;
bar -&amp;gt; foo;&lt;br&gt;
&lt;/tt&gt;&lt;/blockquote&gt;
Now back to the file system, we see the new changes:
&lt;blockquote&gt;&lt;tt&gt;
# ls -l /mangle/$MANGLE_PID/symboltable/&lt;br&gt;
rw-r----  root  wheel   foo&lt;br&gt;
rw-r----  root  wheel   bar&lt;br&gt;
# cat foo&lt;br&gt;
5&lt;br&gt;
# cat bar&lt;br&gt;
-&amp;gt;foo&lt;br&gt;
#&lt;br&gt;
&lt;/tt&gt;&lt;/blockquote&gt;
&lt;br&gt;&lt;br&gt;
This is how pathetic I am, I really have nothing better to
do with my time.  I actually love this stuff.  Needless to
say, I am still single.</description>
    </item>
  </channel>
</rss>
