• Quite (unregistered)

    Sounds like the title of a Pretty Things track from their late 60's early 70's era.

  • bvs23bkv33 (unregistered)

    did anyone bother to look where is this place on what3words?

  • LCrawford (unregistered)

    Did Adam get his rebate?

  • my name is missing (unregistered)

    Princess Death Clowns would make an awesome band name, if people still made bands. The real question is, what is the purpose of switching these names?

  • Joe Torben (unregistered)

    Somewhat unusually, this was very easily googled and not changed at all. The princesses, clowns and DEBRA are all there. Rural king battery rebate dot com in case anyone is interested.

  • (nodebb)

    Sadly, it's not found on what3words.

    Happily, TIL about what3words, and what the three words are for my apartment and my desk at work.

  • Pedant number 6 (unregistered)

    Surely you mean "entrée"?

  • (nodebb)

    It always irks me to see a else-if chain written and indented this way, instead of each case on the same level...

  • Foo AKA Fooo (unregistered)

    Scissors cuts paper. Paper covers rock. Rock crushes lizard. Lizard poisons Spock. Spock smashes scissors. Scissors decapitates lizard. Lizard eats paper. Paper disproves Spock. Spock vaporizes rock. Rock crushes scissors. Death kills clowns. Clowns strangle Princess. Princess throws rock. Rock knocks out death. Death burns paper. Paper irritates clowns. Clowns annoy Spock. Spock overcomes death. Death takes princess. Princess kisses lizard. etc.

  • Somebody Somewhere (unregistered) in reply to Medinoc

    I know of at least one C pretty-print formatter that would inflict that sort of indentation on my code. My boss at my old job wanted everyone to format their code using that pretty-print tool on their code before checking it in, but happily showing her the output of a large if/else-if block convinced her that exceptions could be made to the rule.

  • Gfrddd (unregistered) in reply to Medinoc

    Could you paste example of what you have in mind? (indents in article seemed regular to me)

  • Zenith (unregistered) in reply to my name is missing

    If I had to guess, some control has three states. At least this is client side and not the typical retarded WebForm roundtrip-on-every-keypress-and-mouseclick pattern.

  • Duke of New York (unregistered)

    plot twist: the previous developer was a juggalo

  • Duke of New York (unregistered) in reply to Joe Torben

    It's really not such a bad site. The problems that it has are problems that can be readily fixed.

  • (nodebb)
    <quote> Adam used some google-fu and found an alternate site that allowed him to redeem his rebate. </quote>

    TRWTF is the lengths to which Adam went for a $10 rebate.

  • (nodebb)

    TRWTF is the lengths Adam went to for a $10 rebate.

  • Guest question (unregistered)

    Noob question: Can someone explain why the mouse over function is terrible? My guess is that its taking some URL and changing some image to use that as a source.

  • T.T.O. (unregistered)

    What was the bug exactly? Hadn't deal with JS for a long while, but this code seems pretty basic and I don't see any issues with forward compatibility. Maybe modern browsers refuse to execute code if it's a WTF?..

    Also, eval'ing a function parameter to change image source?!

  • Conradus (unregistered) in reply to bvs23bkv33

    Alas, princess.death.clown isn't in what3words. princess.depth.clown is someplace in the middle of nowhere in far north Canada.

  • Conradus (unregistered) in reply to my name is missing

    Given that it's in a function "doTheme", I think it's setting up a rotation of three skins for site called "princess", "death", and "clowns". with the idea that each access would rotate into a new one.

  • anonymous (unregistered) in reply to my name is missing

    You mean princess-death-clowns.tumble.com? Relevant XKCD: https://xkcd.com/1025/

  • Whitespace programmer (unregistered)

    This site has a lot of more WTF. Look at the beginning of the phone field validation:

    	function checkphone(fldname,tf,frmName) {
    			if(frmName=="" || frmName==null) { frmName="frmSubmit" }
    

    // if(isNull(frmName)) { frmName="frmSubmit" } if(frmName.length<1) { frmName="frmSubmit" }; var myval=document[frmName][fldname].value;

    			for(var x=0;x<10;x++) {
    				var myval = myval.replace("(", "");
    				var myval = myval.replace(")", "");
    				var myval = myval.replace(" ", "");
    				var myval = myval.replace("-", "");
    				var myval = myval.replace(".", "");
    				var myval = myval.replace(" ", "");
    			}
    		if(mylen>0) {
    				if(isNaN(myval)) {
    					if(tf==1) {
    						alert("You must enter a valid phone number!");
    						document[frmName][fldname].focus();
    					}
    					return false;
    		
    				} else {
    					if(mylen<10) { 
    						if(tf==1) {
    							alert("You must enter a valid phone number, including area code!");
    							document[frmName][fldname].focus();
    						}
    
    						return false 
    					}
    				}
    				
    			}
    			return true;
    		}
    
  • Whitespace programmer (unregistered)

    A classic WTF is also a home-brewn e-mail verification (instead of using the regex you can google easily). Also on this site. Quote:

    	function checkemailOLD(fldname,tf) {
    			var passfail=true;
    			var myval=document.frmSubmit[fldname].value;
    			var mylen=myval.length;
    			if(mylen>0) {
    				if(myval.indexOf("@")<0) {
    					if(tf==1) {
    						alert("You must enter a valid e-mail address!");
    						document.frmSubmit[fldname].focus();
    					}
    					return false;
    				}
    				if(myval.indexOf(".")<0) {
    					if(tf==1) {
    						alert("You must enter a valid e-mail address!");
    						document.frmSubmit[fldname].focus();
    					}
    					return false;
    				}
    			}
    			return true;
    		}
    		function checkemail(fldname,tf) {
    			var passfail=true;
    			var myval=document.frmSubmit[fldname].value;
    			var mylen=myval.length;
    			if(mylen>0) {
    				if(myval.indexOf("@")<1 || myval.lastIndexOf("@")==myval.length-1) {
    					if(tf==1) {
    						alert("You must enter a valid E-Mail Address!");
    						document.frmSubmit[fldname].focus();
    					}
    					return false;
    				}
    				if(myval.indexOf(".")<1 || myval.lastIndexOf(".")<=myval.indexOf("@")+1 || myval.lastIndexOf(".")==myval.length-1) {
    					if(tf==1) {
    						alert("You must enter a valid E-Mail Address!");
    						document.frmSubmit[fldname].focus();
    					}
    					return false;
    				}
    			}
    			return true;
    		}
    
  • Axel (unregistered)

    Anyone up for a game of rock, paper, scissors, lizard, Spock, princess, death, clown?

Leave a comment on “PRINCESS DEATH CLOWNS”

Log In or post as a guest

Replying to comment #492939:

« Return to Article