| Andrew Cooke | Contents | Latest | RSS | Twitter | Previous | Next


Welcome to my blog, which was once a mailing list of the same name and is still generated by mail. Please reply via the "comment" links.

Always interested in offers/projects/new ideas. Eclectic experience in fields like: numerical computing; Python web; Java enterprise; functional languages; GPGPU; SQL databases; etc. Based in Santiago, Chile; telecommute worldwide. CV; email.

Personal Projects

Lepl parser for Python.

Colorless Green.

Photography around Santiago.

SVG experiment.

Professional Portfolio

Calibration of seismometers.

Data access via web services.

Cache rewrite.

Extending OpenSSH.

C-ORM: docs, API.

Last 100 entries

Have to add...; Culturally Liberal and Nothing More; Weird Finite / Infinite Result; Your diamond is a beaten up mess; Maths Books; Good Bike Route from Providencia / Las Condes to Panul\; Iain Pears (Author of Complex Plots); Plum Jam; Excellent; More Recently; For a moment I forgot StackOverflow sucked; A Few Weeks On...; Chilean Book Recommendations; How To Write Shared Libraries; Jenny Erpenbeck (Author); Dijkstra, Coins, Tables; Python libraries error on OpenSuse; Deserving Trump; And Smugness; McCloskey Economics Trilogy; cmocka - Mocks for C; Concept Creep (Americans); Futhark - OpenCL Language; Moved / Gone; Fan and USB issues; Burgers in Santiago; The Origin of Icosahedral Symmetry in Viruses; autoenum on PyPI; Jars Explains; Tomato Chutney v3; REST; US Elections and Gender: 24 Point Swing; PPPoE on OpenSuse Leap 42.1; SuperMicro X10SDV-TLN4F/F with Opensuse Leap 42.1; Big Data AI Could Be Very Bad Indeed....; Cornering; Postcapitalism (Paul Mason); Black Science Fiction; Git is not a CDN; Mining of Massive Data Sets; Rachel Kaadzi Ghansah; How great republics meet their end; Raspberry, Strawberry and Banana Jam; Interesting Dead Areas of Math; Later Taste; For Sale; Death By Bean; It's Good!; Tomato Chutney v2; Time ATAC MX 2 Pedals - First Impressions; Online Chilean Crafts; Intellectual Variety; Taste + Texture; Time Invariance and Gauge Symmetry; Jodorowsky; Tomato Chutney; Analysis of Support for Trump; Indian SF; TP-Link TL-WR841N DNS TCP Bug; TP-Link TL-WR841N as Wireless Bridge; Sending Email On Time; Maybe run a command; Sterile Neutrinos; Strawberry and Banana Jam; The Best Of All Possible Worlds; Kenzaburo Oe: The Changeling; Peach Jam; Taste Test; Strawberry and Raspberry Jam; flac to mp3 on OpenSuse 42.1; Also, Sebald; Kenzaburo Oe Interview; Otake (Kitani Minoru) move Black 121; Is free speech in British universities under threat?; I am actually good at computers; Was This Mansplaining?; WebFaction / LetsEncrypt / General Disappointment; Sensible Philosophy of Science; George Ellis; Misplaced Intuition and Online Communities; More Reading About Japan; Visibilty / Public Comments / Domestic Violence; Ferias de Santiago; More (Clearly Deliberate); Deleted Obit Post; And then a 50 yo male posts this...; We Have Both Kinds Of Contributors; Free Springer Books; Books on Religion; Books on Linguistics; Palestinan Electronica; Books In Anthropology; Taylor Expansions of Spacetime; Info on Juniper; Efficient Stream Processing; The Moral Character of Crypto; Hearing Aid Info; Small Success With Go!; Re: Quick message - This link is broken; Adding Reverb To The Echo Chamber; Sox Audio Tools

© 2006-2015 Andrew Cooke (site) / post authors (content).

Taking Back Email (not)

From: andrew cooke <andrew@...>

Date: Mon, 23 Apr 2012 20:20:01 -0300

I was brainstorming some ideas for a "worthy" project; I finally decided it
wouldn't work, but thought I might as well write things down in case I have
a change of heart.

The idea that email needs "fixing" seems to be common at the moment (it was
included in a list of "problems" by Paul Graham).  Now, personally, I manage
my email locally, because I am unhappy with Google (or anyone else) having
access to so much information.  And it works quite well.  So the core of the
idea was that I could make that approach available to others, packaged in a
way that didn't require any expertise.

Email would be pulled from existing mail providers over IMAP and stored
locally.  There would be an embedded SQL database for search (like mairix).
The client would probably be in the web browser, running against a local

Taking things further, you could extend the client to automate encrypted
email.  The idea I see working is based on ssh - you don't try to guarantee
that the initial key exchange is perfect, but you cache it and warn of
changes.  So every email would include a private key; these would be extracted
and cached by my software when it receives email from others; sending email to
people with a known key would automatically trigger encryption; a change in
keys would flag a warning.

There were some more ideas about UI, implementation, and searching /
cataloguing email, but that's the general idea.

But there are two problems.

First, sending email requires an SMTP gateway.  You can't just send email from
your own machine these days.  And while you can pull email from web providers
you cannot push it.  So there would need to be a central SMTP server.  That's
not so terrible - adding a central IMAP server for receiving email would help
avoid sharing data with the big players, and you could imagine people paying
for this service.

Second, and more seriously, I realised that I was stuck thinking of a PC-based
solution.  And really, these days, it needs to support mobile devices.  Which
don't have the resources to do this.  Email really does have to be in the
cloud, in a sense.

Coincidentally, the title "From Personal Computers to Personal Clouds" caught
my eye -
I haven't read the article, but given the above you can see an argument for
some kind of personal cloud platform...


Re: Taking Back Email (not)

From: Michiel Buddingh' <michiel@...>

Date: Tue, 24 Apr 2012 07:04:19 +0200

Why keep IMAP at all central to your solution?  The protocol
practically begs to be supplanted by a REST-based API.  Most IMAP
operations translate neatly to HTTP GET or PUT requests; I think that
if such an API could be standardised (for things like searching,
tagging etc, where the implementation isn't a transparent mapping), it
would be possible to once again decouple email storage and email user

To me, that would be a fundamental part of 'fixing' email, since
people tend to be incredibly specific about their preferences in a MUA

I like your thinking about email encryption, too; I think the PGP
infrastructure we already have is wonderful, but the practices devised
around it prioritize security above everything else.  For example, I
hesitate to send signed email to friends, because I know it will be
visible as a confusing blob of alphabet soup, or worse, as some kind
of suspicious attachment that can't be opened.

Oh, and I have to enter my password, and worry about key management (I
really should generate a subkey for my GPG key, so I can safely send
signed email from my laptop, for example).  Even for an experienced
computer user such as myself, the practice requires quite a bit of

Email needs a second level of security--one that's maybe not perfect,
but requires next to no conscious decision-making to use.


(*) It's possible now, of course, but most web mail software has to
implement IMAP behind the scenes, at a non-negligable programmer cost.

Re: Taking Back Email (not)

From: andrew cooke <andrew@...>

Date: Tue, 24 Apr 2012 09:06:58 -0300

It's interesting to think about replacing the prtocols.  Email is strange in
that two people "own" a message (sender and receiver) so it seems to need
either duplication or a trusted third party.  Your comment started me
wondering if you could replace SMTP/POST (sending email) with a combination

 - publishing the email on your (HTTP) server
 - something like RSS (so that the recipient know where to look)
 - restricting visibility to the recipient's browser
 - "strong" browser caching, so that once the recipient sees the message,
   it doesn't matter if it's deleted

But it's all kind of complicated for no real gain.  There's a dedicated
infrastructure and tools for this that should probably be leveraged...

Maybe the "two people owning the message" means that there's a special kind of
3rd party that has certain cryptographic properties, which would formalize
things like delivery verification, no forwarding, etc?  Not sure I am being
clear here - I imagine a server that has quite an abstract interface,
something like "store a number" or "generate a pair of primes" etc that could
be combined to implement message serving/hosting/storage with the required

A related idea is P2Pmail - if everyone starts running their own servers again
then you can deliver directly.

Also, with a web of public keys you can use HMACs to whitelist sources, which
helps with spam filtering (I think? does PGP allow this?)


Comment on this post