Simon Willison’s Weblog

Entries tagged webapps in Nov

Filters: Type: entry × Month: Nov × webapps ×


What would be a good web application framework to use for running a small online retail business?

I’d look at hosted SaaS solutions rather than running your own. I haven’t tried it myself but I’ve heard excellent things about www.shopify.com

[... 47 words]

PostgreSQL: How can I store images in a database? What existing products makes it easy for a user to upload photos into a general database?

As a general rule, it’s a bad idea to store images in a database. This is due to the large amount of space they take up, which can affect database read performance and will greatly increases the size of your backups, making them both take longer and cost more to store.

[... 187 words]

Is there any way to generate thumbnails of web links like Facebook generates when we paste a link in status or comment?

There are a bunch of services that can do this. I’ve successfully used http://url2png.com/ for this in the past.

[... 48 words]

Is there a website or app that helps you track what you have completed each day?

I’ve tried a few solutions for this. Surprisingly the one that has stuck for me is Evernote—I keep a different document for each week (I tried a document per day but that was annoying to update, and meant I didn’t look at my older notes as often) and each day I add a new header at the top of the document for that day. Being able to link through to other notes from my day summaries is useful too.

[... 103 words]

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]