George V. Reilly

SSD Upgrade for 2012 MacBook

My mid-2012 15" MacBook Pro has been getting ever slower. My last two work laptops came with SSDs, but this older machine has a 768GB hard disk drive. It was time to get a solid-state drive, which are far more affordable now than four years ago. Rather than replace the HDD, I bought a Data Doubler kit and a 480GB SSD. I removed the optical drive and installed the Data Doubler with SSD in that space. I rarely used the DVD drive, so I won’t miss it.

The Data Doubler kit came with a set of screw­drivers and a detailed manual that covered multiple MacBook models. The manual had continue.

Review: Tomorrowland

Title: To­mor­row­land
Director: Brad Bird
Rating: ★ ★ ★ ½
Released: 2015
Keywords: sf
Watched: 2 July, 2016

To­mor­row­land is a story of dashed dreams and recovered optimism.

In 1964, eleven-year-old Frank Walker meets a girl called Athena who takes him from the World’s Fair into a futuristic city called To­mor­row­land. In the present day, where doom and gloom reign, a teenager called Casey hasn’t given up hope of a better future. She is recruited by Athena—­some­how no older—to save the world. Casey finds Frank, who is embittered at having been cast out of paradise decades ago. They find their way back into the now-desolate To­mor­row­land and destroy the machine that’s casting a pall of continue.

Review: Jimmy's Hall

Title: Jimmy’s Hall
Director: Ken Loach
Rating: ★ ★ ★ ★
Released: 2014
Keywords: irish, historical
Watched: 1 July, 2016

Jimmy’s Hall tells how Jimmy Gralton became the only Irishman ever deported from Ireland. Gralton returns to rural Ireland from the US in 1932, after being run out ten years’ earlier during the Irish Civil War for Communist activity. He revives the dance hall he had built previously, as it is a much-needed outlet for the young to dance, study, and talk, and im­me­di­ate­ly runs afoul of the local powers, par­tic­u­lar­ly the parish priest. Tensions escalate, cul­mi­nat­ing in his de­por­ta­tion.

Ken Loach is never subtle about his own socialist beliefs. Jimmy’s Hall is a polemic about the struggle between continue.

reStructuredText Anonymous Hyperlinks

While re­search­ing yesterday’s post about nested markup in Re­Struc­tured­Text, I finally learned how to use anonymous hyperlinks.

Hitherto, I used one of these three forms for hyperlinks:

1. The central conceit of the fictional `Flashman Papers`_ is that Flashy
2. besieging Breda_ in 1625.
3. my club, `Freely Speaking Toastmasters <http://freelyspeaking.org/>`_.

.. _Flashman Papers:
    https://en.wikipedia.org/wiki/The_Flashman_Papers
.. _Breda: http://en.wikipedia.org/wiki/Siege_of_Breda

The first, `Flashman Papers`_, is a named hyperlink reference, which refers to an external hyperlink target, .. _Flashman Papers: URI. Note that the reference name starts with a backquote, `, and ends with backquote-underscore, `_.

The second, Breda_, is a simple reference name—the backquotes are optional, but the trailing _ is crucial.

`Freely Speaking Toast­mas­ters continue.

reStructuredText Nested Markup

I use re­Struc­tured­Text for both this blog and the MetaBrite DevBlog. This blog is built with Acrylamid, while the MetaBrite blog is built with Nikola.

Yesterday I used a link (~/.pgpass) that styled the link as an inline literal; i.e., in the code font. Re­Struc­tured­Text doesn’t support nested markup, but you can pull it together with a two-step sub­sti­tu­tion reference:

Here you have |optparse.OptionParser|_.

.. |optparse.OptionParser| replace:: ``optparse.OptionParser`` documentation
.. _optparse.OptionParser: http://docs.python.org/library/optparse.html

This is tedious as you have to create a pair of directives for every such link that you wish to style.

Nested inline markup has been on the todo list for 15 years—it ain’t happening.

Creating a New PostgreSQL Database at RDS

Many of us are guilty of saying “database” when we mean a database server or a DBMS. A database is a collection of tables storing related data, schemas, stored procs, and per­mis­sions. Most database servers are capable of managing many databases si­mul­ta­ne­ous­ly.

I needed to create a new PostgreSQL database at Amazon’s RDS last week. I already had an RDS instance; I needed a new database on that instance. My Google searches turned up various recipes for creating a new RDS instance.

The following worked for me:

psql --host=SOME-DBMS-HOST --dbname EXISTING_DB \
   
continue.

Review: The Prisoner of Zenda

Title: The Prisoner of Zenda
Author: Anthony Hope
Rating: ★ ★ ★ ½
Copyright: 1894
Pages: 156
Keywords: adventure
Reading period: 23–24 June, 2016

Having read Royal Flash, I also read its in­spi­ra­tion, The Prisoner of Zenda, Anthony Hope’s classic adventure novel. Rudolf Rassendyll, a young British aristocrat, decides to visit Ruritania, where his distant cousin and dop­pel­gänger, the dissipated Rudolf Elphberg, is about to be crowned king. The future king has a half brother, “Black” Michael, who begrudges him the throne and also covets his fiancée, Princess Flavia. Michael kidnaps the king and the king’s friends, in a desperate attempt to preserve political peace, persuade Rassendyll to im­per­son­ate the king. The imposture is successful and a stalemate continue.

Review: Royal Flash

Title: Royal Flash
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★
Publisher: Plume
Copyright: 1970
Pages: 256
Keywords: historical fiction, humor
Reading period: 19–22 June, 2016
Flashman Papers II: 1842–43, 1847–48

Having made an enemy of Otto von Bismarck a few years earlier, Flashman now finds himself compelled by Bismarck to im­per­son­ate a Danish prince in a German duchy, taking his place in a marriage to the duchess. Flashman is a dop­pel­gänger for Carl Gustaf and with his talent for languages, he’s able to pull it off. At first he believes that Carl Gustaf is re­cu­per­at­ing from an em­bar­rass­ing case of the pox, and he settles into enjoying his role. Then he learns that continue.

Brexit

When histories of 21st-century Britain are written, the Brexit referendum will un­doubt­ed­bly be prominent. A small majority of Britons voted to do the un­think­able, to secede from the European Union. Xenophobes and racists in coalition with the mar­gin­al­ized and dis­af­fect­ed have delivered a big fuck you to London and to Brussels. Some had cast a protest vote, not believing that Leave would actually win. Remorse im­me­di­ate­ly set in, as the pound has dropped to a thirty-year low, billions in EU funding is set to dry up, and prime minister Cameron has resigned. Scotland and Northern Ireland both voted Remain and now both are making noises about their own in­de­pen­dence from the United Kingdom. Even continue.

Review: Independence Day: Resurgence

Title: In­de­pen­dence Day: Resurgence
Director: Roland Emmerich
Rating: ★ ★
Released: 2016
Keywords: sf
Watched: 24 June, 2016

As I watched In­de­pen­dence Day 2, I disliked it more and more, to the point where I was seething with anger at the stupidity of the plot and the characters.

The original 1996 In­de­pen­dence Day was at least a watchable B-movie. The sequel is leaden and plodding and makes no sense. The characters are per­func­to­ry and un­in­ter­est­ing, while the comic reliefs are teeth-grindingly irritating. You might assume that the young pilot who is the son of Will Smith’s character would be the lead in this film, but he’s sidelined here by Liam Hemsworth as the Top Gun jock.

My anger is continue.

Previous » « Next