- 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
Juhuu? finally frist as well
Admin
Almost first, coughs frist, sorry. Anyways I personally do care about the 7th decimal spot, those rentals always trying to squeeze every little bit out of you.
Admin
So to make a html field readonly you set the readonly attribute to "readonly"?
Admin
The stick of butter one actually makes sense. Google is reading it as (one stick of butter) * (half cup) = (1.2 * 10^-4 m^3) * (1.2 * 10^-4 m^3) = 1.44 * 10^-8 m^6
The author probably wants "stick of butter in half cup."
Admin
I'm going to guess that Google's parser just tried to multiply one stick of butter by half a cup. A stick of butter is apparently 118.24 mL, half a cup is also 118.24 mL (because it's the same thing), so if you type one after the other you're asking for them to be multiplied.
The credit for this WTF is split evenly between people who double-click on buttons that are only supposed to be clicked once and then complain when Internet Explorer opens twice, and Google Calculator's overenthusiastic parser that doesn't realise you're not actually typing a calculation.
Admin
Here is what google thinks you want, no higher dimensional physics involved: Those parenthesis means multiplication. If you drop a multiplication sign between 'stick of butter' and 'half cup' the answer doesn't change. Google thinks you want to multiply the standard size of a stick of butter in the US by 1/2 cup.
1 US stick of butter * (half US cup) = 1.39934984 × 10-8 m6
Admin
More likely they want "1/2 cup butter in US stick of butter" (answer: 1 stick). interestingly I can get google to do Stick -> Cup, but not Cup -> Stick. But not willing to spend much time on it either.
Admin
Yes, and seriously, you shall not put readonly=true
Admin
On the readonly comment, the correct way to make an html field readonly is to include the keyword readonly in the tag
<input type="text" readonly>But then the abomination that was XHTML came along, and of course the above is not valid XML, so they id it the most bastard way they could....
<input type="text" readonly="anything_in_here_is_fine">and by convention the anything became "readonly" rather than something sensible like "true" or even "yes"
Admin
So what happens if you put "writeony" into readonly?
<input type="text" readonly="writeonly"/>Admin
Nagesh is not normal intelligence.
Admin
Admin
I think the idea was that using readonly="true" would incorrectly imply that readonly="false" would result in a writable field. Whereas readonly="readonly" forces you to look it up if you're not familiar and want to make a change. But yea, it's pretty damn ugly.
Admin
The real WTF is that sticks of butter come with a conversion chart and measuring lines printed on the wrapper, making it clear that t stick == 1/2 cup. Sometimes we run off to google a little too fast.
Admin
With the stick of butter, I learned that google's caculater can calculate anything.
For example, (one stick of butter) * (speed of light) = 35,463.6845 m4 / s
https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=one+stick+of+butter+times+half+cup#hl=en&sclient=psy-ab&q=one+stick+of+butter+times+speed+of+light&oq=one+stick+of+butter+times+speed+of+light&aq=f&aqi=q-w1&aql=&gs_sm=3&gs_upl=11452l13181l0l13275l15l15l0l0l0l0l193l1680l6.8l14l0&gs_l=serp.3..33i21.11452l13181l0l13275l15l15l0l0l0l0l193l1680l6j8l14l0&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=e50b7ed8b228eb18&biw=1920&bih=989
Admin
MMMMmmmmmmmm... Six dimensional hyper butter.
Admin
cup in sticks of butter
Admin
Admin
TRWTF is hockey.
Admin
TRWTF is the imperial system.
Whats wrong with KG and litres?
Admin
TRWTW is having such absurd an absurd measurement system.
Admin
damn, you were faster and made less spelling mistakes (kilograms is kg, though)
Admin
I particularly enjoy how if you type in something like "five per day", it will assume that you want that translated into hertz. (5.78703704 × 10^-5 hertz, apparently)
https://www.google.com/search?q=five+per+day
Admin
(one US stick of butter * Planck's constant) / speed of sound at sea level = 2.3034026 × 10-40 m4 kg
:|
Admin
TRWTF are people who don't find baseball, (American) football, and soccer absolutely boring. Things actually happen in hockey.
Admin
Only if you want it extra readonly. For medium readonly, set it to "correct."
Admin
Admin
TRWTF is high scoring sports games.
True perfection in football is a 0-0 draw.
Admin
+1, that deserves to be a "featured comment", I haven't laughed this hard in ages!
Plus, now we know how fast is a "butter fly". :P
Admin
I drive my wife nuts with this, but I've got my kids calling them "flutter-bys" because that's what they do...
Admin
Admin
The Verizon Center stuff makes sense. I've seen lots of multi-display setups at meusems and whatnot that run from one really powerful PC or Mac. They tend to have some special card that goes to an array of VGA (or whatever) hookups. This way, the graphic designer and software can keep everything in sync with each other. Now... the horse power that machine would need to have...
Admin
Jesus sorry for the typos :E
Admin
(Sigh!!!)
I can't even be bothered to finish it.
But yes, of course you'd set the readonly attribute to readonly. It wouldn't make any sense to set the size attribute to readonly!
Admin
It's an honest google mistake. He was looking for a video of two sticks, one cup.
Admin
Now that you point it out, it actually makes sense. If you ask it to convert "10 degrees-F / square foot" to metric, you want an answer in "degrees-C / square meter" . You want to multiply (or divide) the conversion factors.
It's not the program's fault if you give it something nonsensical, like "degree-feet" or "sticks of butter - cups". I wouldn't want it to decide if the combination of units I'm giving it makes sense, because all it can do is refuse to perform the calculation. If I happen to be using some measurement that the author of the program didn't think of, it might refuse to do it even though it was, in fact, perfectly reasonable.
I prefer computers to just do what they're told and not tell me what they think I must REALLY want them to do. It's one thing to refuse to do the job because it's impossible, like trying to convert feet to seconds or delete non-existant records. It's another to say, Yes, I can do that, but I don't think it's a good idea so I refuse. Programs that do that drive me nuts.
Admin
Arguments without values would be facts. And facts make boring arguments.
Admin
I usually put readonly="1" because I'm lazy and it's less to type. But now that you mention it, I think next time I'll put readonly="false" just to confuse the next guy. And on my option tag I'll put selected="2" and let them wonder what that means. Hee hee hee.
Okay, I'm easily amused.
Admin
Admin
That explains it! I did the calculation by hand and came up with 2.305 * 10-40. That's why my frabnitz coalescer isn't working!
Admin
Admin
Admin
That's funny. Arguments without value are allowed in politics.
Admin
Admin
Admin
Admin
Admin
I had to google that to check it, instead of walking to the fridge and checking the butter wrapper ;-)
Admin
You think the butter thing is bad? I was trying to calculate a download time yesterday. Apparently Google decided to be a smart-ass and take everything literally, so it interpreted "100 mb" as "100 meter-bits".
Admin
"Readonly" is for proles. The rest of us use our developer tools and modify the HTML inline prior to submitting the form to whatever URL we choose.