Reading from USB COM port in go
If you want an easy copy and paste, no nonsense way to print the output of a COM PORT to the terminal in go, then have a look at the code at the bottom of this post. Firstly, the go.bug.st/serial/enumerator package provides a very nice interface for getting details of connected devices, and includes more…
WSL2 COM port pass-through with usbipd (firewall issues)
I’ll start by saying that ultimately you want to read and follow the Connecting USB devices documentation for WSL. However, a few things cropped up along the way that I think might be worth writing down for future me, and others. Requirements Firstly, you need to be on WSL2. Next, install the USBIPD-WIN program. Listing…
Wikibase Phrase Entity, Viewing
In my previous post, we got to the point of being able to create a new Wikibase Entity, it is stored in the MediaWiki database as a page, however we can’t actually view it via any interface currently. In this post, we will work through another set of code changes, tackling each issue as we…
Wikibase Phrase Entity, Creation
Finally, after a long lead up of discussing what an entity is, looking at some examples of entity extensions, and one extension that chose not to make use of the Wikibase Entity system & EntityDocument. What does it take to create a new type of data entity within Wikibase that implements the EntityDocument interface and…
EntitySchema, and the entity flip-flop
The EntitySchema extension, previously called WikibaseSchema, has had an interesting life since its initial creation back in early 2019. The main point this story is intended to highlight is that EntitySchema started off its planned life as an Entity within a Wikibase. As the development team started work on an initial version, it flipped away…