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

C[omp]ute

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

Choochoo Training Diary

Last 100 entries

[Programming] React Leaflet; AliExpress Independent Sellers; Applebaum - Twilight of Democracy; [Politics] Back + US Elections; [Programming,Exercise] Simple Timer Script; [News] 2019: The year revolt went global; [Politics] The world's most-surveilled cities; [Bike] Hope Freehub; [Restaurant] Mama Chau's (Chinese, Providencia); [Politics] Brexit Podcast; [Diary] Pneumonia; [Politics] Britain's Reichstag Fire moment; install cairo; [Programming] GCC Sanitizer Flags; [GPU, Programming] Per-Thread Program Counters; My Bike Accident - Looking Back One Year; [Python] Geographic heights are incredibly easy!; [Cooking] Cookie Recipe; Efficient, Simple, Directed Maximisation of Noisy Function; And for argparse; Bash Completion in Python; [Computing] Configuring Github Jekyll Locally; [Maths, Link] The Napkin Project; You can Masquerade in Firewalld; [Bike] Servicing Budget (Spring) Forks; [Crypto] CIA Internet Comms Failure; [Python] Cute Rate Limiting API; [Causality] Judea Pearl Lecture; [Security, Computing] Chinese Hardware Hack Of Supermicro Boards; SQLAlchemy Joined Table Inheritance and Delete Cascade; [Translation] The Club; [Computing] Super Potato Bruh; [Computing] Extending Jupyter; Further HRM Details; [Computing, Bike] Activities in ch2; [Books, Link] Modern Japanese Lit; What ended up there; [Link, Book] Logic Book; Update - Garmin Express / Connect; Garmin Forerunner 35 v 230; [Link, Politics, Internet] Government Trolls; [Link, Politics] Why identity politics benefits the right more than the left; SSH Forwarding; A Specification For Repeating Events; A Fight for the Soul of Science; [Science, Book, Link] Lost In Math; OpenSuse Leap 15 Network Fixes; Update; [Book] Galileo's Middle Finger; [Bike] Chinese Carbon Rims; [Bike] Servicing Shimano XT Front Hub HB-M8010; [Bike] Aliexpress Cycling Tops; [Computing] Change to ssh handling of multiple identities?; [Bike] Endura Hummvee Lite II; [Computing] Marble Based Logic; [Link, Politics] Sanity Check For Nuclear Launch; [Link, Science] Entropy and Life; [Link, Bike] Cheap Cycling Jerseys; [Link, Music] Music To Steal 2017; [Link, Future] Simulated Brain Drives Robot; [Link, Computing] Learned Index Structures; Solo Air Equalization; Update: Higher Pressures; Psychology; [Bike] Exercise And Fuel; Continental Race King 2.2; Removing Lowers; Mnesiacs; [Maths, Link] Dividing By Zero; [Book, Review] Ray Monk - Ludwig Wittgenstein: The Duty Of Genius; [Link, Bike, Computing] Evolving Lacing Patterns; [Jam] Strawberry and Orange Jam; [Chile, Privacy] Biometric Check During Mail Delivery; [Link, Chile, Spanish] Article on the Chilean Drought; [Bike] Extended Gear Ratios, Shimano XT M8000 (24/36 Chainring); [Link, Politics, USA] The Future Of American Democracy; Mass Hysteria; [Review, Books, Links] Kazuo Ishiguro - Never Let Me Go; [Link, Books] David Mitchell's Favourite Japanese Fiction; [Link, Bike] Rear Suspension Geometry; [Link, Cycling, Art] Strava Artwork; [Link, Computing] Useful gcc flags; [Link] Voynich Manuscript Decoded; [Bike] Notes on Servicing Suspension Forks; [Links, Computing] Snap, Flatpack, Appimage; [Link, Computing] Oracle is leaving Java (to die); [Link, Politics] Cubans + Ultrasonics; [Book, Link] Laurent Binet; VirtualBox; [Book, Link] No One's Ways; [Link] The Biggest Problem For Cyclists Is Bad Driving; [Computing] Doxygen, Sphinx, Breathe; [Admin] Brokw Recent Permalinks; [Bike, Chile] Buying Bearings in Santiago; [Computing, Opensuse] Upgrading to 42.3; [Link, Physics] First Support for a Physics Theory of Life; [Link, Bike] Peruvian Frame Maker; [Link] Awesome Game Theory Tit-For-Tat Thing; [Food, Review] La Fabbrica - Good Italian Food In Santiago; [Link, Programming] MySQL UTF8 Broken; [Link, Books] Latin American Authors

© 2006-2017 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
server.

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 -
http://www.windley.com/archives/2012/04/from_personal_computers_to_personal_clouds.shtml
I haven't read the article, but given the above you can see an argument for
some kind of personal cloud platform...

Andrew

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
interfaces(*).

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

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
thought.

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

mvg,
Michiel

(*) 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
of:

 - 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
properties.


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?)

Andrew

Comment on this post