Thursday, 9 August 2012
Eliot Reads Prufrock
The Love Song of J Alfred Prufrock, by Thomas Stearns Eliot, is my favourite poem. Not that I've read them all, I mean all the poems in the world, before arriving at this objective decision; that is not what I meant at all. There are far too many poems in existence to have done that, seriously, there's literally dozens out there. But of the five or six that I have read, Prufrock is quite definitely the best.
So I quite enjoy listening to the poet's own recitation, and ever since playing the old vinyl record at a friend's house in about 1980, have always been within a lodger's lunge of such a recording. Today, deciding to legalise our relationship, this poem and me, I grabbed a few spoken word MP3s from Amazon: The Waste Land, a scratchy old clipping suite encoded at an average of 62¼ kbps (and extravagant at that if you ask me); Prufrock itself; and one other, The Triumphal March From Coriolan.
Immediately, the 20 minute duration of the Prufrock file caught my attention. You see, Prufrock is my party piece. Well, it's either that or a Pogues-informed The Band Played Waltzing Matilda, Eric Bogle's despairing Gallipoli dirge, which nevertheless does have the advantage of being an actual song. No, I don't get invited to a lot of parties... you knew? You are not blind! How keen you are! On second thoughts it might be more accurate to describe Prufrock as: the piece I would recite on the night bus home from George Square, in order to ensure my evening ended with a good, sound beating up. Playing relentless Status Quo on your ghetto blaster works almost as well.
But I divest. I knew that, even after ten pints of Stella Artois, there's no way to stammer, slur, stretch and deform a recitation of Prufrock over more than about 10 of those 20 minutes. So what was going on? Firing up foobar2000, I discovered that both of the higher bit rate files contained multiple works.
I Call That A Bargain
01 - The Love Song of J Alfred Prufrock.mp3 actually includes the first three poems (which belong together anyway) from Prufrock and Other Observations, and finishes with Mr. Eliot's Sunday Morning Service. Here's the cue sheet:
00:00 - The Love Song of J Alfred Prufrock
08:20 - Portrait of a Lady
15:35 - Preludes
18:20 - Mr. Eliot's Sunday Morning Service
20:00 - [end]
02 - The Triumphal March From Coriolan.mp3 contains the following:
00:00 - Ash Wednesday
13:45 - A Song for Simeon
16:15 - Marina
18:33 - Triumphal March From Coriolan
21:45 - O Light Invisible (from The Rock)
24:20 - Chorus from Murder in the Cathedral
26:30 - Chorus from The Family Reunion
28:20 - [end]
I guess someone read the original LP's bipartite title, T S Eliot reads The Love Song of J Alfred Prufrock & Triumphal March From Coriolan (link goes to a March 1959 Gramophone review), and decided just to rip and label sides A and B accordingly and respectively. So there you have it: get 'em while they're hot, eight and three-halves poems for the price of two. As for The Waste Land, well those files didn't contain any Easter Eggs. Incidentally if you'd like to hear that latter masterpiece in full, the Harper Audio is rebroadcast in various formats (though not MP3) by the Internet Multicasting Service here, and of course less legally throughout YouTube.
Sunday, 29 July 2012
Happy Birthday (3) To Me
Three years behind the masthead. Macro blogging is officially dead, social media in the ascendancy, and still I won't roll down the shutters and scarper. What the hell is wrong with me!
Targets
I can only think it must be love. So then, how's my blogging frequency been holding up? At the 2009 outset, declared goals were:
- two posts per week, on average;
- half of those technical, half not;
- half of the technical posts to be security related.
Unpopularity Analytic
About 1,500 page views per month, last time I checked. Low enough to avoid most comment spammers, but just high enough to retain my interest.
As for the blog's original motivation, namely the introduction of security related software development, that's been superseded by the formation of something called a SCARB group in our (new, extended, all-inclusive and thoroughly democratic) Development Department. When the Security subcommittee (that's me and my pals, the "S" of the group moniker) enters a less dormant phase, this little blog will be one of the first to know.
Previously:
Happy Birthday To MeBirthday candles courtesy of Wikipedia.
Happy Birthday (2) To Me
Thursday, 26 July 2012
RIP Free Cellular Web Access
My original Amazon Kindle, with its free global access to 3G networks and its experimental browser, was a Christmas gift from my wife, having been inspired by my apparent inability to organise my dead tree storage. This browser uses the same connection that all 3G-equipped Kindles use to download books via Amazon's Whispernet, and until recently, it offered access to as much of the world wide web as you could take. Usually, that wasn't much. The browser renders like treacle, while pages don't look terrific on the monochrome, electronic ink display.
But it was functional, and quite useful on continental holidays and other occasions when we found ourselves temporarily without WiFi access. Just as recently as, well, earlier this very month, I had cause to be grateful for Linda's decisions (-; in both cases, against my better judgement ;-) to buy me (a) a Kindle, (b) with 3G connectivity. Sitting in the garden outside our French gîte, I reached the end of my chosen holiday read (a pulpwood edition of The Hunger Games) and wanted immediately to download its sequels, whilst simultaneously checking out a few blog updates.
That was then. Today, as I read on El Reg, Amazon have started exercising their reserved, small-print right, to throttle this free 3G access at just 50MB per month. Obviously having learned from both the Sony experience and their own previous missteps, they are following this course in preference to just switching off free 3G access altogether.
However...
There still remains a mystery in the detail. This post on the MobileRead forum reports the cutoff message, followed by another:
I got a second message saying that I'd have 24 hours of grace to continue to use 3G for Web browsing, but that after that I could use 3G only for visiting Amazon.com, Wikipedia, and the Kindle Store.Certainly, retaining free access to both Amazon and the Kindle Store makes commercial sense. But why should Wikipedia be particularly exempted?
That's when I remembered the above XKCD cartoon, from 3½ years ago. Click through for the full version. Although the answer isn't in the printed cartoon itself, it's in Randall Munroe's floating text that appears when you hover over it:
I'm happy with my Kindle 2 so far, but if they cut off the free Wikipedia browsing, I plan to show up drunk on Jeff Bezos's lawn and refuse to leave.
Wednesday, 25 July 2012
Book Review: Liars & Outliers
A favourite blog was noticeably subdued of late, while the inestimable Bruce Schneier put his finishing touches to his latest tome. No sooner was he done, however, than all of my favourite blogs burst out with news, reviews, and other expositions about it. Resolved to buy a copy, maybe on Kindle, I nevertheless put in a book request to my manager, and was in due course pleasantly surprised by the hardback landing on my desk.
Surprised? Well, I was unsure whether it would qualify for purchase. It's not a technical book, although it does cover many technical issues we have to deal with in daily business. It's not about programming, or not exclusively so. What it is, is a thorough investigation into the nature of trust within society. Or in other words, into the nature of of civilisation: how it works, and why it doesn't. How indispensable and deeply reaching is trust. How, why, when and where we depend upon it. How our essential systems can be designed to guarantee it. As ever, Bruce's approach to each little corner of the subject matter is almost rigorously scientific, being relatively free from hand waving and equivocation, and as evidence-based as he can diligently achieve.
After an overview, declaring the primary aims of the book, and containing an excellent diagram of the formal terms used (societal dilemma being a central one) and their relationships, the remainder of the book consists of four main sections.
Part I: The Science of Trust
This deals with the various research fields comprising the "background" sciences of the book: experimental and evolutionary psychology, biology, neuroscience, economics, the mathematics of game theory, computer security, and so on. Chapter three will be particularly familiar territory if you've ever studied evolutionary perspectives on behaviour, such as sociobiology. This is followed by a historical view of sociology and societal scaling, then by a return to game theory for an examination of societal dilemmas and the nature of conflict.
Part II: A Model of Trust
This is the most intensely argued and analytically comprehensive section of the book, and it might take more than one reading here and there to follow the workings of the "Model" presented. Clearly this is an exposition of the central concept that inspired the whole work. Various pressures are considered both in isolation and in concert: moral and institutional stresses, considerations of reputation, and the limits imposed by security systems. Schneier's goal is to get you to hold all of these simultaneously in your conception, tracing the interconnections and interplay between them.
In chapter 9, Institutional Pressures, Schneier examines the threats facing modern society. Acknowledging that one of the biggest perceived threats is terrorism, he astutely reminds us we can never ensure perfect security against this. Arguing that America's TSA budget should be measured in the millions, not billions of dollars, he observes that talk of terrorism as an "existential threat" to society is complete rubbish. While terrorism remains sufficiently rare, which it is; and while the vast majority of people survive, which they do; society itself will continue to survive. Yet while this observation remains unarguable, politically it is impossible for our leaders to speak it.
Part III: The Real World
In the second half of the book Schneier describes real world Organisations, Corporations and Institutions, illustrating how the competing interests of these bodies lead to evolution and resolution in certain real world situations. A recurring theme is fishing, which at all levels has rules and quotas adhered to by the majority, but offering considerable profits and a low risk of getting caught to the minority of cheats.
Part IV: Conclusions
To be frank, you could say that there are very few actual conclusions in the book itself. In the chapter on Technology, Schneier proposes a set of design principles for effective societal pressures, one of the key points of the book. But more often, he provides us rather with information, with the background to understand and make sense of that information, and with the grounding in a refreshing number of academic and scientific disciplines that we can exploit to build confidence in our own conclusions, which we are encouraged to reach independently.
In so doing, you're certain find the scope of input presented here quite breathtaking.
Bruce Schneier
Liars and Outliers: Enabling the Trust That Society Needs to Thrive
John Wiley & Sons
17 Feb 2012
ISBN-10: 1118143302
ISBN-13: 978-1118143308
Thursday, 19 July 2012
Displaying File Sizes
When it comes to displaying "rough" file sizes (1.2 KB, 34.5 MB, etc), and none of the online solutions offer exactly what you want, then you write your own struct:
This outputs a consistent three significant figures, with the exception of cases 1000..1023 Bytes, which are output as-is. The supplied set of overloaded operators sufficed for the immediate requirements of my app, which involved only accumulating and subtracting totals, but can obviously be extended easily to include comparisons, multiplication, implicit conversions, etc. Notice the nested calls to string.Format() using escaped {{i.e., doubled-up}} braces, as previously illustrated under C# String Format Run Time Field Width.public struct ByteCount { public long Value { get; set; } public ByteCount(long value) : this() { Value = value; } public static ByteCount operator + (ByteCount x) { return x; } public static ByteCount operator - (ByteCount x) { return new ByteCount(-x.Value); } public static ByteCount operator + (ByteCount x, ByteCount y) { return x + y.Value; } public static ByteCount operator + (ByteCount x, long y) { return new ByteCount(x.Value + y); } public static ByteCount operator + (long x, ByteCount y) { return y + x; } public static ByteCount operator - (ByteCount x, ByteCount y) { return x + -y; } public static ByteCount operator - (ByteCount x, long y) { return x + -y; } public static ByteCount operator - (long x, ByteCount y) { return x + -y; } public override string ToString() { const string units = "EPTGMK"; var unitSize = 1L << 10 * units.Length; foreach (var unit in units) { if (Value >= unitSize) { var value = decimal.Divide(Value, unitSize); return string.Format( string.Format( "{{0:{0}}} {{1}}B", value >= 100 ? "#" : value >= 10 ? "#.#" : "#.##"), value, unit); } unitSize >>= 10; } return string.Format("{0} Bytes", Value); } }
Wednesday, 18 July 2012
Barenboim's WEDO Beethoven Cycle
Looks Like I Picked the Wrong Month to Quit Sky+The historic week of Proms with Daniel Barenboim and his West-Eastern Divan Orchestra, led by Daniel's son Michael, is almost here.
His dynamic West–Eastern Divan Orchestra – famously bringing together Arab and Israeli players to form less 'an orchestra for peace' than 'an orchestra against ignorance' – goes far beyond the symbolic in its goal of building bridges through music. (BBC)They'll be performing the entire cycle of nine Beethoven symphonies, starting this Friday July 20, logically enough with the First and Second, and finishing next Friday with the almighty Ninth - which incidentally hands over to the Opening Ceremony of the Olympic Games.
Why is it such a historic cycle? The last time this was done within a single Proms season, was exactly 70 years ago, by Sir Henry Wood himself. Well, not just himself... come on, you know what I mean.
At the risk of receiving a BBC cease-and-desist, I need to put this little table just here: (╯°□°)╯︵ ┻━┻
Prom #
|
Performance Date/Time
|
Programme
|
Broadcast Date/Time
|
Channel
|
9
| Beethoven - Symphony No. 1 in C (25 min) Boulez - Dérive 2 (45 min) Interval Beethoven - Symphony No. 2 in D (35 min) |
Live!
|
BBC Four
| |
10
| Beethoven - Symphony No. 4 in Bb (35 min) Boulez - Dialogue de l'ombre double (20 min) Interval Beethoven - Symphony No. 3 in Eb 'Eroica' (50 min) |
Sat 21 at 8pm
|
BBC Four
| |
12
| Beethoven - Symphony No. 6 in F 'Pastoral' (40 min) Boulez - Mémoriale ('…explosante-fixe…' Originel) (8 min) Interval Boulez - Messagesquisse (8 min) Beethoven - Symphony No. 5 in Cm (30 min) |
Thu 26 at 7.30pm
|
BBC Four
| |
13
| Beethoven - Symphony No. 8 in F (25 min) Boulez - Anthèmes 2 (25 min) Interval Beethoven - Symphony No. 7 in A (35 min) |
Fri 27 at 7.30pm
|
BBC Four
| |
18
|
Beethoven - Symphony No. 9 in Dm 'Choral' (77 min)
|
Sat 28 at 8pm
|
BBC Two
BBC HD |
Daniel Barenboim photo courtesy of Wikipedia.
Sunday, 1 July 2012
Tweets - June 2010
@timoreilly A wise man once said - don't commute - communicate!
— John Kerr (@dogbiscuituk) June 2, 2010
@angrymetalguy NP. Had to move you from Music Blogs to Permanent Links due to your blogging prolificacy. How on earth do you find the time?!
— John Kerr (@dogbiscuituk) June 5, 2010
WOW! Yesterday Little Neice asked me to burn a CD for her... of a Swedish metalcore band! I'm so proud. Have to start calling her Goth Moth.
— John Kerr (@dogbiscuituk) June 7, 2010
The Silver Dream Machine: The synthesizer that accidentally changed the world http://bit.ly/c4pEj7
— John Kerr (@dogbiscuituk) June 9, 2010
Afghanistan is the second nation to be systematically trashed by the Bush administration in pursuit of energy control - http://bit.ly/9X9BsD
— John Kerr (@dogbiscuituk) June 14, 2010
@wilw I love teaching my wife astronomy! http://mycodehere.blogspot.com/2009/09/geek-points.html
— John Kerr (@dogbiscuituk) June 14, 2010
Per ardua ad scalae: Today's the first day I'll attempt the office staircase (downward only) since sciatica hit 2 months ago. Wish me luck?
— John Kerr (@dogbiscuituk) June 16, 2010
@dpawvlik so you are telling us that the place wasn't trashed anyway? -- Yes - http://bit.ly/aKotC0 #AfghanistanThenAndNow
— John Kerr (@dogbiscuituk) June 17, 2010
Dear MSN Messenger: ever heard of Occam's Razor? Those 156 people didn't just sign in. All that happened was that YOUR SERVER WOKE UP.
— John Kerr (@dogbiscuituk) June 21, 2010
Added a new Prog/Metal section to Google news: http://bit.ly/dCFyTT - So far I've discovered Coheed and Cambria supporting Porcupine Tree...
— John Kerr (@dogbiscuituk) June 23, 2010
...and Black Mountain and a few other interesting items...
— John Kerr (@dogbiscuituk) June 23, 2010


