| Computing desk | ||
|---|---|---|
| < January 19 | << Dec | January | Feb >> | January 21 > |
| Welcome to the Wikipedia Computing Reference Desk Archives |
|---|
| The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Magnetic Drum Digital Differential Analyzer says that it was the first machine to represent bits as voltages. I checked the reference, and it says that the machine was the first to use voltages for bits instead of pulses, as in ENIAC and UNIVAC I. I've always heard that a high voltage would represent a 1 and a low voltage would represent a 0. So I don't see the distinction between voltages and pulses to represent bits - can someone explain that? Bubba73 You talkin' to me? 19:35, 20 January 2016 (UTC)
I have for several years thought about what exactly is difference between == and === in JavaScript. I know they are supposed to mean "equal" and "strictly equal" but don't know what this actually means in practice. Could someone give me examples where the two operators yield different results with the same operands? JIP | Talk 21:19, 20 January 2016 (UTC)
> ""==0
true
> ""===0
false
> []==0
true
> []===0
false
> false==0
true
> false===0
false
-- Finlay McWalterᚠTalk 21:43, 20 January 2016 (UTC)
> 1 == "1" // true, automatic type conversion for value only
> 1 === "1" // false, because they are of a different type
--Scicurious (talk) 22:00, 20 January 2016 (UTC)
If it tests a password on an encrypted message, couldn't a wrong password output another string, and only the true password output the right string? For example, if the encrypted string is "no seuabn cwdiueit d osf oidistshi", a wrong password would output "stce doiitdiiu u nofbsiho nwdessa", but the right password would output "discussion about how it is defined". That would hugely delay any brute forcing attack, wouldn't it?--Scicurious (talk) 22:36, 20 January 2016 (UTC)