| 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

Small Success With Go!; Re: Quick message - This link is broken; Adding Reverb To The Echo Chamber; Sox Audio Tools; Would This Have Been OK?; Honesty only important economically before institutions develop; Stegangraphy via PS4; OpenCL Mess; More Book Recommendations; Good Explanation of Difference Between Majority + Minority; Musical Chairs - Who's The Privileged White Guy; I can see straight men watching this conversation and laffing; When it's Actually a Source of Indignation and Disgust; Meta Thread Defending POC Causes POC To Close Account; Indigenous People Of Chile; Curry Recipe; Interesting Link On Marginality; A Nuclear Launch Ordered, 1962; More Book Recs (Better Person); It's Nuanced, And I Tried, So Back Off; Marx; The Negative Of Positive; Jenny Holzer Rocks; Huge Article on Cultural Evolution and More; "Ignoring language theory"; Negative Finger Counting; Week 12; Communication Via Telecomm Bids; Finding Suspects Via Relatives' DNA From Non-Crime Databases; Statistics and Information Theory; Ice OK in USA; On The Other Hand; (Current Understanding Of) Chilean Taxes / Contributions; M John Harrison; Playing Games on a Cloud GPU; China Gamifies Real Life; Can't Help Thinking It's Thoughtcrime; Mefi Quotes; Spray Painting Bike Frame; Weeks 10 + 11; Change: No Longer Possible To Merge Metadata; Books on Old Age; Health Tree Maps; MRA - Men's Rights Activists; Writing Good C++14; Risk Assessment - Fukushima; The Future of Advertising and Surveillance; Travelling With Betaferon; I think I know what I dislike so much about Metafilter; Weeks 8 + 9; More; Pastamore - Bad Italian in Vitacura; History Books; Iraq + The (UK) Governing Elite; Answering Some Hard Questions; Pinochet: The Dictator's Shadow; An Outsider's Guide To Julia Packages; Nobody gives a shit; Lepton Decay Irregularity; An Easier Way; Julia's BinDeps (aka How To Install Cairo); Good Example Of Good Police Work (And Anonymity Being Hard); Best Santiago Burgers; Also; Michael Emmerich (Vibrator Translator) Interview (Japanese Books); Clarice Lispector (Brazillian Writer); Books On Evolution; Looks like Ara (Modular Phone) is dead; Index - Translations From Chile; More Emotion in Chilean Wines; Week 7; Aeon Magazine (Science-ish); QM, Deutsch, Constructor Theory; Interesting Talk Transcripts; Interesting Suggestion Of Election Fraud; "Hard" Books; Articles or Papers on depolarizing the US; Textbook for "QM as complex probabilities"; SFO Get Libor Trader (14 years); Why Are There Still So Many Jobs?; Navier Stokes Incomplete; More on Benford; FBI Claimed Vandalism; Architectural Tessellation; Also: Go, Blake's 7; Delusions of Gender (book); Crypto AG DID work with NSA / GCHQ; UNUMS (Universal Number Format); MOOCs (Massive Open Online Courses); Interesting Looking Game; Euler's Theorem for Polynomials; Weeks 3-6; Reddit Comment; Differential Cryptanalysis For Dummies; Japanese Graphic Design; Books To Be Re-Read; And Today I Learned Bugs Need Clear Examples; Factoring a 67 bit prime in your head; Islamic Geometric Art; Useful Julia Backtraces from Tasks; Nothing, however, is lost with less discomfort than that which, when lost, cannot be missed

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

Leaving GMail...

From: andrew cooke <andrew@...>

Date: Sun, 7 Mar 2010 15:42:24 -0300

I am increasingly concerned about Google constructing a detailed model
of "me".  While I have nothing against them as a company, I am not
that keen on anyone compiling a large pool of information about me -
particularly one over which I have little control.

A month or so ago, I tried switching to Bing for searches.
Unfortunately, Bing is significantly worse than Google and good
quality search results are critical (I am a software engineer with a
poor memory - search solves almost every problem I have).  So
switching search away from Google search failed.

The next alternative, then, was to change webmail providers.  After
checking out the summary on Wikipedia, I decided that Runbox was best.
 But when I opened a free, trial account I wasn't convinced (it's
quite solid, but I had some worries: the folder display would not
automatically update to reflect incoming messages; it wasn't clear how
to apply filtering to existing (as opposed to newly arriving) emails;
no tags).

After that, I started considering how to create a solution myself.  I
ran Squirrelmail locally for many years, and I now have a server that
could host it (in fact, my server provider also has webmail) - but
Runbox was better than that.  And admin work isn't appealing.

So I paused for a think.  A think about GMail's tagging of messages,
and how you could do something similar with maildir and soft links on
Unix.  That lead to some searching (via Google...), which led to
mairix.  Mairix is an old-school command line program that lets you
dynamically construct maildirs (folders of email) according to a
search.  And it's fast (it pre-constructs an index).

Some background on hardware:  Currently at home the only computer in
the house that's on 24 hours a day is a little, low-power box that
serves music, works as a firewall, etc (it has a Via C7-D chip - think
early netbook).  It contains all my email in a bunch of directories,
sorted by date (these are pulled from GMail every 3 minutes) - 600,000
emails going back years.  I can connect to this box from anywhere over
ssh (I use a dynamic name service to locate it).

So I started wondering about dropping webmail and going with mutt in a
terminal window.  I could use mairix to generate folders like GMail's
tags, and also to do searches...

...and the good news is that mairix compiles and appears to work just
fine.  Even on the under-powered box, with over 1/2 a million mail
messages, it's instant.  With a little scripting I can create a bunch
of directories that are equivalent to my GMail tags, and I can also
search by hand.

Mairix (from git) installed and bit with no problems.  And indexed
everything in about 10 minutes.  I've been a little frustrated with
GMail's search recently; my first impression of mairix is more
positive - it really works!  The main remaining worry is how to handle
attachments - with webmail that's trivial; it's not so much fun via a
remote tty.

Anyway, that's the latest news.  I'll report back once I have some
serious experience.

Mairix - http://www.rpcurnow.force9.co.uk/mairix/


Mutt Working Well

From: andrew cooke <andrew@...>

Date: Tue, 9 Mar 2010 02:12:27 -0300

This is working out well so far.  The hardest part was getting mail delivery
working with my server host - MTA's send to MX addresses, but their SMTP relay
needed to be addressed directy (the solution is to use [] in postfix's

Anyway, I thought I'd describe how I'm using Mutt so that it duplicates the
things I liked about GMail.

When mail arrives it is stored by month.  My default folder is the current
month, which is similar to "inbox".  Apart from spam (which is filtered with
spamassasin), everything is stored in this way.  Messages are threaded and
sorted by date, which gives results similar to the way GMail groups related

In addition, I have some additional folders that are created by mairix.
Mairix runs in the background every 20 minutes to update its index, and every
time mail is delivered to update the extra folders.

There are two folders.  One contains work-related items for the last month -
this is created by searching for the host names of clients.  The other
contains friends and family for the last month, created by searching for email
addresses.  I can jump to both of these folders with a keypress.  These are
the equivalent of GMail's tags.

In the work folder, my "from" address is automatically changed to reflect my
work email.  In other folders it reverts back to andrew@...  GMail has
no equivalent for this.

If I need anything else, I can invoke mairix from within mutt, and the results
appear in a third folder.  This is the equivalent of GMail's search (except it
appears to be better - I found GMail search strangely unreliable, but I could
never pin down exactly why).

Now we'll see if posting here still works...


Spam Filtering Details

From: andrew cooke <andrew@...>

Date: Fri, 12 Mar 2010 11:13:30 -0300

See this post for more on filtering spam -


Comment on this post