The T-Files


Sun, 07 Sep 2003

Inter .NET

The following piece of code prevents my wife from using my iBook for shopping online at DongDong.com:

<html>
<body>
<form action="/customer/query.asp" method=post name=form1 id=form1>
</form>
</body>
</htmL>
<script language=vbs>
	window.form1.submit()
</script>

Why do people do that? Using VBScript will make a website unusable in almost all web browsers (except for the one with the 95% market share). I can understand resorting to VBScript to do some fancy stuff that cannot be done otherwise, but just to redirect to some other page after making login cookies? This can be easily achieved otherwise, especially in this case, where there are not even any parameters to be passed around, completely removing the need for a form at all. If they cannot redirect internally, what is wrong with sending HTTP redirect headers, or at the most an empty page with meta-refresh? Finally, although any kind of script is unwarranted here, they could use JavaScript without even changing the syntax. I am really hoping the recent Chinese/Korean/Japanese push for non-Microsoft software will put an end to this nonsense.

Anthony Bourdain: Kitchen Confidential

Cooks and Crooks. Anthony Bourdain is the executive chef of a New York restaurant and Kitchen Confidential is his autobiography. Apparently, the world of professional cooking is a harsh realm: He makes his career sound like that of a pirate, far removed in morale and manners from the guests and the restaurant owners (unless those are mob members, which is not that unlikely, either). I am not much of a gourmet and restaurant-goer, have never heard of most of the dishes mentioned and cannot draw from his cooking tips, but if you share the author's love for food, you will enjoy this book (or maybe stop eating out altogether).