George V. Reilly

Flame Graphs and Flame Charts

I was in­ves­ti­gat­ing the per­for­mance of a web app today, and I spent some time looking at the Flame Chart vi­su­al­iza­tion in Chrome's profiling tools, which helped identify some problems.

Flame Charts are like Brendan Gregg's Flame Graphs, except that the charts are sorted by time, while the graphs are sorted al­pha­bet­i­cal­ly.

Quoting from Gregg's recent ACM Queue article:

A flame graph has the following char­ac­ter­is­tics:

Review: Flashman At The Charge

Title: Flashman At The Charge
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★
Publisher: Plume
Copyright: 1973
Pages: 288
Keywords: historical fiction, humor
Reading period: 7–16 August, 2016
Flashman Papers IV: 1854–55

Flashman At The Charge finds our hero, newly promoted to Colonel, nurse­maid­ing a minor Royal cousin in the Crimean War. Somehow he finds himself in the thick of the Charge of the Light Brigade, which he survives only to be taken captive by the Russians. Sent off to Count Pencher­jevsky's estate, he luxuriates there for some time, bedding the count's daughter Valla. When he and another British officer overhear the Tsar discussing Russian plans to invade India, he re­luc­tant­ly escapes. After he is captured continue.

Review: Jason Bourne

Title: Jason Bourne
Director: Paul Greengrass
Rating: ★ ★ ★ ½
Released: 2016
Keywords: action, thriller
Watched: 20 August, 2016

In Jason Bourne, the eponym is back in action, running around the planet in a personal vendetta with the director of the CIA. Bourne's old ally Nicky Parsons is killed trying to pass him some in­for­ma­tion that she's unearthed about the Treadstone program that turned David Webb into the amnesiac assassin known as Jason Bourne. The CIA director sends a killer known only as the Asset after Bourne, while the fresh-faced head of the Cyber Ops division does her best to keep Bourne alive.

This is a largely un­nec­es­sary sequel to the Bourne franchise. While continue.

Opening Vim at the right place

If you know exactly which line you want to go or which pattern you want to search for, Vim provides a couple of command-line options that can help: +NUM goes to line number NUM, while +/PAT searches for the first occurrence of PAT. It's also possible to execute an Ex command with +CMD, such as "+set fenc=latin1". You can supply up to ten + options.

vim +23 ~/.bashrc
vim '+/ASIN\|ISBN' template.rst
vim "+set fenc=latin1" some.csv

Review: The Murder Road

Title: The Murder Road
Author: Stephen Booth
Rating: ★ ★ ★ ★
Publisher: Witness Impulse
Copyright: 2015
Pages: 403
Keywords: police procedural
Reading period: 24–31 July, 2016

Detective Inspector Ben Cooper, newly promoted, is leading the team that's in­ves­ti­gat­ing the murder of a lorry driver outside a remote Peak District village. It seems to be connected to a suicide that took place the same day, but how? Cooper and his team manage to peel back the layers sur­round­ing the dual mysteries.

Booth writes solidly plotted, solidly char­ac­ter­ized novels, and this is another good entry in his long-running Cooper & Fry series.

On Washers

I assembled an outdoor dining table on Sunday, and belatedly realized that I had used only half the washers. The unclear directions had said to place one washer next to the bolt head and the other washer at the far end, just inside the nut. I had overlooked the latter. I don't feel like undoing twelve bolts and starting over, so it will stay that way.

It occurred to me to wonder what purpose the washer serves. I had a notion that, since it increases the apparent area of the bolt head or the nut, it must reduce the pressure on whatever is being tightened by the bolt in the continue.

Review: Flashman And The Redskins

Title: Flashman And The Redskins
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★
Publisher: Plume
Copyright: 1982
Pages: 480
Keywords: historical fiction, humor
Reading period: 20 July–7 August, 2016
Flashman Papers VII: 1849–50 and 1875–76

Flashman And The Redskins is the seventh volume of the Flashman Papers, although it opens im­me­di­ate­ly after Flash For Freedom! In the first part, which takes place in 1849–50, Flashman is fleeing from New Orleans in the company of a madam who is taking her entire brothel westward to take advantage of the California Gold Rush. He sees the opening of the West and the beginning of huge changes to the Plains. He is taken captive by Apaches continue.

Review: Fuzzy Nation

Title: Fuzzy Nation
Author: John Scalzi
Rating: ★ ★ ★ ★
Publisher: Tor
Copyright: 2011
Pages: 368
Keywords: sf
Reading period: 20 July–12 August, 2016

Jack Holloway is a prospector on Zara XXII, con­tract­ing for the giant ZaraCorp. On one momentous day, he is fired, discovers a huge seam of sunstones worth trillions, and meets the first members of a new species, the fuzzies. Since he was fired before he discovered the sunstones, he now has an en­force­able claim—and he's a disbarred lawyer, so you can bet he's following through. The fuzzies are delightful and they're pretty smart—so smart that they might just be sapient. And if they are, that's a huge problem for ZaraCorp, since the fuzzies continue.

AIDS Walk 2016

AIDS decimated the gay community in the 1980s and early 1990s before effective treatments were developed, and AIDS and HIV continue to affect the LGBT community dis­pro­por­tion­ate­ly. I personally have walked in the Seattle AIDS Walk every year since 1992.

Please sponsor me at­ly I am also the captain of the Freely Speaking Toast­mas­ters team and we'd love to have you join us.

Any money you donate or raise will support people in King County who are living with HIV or AIDS. It will help feed them, pay for medicine, and prevent further infections.

I've walked for 25 years to honor the living and the dead. I've known people who continue.

Review: Flash For Freedom!

Title: Flash For Freedom!
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★
Publisher: Plume
Copyright: 1971
Pages: 304
Keywords: historical fiction, humor
Reading period: 11–20 July, 2016
Flashman Papers III: 1848–49

Flash For Freedom! is the third volume of the Flashman Papers, in which Flashy gets caught up in the slave trade. After a scandal involving cheating and assault, England becomes too hot for young Flashman and his father-in-law ships him off. Flashman quickly realizes that he's on a slave ship captained by a lunatic that is bound for Africa to take on a cargo of slaves, and he's horrified. Not so much about slavery but that running slaves is proscribed in 1848 and he's continue.

Previous »