Blog

Viewing posts for the category beforeiforget

Deleting media files on Gondor

Posted by: admin 11 years, 3 months ago

The critical media project is hosted on Gondor. It's generally been pretty smooth, but the documentation is a bit ad-hoc in places. I think they've been feeling out the PaaS thing at the same time as I have.

read more / 0 comments

Checking for Spatial Clustering of Points in R

Posted by: admin 11 years, 6 months ago

The R script below tests whether a set of points on a plane is significantly clustered (as opposed to randomly distributed or, conversely, equally spaced), using the Clark-Evans R measure. From the R spatstat package manual "[Clark-Evans R] is the ratio of the observed mean nearest neighbour distance in the pattern to that expected for a Poisson point process of the same intensity. A value R>1 suggests ordering, while R<1 suggests clustering."

read more / 0 comments

Network Analysis of Large Online Datasets

Posted by: admin 11 years, 6 months ago

In late 2012, I spent an infinitely frustrating week trying to perform network analysis (specifically, build and run ergm models) on part of the bitcoin blockchain. I learned some things. If you are here because you want to run ergm models on large datasets, you're advised to back away slowly then run like hell. But here are some notes.

read more / 0 comments

PostGIS install on Ubuntu 12.04

Posted by: admin 11 years, 6 months ago

This post shows you (and me when I forget in a couple of months!) how to set up a basic toolchain for spatial queries on Ubuntu 12.04. After installing PostgreSQL and PostGIS, we'll load data from a shapefile, try some queries, and display the spatial database layer in QGIS

read more / 0 comments