Categories
Coding

Unit Testing, should we bother?

I little while ago I had a discussion with a respected colleague who took a different view to me on unit tests. He proposed that writing tests at the unit level means more code to write and maintain, whereas testing functionality in bigger blocks yields the same benefits with less overhead, plus unit tests don’t […]

Categories
Coding Technology

.Net 9 Preview 7

I’ve been getting up close and personal with .Net 9 preview in the last couple of weeks. Preview 7 was launched on 13th August 2024, so I thought I’d ping out a quick & easy summary of what’s in it… (Useful links at the bottom of the page) Support for UUID version 7 New Guid.CreateVersion7() […]

Categories
Uncategorized

DRY Comments

I’ve been using Tabnine AI with JetBrains Rider for a while now. It does a pretty good job of generating documentation comments for classes and their members – but not at all for interfaces. You can see why, because interfaces lack the implementation detail for AI to bite on. However, it feels like the wrong […]

Categories
Grumpy

Fed up with Samsung!

I’m busy at work and at home. Keeping a track of what’s going on in my life is important. I go to the Gym 4 or 5 times a week & my Gym app stores my gym bookings in my phone’s calendar. So that’s handy, or at least it should be. Unfortunately, I have a […]

Categories
Grumpy Office Technology

Group emails not showing

Fixing emails not showing in Microsoft 365 group inbox in Outlook.

Categories
Grumpy

The Bald Truth

John Ruskin was a bit bonkers, as tales of his marriage attest, but I think this quote about cost and value is worthy…

Categories
Coding

Xamarin Android Date Picker

Flicking through Mastering Xamarin Forms by Ed Snider recently I noticed that the instructions for adding an Android date picker seem to be missing – the iOS ones are there. Ed does include the code for the Android version in his downloadable examples but they use the old, deprecated, Android.App Dialog Fragment and Fragment Manager […]

Categories
Learning

Portable Bookshelves

Some years ago Mrs. G. pointed out that my books were beginning to encroach unreasonably on our living space. They’d started piling up in little nooks & crannies where lamps & coffee tables might otherwise eek out a humble but happy existence. Accepting her wisdom (always a shrewd move), I set about the painful process […]

Categories
Grumpy

Enlightened?

I recently re-read On Liberty by John Stuart Mill. At least, I listened to it on Audible. It was originally published in 1859. More than a century and half later we live in a time when de-platforming is common in universities around the World. Institutions where, surely, the free exchange of ideas is essential. Mill […]

Categories
Learning

Gates on Feynman

It’s a privilege & sometimes a challenge to live in a time & place where information is so easily available. A privilege precisely because of the abundance of easily accessible facts and analysis. A challenge because information overload can just drown out understanding. Sometimes there’s so much to learn it’s hard to organise and absorb […]