[erlang-questions] FOP (was: Re: Trace-Driven Development)
Henning Diedrich
hd2010@REDACTED
Wed Jun 6 14:19:41 CEST 2012
On 6/6/12 12:36 PM, Joe Armstrong wrote:
> I'm really impressed by the real-world haskell site (see for example
> http://book.realworldhaskell.org/read/functional-programming.html)
Since you already mentioned that you were thinking of UUIDs, maybe the
way was to set up a global comment repository and provide JavaScript
links and alternatively a browser plugin that can link to /any/
paragraph on any page to let comments appear after any paragraph
anywhere. The JS could be for sites to tie in, which intent to
participate. They would not have to change anything in their structure
as the JS would just inspect the DOM and add the 'n comments' hooks. The
browser plugin for all other.
This annotated web could be complemented with the possibility to also
store links between any two paragraphs explicitly, beyond the obvious
option of writing URLs into the comment proper.
To compensate for multiple copies or dynamic URLs, the text, stripped of
tags, could be hashed to arrive at a technical reference.
This would all only work in 70% of cases. Superficial changes would
break the hashes. But it could be an easy way to phase such efforts in.
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120606/5a05e651/attachment.htm>
More information about the erlang-questions
mailing list