The second rule of the internet

Back in 2010, I described what I called the ‘first rule of the internet‘:

Against a sophisticated attacker, nothing connected to the internet is secure.

To this, I feel like I should add a second item:

Everything is internet now.

While there were once large numbers of electronic systems entirely disconnected from the internet, nowadays virtually everything is either connected to the internet constantly or occasionally connected to a device that is online. Your cell phone is probably always accessible to a sophisticated attacker using the internet, and the same is probably true for landlines using VoIP. Many of your computers are probably constantly connected to wireless networks (themselves targets for attack) and exposed to the wider internet through your broadband connection at all times.

Web integration with computers has reached the point that Google’s Chrome browser now treats ‘search’ and ‘GMail’ as apps within the Chrome environment.

The implication of combining the first and second rules is pretty plain. If you manage to attract the attention of a sophisticated attacker, they can probably get into the contents of your cell phone and your GMail account, as well as the hard drive of your PC and laptop, the ubiquitous webcams now built into computers, and so on. There is also a good chance they can take over your email, websites, Twitter accounts, and the like and use them for their own purposes.

Rickover on duty

U.S. Admiral Hyman Rickover, father of the nuclear navy, wrote a good plain-language description of what is basically Immanuel Kan’t categorical imperative:

I believe it is the duty of each of us to act as if the fate of the world depended on him. Admittedly, one man by himself cannot do the job. However, one man can make a difference… We must live for the future of the human race, and not for our own comfort or success.

It’s an interesting perspective in the context of his own life. He dedicated much of it to building a nuclear-powered navy for the United States, despite his apparent view that such a navy was, at best, a necessary evil.

As a side note, many of today’s commercial nuclear power stations use reactor designs that have evolved from the shipborne reactors designed by Rickover and his staff.

Repeated ad infinitum

XKCD is right, this is worth a look today:

List of common misconceptions
From Wikipedia, the free encyclopedia

Note:

  • Nero didn’t fiddle while Rome burned.
  • The ancient Greeks knew that the Earth was spherical, and how large it was.
  • Napoleon was not short. He was slightly taller than the average Frenchman.
  • The Emancipation Proclamation didn’t free slaves in the northern states.
  • The Great Wall of China cannot be seen from space using the naked eye.
  • People did not evolve from chimpanzees.

Etc, etc, etc.

AeroPress: good coffee for the itinerant

As I have mentioned to a few people before, my ultimate dream of domesticity is a place where I can unpack all of my books, and perhaps where I have an espresso machine. That day, if it ever comes, is a long way off. All indications are that the next few years will continue to involve a fair bit of moving about.

Since I was an undergraduate, I have been making coffee using a French press. I have either purchased pre-ground beans, with the pieces at the appropriate size for this brewing method, or tried to approximate the proper grind using a cheap blade grinder. Neither of these approaches is ideal, since pre-ground coffee gets exposed too thoroughly to air and blade grinders produce bean fragments of very inconsistent sizes. Also, the French press itself has some limitations. It produces a relatively bitter and sediment-laden sort of coffee.

The AeroPress

Based on enthusiastic reviews online, I am trying the AeroPress coffee maker. It is sometimes described as a way of making espresso, but I don’t think that’s entirely justifiable. It doesn’t use steam or a great deal of pressure. What it does do is produce good coffee in small volumes. It’s a bit complicated and not especially quick, but the ritual of it is part of the appeal.

In order to work well, the AeroPress requires beans that have been consistently ground to the right size. To do that in an inexpensive and portable way, I bought a Hario Skerton hand-driven conical burr grinder (similar). You put a small handful of coffee beans in the top, turn the handle for a few minutes, and end up with enough ground coffee to operate the AeroPress. You could more easily produce bean fragments of the right sizes using an electric conical burr grinder, though they are more expensive and one purchased for use in one country may not necessarily work in another.

The AeroPress is basically a plastic syringe. When used in the most effective way (not the way in the instructions), you place it on a countertop with the plunger already inserted and the receptacle for the filter cap facing upward. You add ground coffee and boiling water, stir, and wait a few seconds. You then put the end cap on, with a paper filter in place. To get the coffee oil, you then want to carefully press the plunger in until the first small quantity of liquid comes through the filter. Then, invert the whole device above a mug and press out the remaining coffee. This requires some force, so either use a mug that has reasonable strength or be prepared for the possibility that it will break.

After completing this process, you end up with a small cup of coffee and a puck-shaped mass of depleted coffee grounds. The AeroPress is easy to clean. You just discard the filter and the ‘puck’ and rinse the rest of the device off.

I enjoy the coffee the AeroPress produces, though I am still experimenting with the precise ratio of coffee grounds to hot water. It is much denser and richer than ordinary French press coffee, though not quite as much so as real espresso. It isn’t bitter, and doesn’t contain any bean sludge. The whole process of making AeroPress coffee is better suited to a quiet Saturday morning than to a hurried weekday departure, especially if you use a hand-driven grinder.

Risk/efficiency trade-offs in pathfinding

Finding my way to a new building, it struck me that two major strategies are possible in urban pathfinding. You can try to follow the most efficient path or you can try to minimize your odds of getting lost. Call those the ‘efficiency’ and ‘reduced risk’ approaches.

Each has some level of appeal. Nobody wants to take an unnecessarily circuitous route, when there is a shorter one available. At the same time, it is foolish to take a path that is nominally shorter but which involves much higher risks of getting lost or having other sorts of trouble.

Shortcuts are a classic example. They speak out to the part of us that seeks efficiency, but they carry special risks. When you deviate from the conventional path, you open the possibility of arriving much sooner than you would otherwise, but you also open the possibility of arriving much later or not at all.

Personally, I am willing to trade a fair bit of efficiency in exchange for simplicity. Even if I can conceivably save time by cutting corners, I prefer to stick to simple routes that I can remember and understand. Subways are good for this – they don’t take you as close to your destination as buses often might, but they are easier to understand.

As an aside, the worst ever solution to the risk/efficiency problem is the ‘try and buzz the head waiter’s home island with your cruise ship‘ strategy. In choosing people to captain cruise ships, there should probably some process to screen out those with such reckless tendencies…

The Hobbit

I recently re-read J.R.R. Tolkien’s The Hobbit. The book is a wonderful one, with a compelling story, beautiful language, well-crafted characters, and moral complexity. It’s a classic journey tale, in which a protagonist goes from one place to another and changes along the way.

I first read The Hobbit in high school. One of my English teachers was reading it aloud to the class. While pleasant, the slowness of listening to a read book prompted me to use paper route money to buy paperback copies of both The Hobbit and a single-volume onionskin copy of The Lord of the Rings.

Reading it now, I can definitely see what appealed to me about The Hobbit back then. In many ways, it comes down to the character of Bilbo. He is a rather soft, comfort-loving sort to begin with, but Galdalf propels him on an improbable adventure and he succeeds in the face of considerable difficulties. My favourite chapter was the first one where he is really on his own, lost in the caves after getting separated from his companions. It’s where you first really see that Bilbo has capabilities of his own, in reasoning, silent movement, negotiation, and a good measure of jumping skill. Bilbo may grumble about inconveniences and discomforts, but he is actually quite a resilient fellow. He demonstrates this amply in his later interactions with the dragon Smaug.

I think Bilbo’s character also connects to the biggest theme of the book: that it is good to live a peaceful and comfortable life, when circumstances allow it, but that there are times in which more is expected of people. Of course, this is fleshed out much more thoroughly in The Lord of the Rings. After all, Frodo’s adventure is for the good of all of Middle Earth, whereas Bilbo’s is mostly a fortune-finding expedition, albeit with a measure of reclaiming what has been unjustly taken.

Bilbo certainly makes ethical choices throughout the book. He decides not to attack Gollum while armed and invisible, despite the clear threat Gollum poses; he saves the dwarves from spiders and then elves at considerable personal risk; he is even on the cusp of returning into the goblin tunnels alone in search of his friends when he discovers their camp. Later, Bilbo puts his assessment of right and wrong (in this case, avoiding war) above his loyalty to his friends and his own safety. It’s interesting how Tolkien creates Bilbo’s role as a peacemaker between his dwarven friends and the lake men. It’s a situation that calls for tact, fortitude, and a willingness to accept personal risk for the greater good. It’s much more morally complex than Bilbo’s interaction with the dragon.

The language of the book may be its finest characteristic. Throughout, there is a playful storytelling relationship between the narrator and the reader. The reader is given hints about what is to come, explanations of some consequences that were quite unknown to characters in the story, and occasionally comforting indications that dire circumstances will be resolved favourably. For instance, when the eagles drop off Bilbo and the dwarves near the house of Beorn, the narrator mentions in passing that Bilbo sees the eagles again: “high and far off in the battle of Five Armies”.

The level of attention to language is illustrated in one section where Bilbo has been rescued from goblins by eagles. He is concerned to hear himself and his companions referred to as ‘prisoners’. The narrator, however, explains:

“As a matter of fact Gandalf, who had often been in the mountains, had once rendered a service to the eagles and healed their lord from an arrow-wound. So you see ‘prisoners’ had meant ‘prisoners rescued from the goblins’ only, and not captives of the eagles.”

To me, this short passage illustrates a lot of what is special about Tolkien. Bilbo’s initial concern arises because of his attention to language. The explanation – which Bilbo never learns in the story – is part of an elaborate backstory created by the author, part of the rich verisimilitude of Tolkien’s Middle Earth. The narrator takes an opportunity to clarify a point about language, using a sentence structure that demonstrates his interest in linguistics, while also illustrating a point about reciprocal altruism or perhaps just telling an interesting miniature story.

Tolkien’s work is also set apart from a good deal of other fiction by the complex motivations of characters and the moral complexity of the situations in which they find themselves. Bilbo’s allies are not candy-coated one-dimensional sources of aid, but rather figures with agendas of their own that sometimes conflict with his. Similarly, his opponents are rarely purely evil. The Hobbit also establishes some of the most complex moral relationships that develop in The Lord of the Rings, such as the One Ring as an entity with a will of its own and an ability to corrupt its bearers, the sometimes strained alliances between the free races of Middle Earth, and the ethics of requiring a disproportionate sacrifice from a person or a group in order to improve outcomes for a larger mass of people.

Given that a film of The Hobbit is forthcoming – and that films have a tendency to permanently over-write some of our memories from books (that’s why I have refused to see the film of “The Golden Compass”) – this may be a good time to read or re-read Tolkien’s short novel. It really is a literary accomplishment, I think. It is simple and accessible but also deep and thoughtful. It’s a book to hang on to.

SOPA blackout

Many websites in the United States, Canada, and around the world are joining together to protest SOPA – the Stop Online Piracy Act.

The bill, which could become law in the United States, would have unfortunate consequences for the internet as a whole. I agree with Michael Geist that Canadians should be concerned.

I remember the exciting beginning of the internet, where people thought it was a medium that effectively could not be censored and which would allow people to freely and honestly share information. Some of the sites that still do that most successfully – sites like Wikipedia – are threatened by laws that make them excessively liable for copyright violations and by imposing other restrictions.

As Wikipedia puts it:

The United States Congress is currently considering striking out major rights of free speech and other laws which make Wikipedia possible, forcing us to censor our editor discussions and the information we show you for the benefit of lobbyists. If passed, it would destroy the freedom of individuals to write without censorship, on every website we have, in any language, anywhere in the world.

Here’s hoping this show of opposition from some of the most important sites on the web will help kill this legislation.

Open-source Mac software

There seems to be some useful software here: Open Source Mac – Free Mac software, all open-source, all OS X.

For the unfamiliar, open-source software is software where the authors provide the underlying computer code to everybody. That lets you examine how it really works, compile it to run on a range of machines, and make custom modifications.

Much open source software is free.

P.S. While I am appreciative of free and open-source software, there are a few pieces of commercial software that I really wish I could buy for a bit less money: the latest version of Photoshop, a copy of Office for my laptop, a commercial version of PGP, etc. EndNote would also be useful, as I ramp up research for my doctoral thesis.

A Liar’s Autobiography: Volume VI

Graham Chapman, one of the Monty Python gang, drank himself to death at 48, having already been an alcoholic for 23 years when he was 37. He died exactly 20 years after the first recording of Monty Python’s Flying Circus. A Liar’s Autobiography: Volume VI was published nine years earlier, written by Chapman, his long-time romantic partner David Sherlock, Alex Martin, David Yallop, and Douglas Adams. As you might expect from the autobiography of a man who quite knowingly drank himself to death (he was a doctor, after all), the book is pretty depressing in places. Despite that, I thought it conveyed an honest and intimate perspective of a man who was generous and humanitarian but who often struggled with life.

I am not sure what to make of a self-confessed “liar’s autobiography”. The whole concept of autobiography is that a person uses a reasonably honest re-telling of their life events to share their experiences and personality with you. When you don’t know which (if any) experiences are genuine, it makes it difficult to know what Chapman and his cabal of co-authors were really trying to convey. If the general thrust of the anecdotes is reasonably accurate, it seems fair to conclude that it was easy to be drunk nearly all the time and have a great deal of casual gay sex in England at the time when Monty Python was performing and making films. The book includes quite a few rather terrifying and tragic stories, including hangings, physical assaults, aggressive police questioning, and perilous mountain climbing accidents.

A Liar’s Autobiography is also a reminder of how all fame is fleeting, and perhaps provincial as well. Chapman is constantly name-dropping, but the names he uses to try to impress readers are virtually all totally unknown to me. The book is aggressively non-linear, and features relatively little discussion of how Monty Python worked. There is more, all told, on the many sufferings associated with alcoholism, from the chronic liver damage that accompanies ongoing drinking to the agonies of withdrawal after a high level of dependence has been reached.

In an epilogue, fellow Python Eric Idle calls Chapman “the only true anarchist in Monty Python”. Chapman himself explains that he is “against any large organization, communist, capitalist or religious, that pretends to know best”. Chapman expresses a libertarian view of how the state should let people use their own bodies how they like:

I’ve always believed that people should be allowed to do what they want with their bodies. After all, it’s all they’ve got. I agree with that law that it is wrong for everyone to go round poking other people with sharp pointed sticks, but if someone wants to poke himself with a sharp pointed stick, that’s fine by me. They can go and batter themselves to death with huge lumps of poisoned granite for all I care.

This seems somewhat linked to Chapman’s rather mechanistic view of life itself. People, he says, are “tubes – hollow cylinders of flesh”.

Eric Idle’s epilogue summarizes this book better than I can: “What shines through in this book is the staggering honesty – the brilliance of truth that only a self-proclaimed liar could achieve. Facts and stories that we would have murdered our grandmothers to conceal are cheerfully paraded for our edification. This is life viewed as comedy, that only a doctor faced constantly with the physical comedy of our bodies can see”.