dot i e

Making Software: What Really Works, and Why We Believe It eBook: Andy Oram, Greg Wilson
Making Software: What Really Works, and Why We Believe It eBook: Andy Oram, Greg Wilson

Structure and Interpretation of Computer Programs, Second Edition: Harold Abelson, Gerald Jay Sussman, Julie Sussman
A Terrible Beauty... (2013) (TV)

Web Here
Being The Geekly Diary of Waider
(may contain traces of drinking, movies, and sport)
October 29
Huh, that was weird: a handful of binaries on the Server had their execute permissions removed. python, open, true. I've just invoked the somewhat talismanic "repair permissions" to pick up any more. No idea what caused that.

Permissions repaired: 236 files (plus a couple I fixed myself). VERY weird.

Went to see A Terrible Beauty as part of East Wall History Festival; fantastic documentary about the 1916 rising, specifically about the battle at Mount Street Bridge, and the defence of North King Street, as told by participants from the British Army, the Irish Volunteers, and the civilians. Some incredible archive footage is woven in with reconstructions; I'd never even seen pictures of the troop ships arriving at Dun Laoghaire, nor had I known about the scale of the reinforcements (13,000 troops sent over to put down a volunteer force of about 2,000, if I remember the numbers correctly). Interestingly, the British approach to Mount Street was like a microcosm of their approach in the Somme: despite the availability of a simple flanking manouvre, they insisted on mounting a frontal assault on a well-defended killing ground, attempting to use weight of numbers to overcome the insurgents. Anyway. Fabulous piece of work, check it out if you can.

October 27
Bad Apple, to coin a phrase: I can make the main Mail window full-screen, but I can't do so with an individual message window, but worse, the little green title bar button that means "fullscreen" in the main window means (more or less) "maximise" in the message window. Same button, different function, no indication of which you'll get. Bad, bad, bad UI, from the people who are supposed to be the top of the class at that sort of thing.

(Oh, but you'll argue that there is an indication: when you mouse over the plain green circle, either a full-screen or a maximise icon appears in black within it. Yes, indeed. Right under your mouse pointer, which prevents you from telling which icon is present. Bad on top of bad.)

Via Warren Ellis, the rather epic D3 Traveller Duffel Bag has some novel care instructions (scroll to the bottom of the page).

October 26
Today's whim: get IPv6 connectivity working again. Last time I did this I had a Linux box sitting behind my router, something I no longer have. So, first: pull down a packaged Miredo for OSX, then notice it's way out of date, then notice there's a source link, so pull that down, then learn how to use git submodules, then try to build miredo, then fail. Then go back to packaged version, and try to run that, and discover it won't work. Then wonder what the hell I was up to, and go back to other, more productive activities.

October 25
Spent the morning in Stephen's Green: first, the "Green Mile" walking tour, conducted by Donal Fallon, and then the tour of the Little Museum, which is basically a century of Dublin history crammed into two rooms of a Georgian house. Our tour here was conducted by Adam, who despite being only a few weeks on the job (he told us) was very entertaining and full of information. This is cheap entertainment: €7 gets you both the tour and the museum trip, and on a sunny day like we had today the park is a sight to see.

Back to the WSGI configs, and after a couple of hours trying to figure out what wasn't working, it turns out that a thing that I'd missed was actually quite important: the WSGIScriptAlias file has to have a .wsgi suffix, and in the middle of reconfiguring things I'd reverted to using .py (since it's a python file) which correctly loads, defines the required application() function, and exits, but the wrong handler is in use so it throws an opaque error. Small, but annoying, and I stripped out a lot of things to get this working (and figured out where to put logging statements, and how to run the server in debug mode, and that the server if disabled using serverctl will have its config rewritten to prevent it from actually working...) and now I have to gradually put all the things back as I figure out how to make them work.

Far more annoying, however, is how the Server application responds to errors in the config: first, it'll try to revert one of the config files to a previous or known-good version, then it'll revert to the factory default config (which accounts for my disappearing websites) and you'll only find out about this from the server logfile. And it doesn't seem consistent about this, either: in some cases it appears to just sit there respawning a dead service repeatedly.

(Oh, and this:
[Sat Oct 25 22:02:48.205934 2014] [core:notice] [pid 74426] AH00052: child pid 74445 exit signal Segmentation fault (11)

October 24
Mrs. Waider has not seen any of the Brosnan Bond movies, so we added them to the DVD Rentals list. First one that arrived was Tomorrow Never Dies; last time I watched this (September 2004) I described it as "pretty rough"; I've no idea what I meant. I did find myself wondering during/afterward if there were any puns given to Brosnan as script where he refused to do the line or had to bite his tongue. Anyway, it's a bit of fun, not too heavy on the gadgets, nor on the implausibility that makes Die Another Day such a terrible movie, and I always liked Brosnan as Bond.

Upgraded Server to Yosemite. Usual round of fun and games where it gets stuck trying to talk to a DNS server on and - obviously - can't because the Server upgrade has to be done in two steps, first the plain OS upgrade and then the Server larded on top of it. Once again it nuked my various WSGI configs; this time I thought I'd replace them properly, using the webapp framework; after a couple of tries at this it had erased all my Apache virtual servers. Sweet.

October 18
Handoff's first attempt: open two uncloseable mail windows on my mac, neither of which contained any actual content. Even after I'd killed the draft message on the phone, the windows couldn't be closed - I had to quit Mail entirely to get rid of them.

iCloud drive is still "setting up..." after about 12 hours.

October 17
Despicable Me 2 was much better than I'd heard. Loads of Minion gags, which was great. I think I laughed more at this than at the original.

Installed Yosemite. So far: it's, er, flat. Also, Handoff doesn't seem to be working just yet. Also, it's been "setting up..." my iCloud drive for the last ten minutes (pssst! Apple! you can just reenable the iDrive or MeDrive or whatever you used call it...)

October 15
So if it's ok with everyone can we not have any more SSL vulnerabilities, please?

After a bit of fiddling around with permissions and what not, I made a custom MRTG probe also post its data to CloudWatch, which is accomplished using far too much stupidity to document here (let's just say a script-writing script and leave it at that, m'kay?). I'm going to leave this run for a bit and see how it looks - it's collecting metrics on latency to DNS resolvers; my ISP's versus Google's.

October 11
Finance::Bank::IE code (unreleased) for pulling statements off PTSB wasn't working. Turns out that if you specifiy single-digit numbers for dates, instead of zero-padded versions, you get logged out of the site.

October 10
Monuments Men was a decent bit of fun, even if Clooney was occasionally reprising his Danny Ocean role (the conversation at the bar with Matt Damon, for example); I'd previously read a book about the gold buillion that makes a brief appearance in this story, but I'm curious now to read about the larger recovery operation that the bullion seems to have been just a slice of. Worth a look - it's light and funny, with bits of gravitas thrown in because War Is SRS BIZNIZ.