Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simonw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2734 ms
·
15931.
▲
by
simonw
19y ago
Seconded - really excellent podcast, also a great way of catching up on what's happened in the past week.
15932.
▲
by
simonw
19y ago
Extension-less URLs are great, but I'm not a fan of content negotiation. I like to be able to copy and paste a URL to someone and know that they are going to retrieve the same piece of content as I did. I don't like language negotiation for
15933.
▲
by
simonw
19y ago
My least favourite phrase in the English language has to be "they must have too much time on their hands" in response to something creative but niche (re-creating Star Wars in animated ASCII art, for example). My usual response these days i
15934.
▲
by
simonw
19y ago
This isn't new - it's probably Wikipedia's best kept secret though. It first got saved to del.icio.us in November 2006: http://del.icio.us/url/08d335d4c1d2f491cc70e1bf61e5d880
15935.
▲
by
simonw
19y ago
jQuery. I don't need classes and inheritance (I use closures for pretty much everything you would use a class for, and on the occasions that I do need either classes or inheritance it really isn't that much trouble to roll them from scratch
15936.
▲
by
simonw
19y ago
OpenID is not a replacement for your users table. The first time someone logs in with an OpenID you haven't seen before, there's nothing to stop you from asking them for their e-mail address (you can even send them a challenge e-mail if you
15937.
▲
by
simonw
19y ago
I don't see your point. If I steal the password for your e-mail somehow, I can access your inbox (through webmail or POP or whatever) and then use "I forgot my password" on sites you use to steal your accounts there. If you use webmail and
15938.
▲
by
simonw
19y ago
Client-side encryption wouldn't protect you against that site turning evil and deciding to steal your passwords - they'd just have to change their code to decrypt your passwords and then post them back to the server.
15939.
▲
by
simonw
19y ago
Where do you live? I know plenty of places in the UK (especially London) that are hiring...
15940.
▲
by
simonw
19y ago
"Just because it's included doesn't mean you have to use it" sounds like a pretty good argument to me. The Python standard library has hundreds of modules that most people never touch, but no one complains that it's too heavyweight. Django
15941.
▲
by
simonw
19y ago
"Didn't seem very modular, you can only use the Django ORM and templating engine." Very common misunderstanding. You can use Django with SQLAlchemy (I have done in the past). You can use Django with Genshi, or Cheetah, or whatever template
15942.
▲
by
simonw
19y ago
Form tokens are more robust - some people strip referrers (sometimes even at the firewall level) to prevent information leakage from their corporate intranets.
15943.
▲
by
simonw
19y ago
Having links like /django/78/up/ is a CSRF attack just waiting to happen - you should turn them in to POST forms (preferably with some unobtrusive Ajax) and add a form key to prevent people from tricking other logged in users in to up-votin
15944.
▲
by
simonw
19y ago
OpenID support would be nice too ;)
15945.
▲
by
simonw
19y ago
Looks nice. Dumb feature request: how about custom subdomains? http://subject.linkherd.com/ suggests more of a standalone community than linkherd.com/subject . I've used wildcard DNS for this kind of thing in the past (e.g. simon.idproxy.
15946.
▲
by
simonw
19y ago
I've implemented it, and I use it on a handful of sites that support it (various blogs, Highrise, BlinkSale).
15947.
▲
by
simonw
19y ago
I disagree: just like Ajax, Comet is a very necessary buzzword. The technology behind Comet existed for years before the term "Comet" was coined, but very few developers were aware of it because there wasn't a good term for it. The same is
15948.
▲
by
simonw
19y ago
I wrote more about this here: http://simonwillison.net/2007/Dec/5/comet/
15949.
▲
by
simonw
19y ago
The JavaScript you described exists - it's called dojox.comet, and it looks like this: dojox.cometd.init(' http://example.com/cometd' ); dojox.cometd.subscribe('/channel', callback); That's basically what you described, but with the additio
15950.
▲
by
simonw
19y ago
Read Cal Henderson's book "Building Scalable Web Sites".
15951.
▲
by
simonw
19y ago
For me it's all down to philosophy. Prototype adds a bunch of global variables and extends loads of built-in ojbects. That's fine, unless you ever want to include code that has a different idea about how any of those extensionss should work
15952.
▲
by
simonw
19y ago
My impression was that they moved to asp.net when they were having scaling problems and Microsoft promised them free consulting to solve those problems... provided they switched to .NET.
15953.
▲
by
simonw
19y ago
Do what WordPress.com does - only show ads to people who come in from search engines AND don't have a "I've been to WordPress.com before" cookie. That way your regular users will never see an ad, but the people most likely to click on ads (