Simon Willison’s Weblog

Subscribe

Entries

Filters: Sorted by date

What are the ways to create custom jQuery effects?

You don’t need any extra tools or code, you just need to master jQuery’s built-in .animate() API: http://api.jquery.com/animate/

[... 34 words]

Is it better to do Python development on an SSD, or on a mechanical disk?

SSDs are faster than regular drives for every application—Python is no different. That said, unless the Python code you are developing does a huge amount of disk IO you probably won’t notice the difference.

[... 57 words]

How do startups verify the real names of their users?

The short answer is they don’t: they expect people to obey the policy, then block accounts that are clearly in violation.

[... 134 words]

What are some things I can do if I’m lying awake and unable to sleep for an hour?

Listen to a podcast. If you’re lying at rest in bed you’ll still get at least some of the benefits of sleeping, and you might find that listening to the podcast helps take your mind off things and sends you to sleep.

[... 66 words]

Is there a way to find out what apps are used by a specific django-based website?

Not really. You might be able to figure out some of them by looking out for common patterns of URLs and form field names, but a lot of reusable django apps don’t really expose much of a signature.

[... 60 words]

Why does Wolfram|Alpha present all search results as pictures rather than text?

Wolfram Alpha is essentially a web interface to Mathematica (plus a huge corpus of structured data). Mathematica has been around for decades, and has an extremely sophisticated visualisation engine (try typing “sin(x)/cos(x)” in to Wolfram Alpha and see what happens). It’s also very good at rendering mathematical formulae that would be very hard to represent in plain HTML (without using MathML, which isn’t supported by IE).

[... 137 words]

What is a good video series on learning Python?

It probably won’t teach you the basics, but we’ve collected 190 videos from conference talks about Python here: http://lanyrd.com/topics/python/...

[... 35 words]

What are the coolest benefits/perks offered by startups?

I heard that Songkick give all of their employees a monthly gig budget to encourage them to go to live music (since that’s what the site is all about), which I think is a neat and appropriate perk.

[... 52 words]

Is Portland, OR a good location for a major content strategy conference?

I can’t comment on the relevance to Content Strategy, but having been to both OSCON and DjangoCon in Portland a few times I think it’s an absolutely superb city for hosting a conference.

[... 192 words]

What are people’s top cloud business apps for 2014?

The combination of GitHub and Campfire has been working extremely well for us.

[... 28 words]

Does one still need to learn C/C++ if one just wants to build web applications?

No—you don’t need any knowledge of C or C++ to get started building web apps—I know plenty of extremely smart and talented web developers who have never written a line of production C in their while careers.

[... 122 words]

Twitter API: What is the best data storage mechanism and client library for analysing tweets using Python?

It depends on how much data you intend to collect, and how you intend to then share that data.

[... 182 words]

How much ram do you need for 100M hits per day?

That entirely depends on what you are running your site on. If it’s static HTML pages, nginx will work fine on hardly any RAM at all (though you would probably be better off serving the entire site out of S3 and not using a VPS at all).

[... 99 words]

What are you some good blogs, videos, papers, etc. on scaling Django?

We’re building up a pretty sizable collection of video (and slides) from talks about Django on http://lanyrd.com/—including plenty that talk about scaling issues. Try this: http://lanyrd.com/search/?q=djan...—we have 16 videos and 16 slide decks from talks at events all over the world.

[... 102 words]

What are the cheapest hotels in Granada, Spain?

When we were travelling around Spain in 2010 we found http://www.booking.com/ reliably gave us the best prices on hotels—hostelbookers.com and hostelworld.com were both good for hostels

[... 45 words]

What’s the difference between a software engineer, developer and programmer?

Absolutely nothing. Job title differences like those only really matter when working for a large organisation that sets compensation based on title—in which case you want to figure out which title gets you the best deal at that particular company.

[... 58 words]

What Social Media, marketing events or conferences are taking place between December 24 and December 31 in New York City?

The #140conf holiday party is on the 27th of December and is likely to attract a bunch of social media / marketing / entrepreneur types: http://www.meetup.com/140conf/ev...

[... 53 words]

Are there any Meta APIs?

Embed.ly is a good example of this kind of API—it gives you one endpoint which wraps oembed APIs on dozens of other services (plus a bunch of custom scraping code). We use it as part of our video/slide embedding feature on http://lanyrd.com/

What are the best practices in Node.js to communicate with an existing Java backend?

Node speaks HTTP extremely well, and using HTTP means you can do things like put an HTTP load balancer or cache (such as varnish) between Node and your Java application server at a later date.

[... 55 words]

What specific skills are most important in a front-end web developer and in a back-end web developer?

Understanding of web app security. If they don’t know what XSS, CSRF and clickjacking are I’d be worried.

[... 41 words]

What are good 2012 Technology Conferences in US for Programmers?

It would help if you were more specific about the kind of programmer you are—there’s a big difference between C++ game developer conferences, Ruby on Rails events, Agile methodology conventions etc. Each developer ecosystem has its own flagship events (for Microsoft developers it’s the BUILD conference, which hasn’t been announced for 2012 yet—for iPhone/Mac developers it’s Apple’s WWDC, Oracle have Oracle OpenWorld, the Rails community has RailsConf, for Django people it’s DjangoCon US and EU, etc).

[... 200 words]

What is a single page application and is this the technology I should use for developing  my web application?

Single page applications are applications which are heavily dependent on JavaScript, with just one web page that you visit which then loads all other content using JavaScript. Prominent examples include Gmail and the new twitter.com

[... 360 words]

Can someone improve their knowledge of programming in Ruby or PHP by using a framework like Rails or Zend, or does the framework just do a lot of the work for you without giving you an opportunity to learn from it?

Read the source, luke.

[... 82 words]

What is the typical time overhead in using an open source package vs. an equivalent commercial package?

It totally depends on the software in question. If you are moving to popular, well maintained open source packages (things like nginx, solr, MySQL) you can often expect a large improvement in developer productivity due to the increased amount of tutorials, forums, mailing lists, irc channels and stackoverflow/quora posts you’ll have access to.

[... 76 words]

How do events get listed on Lanyrd?

We’re not automated—all of our events are added by our community. If we’re not listing your event yet, you can sign in with twitter and add it yourself (try http://lanyrd.com/conferences/add )

[... 47 words]

Does Quora use node.js?

Quora use their own event-based Python web framework which they’ve talked about quite a bit, called LiveNode. I believe it’s based on Tornado, the open source Python evented framework/appserver that was open sourced by Facebook after they acquired FriendFeed.

[... 49 words]

What’s the best way to keep a list of online users in a web application?

It depends on your definition of “online”—for this answer, let’s count anyone who has visited a page within the last 5 minutes.

[... 192 words]

Are there any large tech conferences/events in Australia?

Web Directions South is a big Australian web event—you’ve just missed it though, it was a couple of weeks ago: http://south11.webdirections.org/ ( http://lanyrd.com/2011/web-direc... on Lanyrd). It’s along the lines you describe, although tends to be more developer-focused than business-focused.

[... 83 words]

Why can’t we sell tickets for Get Together, our debut conference in London this year?

I just tried finding your event using both Google and Twitter’s search and I couldn’t find any information an it. I suggest setting up a Twitter account for the event and trying to increase your Google visibility a bit.

[... 179 words]

What are some good ways to search for an event?

Our site, http://lanyrd.com/ aims to solve this problem. We have over 13,000 conferences and other professional events listed (including seminars, meetups etc)—you can search them, but you can also sign in using your Twitter account to see which events your contacts are speaking at or attending.

[... 83 words]