WSGI Middleware
In a previous tutorial we just wrote a basic ‘Hello World’ application in WSGI. At the end of you might, rightly, have been wondering what’s the point of WSGI — after all you could have written that ‘Hello World’ app using plain CGI (or anything else for that matter). In this tutorial [...]
6/10. This was my first experience of work by the legendary Taiwanese director Huo Hsiao-Hsien. Very art-house. After a promising start with some brilliant visual imagery such as the running shadow of the bicycle by the third episode the langorous pace and cryptic approach to characterisation and plot had started to irk. Best described as [...]
Anyone who has converted some old wordprocessed documents to plain ascii text will know that wordprocessors love to insert their only special versions for a few of the standard characters such as ‘ and ” (- also comes up pretty frequently). I personally came across while using odt2txt plus openoffice to convert some old [...]
Just came across another paper evaluating the effect of filesharing published earlier this year. Authored by Norbert J. Michel (now of Nicholls State University) and is entitled The Impact of Digital File Sharing on the Music Industry: An Empirical Analysis (Berkley Press’ Topics in Economic Analysis & Policy: Vol. 6: No. 1, Article 18) is [...]
Archiving for my own benefit the results of yet another 5 minute look for how to do find and replace across multiple files from the command line:
Use sed:
sed -i ‘s/foo/foo_bar/g’ *.htmluse the old perl hack:
perl -w -pi~ -e ‘s/foo/bar/’ [files]Notes: -p: loop, -i edit files in place (backup with extension [...]
9.5/10. One of the greatest works of history I have ever read. The command of primary sources is astounding and allows for any given point to be both grounded in ‘hard’ data and fascinating anecdote — a rare (and heady) combination indeed. This truly is a portrait of an entire world on a canvas that [...]
7.5/10. I’m pulled two ways on this one. The film doesn’t come together into a coherent work instead veering widly from minority report style thriller to perfectly played comic sketches and back to meditations on the nature of addiction and normalcy. While these individual sections are often brilliant without any framing plot (or a plot [...]
Categories
- *nix (9)
- Academic (73)
- Activity Updates (20)
- Books (55)
- Cinema (112)
- Code (15)
- Command Line (9)
- Copyright (23)
- Culture and Society (27)
- Data Digging (4)
- Economics (155)
- EUPD (10)
- External (3)
- Filesharing (11)
- Governance (14)
- Hacks (21)
- Happiness (16)
- Hardware (1)
- History (15)
- Innovation and Intellectual Property (66)
- Intellectual Myths (12)
- Javascript (3)
- Knowledge Systems (17)
- Miscellaneous (17)
- Musings (15)
- Notes (14)
- Open Bibliographic Data (2)
- Open Data (29)
- Open Knowledge Foundation (66)
- Openness (41)
- Own Work (59)
- Papers (4)
- People (1)
- Photos (1)
- Platforms (1)
- Poetry (1)
- Policy (18)
- PSI (8)
- Python (24)
- Quote (1)
- RDF (2)
- Shuttleworth Fellow (56)
- Software (47)
- Sysadmin (2)
- Talks (34)
- Transaction Costs (5)
- Work In Progress (2)


