News for hackers. Stuff that matters.
Re:Script type="text/python" by alexdong on Monday July 19, 2010 @11:43PM (#1531079)
Silverlight is a concern but this does point to an interesting future. Image the main browser engines can expose c-binding of the equivalent javascript method/objects. Then we can have something very interesting like:

  <script type="text/python" src="http://www.feedparser.org/feedparser.py/>
  <script type="text/python">
  for item in feedparser('http://techcrunch.com/rss.xml):
     doc['feed'].append("<a href=\"%s\">%s</a>" % (item.link, item.title))
  </script>
Re:Script type="text/python" by sesqu on Tuesday July 20, 2010 @03:27AM (#1531420)
I can see the whitespace actually being a problem here, since most tools assume they can rearrange it willy-nilly, and since indentation in html is generally speaking akin to washing your hands after you use the bathroom: a lot of people don't do it.