When will the Haskell community finally get their act together

Matthias Radestock wrote “…and produce a usable package system? The absence of a standardised and user-friendly mechanism to package & distribute libraries, and to locate and install such libraries has been a major stumbling block in the adoption of non-mainstream programming languages for a long time. I wrote about it [here](https://www.lshift.net/news.20030928lispconference.html) in the context of Scheme. Haskell is…”

xxexpr.ss – an SXML-to-XML converter

Tony Garnock-Jones wrote “The SSAX XML parsing- and processing-library provides robust, high-quality XML reading tools for Scheme, but doesn’t include a general purpose XML writer. Over the past couple of years, a few of my projects have had a need to convert SXML-like data to an XML 1.0 external representation, and so I’ve written a portable SXML-to-XML printing…”

A SRFI-10-style extension to JSON

Tony Garnock-Jones wrote “Background The data language JSON is a great replacement for XML for many applications. It’s very similar in spirit to Lisp and Scheme S-expressions, as well as to XML: it is a pure data language, with no intrinsic semantics. XML doesn’t allow direct literal representation of any data types other than strings and XML nodes…”

Continuation-Passing Style in Javascript

Tony Garnock-Jones wrote “As part of my recent experiments with Javascript, I happened to want a sleep function. Interestingly, there isn’t one available in browser-side Javascript environments – instead, there are four functions setInterval clearInterval setTimeout clearTimeout and they take functions to call after a certain number of milliseconds have gone by. This leads to programming in continuation-passing…”

By Alex Proimos from Sydney, Australia (Small Talk) [CC BY 2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons

Simple AJAX (with JSON) Chat Application for ASP 3.0

Tony Garnock-Jones wrote “The code in this package (not only a snapshot, but also a darcs repository) was originally developed for two reasons: for use in teaching a course in Javascript as part of a guest lecture series for the University of Westminster, and as a consequence of my personal interest in experimenting with modern client-server programming techniques.…”

pregexp over streams, and other random hackery

Tony Garnock-Jones wrote “Over at eighty-twenty I recount a couple of recent random excursions into various bits and pieces of code. Besides those developments, I also spent some time on Sunday morning modifying Dorai Sitaram‘s pregexp version 20050502 to operate over streams as well as strings, so that I could use it for lexing arbitrary character sources (for…”

MonetDB for Everybody

Matthias Radestock wrote “Is it just me, or should everybody be using [MonetDB](http://monetdb.cwi.nl/), instead of whatever database they are currently wrestling with? The feature list is impressive: fast, runs on everything, SQL and XQuery support, open-source. There are some [limitations](http://homepages.cwi.nl/~mk/MonetDB/When-not-to-consider-MonetDB.html), but overall this looks like a very impressive product.”

Transactions Everywhere

Matthias Radestock wrote “In an [interview](http://www.ddj.com/documents/s=9776/ddj1126793370067/vb9.htm) about the future of Visual Basic 9, Erik Meijer makes the following prediction: > We will use transactions everywhere; in-memory, database, XML, everywhere. We will have one way for dealing with concurrency. This statement is made in the context of talking about Software Transactional Memory, and the concurrency control mechanisms one can…”

XML tunnel-vision

Michael Bridgen wrote “In Ant 1.6, properties can be written in XML files. Can someone tell me why <property name="some.property" value="some.value"/> is more desirable than property.name=some.value ? Update The import feature is what’s new in Ant 1.6 that makes this usage possible. So, the answer is, “because you can conditionally set properties in the imported files” (rather than…”

Understanding “Understanding Brute Force”

Paul Crowley wrote “D J Bernstein's draft paper Understanding Brute Force argues that the way we currently measure the cost of cryptanalytic attacks is highly misleading. The paper is a good example of Bernstein's unconventional style, and mixes quite informal writing with very formal and precise descriptions of cryptanalytic methods and costs. Though his conclusions are correct, I think he hasn't quite put his finger on how people have come to be misled in the past, so I shall have a go here at arguing what I think is the same point in different words. ”

The Ashes

Michael Bridgen wrote “Stuart ran an RF cable up from the riser downstairs so we can have the last, deciding day of the Ashes Tests shown through the projector in our meeting room. Exciting!”

Spring-loaded Zooming UI

Tony Garnock-Jones wrote “The fancy new mouse Apple are selling has a neat hardware feature: squeezing the sides together acts like a button click (on some nth button). They combine it, by default, with a kind of okayish software feature: squeezing the new button shows the dashboard until you stop squeezing. Looking at CellDesigner‘s “bird’s eye view” feature…”

JSON for MzScheme, and a Portable Packrat Parsing Combinator library

Tony Garnock-Jones wrote “I’ve taken my Scheme Packrat Parser library, ported it to MzScheme, documented it, and implemented a JSON reader-writer library on top of it. The code is all available under the MIT license. A darcs repository is available at https://www.lshift.net/~tonyg/json-scheme/, or you can grab a snapshot tarball including a PDF version of the documentation. $ darcs…”

How hard can it possibly be?

Tony Garnock-Jones wrote “Using Squeak over recent months, I’ve found myself wanting to move windows back and forth between various projects occasionally. (Projects in Squeak are a kind of hierarchical multiple-desktop setup, where subprojects of a project are displayed as thumbnails in little windows on the desktop, which when clicked, enter the displayed subproject. The main desktop menu…”

JSON, Squeak, and Seaside

Tony Garnock-Jones wrote “Today I implemented a JSON reader/writer library for Squeak, and a small extension to Seaside‘s existing LivePage features for doing XMLHttpRequest-based server-push. The JSON code is available on Squeakmap and also via SqueakSource, under either SqueakL (see here) or the MIT license. The Seaside extension is still in flux, but I’ll release something as soon…”

Trivium

Paul Crowley wrote “Of the many new ciphers proposed as part of the ECRYPT Stream Cipher Project, one of the most interesting is Christophe De Cannière and Bart Preneel’s TRIVIUM. TRIVIUM is designed to be very simple, admit a very low gate count implementation in hardware, and be reasonably efficient in both hardware and software, parallelizing in a…”