| Deutsch English Français Italiano |
|
<100vu5k$1i7o7$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Don Y <blockedofcourse@foo.invalid> Newsgroups: sci.electronics.design Subject: Re: "RESET" Date: Sun, 25 May 2025 13:22:09 -0700 Organization: A noiseless patient Spider Lines: 48 Message-ID: <100vu5k$1i7o7$1@dont-email.me> References: <100thgs$v8cm$1@dont-email.me> <m9f71lF5gr0U1@mid.individual.net> <100ttlb$15a79$1@dont-email.me> <m9h8npFhi5rU3@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 25 May 2025 22:22:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="672de9e7a519c663ff2d3c552f49d2c5"; logging-data="1646343"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1NuH9ilrgYz2a8Hzd/qYp" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:7ZaXHEfTZaMDsXQUdhKi1J9HZJY= In-Reply-To: <m9h8npFhi5rU3@mid.individual.net> Content-Language: en-US Bytes: 3253 On 5/25/2025 12:18 PM, Carlos E. R. wrote: > On 2025-05-25 04:01, Don Y wrote: >> On 5/24/2025 5:37 PM, Carlos E. R. wrote: > > ... > >>> Then, there are many designs where you can not pull power, because there is >>> an unreachable battery. >> >> So, the battery is inaccessible but a reset button wouldn't be? >> All the more reason NOT to need a reset button! > > Think phones. Does "reset" actually reset the phone's CPU? Or, just reset the *settings* in the phone? That's the difference I'm trying to highlight. Reseting *settings* is just a UI capability. >>> Then, it is impossible to guarantee that the device will never find itself >>> in a pickle. No matter how fantastic the designers are. >> >> Barring hardware failures, software should be able to sort itself out, > > Should. > > Actually, nobody warranties this. Oh, wait, I remember a company that did > warranty it, for limited sized code, and hugely expensive. They did the core > software on ATMs or the servers behind them, I don't remember. There are lots of industries that expect devices to perform as specified. (The trick is finding competent people to write and review the specifications). You don't need to test every combination ox X and Y to verify multiply(X,Y) is implemented correctly; that would be a foolish approach to the problem. You craft software so you can identify the "corner cases" of interest to a particular algorithm/implementation and test THOSE. Then, expect everything "in the middle" to behave. I.e., why *should* mul(3,Y) be any different than mul(5,Y) -- in the GENERAL case? [This is where you engineer your algorithm and test cases accordingly. E.g., if I perform mul(3,Y) as add(Y, 2Y) then it would likely require separate testing from mul(5,Y) as add(Y, 4Y). But, otherwise, the only interesting cases are mul(0,Y), mul(X,0), mul(X,-Y), mul(-X,Y) and variations on "big" arguments (i.e., to verify overflow is handled appropriately: which would differ based on how overflow is SUPPOSED to be handled -- saturated arithmetic, etc.)]