Simon Willison’s Weblog

Subscribe

Items in 2010

Filters: Year: 2010 × Sorted by date


What are your best backpacking (world travel) tips?

If you take an iPhone, Dropbox + Instapaper are an amazing combination. Every time I book a hotel I drop the confirmation in to Dropbox (using “Print -> Save as PDF”), then sync it on to my iPhone. I’ve recently taken to grabbing screenshots of Google Maps and putting those in to Dropbox as well. I use Instapaper to grab offline copies of Wikipedia and WikiTravel pages about the places we are going to.

[... 88 words]

What startups host 100% of their private code on GitHub?

http://lanyrd.com/ does.

[... 19 words]

How do sites prevent vanity URLs from colliding with future features ?

For wildlifenearyou.com and djangopeople.net I used the same trick as described by others in this list—an enormous blacklist of everything I could possibly want to use for a future feature.

[... 157 words]

How much does it cost to develop a website like Yelp or Groupon?

You’re probably asking the wrong question. The initial build phase of a site like Yelp (the bit before launch) is just the start of the process—once the site has launched, it will certainly need to evolve based on how the site’s users are using it. You can’t just pay a bunch of developers to build it and then launch it without expecting to keep working on it.

[... 136 words]

Tuning Canabalt. Fascinating insight in to the game parameter tuning needed to make a game feel just right. # 13th October 2010, 8:32 am

Why don’t more people use Google Web Toolkit for web development as opposed to scripting alternatives like JavaScript?

I’m morally opposed to GWT, because I don’t believe in building sites or applications that are entirely dependent on JavaScript to function. As someone who took the time to learn JavaScript, I’m also not at all convinced that Java is a more productive language.

[... 68 words]

When should one switch from MySQL to Oracle or PostgreSQL?

When your own benchmarks prove that your application’s particular load characteristics will perform better on another database—and the difference is large enough that it’s worth the cost involved in retargeting your code. If that cost is high (and it probably will be) it may be worth paying for some expert consultants to ensure that your implementations against the different databases are properly optimised.

[... 102 words]

Is the .ly domain unsafe? Why?

It’s always been unsafe in my opinion. Why build your company around a domain name that’s controlled by the Libyan government?

[... 33 words]

Where can I find a database of the cities in the United States, their populations, and square miles?

On Freebase: http://www.freebase.com/view/use...—if you sign up for a Freebase account you can further filter this report to include areas.

[... 46 words]

What are the advantages of running Apache behind nginx as opposed to just Apache by itself?

I do this for all of my Django stuff—I have Django running on modwsgi on a stripped down Apache (almost no configuration except for the modwsgi stuff), then I put an nginx on port 80 which serves the static files directly and proxies dynamic requests back to Apache.

[... 244 words]

Is it not time for Google to redesign its search page by removing the “search” & “I’m Feeling Lucky” buttons since the buttons are now useless with the new “Instant” structure?

I don’t think so. The “Search” button defines their entire purpose. The “I’m Feeling Lucky” button is an important part of their brand.

[... 60 words]

Dark Patterns: Forced Continuity example, Audible.com. Dark Patterns are user interfaces that are designed to trick people. I just submitted Audible.com for their habit of signing up users for a $7.49 “gold membership” without making it clear on the checkout screens that this is a recurring monthly charge, not a one-off payment. # 12th October 2010, 10:55 am

What are some peculiarities of American culture which are not easily understood by foreigners?

US flags on /everything/ (the biggest ones seem reserved for used car sales lots though). In the UK it’s actually pretty rare to see a UK flag on anything—they come out for big international sporting events, but other than that they are usually ever only seen on government buildings.

[... 71 words]

Why, for a decade of experience, can we not seem to see the IE 8 zombie coming? It’s not like it’s going to be some big surprise that unless we do something different, we’ll still be supporting it in 2015. That’s right: in 2015, you’ll still be thinking about a browser that doesn’t support canvas or video and doesn’t even have a JITing JS engine.

Alex Russell # 11th October 2010, 11:01 pm

Why do so few companies use the Dojo Toolkit?

Dojo is fantastic software, but it does a lot more than the other libraries and consequently has a much higher learning curve. It’s advanced features may serve as something of a disadvantage for achieving more widespread adoption—most developers don’t need the more advanced abstractions provided by Dojo when they start their projects, and by the time they DO need that stuff they’ve already written a ton of code using another library!

[... 88 words]

What does the key word “yield” in Python do?

The best documentation I’ve seen on generators is this: http://www.dabeaz.com/generators/

[... 26 words]

Is the 90-9-1 rule of user participation a myth?

Anecdotal evidence from crowdsourcing style projects I’ve worked on tend to support the basic principle (if not the exact ratios). The vast majority of the work on projects I have been involved with ends up being performed by a tiny subset of highly active users.

[... 60 words]

What company had the first API?

They weren’t the first to have an API, but Flickr were the first consumer web site that really pushed the concept in my opinion. They originally promoted it as “you can always get your data back if you want to”, but they then greatly benefited from the ecosystem that grew up around it.

[... 65 words]

Why is it hard to see who the poster of a question is on Quora?

This is probably my favourite thing about Quora, and one of the reasons I think it’s so much more interesting than other Q&A sites.

[... 104 words]

What is the best way to list every key stored in memcached?

Redis might be a better bet for this—it has a “KEYS *” command which can return every key in the dataset, and its GET and SET performance are comparable to memcached.

[... 113 words]

JSON sucks. [...] Every time I need to (correctly) represent a large integer such as 4611686018427387900, I’m forced to do so in a string. It causes me to throw up in mouth a little.

Theo Schlossnagle # 11th October 2010, 11:06 am

Does Quora have the same problem as Stack Overflow?

Quora isn’t one community, it’s thousands of separate communities—a community for each tag, and then a community for each user comprising their followers. As such, I think it will scale much better than the Stack Overflow community did, without needing to split out in to separate verticals.

[... 64 words]

What are the best places to visit in Morocco?

We just spent six weeks travelling around Morocco. Our favourite town was Chefchaouen, up in the mountains—it has an incredible medina (walled city center) painted in different shades of blue. It’s a lot more relaxed than other parts of Morocco, though if you got there first (as we did) you may not appreciate it as much. It’s a three hour bus journey from Fez, so I’d suggest visiting Fez first.

[... 134 words]

Are there any web design conferences in Southeast Asia?

Our site, Lanyrd, lists a few:

[... 39 words]

Who are the best Python developers in Los Angeles?

Mahalo is based in Santa Monica, and they have a very talented team of Python/Django people. They also host a regular Django meetup: http://www.meetup.com/ladjango/

[... 40 words]

PaintbrushJS. Impressive open source JavaScript library from Dave Shea for applying image filters (sharpen, blur, emboss, greyscale etc) to the canvas element. # 9th October 2010, 11:53 am

What is a Polyfill? Useful new term: a Polyfill is “a shim that mimics a future API providing fallback functionality to older browsers”. # 9th October 2010, 11:48 am

Schneier on Stuxnet. Stuxnet now rivals Wikileaks as the real life plot most likely to have leaked from science fiction. # 9th October 2010, 10:57 am

What is the Open Web? Tantek Çelik describes the three pillars of the open web: open publishing of content, freedom to code and implement the standards needed to access that content and open access to that content over an unfiltered internet. # 9th October 2010, 10:47 am

Types

Years

Months

Tags