<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for ingvar</title>
    <link>http://www.advogato.org/person/ingvar/</link>
    <description>Advogato blog for ingvar</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Mon, 7 Jul 2008 00:31:03 GMT</pubDate>
    <item>
      <pubDate>Fri, 13 Jun 2008 10:02:57 GMT</pubDate>
      <title>13 Jun 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=277</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=277</guid>
      <description>Another gem (or at least gem-oid).&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; If you use strings to signify system names in ASDF &#xD;
system &#xD;
definitions, it works just fine. However, it seems as if it &#xD;
interacts weirdly with at least some versions of ASDF-&#xD;
INSTALL.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; Due to that, I will be going through my packages and &#xD;
slowly &#xD;
update them to use #:systemname instead of "systemname". On &#xD;
the whole, there won't be much ele updated, though.</description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 12:30:26 GMT</pubDate>
      <title>29 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=276</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=276</guid>
      <description>One of my co-developers raised an interesting point in a &#xD;
mail to the dev mailing list today.&#xD;
&#xD;
&lt;p&gt; How &lt;em&gt;do&lt;/em&gt; other monitoring toosl deal with &#xD;
"configuration for lots of almsot identical objects"? I &#xD;
mean, say you have a really big cluster of (say) linux &#xD;
boxes, where the only difference between them is their name?&#xD;
&#xD;
&lt;p&gt; The current noctool solution is:&#xD;
(cluster ("machine-%d" 1 800)&#xD;
  (machine name linux-host&#xD;
     ... more config here&#xD;
   ))&#xD;
&#xD;
&lt;p&gt; This will generate 800 copies of the (machine ...) config &#xD;
snippet, with the name changed (if you prefer a place-&#xD;
holder other than "name", you can specify another one, it &#xD;
you want a format string suitable for CL:FORMAT, you can &#xD;
have that, too). However, as always, it's interesting to &#xD;
see how other have solved the same problem (or, indeed, not &#xD;
solved it, as the case might be).</description>
    </item>
    <item>
      <pubDate>Wed, 14 May 2008 06:25:42 GMT</pubDate>
      <title>14 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=275</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=275</guid>
      <description>I just built a litte add-on, to help me package things up &#xD;
(see, it seems I occasionally forget that I add files to &#xD;
projects and then they won't get packaged when I tell the &#xD;
project to package itself).&#xD;
&#xD;
&lt;p&gt; From that was born the &lt;a href="http://src.hexapodia.net/&#xD;
asdf-tools.tar.gz" &gt;ASDF-TOOLS&lt;/a&gt; package (designed to work &#xD;
in conjunction with my build-asdf-package shellscript). It &#xD;
has two exposed function calls.&#xD;
&#xD;
&lt;p&gt; ASDF-TOOLS:CHECK-PACKAGE goes through the ASDF system &#xD;
definition and checks that the files specced there exist &#xD;
in .filelist and similarly for any file you explicitly ask &#xD;
to have packaged; differences are printed to *STANDARD-&#xD;
OUTPUT* and if there are files that are needed for building &#xD;
that are unlisted in the packaging file information, the &#xD;
function returns NIL.&#xD;
&#xD;
&lt;p&gt; ASDF-TOOLS:PREPARE-PACKAGE goes through the ASDF system &#xD;
definition and all extra files you specify, then dump this &#xD;
data to .filelist, it also updates the .version file.&#xD;
&#xD;
&lt;p&gt; Obvious extensions from here: An :around method on &#xD;
ASDF:PERFORM that handles the "incorrect FASL version" &#xD;
condition and forces a recompile of the component, then &#xD;
continues. A function that grovels through an ASDF system &#xD;
and deposits a gzipped tarball in the right directory. I &#xD;
have a vague memory of having seen an ASDF component class &#xD;
that is neither compiled nor loaded, if I use that to &#xD;
replace .filelist, I should in principle be able to move my &#xD;
packaging from a unix shell script to lisp code. Neat, in a &#xD;
way.</description>
    </item>
    <item>
      <pubDate>Thu, 8 May 2008 10:12:27 GMT</pubDate>
      <title>8 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=274</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=274</guid>
      <description>I told a lie, unintentionally. There is anon CVS available. &#xD;
There's also a &lt;a href="http://common-lisp.net/cgi-bin/&#xD;
viewcvs.cgi/?cvsroot=noctool" &gt;web-CVS interface.&lt;/a&gt;.&#xD;
&#xD;
&lt;p&gt; So far, I've had a bunch of emailed queries. I haven't &#xD;
responded to all, hopefully I will.</description>
    </item>
    <item>
      <pubDate>Wed, 7 May 2008 09:20:19 GMT</pubDate>
      <title>7 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=273</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=273</guid>
      <description>I don't think I posted about it, at the time. However, &lt;a href="http://common-lisp.net/project/noctool/" &gt;NOCtool&lt;/a&gt; &#xD;
now has a common-lisp.net project thingie. No public CVS at &#xD;
the moment. NOt even tarballs ready to snag. However, it's &#xD;
there and tehre's mailing lists and stuff. If you want to &#xD;
help, give me a shout.</description>
    </item>
    <item>
      <pubDate>Tue, 6 May 2008 08:17:40 GMT</pubDate>
      <title>6 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=272</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=272</guid>
      <description>I found a way of testiung Hunchentoot handlers from the &#xD;
REPL. Unfortunately, it only works with a non-mod-lisp &#xD;
instance. It also relies of having the server instance to &#xD;
be tested in *hunchentoot* (not a problem for me, but you &#xD;
may want to check that). I'll have a rummage through the &#xD;
Hunchentoot source at some point and see if I can get it to &#xD;
work when mod_lisp is involved.&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
(defun hunchentest (uri)&#xD;
  (let* ((hunchentoot:*server* *hunchentoot*)&#xD;
         (hunchentoot:*reply* (make-instance &#xD;
'hunchentoot::reply))&#xD;
         (hunchentoot:*request* (make-instance &#xD;
'hunchentoot::request&#xD;
                                               :uri uri)))&#xD;
    (funcall (essay-dispatcher hunchentoot:*request*)&#xD;
             hunchentoot:*request*)))&#xD;
&lt;/pre&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 5 May 2008 11:01:28 GMT</pubDate>
      <title>5 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=271</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=271</guid>
      <description>Found the problem. Old, stale, flexi-streams installation. &#xD;
Snagging a new one and recompiling meant that (setf flexi-&#xD;
stream-bound) suddently was in existence and my faffing &#xD;
around now works. Thanks for the clues, Robert!</description>
    </item>
    <item>
      <pubDate>Sun, 4 May 2008 17:08:09 GMT</pubDate>
      <title>4 May 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=270</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=270</guid>
      <description>I had planned on doing a quick web-related project, to get &#xD;
started with Hunchentoot, since it seems to be the lisp-&#xD;
based web server of preference. Unfortunately, I seem to be &#xD;
made from fail. I can get it to listen to a port, but I &#xD;
cannot, however much I try, make it send anything back.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; The docs indicate taht if I start the server and then &#xD;
point &#xD;
a browser at it, I should get a short info page back. &#xD;
Unfortunately, all I get is "nothing". I've even whipped &#xD;
out a Wireshark to confirm. Ah, well, maybe it'll be &#xD;
obvious, at some point.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; Of course, trouble-shooting this is a bit more &#xD;
difficult &#xD;
than it could be, since it's a threaded server and it's &#xD;
harder than "trivial" to get tracing and the like to work.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; As and when I get a bit more round tuits, I'll probably &#xD;
go &#xD;
check the hunchentoot mailing list archive, I doubt I'm the &#xD;
first person to run into this.&#xD;
&#xD;
&lt;p&gt; Hmm, looking at this again, the server replies and &#xD;
immediately closes the connection.</description>
    </item>
    <item>
      <pubDate>Wed, 16 Apr 2008 11:31:42 GMT</pubDate>
      <title>16 Apr 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=269</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=269</guid>
      <description>Ooops. Seems I over-wrote the 0.4 version of my &#xD;
&lt;a href="http://src.hexapodia.net/image.tar.gz" &gt;image &#xD;
library&lt;/a&gt;. Not to worry, there's a 0.5 out and the main &#xD;
difference is an added dependency on Xach's &#xD;
&lt;a href="http://www.xach.com/lisp/zpng/" &gt;ZPNG&lt;/a&gt; library &#xD;
and it now has the ability to write PNG files (mainly added &#xD;
because I found myself needing to write an image with 372 &#xD;
different colours and it was easier adding PNG support than &#xD;
to write something that intelligently coerced different &#xD;
pixels together with minimal degradation to image quality).&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I also suspect there's not that many actual users, so &#xD;
the &#xD;
impact should be minimal.</description>
    </item>
    <item>
      <pubDate>Tue, 11 Mar 2008 11:17:31 GMT</pubDate>
      <title>11 Mar 2008</title>
      <link>http://www.advogato.org/person/ingvar/diary.html?start=268</link>
      <guid>http://www.advogato.org/person/ingvar/diary.html?start=268</guid>
      <description>Slight distress. The latest Debian packaging of SLIME+Swank &#xD;
is kinda broken. I prodedd at it this morning, trying to &#xD;
make it behave, but I did (alas) not have great luck.&#xD;
&#xD;
&lt;p&gt; There's two obvious-from-start problems, "directory" is &#xD;
spelled either as "dir" or as "directory". Quite easy toi &#xD;
fix, unfoirtunately, it gets worse from then on. Fix those &#xD;
and yoiu hit a "Package SWANK does not exist". That's &#xD;
because it's defined in the file swank-new.lisp and that's &#xD;
(in the package) not loaded by default. "Oooops".&#xD;
&#xD;
&lt;p&gt; Smack in loading of "swank-new" and "nregex" (load "nregex" &#xD;
first), and you land in more-interesting-problem-land.&#xD;
&#xD;
&lt;p&gt; I'll probably have another look either tonight or tomorrow, &#xD;
as having a non-functional SLIME is oddly crippling (now &#xD;
that I'm used to it). Maybe I should stop grabbing my SLIME &#xD;
from Debian and go back to having it from version control? &#xD;
But, then, I don't &lt;strong&gt;like&lt;/strong&gt; running &#xD;
"infrastructure" from version-control checkouts, it's not &#xD;
nearly as convenient as running it from well-managed &#xD;
packages.&#xD;
&#xD;
&lt;p&gt; Also scribbled together an essay last week, as I was &#xD;
finding the whole "Jimbo Wales is $ADJECTIVE" quite, ah, &#xD;
well, something. Amusing, more than anything else. So, &#xD;
interspersed into last week's training course &#xD;
("Implementing Qos", thanks for asking), I wrote &lt;a href="http://essays.hexapodia.net/wales/" &gt;Behaviour and &#xD;
effects&lt;/a&gt; (Jimbo was, really, just a convenient hook to &#xD;
hang things off of).</description>
    </item>
  </channel>
</rss>
