Pageviews, part 3: Going Beyond Pageviews

The third (and final) part of my readership posts, for the time being. What have we seen so far? Well... The mobile singularity is upon us. Mobile is the primary driver of growth and sustainability in Wikimedia readership, and that doesn't look like it's changing any time soon. Even though…

Read More

R, C++, devlogs, Java

Weekly changelog (21-28 December 2014)

    Found an awkward bug in fastread: essentially, CSVs are hard-coded as the only format. Whoops. At time of writing, I am (having fixed it in my local) the only person on earth with a working version of this library. Power. Wrote an IETF metadata scraper to test Hadley's rvest library…

    Read More

    Weekly changelog (15-21 December 2014)

    Weekly changelog: Two Java-based UDFs to implement the legacy and new pageview definitions. WIP. Fixed a bug in urltools and added a new feature, url_replace_param, which replaces the value associated with a particular parameter in a set of query strings. Some miscellaneous renaming and documentation fixes there, too…

    Read More

    R, Rcpp, URL handling

    Announcing urltools

    URLs are treated, by base R, as nothing more than components of a data retrieval process: they exist to create connections to retrieve datasets. This is an essential feature for the language to have, but it also means that URL handlers are designed for situations where URLs get you to…

    Read More

    R, C++, Rcpp

    Undefined symbols in Rcpp

    Note to self: when you get an error like: undefined symbol: ZN7parsing17extractparameterESsSs You can work out what that means in human through: echo _ZN7parsing17extract_parameterESsSs| c++filt Hat-tip to Douglas, four years ago.…

    Read More

    League ain't nothing but...

    Spent part of last night confusedly watching professional League of Legends players play the pre-season. One of the adverts was a fairly-generic-but-well-intentioned effort to demonstrate the inclusivity of gaming, by showing a diverse array of people who identified as gamers. This was completely undermined, of course, by the Intel advert…

    Read More

    NULLs in R

    data <- lapply("foo",function(x){return(NULL)}) > data [[1]] NULL > data[[1]] <- NULL > data list() This is the STUPIDEST LANGUAGE.…

    Read More