All posts filed under: geek

How To: Write a RTing Twitter bot in PHP

Leave a comment
geek / how to

File this one under “stuff I’ve been meaning to look up for ages”: yesterday I finally sat down and wrote a Twitter-bot. You know the kind – a dedicated account that looks for updates containing a certain word or phrase, then retweets them – I often end up being tweeted by @redscarebot, for example. Anyhow, here’s how to write your own, in just a few lines of PHP. You’ll need: 1) A server running PHP […]

The Robot Reporter

Leave a comment
fuckwittery / geek

Hello. If you’re visiting this post, you’ve probably spotted @theroboreporter on Twitter. Or maybe it retweeted you, and you’ve asked why, or asked it to delete a tweet. In any case, here’s what you need to know: @theroboreporter isn’t a person, it’s software. Here’s what it does: 1) Journalists all around the world scour Twitter for images they want to republish. 2) When they find one, they tweet to the person who posted it, asking for […]

App Preview Videos for Newsstand

Leave a comment
geek / video

If you’re promoting an interactive magazine – and if you’re putting a magazine on a tablet, it really should be interactive – nothing really shows it off like a video, so we’ve been producing preview videos of our apps, like the one above, for some time. But with iOS8 comes the new option to embed a video right into your store listing, and a few people have asked how to do that – so here’s […]

Futzing with Swift and Cocoa

Leave a comment
fuckwittery / geek

I’ve never learned Objective C – my iOS stuff is written in Titanium (essentially Javascript, because anyone can play guita.. uh, write Javascript), and my personal tools for Mac are all scripts to run from Terminal. So the idea of a simpler language that could be used for both iOS and Mac OSX is pretty attractive to me. Problem is, I’ve never used Xcode, or the Cocoa libraries before. But I thought I’d give it a […]