Category: Tech

cobra: unable to redefine ‘h’ shorthand

“Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files” I’m currently using Cobra in the MediaWiki CLI project and recently came across an error while trying to auto-generate docs. I’m not actually trying to redefine this flag, but it looks like by…

By addshore January 15, 2022 0

Wikidata ontological tree of Trains

While looking working on my recent WikiCrowd project I ended up looking at the ontological tree of both Wikidata entities and Wikimedia Commons categories. In this post, I’ll look at some of the ontology mappings that happen between projects, some of the SPARQL that can help you use this ontology in tools, and also some…

By addshore January 7, 2022 0

A first look at WikiCrowd

I have quite enjoyed the odd contribution to an app by Google called Crowdsource. You can find it either on the web, or also as an app. Crowdsource allows people to throw data at Google in controlled ways to add to the massive pile of data that Google uses to improve its services and at…

By addshore January 6, 2022 5

Pushing patches to sr.ht git repos

I recently wrote a blog post using the taavi/laravel-socialite-mediawiki PHP library which is hosted on sr.ht. sr.ht, or sourcehut is “is a collection of tools useful for software development”, including git repository hosting. I had to make a change to the library, and this was my first time contributing to a sr.ht repository. The workflow…

By addshore January 6, 2022 0

Laravel 8 with Wikimedia OAuth login

I recently wrote a little app called wikicrowd (blog post to follow) using Laravel and MediaWiki / Wikimedia authentication. It certainly wasn’t entirely out of the box, and the existing docs still need some tweaking. This post reflects the steps I went through to set this app up, and it should only take a few…

By addshore January 6, 2022 0

Installing Android Studio on WSL2 for Flutter

I’m trying to do some “modern” Android development and want to experiment with Flutter while running Windows, and WSL2 with Ubuntu. Flutter isn’t as easy to install as some programs, no simple apt-get etc, but instead a collection of binaries distributed by different organizations that all need to be tied together. To start with, you’ll…

By addshore January 4, 2022 5