Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #496229

Re: must-read book

From Martin Brown <'''newspam'''@nezumi.demon.co.uk>
Newsgroups sci.electronics.design
Subject Re: must-read book
Date 2018-02-21 14:16 +0000
Organization Aioe.org NNTP Server
Message-ID <p6juv5$1mhm$1@gioia.aioe.org> (permalink)
References (8 earlier) <0ja78dlbor68mivq2n284p4enplfdb23mr@4ax.com> <h_3jC.60812$YR7.9091@fx34.iad> <2ijp8ddg8r6u9nrf2pnsvlm78scjkj2r67@4ax.com> <AjejC.19930$_V4.12992@fx16.iad> <tksq8ddc6dsgau7g676f44esbfups5m9kj@4ax.com>

Show all headers | View raw


On 21/02/2018 13:27, krw@notreal.com wrote:
> On Wed, 21 Feb 2018 08:17:19 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
> 
>> On 02/20/2018 08:44 PM, krw@notreal.com wrote:
>>> On Tue, 20 Feb 2018 20:31:56 -0500, bitrex
>>> <bitrex@de.lete.earthlink.net> wrote:
>>>
>>>> Giving a client this "the design is finalized and being implemented
>>>> according to God's plan by the code monkeys and it cannot be touched"
>>>> stuff would be a way to find yourself rapidly out of business
>>>
>>> So you think the race to the bottom is a good thing.  I could have
>>> guessed that.

No. But getting paid for work done is rather important. The customer is 
always right (even when he is wrong). I give mine the opportunity not to 
make stupid mistakes but if they fail to take my advice they sign in 
blood that they understand what they are asking for will cost them.

>> There's a lot of lousy code out there, but there's also more great code
>> out there than there's ever been in history. Well-designed and
>> implemented software using "modern" practices is not at all hard to
>> find. Flawed hardware designed top-down is not at all hard to find, e.g.
>> Spectre, Meltdown.

Spectre and Metldown are security exploits of correctly working but 
deterministic hardware. The cache engineering was sound in terms of 
achieving faster execution. FDIV bug and incorrectly accepted invalid 
OPCODES were genuine CPU hardware design mistakes.

> What an asinine statement.  First, of course there is decent code out
> there and even more than ever.  Dumbshit, there is a *lot* more code
> every day.  Almost all shit. 

I'd guess it was about 50:50 without having done a detailed survey. You 
hear about the big stuff that goes horribly wrong - you don't hear about 
the small successes like ABS brakes, mobile phones etc which just work.

> Compared to stuff like the Shuttle OBS
> and S/360, almost all is shit.  Some is man-rated, so one hopes it's
> somewhat better but it's certainly not done in an ad-hoc,
> throw-it-together, uncontrolled process as you suggest.  It's not the
> code we see every day.

I wouldn't use Shuttle code as an example - there was a known synch 
issue with the multiple processor voting implementation that could 
freeze the launch and wasn't worth going in to fix. They also had 
schedule induced process issues that made it into comp.risks

http://catless.ncl.ac.uk/Risks/6.18.html#subj1

As for OS/360 I always loved Fortran G1's lack of confidence when it 
reported "NO DIAGNOSTICS GENERATED?". The "?" being a trailing NUL byte 
which IBM change management procedures made too difficult to correct.
(it was after all a cosmetic bug)

Your IBM terminal concentrators were unmitigated crap. Phoenix ran a 
vastly larger number of simultaneous terminal sessions using DEC PDP11 
hardware to link them. NIOP could run rings round original IBM code.

Parrot - a TCAM replacement by Hazel & Stonely is actually online free 
these days. https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-5.pdf

>> Windows isn't shitty because of the techniques used to develop modern
>> software, it's mostly because it is and always has been a slave to the
>> past and backwards compatibility. It's always needed a ground-up rewrite
>> since about 1990 which it never got.
> 
> Wrong.  Stack overflows are precisely due to the way code is developed
> today.  There is no excuse for such things.

Although I agree that there is no excuse for it today but the worst bugs 
are mostly a side effect of the ubiquitous C nul terminated string.

We have never had better tools for static code analysis and runtime 
defensive testing but sadly they are not deployed very widely :(

-- 
Regards,
Martin Brown

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 08:54 -0800
  Re: must-read book Cursitor Doom <curd@notformail.com> - 2018-02-11 17:33 +0000
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 11:51 -0800
      Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-11 16:52 -0500
        Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-15 22:58 -0800
          Re: must-read book krw@notreal.com - 2018-02-16 04:35 -0500
            Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-19 21:58 -0800
              Re: must-read book krw@notreal.com - 2018-02-20 16:00 -0500
              Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-21 16:14 +0000
          Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-16 08:53 -0800
            Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-19 22:00 -0800
      Re: must-read book Cursitor Doom <curd@notformail.com> - 2018-02-11 22:44 +0000
        Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 15:36 -0800
  Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-11 12:30 -0600
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 11:54 -0800
      Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-12 00:17 +0000
  Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-11 16:45 -0500
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 15:47 -0800
      Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-11 19:01 -0600
        Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 09:51 +0000
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-12 08:16 -0500
            Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 13:32 +0000
              Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-12 08:19 -0800
                Re: must-read book Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-02-12 11:42 -0500
                Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 17:15 +0000
                Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-12 09:40 -0800
                Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 19:34 +0000
                Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-12 12:46 -0800
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-12 18:58 +0000
                Re: must-read book Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-02-12 21:14 +0200
                Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-12 12:50 -0800
            Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-12 21:12 -0600
        Re: must-read book krw@notreal.com - 2018-02-13 18:08 -0500
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 18:34 -0500
            Re: must-read book krw@notreal.com - 2018-02-13 19:11 -0500
              Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 19:23 -0500
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-13 20:59 -0600
                Re: must-read book krw@notreal.com - 2018-02-13 22:21 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-20 20:31 -0500
                Re: must-read book krw@notreal.com - 2018-02-20 20:44 -0500
                Re: must-read book Clifford Heath <no.spam@please.net> - 2018-02-21 14:13 +1100
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:30 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:17 -0500
                Re: must-read book krw@notreal.com - 2018-02-21 08:27 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:53 -0500
                Re: must-read book Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-21 14:16 +0000
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-21 21:46 -0600
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-22 11:02 -0500
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-22 22:31 +0000
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-23 21:09 -0600
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-22 22:27 +0000
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-22 18:32 -0500
                Re: must-read book Chris <c@b.a> - 2018-02-23 14:23 +1100
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-23 04:57 +0000
                Re: must-read book Jasen Betts <jasen@xnet.co.nz> - 2018-02-21 05:48 +0000
                Re: must-read book Reinhardt Behm <rbehm@hushmail.com> - 2018-02-23 13:56 +0800
            Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-13 20:56 -0600
          Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-13 15:37 -0800
            Re: must-read book krw@notreal.com - 2018-02-13 19:14 -0500
      Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-12 00:02 -0500
      Re: must-read book Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-13 14:11 +0000
        Re: must-read book tabbypurr@gmail.com - 2018-02-13 06:42 -0800
          Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-13 08:11 -0800
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 16:23 -0500
            Re: must-read book tabbypurr@gmail.com - 2018-02-13 14:54 -0800
              Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 18:22 -0500
                Re: must-read book tabbypurr@gmail.com - 2018-02-13 17:34 -0800
  Re: must-read book bloggs.fredbloggs.fred@gmail.com - 2018-02-11 15:37 -0800
  Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 07:37 -0500

csiph-web