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

It's Official - I Rock

From: "andrew cooke" <andrew@...>

Date: Sat, 30 Jun 2007 23:25:11 -0400 (CLT)

Yay for me!  My Airport Express just answered.

Sun have a bug in their fucking crypto library.

Bouncy castle rock even more than me.

A Java/Jack port of JustePort coming soon to a computer near you...



From: "andrew cooke" <andrew@...>

Date: Mon, 2 Jul 2007 21:58:46 -0400 (CLT)

Spent some time playing with this after work today and just got a sine
wave out of the speakers.  Woot!

(This has been a "learning experience".  Spent way too long trying to
compare my output with JustePort for a known RSA key.  If that seems
reasonable to you, too, then you don't understand Optimal Asymmetric
Encryption Padding either, fool! :o)


I Am A Foooool..

From: "andrew cooke" <andrew@...>

Date: Sun, 8 Jul 2007 18:12:54 -0400 (CLT)

The noise, it is not good.  Zeroes give silence, and fake sines sounded
like they were fake sines (at least, the frequency sounded to drop when I
doubled the period), but looking at the output from the Airport via my
oscilloscope it's clear that I have something very wrong indeed.

Channel separation is OK (despite not sounding that great through
headphones) - am now worried about the rest of my hifi, but that can wait.
 But fidelity is not.  Looking again at the code I think I may need to
reverse my endianness...  I guess swapping byte order is not enough, those
bits are important too, huh?


More of a Wobble

From: "andrew cooke" <andrew@...>

Date: Sun, 8 Jul 2007 19:31:35 -0400 (CLT)

OK, so the prev comment makes no sense.

I now have beautiful sine waves.  The problem?  It really isn't an 8-bit
aligned data stream.  There really is a 23 bit header!  Hence the random
noise that kept appearing.

Still, the good news (apart from the damn thing working - I guess I should
be able to pipe music through it now) is that uncompressed ALAC really
does just interleave channels.  No sum/difference.

I guess I should try putting music through...

OK, so music doesn't work - I guess that's the Jack side of things.  But a
sine wave sounds smooth.  Maybe I should just start listening to sine


Woot - Jack to Airport

From: "andrew cooke" <andrew@...>

Date: Mon, 9 Jul 2007 21:53:13 -0400 (CLT)

Credence, of all things (hey, it was just the first directory I found with
some ogg files) is now coming out of my speakers...  Yep - I now have a
Jack client that talks to Airport Express! :o)

Three things to do now:
1 - Clean things up and package them for a 0.0 release
2 - Work on improving sound quality
3 - Work on improving streaming quality

(2) includes fixing some ugliness in the code that is losing data (I'm not
sure if the noise I'm hearing at the moment is the original recording or

(3) means worrying about the difference in clock rates between the airport
and jack.  Also, discovery of the IP address would be nice.

All this should be fairly easy (within reason - I have no magic solution
for synchronizing clocks, for example) now that the the basics work.

I guess I should pack away my ancient (HP, valve, older than me)
oscilloscope too...


jjjuste V 1.0 Released

From: "andrew cooke" <andrew@...>

Date: Wed, 11 Jul 2007 21:22:46 -0400 (CLT)

I just released an Airport Express client for Jack:


This project died soon after...

From: "andrew cooke" <andrew@...>

Date: Thu, 25 Dec 2008 17:48:57 -0300 (CLST)

The streaming was never very reliable, and it was a lot of fuss.

For what to do instead, see comments here:


Comment on this post