Simon Willison’s Weblog

Subscribe

Items in 2011

Filters: Year: 2011 × Sorted by date


Are there any wikis that allow the use of JavaScript on wiki pages?

Such a wiki would be grossly insecure. That said, take a look at TiddlyWiki—it’s implemented entirely in client-side JavaScript and allows plugins to be implemented by pasting JavaScript in to a textarea.

[... 53 words]

Why does Facebook chat use subdomains so aggressively?

Probably because it involves long-running connections. Browsers have a limit on the number of connections you can have open to the same domain at the same time (I think it’s 8 in most browsers these days). If Facebook chat opened a connection to www.facebook.com and you opened up 8 Facebook windows you would no longer be able to navigate to any more Facebook pages, since all 8 connections would be taken up by the long lived chat connections. By connecting to a different subdomain for each connection this problem can be avoided.

[... 107 words]

How are real time web applications achievable with PHP?

You don’t need to build your comet server using the same technology as the rest of your site.

[... 181 words]

What are the reasons that make jQuery more popular than MooTools?

MooTools is the only major JavaScript library that still thinks extending the prototype of built-in JavaScript objects is a good idea.

[... 44 words]

What are the best free resources to begin learning UX design?

We’re collecting videos and slides from conference sessions covering user experience on Lanyrd—here’s 10 videos and 14 slide decks:

[... 42 words]

What makes mobile application backends different from Webapp backends?

Nothing at all.

[... 18 words]

What are some good social media events that will take place in 2011 in Middle East and North Africa region?

User StartupDigestME on Lanyrd follows entrepreneurship events in the region which may also cover social media topics: http://lanyrd.com/people/startup...

[... 45 words]

When was the 2011 Blog World Expo?

The dates haven’t been announced yet—they’ll be on http://www.blogworldexpo.com/ when they are, and there’s a mailing list you can sign up for.

[... 84 words]

What do people think of Tim Ferriss?

I didn’t make it to the end of the 4-Hour Work Week because I was uncomfortable with the morality of it (the Tae Kwon Do stuff, for example). If everyone behaved like that, society wouldn’t function.

[... 75 words]

What are the dates of MacWorld in January 2011?

http://www.macworldexpo.com/ says Jan 26th-29th 2011.

[... 21 words]

What are the best blogs about NoSQL?

myNoSQL is excellent: http://nosql.mypopescu.com/

[... 18 words]

Why isn’t the schema and data migration tool South included in Django by default?

Because shipping things as part of Django means they can’t have separate releases, which means you only get a new released version every 6-12 months. South is improving far faster than that.

[... 113 words]

What are the JSON security concerns in web development?

Be very careful when implementing JSON-P for authenticated actions—evil third party sites could assemble URLs to your user’s private data and steal it. This attack has worked against Gmail in the past.

[... 203 words]

What are the pros and cons of switching from MySQL to one of the NoSQL databases?

Pro: If your own benchmarks tell you you need to switch to a specific NoSQL solution, you’ll know exactly what the pro is.

[... 227 words]

What are the best things to do, see, or eat in Marrakech?

Stay in a Riad. We stayed in Riad Laârouss and absolutely loved it—the best place we stayed in Morocco or Egypt (and we were travelling in North Africa for three months). Peaceful, friendly and with a plunge pool for cooling off. http://www.booking.com/hotel/ma/...

[... 143 words]

The excess capacity story is a myth. It was never a matter of selling excess capacity, actually within 2 months after launch AWS would have already burned through the excess Amazon.com capacity.  Amazon Web Services was always considered a business by itself, with the expectation that it could even grow as big as the Amazon.com retail operation.

Werner Vogels # 5th January 2011, 3:13 pm

How can I determine which web server a particular website is using (Apache, IIS, Nginx, etc)?

If you’re on Linux or OS X, use curl with the -I option (to make a HEAD request and see the HTTP headers):

[... 63 words]

How do you find out about events in Birmingham, UK?

We have a page of events in Birmingham on Lanryd: http://lanyrd.com/places/birming...

[... 54 words]

Could browsers be made to scroll down (e.g. by 67%) if you add #67% to a URL?

I’d say no.

[... 89 words]

What are the strangest and weirdest conferences/expos in the world?

I was amazed to find out that “Galileo Was Wrong: The Church Was Right”, the “First Annual Catholic Conference on Geocentrism” was NOT a joke conference. http://lanyrd.com/2010/galileo/

[... 77 words]

Are there any summer conferences in the Bay Area for web development (or any other technology/Internet related topics)?

Have a browse through the list here: http://lanyrd.com/places/califor...—or filter by web development only: http://lanyrd.com/topics/web-dev...

[... 131 words]

How can you provide wireless internet at a tech conference without being overloaded?

PyCon has a very solid track record with WiFi, and they have detailed write-ups describing their setup for every conference since 2007: http://www.tummy.com/Community/A...

[... 43 words]