I’ve wrestled with this problem for some time, and finally cracked it. Here’s how to write unit tests for methods that use third-party REST APIs.
James Padolsey says that semantic HTML is dying.
Recently I’ve been trying to understand different content management strategies and the implications these have for the underlying technology. Most of what I’ve read fails to consider the long-term utility of content, considering only the newest to be useful. We need to develop a longer view of the life of web content. We should plan for content to live, not for years, but centuries.
This morning I launched easyopendata.com upon the world, and it has been a wonderful day.
I’m making a note of this here, because using persistent cookies in Sinatra doesn’t seem to be very well documented anywhere else.
Most organisations who are putting effort in to their social media presence will want to record and monitor the impact that their activities have. But collecting tweet data through the API to process can be fiddly.
Here’s a little function I wrote to plot the distribution of values passed in through a pipe.