Title: Ways to Die in Glasgow
Author: Jay Stringer
Rating: ★ ★ ★ ½
Publisher: Thomas & Mercer
Copyright: 2015
Pages: 289
Keywords: crime, tartan noir, black comedy
Reading period: 7 December 2015—25 February 2016
New private investigator Sam Ireland
is hired to track down a gangster-turned-memoirist.
She can’t find him, but she’s not the only one looking.
His lethal nephew also wants to find him, after dealing with two hit men.
All of this searching is drawing unwelcome attention to long-held secrets,
and more blood will be shed.
A darkly amusing, frenetic tour through Glasgow’s underbelly.
I needed to import some plugin code written in Python
from a directory whose path isn’t known until runtime.
Further, I needed a class object that was a subclass of the plugin base class.
from somewhere import PluginBase
class SomePlugin(PluginBase):
def f1(self): ...
def f2(self): ...
You can use the imp module to actually load the module from impl_dir.
Note that impl_dir needs to be temporarily prepended to sys.path.
Then you can find the plugin subclass using dir and issubclass.
import os, imp
def import_class(implementation_filename, base_class):
impl_dir, impl_filename = os.path.split(implementation_filename)
module_name, _ = os.path.splitext(impl_filename)
try:
…continue.
It’s better to stay calm when things aren’t going well.
Stress and panic are contagious.
When you’re broadcasting stress or panic on all channels,
other people start picking it up.
If you can keep your cool, others are more likely to remain calm too.
Often that’s for the best,
but sometimes it backfires
because others incorrectly believe that everything is still okay.
Knowing when to ask for help is an art.
You learn a lot when you persevere and try different things,
many of which may fail.
The failures will likely show you where your understanding is deficient;
you learn some of the many ways in which things can go wrong.
If you throw …continue.
I mentioned a few weeks ago that I was going to be the Contest Chair
for the International Speech and Evaluation Contests
at Freely Speaking Toastmasters.
Those contests were tonight,
and I was both Contest Chair and Toastmaster.
The contest chair sets up everything beforehand;
the toastmaster runs the contest itself;
frequently but not necessarily the contest chair is also the toastmaster.
I’m happy with how it came off.
I managed to recruit two speakers for the Speech contest
and three evaluators for the Evaluation contest,
all of whom acquitted themselves well.
I also recruited three judges, two ballot counters, one timer,
a sergeant at arms, and a test speaker
to make the contest run.
The …continue.
I came across this cartoon today;
it reminded me that I’ve been meaning to write
about the hit-or-miss nature of adapting books for the screen.
Books and video/film are different media,
with different conventions and needs.
Often the most-loved elements of a book are lost
when it’s adapted for television or film,
upsetting fans.
As J.K. Rowling wrote about one of the Harry Potter movies:
"It is simply impossible to incorporate every one of my storylines
into a film that has to be kept under four hours long.
Obviously films have restrictions
– novels do not have constraints of time and budget;
I can create dazzling effects relying on nothing but
the interaction of my own and …continue.
I was sent an invite to Keybase a few weeks, which I accepted tonight.
Keybase Wants To Make Serious Encryption Accessible To Mere Mortals explains:
From a cryptographic standpoint, PGP is rock solid.
In practice, using it is very messy.
Its complexity has deterred the vast majority of people
who might otherwise benefit from using encryption.
The first problem is establishing a valid identity,
especially with other people located oceans away.
The second is distributing public keys
without nefarious types posting alternative keys
that appear to be registered to the same person.
…
The third issue is getting people to install and use PGP software.
I can now be reached via https://keybase.io/georgevreilly.
I’ve proved my identity on
GeorgeVReilly.com, GitHub, …continue.
Run Fatboy Run is a Simon Pegg comedy from 2007, which we just watched.
I didn’t have high hopes for it and it was better than I expected.
Dennis left a pregnant Libby (Thandie Newton) at the altar five years ago.
Now he’s an overweight security guard in a London lingerie shop
and she’s found a new boyfriend who’s everything that Dennis is not:
Whit (Hank Azaria) is well off, handsome, and very fit.
Somehow Dennis ends up promising to run in a marathon in three weeks’ time
that Whit is also running in.
Much of the story revolves around his training,
his desperate attempts to win over Libby,
and …continue.
The Coen Brothers’ latest movie, Hail, Caesar!, is a lot of fun.
I’ve been looking forward to it since the trailers showed up a few months ago.
It’s a homage to the Golden Age of Hollywood,
an age where quirky talents like the Coens
could not have made Coen Brothers’ movies.
We see song and dance numbers, synchronized swimming,
singing cowboys, and ballroom dramas.
Most of all, we see a big-budget swords-and-sandals epic,
whose star, Baird Whitlock, has been kidnapped by The Future,
a group of Communist screenwriters,
and is being held for $100,000 ransom.
Eddie Mannix is the studio fixer who has to wrangle
the studio’s stars and keep them out …continue.
In a new article for Rolling Stone, Matt Taibbi excoriates Trump:
It turns out we let our electoral process
devolve into something so fake and dysfunctional
that any half-bright con man
with the stones to try it
could walk right through the front door
and tear it to shreds on the first go.
And Trump is no half-bright con man, either.
He’s way better than average.
Both Trump and Cruz scare me, for very different reasons.
Trump is impulsive, all id, doesn’t give a fuck,
riling up the worst impulses of the American electorate for short-term gain.
Who knows what this loose cannon will do?
Cruz is a nasty piece of work,
cold and calculating,
a hard-right …continue.
I just watched an interesting video that recreates Rome as it probably was circa 320 AD.
At that point, Rome’s population was somewhere between one and two million people,
the largest city in Europe until 19th century London.
Constantine was Emperor and a few years later,
he would move his capital to Constantinople.
A century and a half later, the final emperors would die.
I’ve only visited Rome once, when I was ten years old.
I’m long overdue for another visit.
Previous »
« Next