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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c9d5fc258548b22a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!q40g2000prh.googlegroups.com!not-for-mail From: KK6GM Newsgroups: comp.lang.ada Subject: Re: How do I write directly to a memory address? Date: Wed, 9 Feb 2011 07:20:11 -0800 (PST) Organization: http://groups.google.com Message-ID: <611bc17f-753c-48bb-9c28-dc5e810085dc@q40g2000prh.googlegroups.com> References: <67063a5b-f588-45ea-bf22-ca4ba0196ee6@l11g2000yqb.googlegroups.com> <4d4ff70e$0$6886$9b4e6d93@newsspool2.arcor-online.net> <737a6396-72bd-4a1e-8895-7d50f287960e@d28g2000yqc.googlegroups.com> <4d5008a5$0$6879$9b4e6d93@newsspool2.arcor-online.net> <4d5031fe$0$6765$9b4e6d93@newsspool3.arcor-online.net> <1f229967-d3cf-42b6-8087-c97ee08652f3@i40g2000yqh.googlegroups.com> <4d51169e$0$7657$9b4e6d93@newsspool1.arcor-online.net> <1bnp0pw1c8r5b$.guxc48qweiwe.dlg@40tude.net> <1ju2bba947c1h.y05qev0wjx2t.dlg@40tude.net> <25z0jyvibze7.1pi559yfki5lo$.dlg@40tude.net> NNTP-Posting-Host: 12.35.64.226 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1297264827 28996 127.0.0.1 (9 Feb 2011 15:20:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 9 Feb 2011 15:20:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q40g2000prh.googlegroups.com; posting-host=12.35.64.226; posting-account=qZVz2QoAAAAN9WxYp-9jYb7jORc4Zqwt User-Agent: G2/1.0 X-HTTP-Via: 1.1 barracudaweb.tritool.rancho:8080 (http_scan/4.0.2.6.19) X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MDDR; .NET4.0C; .NET4.0E; InfoPath.1),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:17088 Date: 2011-02-09T07:20:11-08:00 List-Id: On Feb 9, 1:21=A0am, "Dmitry A. Kazakov" wrote: > On Tue, 8 Feb 2011 21:19:30 +0000 (UTC), Simon Clubley wrote: > > On 2011-02-08, Dmitry A. Kazakov wrote: > >> The next test was this: > > >> =A0 =A0x and FF =3D ? > >> =A0 =A0x or FF =3D ? > >> =A0 =A0x xor FF =3D ? > > >> Only one of 5 candidates could solve the first two! Only one managed x= or! > > > Thanks for the response. > > > In some ways this example is even worse because this is a simple (and > > generally language independent) boolean operation which does not requir= e > > knowing how to mask out a bit from within a byte in a C program as your > > first example did. > > Yes, it is indicative, they just don't understand the concept. > > BTW, this is a common case for many young programmers. They learn tricks = as > a dog would, but they miss the basic ideas. They can solve a problem when > the pattern is known. If you modify it just a bit, they fail. E.g. he mig= ht > know how to test one bit (somebody shown to him), but ask him how to test > if one bit is set and another is clean in one memory read ... and full > stop. > > > This is a serious question: Do these people get fired after a period of > > time when it's discovered they are useless (and hence they move from jo= b > > to job) or do they somehow manage to survive in a job ? > > They survived, at least one of them. > > It was always a puzzle to me why almost anything around us works, being > programmed by programmers like that. I have no doubt that an average > programmer isn't much better. > > -- > Regards, > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de- Hide quoted text - > > - Show quoted text - Has somebody already posted Dr. Dewar's comments about the current state of programming education? If so I didn't catch it, so I'll post them (again?) http://www.adacore.com/wp-content/uploads/2009/02/principled_approach.pdf http://itmanagement.earthweb.com/career/article.php/3761921/The-Anti-Java-P= rofessor-and-the-Jobless-Programmers.htm http://itmanagement.earthweb.com/career/article.php/3722876/Who-Killed-the-= Software-Engineer-Hint-It-Happened-in-College.htm