Dell monitor wires

Dell U2515H and problems with a USB apple keyboard

Does anyone else ever have problems with this combination? They keyboard just goes dead.

I use the monitor’s USB hub to connect my keyboard and mouse. I then connect the hub to either my macbook or my linux pc and toggle the video inputs. Sometimes the keyboard just dies. When it’s in the broken state the following things are true:

  1. The keyboard doesn’t work for the macbook or the linux box.
  2. The keyboard does work for the macbook and the linux machine when connected directly to those devices.
  3. Restarting the screen or computers has no effect.
  4. Other USB devices work fine when connected to that port.
  5. The keyboard only works when connected to the monitor if I use the furthest port to the right (see photo). What’s so special about that port?

Pfft.

Dell monitor wires

bg-sunset.4f0ac5f2dce2

Tapiriik not syncing to Dropbox?

My activities hadn’t been syncing to Dropbox for a while (since mid-November 2014).

This activity was not synchronized to the following services:
Dropbox: There was a problem indexing your activities on Dropbox, so no activities will be uploaded to Dropbox.

Everything else was syncing fine (Strava, Endomondo, Garmin).

A quick email to the author and everything is solved:

If you look in your Dropbox folder there should be a number of files with .tcx.summary-data extensions. Move those out of the folder and it should start working again – this is a rather ancient artefact of a mistake I made in Dropbox sync back in 2013, surprised it kept working as long as it did.

Sorted.

TL;DR*

Delete any files with .tcx.summary-data extensions from your Dropbox folder.

*I only recently found out what that was short for. I’ve been ignoring it for years assuming it was invalid html markup.

Hemington 10k 2013 results

Yes, that’s not a typo, these are the results from 2013.

I’m just posting them here because I couldn’t find them on the internet. Managed to find a copy in my email though so thought I’d just post them here in case anyone else is interested:

Surname First Name Gender Race Category Race Number Finishing Time Position Position within Category Running Club
Ryman Paul M M 157 36.48 1 1 Frome RC
Sage Rich M M 114 38.56 2 2  
Wilkinson Darren M M 187 39.13 3 3  
Burns Matt M M 193 39.43 4 4 Southville RC
Plunkett-Cole Jim M MS40 365 40.04 5 1 Frome
McBeth Mike M MV50 181 40.13 6 1 Southville RC
Green Charlotte F F 143 40.39 7 1 Bristol & West
Hopes Chris M MV50 176 41.12 8 2 Southville RC
Blewitt Dan M MS40 196 41.17 9 2 Somer AC
Daniels Nick M MS40 164 41.25 10 3 Chard RR
Francis Alex M M 171 41.37 11 5 Frome RC
Taylor Neil M MS40 365 41.44 12 4
Jordon-Whittaker Sarah F FS35 170 42.00 13 1 Gillingham Trotters
Tilling Oliver M M 124 42.12 14 6
Holborn Joe M MJ 156 42.22 15 1 Somer AC
Merrick David M MS40 150 43.23 16 5 Somer
Layzell Sarah F FV45 175 43.36 17 1 Canix
Smith Andrew M MS40 96 44.38 18 6
Stringer Chris M M 158 45.07 19 7 Frome RC
Paine Kevin M M 174 45.16 20 8 Frome RC
Pemberton Emma F F 192 46.08 21 2
Williams Jonathon M MS40 137 46.29 22 7
Stockley Jamie M M 186 46.36 23 9 Somer AC
Brown Dan M MV50 110 46.53 24 3 TBAC
Hails Kate F F 177 47.02 25 3 Run 4 Fitness
Dunstan Stacey M M 126 47.10 26 10 Somer AC
Thistlewaite Naomi F F 191 47.23 27 4 Southville RC
Little Dayton M MV50 101 47.25 28 4
Branston John M MS40 129 47.36 29 8
Court Oliver M M 145 47.40 30 11
Hall Andrea F FS35 179 47.52 31 2
Hooper Katie F F 188 47.56 32 5
Clutterbuck Anna F FS35 113 48.01 33 3
Smith Kevin M M 97 48.09 34 12
Symonds Matthew M M 180 48.52 35 13
Myers Tony M MV50 155 48.56 36 5 Southville
Doel Esther F FS35 194 49.12 37 4
Rabbitts Des M MS40 162 49.20 38 9 Somer AC
Penny Lauren F F 172 49.52 40 6 Frome RC
Graham Cliff M MS40 189 49.52 39 10
Baker Stuart M M 125 50.04 41 14
Clark Sam M MJ 104 50.05 42 2
Phibben Lee M M 167 50.14 43 15 Southville RC
Betts Jacqui F FV45 182 50.15 44 2
Taylor Martin M MV50 178 50.18 45 6 Frome RC
Hunter Frances F F 160 50.30 46 7 Frome RC
Carr Simon M MS40 168 51.26 47 11 Wells City Harriers
Ellis Debbie F FV45 169 51.33 48 3 Run 4 Fitness
Darville John M MS40 127 51.42 49 12
Corbett Helen F F 159 51.48 50 8 Frome RC
Steele Christopher M MV50 173 51.55 51 7 Frome RC
Townsend Adam M M 184 52.07 52 16
Pearce Liam M M 141 52.22 53 17
Hunt Tom M MJ 151 52.34 54 3
Lewis Anthony M M 165 52.36 55 18
Mclelland Jon M M 166 52.36 56 19
Riddle Paul M MS40 134 52.40 57 13
Riddle Marc M MV50 153 52.40 58 8
Darville Mary F FS35 128 53.16 59 5
Clark Paul M MV50 106 53.17 60 9
Hedley Claire F FS35 111 53.42 61 6
Hamilton Jen F F 190 53.43 62 9 Southville RC
Green Chris M MSV60 95 53.49 63 1
Clark George M MJ 105 54.04 64 4
Probert John M MS40 109 54.26 65 14
Steward Hayley F F 144 54.33 66 10 Yeovil Olympiads AC
Andrews Thomas M M 132 54.36 67 20
Avis Trudi F FS35 136 54.44 68 7
Hall David M MSV60 123 54.52 69 2
Longhurst Winnie F FS35 133 55.12 70 8
Evans Emma F FS35 131 55.39 71 9 Frome
Box Jon M MS40 107 56.15 72 15
Gaffney Lucy F FS35 183 56.35 73 10
Soccorsy Adam M M 195 56.52 74 21
Wilmshurst Jonathon M M 112 56.56 75 22
Turner Alison F FS35 98 57.57 77 11
Harvey Denise F FV45 102 57.57 76 4
Lloyd Shirley F FV45 161 58.05 78 5 Somer AC
Jarrett-Scott Victoria F FS35 100 58.43 79 12
Moore Mark M M 103 59.55 80 23
Lake Jan F FS35 116 60.03 81 13 Frome
Caston Leila F FS35 400 60.06 82 14
Riddle Elaine F FV45 152 60.27 83 6
Scailes Julie F FV45 148 60.33 84 7
Martin Abi F FS35 197 60.35 85 15
Whittaker Frances F FS35 130 60.41 86 16
Rabbitts Alison F FV45 163 61.50 87 8 Somer AC
Plummer Margaret F FSV55 135 63.51 88 1 Frome
Parsons Caroline F FV45 121 66.24 89 9
Hodge Jo F FS35 115 66.50 90 17
Townsend Alan M MSV60 185 67.42 91 3
Sheppard Karen F FV45 149 68.54 92 10 Somer
Beauchamp Claire F FS35 122 75.50 93 18

 

https://docs.google.com/document/d/1KR1viewqzMStm3OgeE22pTOSZ3TfYigarT2uqh7xDkg/edit?usp=sharing

Using an SSL certificate on a custom domain with Google App Engine

This post is more a reminder for me. Sorry.

Get an SNI certificate from Gandi. And download the certificate

Screen Shot 2015-03-04 at 10.09.09

It will have a name like:

certificate-123456.crt

You need to create public and private pem files for google like this:

openssl rsa -in cameraforensics.key -text > private.pem
openssl x509 -inform PEM -in certificate-123456.crt > public.pem

(cameraforensics.key is my private key from when I created the SSL certificate from Gandi)

In Google Apps domain manager, upload those files under “Security > show more > SSL for custom domains“: Screen Shot 2015-03-04 at 09.26.24

I was upgrading my certificate so I see both the current and the new certificate:

Screen Shot 2015-03-04 at 09.28.06

I had to delete the assigned url from the old certificate, then assign it to the new certificate and then save changes:

Screen Shot 2015-03-04 at 09.29.09

Ahh, green padlock goodness:

Screen Shot 2015-03-04 at 10.21.17

Garmin forerunner 620 verses the 205. The Good, the Bad and the Ugly

I previously had the (very popular) forerunner 205 so this review will be based on comparing it to that. I bought the 205 when it came out in 2006 and it’s still going strong. I love tech though so decided to treat myself to an “upgrade”…

Forerunner 205
Forerunner 620

The Good

  • Wifi and bluetooth data uploading. This is really handy. Saves getting the computer out. The live tracking is also good, but it requires you to take your phone on your run, 
  • Dedicated button for showing the current time of day.
  • It’s smaller.

The Bad

  • No multisport. If you want to enter a triathlon and have transitions etc. you’ll need a different watch. In fact, this watch was unbelievably released without any cycling mode but that is now available in the latest firmware.
  • No navigation features. So no back to start, or following a route for you. You’ll need a different watch.
  • Fewer data fields. The 205 lets you see 4 fields at once.

The Ugly

  • GPS isn’t as accurate! In fact, it’s pretty poor. See http://fellrnr.com/wiki/GPS_Accuracy:
This means my GPS data often sends me swimming and accidentally collecting Strava segments I didn’t even run…Screen Shot 2015-01-14 at 22.47.51

A paragraph where a summary would normally be

Well, I’ve been pretty critical of this watch and that’s mainly because there are so many steps backwards for such an expensive watch. I still own my 205 but I don’t use it. That’s because uploading data with a cable and the Garmin uploader was such a terrible experience I’d do anything to prevent it.
Meh.

Ugly business practices at Facebook

Facebook have broken its messenger feature into its own app. Lots of people freaked out thinking Facebook wanted to use it to spy on them as it requires excessive permissions etc. In reality, it probably needs all those permissions, I don’t really care about that, privacy died years ago. What bothers me is that people use it instead of emailing me. I strongly prefer email. It’s searchable and owned by me. I know I’m swimming against the tide a bit, but I’m clinging on to email for as long as possible.

Anyway, I don’t have the Messenger app installed on my phone, and nor does Karen but she saw this on her phone yesterday:

Screenshot_2014-11-04-23-06-51

Hang on… WTF!

rect5240

I’m not using the messenger app, but facebook are showing my adorable trustworthy face to her as a recommendation. Admittedly I occasionally use the messenger feature on the website when I have to, but I have never installed or used the app.

Seriously facebook, what are you playing at?

How to access your app engine dev server from another machine

I keep forgetting how to do this so I’m writing it down in the vain hope I may commit it to memory.

The problem

You want to access your locally running dev server on another machine on your local network or maybe even from a virtual machine. whatevs.

The solution

Start your dev server with this extra program argument (you can find this under “debug configurations” in eclipse):

--address=0.0.0.0

Now remember it you stupid brain.

aoc-u2868pqu

Running the 4K AOC U2868PQU and Intel HD4000 graphics…

Ok, I just bought a 4K display, whoop!

I knew when I bought it that neither my late-2012 Retina Macbook Pro, or my Ubuntu desktop machine would actually drive the monitor at 4K because they both rely on Intel’s HD4000 graphics which is built into their Ivy bridge CPUs. I did however expect to get at least 2560×1440 (if only at 30Hz) which is fine by me, and then I’m ready when I next upgrade…

OSX

Unfortunately, I initially couldn’t get the Macbook to run at anything above 1080p (which looks horrible) (as you can see from my stackexchange question).

I then managed to get full 3840×2160 @30Hz using mini-displayport and an app called SwitchResX. Here are my custom settings, you need to reboot the machine to apply them:

Screen Shot 2014-09-30 at 16.42.52

As a word of warning, this does make things eye-bleedingly small. (Pretty cool though)

Screen Shot 2014-09-30 at 17.17.13

Personally, I found the ‘scaled’ resolution of 1920×1200 to be the best for me because it uses HiDPI to give you that retina feel you’re used to. It will look like 1920×1200 but actually use more pixels to paint it. Here are the settings:

Screen Shot 2014-09-30 at 17.09.01

This is much more sensible (although I would like it smaller to be honest):
Screen Shot 2014-09-30 at 17.11.33

The downside is that you lose some of the screen down the sides. Let me know if you have any better suggestions.

If you find the colors going a bit funny, I used SwitchResX to change the color profile to sRGB IEC61966-2.1 like this:
Screen Shot 2014-09-30 at 17.13.17

Ubuntu

Thanks to Linus himself, I was able to get 2560×1440 working on Ubuntu:

xrandr --newmode 2560x1440_30.00 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +Vsync
xrandr --addmode HDMI2 "2560x1440_30.00"
xrandr --output HDMI2 --mode "2560x1440_30.00"

If you make any mistakes, you can remove them with:
xrandr --delmode HDMI2 "2560x1440_30.00"
xrandr --rmmode 2560x1440_30.00

That will have to do for now although I may buy another graphics card for the Ubuntu machine, suggestions welcome :)

01_MG_3677

How to download Chromecast background images

Google’s friendly little chromecast has some great background images.

If you want to download all of those images so you can have a nice high quality screen saver on your laptop/mobile etc. just do this:

git clone -b patch-1 https://github.com/mattburns/chromecast-backgrounds.git
cd chromecast-backgrounds/
npm install lodash q request nopt chalk
node cli.js --download=images --size=1024 --load=backgrounds.json

Change the size from 1024 to whatever maximum size you want to download.

I had to tweak the source from this project on github. Hopefully my fork will get folded in.

Using Java 7 on OSX

Does your current version point to JDK6 even though you’ve installed JDK7?

1
2
matt$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
8 lrwxr-xr-x  1 root  wheel  59 21 Nov 14:43 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
matt$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
8 lrwxr-xr-x  1 root  wheel  59 21 Nov 14:43 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

The do this:

1
2
sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/ /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/ /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK

If it’s not already, set JAVA_HOME accordingly in your ~/.bash_profile:

1
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home

Test it worked:

1
2
3
4
matt$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
matt$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)