nickfitz
@nickfitz
Best posts made by nickfitz
Latest posts made by nickfitz
-
RE: Self-Destructing Websites
@Daniel15 said:
@tchize said:
However, for first page, it's carzy they use such an mermory consuming thing that java applets are just to.... :hover a button :s
Blame Microsoft FrontPage for that. fphover.class is a FrontPage thing that was used for hover buttons in older FrontPage versions.Even worse, the only reason they included fphover in FrontPage (and made it the default way of implementing rollovers) was that Internet Explorer 3 couldn't do image rollovers with JavaScript the way Netscape Navigator 3 could. Ten years down the line, we're still suffering from the effects of Microsoft's clueless solution to something that, frankly, wasn't much of a problem in the first place :-( -
RE: Hello Adobes /etc/passwd
@PSWorx said:
Unrelated, I find it amusing that half of the discussion seems to revolve around the correct spelling of "Touché". True Internet style.Recently on a forum I occasionally visit some guy was asking for advice about leaving his wife and declaring his love for another woman. Within twenty or so responses the whole thing had degenerated into a flame war about the respective merits of Oracle and SQL Server :-D -
RE: Colorado DMV wtf's in the news
@aquanight said:
The Real WTF is this isn't on the front page.
The real WTF will become apparent when the Rocky Mountain News issues a takedown notice under the DMCA.WTF does the poster think hyperlinks are for? Decoration? -
RE: XML programming
@dmitriy said:
The approach presented (as far as I understand) is to have a browser's stylesheet processor perform calculations in addition to rendering data. This may be an ingenious use of XML, but I think they're going too far.
Not trying to be snarky, but I don't think you do understand. XSLT isn't anything to do with stylesheets and browser rendering in the CSS sense; it is a Turing-complete declarative programming language, and there is no reason not to use it to write an interpreter for an imperative language.
The real WTF is that they expect it to execute on the client; they would be better off using one of the many server-side frameworks for XSLT . Firefox in particular has very poor support for XSLT, due to its use of an XSLT engine that doesn't even fully implement the XSLT 1.0 spec (dating back to 1999). Internet Explorer has had excellent support for XSLT 1.0 since , IIRC, version 5.5.
-
RE: The world's local bank
@MrBester said:
Perhaps "the world's local bank" whose acronym expands to "The Hong Kong and Shanghai Banking Corporation" could explain why they don't have a branch in Hong Kong or Shanghai?
-
RE: Wooden table PowerPoint! And stickies!
Brillant!
FWIW, I've seen Leisa Reichelt (whose presentation this is) speak at BarCampLondon 1 & 2, and she's a great presenter, in part because she comes up with quirky stuff like this to grab the audience's interest. (The other part is that she really knows her stuff.) -
RE: Still worried about y2k 7 years later.
@HeroreV said:
@mattwho said:
Of course this was fixed with
ECMA-262 specifies thattheYear = today.getYear();
getYear()
should return the number of years since 1900. Although Internet Explorer doesn't comply, Opera and Firefox do, so the code is still broken. The code aquanight posted works around this problem.The code aquanight posted solves the wrong problem. The real WTF is that getYear() is deprecated (and has been since about 1997), and getFullYear() should be used instead. -
RE: Sometimes overanalysis hurts...
Whenever somebody says "the form will only ever submit [some value]" I just type something like this in the location bar:
javascript void(document.theForm.multirec.value = "Oh really? No sir, O'Reilly!");and hit submit. Usual results include database errors caused by the apostrophe and string length.This also gets around any "maxlength" attribute specified in the HTML for an input of type "text", which is another thing many foolish develpers rely on - the browser doesn't allow you to type in a string longer than maxlength, but if you put it in there with JavaScript, it will send the whole thing, not a truncated version. About ten years ago I brought down a live ecommerce server that way - I thought I was on the development server, honestly :-)UPDATE: the forum software doesn't like my example; there should be a colon (":") between "javascript" and "void".