Restore Foursquare Checkins with Launch Center and Pythonista [Updated]

With the recent update to Foursqure 8.0 for iOS, the ability to “check in” at locations has been officially offloaded to Foursquare’s sister app, Swarm. This wouldn’t be a huge deal if Swarm wasn’t so greedy—it forces you to have GPS location on at all times, and subsequently drains your battery and/or bombards you with notifications. And while it’s nice for people who rely on the social features of the app, it’s really frustrating for people like me who used Foursquare mainly for personal logging and other location-based things made possible with its IFTTT channel.

So, just for fun, I whipped up a Pythonista script over the weekend that logs you in to Foursquare without the annoyances of Swarm. You simply fire the script, enter some or all of the name of your location, and then the Foursquare API handles the rest. In its current implementation, there is one serious caveat: you can’t choose your venue from a list. Basically, you enter a search term and then the script chooses the top result. Unless you are in a place with a lot of similarly named locations, I think you’ll be fine. And if you know how to code a better solution, I would love to see it—I’m super new to Python(ista).

Here’s how it works.

Create an “App”

The first thing you need to do is log in to the Foursquare developer portal, which you can do using your normal login credentials. From there, select “My Apps” from the top and then the green button for creating a new app. You only need to fill in some basic information, but pay special attention to your redirect url, since you’ll need this later. If you don’t have your own webspace, you can actually use almost any url, including this one ( Once that is done, copy and paste your Client ID and Client Secret and save them in a text file. They are important.

Next, you need to authorize yourself as a user of your new web app. The easiest way to do that is to go to the following web address, replacing CLIENT_ID with your Client ID and YOUR_REGISTERED_REDIRECT_URI with the URI that you entered earlier:

Once you do that, you should kick back to your URI, except with a trailing string that includes #access_token= followed by your actual access token. Again, keep that in a safe space along with your Client ID and Secret.

Run the Script

Once you have those three strings, you’ll need to plug them into the Pythonista script.

As you can see, the script uses the Foursquare API to search for locations, then it takes the top result and checks you in. It shows a little pop-up to let you know where you checked in, and then it kicks you back out to Launch Center, because I’m assuming that’s where you started the script from. You can always lop off that line or change it if you want to go somewhere else.

Let me know how it goes on Twitter or in the comments.

Update (August 25th)

After talking about this on Twitter, Ryan came up with a really elegant solution that uses a table view and lovely icons as opposed to my blunt force search method. As a bonus, he also created a dedicated home screen launcher.

View it in action here, download the script here, and look into custom home screen launching here. Thanks, Ryan!

50 Stars

The American history nerd in me is happy to recognize that today marks the 55th anniversary of Hawaii’s statehood—and with it the 55th birthday of the 50-star American flag design. This image, taken from the Eisenhower Presendential Library, shows the official flag schematic that accompanied Executive Order 10834:

Despite what the Internet Archive might have you believe, then-President Eisenhower did not deliver a speech by William Jennings Bryant on the occasion.1 Instead, he just said a few words wishing Hawaii happiness and prosperity. Have a listen:

  1. For unknown reasons, the speech identified at that link as Dwight D. Eisenhower’s Hawaii Statehood Proclamation Speech is actually William Jennings Bryant’s “Against Imperialism” speech, recorded at the Democratic National Convention in Kansas City on August 8, 1900.

The Visual Microphone

In the 1858 edition of Wild Scenes and Songbirds, Charles Wilkins Webber speculated that sound waves might live on forever:

That a sweet sound should ever cease to be seems to me unnatural—at least unpoetical—for, let its vibrations once begin, though they may soon die to our gross sense, must they not go widening, circling on, stinging the sense of myriad other lives with a mysterious pleasantness (such as will overcome us in a wood upon an April day), until the uttermost bound of our poor space be past, and yet the large circumference go spread and spreading tremulous among the girdling stars? It may be so for all we can tell!

Webber’s notion of the perpetual sound wave has been shared by many writers, recordists, and sound engineers over time, who have dreamed that sound is always out there, and it is just a matter of learning how to capture it. Though sound is often generalized as being “temporal,” there is actually a nice line of thinking that has always imagined sound as infinite, stretching out through time and space, impacting everything around it until it girdles the stars.

Last week, a group of researchers at MIT made this previously speculative fantasy something close to a reality, with a process they are calling “the visual microphone.” The device is actually a high speed camera which can detect minute vibrations of objects in a room, and then translate these vibrations back into sound using an algorithm, even when the recording happened through soundproof glass. The results are not the highest in fidelity, but they are quite real, and quite good. Watch for yourself here:

This video (and many subsequent articles) inundated my Twitter feed last week, but perhaps no one said it better than my friend Nate Brown, who wrote to me, “The world has its own language.”

Hum and Sing - Ethan Rose

This morning while doing some packing I had a chance to catch up with Radius, a fantastic podcast and radio show featuring live-recorded compositions, experimental music and sound art. They are currently in the middle of GRIDS, a series of four commissioned broadcasts at Chicago-area electrical stations. Series episode 51 features a work by Ethan Rose called “Hum,” a droning interplay between the human voice and the electrical apparatus. You can listen to the entire 60-minute piece below, and read a write-up over at Vice.

I first came across Rose’s work back in 2010, when he did a collaboration with songwriter Laura Gibson called Bridge Carols, which is absolutely stunning. Here is the video for “Younger”:

One Small Step

Yesterday marked the 45th anniversary of Neil Armstrong setting foot on the surface of the moon as a part of the Apollo 11 mission with Buzz Aldrin and Michael Collins. That event is rightly remembered as a televised one: Walter Cronkite himself later said the landing was “almost as remarkable a feat for television as the space flight itself.”1

However, the audio itself is also pretty interesting, and thanks to NASA and the Internet Archive you listen to the entire mission. The big moment—”One small step for man, one giant leap for mankind”—happens starting at the 11:13 moment of the following clip:

The complete audio for many other missions is available for streaming and download via the NASA Audio Collection.

  1. Walter Cronkite, A Reporter’s Life, p. 277.

Silence and Noise

Last month I saw some nifty looking embedded Ngrams in a blog post by Chris Long, and I was reminded of two things: 1) I haven’t messed with Ngram in awhile, and 2) I wasn’t entirely sure how HTML iFrames would embed on this new blog. I’m happy to report that both turned out great—in fact, much better than I expected.

One of the things that comes up in my research in is how “noise” was incorporated into environmentalist discourse in the 1960s as a kind of “pollutant.” This was, in part, a technique mobilized by anti-supersonic flight activists who thought the sonic boom was a problem. (They were right.) Though one Ngram certainly doesn’t tell this whole story, it was interesting to see it corroborated: the occurrence of “noise” surpasses “silence” right around 1961.

This change seems to have started around 1920; before that, silence and noise have remarkably similar curves, with silence occurring at a much higher rate. Of course, what is also interesting—and, to me, totally unsurprising—is the meteoric rise of “silence” in the last decade (2004-onwards). Silence has again become a kind of urban and environmental cause of the moment, which is again reflected in the data.

There is certainly a lot more to say about this, but it’s a great kind of synergy when testing some new tools and website tricks leads you down a more productive and stimulating road.

A New Site

It’s always a combination of exactly two things that make me want to update my website: 1) the development of a large or small life change, and 2) the desire to procrastinate from a larger and scarier task at hand. In this case, I was thrilled to finally announce that I’ll be an ACLS Public Fellow working on To the Best of Our Knowledge starting in September combined with the related fact that I have a ton to do before we move to Madison, both at home and in terms of some writing commitments. With that in mind, I’m planning on moving to this new set-up, which is powered by Jekyll, styled by making some slight modifications to Ian Camporez’s fantastic Thinny theme, and hosted using Bluehost Spoke.

One of the main reasons I was interested in Jekyll is that it is a kind of anti-platform platform—it’s really just a Ruby script that generates a static version of your site that you can then host from anywhere. I think anyone considering academic “domain of one’s own” initiatives like this one and this one—which are clearly a great idea—also needs to consider what Wanye Marshall has appropriately called “platform politricks”. One of the many lessons there is if you really want a domain of your own, then you need to actually own it. In fact, I would love to host this website myself from a computer sitting in my house, but I’m not quite there yet.

A second is reason is that even though there were Tumblr themes that claimed to be specifically styled for long-form writing, most of Tumblr just doesn’t seem to work that way, which made me feel like I was doing it wrong. I think this site can and will function more like a traditional blog, but I still managed to migrate all my previous Tumblr posts over here—and old URLs should (should) redirect.

There are still a ton of kinks to work out—and hopefully some new features to add—so if/when you find something broken or wonky or weird, let me know here in the comments (which you can access from the home page with the little chat icon below each post) or hit me up on Twitter.

As always, thanks for reading!

Link Roundup: Social Sound

Making the rounds this week was this aricle on why we need “an Instragram for sound,” which reminded me of this article by Robin James on why we probably won’t get one. And then there was this article about why sound doesn’t go viral in the first place.

I have some thoughts on all this which I haven’t fully put together yet, but by way of personal experience I will say that I used Audioboo for about a week before I abandoned it…

ACLS Public Fellowship

I’m happy to finally announce that I’ve been named a 2014 ACLS Public Fellow. For the next two years, I’ll be working with To the Best of Our Knowledge, an arts and humanities radio show produced by Wisconsin Public Radio and distributed nationally by PRI. If you’re a reader of this blog and haven’t heard the show—or haven’t checked it on out in a while—please do. (You can grab the podcasts in iTunes here.) Each hour-long show explores a theme through in-depth interviews as well as some shorter segments.

Over the last year or so, the producers of the program have been “rethinking the show from top to bottom”, and I’m excited to jump in and be a part of that process in my role as digital producer. I’ll be mostly working on online and other non-broadcast projects to start, so keep your eyes on this space and the TTBOOK website for more details as they unfold. I officially start in September.

As excited as I am for this new opportunity, I’m equally sad to be leaving Penn State and the IAH, which has been an incredibly supportive home for the last year. This will always be the place that gave me my first job, and I’ll forever be grateful to Michael Bérubé and Hester Blum and all of the great people I’ve met here in State College.

Still: On Wisconsin!

Herbert in the Archives

It’s Matthew Herbert (of _One Pig_ fame) messing with the British Library’s sound archives. The idea of getting a DJ/producer and giving them free reign in an audio archive will never get old with me, but this one is especially great.

See also: DJ Spooky’s _Sound Unbound_