Month: July 2024

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…

By addshore July 30, 2024 0

Wikibase Phrase Entity, Viewing

This entry is part 7 of 7 in the series Wikibase ecosystem

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…

By addshore July 12, 2024 2

Wikibase Phrase Entity, Creation

This entry is part 6 of 7 in the series Wikibase ecosystem

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…

By addshore July 11, 2024 1

EntitySchema, and the entity flip-flop

This entry is part 5 of 7 in the series Wikibase ecosystem

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…

By addshore July 11, 2024 3