Simon Willison’s Weblog

Subscribe

Entries

Filters: Sorted by date

Web app: what programming knowledge do I need to create a goings on app?

For this kind of application a much more important question than "how can I build it? is "where will I get the data from?"—If you don’t have a good answer for that building the app is a waste of your time. The world is littered with local events listings apps that no one uses because they don’t have good data.

[... 82 words]

What are the different ways in which web sites can be developed?

There are a few languages that provide an alternative syntax that compiles to HTML (Haml is quite a popular one) but generally you need to have a very good understanding of HTML in order to do any web development at all, no matter what server-side technology you use. Likewise for CSS—Sass and LESS provide alternative syntax that compiles to CSS, but they are no replacement for understanding how CSS actually works.

[... 94 words]

What steps can I take to protect my data in case my laptop gets stolen?

Set up full drive encryption—that way if someone steals your laptop they won’t be able to access your data without a password.

[... 95 words]

Beginner JavaScript: more code or quality code?

Write more code. The more code you have written, the better you’ll be able to understand why certain techniques for creating higher quality code are worthwhile later on.

[... 70 words]

How should I evaluate a potential technical co-founder? What qualities matter most to the business, to investors, to future employees?

Build a small weekend project with them. If they can’t build and (more importantly) ship something simple in a couple of days, with you collaborating with them effectively on what it is, how it should work and so on, they aren’t a good fit.

[... 70 words]

What’s the best way to expand your professional network?

Speak at events, and talk to people afterwards.

[... 74 words]

What are the best use cases for Quip?

If you just want a word processor with good formatting options, Quip probably isn’t (yet) the right tool for you. Quip excels at collaborative document editing—if you need to write a blog post for your company’s blog with someone else, or put together a project plan, or collaborate on a report—all examples where effective collaboration on content is more important than formatting.

[... 80 words]

What are the cheapest ways for a single man to eat in London without cooking?

24 hour fried chicken joints are a relatively cheap source of calories if you want hot food and don’t want to cook.

[... 50 words]

Why aren’t there any popular web frameworks in C/C++ even though they are more performance intensive languages?

Because it’s very hard writing secure code in them due to the way they handle memory management, and web applications have an enormous number of potential paths for malicious input. It’s much easier to write secure web application code in a higher level language (which isn’t to say it’s easy at all even then).

[... 77 words]

Does Google Ventures invest in native iOS applications?

Easy way to find out: take a look at the list of companies they’ve already funded: Google Ventures—Companies

[... 48 words]

What is the difference between Windows and Linux for web hosting, in other words, what are the pros and cons of each, each’s limitations, performance development environment and deployment between Windows and Linux?

Any and every operation you perform on a Linux server can be trivially automated by copying the commands you ran in to a text file. I haven’t managed a Windows server in years and I hear PowerShell is pretty great these days but an OS based around a GUI is always going to be harder to automate than one based around a command line.

[... 156 words]

How can I become a world-class coder in under three years?

Write code. Lots of code. Code that does stuff.

[... 95 words]

What are the most exciting sporting events in the world?

That’s easy... The Mongolian Golden Eagle Hunting Festival, held every October.

[... 48 words]

Is it a good idea to wear your startup shirt in a tech conference?

If you are there to talk to people about your startup then sure, why not? Even better if your shirt says “ask me about X”—it’s cheesy but it works.

[... 51 words]

What are the best Craigslist advertisements of all time?

Hey Crackhead remains my all-time favourite craigslist posting. It’s too good to quote one extract—you just have to read the whole thing.

How can Quora be made 10x better? What features should they improve or introduce? What can Quorans contribute to improve Quora for all?

Stop hiding the content I provide behind a “log in to view this” wall. I no longer feel comfortable linking to my posts on Quora from elsewhere, which makes me strongly consider not writing things here any more.

[... 67 words]

What honorarium is befitting for a guest speaker apart from money?

Here are a few ways you can treat your speakers really well.

[... 107 words]

What is the biggest team to join Y Combinator?

Larger teams that apply for YC generally have to nominate 2-3 “founders”, mainly for logistical reasons: there simply isn’t enough room at the dinners for larger groups. The non-founders don’t get to go to all of the dinners, though they can come along to a few of them as guests of the founders.

[... 68 words]

Events (leisure): How do you organize a conferencce?

Read http://www.quirksmode.org/coh/—and good luck!

[... 21 words]

How do I choose between asynchronous web frameworks? My tech group is fairly language agnostic and we’re trying to standardize on some technologies.

Since they are all pretty close to each other and it sounds like your tech group’s skills would support any of them, I would suggest having your tram build a simple prototype in all three so you can compare them for your own particular team and situation.

[... 76 words]

Presentations, when’s the best time to give your personal background?

It’s rarely a good idea to include this—usually it adds nothing to the audience’s understanding of presentation, unless you are speaking on a topic that really needs that additional authority (security presentations sometimes benefit from this)—in which case keep it to a couple of sentences, don’t share your entire professional history.

[... 90 words]

Would you pay for a service that allowed you to shadow people in your profession of interest?

As a high school student I would not have paid for this. It’s a big gamble (what if I spend money only to find out that the career doesn’t interest me), it relies on me having a good idea about what I want to do first (which I didn’t), it’s something I can get for free elsewhere by taking to friends of family, and I didn’t have any money to spend anyway.

[... 95 words]

What has Google given out at I/O in the past years?

I/O 2013 was a Chromebook Pixel (with or without LTE) and 1 terabyte of Google Drive space for three years.

[... 37 words]

Is it difficult to make a dating site? My budget is small. Any suggestion?

Yes, it’s hard. Technologically, dating sites are not that complicated. The difficulty is keeping them populated enough that they remain useful for your users.

[... 159 words]

What Javascript tools are there for cleansing input?

Don’t cleanse. Escape instead.

[... 18 words]

What are some JavaScript concepts that took you the longest to understand?

Closures, prototype inheritance, and the “this” keyword.

[... 60 words]

What is the best way to notify participants of a planned meeting?

Google Calendar invites work really well—they’re sent via email and are reasonably usable even by people who don’t themselves use Google Calendar.

[... 42 words]

Do I need to change something on my LIVE website to do Remote usability testing? Am I needed to create a duplicate copy of my website?

You should be able to run a working copy (potentially with fake data or a subset of your production data) on your laptop, for development purposes. You can use the same setup for usability testing new features.

[... 96 words]

Does creating a zip file with php use more RAM then CPU? Or vise versa? Also, is it faster to use a system call, or the php zip library? Exec (zip filename.zip) vs. $zip =new ZipArchive().

You can find out the answer yourself using a very simple benchmark—just call time() before and after each option and loop them a few thousand times to calculate an average.

[... 74 words]

Which companies in London are using Python?

We use Python/Django for http://lanyrd.com/—we’re based in London.

[... 39 words]