Jason Magee - Software developer in Guernsey

I finally updated data.gg

A few weeks ago my son Teddy came home and mentioned, in passing, that his teacher had used data.gg in class.

I was chuffed for about four seconds. Then I remembered what state the site was in. Some of the figures hadn’t been touched in years, the charts looked their age, and the two phone apps were quietly rotting in the app stores. A classroom of kids had been looking at that.

So I got off my arse and fixed it. All of it, more or less.

data.gg - Guernsey data, statistics and charts

What data.gg is

Kieran Senior and I started data.gg years ago because Guernsey’s data was locked away in PDFs and scattered web pages, and every idea we had needed an API that didn’t exist. The site collects the island’s published figures and gives them back as charts, JSON and CSV. It is non-profit and always will be.

The data

This was the embarrassing part, so it came first.

The site now has 85 datasets across 24 topics, drawn as 93 charts. Inflation, house prices, crime, bus use, departures and government spending are all current. There are whole new topics for the economy, the environment and fishing, and new charts for things like life expectancy, electric vehicles, sea temperature, fog and Asian hornets.

The new home page, with the latest figures up front
The new home page, with the latest figures up front

Some datasets had stalled because the place I used to get them from changed. A few of those have new homes now: the number of banks and investment funds comes from the GFSC, electricity imports from Guernsey Electricity, and GCSE results are shown as Attainment 8 because that is what the States publishes these days.

And some data is just gone. Nobody publishes Condor punctuality any more. I went back and forth on deleting those charts and decided against it. They are a record of the island, and that has value. So they now live in a clearly labelled Archive section at the bottom of each topic. Old data next to fresh data makes a site look abandoned. Old data that says “this is old” looks like a library.

No more database

The data used to live in an Azure SQL database. It now lives in plain JSON files in the GitHub repo.

This is the change I’m happiest with. Updating a figure is now a commit. Every change has a history. Anyone can see exactly what I changed and when, or send a correction. There is no database bill and nothing to back up. For a few hundred kilobytes of public statistics, a database was always overkill.

A quiz, because schools

If teachers are using the site, I wanted to give them something better than a wall of charts. So there is now a quiz: ten questions, drawn fresh from the data every time, with one version for kids and one for grown-ups. Which is bigger? Has it gone up or down? How many hornets?

The kids' quiz. Yes, there are hornet questions
The kids’ quiz. Yes, there are hornet questions

The questions are generated from the same figures as the charts, so the quiz updates itself whenever the data does. I have been beaten at it by a child, on my own website.

I’m done with app stores

Guernsey Flights and Guernsey Sailings were proper store apps once. Keeping them there meant developer accounts, review queues, annual fees and rebuilding every time Apple or Google moved the goalposts. For two small boards showing arrivals and departures, I can’t be arsed any more.

They are now just pages: data.gg/Flights and data.gg/Sailings. Open one on your phone, add it to your home screen, and it looks and behaves like an app. You can track a flight or a boat and it will tell you when it’s in, as long as the board is open. Proper background notifications are next on the list.

The rest

  • A full redesign, with a dark theme, that works on a phone.
  • Every chart names its source and how recent it is, and can be shared, viewed as a table or downloaded as CSV.
  • A facts page that pulls the records and latest figures into one place.
  • The 3D map no longer needs a plugin. It was Unity; it is now three.js.
  • Everything runs on .NET 11.

How it got done

I should be honest about this: I did most of it with Claude Code. I’d describe what I wanted, it would do the work, and I’d poke at the result and argue with it. Finding new sources for dead datasets, which is exactly the sort of tedious job that had stopped me for years, turned into an afternoon.

It was not magic. It needed steering, and the deployed site had a mystery gap at the top of every page that took some detective work (stale stylesheets left on the server from an old deploy, getting swept into the CSS bundle). But a rebuild I had been putting off for years got done in a few weeks of evenings.

What next

Background notifications for the flight and sailing boards. Filling a few remaining gaps in the data. And keeping it up to date this time, which is the bit I’ve historically been bad at.

If you know of Guernsey data that ought to be on there, or you spot a number that looks wrong, tell me.

And if you’re a teacher using it in class: thank you. You’re the reason it got fixed.

Guernsey Election 2025 Candidates

For the 2020 Elections, I created a spreadsheet to help people evaluate candidates. I’ve updated this resource for the 2025 Elections.

Click here to get your own copy of the Spreadsheet.

Mega thanks to Marc Beavan who has added columns for previous voting records!

Note: Due to Google Sheets’ security updates, you’ll need to accept the yellow banner warning to load candidate portraits.

How to Use the Spreadsheet

Step 1: Rate the Candidates

  • Go through each candidate and rate them in the ‘Chance for vote’ column
  • Use a scale of 1 (Yes) to 5 (No)
  • Each row contains information about the candidate

Step 2: Review Your Ratings

  • Check the Output sheet to see a breakdown of your voting preferences
  • This shows how many candidates you’ve assigned to each ranking

Found an Issue?

If you discover any problems with the spreadsheet, please email me.

The Madness of Sagging GPUs

Sagging GPU
Sagging GPU

I’ve recently had to purchase a support brace for my home PC, and I felt the need to share the absurdity of this. The GPU is so heavy that it is sagging out of the socket.

First, let me clarify that my GPU is not high-end; it is considered medium-end. So, this isn’t even the cutting edge of GPU technology, the higher-end models are even bigger and heavier.

A team of engineers at Nvidia and AMD, working at the pinnacle of their fields, have signed off on a design that bends under its own weight. The socket that a GPU fits into is a standard and hasn’t changed in many years; it’s not a new innovation. Engineers! It’s absolute madness.

Look, my Silly Face is in the News!

My Face!
My Face!

I recently appeared on the main BBC Website after having a phone call interview about four-day weeks. It was a surprise to us (at Cortex) that it was the proper BBC and not just BBC Guernsey.

Unfortunately, the quote was somewhat negative. I was actually more positive about it.

Anyway, it was fun seeing my face in the news!

Video Games to Play with your Kids

Planet Crafter
Planet Crafter

I enjoy playing video games and I’ve been finding it frustrating to find decent ones to play with my kids. As an example you’d think the £29.99 Nintendo Switch Peppa Pig game would be fairly good. It is not. There is very little gameplay, the controls are unclear (don’t visually match the controller) and the loading times are insane (10 seconds+ per scene) for a 2D game with little happening, my youngest has time to ask me why it’s not playing at least 10 times before it actually does anything. The cheap Peppa Pig Chicken game is much better on tablets…

So I have decided to begin maintaining a list of games that my kids have enjoyed playing or watching me play. I’ll update this list over time. The list is here.

Unfortunately, I have not really found anything for five and under. There are various games based off of the things they’d typically watch (Paw Patrol) but they are fairly low effort and expensive. The only one to stick so far is Mario Kart with all the assists turned on.

24hr ECG

Not to turn this into a medical blog but figured it might be of interest to see what a 24hr ECG looks like. You rock up at hospital, usually early for a 24hr one.

You get three of these stuck to you
You get three of these stuck to you
They are stuck at these locations
They are stuck at these locations
You clip this to your trousers or whatever
You clip this to your trousers or whatever
Fill in your activities and any symptoms
Fill in your activities and any symptoms

…and return the bits to the hospital the following morning. Proceed to rush home for a lovely shower.

I hate having this, but it is necessary. The older version of the box was about 12 times bigger, so the small clip-on one is a great improvement.

Endure Another Game

I’ve just wrapped up another game. This one is called ‘Endure’ and is a base defense game with a money system to buy upgrades between game attempts. You can buy units and upgrades. The goal is to survive 5 minutes of spider attacks.

This ended up being more of a completable demo, as I had more features in mind but lost interest in taking it further.

You can play it here

Endure 1
Endure 1
Endure 2
Endure 2

Guernsey Global Games Jam 2023

We’ve just wrapped up Guernsey Global Games Jam 2023 at Guernsey’s Digital Greenhouse. I’ve lost track of how many we’ve done now, but it is a fair few! My employer, Cortex, sponsored this year.

Me, looking a bit odd, showing our game
Me, looking a bit odd, showing our game

The theme this year was ‘Roots’. Our team was made up of 4 people, including myself: Marc Beavan, Matthew Champion and Aaron Smillie. We made a game about an alien meteor crashing in a town with a tentacle monster spreading out to destroy the buildings and kill the inhabitants. One of the townsfolk happens to have a helicopter which you can use to collect survivors and take them to safety. The different buildings are named (e.g. care home, orphanage, states, tax office) so you can decide who to save.

Room
Room

We used Godot this year.

Title Screen
Title Screen
Game 1
Game 1
Game 2
Game 2

Thanks to the Digital Greenhouse and especially Digital Ben for hosting.

Bilateral Inguinal Hernia Surgery

WARNING: THIS POST CONTAINS MENTION OF MY PRIVATES (AND PHOTOS OF WOUNDS - NOT MY PRIVATES THOUGH!)

Over Christmas I had bilateral inguinal hernia laparoscopic (keyhole) surgery and documented my recovery to help anyone else who might find themself in a similar position.

How I noticed

For about a year I had been noticing strange changes to my well-being that I put down to old age such as…

  • back pain
  • acid reflux
  • left hip pain
  • strange stomach noises from left groin

It hit me that something was actually wrong when I was running along the cliffs (fairly normal for me - not eventful) and had the most painful stitch I have ever had in my life. It didn’t feel right. After getting home my testicles felt incredibly swollen for 24 hours and I noticed my groin was sticking out on the left side.

I went to the doctor, had a scan and it turned out I had a large hernia on the left and a small one on the right. It took about 9 months from going to the doctor to finally having the surgery.

Over this time I became unable to sleep through the night, the acid reflux got much worse, some days walking would hurt, etc.

Below are the notes I wrote on the day of and days following surgery.

Surgery Day

Arrived at hospital, put on the sexy see-through pants and tights. Had my hands numbed and went for the general anaesthesia.

Waking up from the general anaesthesia I believe my first word was ‘pain’. The nurse helped with morphine but the massive ache would not subside. My testicles felt like I was suffering ‘blue balls’ x10 and my stomach filled with 3 Christmas dinners. The following 2 hours were probably the worst of my life, I was unable to get comfortable in any position. I refused my first attempt to stand after trying to sit: the pain was too much. Once I eventually did and attempted to do a wee I began burping, burping and burping until eventually most the aching left my body. The final relief was the removal of the drain (pipe sucking blood out my tummy). I did not like the drain or the removal process. After that I felt great, munched and drank until home time. Apparently all this pain is due to the gasses they fill you with by doing laparoscopic surgery.

I stayed up until 10pm at home in order to take my next medicines. Sleeping was harder than expected, I kept waking every 2 hours largely due to acid reflux. I was very hot and did many wees.

Day 1

Woke up at 6am. The surgery site is more painful than before, which was not unexpected. Took more meds.

Pretty uneventful day, I managed the pain using the supplied painkillers.

The main achievement today was passing a fart. For whatever reason I just couldn’t control or feel the muscles required to do it until late afternoon.

The pain ramped up in the evening so I increased my dose from moderate to severe pain.

One of my testicles is at least twice the size of the other and very delicate to touch or movement. The sack also feels like it had some liquid in, presumably blood.

Wounds
Wounds

Day 2

Slept much better. Woke once at 3am and then up at 6am. Decided to try laying more flat and found it was now more acceptable for my body. Sideways doesn’t work yet though.

Testicle issue remains. General pain is less.

Day 3

Able to sleep sideways on my right, the left does not feel right yet.

Testicles still enormous and black.

We had guests over (it is Xmas eve-eve) and was able to deliver drinks to people, etc. Normally sit on the floor for guests but requested a seat on the sofa on this occasion.

Day 4

Probably would have slept fine if not for the toddler having tummy ache in the night.

Testicles less swollen, still black. I would probably say I am “fine” now. I am slightly slower to move, stairs are a little sore, probably couldn’t walk 5k yet but just sitting and moving around the house are fine.

Days Following

Pain generally decreased daily after this but was still very much aware I was ‘delicate’ for at least the two weeks.

I stopped taking Codeine after a week or so.

This was the first surgery I’d had removable stitches for and would like to report that it was barely noticeable having them out.

The only lingering side effect, which stopped at 4 weeks was my body telling me I needed to wee and poo via pain, rather than that “full” feeling.

I was able to walk and cycle 5k at 3 weeks and able to run 5k at 4 weeks. Possibly could have done both sooner but very much did not want to risk having to go through this all again by mucking the recovery up!

Stitches 1
Stitches 1
Stitches 2 (very swollen belly)
Stitches 2 (very swollen belly)

Things I did

  • Ice pack 4 times a day for 20mins
  • Slept and rested sitting up with special triangle pillows
  • Did very little getting out of bed for the first 2 days
  • Took laxatives from day 2 (had surgery before and it was horrible not being able to go to the toilet)
  • Took pain meds exactly how instructed

Yippee!

All the original symptoms have gone. I can even sleep through the night again now!

New Computer

I’ve recently built a new PC to replace my 9-year-old one. Other than GPU upgrades and switching to solid state nothing major has been done to it. Quite a good innings for a computer used daily for both my job and gaming purposes.

I’ve been planning to upgrade for a while but it has been hard to justify given the cost and the fact I can still happily game on it at 3440x1440 resolution. The ultimate trigger was Docker which it struggled to run, usually running out of RAM, which was impacting my work.

Components

I purchased the parts over a couple of months to spread the cost out. The parts are listed below.

Generic Part Cost
Motherboard Asus ROG Crosshair VIII Dark Hero £374.99
CPU AMD Ryzen 9 5950X £416.66
RAM Team Group 8Pack Edition 32GB (2x16GB) DDR4 £166.66
PSU Corsair CP-9020139-UK HX1000 1000 W 80+ Platinum £129.17
Case Corsair 7000D £180.62
CPU Cooler ARCTIC Liquid Freezer II 420 £111.26
NVMe M.2 Samsung 970 EVO Plus 2 TB £126.24
Total Total £1,505.60

I have not upgraded the GPU because GPU costs are still firmly in crazy-times. I had a couple of objectives for this new build…

  • Mainly to keep it as long as possible (like the previous one) so my plan was to go high-end
    • PSU should last more than one PC
    • Case should last more than one PC (possibly until I expire)
  • I didn’t want it to be noisy so the case is massive and houses 11 fans (of different sizes) which run at slow speeds. It also fits extremely large CPU coolers

PSU and Fans

The case empty and open
The case empty and open
PSU installed below
PSU installed below
Front 3x140mm fans
Front 3x140mm fans
420mm AIO CPU cooler installed at the top
420mm AIO CPU cooler installed at the top
420mm AIO CPU cooler installed at the top
420mm AIO CPU cooler installed at the top

CPU

CPU goes here. Please work
CPU goes here. Please work
It's in!
It’s in!
Little bit of paste
Little bit of paste
CPU cooler attached. Please work...
CPU cooler attached. Please work…

Finish

Finished!
Finished!
IT'S ALIVE!!
IT’S ALIVE!!

AMD Ryzen Precision Boost Overdrive (PBO)

I had a little go enabling PBO after some reading about it on the Internet. It is an AMD CPU thing for overclocking. I recorded my benchmarks with/without below. I ended up turning it off, maybe one day I’ll revisit but the PC is plenty fast as is.

Without Precision Boost Overdrive
Without Precision Boost Overdrive
With Precision Boost Overdrive
With Precision Boost Overdrive

Conclusion

Great success!

You can’t tell the PC is on when idle it’s so quiet. How long it lasts will be a question for another day.

I have given my old PC to child 1 for work/play, so it will live on yet. Bonus excuse to buy another GPU in the near future…