stillhq.com : Mikal, a geek from Canberra living in Silicon Valley http://www.stillhq.com The life, times, travel and software of Michael Still en Copyright (c) Michael Still 2000 - 2006 blosxom simplerss20 v20050208hh 180 http://blogs.law.harvard.edu/tech/rss Customisation of visible posts /site Sat, 05 Jul 2008 22:42:00 GMT It occurred to me today that its not too hard to hide categories of posts on the HTML version of my site as well. The site has now been changed to have a link at the top of each post which offers to hide that category in the future. If that category is already hidden, then it offers instead to unhide it. The preference information is stored in a series of cookies, so is of course specific to a browser on a given machine. Because its all done in JavaScript, I have no logging of who is hiding what or anything like that. The cookies will expire after 30 days of non-use. <br/><br/> Posts are never completely hidden however -- you will still see the title. This seemed a reasonable compromise and left me with somewhere to display the link offering to unhide the content. It also gives people a very brief summary of what they are missing. <br/><br/> One wart is that when you change your hiding preferences the page is reloaded. This is because I had trouble finding a way to hide divs which worked on plenty of browsers and didn't require unique div ids for each post, which I would need to them iterate through for all posts in a given category. I'd love it if someone with higher JavaScript foo could tell me how to avoid the page reload, as I am sure it will be annoying for some. <br/><br/> So there you go. <br/><br/><i>Tags for this post: site(<a href="http://www.stillhq.com/site"><img src="http://www.stillhq.com/favicon.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/site/000097.commentform.html">Comment</a> http://www.stillhq.com/site/000097.html http://www.stillhq.com/site/000097.html Site janitorial stuff /site Thu, 03 Jul 2008 17:02:00 GMT So, this whole <a href="http://www.stillhq.com/blather/000002.html">kerfuffle</a> about microblogging <a href="http://www.stillhq.com/blather/000003.html">prompted me to hack the perl I use to generate this site</a> to provide a <a href="http://www.stillhq.com/index.noblather.rss20">blather-free version of my RSS feed</a>. As a side effect I fixed a bug which was generating too many versions of the various RSS files I have on the site, thus removing 11,000 unneeded RSS files. That seemed like a lot to me (although not a lot of disk, just a lot of small annoying files). <br/><br/> There is of course the possibility that I removed too many, or broke something else in the process. Let me know if you notice anything. <br/><br/><i>Tags for this post: site(<a href="http://www.stillhq.com/site"><img src="http://www.stillhq.com/favicon.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/site/000096.commentform.html">Comment</a> http://www.stillhq.com/site/000096.html http://www.stillhq.com/site/000096.html Historical revisionism /site Fri, 04 Jan 2008 12:26:00 GMT Hi. I am dropping the technorati and icerocket tags from all blog posts here. Both sites seem largely irrelevant now, and I'm not so fond of how these forms of tagging give those two sites lots of incoming links. This change will affect all posts both past and future, because of the way this site is generated. You should notice the tags go away over the next hour or so. <br/><br/><i>Tags for this post: site(<a href="http://www.stillhq.com/site"><img src="http://www.stillhq.com/favicon.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/site/000095.commentform.html">Comment</a> http://www.stillhq.com/site/000095.html http://www.stillhq.com/site/000095.html I do delete comments, but only some /site Sun, 08 May 2005 10:06:00 GMT <a href="http://www.ensight.org/archives/2005/05/07/i-dont-delete-comments/">Jeremy says he deletes some blog comments (spam and so forth)</a>, while <a href="http://radio.weblogs.com/0001011/2005/05/06.html#a10012">Scoble says he deletes none but has anti spam technology</a>. I delete spam (all comments go to me for approval first), but that is all I remove. I haven't had to deal with hate speech yet, so I don't really know what I'll do about it if it happens. <br/><br/><i>Technorati tags for this post: <a href="http://technorati.com/tag/site" rel="tag">site</a> <a href="http://technorati.com/tag/blog" rel="tag">blog</a> <a href="http://technorati.com/tag/comment" rel="tag">comment</a> <a href="http://technorati.com/tag/policy" rel="tag">policy</a> </i> <a href="http://www.stillhq.com/site/000094.commentform.html">Comment</a> http://www.stillhq.com/site/000094.html http://www.stillhq.com/site/000094.html Sorry for futzing with the RSS feed so much recently /site Sat, 02 Apr 2005 08:04:00 GMT I want to get my RSS feed just right for some stuff I have lined up for a couple of weeks from now. To do that I needed RSS 2.0, enclosures, commenting, and more posts in my feed. All of that is done now and I think I'm pretty much ready to go... Sorry for any inconvenience. <br/><br/><i>Technorati tags for this post: <a href="http://technorati.com/tag/site" rel="tag">site</a> <a href="http://technorati.com/tag/rss" rel="tag">rss</a> <a href="http://technorati.com/tag/feed" rel="tag">feed</a> </i> <a href="http://www.stillhq.com/site/000093.commentform.html">Comment</a> http://www.stillhq.com/site/000093.html http://www.stillhq.com/site/000093.html Comments turned on! /site Mon, 28 Mar 2005 12:40:00 GMT Well, it's more that I've written code to implement them now. After listening <a href="http://redcouch.typepad.com/weblog/2005/03/corporate_blog__3.html">to Robert Scoble's couch</a>, I've finally gotten around to writing the code to implement comments here. I wrote custom code because the site is generated statically to help handle the load, and it was easier this way. <br/><br/><i>Technorati tags for this post: <a href="http://technorati.com/tag/site" rel="tag">site</a> <a href="http://technorati.com/tag/blog" rel="tag">blog</a> <a href="http://technorati.com/tag/comments" rel="tag">comments</a> </i> <a href="http://www.stillhq.com/site/000092.commentform.html">Comment</a> http://www.stillhq.com/site/000092.html http://www.stillhq.com/site/000092.html New site look and feel /site Sat, 11 Sep 2004 09:34:00 GMT So, welcome to the new site look and feel. I've transitioned to generating the entire site via Blosxom as a bit of an experiment. We'll see how we go. There are quite possibly broken links still -- I'm running a link validator as we speak which will help me fix those... <a href="http://www.stillhq.com/site/000091.commentform.html">Comment</a> http://www.stillhq.com/site/000091.html http://www.stillhq.com/site/000091.html Panda 0.5.4 released /site Thu, 15 Apr 2004 12:04:00 GMT <i>(Evan has taken over maintaining Panda, although I will be dropping in from time to time to add code still)</i> <BR><BR> <pre> Subject: [panda-development] Panda-0.5.4 Released Date: Monday 12 April 2004 11:28 pm From: Evan Nemerson <evan@coeus-group.com> To: panda-development@lists.sourceforge.net, panda-users@lists.sourceforge.net Hi everyone, I've just released Panda-0.5.4 via Savannah and SourceForge. I will make an announcement via Freshmeat as soon as the files are available via stillhq.com The release can currently be downloaded from: https://savannah.nongnu.org/projects/panda http://www.sourceforge.net/projects/panda As you may already be aware, the most important change in 0.5.4 is that the library is now available under the terms of either the GPL or LGPL (your choice). In order to accomplish this, the TDB code was removed, and either Enlightenment DB or Berkeley DB (version 4) must be linked to in its place. Other changes include the addition of link annotations (internal and external), pkg-config support, and an RPM. The main point of this release, however, was the licensing issue. The time has begun to begin thinking about the next release of Panda, and though I do not have a time frame, I do have a few features I'd like to implement: * Improved font handling, using FreeType. I would like to be able to embed and use arbitrary fonts, supporting line and page wrapping of text boxes. * Support XMP metadata, noteably Creative Commons licensing data. * Bindings for different languages, such as PHP, Python, etc. * Comprehensive documentation, using DocBook XML * Stronger Windows support If you have any other ideas you would like to see integrated within the library, please send a message to panda-development@lists.sourceforge.net </pre> <BR><BR> The files for this release can be found at: <BR><BR> <ul> <li><a href=/panda/source/panda-0.5.4.tar.bz2>panda-0.5.4.tar.bz2</a> <li><a href=/panda/source/panda-0.5.4.tar.bz2.sig>panda-0.5.4.tar.bz2.sig</a> <li><a href=/panda/source/panda-docs-0.5.4.tar.bz2>panda-docs-0.5.4.tar.bz2</a> <li><a href=/panda/source/panda-docs-0.5.4.tar.bz2.sig>panda-docs-0.5.4.tar.bz2.sig</a> <li><a href=/panda/source/panda-noexamples-0.5.4.tar.bz2>panda-noexamples-0.5.4.tar.bz2</a> <li><a href=/panda/source/panda-noexamples-0.5.4.tar.bz2.sig>panda-noexamples-0.5.4.tar.bz2.sig</a> <li><a href=/panda/packages/panda-0.5.4-1.i586.rpm>panda-0.5.4-1.i586.rpm</a> <li><a href=/panda/packages/panda-0.5.4-1.i586.rpm.sig>panda-0.5.4-1.i586.rpm.sig</a> <li><a href=/panda/packages/panda-devel-0.5.4-1.i586.rpm>panda-devel-0.5.4-1.i586.rpm</a> <li><a href=/panda/packages/panda-devel-0.5.4-1.i586.rpm.sig>panda-devel-0.5.4-1.i586.rpm.sig</a> </ul> <a href="http://www.stillhq.com/site/000090.commentform.html">Comment</a> http://www.stillhq.com/site/000090.html http://www.stillhq.com/site/000090.html Announcing the first version of mcachefs /site Wed, 17 Mar 2004 21:03:00 GMT mcachefs is a simple caching filesystem for Linux using FUSE. It works by copying the file that you asked for when the file is opened, and then using that copy for all subsequent requests for the file. This is really a fairly naive approach to caching, and will be improved in the future. It's good enough for now though. <BR><BR> mcachefs needs two filesystems to operate. The target filesystem is the slow filesystem you want to cache accesses to, and the backing filesystem is where mcachefs can stash stuff which it has copied. The backing filesystem should therefore be on local disc, or the whole point of the exercise is gone. <BR><BR> It is also assumed that the target filesystem is read only for now. <BR><BR> <b>Installing:</b> <BR><BR> You'll need FUSE, so your best bet is to go up a directory level, and then type: <BR><BR> <pre> ./configure make make install </pre> <BR><BR> (That last step needs to be done as root of course). <BR><BR> <b>Using:</b> <BR><BR> mcachefs looks for a config file to determine where the target and backing filesystems are located, as well as a debugging verbosity level. mcachefs looks in the following locations for it's config file (in this order): <ul> <li> /etc/mcachefs <li> ~/.mcachefs <li> `pwd`/mcachefs.cfg </ul> The format of the config file is something along the lines of: <BR><BR> <pre> /cache/backing /backing /cache/target / /cache/verbose 99 </pre> <BR><BR> Note that the two columns <i>must be separated by tabs</i> for the config file to parse properly. This config section above says that we have a cached filesystem to mount at /cache. The backing store is /backing, the target store is /, and we want to be _very_ verbose. Lower numbers are less verbose. Please note that being very verbose might help with debugging mcachefs, but _will_ slow down the filesystem. <BR><BR> You can now mount the cached filesystem but doing a: <BR><BR> <pre> mcachefs /cache </pre> <BR><BR> This program wont terminate... If you kill it, the filesystem will unmount. Don't do that. Use umount instead. I have making mcachefs daemonise on the todo list, so don't bother reporting it as a bug please. <BR><BR> <b>Known bugs:</b> <BR><BR> The only known bug at the moment is that if the program which is opening a large file terminateds before the cached copy has been generated, then a bus error occurs in mcachefs. I'm looking into that now. <BR><BR> <b>So, I came up with this great patch:</b> <BR><BR> Email me at mikal@stillhq.com <BR><BR> <b>New code?</b> <BR><BR> You can find the latest version of the code at <a href="http://www.stillhq.com/extracted/fuse">http://www.stillhq.com/extracted/fuse</a>, and <a href="http://www.stillhq.com/extracted/fuse.tgz">http://www.stillhq.com/extracted/fuse.tgz</a> <a href="http://www.stillhq.com/site/000089.commentform.html">Comment</a> http://www.stillhq.com/site/000089.html http://www.stillhq.com/site/000089.html aus-dotnet list archives /site Wed, 17 Mar 2004 07:03:00 GMT So, there's an Australian list for dotNet developers, but I couldn't find an archive of it. <a href="/cgi-bin/getpage?area=aus-dotnet">So I made one</a>. The archive isn't updated in real time at the moment, but it's good enough for searching and stuff like that. <a href="http://www.stillhq.com/site/000088.commentform.html">Comment</a> http://www.stillhq.com/site/000088.html http://www.stillhq.com/site/000088.html Read about my Christmas lights /site Sun, 07 Dec 2003 22:00:00 GMT Which this year include a Tux <a href="/cgi-bin/getpage?area=christmas">made out of fairy lights</a>. <a href="http://www.stillhq.com/site/000087.commentform.html">Comment</a> http://www.stillhq.com/site/000087.html http://www.stillhq.com/site/000087.html Panda is now available under the GPL and the LGPL /site Mon, 01 Sep 2003 00:00:00 GMT The next release of Panda, which is imminent, is released under both the GPL, and the LGPL, which will make it much easier for some users to use the code... <a href="http://www.stillhq.com/site/000086.commentform.html">Comment</a> http://www.stillhq.com/site/000086.html http://www.stillhq.com/site/000086.html Mandocs for linux 2.6.0-test3-bk1 /site Thu, 14 Aug 2003 00:00:00 GMT I have submitted a <a href="/linux/patches/2.6.0-test3-bk1/terseman-001">patch</a> which changes the man page output for the <i>mandocs</i> target in the kernel. <a href="/linux/mandocs/2.6.0-test3-bk1/">Sample output is here</a>. <a href="http://www.stillhq.com/site/000085.commentform.html">Comment</a> http://www.stillhq.com/site/000085.html http://www.stillhq.com/site/000085.html Mandocs included in linux kernel 2.6.0-test3 /site Mon, 11 Aug 2003 00:00:00 GMT The mandocs patch from myself has been included in kernel 2.6.0-test3. Sample man pages are <a href="/linux/mandocs/2.6.0-test3/">here</a>. <a href="http://www.stillhq.com/site/000084.commentform.html">Comment</a> http://www.stillhq.com/site/000084.html http://www.stillhq.com/site/000084.html Command line image procesing article <a href=&quot;http://developers.slashdot.org/developers/03/07/17/1459233.shtml?tid=106&tid=152&tid=185&quot;>Slashdotted</a> /site Sun, 20 Jul 2003 00:00:00 GMT <table WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"><tr><td VALIGN="TOP" BGCOLOR="#336699"><img SRC="//images.slashdot.org/slc.gif" WIDTH="13" HEIGHT="16" ALT="" ALIGN="TOP"><font FACE="arial,helvetica" SIZE="4" COLOR="#FFFFFF"><b>Graphics Tricks from the Command Line</b></font></td> </tr></table> <table ALIGN="RIGHT"><tr><td ALIGN="RIGHT"> <a HREF="http://developers.slashdot.org/search.pl?topic=152"> <img SRC="//images.slashdot.org/topics/topicgraphics3.gif" WIDTH="69" HEIGHT="62" BORDER="0" HSPACE="20" VSPACE="10" ALT="Graphics" TITLE="Graphics"></a><br> </td></tr></table> <b>Posted by <a HREF="mailto:michael@NoSpam.slashdot.org">michael</a> on Thursday July 17, @11:36AM</b><br> <font SIZE="2"><b>from the thumbnails-galore dept.</b></font><br> An anonymous reader writes <i>"There's nothing quite like command-line tools for handling large batches of tasks, and image manipulations are no exception. Web developers and administrators will appreciate the ability to handle large numbers of files easily, either at the command line or in scripts. This article <a HREF="http://www-106.ibm.com/developerworks/linux/library/l-graf/?ca=dgr-lnxw01ImageMagick">presents the ImageMagick suite</a>, a Linux toolkit for sizing, rotating, converting, and otherwise manipulating images, in a huge number of formats, whether one or a hundred at a time."</i> <BR><BR> And before you ask, no, I'm not the anonymous reader... <a href="http://www.stillhq.com/site/000083.commentform.html">Comment</a> http://www.stillhq.com/site/000083.html http://www.stillhq.com/site/000083.html usblogdump Released /site Sat, 28 Jun 2003 00:00:00 GMT In the words of the annoucement email: <ul><pre> To: linux-usb-devel@lists.sourceforge.net cc: linux-kernel@vger.kernel.org Subject: [Announce] Linux command line Snoopy Pro logfile dumper I had two maths exams last week. This of course means that I had to find something to distract me. That thing was whipping up a SnoopyPro logfile dumper for the command line. This was motivated by generalised frustration with the SnoopyPro user interface. For those wondering, SnoopyPro is a Source Force hosted USB traffic dumper for Windows. It's useful when reverse engineering USB device drivers. This version of the dumper only implements the URB types which I immediately needed. Adding additional URBs isn't hard, but I didn't have any samples. Feel free to mail me usblogs, and I'll add them to the decoder. The only really cool feature in this version is that it implements "repeated URB sequence suppression", so if the Windows driver says to the USB device "hey, you still there" every second for 60 seconds, and there is no other traffic between the machine and that device, then the output will only show one of those interactions, and let you know it hid 59 more. This feature can be turned on and off with the -r command line option. You can get the GPL'ed CVS version of the source code from: <a href="http://www.stillhq.com/extracted/usblogdump.tgz">http://www.stillhq.com/extracted/usblogdump.tgz</a> There is sample output et cetera at: <a href="http://www.stillhq.com/cgi-bin/getpage?area=usblogdump">http://www.stillhq.com/cgi-bin/getpage?area=usblogdump</a> The next step is to modify the display of the URBs so that they're closer to the Linux data structures. Cheers, Mikal -- Michael Still (mikal@stillhq.com) | Stage 1: Steal underpants http://www.stillhq.com | Stage 2: ???? UTC + 10 | Stage 3: Profit </pre></ul> <a href="http://www.stillhq.com/site/000082.commentform.html">Comment</a> http://www.stillhq.com/site/000082.html http://www.stillhq.com/site/000082.html PandaScript 0.5 Released /site Tue, 10 Jun 2003 00:00:00 GMT PandaScript 0.5 has been released. PandaScript 0.4 was skipped to keep the version numbers inline with <a href="/cgi-bin/getpage?area=panda">Panda</a>. The cool bit about this release is that PandaScript is now automatically generated by <a href="/cgi-bin/getpage?area=objectify">Objectify</a>, which means it should always be up to date with the latest Panda version. You can download the latest source from <a href="/pandascript/source/pandascript_0_5.tgz">here</a> and a signature from <a href="/pandascript/source/pandascript_0_5.sig">here</a>. <a href="http://www.stillhq.com/site/000080.commentform.html">Comment</a> http://www.stillhq.com/site/000080.html http://www.stillhq.com/site/000080.html Objectify 0.3 /site Tue, 10 Jun 2003 00:00:00 GMT Objectify 0.3 can now generate command line interfaces based on a flex lexer, and a yacc grammar. Sorta cool. You can grab the sourcecode from <a href="/objectify/source/objectify_0_3.tgz">here</a> and a signature from <a href="/objectify/source/objectify_0_3.sig">here</a>. <a href="http://www.stillhq.com/site/000081.commentform.html">Comment</a> http://www.stillhq.com/site/000081.html http://www.stillhq.com/site/000081.html Panda 0.5.3 Release /site Thu, 29 May 2003 00:00:00 GMT This version has heaps of bug fixes, as well as a compilation fix. <BR><BR> <a href="/panda/source/panda_0_5_3.tgz">Source</a> (with examples) (<a href="/panda/source/panda_0_5_3.sig">signed</a>)<BR> <a href="/panda/source/panda_noexamples_0_5_3.tgz">Source</a> (without examples) (<a href="/panda/source/panda_noexamples_0_5_3.sig">signed</a>)<BR> <a href="/panda/source/panda_windows_0_5_3.tgz">Source</a> (with MS Windows stuff) (<a href="/panda/source/panda_windows_0_5_3.sig">signed</a>) <B>Quite big</b><BR> <a href="http://www.stillhq.com/site/000078.commentform.html">Comment</a> http://www.stillhq.com/site/000078.html http://www.stillhq.com/site/000078.html mandocs and mandocs_install /site Thu, 29 May 2003 00:00:00 GMT This is the announcement email I sent to LKML: <pre> Hey, this patch adds two new targets to the 2.5 makefiles -- mandocs, and mandocs_install. The targets require two new perl scripts in the scripts/ directory, but in return we get a series of man pages for kernel functions, which are installed in man section 9. This is a good thing, as many programmers expect documentation to be available with man, and hunting through various PS or PDF documents to find the documentation for the function you want can be quite frustrating. The man pages are just extracted from the various existing DocBook SGML documents, which are generated by kernel-doc. You also need to have docbook2man installed on your machine. Note that the two scripts (makeman and split-man) need executable permissions, and I couldn't work out how to make this happen in a mere diff. Also please note the formatting is not perfect, but I will tweak other stuff later with further patches -- this is just an initial implementation. Sample output (HTMLised) can be found at http://www.stillhq.com/linux/mandocs/2.5.70/ Linus, please consider applying. Thanks, Mikal </pre> The patch can be found <a href="/linux/patches/2.5.70/mandocs-001">here</a>, and the sample output is <a href="/linux/mandocs/2.5.70/">here</a>. <a href="http://www.stillhq.com/site/000079.commentform.html">Comment</a> http://www.stillhq.com/site/000079.html http://www.stillhq.com/site/000079.html