Skip to content

Instantly share code, notes, and snippets.

@sbp
sbp / gist:604382
Created September 30, 2010 10:40 — forked from tav/gist:604107

The project is about the delivery of Espra -- an open source, web-based social platform that sets out to improve quality of life and create new market opportunities by helping to efficiently organise people, ideas and resources. Espra will significantly improve people's ability to function in the digital world by tackling information overload and allowing content creators to get paid for their work.

To this end Espra brings together innovative solutions built around Trust Maps, which will help people filter and overcome information overload, and a Reputation Economy, which will enable content creators to get rewarded for their works through aggregated micropayments.

Espra fulfills parts of the Technology Strategy Board's wider Digital Britain Strategy of enabling "a sustainable marketplace for intellectual property" and helping create "economic and social benefit from increasing volumes of information".


The ability to filter information flow through Trust Maps and the use of aggregated micropayments

@sbp
sbp / colloquial-summaries.txt
Created July 27, 2011 12:49 — forked from anonymous/colloquial-summaries.txt
Colloquial Web CG summaries
Submission:
The Colloquial Web group evaluates existing practices amongst core web
technologies such as HTML, CSS, and JavaScript. It aims to provide users and
vendors with clear guidelines for deployment and innovation for web
applications. Example problem domains include continued use of deprecated
constructs, the rise in external services for hosting solutions such as Google
Web Fonts or MathJax, and comparing attitudes to RDFa and microdata.
The group will not produce languages, but may for example create profiles of
@sbp
sbp / cpulimit.py
Created December 17, 2011 16:17 — forked from anonymous/cpulimit.py
reduce the cpu time of a process by pausing and resuming it repeatedly
#!/usr/bin/env python
import time, os, sys, signal
sleeptime = waketime = 0.01
def send(signal, pids):
for pid in pids:
os.kill(pid, signal)
@sbp
sbp / diff.py
Last active August 29, 2015 14:12 — forked from tonyg/diff.py
Ukkonen-Myers diff and patch
# Copyright (c) 2015 Tony Garnock-Jones <[email protected]>
# Copyright (c) 2015 Sean B. Palmer <inamidst.com>
# Licensed under the 2-Clause Simplified BSD License
def longest_common_subsequence(xs, ys):
# Uses the Ukkonen-Myers algorithm
t = len(xs) + len(ys)
front = [0] * (2 * t + 1)
candidates = [None] * (2 * t + 1)
for d in range(t + 1):