Andrew Cooke | Contents | RSS | Twitter | Previous

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.

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

[Link] Linux Threads

From: andrew cooke <andrew@...>

Date: Fri, 21 Apr 2017 07:33:35 -0300

http://nullprogram.com/blog/2015/05/15/

Surprisingly lightweight.

Andrew

Permalink | Comment on this post

Previous Entries

For comments, see relevant pages (permalinks).

[Link] Punycode

From: andrew cooke <andrew@...>

Date: Wed, 19 Apr 2017 20:19:20 -0300

This is how unicode domain names are encoded (there's a fuss right now
because you can use look-alike characters to generate fake domain
names).  The actual algorithm used is pretty interesting - 
https://tools.ietf.org/html/rfc3492

Andrew

Permalink

[Link] Bull / Girl Statues on Wall Street

From: andrew cooke <andrew@...>

Date: Mon, 17 Apr 2017 07:30:46 -0300

https://gregfallis.com/2017/04/14/seriously-the-guy-has-a-point/

Andrew

Permalink

[Link] Beautiful Chair Video

From: andrew cooke <andrew@...>

Date: Wed, 5 Apr 2017 13:50:33 -0300

https://www.youtube.com/watch?v=PPu-1YQlAD4

Andrew

Permalink

[Link] Neat Python Exceptions

From: andrew cooke <andrew@...>

Date: Wed, 22 Mar 2017 08:31:45 -0300

https://github.com/Qix-/better-exceptions

Andrew

Permalink

[Link] Fix for Windows 10 to Avoid Ads

From: andrew cooke <andrew@...>

Date: Sat, 18 Mar 2017 14:22:57 -0300

https://thenextweb.com/apps/2017/03/10/windows-10-is-bringing-shitty-ads-to-file-explorer-heres-how-to-turn-them-off/

Andrew

Permalink

[Link] Attacks on ZRTP

From: andrew cooke <andrew@...>

Date: Sat, 18 Mar 2017 10:53:14 -0300

https://www.sufficientlysecure.org/2017/03/15/zrtp.html

Andrew

Permalink

[Link] UK Jazz Invasion

From: andrew cooke <andrew@...>

Date: Thu, 16 Mar 2017 06:43:49 -0300

https://www.theguardian.com/culture/2017/mar/15/jazz-london-moses-boyd-united-vibrations

Andrew

Permalink

[Review] Cuba

From: andrew cooke <andrew@...>

Date: Fri, 10 Mar 2017 20:37:00 -0300

[Not sure you can "review" a country, but also not sure what other tag
to use.]

Paulina, me, and my parents spent last week in Cuba.  We rented a
couple of rooms in Havana, very near the coast, to the West of the
city centre.  Most days we walked to the old town and did some typical
tourist thing like visiting a cigar factory.

At first sight, what made Havana unusual was that it was clearly more
wealthy before - it was not the people (generally not well off, but
not shockingly poor) that surprised, but the contrast with the
backdrop.

The next surprise was the money.  First, there were two currencies in
use (with an apparently fixed rate of conversion from one to the
other): CUCs and Pesos.  It seems that, as a tourist, you should use
CUCs, which is what a cash machine gave us on withdrawl.  A CUC has
the same nominal value as a US dollar (which you cannot use), but
buying CUCs costs an additional 3% in commission.  And if you actually
have US dollars (cash) then you pay an extra 10%.

I don't understand why these currencies and rules exist.  I suspect
it's somehow related to trying to control the conversion of local
value to US dollars, or to suppress the use of US dollars on the black
market.

Once we had money it was difficult to find much to buy.  I guess we
didn't look terribly hard, but we couldn't find much in the way of
basics: bread, meat, cheese, etc.  So we ate out for every meal
(actually, we had a late, large breakfast and then an early dinner,
and lost a little weight).

The food we ate out was good.  Sometimes not everything on a menu was
available, but the lower priced places had decent, local dishes, while
more expensive places offered more variety.  One night I had very good
pizza.

There was a "supermarket" near us that stocked several varieties of
beer, frozen chicken quarters, one kind of biscuit, bottled water,
baby food, and a few other items.  There were often queues, with
people buying fairly large quantities of whatever was available.
Perhaps they stock up, and over time the supplies even out (maybe
another week there is pasta, say)?

I don't know if locals have to get food through informal contacts, or
if there were extra shops hidden away that we didn't see.

With the lack of stuff to buy, and the buildings that have seen better
days, came a weird emphasis on money.  Tour guides explained how
little people earn, and we were constantly being asked if we wanted a
taxi (where a typical ride costs, apparently half a month's wage).
Things started to lose sense.  Were taxi drivers hugely wealthy?  Why
didn't they look it?  Were they massively taxed?  If so, on what
basis?  We didn't get one receipt all week (or see one taxi meter
actually running).

Several of the places we visited didn't seem worth the money.  After a
disappointing Museum of Rum and a lacklustre tour of a Cigar Factory
(after a particularly apressive walk down a street with people
insisting we discuss whatever they were offering to sell) I was less
than keen on the "Museum of Chocolate" - that turned out to have no
tour at all but redeemed itself with surprisingly good hot chocolate
at a reasonable price.

Discomfort with money (or value?) came to a head on our final night
when we went to the best restaurant we could find (Attelier).  They
seemed to have lost our booking, but found space for us outside (along
with many more people, who also seemed unexpected - they were sitting
in the dark for some time until lighting was connected up).  Service
was haphazard, but friendly.  Some items on the menu were missing, but
what we finally ordered was decent - it combined fancy main course
"plates" with generous side dishes of veg, rice, and black beans.  So
you got both the "fancy food" and the local staples, and you couldn't
complain about being hungry afterwards.  The final price, for two
starters, four main courses, one of the cheapest bottles of wine (and
an extra glass) was 100 CUC (before tip).  By American standards
that's crazy cheap and any complaint seems unfair.  By Chilean
standards it was good food, but you'd expect better service.  Anyway,
luckily, we left just before it started to rain - I wonder how they
handled that.

Per person, then, the meal was a Cuban month's wage.  Did that make us
the crazily deluded rich, obscenely splurging money?  Did it make the
owners the local equivalent of millionaires?  Why couldn't they afford
to pay better waiters?

Why was it so busy?  Was everyone a tourist?

Or are people actually richer than we were told?  Were we being lied
to about typical wages?  Or did we see the middle class, and the poor
are hidden away somewhere else?

I have no idea.

I guess you should just relax and enjoy the ride.  But when the
economic web that connects you to your fellow men seems contrived and
inconsistent it's hard to let go.  I never realised I would miss the
simplicity of capitalism.

Andrew

Permalink

[Link] Aricle on Gender Reversal of US Presidential Debate

From: andrew cooke <andrew@...>

Date: Tue, 7 Mar 2017 12:45:01 -0300

https://www.nyu.edu/about/news-publications/news/2017/march/trump-clinton-debates-gender-reversal.html

Andrew

Permalink

{OpenSuse] Fix for Network Offline in Updater Applet

From: andrew cooke <andrew@...>

Date: Sat, 4 Mar 2017 20:46:42 -0300

Run "pkcon" at the command line as root.  It will print help (and look
like it's donenothing), but the applet will work again.

Andrew

Permalink

[Link] Parkinson's Related to Gut Flora

From: andrew cooke <andrew@...>

Date: Sat, 4 Mar 2017 20:23:15 -0300

http://www.sciencealert.com/evidence-piles-up-linking-parkinson-s-disease-with-the-bacteria-in-our-gut

Andrew

Permalink