- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Maybe it's just because I've not seen the way ASP.Net is coded, but I don't get why you'd ever need that - surely, when a form is posted, only one event needs to fire: the form submission, with the current state of all form controls.
The fact that a drop-down has changed is irrelevant - the time to react to that is when the user makes the change, i.e. with a JavaScript onchange event. By the time the form is submitted, that event is in the past, so what's the point?
Admin
Admin
For example, if you have a paged datagrid on your webpage, it will keep the parametrization of the grid (sorting, filtering, selected page etc...). You don't have to bother with it, the datagrid options will be automatically repopulated.
It's useful when used wisely... But Microsoft used it intensively in their webcontrols. I mean, paging or ordering is ok. But really, should they add texts and styles to the viewstate? It was (I think) a good idea. Now it's just awful.
Admin
I always have like this one better:
28 2E 29 20 28 2E 29 20 29 20 2E 20 28 20 28 20 20 59 20 20 29
Admin
LOL! You just made my day!
Admin
... and it's one of the worst ideas ever if you want anyone to be able to navigate through your form using keyboard controls.
Finding your country in a select box of 200 countries is hard enough, now suppose that the page reloads each time you try to scroll through the options.
Admin
Alternatively, you're actually writing valid (and compliant) XHTML1.0 Strict but just telling the validator you're writing XHTML1.1.
Admin
Hi, there are indeed some angle brackets in the article text that were meant to appear as entities.
Starting from "Hence, < is sometimes escaped as < to create" - the second angle bracket and most of the others in the following text should be entities. If you read it closely you can figure out which ones..
I'm flattered to see my submission on the Daily WTF, of course. Thanks, Alex :)
Hallvord R. M. Steen http://my.opera.com/hallvors/blog/
Admin
Admin
Yup, I adhere to standards as strictly as I can. However we don't live in a utopia yet and I can't afford not to serve pages to a large proportion of web users. I'm all for standards but good god, some people appear to have a chip on their shoulders the size of Gibraltar when you mention Microsoft. In the words of Denis Leary "Life sucks... wear a fucking helmet"
Admin
Shaved Pussy?
Admin
The array of legal URL chars is not that abnormal. The dev probably has experience writing lexers/parsers, where it's common to use an array of the first 128 ASCII characters to group characters into classes.
DNS, though, is supposed to accept Unicode characters now.
As far as XSLT, yeah... I've read many times that "XSLT is Turing-complete", but some people take that as a challenge. I don't think there are many XSLT debuggers out there, so I'm sorry for the next dev that has to maintain it.
Admin
Not to be facetious, but it's right-aligned because Hebrew reads from Right-To-Left. It's as idiotic as any RTL native complaining that OMFG English speakers are left-aligning everything.
Way
No Way.
Way.
Admin
Not on the homepage link that NightDweller linked...
Admin
That is not always the intent. The site has Hebrew, Arabic, Russian and English. The Hebrew and Arabic should be roughly equivalent, as they are aimed at long-time Israelis. Russian is aimed at recent immigrants. English is aimed at tourists.
It's possible that there are intentional differences.
Admin
generally, Israel railways are consistently known for hiring based on whether you have some relative working for them rather than how skilled you are.
Admin
Are you sure about that? My understanding was that it was up to applications to encode hostnames as "punycode" (and add the magic string "xn--"), so that the encoded version of the hostname still contains only those characters guaranteed to be safe on legacy infrastructure.
Admin
True...I actually linked to the page that appears if you click on "עברית" (Hebrew) on their English page. In my defense, it does say "...Homepage.aspx" in the url to the Hebrew page...and also that apparently the link to the "Hebrew" version of the homepage and the actual Hebrew homepage do not point to the same location. I guess no one in this website design company ever clicked the "עברית" link in their English homepage.
Admin
i don't know a thing about XSLT but isn't it acronym for Xml Stress Long Test ??
Admin
This is indeed the Boolean wall design pattern! :D
var LegalUrlChars=new Array ( false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, false, false, true, false, false, true,
true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, false, true, false, true, false, false, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, false, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false );
Admin
i dont know what this website is abouttt