Watch Your User

Connor McDonald posts an excellent series of articles about tuning a database application. This analysis from a end user perspective reminded me of my own experiences when I was a technical consultant helping customers running a large CRM application, typically in call centres scattered across Europe. I was often summoned onsite and told to solve the problem that ‘The application is slow’. Usually, different people were eager to give me their view on the issue:- ...

October 25, 2019

why I dislike the popular TV quiz show - Tipping Point

We all love pub quizzes and like TV quiz shows. I think it’s partly because we are curious to see whether we can answer the questions and sometimes, to occasionally, laugh at some of the bizarre answers offered by contestants under time pressure. One of my favourites recently was a lady who was asked:- ‘Hydrocarbons are made up of carbon and which other element ?’ ‘Carbon dioxide’ I loved this answer because she replied, in part, with ‘Carbon’ which would have meant that hydrocarbons comprised of carbon, and well, more carbon. Then she added two atoms of oxygen for good measure. ...

February 27, 2019

the curious case of the filling station incident

7:54am on a quiet Monday morning. Quiet because it’s New Year’s Eve. I have just put £15 into a hire car prior to returning the vehicle. There’s just one gentleman is in front of me paying. He has a fuel card so he’s asked for his registration. He can’t remember this so looks out to the forecourt to check. Maybe this is a hire car too although that seems unlikely as it’s an ancient, brown, battered Volvo estate. No problem. Then he’s asked for his mileage which he doesn’t know. This is optional so no problem. ...

December 31, 2018

fixing Dovecot stats writer permissions

I tend to switch Linux distributions quite often. Consequently, I tend to have this process down to a fine art and it doesn’t take me that long. The most time consuming element is ensuring the necessary backups are in place. However, you normally find some package or configuration option you forgot about and my recent switch from Arch Linux to Fedora 29 and back again unearthed a strange problem with the Dovecot IMAP server I hadn’t encountered before. ...

November 29, 2018

in praise of Silver Searcher

Occasionally, I have to search lots of files for a pattern. It was only recently I discovered the wonderful silver searcher utility which saves me a lot of time. To install ‘ag’ on Fedora, use the following (which isn’t entirely obvious or intuitive if you’re used to typing ‘ag’). # sudo dnf install the_silver_searcher I believe there is an Emacs interface which would save me even more time. $ time ag 'sql statement execute time' ~ real 0m0.125s user 0m0.128s sys 0m0.257s $ time find ~ -type f -print0 | xargs -0 grep -i 'sql statement execute time' real 0m23.725s user 0m7.965s sys 0m1.618s

November 15, 2018

Another blog migration

It all started innocuously enough with this post from Alex Shroeder https://octodon.social/@kensanata/101052266709264418 Writing tools. Emacs Wiki What about you? I spontaneously replied. Emacs Orgmode Nikola This reminded me that since, I had recently migrated my desktop from Arch Linux to Fedora 29, I needed to reinstall Nikola and check that the blog I never use still could be built successfully. Oh - how exciting. Nikola has recently released version [8.0.1] Nikola-8 and I was on the previous version - 7.8.15. I quickly created a Python 3 virtual environment and installed Nikola. ...

November 14, 2018

The National - You were a kindness

I was in a fog, I didn’t notice everything Was coming all apart inside of me There wasn’t anyway for anyone to settle in You made a slow disaster out of me There’s a radiant darkness upon us I don’t want you to worry I was careful but nothing is harmless Baby, you better hurry You were a kindness when I was a stranger But I wouldn’t ask for what I didn’t need Everything’s weird and we’re always in danger Why would you shatter somebody like me? ...

November 10, 2018

Gnus now unbelievably speedy

When I initially revisited Emacs, I used mu4e (instead of Thunderbird) for my email. I used the wonderful Gmane service to read mailing lists in Gnus and Elfeed to read blogs and RSS feeds within Emacs. This worked fine but after a while it became a little tiresome having to remember different key bindings to essentially perform the same repetitive tasks; reading messages, navigating (next/previous) messages, moving messages, saving messages, marking messages, deleting messages, searching messages, forwarding messages, replying to messages and occasionally composing brand new messages. ...

January 13, 2017

life with Emacs

birth At the tantalising climax of the last episode, I was invited by Steve for a whistle-stop tour of Emacs. Steve explained that the main reason he used Emacs was pure laziness. Naturally, this immediately got my attention. He explained: ‘I’m lazy. It’s not a fault. It’s a fact. Most decent programmers are lazy. You’re lazy’. ‘Hang on, just a minute ! What do you mean - I’m lazy ?’ ‘Andy - you alias ‘cd ..’ to ‘up’ and ’l’ to ’ls -ltr’. Just to save five characters typing. So don’t tell me you’re not lazy. Anyway, it’s not a criticism’. ...

October 21, 2016

life before Emacs

the early years 1962 Entered the world as I intend to leave it. Kicking, screaming, naked, held upside down by a nurse slapping me on the backside. a night at the Lesser Free Trade Hall 1977 Wrote my first basic program in BASIC on a Tandy TRS-80. Editing facilities were fairly limited. I think to modify Line 10, you had to simply re-enter Line 10. In its entirety. This was rather time consuming, tiresome and almost put me off computers for life. ...

September 2, 2016