5,085 karma · joined March 11, 2009
a) Escape everything 100%.
b) Look for <a> tags, grab their href attribute, escape it, and insert them as <a href='$1'>$2</a>.
c) Do the same for <b>, <p>, etc.
How would that be vulnerable to XSS? A small whitelist of HTML would be replaced safely, and any script tags and so on would be escaped and displayed as is.
Because of this, many blogs have links to their RSS/Atom feed with a fat "Subscribe" logo -- on Chrome, when you click that, you get a massive page of unparsed XML.
Whether a given grandma knows what RSS is or not is beside the point, it's lame of Google not to follow a defacto standard that many sites rely upon when there is no technical reason not to.
It seems weird the Chrome works so hard to integrate PDF / Flash / etc. so the users don't have to think about it and really push the envelope with their browser... yet they refuse to even honor RSS.
> I think there are economies of scale that will fail to materialize for a company targeting to move 20,000 of its sedans annually in a couple of years. Drivers who may be drawn to the novelty may begin to fret over service and parts.
That is a neat opinion, but it would be more interesting to explain in detail why he believes this. Is there any evidence that this is not possible or is it just a gut feeling without any due diligence? Basically, I think Toyota's massive investment in TSLA carries a little more weight than this article and I'd like to see some actual research before "throwing it away".
Posterous heavily promotes migrating your blog from other services.
In the spirit of the recent "raw unsolicited advice" to Posterous trend, here are my thoughts: I was impressed when you guys responded saying you were going to add this feature soon. However, playing it down with car, phone, and operating system analogies feels sort of patronizing and makes me worry that you guys might not understand the full scope of the issue:
a) You will lose all of your page rank
b) Anyone who has linked to you (including yourself) will have a broken link
Sure, for some number of users this doesn't matter. For the people who care about it, it is, by definition, very important. What's the point of trying to play down their concern?
>Many philanthropists have funded research into diseases they themselves have been diagnosed with. But Brin is likely the first who, based on a genetic test, began funding scientific research in the hope of escaping a disease in the first place.
One thing I forgot to mention in the post is that there is apparently an OnLive API that some games are using that replaces the cursor in the game with a local cursor. Not all games can use it (for example, World of Goo's cursor is blocked by walls and such which is critical to gameplay), but Unreal Tournament, and OnLive itself, use it in the UI.
Edit: of course this wouldn't solve the case where you are actually doing something in Photoshop that might require real-time feedback like the airbrush tool!
http://code.google.com/apis/feed/push/
and a native App Engine solution called the Channel API: http://code.google.com/events/io/2010/sessions/building-real...
"Read in bed until I feel sleep coming on"
I have been doing this since I can remember and it works great for me too, but I have heard one theory that it is not optimal since you may start to associate bed with reading instead of sleeping. Theoretically you should read in a chair or something and then move to your bed when you are getting drowsy.Not sure if there is any merit to that, but it may help.
Error
Request-URI Too Large
The requested URL /... is too large to process.