Friday, August 08, 2003

Thanks to John Wiseman, and of course Nathan Froyd, I can now provide the winning answer (provided that parenthesis count is the criteria):
 (require :sha1) 
(map 'vector #'(lambda (x) (format t "~16R" x))
  (SHA:sha1sum-sequence "It's just data")) 
That last ugly bit is my way of producing a compatible output format in one line of code. dotimes is probably less gratuitous than map.
 (let ((d (SHA:sha1sum-sequence "It's just data")))
  (dotimes (i (length d)) (format t "~16R" (elt d i)))) 
OK, I should probably go do something useful now.
2:59:22 PM  permalink Click here to send an email to the editor of this weblog. 
Oddpost has quietly introduced a news aggregator into their DHTML mail program. One cool thing is that Amazon Book Tracker is in the default list of news sources, but their listing includes a text box where you can enter a search term, which will yield a subscription for that search result. This is really becoming an impressive mail application, with built in Bayesian spam filtering, a news aggregator, and whatever else I haven't found yet. The fact that it's all written in javascript makes it even more impressive. Or scary.
1:28:22 PM  permalink Click here to send an email to the editor of this weblog. 


Stories
DateTitle
1/23/2003 Why XML?
8/13/2002 Resolution for IE and Windows problems
8/10/2002 Supporting VS.NET and NAnt
5/11/2002 When do you stop unit testing?
Contact
jabber: weakliem@jabber.org
YM: gweakliem
MSN: gweakliem@pcisys.net
email: Click here to send an email to the editor of this weblog.
Subscribe to "Gordon Weakliem's Weblog" in Radio UserLand.
Click to see the XML version of this web page.