HTMX — a better direction for HTML evolution?

The authors of HTMX (https://htmx.org/)suggests using simple hyper text when applicable, which turns out to be… often. Featured on the latest <.NET Rocks!/> podcast — 1749 htmx with Carson Gross htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~10k min.gz’d), dependency-free, extendable & IE11 … Read more

Workaround for TrackPoint mouse-cursor issues

I’m a ThinkPad user, and I have been for quite some years. One of my best arguments, is the TrackPoint, which I would argue, is missing on desktop computers. It has multiple modes such as scrolling etc. which, when used, switches the mouse cursor icon to show which mode is currently active. Though, an annoying … Read more

Design your own language in C# 9: a tutorial series

Programming languages are some of our fundamental tools, and many different languages for many different purposes. In this tutorial series, you will learn how to design and implement your own language, starting out from simple expressions and their evaluation, later adding variables, functions and lambda expressions. You may ask yourself why… why would you create … Read more

Language Tutorial part 1: Scanning input source text

This post is part of a language tutorial series. In this part of the tutorial we will define the basic components of our language and introduce first phases of our language processer: the scanner. The scanner breaks up the textual representation of the input program text into a sequence of Tokens; as an example, 1.0 … Read more

Convenient member data sources with xUnit

In xUnit test cases can be parameterized using the attribute [InlineData] much like [Datarow] in MsTest. That is, instead of stating a [Fact], you can create a [Theory] and parameterize it, much like this example: Here we created four testcases using a general parameterized theory. This allows you to rapidly gain coverage without the boilerplate … Read more

Mapping deserialized objects to their JSON source using Json.NET

I am rewriting a part of an application written in python. It queries a json api, extracts relevant information and stores this information in an SQL database. It has served me well for a number of years now, and have changed quite a lot during its lifetime, and so has the relevant information. The data … Read more