Simon Willison’s Weblog

Items tagged webapps in Nov, 2012

Filters: Year: 2012 × Month: Nov × webapps ×

What are some apps, problems you would suggest to solve a new python developer?

The best way to learn python in my opinion is using the interactive prompt. Install ipython (a massive improvement on the standard python shell) and use it to interactively solve some simple tasks—things like downloading a CSV file from the web using the urllib library, parsing it with the csv module, then poking around in the data using python list comprehensions and saving some of the results out to a JSON file.

[... 95 words]

Is there a way to uniquely identify the device of the user that are connecting to a web app or a website?

If the device is a mobile phone running an app it’s very easy to create a permanent identifier for the application/device—it can be generated once the first time the user runs the app, stored locally and then passed to Facebook with every future request. Think of it like a browser cookie, but unlike browsers the app developer can ensure the cookie is never deleted once it has been created.

[... 99 words]