Posts tagged: mastodon-archive

New php-excimer profiler

Tim is working on a new profiler for PHP, since there are issues with xhprof/tideways that really aren't worth dealing with...and that we can do better in profiling. He's written up some details on https://phabricator.wikimedia.org/T205059, and there's some initial code in our Gerrit.I've done the initial Debian packaging at https://salsa.debian.org/mediawiki-team/php-excimer…

2018-08 MediaWiki security update

The #MediaWiki security update has been pushed to #Debian stable after a few hiccups (thanks Moritz!): https://lists.debian.org/debian-security-announce/2018/msg00232.htmlI also pushed an update for Xenial users to my PPA: https://launchpad.net/~legoktm/+archive/ubuntu/mediawiki-ltsThose packages are for 1.27, which is the older LTS version. 1.31 hit unstable today, so I'll be providing backports for it shortly!…

Trying pytest

I finally had the opportunity to give pytest a real try (I'm porting tests from ruby to Python), and it's amazing! Waaay better than unittest/nosetests. I especially liked the parametrization feature, which I think PHPUnit could probably benefit from. Specifically, I like how I could specify two parameters separately, and…

Value in using Linux packages

What's the value in using Linux packages for your software vs installing from git? https://lists.debian.org/debian-devel/2018/06/msg00097.html explained it really well. The explanation I tell people for MediaWiki is that if you want a wiki that just works and would like to forget about administering it - use the Debian package. If…

Age requirements for chatting

So now matrix.org requires you to confirm that you're over 16 before you can use it. I hope this doesn't become the new reality - I got started on IRC a few years before I turned 16. :|I couldn't find any age requirement for freenode (https://freenode.net/policies).Oh, and Slack also requires…

Parsing PHP in Python

Today I found a legitimate use for https://github.com/danielquinn/python-phpPython's default ConfigParser requires each ini file to have a [section]. PHP doesn't, so to read a PHP-formatted INI file in Python requires some kind of custom parser (maybe it would be possible to extend ConfigParser?), where the python-php project came in handy.…