Category: Misc.

  • General Election 2015: The aftermath 

    I’ve just woken up to the sun shining brightly over Loch Ness, as the final results of the General Election trickle in from around England.

    At around 6am I headed to bed with only one Scottish seat left to declare, and its announcement looking likely to bring the total number held by the SNP to a staggering 56 out of 59 possible.

    It’s important to reiterate just how incredible this outcome is. Some of the safest Labour seats in the UK have fallen to the SNP, mere months after a ‘no’ vote in an independence referendum. The seven seat stronghold in Glasgow has been swept aside with seemingly remarkable ease, colouring the city yellow – along with much of the rest of the country. Between them, Labour, the Lib Dems, and the Tories now only have three representatives. The record breaking swings to the SNP were so large that they broke the BBC’s swingometer.

    They weren't expecting that.
    They weren’t expecting that.

    Where once household political names would be relatively safe from such shifts in the political landscape by virtue of their recognisability, it seems like that prominence may only have served to aid in their downfall. Danny Alexander has gone, Jo Swinson has gone, the Scottish Labour Party leader has gone, and the former shadow foreign secretary Douglas Alexander has gone, losing to a 20 year old politics student. It’s fascinating.

    That right Jim, aye?
    That right Jim, aye?

    Even as the losses piled up, Labour Party members seemed unable to deal with the idea that they have fundamentally lost the confidence of the Scottish people – taking swipes at the SNP rather than asking themselves what the hell just happened. Scotland doesn’t belong to Labour, and the continuing failure to comprehend that by entitled politicians has doubtless played a significant part in their downfall. It wasn’t a ‘rise in nationalism’ that crushed Labour, as Ed seems to think. Labour have done this to themselves.

    This isn’t just about standing shoulder to shoulder with the Tories as part of Better Together (though that certainly has been an element), it’s about a complete inability on their part to speak up for Scotland in Westminster: instead, working as a branch office of the British Labour Party. The Scots are fed up of their hollow promises. My now ex-MP who held his seat for 15 years voted to invade Iraq, against any investigation into the war, for national ID cards, and even to raise University tuition fees in England. Typical of the toxic sort of politics that has no place in post-indyref Scotland. Oh, he’s also the one who said that he was ‘bored with politics‘ just last week. Jog on pal.

    What Scotland Looked Like Before
    What Scotland looked like before
    What Scotland Looks Like Now
    What Scotland looks like now

    As the results came in over the night, there was a markedly different mood between my Scottish and English friends. The former were abuzz with excitement and anticipation, whilst the latter despondent and almost disconnected from the whole thing. It’s not hard to see why this might be, given the bleak choice that faced those on the left. Miliband wasn’t just a weak opponent, but one who has spent so much time trying to appease Middle England on issues like immigration that red has seemingly just become another shade of blue. If I was down south, I couldn’t have brought myself to vote for him, tactically or otherwise.

    It may seem strange to be celebrating a landslide SNP victory in Scotland when the Tories are currently finalising a majority from votes in England, but for the Scots, having no real impact on those who hold power in Westminster has always been the case. Given this, seeing real change sweep across Scotland became the most exciting and important thing, not whether we got Cameron, Miliband, or some other cookie cutter Prime Minister that we didn’t vote for anyway. The ‘roch winds blew through the Great Glen of Scotland tonight’. The established political wisdoms no longer apply here, and it’s exciting.

    For all of that though, when the dust clears we will still be faced with the decidedly grim prospect of another 5 years of Tory governance. It’s incredibly unlikely that we will see ‘some sort of federal offer’, as Boris Johnson has suggested. Instead, what we definitely will see is a concerted attack on civil liberties, with the Tory tongues already drooling at the prospect of scrapping the Human Rights Act. We will see more hateful rhetoric around immigrants, with the currently ludicrous and contradictory system being stacked even more against British citizens with non-EU spouses. We will see a referendum in 2017 that could ultimately rip Scotland out of the European Union against the wishes of the people, and directly in the face of that membership being hailed as one of the benefits of remaining in the Union.

    Ultimately, last night was a clear statement of how politics in Scotland have shifted. There could yet be a revolution, but things are going to get worse before they get better. We have a fight on our hands.

  • SQA Higher Computing Revisited

    SQA Higher Computing Revisited

    School. Apparently the ‘best years of your life’.

    That definitely was not my experience of school, it has to be said.

    One of the big frustrations I remember from my time at Kirkintilloch High was taking Computing – both at the Standard Grade level (third and fourth year, or aged 14-16 roughly), and Higher (aged 16-17).

    Despite it being something that I had a pretty in-depth understanding of, I ultimately only got a B for the Higher exam. What I remember is that the questions were vague, allowing significant room for interpretation; the teachers lacked the knowledge or the common sense to make allowances, and you could be marked down for answers which were correct, but didn’t match up rigidly with what was on the marking scheme.

    The example that sticks in my head was from a prelim exam we sat where the question was ‘Name three pieces of hardware required to watch a multimedia video’. I answered: ‘Processor, Monitor, Graphics card’, which seemed to me like the very basics of what you would need – discounting all the other bits and bobs that make up a functioning computer. Apparently, this was wrong. The correct answer was something akin to: “An input device, processor, video card, or graphics card.’ My teacher informed me that ‘monitor’ was not on the marking scheme, and therefore I lost points as a result. My desperate pleading for an explanation of how anybody could watch a video without a display fell on deaf ears, and the maddening insanity of this has forever stuck in my mind.

    I decided to go back and have a look at some of the questions from around that period, to see what they were like with the benefit of hindsight. This proved to be a bit tougher than I had expected, as past papers from that era aren’t kept online by the SQA. I e-mailed them to request a copy, and received a rather puzzling response:

    SQA Copyright Restrictions

    Well, that’s weird. Surely the SQA own the copyright to their own past papers? I pressed them on this, and got – if anything – an even more puzzling reply:

    SQA Past Papers

    The SQA can’t keep past papers for more than 5 years due to ‘data storage’?! I almost wrote back to offer a donation of a hard drive. Hell, even a 1GB USB pen drive should have been enough to keep them ticking over for a few decades. It possibly goes some way to explaining the nonsensical Computing questions that they used to ask.

    I searched high and low for PDFs from the relevant years, only to turn up a couple of prelim samples from schools that had seemingly uploaded them yonks ago and forgot. Finally, success! I tracked down this bad boy from a seller on Amazon:

    SQA Past Papers 2002-2006

    So let’s have a look shall we? The examples below are taken from a mix of the online PDFs that I found, and the book above.

    Consider the following question, taken from the specimen question paper to be used from ‘2005 onwards’:

    Higher Specimen Paper 2005The purpose of this question is to discuss ‘peripherals’, and the ‘advantages of solid state storage devices’. These are pretty important to understand, though the question here seems a bit bizarre.

    • What are the benefits of using a camera with a ‘flashcard’, compared to what? The question doesn’t give anything to compare flash storage against, so it seems impossible to know what the benefits would be.
    • There isn’t really any other storage option suitable for digital cameras. All of them use flash storage, so to use that device to illustrate the advantages seems weird. You can’t really have an advantage when that’s the only option. Asking: ‘Give two reasons why a flashcard is the most appropriate form of storage for the camera?’ would make far more sense.

    This is backed up by the answers given:

    Screen Shot 2014-11-24 at 15.19.18

    It’s worth noting that these two are the only two listed in the marking scheme. Personally, I think there should be far more. Here’s a couple of suggestions:

    • Flash based storage is much faster to access than other kinds.
    • Flashcards are more robust, and less sensitive to knocks – as required in a portable device.

    Thankfully, things have improved a bit on this front. Here’s the question from the same subject, but in 2014:

    Screen Shot 2014-11-24 at 15.54.49

    Much better!

    Going back to the 2005 specimen paper, here is question b) – along with the answers:

    Screen Shot 2014-11-24 at 15.30.00

    In some respects, the aim of this is pretty good. Students should definitely understand the different types of file formats available for graphics, and their varying purposes. However, the question itself is stupid. It asks what file format would be ‘suitable for this application’ – i.e. for use in a digital camera, and then gives equal marks for explaining the pros and cons of whatever you choose. That means you’d get the same marks for answering GIF as you would JPEG. Completely ridiculous. A GIF would never be an appropriate file format for use in a digital camera, irrespective of the advantages and disadvantages. There’s too much of a disconnect between the question and the learning outcome.

    This would be a more appropriate question:

    ‘Name a ‘standard file format’ used in modern digital cameras, and explain why it is most appropriate (one advantage and one disadvantage)

    It makes clear that there are particular formats that are used, doesn’t award marks for inappropriate answers to real-world examples, and still requires the student to understand and analyse why the format is appropriate over and against others.

    Here’s a similar question from the 2005 exam, with the acceptable answers underneath.

    Screen Shot 2014-11-28 at 18.06.59

    I think disallowing ‘bitmap’ here is pretty unfair given that it’s the name of the file format bmp. If they had asked for the extension of the standard file format, rather than ‘name a standard file format’, then restricting it in this way would make more sense. Boo, hiss.

    Moving on, take a look at this question:

    Higher Specimen Question 2 2005

    I’d tell Helen to throw out her PCWorld Magazine and go buy a Macbook Pro.

    roncomputer

    Okay, I’m kidding, but only half.

    This is the answer given:

    Screen Shot 2014-11-24 at 15.40.25The purpose here is to demonstrate ‘justification of the hardware selected in terms of appropriate characteristics’. Again, an important aim, but with an inappropriate question.

    We’ll ignore the fact that floppy drives at this point were only ever used in PCs for when (inevitably) things went tits up and you had to do something to the BIOS (Apple had gotten rid of them years before this). We’ll also ignore that the question didn’t actually specify what sort of data Helen wants to back up, so it would be impossible to know whether a floppy drive was too small for purpose or not. (Maybe she just wanted to back up a few text files?).

    Even back then, the most appropriate answer would be to use some sort of external USB storage. Helen would have been better off getting the cheaper system out of the two that let her also get an external device. Maybe that’s what’s meant to be covered under the vague description of: ‘Other suitable.’ However, it looks like they don’t really care what answer you give, so long as you pick the one with the DVD-ROM.

    This sums up exactly what was wrong with much of the Computing Higher back then. Even if you gave a perfectly justifiable reason to pick the ‘Lynx 983’ device, you would be marked wrong – completely defeating the aim of the student justifying the hardware selected based. The questions were vague, allowed significant room for interpretation, and no common sense was used in the marking process. On top of that, the teachers often didn’t have the knowledge or leeway to do anything about it anyway.

    One of the saving grace’s of the curriculum is that it included questions relating to ‘Computers and the Law’. Something that everybody should have an understanding of:
    Screen Shot 2014-11-24 at 15.14.10

    Higher Paper Question 4 2005Nice.

    Another of the problems with the Computing course was the disparity in difficulty levels of the questions within the space of one paper. On one hand, students are asked to explain what the benefit of using a DVD is over a CD (answer: more space), or to explain why a short domain name is better than a long, complex one… and how the Internet can help small businesses:

    urlhighercomputing

    and just a few pages later they are expected to know wtf ‘backchaining’ and ‘loop constructs’ are, and to be able to express things in pseudocode:

    Pseudo Code Higher Computing

    backwardchaining

    and does anybody really need to know how to work out numbers in binary? I sure am glad I don’t have to do that sort of calculation any longer.

    Higher Computing Binary

    I get the importance of gaining holistic knowledge about computing and the technology industry, but the consistency in the questions was way off. One of the particular frustrations I remember from sitting these exams myself was being treated like an idiot on one hand: “Duhhrr give an example of a URL.” and then being expected to produce fairly beefy examples of scripts out of our heads on paper (that’s right, we ‘coded’ everything in our notebooks, rather than using the computers). It seems like half the course should have been at Standard Grade, rather than Higher level. Although it’s probably best we don’t go back to look at those particular questions, which involved explaining what a mouse and keyboard were used for.

    Back then the Computing curriculum was a joke, doing a disservice both to those who taught it as well as those who sat it. The purpose of the whole thing seemed (and seems) pretty unclear. Whether it was to teach the basics of hardware, prepare future programmers for University, or just give a general overview of Computing it failed on all accounts. I really hope that things have changed since then.

  • Write Stuff Down: A Tale of a Locked Mobile

    Write Stuff Down: A Tale of a Locked Mobile

    Yesterday I flew down to London to sit on a panel titled ‘Digital Dystopias: Civil Liberties In A Digital Age’, as part of the UK Liberty League’s ‘Freedom Forum’ of 2015.

    The journey meant getting up at 5am, though really it was 4am as the result of clocks going forward… and heading back later on that day. I wasn’t able to get decently priced trains for the times that I needed to get there in time. I packed light, and didn’t bother to bring my laptop with me as I usually would for a trip like this.

    Rather ironically, on my way to speak (partially) about the need to be aware where your data is being transferred online, I got an untimely reminder of my own over-reliance on my phone. Having switched it off for the flight, when it came back on I was prompted to type in the full password. This isn’t something I have to do too often, making use of the Touch ID facility, and it turned out I couldn’t remember what exactly it was. I had opted to avoid using the ‘simple’ code, which is really just a numerical pin number, as it was far too easy for people to read over my shoulder, then use it to ‘frape’ me or something equally uncouth. Back when I was in a band we used to punish each other for leaving our phones unlocked by sending multiple text messages containing the phrase ‘wanna see my weasel?’ to random numbers. This is something I wanted to avoid happening again.

    The way things progress when you’ve forgotten your password, or at least, which variation will grant access, is this: You get a few chances, then you get locked out for 1 minute, then 2 minutes, then 6, then 15, then 60… then completely. Ouch.

    This wouldn’t be too big a problem if I didn’t completely rely on the phone for uh, everything. The location of where I was meant to go for the conference? On the phone. The phone numbers of all the people who could help? On the phone. Since I like notebooks, I had luckily copied down some of my notes, as well as printed out my boarding pass – but I could just as easily have left the former in Evernote, and used the Easyjet app for the latter – and almost did.

    I eventually persuaded somebody at an information desk in Victoria Station to Google the conference venue for me, and worked out where to go using the big ol’ printed maps. It didn’t help that the streets were closed off due to some huge stabbing incident the night before, so I had to wander around for a while before I got to the venue. But all was well.

    Letting my wife know that I wasn’t dead was another matter. I couldn’t get in touch with her via any of the apps on my phone – obviously. I wondered about finding a good ol’ fashioned pay-as-you-go web machine (or a computer) to login to Facebook or something and drop her a message. However, that wasn’t the end of the complications. Even if I could find an Internet cafe (seriously, wtf do they call rental computers now?!), I couldn’t actually login to any of my services anyway. My passwords are all 30 odd characters long, randomly generated things that are stored in a secure database that is only available on my laptop or… my phone. Even if I could get into a backup of them somewhere, I would still need to verify my identify using two factor authentication. Also, on my phone.

    In the end, I resorted to a payphone. Trying to locate one was amusing, with the people I asked for help looking at me as if I was mentally deranged, or a drug dealer, or both. To be fair, I’d probably have the same reaction in their position. The payphone was only slightly helpful though, as eh… I don’t know anybody’s numbers. Literally every single number of everybody I could get in touch with was stored in my phone. Mind when you used to remember them off by heart? Well, the only one that my memory would serve up was my gran and granda’s. Luckily, they were able to get a hold of my parents (in Amsterdam) via Skype, who then sent a message to Grace to let her know what had happened, and that I wasn’t lying in an alcoholic coma somewhere.

    I did eventually find a computer in Gatwick airport, for what it’s worth – but it charged 10p for one minute of access to the Internet. I’m not sure exactly who they think will pay for that shit given there’s free WiFi everywhere – and WTFTENPEEPERMINUTE!? This isn’t the 90s when the web was a novelty.

    So I had to suffer the injustice of a whole day with no Internet access, and no way to contact anybody. It was a weird experience, surrounded by thousands of people who were connected up to their eyeballs with a myriad of devices… yet unable to take advantage of any of it, even if I asked.

    I think I’ll write things down more often.

    Oh, as an obiter, I was told that I’d have to wipe my phone completely and restore from backup to get access back. This proved to be tricky as I had just gotten a new laptop, ergo… no backups. I discovered that if you go into Find My Phone online (if you have it enabled via the iCloud), that you can re-trigger the ability to insert your passcode again if you make the phone play a sound. Good to know for the future.

  • DMCA Rejection Retaliation

    Every day WordPress.com receive a sizeable number of DMCA takedown notifications, and every day I personally reject a fair number of them for being incomplete, invalid, or fraudulent.

    Many of those who find their takedown notifications being rejected are displeased with the decision, used to service providers choosing to automatically process them, shifting the burden of proof onto the user, rather than take on the risk of liability for themselves. Unsurprisingly, this displeasure is often most aggressively expressed by dedicated third party agents whose sole business model is based on scouring the web for potentially infringing acts, and who get paid per removal. Some people may say that with a results-driven financial incentive to have material taken offline, that there is more of a chance for the DMCA process to be used inappropriately – but that’s something you’ll need to make your minds up on independently.

    Yesterday a colleague let me know about one such organisation that had evidently found some of their notifications rejected in the past, who had then chosen to take to Twitter to voice their displeasure about me doing my job.

    Screen Shot 2015-02-24 at 23.49.14

    The image they linked to was of me, lying on the grass clutching a bottle of Buckfast – the weekend of the Queen’s Jubilee, if memory serves correctly.

    The one they used wasn’t really very good quality though, so here’s a higher resolution one incase they want to try again:

    crail

    I’m not entirely sure what they were trying to achieve to be honest. It’s not as if pictures of me intoxicated are really all that hard to find, after all. My occasional penchant for Buckfast isn’t exactly a secret at Automattic either, given that I did my first annual ‘flash talk’ at the all-company Grand Meetup in Utah on the ol’ tonic wine.

    Somebody (who shall remain nameless) suggested we reply to say:

    Even smashed on Bucky, Clicky Steve knows more about the DMCA than RemoveYourMedia

    Which is so beautiful it almost brought a tear to my eye.

    That wasn’t the only tweet they aimed at me though.

    Screen Shot 2015-02-24 at 23.49.26

    It’s pretty bizarre that they would choose to use that case about Napster to illustrate the potential liability for service providers guilty of contributory infringement, since there are far more recent, compelling, and relevant judgements they could have made their point with. Ah well, better luck next time, eh? As far as I’m aware they never actually sued after these bold statements on social media, but maybe they’re still preparing the paper work.

    At the end of the day, whilst this has given me a hearty chuckle before I turn in for the night, there’s no getting away from the fact that it’s not only petty, but ridiculously unprofessional. Making ad hominem attacks on employees of a company for rejecting your legal demands is pretty sad. If I was a copyright holder, I wouldn’t be too impressed to find the agency I had employed to protect my intellectual property deploying tactics like this. Then again, it might be a bigger deal if they had more than 1200 followers…

    In the world of the DMCA, there’s only one thing dumber than submitting bogus takedown notifications, and that’s having a tantrum on Twitter when your bogus takedowns are rejected.

  • Productivity Apps: Hazel

    Productivity Apps: Hazel

    Time for another look at one of the tools I’ve found that has come to be invaluable in staying productive whilst working online. That is ‘Hazel’: a personal maid for your computer.

    3533844787_1f22acccb9_o
    CC Picture by ‘Robert Wade’

    No, not that kind…

    This kind:

    Hazel-hero

    Hazel is the most wonderful sort of productivity app, because you just set it up, and let it go. It carries on quietly in the background making sure that your Mac is kept clean and organised without you having to worry about anything. It’s so good in fact, that I had forgotten most of the tasks I had designated Hazel to look after, and so had to go back in and check for writing this article.

    So what is it for?

    I used to always get criticised by colleagues for having a desktop cluttered with all sorts of files – the tech equivalent of having a messy bedroom. The reality was that the desktop was the first place to pop up in the save dialogue, and it was handy to drop things there for quick access. I tried everything to get it under control, including monthly clear outs, and apps like desk drawer… eventually I just hid the icons on the desktop completely, so at least nobody else would know that they were there. The shame.

    Hazel takes repetitive tasks like clearing up your desktop, and does it for you automatically. Ever since I hired in her help, my laptop has been more organised than ever before.

    How does it work?

    Setting Hazel up couldn’t be much simpler. There’s no intrusive menu bar icon (unless you want there to be), and the app runs as from a straightforward preferences pane. Here’s what mine looks like:

    Screen Shot 2015-02-04 at 11.22.18

    You choose the folder or location on your computer where you want Hazel’s actions to take effect on the left hand side, and then in the right hand side you set up the sort of things you want Hazel to do.

    What sort of things can you do?

    Let’s take the top example from the above image for a closer look: ‘Move Screenshots to Pics > Screenshots’.

    Screen Shot 2015-02-04 at 11.24.29

    I take a lot of screenshots throughout the day. Some of them are useless, and should be thrown away eventually, but others are quick notes, or things I want to hang on to for later reference. The default OSX behaviour is to place them on the desktop, which is convenient… at first. It can be a real pain to go through and move them all manually into a different folder. In the above image, you can see that I’ve set up different criteria. Basically if Hazel finds an image on the desktop that contains the words ‘Screen Shot’, it moves that file into a dedicated Screenshots folder under Pictures. That way I know where they all are, and periodically can go through them to see which ones I want to keep. The important thing is, they aren’t cluttering up my desktop, mixed in with all sorts of other guff.

    Let’s say you don’t want to keep any of them indefinitely though. All you’re interested in is keeping the screenshots for the amount of time it takes to upload them online somewhere. No problem. Head on back to the main Hazel screen, create a folder grouping on the left for the Screenshots folder, and then create a new action to tell Hazel what to do with them:

    Screen Shot 2015-02-04 at 11.28.59

    There’s all sorts of things we can have Hazel do here. In this case, if the screenshots have been added more than a week ago, we can get Hazel to Move them to the trash, or maybe Sort them into a subfolder named ‘old’, or archive them… or add tags to remind us to go back and clear them out. There’s all sorts of possibilities.

    What’s even cooler is the level of gradation you can get in the timescales:

    Screen Shot 2015-02-04 at 11.31.47

    You can get pretty specific about when, to make sure you target exactly the files you want.

    What do YOU use it for?

    Here’s an idea of the things that Hazel does for me:

    • Launches downloaded torrent files, and throws them away afterwards
    • Moves all downloaded, compressed files (zip/rars) into a single folder after 1 day has passed
    • Moves all downloaded RTF, DOC, DOCX, and TXT files into a ‘Misc Documents’ folder in ‘Documents’ after 1 day has passed
    • Moves all downloaded DMG files into a dedicated folder after one day has passed, and then deletes them from there once they get over a month old
    • Moves all downloaded app files into the ‘Applications’ folder (something I always forget!)
    • Moves all downloaded PDF files into a dedicated ‘Misc PDF’ folder under ‘Documents’ after 1 day has passed
    • Organises GIF, JPG, PNG, and PDF files into appropriate folders away from the Desktop
    • Deletes incomplete downloads that are aged from before this quarter

    I also make use of the handy Trash settings:

    Screen Shot 2015-02-04 at 11.46.48

    The above is pretty self explanatory, but essentially it means that I hardly ever have to look at the Trash again.Oh, and the secure deletion option is pretty sweet. Not just restricted to Trash, Hazel can also keep an eye out for when I delete Apps, and offer to clean up the residual files that get left behind. If you later change your mind, and reinstate the application after deleting it, Hazel will offer to reinstall all of the associated preferences files for you!

    Hazel keeps things ticking over, without me needing to worry about the little details in life.

    But wait, there’s more…

    Up until now I’ve really only scraped the tip of the iceberg with what Hazel can do. What I haven’t mentioned is that one of the actions that can be performed is to run an AppleScript or Automator workflow. This means that there are plenty of fairly complicated ways you can make use of Hazel if you sit down and take the time to work out the sort of tasks that would be helpful to your specific workflows. You are only really limited to your imagination (or the extent of AppleScript, anyway).

    Here are some examples:

    • Set up a dedicated ‘resizing’ folder, where any images that get dropped in will be resized by Hazel and spat out to a subfolder.
    • Get Hazel to organise different files into different places based on coloured ‘flags’, like learning to ignore certain files from deletion if they are flagged ‘green’.
    • Organise PDFs saved from specific websites into dedicated folders. For example, if you download your payslips every month, Hazel can analyse the source and make sure they get put automatically into the right place.
    • Look out for e-mails from designated people, and send them to a particular Evernote project.

    If you come up with any cool workflows, I want to hear from you.

    How much and where!?

    I know, I know. You want to employ Hazel right now. It’s understandable. You can get a free 14 day trial, or dive right in for a cost of $29 from Noodlesoft here.

  • Productivity Apps: PopClip

    Productivity Apps: PopClip

    If you work online, there a whole load of tasks that can be a pain in the ass to have to do. Even if work itself is great, nobody likes having to do certain things… like copying and pasting different URLs into new browser tabs, or re-formatting garbled text.

    One of the benefits of working at Automattic is being surrounded by friendly, smart geeks who have tried all sorts of different things to get the most out of their computers, and to tailor them to fit how they work. When you hit the sweet spot, your laptop really seems to sing; doing exactly what you want to straight away without having to footer about and get bogged down in the drudgery; it becomes almost like an extension of your fingers or brain. That sort of harmony can be a really great feeling, and let you enjoy working rather than it becoming a chore. I’ve written before about how great Alfred is for this.

    One of the other tools that helps achieve this sort of inter-relationship for me was recommended by my friend and colleague Mark: PopClip for Mac.

    original

    PopClip is a small helper application for Mac and iOS that pops up a control panel when you select text. You can then quickly access a whole variety of different options, from the standard Bold/Italic formatting options, to looking up the text in the dictionary, Google translate, or whatever else you might fancy.

    This is what my PopClip bar looks like:

    Screen Shot 2015-01-26 at 15.33.31

    Usefulness, and Integration with Alfred

    At first, I wasn’t too convinced about this app. It seemed like one of those cool ideas that didn’t really play out properly in execution. The prospect of having the PopClip bar appear whenever I highlighted text seemed like it would become a real pain real quickly, and it did.

    However, there were lots of cool features in there that I was sure would be useful at somepoint. I realised that rather than have the bar pop up every single time text was highlighted, Alfred could be used to control the behaviour through the use of Hotkeys.

    As a result I created an Alfred workflow specifically for this purpose. You can download that here.

    Once installed, you can toggle PopClip ‘On’ or ‘Off’ by using the keyword popclip from the Alfred launch bar. Alternatively, you can leave PopClip off, and trigger its menu when needed by the use of a hotkey – currently set to ⌘ + P. The latter is what I find myself using more often than not.

    As soon as I realised that I could do this, PopClip seemed a lot more powerful than before.

    Features

    There are a whole bunch of things you can use PopClip for, so it’s just a matter of finding what is useful for your own particular workflow.

    Here’s a glimpse at some of the extensions I have installed:

    Screen Shot 2015-01-26 at 15.40.18

    The ones I use the most are:

    Instant Translate

    This is a great extension. Highlight a sentence, call up PopClip and hit Instant Translate to get a translation into the ‘Destination Language’ that you set in the preferences. Saves the time and hassle of going to the Google translate page, instead bringing up the translation in a bubble:

    Screen Shot 2015-01-26 at 15.46.24

    That’s Greek, by the way.

    Download Instant Translate here.

    Google Translate

    Of course, sometimes there’s just too much text to display in one little popup. The Google Translate extension grabs the selected text and passes it through to the full booner.

    Shorten URL (bit.ly)

    Pretty self explanatory. Grabs the selected URL and shortens it using the Bit.ly service. Download it here.

    CopyURLs

    This is one of my favourites. Often I need to deal with long e-mails that have various URLs in them. Going through these, copying and pasting the URLs out separately was always a real fiddly, and boring task. The CopyURLs extension did away with all of that in one quick swoop. Simply highlight any text, invoke the extension, and just the URLs from that text will be copied to the clipboard. Fantastic.

    This beauty was authored by Brett, and is available to download as part of a bundle here. If you just want CopyURLs though, you can grab it here.

    OpenURLs

    Just like CopyURLs, but this time it takes the URLs in the selected text and opens each of them in a new browser tab. Pretty swish. Grab it here.

    Abbreviation Lookup

    Not sure what an abbreviation means? WTF TLDR? Highlight and invoke this extension to get taken straight to the meaning. I ended up writing my own extension for this purpose, as the existing one on the PopClip page wasn’t producting great results. Get it here.

    Send to SimpleNote

    I had been looking about for an extension that integrated with SimpleNote, but couldn’t find any. So, I wrote one. This will grab the select text and send it over to a new note in SimpleNote. Great for capturing quick thoughts you want to come back to later. Download it here.

    Simplenote-demo
    Image owned by Pilot Moon.

    Custom Searches

    Can’t find what you are looking for on the list of 100+ free extensions on the PopClip page? No sweat. You can easily set up your own. There’s a good tutorial here if you want to get down and dirty with AppleScript, but if you’re not ready for that yet, Brett again has created a fantastic wee tool to help you on your way. Simply plug in the site you want to search with the highlighted text, and this will spit out a PopClip ready extension for you to use.

    Personally, I’ve created a whole bunch of quick extensions for things I need to search for at work regularly – like usernames, domain names, and e-mail addresses. Not dis-similar to Alfred’s Custom Searches function, using PopClip in this way makes the process even quicker for particular tasks, saving the need to copy the text, call up Alfred, paste it in then search. Instead, just highlight, call up PopClip, and hit the relevant search button. Easy!

    Summary and Price

    It can be hard at first to get into the habit of using PopClip, but there are real rewards to be reaped once you do. Certain tasks are made so much quicker than they would be otherwise, and it’s just a matter of finding out what will be of most use to you personally.

    PopClip costs $4.99 from the App Store, but also has a free trial available on the Pilot Moon website. For all the hours it’s saved me copying URLs from lawyer’s emails, it’s been well worth it. Give it a bash and see what you think.

  • Scots Words

    Scots Words

    The Scots language. Something that comes naturally to us, but completely bewilders others when they hear us speak.

    Lots of people (including many Scots) don’t realise that ‘Scots’ is a distinctly separate entity from English – more than just an accent or regional dialect. Just like many languages, there are types that vary both in level and in the time period that they are from. Ancient Greek differs substantially from the Greek that they speak in Athens today, for example. Acts of the first Scottish Parliament were in Auld Scots, and it was something that I had to read as part of my degree.

    Licensed under CC, by demis.nl, via Wikipedia.
    Licensed under CC, by demis.nl, via Wikipedia.

    Unlike back then, the Scots we speak today is irrevocably tied up in English. The roots of many words are the same or similar, and it’s overwhelmingly a spoken language rather than one that would be written down. I’d be hard pressed to even spell half of the things correctly, and there’s no real formal standardisation that I’m aware of.

    As I read recently, it’s probably the case that Scots speak a mash of Scots to each other, but English to others, automatically. It’s why it feels so good to chat to a fellow Scot when you’ve been abroad for a while… The patterns and words you use are completely different when you know the other person will understand you. If you’re not convinced, get even the most ‘well-spoken’ Glaswegian drunk with a group of pals and you’ll see how quickly things change.

    That said, a lot of the words seem to fall out of common parlance, especially amongst those that consider themselves to be middle class, or who go through higher education. If you are constantly measured by your ability to use precise (and correct) language – whether in academia, personal life, or an increasingly globalised workplace – Scots gets pushed to the back of your mind. Some words are dismissed (wrongly) as being nothing more than an accent, or as an improper bastardisation of English… like ‘hoose’, ‘heid’, ‘widnae’, ‘naw’, ‘aye’, or ‘haun’…  whilst others simply become a chore to have to explain to people.

    For me, having spent a lot of time out of Scotland over the past year, and even more time around non Scots, I’ve found myself wondering about these words; the words that I remember fondly from when I was younger. Scots words often fill gaps where English just can’t adequately express how you feel at certain times, and often have a deep emotional connection as a result. The more I am away from home, the more maintaining a cultural connection is important, and the more I want to make sure these words don’t just slip away.

    So, as a result, I’ve decided to make a conscious effort to bring more Scots back into my everyday vocabulary. Part of the whole problem has been that because these words just seem so natural, it’s not always easy to identify which words are actually Scots… or until you realise that you have been avoiding them instinctively around people who won’t be familiar with them.

    To help jog the memory, I’ve started reading some books that are written in varying degrees of Scots, and been noting down some of the words that I remember and want to use more. I’ve listed them below, but haven’t bothered with those that are obvious due to their proximity to English, or that are widely known outside of Scotland (wee for small, gie for give, etc).

    The definitions are my own. You should know that by their nature it’s hard to articulate exactly the feelings behind the words, or when you would use them, but it should give a good idea.

    Birl – Spin around. Like ‘geez a birly‘ – where an adult would pick up a kid by the arms and spin them around really fast. Or when you are birling around at a ceilidh – a traditional Scottish party.

    Close enough.
    Close enough.

    Bosie – This is really a Doric word – a dialect of Scots used in the North East of the country, so not all that common down in Glasgow where I’m from. However, it’s such a great word that I’d be a dafty not to include it. Imagine a hug. Nice, aye? Now imagine having one of your favourite people in the world wrap you up in their arms whilst wearing a huge fleece jumper. That’s a bosie. Warm, safe, and affectionate; the best kind of hug you’ll ever get.

    This is as close as I could find to visually represent what a bosie feels like.
    A bit like this.

    Breeks – Trousers. ‘Yer breeks are fallin’ doon!‘.

    Canny – Careful, smart, cunning. Being clever about how you act. ‘He was aye canny wae how he spent his cash.‘ Like him or not, Alex Salmond was often described as being a canny politician, due to the clever strategies he used to get what he really wanted from the Westminster Government.

    Clype – To tell on somebody/dob them in/snitch on them. Both the act and the person. ‘Don’t clype on yer brother‘, or ‘she’s a wee clype‘. Not a good thing.

    Coorie – Cuddle up, snuggle in. A warm, affectionate word. I associate this with a mouse coorying in to blankets for some reason. ‘Come here and coorie in tae me‘. Should note that this isn’t a sexual thing.

    Crabbit – This is fairly well known, but it’s still great. It means to be in a bad (or ‘crabby’) mood. ‘Stoap bein so crabbit‘, ‘he’s just a crabbit faced git‘.

    Dreep – Means ‘drip’, but I always knew this in relation to a certain way of lowering yourself down off of a wall, to avoid hurting yourself. You’d ‘dreep’ down till you were hanging off by your fingers to reduce the distance to the bottom from your feet. ‘Ahll huv tae dreep ower it‘.

    Dreich – This is a great word, which gets used a lot. Probably unsurprisingly, given what it refers to. It describes the weather, and is for when it’s raining, but more than that; painting a picture of a day where it seems like everything is grey: the sky, the buildings… everything.

    Dreich
    Dreich

    Drookit – Soaking wet. Completely drenched. Almost always due to the rain, or if it’s snowed and then melted… Usually in reference to your clothes when you literally couldn’t be any wetter.

    Fankle – All tied up in a knot, like a tangled mess. ‘The cord’s aw fanklet‘.

    Gallus – Daring, confident, bold, cheeky. I always imagine somebody doing something with a knowing grin on their face. It’s usually used in a positive rather than negative way. Being gallus isn’t a bad thing. Even if somebody is a bit of a ‘gallus prick‘. My pal Kerry loves this word.

    Guddle – A mess. ‘He’s got himself aw in a guddle‘.

    Keich – Not to be confused with the egg pie ‘quiche’, although if you dislike quiche, you could well describe it as keich. Keich means crap. ‘Hahahah you’ve got bird keich on ye!‘.

    Quiche. Picture licensed under CC. By Micah Elizabeth Scott.
    Quiche, not keich. Picture licensed under CC. By Micah Elizabeth Scott.

    Lug – Ear. Often heard when a parent is threatening to give their kid a smack for doing something cheeky. ‘I’m gonnae skelp yer lug!‘.

    Scunnered – Completely fed up, done in. When you’ve had enough and can’t be bothered with something or someone anymore. This word is great for when you’re really at the end of your tether, and nothing else quite expresses it adequately.

    Swatch – If you hear something akin to ‘Haw, geez a swatch!‘ whilst traversing the streets of Glasgow, never fear. It does not mean that the other party wants to nick your over-priced designer watch from you. Rather, it means they want to have a look at whatever you’re looking at at the time.

    Overpriced watches. Picture licensed under CC, by choo chin nian
    Overpriced watches. Picture licensed under CC. By choo chin nian

    Wheech – Onamatopaeic, in that it sounds like what it is when you say it. The only way I can explain this is through an example: ‘Just wheech it over the wall. Naebdae’ll know!‘.

    Wheesht – A command to be quiet, to shooosht. When somebody keeps talking after you’ve said to stop, it’d be fair do’s to say: ‘Wheesht!‘. Also used in different ways though, like to tell someone to ‘Haud yer wheesht.’

    There’s endless amounts more, but these are some of the best. If you’re Scottish, we should definitely make more of an effort to retain these words. Don’t be a walloper; they’re too expressive to let go.

    For a bit more on Scots, check out this great post.

  • Why I’ve Switched to WordPress.com

    Why I’ve Switched to WordPress.com

    The eagle-eyed amongst you may have noticed that not only have I switched the blog’s theme in the past few days, but I’ve also shifted the hosting completely over from a self-hosted WordPress.org instance, to one on the servers of WordPress.com. (Confused? This article will explain the difference.)

    For years I’ve always run sites using WordPress software that I’ve configured myself, rather than those on WordPress.com, based on the following reasons:

    • Hacker Mentality – Not wanting to let go of complete control of my site, and the ability to do with it what I please (like hosting weird web apps and playing about with plugins)
    • Cost – I was always under the impression it would be relatively expensive to keep all of my stuff on WordPress.com’s servers, as generous pals have hosted my sites previously
    • Transition Pain – Moving from an already established and customised site to a different platform seemed like a faff, with inevitable SEO problems/broken links
    • Features and Customisation – Not believing that I’d be able to get my blog to look/feel the way I wanted it to within the WordPress.com boundaries, and that I would miss features (like permalink restructuring)

    The more I thought about it, the more I realised that I didn’t actually need to run a self-hosted site for http://iamsteve.in. The design of the site was pretty straightforward, there was no real complicated customisations involved, and the cost of shifting to WordPress.com wasn’t what I thought it might work out at; definitely not for a site that isn’t hosting large numbers of images anyway.

    In fact, the benefits of being hosted on WordPress.com seemed more and more appealing:

    • A dedicated, and passionate support team that are on hand to help out with any issues (Working alongside them, this was an even bigger boon for me personally)
    • A streamlined interface that I use everyday (for both work and pleasure)
    • No more having to login to separate admin panels all the time
    • A site that is integrated into the highly active WordPress.com community – and so more engagement with other users on the posts
    • No more worrying about rogue plugins crashing or needing to be re-configured after an update breaks something
    • The ability to take massive spikes of bandwidth, as I’m hosted on WordPress.com’s massive network

    and one of the most important things of all:

    • The knowledge that my host won’t be intimidated by any legal pressures that come from any of the critical posts I write. (See here for more)

    I’m incredibly proud to be part of a team that fights back against those who attempt to censor bits of the Internet that they don’t like on a daily basis, and it makes sense to bring my own writing into that fold. I know I have good people on my side should anything hairy come up.

    Really the only thing that I was left swithering over was the pain of moving across. I thought I would give it a bash, and two hours later, the entire site is completely migrated over (multiple domain names and all). The difficulties I thought I’d run into didn’t even crop up as issues at all. All of my custom permalinks are smartly resolved by the WordPress software to their new locations (which I am both almost in disbelief and awe at).

    I’m pleased. Not a bad experiment after all.

  • The ‘Scottish Independence Party’ Are Dangerous Idiots.

    Tonight I became aware of the existence of the so called ‘Scottish Independence Party’. No, not the Scottish National Party, but the Scottish Independence Party – apparently set up by Martin Keatings and Deane Syme.

    EDIT: I have received a legal threat from Martin Keane, claiming that he and Deane Syme had nothing to do with the ‘party’ except for its initial creation. At his request, I have clarified the above sentence, and added this notice. Read more about that here. 

    Haven’t heard of them before now? Nah, me neither. Although going by their Facebook page, it appears that over 34,000 people have liked them previously – presumably for some of the messages they shared during the independence referendum in months gone past. Below is an image taken from their site, describing their mission in a typically self aggrandising manner.

    Scottish Independence Party

    There have been a whole number of groups springing up recently that are claiming to be stepping in to the void where Labour once stood; to be ‘for the people’ like no other organisation has; to ’empower local communities’ and so forth, so this isn’t really a big surprise. On the face of it, the Scottish Independence Party seems like just another group with big ideals who got a decent recognition for sharing some positive messages via social media. Idealistic, naive, and ultimately doomed to failure.

    Tonight however, they revealed their real intentions.

    In a post on Facebook, they set out a list of policy positions that they seemed to be considering as part of their push towards some sort of post-referendum step to formal establishment as a party.

    The post itself seems to have disappeared from their timeline, but is still accessible here (since been removed).

    Have a read for yourselves what they have in mind for a future independent Scotland.

    These are IDEAS for POLICIES which our members have been debating on our website. In no way are these set in stone. We need YOUR help to decide which ideas are good and bad. If we’ve missed anything or if you’ve got an idea you’d like added to the list then please fire away!

    1. Allow teenagers to get jobs at 15 as opposed to 16.

    2. Lower the age to 16 to purchase beer & cider in pubs. (ID required) This will get the youngsters used to drinking so that when they come of age to purchase HARD alcohol from the shops/pubs & nightclubs etc, they won’t obliterate their insides.

    3. All officers will be trained in the use of firearms. They will be required to carry them and will subsequently be armed officers who will the be protecting this country on the frontline.

    4. Remove Police Community Support Officers as they’re a waste of money & require police backup whenever things go south.

    5. Remove the TV licensing fee or lower it as it’s a nuisance and some people struggle to pay it each year.

    6. Lower the retirement age. (Self explanatory really.)

    7. Death Penalties for Murderers & Convicted Paedophiles. (We don’t need them clogging up the prisons.)

    8. Improve the education system despite it being excellent already. (Hands on education/REAL life skills education) – Our education system needs an overhaul. Instead of kids sat looking at a board and being told what to learn and then repeat it in several exams. Learning should be more about on going assessment, asking questions, critical thinking etc and politics should be a part of the curriculum. That way we can take the power from the elite who baffle everyone with jargon and give it to the future generations. Employers are coming out in their droves to complain that kids are coming out of school with no real work place applicable skills. This drastically needs to change.

    9. Get rid of speed cameras & bring in a minimum speed limit, not a maximum speed limit.

    10. Legalise prostitution. This would be done from registered facilities which pay tax. It would allow girls far more protection and could lower disease rates and drug issues linked to the “profession”.

    11. Legalise Cannabis. This includes growing cannabis however DRUG DEALING will still be considered a criminal offence & may get you some time in jail. Honestly, smoking a plant without any added chemicals is considered illegal whereas cigarettes which are known to contain carcinogens are legal. In an ideal world, we’d ban cigarettes but obviously a lot of people would disagree with this. Weed is healthy and has been known to cure things. There have been no deaths from weed EVER yet we see people dying from smoking cigarettes each year.

    12.The prison system needs toughened up. They ain’t in there as a reward so they should stop being treated as such. Strip out the pool tables, games consoles, tv’s etc. This would hopefully stop people reoffending & getting thrown back in jail as it’s an easier ride than everyday life. If we removed all the gear then they would be dreading going back to prison.

    13. Voting for 16 year olds.

    14. Set up an oil fund.

    15. A number/licence plate system for cyclists as well as an insurance system for bike riders. We can identify all other vehicles on the road but there is no way of knowing who is riding a bike if they happen to do something they shouldn’t.

    16. Allow terminally ill patients to have euthanasia as an option. It’s rather condescending that those without any conditions or terminal illness are the ones who make the decisions regarding those living in severe pain etc. Just as life is a human right then choosing to end your own should be a right also.

    This would not be for those suffering depression or having a bad day at work. It would be for people medically diagnosed with terminal, progressive and/or debilitating diseases.

    17. Publicly owned services. Public railway,public water, public energy, public oil etc.

    18. A nationalised central bank with our own currency. (Suggested by someone in the comments below.)

    19. All workers should get a single minimum wage. An 18 year old pays the exact same prices as a 30 year old so why should they not earn the same amount for the same job. Just as females should be paid the exact same as men for the same job. (Suggested by someone in the comments below.)

    20. Reduce poverty with the eventual aim of no more food banks. ( Suggested by someone in the comments below.)

    21. Legalise handguns, rifles etc. (Not semi-auto or fully auto rifles, only bolt action)

    22. Possibly bring back National Service in the event of an Indy Scotland. (Have to serve between 6-12months in either the Army, Marines or Navy etc.)

    23. Child benefit and all associated money capped at 2 children for people who ARE NOT working. (Families earning tens of thousands a year just for having several kids is not fair on working families or the system as a whole.)

    24. Mandatory driving re-test for old age pensioners (Free of charge by the government) so that they understand all the current driving laws and don’t possess a risk to other motorists or themselves.

    25. Segregated schools – What this means is that any pupil who is out of line or unwilling to learn gets three chances to show that they’ve been good in class. If they continue to disrupted then they’ll be placed into a completely different section of the School with the rest of the idiots and kids who think they can disrupt the learning of others. Basically, this would mean that the people who want to learn are able to do that in a controlled environment and those who wish to muck around can be sectioned off elsewhere. Once the kids who have been disruptive or not engaging in class work have improved their overall attitude to school & class work, they can be placed back in their previous class.

    26. No Nuclear Weapons on Scottish Soil.

    27. Protection for the sick, weak & vulnerable.

    28. Better pension & state benefits.

    29. No lords that govern Scotland.

    30. Make sure that all school children are able to play a musical instrument for free as well as helping students with grants etc.

    More policies are likely to be added & some will be improved on. This is just a very basic list of CONCEPT IDEAS for POLICIES so bear in mind that everything is subject to change.

    That’s right. Should this bunch of lunatics ever manage to drag themselves up from the mud long enough to actually form some sort of coherent political force, it’s reassuring to note that they would primarily be fighting for those extremely important causes to the ‘needs of the people’ such as eh, bringing back the death penalty, enforcing a minimum speed limit, and who could forget… legalising rifles. (Not semi-automatic or automatics though; that would just be silly.)

    The complete lunacy of what is contained above is so far beyond the grasp of any sane person that it’s not worth even considering in any further detail. Whilst one or two of these might seem controversial, yet acceptable, in isolation, the cumulative total of even a portion of the ‘concepts’ to be found within are enough to give fundamentalists on all sides of the political spectrum wet dreams and nervous glances.

    So what’s the problem? They’re muppets. Big deal.

    The real danger of the Scottish Independence Party is that they have managed to garner such a prima facie establishment of credibility through the high numbers that have ‘liked’ or ‘followed’ their page. On my own friend list there was about ten people who, upon seeing the list published above, immediately removed their connection – embarrassed at the association. Some of them didn’t even realise they had inadvertently liked the page at some point in the past, probably having done so after seeing a passing post related to the #indyref, and an overall positive surface message with which they could relate.

    The Scottish Independence Party will tell you that the policies above are merely suggestions by members to be discussed, and that they are giving an open platform for people to get involved in politics, rather than to have ideas shot down at the first hurdle based on ideology or controversy (Indeed, they have edited their statements multiple times to – at least attempt – to make this clearer). However, what they won’t tell you is that they are actively moderating the comments on their post to ensure that dissenting voices are not heard. If you wish to question why the suggestion that homosexuality should be re-criminalised won’t be added, for example, you would find yourself blocked, and the criticisms removed.

    Everyone has the right to hold and express extreme ideas. That’s not the issue here. What’s dangerous about the Scottish Independence Party is that they are operating under a false veneer of credibility to peddle selectively chosen, ill-informed, non-sensical and fundamentalist positions; censoring those who call this into question; and doing so whilst claiming to give a voice to the voiceless.

    Scottish Independence Party

    and eh, who are these chumps? Some sort of edgy upstarts threatening to up-end the Scottish political apple cart? This comment on Reddit sums it up:

    Scottish Independence Party

    Check the list of pages you like. You might be surprised.

    You can see which of your friends likes them by following this link:

    https://www.facebook.com/browse/friended_fans_of/?page_id=292488674289406

    You may wish to give them a heads up.

    Ditch the dangerous idiots that are the Scottish Independence Party.

     

  • How Alfred Changed (Ruined?) My Life

    From day one when I started working at Automattic, there was a strong focus put on different tools and apps that would help out with our daily tasks. Everybody is a power user, with their own tips and tricks, which means there are plenty of different things to explore.

    One of the tools that was used by a few people, and championed by my pal Bryan is Alfred (If you don’t use a Mac, sorry, you may as well stop reading now). At first I was suspicious. I installed the app, but was never all that convinced. It didn’t fit neatly into my existing workflows, and it felt more like a hinderance than a help. In the past couple of months though, Alfred has become indispensable… so much so that I find myself lost when I use other people’s Macs.

    Note: Some of the functionality I am describing requires the PowerPack, which currently costs £17, but you can try out the core features for free. The PowerPack has definitely been worth it for me, but bear that in mind.

    What is Alfred?

    There are plenty of other articles online to explain exactly what Alfred is, so I’ll be brief.

    Alfred is the ultimate quick controller tool for your Mac. It’s like TextExpander, OSX Spotlight, Clipboard manager, and multi-search toolbar all rolled into one… but even better than that.

    You start by assigning a hotkey to bring up the Alfred search box. It looks something like this:

    I experimented with a bunch of different key combinations until I settled on ⌘+K. This might seem like a weird choice, but it felt like the best option given the way my hands naturally sit on the keyboard.

    This unassuming search box has the power to become the command centre for your whole Mac.

    Web Searches

    How many times do you search Google, Facebook, IMDB, Wikipedia, or anywhere else a day?

    To borrow Bryan’s advice: Whenever you search a website, consider adding it as a custom search in Alfred.

    This is what the screen looks like:

    I have a whole pile of custom searches, but most of them are for work, so I’ve only shown those that will be common for most folk.

    Setting these up is pretty straightforward, so I won’t go into details – instructions can be found on the Alfred site itself. What’s important is how it works. Say I want to search IMDB for a particular movie. I would call up the Alfred box with my hotkey, and then type IMDB, followed by the movie title. Like so:

    Hit enter and I get taken straight to the search results, rather than having to go to imdb.com first. The same sort of setup can be used for almost any site that has search.

    Snippets

    One of the features I use most often is the ‘Snippets’ feature. This has two main functions: a clipboard manager, and a storage for commonly used pieces of text that you don’t want to have to type out over and over again. You can access this through the main Alfred box, but of course you can assign a specific hotkey if you use it frequently. For me, that’s ⌘+O.

    If you are familiar with tools like TextExpander, you’ll find the concept familiar: you input all of your predefined texts into Alfred, and then you can recall them at will through the use of a short phrase. I used to use TE and really liked it, so was hesitant to move over to Alfred’s way of doing things. It seemed counter-intuitive to press a key combination to bring up a window and then type in the keyword for my predef, rather than just typing in the predef directly.

    Whilst it takes a bit of getting used to, where Alfred really wins is its fuzzy search matching for predefs. Whilst before I would have to remember the exact phrase, in Alfred it will show you all of the similar responses. This means you can have far more variations than you could remember, and find them easily through the use of a common word. When dealing with DMCA takedown notices, I use the word DMCA in the title. Start typing one, and the list narrows down to the relevant ones. Combine this with the clipboard history (which you can set the retention duration for, or disable altogether), and you have everything you need for working in support at your fingertips.

    What’s even cooler is that Alfred will remember the selections you make most frequently, and float them to the top of the list, which is a major time saver. This is something that applies for all of the app’s actions, and is difficult to explain just how helpful it is without trying it for yourself.

    Workflows

    Workflows are one of the more sophisticated parts of Alfred. Here, you can create complicated recipes that do all sorts of things (or use ones already created by other people).

    Here are some examples of the sort of Workflows I have set up:

    Alfred Logo

    Launch Alfred Preferences – I am constantly modifying or updating the snippets I use in Alfred. As a result, I’ve set up a hotkey (⌘+;) to bring up the preferences panel. You can download this here.

    Connect to VPN – I have a number of VPN services that I use to connect to different countries for testing and anonymity purposes. Rather than have to manually connect up to these through the Mac task bar, I have it set up so I can hit one key combination to connect to London, one to connect to the USA, one to Romania, and so on.

    Shorten URL with bit.ly – By typing in ‘bit into the Alfred box, I can paste a URL and have it automatically shortened using the bit.ly service. What’s even cooler is that this works with your custom shorteners. In my case, it shortens using http://allmy.fr – which I own.

    Control PopClipPopClip is an awesome wee tool for the Mac that another colleague and friend Mark introduced me to. It pops up a whole host of configurable actions you can take on text when you select it. I wasn’t a big fan at first, as it was popping up at inappropriate times, but it did have a lot of potential to be really useful. I created a workflow to toggle PopClip on or off using a keyword, or to bring up the menu with a hotkey when you want it. You can download that here.

    Check if a site is down – To check if a website is down globally, or if it’s just me experiencing problems, I type ‘down’, followed by the URL. Alfred checks with http://downforeveryone.com/, and displays the result.

    Add a task or appointment to Things or Fantastical – Quickly add a new task or appointment to the Things task manager, or the Fantastical calendar app, rather than fire up the apps themselves.

    Open apps with a hotkey or short phrase – e.g. typing ‘sn’ into the Alfred box to open Simplenote. (More detail on the hotkey part in a section below)

    Search for and play songs from Spotify – Self explanatory. (#)

    Randomise your MAC address – for when you need a new MAC address to bypass time restrictions on the WiFi in hotels/airports/cafes.

    IP Address Check – Quickly check your internal and public facing IP addresses. I use this to confirm if I’m properly connected to a VPN or proxy.

    Show Workflow Commands – Remembering these workflows is hard. This workflow creates an on-screen list of all the commands with details of what they do. Very handy!

    There is a whole pile of different examples over on Packal.org, so that’s a good place to start if you are looking for inspiration.

    1Password Integration

    If you aren’t using a password manager yet, stop reading and go install one. Seriously. You remember a master password, and these applications both generate strong passwords as well as storing and filling them in on websites automatically.

    I used to swear by LastPass, and was perfectly happy with it thank you very much. Then I discovered that Alfred integrates with 1Password.

    As well as being able to trigger the 1Password application with a hotkey or phrase, I can search for stored logins from the Alfred box, hit Enter, and get taken straight to the website and automatically logged in.

    This means you need to spend a bit of time tidying up your stored URLs to ensure that they are correctly set to the login page rather than the signup page, but it’s worth it. I’ve now completely switched over to 1Password as a result.

    Hotkey Trickery

    One of the more complicated tricks (in terms of setup) I’ve found with Alfred relates to the use of Hotkeys.

    Hotkeys are awesome things. They let you fire up apps, or specific workflows without having to search for anything in the Alfred box. The problem is, a lot of the key combinations that are available are already used up by system commands in OSX.

    A guy called Daniel Setzermann has come up with a novel solution to this. It essentially involves installing a couple of tools to re-map your Caps Lock key to the unusual key combination CMD + ALT + CTRL + SHIFT – aka the ‘Hyper Key’. This kills the use of your Caps Lock key, but really… when do you ever actually use that anyway? Never. That’s when. At least, you shouldn’t be. If you need to change text to all caps, you can always get a workflow to do that for you.

    This takes a wee bit of time to set up, and even I was hesitant to go through the steps, but stick with it; it’s well worth the initial effort.

    The beauty of this is that you can now set up really great hotkeys like CAPS + S to launch Spotify, or CAPS + C to launch Chrome, etc. Here’s an idea of what my workflow for this currently looks like, though I’m still adjusting it to find what combos stick best in my memory:

    Daniel explains how to set this up really well on his site over here. (Scroll down a wee bit till you find the relevant bit)

    But… this sounds awesome. Why has it ruined your life?

    It is awesome. At first, I was reluctant. Changing habits and your engrained workflows is difficult, and I didn’t really get how Alfred would be all that useful at all, even despite the explanations of some really smart people.

    Having stuck at it though, I don’t think I could live without Alfred (ok, maybe a slight exaggeration). Alfred is like the gateway drug to productivity.

    One of the results of using Alfred more is that I’ve finally reduced the size of my dock, and hidden it completely (until I mouseover). I no longer need to launch things from the dock, and I can quickly see what’s open by Command Tabbing, so I’ve opened up a whole extra bit of screen real estate that I was previously chained to.

    Whenever I use somebody else’s Mac, it’s a nightmare. It feels unbelievably clunky and old. I’ve switched from a personal approach based heavily on clicking and moving the mouse about to one that is primarily hotkey based. I haven’t even really scratched the surface of what’s possible in this post… and I’m still discovering new things every day. Alfred lets me launch things quickly and smoothly, to concentrate on what I’m actually meant to be doing. No more trying to remember where that particular network admin page is located… Alfred knows.

    Alfred knows.