Mac: Dock moves to other monitor

This was bugging me for ever.

Every now and then my Dock would appear at the bottom of one of my external displays. And to get it back I’d have to open up System Preferences and drag it back. Very time-consuming.

Eventually I figured it was a Mac bug.

However, it seems you can summon the Dock to a display by moving your mouse down at the bottom of that display. Which is what I must have inadvertently been doing.

https://apple.stackexchange.com/questions/169719/why-does-my-dock-keep-moving-back-to-my-other-monitor

 

Letter i was highlighting entire line on my Mac

Just solved a very weird problem on my Mac.

When I typed the letter “i” the entire line would get highlighted. Basically my Mac had become useless. I envisaged days or weeks of lost productivity whilst I sent my Mac back to get a replacement.

It turned out to be a setting I’d enabled in Accessibility > Mouse & Trackpad > Enable Mouse Keys.

Why had I done that? To solve another bug on my Mac where the cursor disappears on external monitors. There seem to be several of these ongoing bugs that have never been fixed.

http://osxdaily.com/2013/07/19/disappearing-mouse-cursor-mac-os-x/

https://apple.stackexchange.com/questions/321447/mouse-cursor-disappeared-on-external-display-when-rotated

 

 

Understanding the Mac Wifi signal

If your Mac Wifi seems to be struggling here’s how to find out more about what’s actually going on.

Signal strength:

The  Mac’s menu bar has a rudimentary set of signal strength icons. E.g.

which means practically nothing.

If it’s less than 4 bars you’re probably going to struggle. However, here’s how to find out more.

  1. Alt click the icon and look for RSSI (see also Mac: WiFi Diagnostics )

This is a negative dBm number which measures from 0 to -100 with 0 being perfect (and not realistic in everyday life) to -100 being no signal. Realistic values are:

-50: good

-60: reasonable

-75: poor

-100: no signal

So, if your WiFi is between -50 to -60 then your signal is OK.

If between -75 and -100 then you’re going to have problems. This article suggests RSSI > -60 for good WiFi (greater in the standard math sense – i.e. more positive rather than larger – e.g. -55 or -50 or -45). https://9to5mac.com/2016/07/14/how-to-understand-wireless-diagnostics-app-on-mac-to-analyze-improve-wi-fi-network/

and I personally see WiFi problems if <-70.

The same article suggests your Quality (Signal to Noise ratio – drawn in red in the middle) should be above 25.

If those aren’t good then decrease the distance between your wifi hub and your computer. Or get a mesh or extender.

 

 

What is DRBD

What is DRBD

 

DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1.

 

DRBD is copyright by Philipp Reisner, Lars Ellenberg and LinBit.

 

What is the scope of drbd, what else do I need to build a HA cluster?

 

DRBD takes over the data, writes it to the local disk and sends it to the other host. On the other host, it takes it to the disk there.

 

The other components needed are a cluster membership service, which is supposed to be heartbeat, and some kind of application that works on top of a block device.

 

Examples:

A filesystem & fsck.

A journaling FS.

A database with recovery capabilities.

 

http://www.drbd.org/