Blog Archives

EntityStore and TermStore for Wikibase/Wikidata

I’m happy to announce the public release of two new PHP libraries that provide services around Wikibase, the software behind Wikidata. They are called QueryR EntityStore and QueryR TermStore. Both these libraries provide persistence and lookup services for specific Wikibase

Posted in Programming, Software Tagged with: , , , , , , , , , , , ,

Rewindable PHP Generators

Today I was refactoring some code in one of my libraries, and ended up replacing a named Iterator class with a Generator. To my surprise this changed behaviour, which I noticed due to a broken test. A test verifying that

Posted in Programming, Software Tagged with: , , , , , , ,

My adventures with autoloading in PHP

This post has as audience developers and will provide readers with insights on how to cleanly autoload classes in PHP. For a long long time, I’ve been one of those MediaWiki developers that just added classes and file names to

Posted in Uncategorized Tagged with: , , , , , ,

DataValues library

Last week I released the first version of the DataValues library. This blog post serves as an introduction to that library, explaining the motivations behind it, and providing a historical context. A bit over a year ago, I wrote down

Posted in Uncategorized Tagged with: , , , , , , , , , , , , , , , , ,

GALib available now!

Over the past 2 weeks I’ve been putting time in creating a general purpose Genetic Algorithm (GA) library in C#. It provides the scaffolding for any GA based functionality. Although it’s not fully finished yet, it is now available under

Posted in Programming Tagged with: , , , , , , , , , , , ,