Originally posted on mastodon.technology.
Took me a while, but libkiwix9 is now waiting in Debian's NEW queue: https://ftp-master.debian.org/new/libkiwix_9.2.2+dfsg-1.html
Also, hopefully going to have another cool announcement in the future, still waiting on a PR to be merged :)
I'm trying to learn Rust this summer. I've found I learn languages the best by just trying to do something in it, figuring out the building blocks as I go along. So I plan on writing/porting different projects to Rust.
This week I set up rustup, installed the stable and nightly toolchains and started getting familiar with cargo/the build system.
I ported my newusers Toolforge tool to Rust. It's a simple web server with a single route that makes an API request, and dumps the output in plaintext.
I picked the rocket
framework because it seemed more straightforward and similar to Python's Flask compared to hyper
, but it was a bit weird to me that it required a nightly build of Rust to compile and run (though it's apparently about to change). I also used Magnus's mediawiki
crate mostly to see what it was like, this API request was so simple I didn't really need any MediaWiki-specific code. Thank you to qedk
in #wikimedia-tech
who helped work around a dependency issue I ran into.
I also wrote up an analysis of supporting Rust tools on Toolforge in the future.
Code written:
Libraries used:
Concepts learned:
Next week:
- Writing a command-line tool.
Originally posted on mastodon.technology.
Tried to get a #rustlang tool deployed on #Toolforge today and failed. Wrote a quick summary on how to move forward: https://phabricator.wikimedia.org/T194953#6183849
Input from experienced rust Toolforgers like @magnusmanske and @danielhglus would be appreciated.
Originally posted on mastodon.technology.
New bugfix release for my Skip Mobile Wikipedia addon: https://addons.mozilla.org/en-US/android/addon/skip-mobile-wikipedia/
It's fully compatible with Firefox for Android if you always want to use the desktop Wikipedia view on your phone. Despite the name, it supports all Wikimedia wikis.
Today's release, 0.2.1, fixes wikidata.org support.
Packages for the MediaWiki 1.31 LTS release are now available for the new Ubuntu 20.04 LTS "Focal Fossa" release in my PPA. Please let me know if you run into any errors or issues.
In the future these packages will be upgraded to the MediaWiki 1.35 LTS release, whenever that's ready. It's currently delayed because of the pandemic, but I expect that it'll be ready for the next Debian release.
Originally posted on mastodon.technology.
Things that are inevitable in life: taxes, death, and useless GitHub security notifications.
