My mouse pointer kept getting stuck between monitors in Windows 8.1

My mouse pointer kept getting stuck at the edge between monitors

My mouse pointer kept getting stuck at the edge between monitors

A couple of weeks ago I noticed a strange behaviour with Windows 8.1. I have two monitors and whenever I tried to move the mouse between them my mouse pointer got stuck in the middle.

I would have to back up the mouse pointer then move it really quickly to get over the ‘hump’, and reach the next monitor.

Not the charms bar

At first I thought it may be caused by the Windows 8 charms bar. So I switched off the top-right corner navigation under Charms bar > Settings > Change PC settings > PC and devices > Corners and edges.

But it turned out not to be that. The mouse pointer blocking behaviour continued.

Not ModernMix

My attention then turned to ModernMix™, a Windows 8 application from Stardock that allows Modern (Metro) apps to run in a standard window on your desktop.

I had noticed this behaviour only after I had installed ModernMix, so I reasoned that it must have caused it. And sure enough uninstalling ModernMix seemed to stop the behaviour… until I rebooted the PC.

But I didn’t discover this until after I had emailed Stardock support.

Registry hack fixes it

Stardock support were incredibly helpful. The following day I received this reply:

While I can reproduce what you are seeing, I can do so without MM installed. It seems it is a thing with 8.1:

http://winaero.com/blog/fix-mouse-pointer-sticks-on-the-edge-when-moving-between-multiple-monitors/

Please let us know if you should have any further questions/concerns.

And sure enough, the Winaero blog had the solution:

  1. Open Registry Editor (Ctrl + R, then type: regedit)
  2. Navigate to HKEY_CURRENT_USER \ Control Panel \ Desktop
  3. If there is not a DWORD (32-bit) Value called MouseMonitorEscapeSpeed then create one and assign it a value of 1.
  4. Navigate to HKEY_CURRENT_USERSoftware \ Microsoft \ Windows \ CurrentVersion \ ImmersiveShell \ EdgeUI.
  5. If there is not a DWORD (32-bit) Value called MouseMonitorEscapeSpeed then create one and assign it a value of 1.
  6. Reboot Windows, or restart the Explorer shell.

Detectorists

Detectorists

Over the last few weeks I’ve loved watching a beautifully-written, gentle comedy called Detectorists on BBC Four. Most episodes I’ve watched at least twice.

The show stars its writer and director Mackenzie Crook, who in an interview on BBC One Crook described the story as “an affectionate study of people and their pastimes”.

I love the intimacy and the seeming smallness of the show. There are TV shows that are fast-paced and sensationalist, dealing with spies and the security services, or investigating police cold cases, or hospital dramas dealing with life and death situations. So much TV is escapist, and I guess to an extent this is too, but there is so much real life in this series. It’s a celebration of the subtleties and the goodness found in every day life.

Detectorists centres around the lives and relationships of two friends, Andy and Lance, who share a love of metal detecting (which makes them detectorists) who are looking for the ship burial site of an ancient Saxon king.

The casting is brilliant, particularly Mackenzie Crook as Andy, Toby Jones as Lance, and Rachael Stirling as Andy’s girlfriend Becky. And the music is just sublime, a specially-written song by folk singer-songwriter Johnny Flynn.

The show has such beautifully written dialogues, like this one between Andy and Lance who are trying to decide where next to look for treasure.

Andy: This farm here… I don’t remember anyone going there before, do you? Look, this is the original Roman road running up the side. And where you’ve got Roman, who’s to say you haven’t got Saxon as well. We all know there’s a Saxon ship burial somewhere in this  part of the county. We’ve just got to find it first.

Lance: Saxon hoard? That’s basically the holy grail of treasure hunting.

Andy: Well, no, the holy grail is the holy grail of treasure hunting.

Lance: Well, if you’re going to be pedantic. The ark of the covenant is the holy grail. Let’s talk to Terry…

I don’t often buy TV series on DVD, but I definitely want to pick up Detectorists (BBC, 2014); I already have the theme tune, written by Johnny Flynn.

My new office with the digital communications team

My desk, PC with three monitors. Shelves in an alcove on the right.

I must have been the naughty one to be sitting in the corner, facing the wall.

Today marked the end of my second week back to work post-virus. Last week I worked three mornings, this week five—although I stayed until 16:30 yesterday to help move my things to our new office in the former Bute medical building. It’s been a very positive week, although I am now really rather tired.

Since May we’ve been asking to be co-located with the three members of the digital communications team with whom we’ve been working closely to change how we manage and develop digital and web assets at St Andrews, such as the University website.

Today we moved into a recently refurbished and spacious office on the third floor of the Bute.

This slideshow requires JavaScript.

It’s a really exciting time to be working in the area of web and digital development; it’s an exciting time to be doing that at the University of St Andrews. It’s an enormous task that we have ahead of us, but I’m so looking forward to it.

Hopefully when I return on Monday (for my first full day since 25 July) I will have a network and phone connection and the fun can begin…

Review of Startup Framework for WordPress

Startup Framework

I first came across Startup Framework from Designmodo a few months ago and was immediately impressed.

Startup is a collection of responsive and customisable components that can be combined to meet most needs. In the full version there are around 100 components such as:

  • headers
  • footers
  • content blocks
  • contact forms
  • portfolio grids
  • maps
  • price tables
Startup Framework is a collection of customisable components

Startup Framework is a collection of customisable components

Both the design and code are clean and simple and the results look professional, without having to put in a great deal of effort. Startup has a similar concept to Blocks which is built on the Bootstrap CSS framework.

Startup Framework for WordPress

Last month I was invited to test drive Startup Framework for WordPress which combines the pre-designed components of Startup within a drag-and-drop interface within a WordPress theme.

I’ve only just managed to find the time to take it for a spin but what I’ve seen so far I’ve liked, even if the price seems a little steep: USD $149 per year for one website (inclusive of support and updates).

Theme

Startup Framework for WordPress installs as a theme. It seems to adds one new content type (SFW Pages) and the demo doesn’t give me access to the plugins so I can’t see whether the additional functionality is offered through plugins or built-into the theme itself.

What is added, however, is a new menu item: SFW Pages. This is where the majority of pages using this theme will be created. The default Pages option is still there but pages created using this appear to be simple and entirely centre-aligned, which seems odd.

A new menu item is added to the WordPress dashboard: SFW Pages.

A new menu item is added to the WordPress dashboard: SFW Pages.

Editing a page

When editing a SFW Page you see very little until you click the “Visual editor” button.

Unless you click the Visual editor button all you see is a button saying Visual editor

Unless you click the Visual editor button this is all you see.

That opens up a new drag-and-drop, WYSIWYG interface:

Welcome to the Startup Framework demo page

Welcome to the Startup Framework demo page

Along the top is a link back to the SFW Pages screen, the name of the current page, and three buttons on the right than enable you to reorder the blocks, preview the page or save the page.

On the left is a list of components (more about those in a moment).

But the most space is given to the content of your page. Here, almost everything is customisable. When you hover over a component block a settings cog appears at the top right giving you access to edit the HTML and CSS, reset the block to default settings, or delete the block completely.

Clicking on any text drops in a text-insertion point enabling you to edit the text. Double-clicking or highlighting text reveals a context menu offering three options: bold, italic or create a link.

It is all very intuitive so far.

Components

The bread and butter of this theme, however, is the collection of pre-designed components which is available at any time from a list on the left. (While you are editing existing components this shrinks to a ‘hamburger’ icon.)

On the demo that I’ve tried these components are collected into the following categories:

  • Headers
  • Contents
  • Price Tables
  • Projects
  • Contacts
  • Crew
  • Footers
  • My Blocks

Hovering over each category reveals a number of pre-designed options for that category, for example Headers:

Hovering over Headers reveals a number of pre-designed header options

Hovering over Headers reveals a number of pre-designed header options

These can then be dragged and dropped (or clicked) to be added to your page design, and  then edited as appropriate.

Some components are more editable than others, such as background images, image fading or colour tinting, social media buttons, etc.

Reordering the blocks is a simple case of clicking the “Reorder Blocks” button, then drag and drop in the new view:

Reorder Blocks shows a zoomed-out view of the whole page.

Reorder Blocks shows a zoomed-out view of the whole page.

Conclusion

I have only a couple of criticisms about

The first is that, personally, I would like to see a few more simple header components. For some pages, you don’t need a massive image or a lot of white space at the top. But I do recognise that this is a design decision.

My second, any main concern, however is the price. At USD $149 (approx GBP £93) per year for a single site that is more than twice what I currently pay for Divi.

That said, I do recognise that a lot of work has gone into this framework and theme, and that it’s aimed primarily at business rather than for personal blogs.

Overall, I’ve been really impressed with Startup Framework for WordPress. If you need to create a beautiful, modern-looking and responsive website very quickly then you would be hard pressed to find anything to get the job quite as quickly as Startup, even if you used Divi from Elegant Themes which is my current favourite.

An exercise to map your family’s timeline

Family timeline method on BJ Fogg's website

Family timeline method on BJ Fogg’s website

Here’s an exercise that psychologist, innovator and university lecturer BJ Fogg used at a family reunion that I’d love to do with my own family.

The idea was to collectively map their family’s story, starting from his parents’ wedding to the current day.

Each person was given their own post-it note colour and told to write their memories of that year on the post-it. They used 4 x 6 inch post-it notes to allow the writing to be larger and write more.

The post-it notes were then stuck to large boards. Each board was divided into three columns, one column per year.

The exercise led to a lot of sharing, about positive events and negative, both of which have shaped their family’s journey.

You can read more about the Fogg timeline on BJ’s website.

I wish I’d discovered this exercise earlier. Last year we had a huge reunion down in the Scottish Borders where family from California met up with folks here in Scotland, some meeting for the first time. This would have been tremendous fun and a great way to share our stories and see where our lives interacted and if there were any common themes.

Next time, maybe…?

The sunk cost fallacy in action

Man sitting on a pound sign submerged in water, surrounded by sharks.

Source: iStock

Earlier this year I started to plan a major redesign for my website garethjmsaunders.co.uk — most of it hasn’t had a redesign since about 2003; it’s still built around a table layout!

In the process of redesigning the site I learned a really important lesson that in the long run has saved me hours and hours of development. It’s to do with the sunk cost fallacy.

A bridge too far

I’ve completed plenty of site designs in both my personal and professional lives. This was going to be no different. I did some initial research, sketched out the layout and features that I’d like and then looked around for a suitable premium WordPress theme that I could use. I settled on Bridge by Qode, which cost me US $58 (approx. GBP £35).

Bridge seemed to offer the features and flexibility that I was looking for in a theme. But once I had downloaded and installed it on a test site on my local development server I discovered just how complex it was.

At the time it offered around 10 demonstration sites to help you get to grips with all the possible permutations. It now boasts 42 ready-to-use demos.

I spent a good two to three weeks just installing demo sites and trying to reconcile what I was learning hands-on with the documentation. And at the end of that period, to be honest, I really didn’t feel that I was anywhere closer to understanding how I might use the theme. Bridge is a hugely capable theme, however, it simply offered too much for my requirements.

But I felt that I had to persevere, I had spent both time and money on it, after all. Surely it had to get easier if I installed another demo site, and read the documentation just one more time, and… presumably spent another 2–3 weeks trying to understand the minutiae of this theme.

Sunk cost fallacy

It was at that point I realised that I was falling into the ‘sunk cost fallacy’.

In economics, a sunk cost is any cost that has already been paid and cannot now be recovered. So in this example, I had already bought the Bridge theme. I had spent £35 and wouldn’t be able to get a refund.

The fallacy that I was falling into was that I was making decisions about the future of my site based on past expenses. Or as You Are Not So Smart puts it

[y]our decisions are tainted by the emotional investments you accumulate, and the more you invest in something the harder it becomes to abandon it.

I felt that because I had spent money on something, even though I was finding it too complex and not entirely suitable for the purpose I’d bought it — despite all that — I still felt that I ought to persevere and try to make it fit my needs.

What a divvy!

Divi

Freed by my decision to simply let go of using Bridge for this project, I went shopping again.

When I’d been looking around for themes to start with, I had narrowed it down to two: Bridge and Divi by Elegant Themes. So I bought Divi (USD $89 per year / approx. GBP £55).

In the long run that mistake has cost me money, but the time that it has saved me is immeasurable (or rather, I haven’t actually measured it).

The theme does exactly what I need and in a fraction of the time. I find the theme’s interface really intuitive, and the restrictions it puts on me (by not trying to do everything in every possible way) challenges me to be more creative with what I’ve got. Too much choice is a bad thing, remember.

Conclusion

The sunk cost paradox is certainly something to bear in mind the next time you need to make a decision: don’t necessary let past costs (time or money) influence your decisions about the future.

Lifehack has an interesting article about how the sunk cost fallacy makes you act stupid.

Hacked (pt.3) or how to clean a compromised WordPress site

The word 'hacked' within ones and zeros.

Source: iStock (10623991)

This is the kind of post that I’ve thankfully not needed to post for over nine years. Today one of my WordPress sites got compromised.

It all began with an email this afternoon from AntiVirus a WordPress plugin that scans your theme templates for malicious code injections. The email read:

The daily antivirus scan of your blog suggests alarm.

I had to laugh at the phrase “suggests alarm”. But after I laughed, I accepted their suggestion and for a few moments felt alarm, before realising that panic was no use and besides, I knew what to do.

Two candidates

I’m still not 100% sure what caused the code injection but I currently suspect two potential sources of infection:

MailPoet

I may have been one of 50,000+ victims of the MailPoet vulnerability that was made public days before I went down with viral meningitis! I had that

As the MailPoet site states:

There was a security issue in all the versions of MailPoet lower to 2.6.8, this security issue was making your site highly vulnerable (blog post).

It can really only have been a plugin vulnerability as I have to manually unlock FTP access whenever I want to upload anything. So it had to be an ‘inside job’. And I had MailPoet (formerly WYSIJA) installed that account.

Outdated theme

Alternatively, it may have been a premium theme that I was using that had the Slider Revolution plugin embedded. This was reported to have a critical vulnerability last month.

I thought I had patched it…, but, perhaps with my meningitis-muddled head I didn’t do it properly.

How to clean an infected WordPress site

Whatever it was, it injected a bunch of obsfucated code into the top of all the PHP files on that site. A give away was that in the WordPress plugins screen all the plugins were disabled and reporting “the plugin does not have a valid header”.

If something similar happens to you, then you might find the following steps useful:

  1. Change passwords for:
    1. WordPress admin
    2. FTP
    3. MySQL database
  2. Backup all the files on the site. (That took ages!)
  3. Delete all WordPress core files including themes and plugins (Do not delete user-uploaded content, e.g. images, PDFs, etc.)
  4. Download clean installation of WordPress.
  5. Upload clean WordPress files (except wp-config-sample.php).
  6. Rename wp-config-sample.php to wp-config.php, update with database details and upload.
  7. Upload a clean version of your theme (remove themes that you are not using).
  8. Install and activate required plugins including antivirus and security plugins.
  9. Check other PHP files for compromise, not just WordPress files.

I found this post on the WordPress support site useful: I am getting hacked evry two weeks? Help please. There are some useful links listed on how to clean a WordPress installation.

The main lesson for me to learn from this episode is to make sure I never get viral meningitis again when there are two (or more) critical vulnerabilities in the wild!

Oh, yeah, and always keep your WordPress themes and plugins updated… and if in doubt just delete them before they can cause any problems.

Update

Sunday 19 October 2014

It looks like, based on this blog post from Sucuri WordPress Websites Continue to Get Hacked via MailPoet Plugin Vulnerability that the source of the infection was indeed MailPoet.