Election 2029: The Impossible Exception – Solved
Jon Skeet's Coding Blog
by jonskeet
6d ago
Shortly after writing my previous post, a colleague pinged me to say she’d figured out what was wrong – at least at the most immediate level, i.e. the exception itself. Nothing is wrong with the ordering code – it’s just that the exceptin message is too easy to misread. She’s absolutely right, and I’m kicking ..read more
Visit website
Election 2029: An Impossible Exception
Jon Skeet's Coding Blog
by jonskeet
6d ago
I really thought I’d already written a first blog post about my Election 2029 site (https://election2029.uk) but I appear to be further behind on my blogging than I’d thought. This is therefore a little odd first post in the series, but never mind. To some extent it isn’t particularly related to the election site, except ..read more
Visit website
No, the bug is in your code (and mine)
Jon Skeet's Coding Blog
by jonskeet
4M ago
It’s entirely possible that I’ve posted something on this topic before. I know I’ve posted about it on social media before. Every so often – thankfully not too often – I see a post on Stack Overflow containing something like this: “This looks like a bug in VS.NET” “I’m 100% sure my code is correct ..read more
Visit website
Abstraction: Introduction
Jon Skeet's Coding Blog
by jonskeet
4M ago
Finally, several posts in, I’m actually going to start talking about abstraction using DigiMixer as the core example. When I started writing DigiMixer (almost exactly two years ago) I didn’t expect to take so long to get to this point. Even now, I’m not expecting this post to cover “everything about abstraction” or even “all ..read more
Visit website
Lessons from election night
Jon Skeet's Coding Blog
by jonskeet
7M ago
Introduction On Thursday (July 4th, 2024) the UK held a general election. There are many, many blog posts, newspaper articles, podcast episodes etc covering the politics of it, and the lessons that the various political parties may need to learn. I, on the other hand, learned very different lessons on the night of the 4th and the early morning of the 5th. In my previous blog post, I described the steps I’d taken at that point to build my election web site. At the time, there was no JavaScript – I later added the map view, interactive view and live view which all do require JavaScript. Building ..read more
Visit website
Building an election website
Jon Skeet's Coding Blog
by jonskeet
8M ago
Introduction I don’t know much about my blog readership, so let’s start off with two facts that you may not be aware of: I live in the UK. The UK has a general election on July 4th 2024. I’m politically engaged, and this is a particularly interesting election. The Conservative party have been in office for 14 years, and all the polls show them losing the upcoming election massively. Our family is going to spend election night with some friends, staying up for as many of the results we can while still getting enough sleep for me to drive safely home the next day. I recently started reading Co ..read more
Visit website
DigiMixer – the app
Jon Skeet's Coding Blog
by jonskeet
1y ago
This wasn’t the post I’d expected to write, but after reading two comments in close succession on an old post when I first started playing with the X-Touch Mini I decided to spend some time effectively shuffling code around (and adding a primitive configuration dialog) so I could publish a standalone app for DigiMixer. I want to be really clear: the app is not “supported software”. I’ll try to fix bugs if they’re reported in the GitHub repo but it’s only “best-effort in my spare time”. If you don’t need any of the functionality that’s specific to the DigiMixer app (which as far as I’m aware is ..read more
Visit website
DigiMixer: Protocols
Jon Skeet's Coding Blog
by jonskeet
1y ago
Despite this blog series going very slowly, the DigiMixer project itself has certainly not been stalled. Over the last year, I’ve added support for various additional mixers, as well as improving the support for some of the earlier ones, and performing quite a lot of refactoring. DigiMixer now supports the following mixers, to a greater or lesser extent: Behringer X series (tested with XR16, XR18, X-32R) and Midas M series (only tested with M32R, but I expect it to be identical to the X series) Harman Soundcraft Ui series (tested with Ui24R) Allen & Heath Qu series (tested with Qu-SB, inc ..read more
Visit website
Variations in the VISCA protocol
Jon Skeet's Coding Blog
by jonskeet
1y ago
Nearly three years ago, I posted about some fun I’d been having with VISCA using C#. As a reminder, VISCA is a camera control protocol, originally used over dedicated serial ports, but more recently over IP. Until this week, all the cameras I’d worked with were very similar – PTZOptics, Minrray and ZowieTek all produce hardware which at least gives the impression of coming out of the same factory, with the same “base” firmware that’s then augmented by the specific company. I’ve seen differences in the past, but they’re largely similar in terms of VISCA implementation. This week, my Obsbot Tail ..read more
Visit website
SSC Protocol
Jon Skeet's Coding Blog
by jonskeet
1y ago
I’m aware that I haven’t been writing as many blog posts as I’d hoped to about DigiMixer. I expect the next big post to be a comparison of the various protocols that DigiMixer supports. (I’ve started a protocols directory in the GitHub repo, but there isn’t much there yet.) In the meantime, I wanted to mention a protocol that I just recently integrated… SSC. SSC stands for “Sennheiser Sound Control” – it’s based on OSC (Open Sound Control), the binary protocol that I already use for controlling Behringer mixers and the RCF M-18. SSC is very similar to OSC in terms of its structure of path-like ..read more
Visit website

Follow Jon Skeet's Coding Blog on FeedSpot

Continue with Google
Continue with Apple
OR