html update
[clinton/website/site/unknownlamer.org.git] / Code.html
index 25df727..ea8e5a5 100644 (file)
--- a/Code.html
+++ b/Code.html
    <div class="contents">
 <dl>
 <dt>
-<a href="#sec1">UnCommon Web Related</a>
+<a href="#sec1">Common Lisp</a>
 </dt>
 <dd>
 <dl>
 <dt>
-<a href="#sec2">Golgonooza</a>
+<a href="#sec2">UnCommon Web Related</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec3">Golgonooza</a>
 </dt>
 <dt>
-<a href="#sec3">ucw-forms</a>
+<a href="#sec4">ucw-forms</a>
 </dt>
 <dt>
-<a href="#sec4">ucw-core branch</a>
+<a href="#sec5">ucw-core branch</a>
+</dt>
+</dl>
+</dd>
+<dt>
+<a href="#sec6">Trivial-Timers</a>
 </dt>
 </dl>
 </dd>
 <dt>
-<a href="#sec5">Old Projects</a>
+<a href="#sec7">Scheme</a>
 </dt>
 <dd>
 <dl>
 <dt>
-<a href="#sec6">Bobot++</a>
+<a href="#sec8">Guile XOSD2</a>
 </dt>
+</dl>
+</dd>
 <dt>
-<a href="#sec7">Guile-Web</a>
+<a href="#sec9">Old Projects</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec10">Bobot++</a>
+</dt>
+<dt>
+<a href="#sec11">Guile-Web</a>
 </dt>
 </dl>
 </dd>
 page.</p>
 
 <h2><a name="sec1" id="sec1"></a>
-UnCommon Web Related</h2>
+Common Lisp</h2>
 
 <h3><a name="sec2" id="sec2"></a>
-<a href="http://unknownlamer.org/darcsweb/browse?r=golgonooza;a=summary">Golgonooza</a></h3>
+UnCommon Web Related</h3>
+
+<h4><a name="sec3" id="sec3"></a>
+<a href="http://unknownlamer.org/darcsweb/browse?r=golgonooza;a=summary">Golgonooza</a></h4>
 
 <p class="verse">
 Fourfold the Sons of Los in their divisions: and fourfold.<br />
@@ -73,27 +96,61 @@ Yet it is perfect in its building. ornaments &amp; perfection.<br />
 
 <p>Golgonooza is a set of utility components for <a href="http://common-lisp.net/projects/ucw/repos/ucw-core/">ucw-core</a>. As of December
 2008 it is nearing a releasable state and is in use on
-<a href="http://bees-kneesfilms.com">one production site online</a> (<a href="http://unknownlamer.org/darcsweb/browse?r=beesknees;a=summary">darcsweb::beesknees</a> for source)..</p>
+<a href="http://bees-kneesfilms.com">one production site online</a> (<a href="http://unknownlamer.org/darcsweb/browse?r=beesknees;a=summary">darcsweb::beesknees</a> for source).</p>
 
 
-<h3><a name="sec3" id="sec3"></a>
-<a href="http://unknownlamer.org/darcsweb/browse?r=ucw-forms;a=summary">ucw-forms</a></h3>
+<h4><a name="sec4" id="sec4"></a>
+<a href="http://unknownlamer.org/darcsweb/browse?r=ucw-forms;a=summary">ucw-forms</a></h4>
 
 <p class="first">ucw-forms is a slightly enhanced and de-javascripted version of the
 forms library from ucw_ajax updated for use with ucw-core.</p>
 
 
-<h3><a name="sec4" id="sec4"></a>
-<a href="http://unknownlamer.org/darcsweb/browse?r=ucw-core_clinton;a=summary">ucw-core branch</a></h3>
+<h4><a name="sec5" id="sec5"></a>
+<a href="http://unknownlamer.org/darcsweb/browse?r=ucw-core_clinton;a=summary">ucw-core branch</a></h4>
 
 <p class="first">I maintain a personal branch of ucw-core with various work in progress
-patches that are intended to go into upstream. My primary task is
-filling in the ucw-standard library which was removed in the ucw-core
-fork.</p>
+patches that are intended to go upstream. My primary task is filling
+in the ucw-standard library which was removed in the ucw-core fork.</p>
+
+
+
+<h3><a name="sec6" id="sec6"></a>
+<a href="http://unknownlamer.org/darcsweb/browse?r=trivial-timers;a=summary">Trivial-Timers</a></h3>
+
+<p><a href="http://retes.hu/~mega/git/?p=clon.git;a=summary">Clon</a> is a nice library for scheduling tasks within a Lisp image, but
+it used the SBCL timer extension. I wanted to run something using Clon
+on <a href="http://trac.clozure.com/openmcl">Clozure CL</a> and so I looked at the SBCL source and found that, after
+a bit of fairly straightforward editing, it was possible to write a
+portable version for any compiler supporting <a href="http://common-lisp.net/project/bordeaux-threads/">Bordeaux Threads</a>. The
+SBCL timers internally use <code>sb-unix:setittimer</code>; Rather than using
+<a href="http://common-lisp.net/project/osicat/">Osicat</a> to emulate this I chose to rework the scheduling loop to run in
+a dedicated thread that sleeps on a condition variable with a
+timeout. This seems <em>cleaner</em> to me than using POSIX lib calls, but
+requires a threaded Lisp.</p>
 
+<p><a href="http://releases.unknownlamer.org/trivial-timers/">Releases are available</a> with the usual <a href="http://unknownlamer.org/darcsweb/browse?r=trivial-timers;a=summary">darcs repo</a>. Currently there is a
+native SBCL implementation and a portable implementation relying upon
+<a href="http://common-lisp.net/project/bordeaux-threads/">Bordeaux Threads</a>. Patches to export other Lisp implementations' timer
+interface are welcome.</p>
 
 
-<h2><a name="sec5" id="sec5"></a>
+
+<h2><a name="sec7" id="sec7"></a>
+Scheme</h2>
+
+<h3><a name="sec8" id="sec8"></a>
+<a href="http://unknownlamer.org/darcsweb/browse?r=guile-xosd2;a=summary">Guile XOSD2</a></h3>
+
+<p class="first">A simple SWIG based wrapper for <a href="http://www.ignavus.net/software.html">libxosd2</a>. I forked this from
+<a href="https://gna.org/projects/guile-xosd">guile-xosd</a> after the maintainer did not respond to an email with a
+small patch to make the interface nicer. Guile-XOSD2 requires SWIG
+1.3.x and has been tested against the VM branch of Guile. I renamed
+most of the functions to have properly Scheme names.</p>
+
+
+
+<h2><a name="sec9" id="sec9"></a>
 Old Projects</h2>
 
 <p class="first">I used to work on some programs in terrible languages like <code>C++</code> when I
@@ -101,7 +158,7 @@ was a poor misguided youth. I still attempt to respond to bug reports
 and patches for any that are still in use (<em>Bobot++</em> appears to be the
 only one), but they are otherwise not being worked upon.</p>
 
-<h3><a name="sec6" id="sec6"></a>
+<h3><a name="sec10" id="sec10"></a>
 <a href="../code/bobot.html">Bobot++</a></h3>
 
 <p class="first">A fancy little IRC bot that is extensible with Scheme. If you can
@@ -110,7 +167,7 @@ is fairly powerful. <code>dsmith</code> from <code>#guile</code> has a nicely fe
 written on top of Bobot++; if I find time I shall attempt to post the
 source.</p>
 
-<p>There is now a <a href="http://unknownlamer.org/darcsweb/browse?r=bobot++;a=summary">darcs repo</a> available with a few minor changes. I am
+<p>There is now a <a href="http://unknownlamer.org/darcsweb/browse?r=bobot%2B%2B;a=summary">darcs repo</a> available with a few minor changes. I am
 sporadically working to make the internals of the bot fully threadsafe
 so that multithreaded Scheme extensions don't run into issues. I may
 potentially clean up the Scheme interface as well (as it was clearly
@@ -118,7 +175,7 @@ not designed by a Schemer and I was not so well versed in proper style
 in 2002 when I did most of my work on Bobot++).</p>
 
 
-<h3><a name="sec7" id="sec7"></a>
+<h3><a name="sec11" id="sec11"></a>
 <a href="../code/guile-web.html">Guile-Web</a></h3>
 
 <p class="first">A perhaps still useful library of web related utilities for
@@ -153,10 +210,12 @@ hacky as Hell, but the <a href="../code/guile-web-manual.html#SEC6">XHTML genera
     </a>
   </p>
 
-<p class="cke-footer">         To set your mind free you must first just listen
-     Don't waste your life on worthless hate and contradiction
+<p class="cke-footer">unknownlamer: I got a rack.
+Erica: you have breasts?
+unknownlamer: No. A music rack.
+Erica: breasts that sing
 </p>
 <p class="cke-timestamp">Last Modified:
-    December 11, 2008</p>
+    March  2, 2009</p>
   </body>
 </html>
\ No newline at end of file