From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Languages don't matter. A mathematical refutation Date: Sat, 4 Apr 2015 13:16:57 +0200 Organization: cbb software GmbH Message-ID: References: <59ac455c-72f6-43e2-8a79-efc0f3e16d9a@googlegroups.com> <19qfgu5pjszm5.s5y5u8r0zx8k.dlg@40tude.net> <161a69af-a392-4214-bd92-0e20e7522cca@googlegroups.com> <1ht5q4lxmtf3p.mntbczbpti5n.dlg@40tude.net> <0ac76a41-d276-47d4-8659-530229802d12@googlegroups.com> <1ieaan02ff638.n6kjnn72tsp3$.dlg@40tude.net> <1o9qidr7413f4$.1jbc41w6r9j62.dlg@40tude.net> <1q1hq0qt8n15$.kxfdpvio0p1w.dlg@40tude.net> <88bcdf76-b09e-4995-8410-b680cabb7241@googlegroups.com> <00491592-d634-4868-b47f-245bbe670c7d@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: w2sqUGEBZqsVBYNL7Ky3Kg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:25416 Date: 2015-04-04T13:16:57+02:00 List-Id: On Sat, 4 Apr 2015 03:02:52 -0700 (PDT), jm.tarrasa@gmail.com wrote: > El jueves, 2 de abril de 2015, 18:41:18 (UTC+2), Dmitry A. Kazakov escribió: >> On Thu, 2 Apr 2015 07:48:45 -0700 (PDT), j_...@gmail.com wrote: > >> You must start with showing that "severity", "frequency" etc are random >> variables. There is a clear definition of what a random variable is. It is >> a measurable function from the set of elementary outcomes. The first step >> is presenting the set. > > What's the problem with severity and frequency? > > They are measurable. > > Program "A" in a two-years period > had bug1 which crashed program one time per day, and took a week to fix it > had bug2 which destroyed data, one per month, and took two days to fix it > had bug3 which was annoying, three per day, and took a month to fix it > > Program "B" in a two-years period > had bug1 which crashed program one time per hour, and took a month to fix it > had bug2 which destroyed data, one a month, and took a week to fix it 'Measurable' in the definition of random variable has little to do with measurements, e.g. physical measurements. It means a that the sets returned by the function (random variable is a function) are measurable: http://en.wikipedia.org/wiki/Measurable_function BTW, program crash is certainly not a random variable in most cases. The only case when crash would be random is when the input is random, e.g. program Random_Crash is X : Dice; begin X := Read_From_Hardware_Random_Generator; if X then Execute ("format C: /q"); end if; end Random_Crash; -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de