Thread View: sci.electronics.design
174 messages
174 total messages
Page 2 of 4
Started by Don Y
Tue, 27 Oct 2026 03:39
Page 2 of 4 • 174 total messages
Re: Arms race
Author: Don Y
Date: Sun, 08 Nov 2026 21:00
Date: Sun, 08 Nov 2026 21:00
49 lines
4214 bytes
4214 bytes
On 11/8/2026 12:27 PM, Waldek Hebisch wrote: > You clearly go into area were you are not an expert. Google a > bit about "undefined behaviour" in C and you will learn that > when source code makes no sense, then C compier can do > essentially anything, which in not so rare cases means that > compiler simply deletes what programmer wrote. Explicit nop-s The compiler doesn't have THAT much license. It can't decide to implement arbitrary operations just because you APPEAR to be relying on a behavior that is undefined. E.g., memcpy() is free to walk past the end of the address space if the source/destination address -- plus the length -- moves it to that point. Or, it could opt to be more reasonable and inhibit such action. Either solution is an acceptable behavior -- regardless of the behavior that you *hoped* would occur. But, it can't decide to divide every value stored in EVERY memory location by 3 -- unless the value stored there is a 7 in which case it replaces it with a 42. A compiler/library designer wouldn't deliberately come up with a bizarre action to perform when the required action isn't clear. He'll do what seems logical in a normal case, even if that isn't what the developer intended (developer broke the contract by trying to do something that wasn't defined; we don't punish him by killing his first-born...) > are rarely emited by compilers, but one can get 'return' > (if compiler decides that garbage source is doing nothing > useful, but it will eventually finish) or executing whatever > happens to be after deleted code (if compiler decides that > code should be never executed because it performed illegal > operation). What "illegal operation" -- beyond a SIGSEGV? The compiler doesn't prevent me from dividing by zero (though many are astute enough to notice that and WARN me). Or, from overwriting a table of interrupt vectors. Or, the software itself! It can *advise* against things that seem likely to be errors or result in anomalous behaviors. But, it's the developer who opts to override those warnings. No rule says you have to check malloc()'s return value. And, /in some cases/, you may be 100% confident that it is *NOT* NULL. [That's why folks who don't address every warning are shoddy developers -- make it explicitly clear to me and the compiler that you actually WANT this behavior!] > It is much nicer when you share things that you do know.
Re: Arms race
Author: Bill Sloman
Date: Mon, 09 Nov 2026 05:42
Date: Mon, 09 Nov 2026 05:42
79 lines
4837 bytes
4837 bytes
On 9/11/2026 6:27 am, Waldek Hebisch wrote: > Bill Sloman <bill.sloman@ieee.org> wrote: >> On 7/11/2026 3:57 pm, john larkin wrote: >>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>> wrote: >>> >>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>> >>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>> >>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>> >>>>>>>>> segmented memory and hard separation of program and data. Signed drivers >>>>>>>> >>>>>>>> Not a Lisp fan then? >>>>>>> >>>>>>> People love to invent weird computer languages. There are over 3000 >>>>>>> and they keep coming. >>>>>> >>>>>> Real men code in binary using the front panel switches. >>>>>> >>>>>> I actually used a PDP-7 where you really did have to bootstrap it that >>>>>> way to read in a paper tape. It was a fun machine as it had a vector >>>>>> graphics display so was very good for asteroids, but cheated at chess. >>>>> >>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With a few >>>>> macros, they are almost higher-level languages. >>>> >>>> All high level languages get compiled into assembly language before they >>>> can be run on a computer. >>> >>> Well, no. >> >> Counter-example? >> >>>> Being a compiler is tedious. >>>> >>>>> Unlike some architectures that I might name. >>>> >>>> A language isn't an architecture. It has to be processed into something >>>> that can be run on hardware (which will have an architecture - it is >>>> constructed from components that have been connected by some kind of >>>> architect). >>> >>> If that post were compiled to assembly language, it would be a nop. >> >> As a compiler, you do seem to be sub-optimal, if not downright >> afunctional. Ignoring implications you don't like isn't an option for a >> compiler. There can be functions they can't parse - in your case don't >> want to parse - but that doesn't generate a nop. > > You clearly go into an area where you are not an expert. I'm not pretending to be an expert, just less of a clueless newbie in the area that John Larkin has shown himself to be. > Google a bit about "undefined behaviour" in C. We weren't talking about "C" specifically - I do own a copy of Kernigan and Ritchie, but the last programing language I was fluent in was Fortran 4. A compiler is a computer program, and as Alan Turing proved around 1936, they are essentially unpredictable. https://www.cs.virginia.edu/~robins/Turing_Paper_1936.pdf > It is much nicer when you share things that you do know. There are levels of knowledge, and software is an area where I am unsophisticated, but not entirely pig-ignorant. -- Bill Sloman, Sydney
Re: Arms race
Author: john larkin
Date: Mon, 09 Nov 2026 15:12
Date: Mon, 09 Nov 2026 15:12
76 lines
4466 bytes
4466 bytes
On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 9/11/2026 6:27 am, Waldek Hebisch wrote: >> Bill Sloman <bill.sloman@ieee.org> wrote: >>> On 7/11/2026 3:57 pm, john larkin wrote: >>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>> wrote: >>>> >>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>> >>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>> >>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>> >>>>>>>>>> segmented memory and hard separation of program and data. Signed drivers >>>>>>>>> >>>>>>>>> Not a Lisp fan then? >>>>>>>> >>>>>>>> People love to invent weird computer languages. There are over 3000 >>>>>>>> and they keep coming. >>>>>>> >>>>>>> Real men code in binary using the front panel switches. >>>>>>> >>>>>>> I actually used a PDP-7 where you really did have to bootstrap it that >>>>>>> way to read in a paper tape. It was a fun machine as it had a vector >>>>>>> graphics display so was very good for asteroids, but cheated at chess. >>>>>> >>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With a few >>>>>> macros, they are almost higher-level languages. >>>>> >>>>> All high level languages get compiled into assembly language before they >>>>> can be run on a computer. >>>> >>>> Well, no. >>> >>> Counter-example? >>> >>>>> Being a compiler is tedious. >>>>> >>>>>> Unlike some architectures that I might name. >>>>> >>>>> A language isn't an architecture. It has to be processed into something >>>>> that can be run on hardware (which will have an architecture - it is >>>>> constructed from components that have been connected by some kind of >>>>> architect). >>>> >>>> If that post were compiled to assembly language, it would be a nop. >>> >>> As a compiler, you do seem to be sub-optimal, if not downright >>> afunctional. Ignoring implications you don't like isn't an option for a >>> compiler. There can be functions they can't parse - in your case don't >>> want to parse - but that doesn't generate a nop. >> >> You clearly go into an area where you are not an expert. > >I'm not pretending to be an expert, just less of a clueless newbie in >the area that John Larkin has shown himself to be. I've written several compilers and several RTOS's and a bunch of system simulators and hundreds of application programs, a good chunk of a million lines of code. From PDP8 to ARM and one CPU that I designed myself. What's your definition of newbie? John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 15:28
Date: Mon, 09 Nov 2026 15:28
17 lines
1930 bytes
1930 bytes
On 10/29/2026 8:59 PM, Don Y wrote: > Management of these processes is the cause of most bad designs. > The folks doing so are usually pretty ignorant of the efforts they > are charged with managing! Please excuse me, I probably showed this example earlier this year in sci.electronics.design. A good example is https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/ where the /management/ was too lazy to hire a cryptographer for the pro- ject. It's not like you can accuse Oracle of not affording one. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 15:31
Date: Mon, 09 Nov 2026 15:31
13 lines
1910 bytes
1910 bytes
On 10/31/2026 11:17 PM, Bill Sloman wrote: > > I don't make a habit of it, but there's no diplomatic way of getting the > message across, when people are ignorant (which happens quite a lot), or > stupid (which is rarer). Of course, you never see the same fault in yourself, you /fucking moron/! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 15:40
Date: Mon, 09 Nov 2026 15:40
26 lines
2579 bytes
2579 bytes
On 10/30/2026 9:36 PM, Martin Brown wrote: > I was always struck by the typical senior managers password being so > weak that it was hardly worth having. Some of them even had it written > on a postit and stuck to their screen! You couldn't make it up! By observation -- and this is something Bill Sloman never understands, he doesn't observe anything -- the fault lies with nobody of sufficient social status being around to /correct/ the managers. And since they are the ones hiring and firing the /security consultants/ their own view is more important than whoever tries to teach them good password habits. Really, it's fine to write passwords down; just do it in a book you keep in your pocket, and don't forget it by the computer [terminal]. And once you start writing the passwords down, you don't need to be afraid of the cryptographically secure random password generators. 2FA helps if the password gets stolen somehow; it's usually not lifted from the book. It's still annoying. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 15:47
Date: Mon, 09 Nov 2026 15:47
33 lines
3021 bytes
3021 bytes
On 10/30/2026 10:29 PM, Don Y wrote: > What's amusing is all of these ideas are 50+ years old. Yet, people keep > convincing themselves that they "need" more freedom... "constraints are > bad" > (as is the code they develop!) What is not amusing is that nobody thought to put computer security education in the elementary schools fifty years ago. And because the didn't do it then, they won't do it now -- is by obser- vation, their thinking. I don't know what goes on in the heads of peo- ple who decide the elementary curriculum. Usefulness in life is not their agenda. Anyway, a /large/ part of the problem is that now that everyone uses computers, the computer security practices people should have been taught in elementary school but weren't, don't work. Because they don't know them, and they don't know how real life organized criminals work. Err, for an introduction to that, you could use the book /Undercover Cop/ by Mike Russel and Patrick W. Picciarelli. It's an autobiography of sorts, and therefore describes the real world, and not the fantasy world in movies. You can then pair that knowledge with Nicole Perl- roth's book /This Is How They Tell Me the World Ends/, for more real world stories of computer security shenanigans. Because if you don't know who the enemy is, and how he operates, how are you going to secure your computer? With a ritual and magic smoke? -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 15:56
Date: Mon, 09 Nov 2026 15:56
34 lines
2836 bytes
2836 bytes
On 10/30/2026 11:47 PM, Don Y wrote: > On 10/30/2026 8:36 AM, JM wrote: >> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >> <'''newspam'''@nonad.co.uk> wrote: >> >>> segmented memory and hard separation of program and data. Signed drivers >> >> Not a Lisp fan then? > > You don't need *strict* separation (e.g., like a Harvard architecture) > to benefit from this practice. If you can locate data/code on page > boundaries and in page-sized units, you can commingle them freely. > > But, the idea of treating memory as an amorphous gel that can be > freely molded is not going to work. > > Nowadays, you actually need to put the different types of memories > in different *chips* if you truly want to maximize your protection > (you can gain some advantages with guard bands between regions but > the hardware has proven to easily exploitable in its efforts to > try to eke out more performance) I don't know any hardware manufacturer doing this -- well, I don't work with military hardware so they could be doing it -- and now that Sam Altman is gobbling up all the DRAM chips, I doubt we'll see this in end user computers and phones any time soon. So, is this a loss due to the 2026 DRAM shortage? Only speculative his- tory in the future will tell us. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Don Y
Date: Mon, 09 Nov 2026 17:42
Date: Mon, 09 Nov 2026 17:42
66 lines
4489 bytes
4489 bytes
On 11/9/2026 8:56 AM, Johann 'Myrkraverk' Oskarsson wrote: > On 10/30/2026 11:47 PM, Don Y wrote: >> On 10/30/2026 8:36 AM, JM wrote: >>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>> <'''newspam'''@nonad.co.uk> wrote: >>> >>>> segmented memory and hard separation of program and data. Signed drivers >>> >>> Not a Lisp fan then? >> >> You don't need *strict* separation (e.g., like a Harvard architecture) >> to benefit from this practice. If you can locate data/code on page >> boundaries and in page-sized units, you can commingle them freely. >> >> But, the idea of treating memory as an amorphous gel that can be >> freely molded is not going to work. >> >> Nowadays, you actually need to put the different types of memories >> in different *chips* if you truly want to maximize your protection >> (you can gain some advantages with guard bands between regions but >> the hardware has proven to easily exploitable in its efforts to >> try to eke out more performance) > > I don't know any hardware manufacturer doing this -- well, I don't work > with military hardware so they could be doing it -- and now that Sam > Altman is gobbling up all the DRAM chips, I doubt we'll see this in end > user computers and phones any time soon. You can often employ this technique in many of the larger SoCs. sadly, the resources are often allocated by someone who doesn't understand the VALUE of specific allocations. E.g., if you put kernel memory in SRAM then "other memory" being in LPDRAM has less potential -- via direct or side-channel attack -- of corrupting it. But, you have to be aware of the problem and understand how the hardware works before you can make smart decisions about it. Which, of course, means you have to have a firm hardware model before you can sort out the software. The hardware people are similarly clueless as they are usually not aware of how the hardware will be used (and abused). They often treat hardware as checkoff items: 2 serial ports; check. 3GB RAM; check. 1MB boot ROM; check. One of the colossal FAILS IME was a hardware person putting a one-bit latch to drive the input of a CVSD. So, the software had to sit in a tight loop shifting bytes into the latch and clocking the CVSD. And, of course, every path through the code had to have identical time lest the clock frequency beat at the byte-rate. Really? You couldn't put a byte-wide (parallel load, serial out) SHIFT REGISTER there and have it self clocked so all the CPU has to do is push BYTES at it every 8 bit times??? You've traded a few pennies for the entire CPU (because it can't do ANYTHING ELSE while caught in this idiot loop). Perhaps we should let hardware people write code and publicly critique their failures? Or, let software people design the hardware and let the hardware folks write the code?? > So, is this a loss due to the 2026 DRAM shortage? Only speculative his- > tory in the future will tell us.
Re: Arms race
Author: Don Y
Date: Mon, 09 Nov 2026 18:11
Date: Mon, 09 Nov 2026 18:11
89 lines
5657 bytes
5657 bytes
On 11/9/2026 8:47 AM, Johann 'Myrkraverk' Oskarsson wrote:
> On 10/30/2026 10:29 PM, Don Y wrote:
>> What's amusing is all of these ideas are 50+ years old. Yet, people keep
>> convincing themselves that they "need" more freedom... "constraints are bad"
>> (as is the code they develop!)
>
> What is not amusing is that nobody thought to put computer security
> education in the elementary schools fifty years ago.
Expecting society to embrace "computers" that long ago is probably a stretch.
I started writing code about 55 years ago. "Security" was:
- THE machine was in its own room
- you kept control of your card deck
The Computer was most often a tool for business; we (Engineering) had
to beg for time from Accounting to run any of our algorithms on "their"
machine.
> And because the didn't do it then, they won't do it now -- is by obser-
> vation, their thinking. I don't know what goes on in the heads of peo-
> ple who decide the elementary curriculum. Usefulness in life is not
> their agenda.
I have exactly one data point in that regard.
A neighbor is responsible for curriculum, locally (I believe there is
a committee of sorts). I once mentioned colorblindness, in passing,
and cited the "1 in ~15" men are colorblind statistic.
She *refused* to believe me -- after all, that means at least one
"boy" in every class (on average) can't tell the "red apples" from
the "green apples" (red-green colorblindness being the most common;
think about that when you have a GREEN "start" button and a RED
"stop" button on a device!) in the sample problems they are given.
Her ignorance left me speechless -- you're making decisions about
courseware and textbooks and you don't even know what your
"customers" need???
She was equally indignant and brought it up on some online forum.
Only to be told of HER error. In a very public way.
> Anyway, a /large/ part of the problem is that now that everyone uses
> computers, the computer security practices people should have been
> taught in elementary school but weren't, don't work. Because they don't
> know them, and they don't know how real life organized criminals work.
But that's part of human nature. People aren't very smart nor sophisticated.
Confidence trumps their fear of showing their ignorance so if you present
something as fact, they are more likely to agree than to have to think
for themselves (esp if that thinking will be visible in such a discussion)
I received a fishing email from a friend many months ago:
"I need to borrow $400 for my niece's birthday gift. I'm not
at my phone now. Can you buy me a gift card and read me the
code number off it?"
Gee, you MAY have a niece (I'm not familiar with your extended family).
You're NEVER "away from your phone".
You'd never make such an "ask" in an email (instead of by phone or in person)
You only live a couple of miles from here yet can't be inconvenienced to
drive over FOR THE CASH.
Your name is misspelled in the email headed.
"Sure! I'll head over right now!"
"No. Just read me the numbers."
"Ah, but I'm just down the road and its been a while since we've visited..."
Meanwhile, I'm dialing his phone to tell him his email account has been
hacked.
And, of course, all the cretins desperate for attention that they share
every aspect of their lives on social media.
"I don't understand. How did he know I had a grandson in college?"
How did he know my birthdate? Mother's maiden name? etc.
> Err, for an introduction to that, you could use the book /Undercover
> Cop/ by Mike Russel and Patrick W. Picciarelli. It's an autobiography
> of sorts, and therefore describes the real world, and not the fantasy
> world in movies. You can then pair that knowledge with Nicole Perl-
> roth's book /This Is How They Tell Me the World Ends/, for more real
> world stories of computer security shenanigans.
>
> Because if you don't know who the enemy is, and how he operates, how are
> you going to secure your computer? With a ritual and magic smoke?
Re: Arms race
Author: Don Y
Date: Mon, 09 Nov 2026 18:23
Date: Mon, 09 Nov 2026 18:23
40 lines
3321 bytes
3321 bytes
On 11/9/2026 8:28 AM, Johann 'Myrkraverk' Oskarsson wrote: > On 10/29/2026 8:59 PM, Don Y wrote: >> Management of these processes is the cause of most bad designs. >> The folks doing so are usually pretty ignorant of the efforts they >> are charged with managing! > > Please excuse me, I probably showed this example earlier this year in > sci.electronics.design. A good example is > >  https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/ > > where the /management/ was too lazy to hire a cryptographer for the pro- > ject. It's not like you can accuse Oracle of not affording one. This (and the opposite: hiring someone and then ignoring their "expert recommendations") happens surprisingly often. The people making the decisions aren't aware of how much they are unaware. Dunning-Kruger. Particularly dangerous when The Ignorant are in charge. Nowhere is this more evident than in software as ANYONE can write code and, true to D-K, they all *think* they know far more than they actually do. "I've written..." yeah, but were any of those really more than trivial exercises? I.e., if it was the sort of problem we'd get in a homework assignment, you know it has a complexity on the order of 8 hours or less (cuz the homework budget for a course was 8 hours) Another favorite is "real-time" -- particularly "hard" vs. "soft". When most folks think it means "real fast" (it doesn't). Or, that "hard" is "more difficult" than "soft" (the opposite is true -- in spades -- which is why so many newbies resort to HRT solutions to problems... they can't think beyond FORCING a hard requirement when none is required... even in nuclear defenses!) But, so much of this is ingrained that challenging it threatens most folks' notion of their own competence so they ignore learning about those things where their ignorance is so profound. [You have to learn to work AROUND such people lest they compromise any good work]
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 18:25
Date: Mon, 09 Nov 2026 18:25
90 lines
5380 bytes
5380 bytes
On 11/10/2026 1:42 AM, Don Y wrote: > On 11/9/2026 8:56 AM, Johann 'Myrkraverk' Oskarsson wrote: >> On 10/30/2026 11:47 PM, Don Y wrote: >>> On 10/30/2026 8:36 AM, JM wrote: >>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>> <'''newspam'''@nonad.co.uk> wrote: >>>> >>>>> segmented memory and hard separation of program and data. Signed >>>>> drivers >>>> >>>> Not a Lisp fan then? >>> >>> You don't need *strict* separation (e.g., like a Harvard architecture) >>> to benefit from this practice. If you can locate data/code on page >>> boundaries and in page-sized units, you can commingle them freely. >>> >>> But, the idea of treating memory as an amorphous gel that can be >>> freely molded is not going to work. >>> >>> Nowadays, you actually need to put the different types of memories >>> in different *chips* if you truly want to maximize your protection >>> (you can gain some advantages with guard bands between regions but >>> the hardware has proven to easily exploitable in its efforts to >>> try to eke out more performance) >> >> I don't know any hardware manufacturer doing this -- well, I don't work >> with military hardware so they could be doing it -- and now that Sam >> Altman is gobbling up all the DRAM chips, I doubt we'll see this in end >> user computers and phones any time soon. > > You can often employ this technique in many of the larger SoCs. > sadly, the resources are often allocated by someone who doesn't > understand the VALUE of specific allocations. > > E.g., if you put kernel memory in SRAM then "other memory" > being in LPDRAM has less potential -- via direct or side-channel > attack -- of corrupting it. > > But, you have to be aware of the problem and understand how the > hardware works before you can make smart decisions about it. > Which, of course, means you have to have a firm hardware model > before you can sort out the software. > > The hardware people are similarly clueless as they are usually not aware > of how the hardware will be used (and abused). They often treat > hardware as checkoff items: 2 serial ports; check.  3GB RAM; check. > 1MB boot ROM; check. > > One of the colossal FAILS IME was a hardware person putting a one-bit > latch to drive the input of a CVSD. So, the software had to sit in a > tight loop shifting bytes into the latch and clocking the CVSD. > > And, of course, every path through the code had to have identical time > lest the clock frequency beat at the byte-rate. > > Really? You couldn't put a byte-wide (parallel load, serial out) > SHIFT REGISTER there and have it self clocked so all the CPU has to > do is push BYTES at it every 8 bit times??? You've traded a few pennies > for the entire CPU (because it can't do ANYTHING ELSE while caught > in this idiot loop). > > Perhaps we should let hardware people write code and publicly > critique their failures? Or, let software people design the > hardware and let the hardware folks write the code?? > >> So, is this a loss due to the 2026 DRAM shortage? Only speculative his- >> tory in the future will tell us. > Or have more generalists around. I'm one -- no matter what Bill Sloman tries to say -- but with only a passing experience of hardware design. Just enough to understand the basics. If you dig into old Linus-rants on the LKML, you'll find the GCC-devs of the time didn't care how the compiler was used for anything other than user space. That's not a healthy environment for kernel devs. So we should let compilers devs do operating systems, and operating sys- tem people do compilers, and both groups do hardware. At minimum. Best wishes, and happy hardware design! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Don Y
Date: Mon, 09 Nov 2026 19:39
Date: Mon, 09 Nov 2026 19:39
123 lines
7385 bytes
7385 bytes
On 11/9/2026 11:25 AM, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 1:42 AM, Don Y wrote: >> On 11/9/2026 8:56 AM, Johann 'Myrkraverk' Oskarsson wrote: >>> On 10/30/2026 11:47 PM, Don Y wrote: >>>> On 10/30/2026 8:36 AM, JM wrote: >>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>> >>>>>> segmented memory and hard separation of program and data. Signed drivers >>>>> >>>>> Not a Lisp fan then? >>>> >>>> You don't need *strict* separation (e.g., like a Harvard architecture) >>>> to benefit from this practice. If you can locate data/code on page >>>> boundaries and in page-sized units, you can commingle them freely. >>>> >>>> But, the idea of treating memory as an amorphous gel that can be >>>> freely molded is not going to work. >>>> >>>> Nowadays, you actually need to put the different types of memories >>>> in different *chips* if you truly want to maximize your protection >>>> (you can gain some advantages with guard bands between regions but >>>> the hardware has proven to easily exploitable in its efforts to >>>> try to eke out more performance) >>> >>> I don't know any hardware manufacturer doing this -- well, I don't work >>> with military hardware so they could be doing it -- and now that Sam >>> Altman is gobbling up all the DRAM chips, I doubt we'll see this in end >>> user computers and phones any time soon. >> >> You can often employ this technique in many of the larger SoCs. >> sadly, the resources are often allocated by someone who doesn't >> understand the VALUE of specific allocations. >> >> E.g., if you put kernel memory in SRAM then "other memory" >> being in LPDRAM has less potential -- via direct or side-channel >> attack -- of corrupting it. >> >> But, you have to be aware of the problem and understand how the >> hardware works before you can make smart decisions about it. >> Which, of course, means you have to have a firm hardware model >> before you can sort out the software. >> >> The hardware people are similarly clueless as they are usually not aware >> of how the hardware will be used (and abused). They often treat >> hardware as checkoff items: 2 serial ports; check.  3GB RAM; check. >> 1MB boot ROM; check. >> >> One of the colossal FAILS IME was a hardware person putting a one-bit >> latch to drive the input of a CVSD. So, the software had to sit in a >> tight loop shifting bytes into the latch and clocking the CVSD. >> >> And, of course, every path through the code had to have identical time >> lest the clock frequency beat at the byte-rate. >> >> Really? You couldn't put a byte-wide (parallel load, serial out) >> SHIFT REGISTER there and have it self clocked so all the CPU has to >> do is push BYTES at it every 8 bit times??? You've traded a few pennies >> for the entire CPU (because it can't do ANYTHING ELSE while caught >> in this idiot loop). >> >> Perhaps we should let hardware people write code and publicly >> critique their failures? Or, let software people design the >> hardware and let the hardware folks write the code?? >> >>> So, is this a loss due to the 2026 DRAM shortage? Only speculative his- >>> tory in the future will tell us. > > Or have more generalists around. I'm one -- no matter what Bill Sloman > tries to say -- but with only a passing experience of hardware design. > > Just enough to understand the basics. Just enough to understand WHO/WHAT you REALLY need to tackle a problem. > If you dig into old Linus-rants on the LKML, you'll find the GCC-devs of > the time didn't care how the compiler was used for anything other than > user space. That's not a healthy environment for kernel devs. > > So we should let compilers devs do operating systems, and operating sys- > tem people do compilers, and both groups do hardware. > > At minimum. "Impedance mismatches" in skillsets are common. Not just in design/development but, also, in userworld. If you offer a product that intimidates -- or *suggests* usage other than actual -- your customer expresses their frustration (cuz they don't want to admit "it's too complicated") by bad-mouthing/discarding/returning your product. Or, at the very least, grumbling about its use. We have a washing machine with "a big (stopless) knob" used to select the type of wash cycle. It has a textured grip and has a cogged feel when rotated. But, the cogs don't correspond to the points at which the "current selection" advances to the next choice. So, it always feels like something is broken... some linkage between the knob and the mechanism. And, the selection is indicated by an LED. So, not only does the "feel" FAIL to provide you with feedback as to how much you've turned the knob, but you also have to LOOK at the knob to see where it is, presently. Ditto the buttons that toggle the water temperature (wash/rinse), spin, soil level, "alert", etc. settings require your attention to VERIFY their current settings -- as turning the big knob will alter THEIR settings (possibly even invalidating some of the available choices). I.e., the message is: you must set the controls in the order some dweeb in our engineering department decided was appropriate -- as HE has seen fit to impose his constraints on your choices, after the fact. Contrast this with an old appliance where you turned a MECHANICAL (timer) to a desired setting and pressed "start" (often part of the same mechanism so accomplished with one had). This because the designer considered themselves to be the expert instead of the intended user. Or, worse, because the designer had total disregard for the user. If you don't know what to do OR don't understand the issues, then find someone who DOES!
Re: Arms race
Author: Waldek Hebisch
Date: Mon, 09 Nov 2026 21:14
Date: Mon, 09 Nov 2026 21:14
134 lines
7987 bytes
7987 bytes
Don Y <blockedofcourse@foo.invalid> wrote:
> On 11/8/2026 12:27 PM, Waldek Hebisch wrote:
>> You clearly go into area were you are not an expert. Google a
>> bit about "undefined behaviour" in C and you will learn that
>> when source code makes no sense, then C compier can do
>> essentially anything, which in not so rare cases means that
>> compiler simply deletes what programmer wrote. Explicit nop-s
>
> The compiler doesn't have THAT much license. It can't decide to
> implement arbitrary operations just because you APPEAR to be
> relying on a behavior that is undefined.
Compiler just uses rules, so writing about appearence makes no
sense. When optimizing compier performs a lot of transformations.
Validity of transformations may depend on conditions. When
checking conditions compiler assumes that program does not
contain undefined behaviour.
And yes, C standard gives such freedom to authors of C
compilers:
: undefined behavior
: behavior, upon use of a nonportable or erroneous program construct
: or of erroneous data, for which this document imposes no requirements
Do I need to explain to you what "no requirements" mean?
> E.g., memcpy() is free to walk past the end of the address space
> if the source/destination address -- plus the length -- moves it
> to that point. Or, it could opt to be more reasonable and inhibit
> such action. Either solution is an acceptable behavior -- regardless
> of the behavior that you *hoped* would occur.
>
> But, it can't decide to divide every value stored in EVERY memory
> location by 3 -- unless the value stored there is a 7 in which case
> it replaces it with a 42. A compiler/library designer wouldn't
> deliberately come up with a bizarre action to perform when the required
> action isn't clear. He'll do what seems logical in a normal case,
> even if that isn't what the developer intended (developer broke the
> contract by trying to do something that wasn't defined; we don't
> punish him by killing his first-born...)
What you write is typical fallacy. Of course compiler writers
will not deliberatly generate malicious code. But once your
part of contract is broken there is no reasonable way to
limit possible damage. If compiler recognizes one of common
errors it can warn and generate code that say signals
error at runtime. But it is pretty commmon situation that
compiler can not check if code is free of undefined behaviour.
In such cases compiler transforms the code assuming that
code is free of undefined behaviour. Elementary logic
says that from false assumption you can prove anything.
So, when there is undefined behaviour, there is no limit
on wrong reasonings that compiler can make and consequently
no limit of possible transformations. Of course, any
given compiler contains only finitely many transformations
and logical reasonings in the compiler are rather simple.
But one of simplest transformations is "delete code that
is never executed". And related "if condition of 'if'
statement is always true, then 'else' branch is never
executed'. So, one you have undefined behaviour compiler
may easily delete large part of your program. In effect
if control passes to a function which should be not
called execution may "fall trough" to following code.
If that code is doing something weird, you will see this
as effect of your program.
This was already understood in seventies: either you define
what happens or you get potentially arbitrary conseqences.
Defining things may get you one step ahead, but in many
cases defined behaviour is wrong. PL/1 tried hard to define
effects of various operations, users found out that many
cases operations were well defined, but did different thing
than what was needed and programs behaved in unexpected ways.
Catching errors at runtime could help, but in the past
it was deemed to costly. And currently, in C (which is
widely used) catching errors at runtime is much more
costly than in other languages like Pascal or Ada
(or modern Fortran if you prefer that). C++ is better,
as long as you avoid constructs inherited from C.
Anyway, except for cases like Rust and Ada current system
programming languages basically force programmers to
use potentially unsafe constructs with possible
consequences equvalent to undefined behaviour in C.
>> are rarely emited by compilers, but one can get 'return'
>> (if compiler decides that garbage source is doing nothing
>> useful, but it will eventually finish) or executing whatever
>> happens to be after deleted code (if compiler decides that
>> code should be never executed because it performed illegal
>> operation).
>
> What "illegal operation" -- beyond a SIGSEGV? The compiler
> doesn't prevent me from dividing by zero (though many are
> astute enough to notice that and WARN me). Or, from overwriting
> a table of interrupt vectors. Or, the software itself!
Actually, at '-O2' version of 'gcc' that I use replaces explicit
division by 0 by the 'ud2' instruction. But that missed the point,
when you derefernce a pointer gcc assumes that it is nonzero,
when you divide that divisor is nonzero. Importantly, gcc
assumes that operations on integers do not overflow. Typically
compiler can not prove at compile that if anything above
happens, so in first approximation it just generates corresponding
machine instrictions. But implied conditions may lead to
conseqences, like deleting code which is unreachable by
valid execution.
If you want list of "illegal operations", then appendix in C
standard contains rather long list of things which are undefined
behaviour, trying any of them is illegal from standard point
of view. gcc uses only some of them for optimization, like
the few I mention above and the type based aliasing rules.
But new release/different compiler may take advantage of
a different undefined behaviour. So, if you use a single
compiler look at what promises it makes, if you want
wide portability then you should avoid all undefiend
behaviour.
> It can *advise* against things that seem likely to be errors
> or result in anomalous behaviors. But, it's the developer who opts
> to override those warnings. No rule says you have to check malloc()'s
> return value. And, /in some cases/, you may be 100% confident that
> it is *NOT* NULL.
>
> [That's why folks who don't address every warning are shoddy
> developers -- make it explicitly clear to me and the compiler
> that you actually WANT this behavior!]
>> It is much nicer when you share things that you do know.
>
>
--
Waldek Hebisch
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Mon, 09 Nov 2026 22:36
Date: Mon, 09 Nov 2026 22:36
2 lines
1297 bytes
1297 bytes
Books and phones can become stolen. (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Mon, 09 Nov 2026 23:01
Date: Mon, 09 Nov 2026 23:01
44 lines
3714 bytes
3714 bytes
Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: |----------------------------------------------------------------------| |"[. . .] | |What is not amusing is that nobody thought to put computer security | |education in the elementary schools fifty years ago." | |----------------------------------------------------------------------| It is not plausible that a computer-security education in the elementary schools fifty years ago (in 1976) would be useful. Almost no child in 1976 used to have an Apple I, and an Apple I does not demand a password. Cf. HTTP://WWW.oldComputers.net Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: |----------------------------------------------------------------------| |"[. . .] | |[. . .] I don't know what goes on in the heads of peo- | |ple who decide the elementary curriculum. Usefulness in life is not | |their agenda. | | | |[. . .]" | |----------------------------------------------------------------------| Of course it is! Elementary schools teach useful mathematics and useful words. Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: |----------------------------------------------------------------------| |"Err, for an introduction to that, you could use the book /Undercover | |Cop/ by Mike Russel and Patrick W. Picciarelli. It's an autobiography| |of sorts, and therefore describes the real world, and not the fantasy | |world in movies. [. . .] | |[. . .] | | | |[. . .]" | |----------------------------------------------------------------------| Thanks for this suggestion. How did Mike Russell survive "being ambushed and shot in the back of the head"? Is the next quotation true? "his police handlers disregarded his wishes and his well-being, conducting premature raids on the gangsters." (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 23:47
Date: Mon, 09 Nov 2026 23:47
61 lines
4795 bytes
4795 bytes
On 11/10/2026 7:01 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: > |----------------------------------------------------------------------| > |"[. . .] | > |What is not amusing is that nobody thought to put computer security | > |education in the elementary schools fifty years ago." | > |----------------------------------------------------------------------| > > It is not plausible that a computer-security education in the > elementary schools fifty years ago (in 1976) would be useful. Almost > no child in 1976 used to have an Apple I, and an Apple I does not > demand a password. Cf. > HTTP://WWW.oldComputers.net > > Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: > |----------------------------------------------------------------------| > |"[. . .] | > |[. . .] I don't know what goes on in the heads of peo- | > |ple who decide the elementary curriculum. Usefulness in life is not | > |their agenda. | > | | > |[. . .]" | > |----------------------------------------------------------------------| > > Of course it is! Elementary schools teach useful mathematics and > useful words. > > Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: > |----------------------------------------------------------------------| > |"Err, for an introduction to that, you could use the book /Undercover | > |Cop/ by Mike Russel and Patrick W. Picciarelli. It's an autobiography| > |of sorts, and therefore describes the real world, and not the fantasy | > |world in movies. [. . .] | > |[. . .] | > | | > |[. . .]" | > |----------------------------------------------------------------------| > > Thanks for this suggestion. How did Mike Russell survive "being > ambushed and shot in the back of the head"? > > Is the next quotation true? "his police handlers disregarded his > wishes and his well-being, conducting premature raids on the > gangsters." > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) I don't recall the book exactly, but yes, that sounds true. Part of the theme of the book is the incompetence on the part of the police team -- this includes Mike himself -- in planning and executing the undercover stint. But then, it's not like organized criminals are known to be really smart. As for how he survived, it's best you just read the book to find out. If I recall correctly, and then the TV shows correctly, this book fills in a lot of the gaps left implied in /The Sopranos/. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 23:49
Date: Mon, 09 Nov 2026 23:49
13 lines
1972 bytes
1972 bytes
On 11/10/2026 6:36 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > Books and phones can become stolen. > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) Yes, with the latter being more commonly stolen than the former. What do you do if your 2FA application isn't duplicated on your backup phone? You /do/ have a backup phone, right? -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 03:23
Date: Tue, 10 Nov 2026 03:23
25 lines
2196 bytes
2196 bytes
On Mon, 9 Nov 2026 23:31:54 +0800, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: >On 10/31/2026 11:17 PM, Bill Sloman wrote: >> >> I don't make a habit of it, but there's no diplomatic way of getting the >> message across, when people are ignorant (which happens quite a lot), or >> stupid (which is rarer). > >Of course, you never see the same fault in yourself, you /fucking >moron/! It's not anyone's fault that they are stupid. 50% of the population is below the median IQ. Be kind to the people who weren't lucky to be born beautiful geniuses like us. It is people's fault if they are nasty. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 05:10
Date: Tue, 10 Nov 2026 05:10
19 lines
2402 bytes
2402 bytes
On 10/11/2026 2:31 am, Johann 'Myrkraverk' Oskarsson wrote: > On 10/31/2026 11:17 PM, Bill Sloman wrote: >> >> I don't make a habit of it, but there's no diplomatic way of getting >> the message across, when people are ignorant (which happens quite a >> lot), or stupid (which is rarer). > > Of course, you never see the same fault in yourself, you /fucking > moron/! There are loads of areas where I'm totally ignorant. Real world feedback suggests that I'm not stupid, but in areas where you are ignorant you can end up looking pretty stupid to people who are less ignorant. Asserting that somebody is a /fucking moron/ is simple abuse, and that does seem to be the only kind that you can manage. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 05:18
Date: Tue, 10 Nov 2026 05:18
34 lines
2974 bytes
2974 bytes
On 10/11/2026 2:23 pm, john larkin wrote: > On Mon, 9 Nov 2026 23:31:54 +0800, Johann 'Myrkraverk' Oskarsson > <johann@myrkraverk.invalid> wrote: > >> On 10/31/2026 11:17 PM, Bill Sloman wrote: >>> >>> I don't make a habit of it, but there's no diplomatic way of getting the >>> message across, when people are ignorant (which happens quite a lot), or >>> stupid (which is rarer). >> >> Of course, you never see the same fault in yourself, you /fucking >> moron/! > > It's not anyone's fault that they are stupid. 50% of the population is > below the median IQ. I'm not. It's hard to get a Ph.D. if you can't score higher than 115 on a IQ test, and I didn't have any trouble doing that, though I did take a while to finish the project. The IQ test is a cheap, simple and none too reliable measure of intelligence, but stupid people do pay more attention to IQ scores than they should. > > Be kind to the people who weren't lucky to be born beautiful geniuses > like us. John Larkin isn't a genius - neither is Donald Trump - but egomaniacs do like to make those kinds of claims > It is people's fault if they are nasty. In some situations being nasty is the only way to get the message across. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 05:32
Date: Tue, 10 Nov 2026 05:32
39 lines
3359 bytes
3359 bytes
On 10/11/2026 2:40 am, Johann 'Myrkraverk' Oskarsson wrote: > On 10/30/2026 9:36 PM, Martin Brown wrote: >> I was always struck by the typical senior managers password being so >> weak that it was hardly worth having. Some of them even had it written >> on a postit and stuck to their screen! You couldn't make it up! > > By observation -- and this is something Bill Sloman never understands, > he doesn't observe anything - I wonder what observation Johann 'Myrkraverk' Oskarsson based this clain on? It looks more like mindless abuse. - the fault lies with nobody of sufficient > social status being around to /correct/ the managers. Managers don't like being corrected, and they do tend to manage their environments so that it doesn't happen often, and never in public. > And since they are the ones hiring and firing the /security consultants/ > their own view is more important than whoever tries to teach them good > password habits. > > Really, it's fine to write passwords down; just do it in a book you keep > in your pocket, and don't forget it by the computer [terminal]. > > And once you start writing the passwords down, you don't need to be > afraid of the cryptographically secure random password generators. > > 2FA helps if the password gets stolen somehow; it's usually not lifted > from the book. It's still annoying. Two factor indentification for me is getting a text message on my mobile phone (which I do keep in my hip pocket). My bank has sent me a random number generator which puts up a new six digit random number every minute or so, and telling them what it is showing when they ask me seems to be a sufficient additional identifier for them. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 05:49
Date: Tue, 10 Nov 2026 05:49
80 lines
5072 bytes
5072 bytes
On 10/11/2026 2:12 am, john larkin wrote: > On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> > wrote: > >> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>> wrote: >>>>> >>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>> >>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>> >>>>>>>>>>> segmented memory and hard separation of program and data. Signed drivers >>>>>>>>>> >>>>>>>>>> Not a Lisp fan then? >>>>>>>>> >>>>>>>>> People love to invent weird computer languages. There are over 3000 >>>>>>>>> and they keep coming. >>>>>>>> >>>>>>>> Real men code in binary using the front panel switches. >>>>>>>> >>>>>>>> I actually used a PDP-7 where you really did have to bootstrap it that >>>>>>>> way to read in a paper tape. It was a fun machine as it had a vector >>>>>>>> graphics display so was very good for asteroids, but cheated at chess. >>>>>>> >>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With a few >>>>>>> macros, they are almost higher-level languages. >>>>>> >>>>>> All high level languages get compiled into assembly language before they >>>>>> can be run on a computer. >>>>> >>>>> Well, no. >>>> >>>> Counter-example? >>>> >>>>>> Being a compiler is tedious. >>>>>> >>>>>>> Unlike some architectures that I might name. >>>>>> >>>>>> A language isn't an architecture. It has to be processed into something >>>>>> that can be run on hardware (which will have an architecture - it is >>>>>> constructed from components that have been connected by some kind of >>>>>> architect). >>>>> >>>>> If that post were compiled to assembly language, it would be a nop. >>>> >>>> As a compiler, you do seem to be sub-optimal, if not downright >>>> afunctional. Ignoring implications you don't like isn't an option for a >>>> compiler. There can be functions they can't parse - in your case don't >>>> want to parse - but that doesn't generate a nop. >>> >>> You clearly go into an area where you are not an expert. >> >> I'm not pretending to be an expert, just less of a clueless newbie in >> the area that John Larkin has shown himself to be. > > I've written several compilers and several RTOS's and a bunch of > system simulators and hundreds of application programs, a good chunk > of a million lines of code. From PDP8 to ARM and one CPU that I > designed myself. And I'm sure that you are perfectly happy with all of them. Egomaniacs do go around describing themself as "stable geniuses". > What's your definition of newbie? Somebody who doesn't know enough about what he his doing to be aware of the areas he doesn't know enough about. It's not so much about what you know, as what you know about the limits of your knowledge. -- Bill Sloman, Sydney
Re: Arms race
Author: Liz Tuddenham
Date: Tue, 10 Nov 2026 10:12
Date: Tue, 10 Nov 2026 10:12
13 lines
1784 bytes
1784 bytes
Bill Sloman <bill.sloman@ieee.org> wrote: [...] > in areas where you are ignorant you > can end up looking pretty stupid to people who are less ignorant. Conversely, in areas where you are knowledgeable, you can look stupid to people who are ignorant. -- ~ Liz Tuddenham ~ (Remove the ".invalid"s and add ".co.uk" to reply) www.poppyrecords.co.uk
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 10:20
Date: Tue, 10 Nov 2026 10:20
155 lines
7976 bytes
7976 bytes
On 11/10/2026 1:49 PM, Bill Sloman wrote: > On 10/11/2026 2:12 am, john larkin wrote: >> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >> wrote: >> >>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>>> wrote: >>>>>> >>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>> >>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>> >>>>>>>>>>>> segmented memory and hard separation of program and data. >>>>>>>>>>>> Signed drivers >>>>>>>>>>> >>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>> >>>>>>>>>> People love to invent weird computer languages. There are over >>>>>>>>>> 3000 >>>>>>>>>> and they keep coming. >>>>>>>>> >>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>> >>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap >>>>>>>>> it that >>>>>>>>> way to read in a paper tape. It was a fun machine as it had a >>>>>>>>> vector >>>>>>>>> graphics display so was very good for asteroids, but cheated at >>>>>>>>> chess. >>>>>>>> >>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With >>>>>>>> a few >>>>>>>> macros, they are almost higher-level languages. >>>>>>> >>>>>>> All high level languages get compiled into assembly language >>>>>>> before they >>>>>>> can be run on a computer. >>>>>> >>>>>> Well, no. >>>>> >>>>> Counter-example? >>>>> >>>>>>> Being a compiler is tedious. >>>>>>> >>>>>>>> Unlike some architectures that I might name. >>>>>>> >>>>>>> A language isn't an architecture. It has to be processed into >>>>>>> something >>>>>>> that can be run on hardware (which will have an architecture - it is >>>>>>> constructed from components that have been connected by some kind of >>>>>>> architect). >>>>>> >>>>>> If that post were compiled to assembly language, it would be a nop. >>>>> >>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>> afunctional. Ignoring implications you don't like isn't an option >>>>> for a >>>>> compiler. There can be functions they can't parse - in your case don't >>>>> want to parse - but that doesn't generate a nop. >>>> >>>> You clearly go into an area where you are not an expert. >>> >>> I'm not pretending to be an expert, just less of a clueless newbie in >>> the area that John Larkin has shown himself to be. >> >> I've written several compilers and several RTOS's and a bunch of >> system simulators and hundreds of application programs, a good chunk >> of a million lines of code. From PDP8 to ARM and one CPU that I >> designed myself. > > And I'm sure that you are perfectly happy with all of them. Egomaniacs > do go around describing themself as "stable geniuses". >> What's your definition of newbie? > > Somebody who doesn't know enough about what he his doing to be aware of > the areas he doesn't know enough about. It's not so much about what you > know, as what you know about the limits of your knowledge. > And then we have the military term "unknown unknown." For instance in business, you cannot prevent someone from inventing something else, that completely obsoletes your business. In /tech/, this is not an unknown unknown, because it's been done so many times in living memory. It can still happen in other fields, com- pletely blind-sighting the billionaires in charge of it. Some people refer to this as a /black swan/ event, which I believe comes from the field of economics. And, to combine this topic with another one, since we were talking about compilers, in the 90s, prior to the publication of GCC 2.95 [1], it would have been considered an /unknown unknown/ that compilers could be- come malicious to security sensitive programming. I bring you [2] as exhibit A, and give the relevant quote. The short and long is that, today, the only way to access a constant time implementation from Rust is to write said implementation in assembly. I'll add that this is about comparing security sensitive strings, us- ually of fixed length [3], and /not/ an O( 1 ) algorithm. You can read this poster's point about why LLVM is not a polite com- piler at [2]. Now, if you want to argue this conclusion, you'll have to make an acc- ount on Stack Overflow, and comment there. In other words, the only way to write constant time cryptography, is ba- sically to do it in assembly, if any of GCC, LLVM, or MSVC are to com- pile it. In that sense, the /social contract/ between security sensitive program- ming, and compiler makers has been broken. And since we are in sci.electronics.design, we can also add that hard- ware manufacturers typically do not assert in their manuals that a spe- cific instruction is constant time, so now we get to wait and see if any of the x86, or ARM, or maybe even RISC-V manufacturers bring back the evil that was -- to my recollection -- the original 68000 shift instruc- tion which spent more clock time for larger shift values. And to finish this off with a warning, I have read the above for adults, so if you less-than-jr-high-school reading comprehension isn't up to the task of figuring out what I'm saying, that's squarely on you. Best wishes, and happy constant time algorithms! [1] Given Anton Ertl's research. [2] https://stackoverflow.com/questions/44691363/how-to-compare-strings-in-constant-time [3] Hashed passwords are always the same length, but if the length changes, comparing them in constant time doesn't work; this should be obvious. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 10:22
Date: Tue, 10 Nov 2026 10:22
11 lines
2223 bytes
2223 bytes
On 11/10/2026 6:20 PM, Johann 'Myrkraverk' Oskarsson wrote: > And to finish this off with a warning, I have read the above for adults, > so if you less-than-jr-high-school reading comprehension isn't up to the > task of figuring out what I'm saying, that's squarely on you. Sorry, *written; I send before proof reading! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 10:31
Date: Tue, 10 Nov 2026 10:31
40 lines
3274 bytes
3274 bytes
On 11/10/2026 1:10 PM, Bill Sloman wrote: > On 10/11/2026 2:31 am, Johann 'Myrkraverk' Oskarsson wrote: >> On 10/31/2026 11:17 PM, Bill Sloman wrote: >>> >>> I don't make a habit of it, but there's no diplomatic way of getting >>> the message across, when people are ignorant (which happens quite a >>> lot), or stupid (which is rarer). >> >> Of course, you never see the same fault in yourself, you /fucking >> moron/! > > There are loads of areas where I'm totally ignorant. Real world feedback > suggests that I'm not stupid, but in areas where you are ignorant you > can end up looking pretty stupid to people who are less ignorant. > > Asserting that somebody is a /fucking moron/ is simple abuse, and that > does seem to be the only kind that you can manage. > No, absolutely not. I'm capable of quite complex abuse, which you'd re- member if you bothered to remember anything. The point here, is that you deserve the abuse. Everyone here knows it, and now you do too. You seem to think that throwing abusing in some- one's face doesn't get you abuse thrown in yours. Now I'm here to edu- cate you on the error of your ways. The education you should have gott- en in kindergarten but didn't. Maybe you didn't get to kindergarten. You see, you seem to be completely ignorant of how the real world works. So now you get to /feel/ the consequences of your own actions, of origi- nally throwing abuse in my direction. You missed. And now you get more back. Happy receiving abuse, you fucking moron! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 10:38
Date: Tue, 10 Nov 2026 10:38
41 lines
3393 bytes
3393 bytes
On 11/10/2026 6:12 PM, Liz Tuddenham wrote: > Bill Sloman <bill.sloman@ieee.org> wrote: > > [...] >> in areas where you are ignorant you >> can end up looking pretty stupid to people who are less ignorant. > > Conversely, in areas where you are knowledgeable, you can look stupid to > people who are ignorant. > And this happens all the time. It's kind of better to be a /midwit/ than a genius [1]. I've seen that a lot, in online /special interest/ groups, and be subject to such abuse myself. The problem when people get abusive, and say someone is /incompetent/, is that they are gener- ally wrong. First, the moron can learn, and become greater that the person throwing the abuse. This is an effect of time. Second, the ab- user rarely follows up with /why/ said abuse was thrown, so the receiver is left to ponder -- is there something I don't know, or are you just a moron? Now, people been around the block a few times know that today's ignora- mus can be a /jedi master/ in a few months, or years, and doesn't have to tell the rest of the group about their knowledge accumulation. So they always end up as /just another moron/ once the person knows better. This is called /lack of social skills/, and has real consequences. Something some members of sci.electronics.design have yet to learn. Best wishes, and happy jedi mastery! [1] If we use that term, the meme with the IQ curve I'm referring to has a /moron/ on the left, and a /jedi master/ on the right. The terms do not matter so much as long as we're being understood. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 10:53
Date: Tue, 10 Nov 2026 10:53
65 lines
4463 bytes
4463 bytes
On 11/10/2026 2:23 AM, Don Y wrote: > On 11/9/2026 8:28 AM, Johann 'Myrkraverk' Oskarsson wrote: >> On 10/29/2026 8:59 PM, Don Y wrote: >>> Management of these processes is the cause of most bad designs. >>> The folks doing so are usually pretty ignorant of the efforts they >>> are charged with managing! >> >> Please excuse me, I probably showed this example earlier this year in >> sci.electronics.design. A good example is >> >>   https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/ >> >> where the /management/ was too lazy to hire a cryptographer for the pro- >> ject. It's not like you can accuse Oracle of not affording one. > > This (and the opposite: hiring someone and then ignoring their "expert > recommendations") happens surprisingly often. > > The people making the decisions aren't aware of how much they are unaware. > Dunning-Kruger. Particularly dangerous when The Ignorant are in charge. > > Nowhere is this more evident than in software as ANYONE can write code > and, true to D-K, they all *think* they know far more than they actually > do. "I've written..." yeah, but were any of those really more than trivial > exercises? I.e., if it was the sort of problem we'd get in a homework > assignment, you know it has a complexity on the order of 8 hours or less > (cuz the homework budget for a course was 8 hours) > > Another favorite is "real-time" -- particularly "hard" vs. "soft". > When most folks think it means "real fast" (it doesn't). Or, that > "hard" is "more difficult" than "soft" (the opposite is true -- in > spades -- which is why so many newbies resort to HRT solutions > to problems... they can't think beyond FORCING a hard requirement > when none is required... even in nuclear defenses!) > > But, so much of this is ingrained that challenging it threatens > most folks' notion of their own competence so they ignore learning > about those things where their ignorance is so profound. > > [You have to learn to work AROUND such people lest they compromise > any good work] Thank you. When it comes to highly paid managers, or CEOs for that matter, I have this theory that /whoever is paid more is right/. Which while watching financial crisis reenactment movies [1] seems to be true. Of course I'm not completely sure of this, and there are always excep- tions, so we can consider it a /working theory/, and add more observa- tions of managers to the mix to see if it comes out statistically true or false. On the prior topic, I also lack experience in hard real time design, and don't even have a lot to say about the soft part of it. It's something I'll keep in mind whenever I find myself facing such projects. Best wishes, and happy real time projects! [1] They are never absolutely true to life, so need to be taken with a pillar of salt, or maybe several. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 11:02
Date: Tue, 10 Nov 2026 11:02
18 lines
2549 bytes
2549 bytes
On 11/10/2026 5:14 AM, Waldek Hebisch wrote: > Actually, at '-O2' version of 'gcc' that I use replaces explicit > division by 0 by the 'ud2' instruction. Shouldn't that be considered /erroneous compilation/? I mean, you can write a signal handler that catches all signals, and isn't /division by zero/ one of the Posix signals? Is the compiler prescient and makes sure this only happens if the binary is ever run when the user isn't ex- plictly expecting a division by zero -- rather than /invalid opcode/? Does the question bother you? Am I too high, or too low on the /moron/ vs. /jedi master/ axis to be understood? Should we put all the GCC devs in therapy for believing they are prescient? -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 12:41
Date: Tue, 10 Nov 2026 12:41
98 lines
5571 bytes
5571 bytes
On 10/11/2026 9:20 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 1:49 PM, Bill Sloman wrote: >> On 10/11/2026 2:12 am, john larkin wrote: >>> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >>> wrote: >>> >>>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman >>>>>>> <bill.sloman@ieee.org> >>>>>>> wrote: >>>>>>> >>>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>> >>>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> segmented memory and hard separation of program and data. >>>>>>>>>>>>> Signed drivers >>>>>>>>>>>> >>>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>>> >>>>>>>>>>> People love to invent weird computer languages. There are >>>>>>>>>>> over 3000 >>>>>>>>>>> and they keep coming. >>>>>>>>>> >>>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>>> >>>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap >>>>>>>>>> it that >>>>>>>>>> way to read in a paper tape. It was a fun machine as it had a >>>>>>>>>> vector >>>>>>>>>> graphics display so was very good for asteroids, but cheated >>>>>>>>>> at chess. >>>>>>>>> >>>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With >>>>>>>>> a few >>>>>>>>> macros, they are almost higher-level languages. >>>>>>>> >>>>>>>> All high level languages get compiled into assembly language >>>>>>>> before they >>>>>>>> can be run on a computer. >>>>>>> >>>>>>> Well, no. >>>>>> >>>>>> Counter-example? >>>>>> >>>>>>>> Being a compiler is tedious. >>>>>>>> >>>>>>>>> Unlike some architectures that I might name. >>>>>>>> >>>>>>>> A language isn't an architecture. It has to be processed into >>>>>>>> something >>>>>>>> that can be run on hardware (which will have an architecture - >>>>>>>> it is >>>>>>>> constructed from components that have been connected by some >>>>>>>> kind of >>>>>>>> architect). >>>>>>> >>>>>>> If that post were compiled to assembly language, it would be a nop. >>>>>> >>>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>>> afunctional. Ignoring implications you don't like isn't an option >>>>>> for a >>>>>> compiler. There can be functions they can't parse - in your case >>>>>> don't >>>>>> want to parse - but that doesn't generate a nop. >>>>> >>>>> You clearly go into an area where you are not an expert. >>>> >>>> I'm not pretending to be an expert, just less of a clueless newbie in >>>> the area that John Larkin has shown himself to be. >>> >>> I've written several compilers and several RTOS's and a bunch of >>> system simulators and hundreds of application programs, a good chunk >>> of a million lines of code. From PDP8 to ARM and one CPU that I >>> designed myself. >> >> And I'm sure that you are perfectly happy with all of them. Egomaniacs >> do go around describing themself as "stable geniuses". >>> What's your definition of newbie? >> >> Somebody who doesn't know enough about what he his doing to be aware >> of the areas he doesn't know enough about. It's not so much about what >> you know, as what you know about the limits of your knowledge. <snipped pretentious twaddle> -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 12:46
Date: Tue, 10 Nov 2026 12:46
15 lines
2524 bytes
2524 bytes
On 10/11/2026 9:22 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 6:20 PM, Johann 'Myrkraverk' Oskarsson wrote: > >> And to finish this off with a warning, I have read the above for adults, >> so if you less-than-jr-high-school reading comprehension isn't up to the >> task of figuring out what I'm saying, that's squarely on you. > Sorry, *written; I send before proof reading! "Sent" before proof reading. You imagine that you wrote your pretentious twaddle for adults, not realising that the "adults" have noticed that you don't have anything useful to say, and have mostly got around to plonking you. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 13:08
Date: Tue, 10 Nov 2026 13:08
35 lines
3380 bytes
3380 bytes
On 10/11/2026 9:38 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 6:12 PM, Liz Tuddenham wrote: >> Bill Sloman <bill.sloman@ieee.org> wrote: > > [1] If we use that term, the meme with the IQ curve I'm referring to has > a /moron/ on the left, and a /jedi master/ on the right. The terms do > not matter so much as long as we're being understood. What's obvious that you understand IQ curves to be scoring a single-valued parameter. It's well known that there are lots of components to the faculty that is usually described as intelligence. Quite a lot of work was done early on om multifactor intelligence tests, but it didn't go anywhere useful. The people doing the work didn't have much of a clue what the different factors might be, and didn't find any practical way of teasing out what they might be. When people in recent years started using magnetic resonance images of the brain to work out what was going on in the brain, where, and in what sequence, they didn't do any better. It's complicated and we need tools with a lot better discrimination than we have at the moment. If you think that you can divide the world into a linear array of people running from moron to the left to jedi master on the right, you've put yourself into the moron category. My late wife was a psycholinguist who spoke four languages fluently and was a foreign member of the US Academy of Science and a Fellow of the Royal Society of London, but she didn't know much about electronics. At least she had enough sense not to post here. -- Bill Sloman, Sydney
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 13:30
Date: Tue, 10 Nov 2026 13:30
36 lines
3148 bytes
3148 bytes
On 11/10/2026 8:46 PM, Bill Sloman wrote: > On 10/11/2026 9:22 pm, Johann 'Myrkraverk' Oskarsson wrote: >> On 11/10/2026 6:20 PM, Johann 'Myrkraverk' Oskarsson wrote: >> >>> And to finish this off with a warning, I have read the above for adults, >>> so if you less-than-jr-high-school reading comprehension isn't up to the >>> task of figuring out what I'm saying, that's squarely on you. >> Sorry, *written; I send before proof reading! > > "Sent" before proof reading. You imagine that you wrote your pretentious > twaddle for adults, not realising that the "adults" have noticed that > you don't have anything useful to say, and have mostly got around to > plonking you. > Speaking for yourself, are you? Because here in sci.electronics.design, you're the only one plonking. And you're plonking everyone else. So you're the bully who has never faced the consequences of his own ac- tions. And I'm here now, and I'll take none of it silently. You are a fucking bully, and you don't know it. Now you do. And everyone else here in sci.electronics.design knew it too but was too polite to tell you -- maybe. I didn't read the 30 year backlog. Best wishes, and keep being miserable for the next fifty years -- at least! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 13:31
Date: Tue, 10 Nov 2026 13:31
36 lines
2913 bytes
2913 bytes
On 10/11/2026 9:31 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 1:10 PM, Bill Sloman wrote: >> On 10/11/2026 2:31 am, Johann 'Myrkraverk' Oskarsson wrote: >>> On 10/31/2026 11:17 PM, Bill Sloman wrote: >>>> >>>> I don't make a habit of it, but there's no diplomatic way of getting >>>> the message across, when people are ignorant (which happens quite a >>>> lot), or stupid (which is rarer). >>> >>> Of course, you never see the same fault in yourself, you /fucking >>> moron/! >> >> There are loads of areas where I'm totally ignorant. Real world >> feedback suggests that I'm not stupid, but in areas where you are >> ignorant you can end up looking pretty stupid to people who are less >> ignorant. >> >> Asserting that somebody is a /fucking moron/ is simple abuse, and that >> does seem to be the only kind that you can manage. >> > > No, absolutely not. I'm capable of quite complex abuse, which you'd re- > member if you bothered to remember anything. Really? <snip> > Happy receiving abuse, you fucking moron! I'd prefer that you didn't waste bandwidth posting pointless drivel, but I really couldn't care less. -- Bill Sloman, Sydney
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 13:40
Date: Tue, 10 Nov 2026 13:40
57 lines
4296 bytes
4296 bytes
On 11/10/2026 9:08 PM, Bill Sloman wrote: > On 10/11/2026 9:38 pm, Johann 'Myrkraverk' Oskarsson wrote: >> On 11/10/2026 6:12 PM, Liz Tuddenham wrote: >>> Bill Sloman <bill.sloman@ieee.org> wrote: >> >> [1] If we use that term, the meme with the IQ curve I'm referring to has >> a /moron/ on the left, and a /jedi master/ on the right. The terms do >> not matter so much as long as we're being understood. > > What's obvious that you understand IQ curves to be scoring a single- > valued parameter. > > It's well known that there are lots of components to the faculty that is > usually described as intelligence. Quite a lot of work was done early on > om multifactor intelligence tests, but it didn't go anywhere useful. > > The people doing the work didn't have much of a clue what the different > factors might be, and didn't find any practical way of teasing out what > they might be. When people in recent years started using magnetic > resonance images of the brain to work out what was going on in the > brain, where, and in what sequence, they didn't do any better. > > It's complicated and we need tools with a lot better discrimination than > we have at the moment. > > If you think that you can divide the world into a linear array of people > running from moron to the left to jedi master on the right, you've put > yourself into the moron category. > > My late wife was a psycholinguist who spoke four languages fluently and > was a foreign member of the US Academy of Science and a Fellow of the > Royal Society of London, but she didn't know much about electronics. At > least she had enough sense not to post here. > Well, I never met your late wife, but I can tell you that I don't be- lieve anything about the current "understanding" of IQ. It's only use- ful in one context, and that's measuring learning disability. Anything else is just handwavium and useless twiddle twaddle among the academi- cians. This belief is based on actual /real life/ experience, something you have never experienced yourself, demonstrating time and again that you don't know how life works. And, no; I'm not going to bother explaining anything to you, because this is outside the scope of sci.electronics.design, and the rest of the people aren't asking. /You/ personally are not worth explaining anything to. You know that, don't you? Best wishes, and be even more miserable than usual! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Bill Sloman
Date: Tue, 10 Nov 2026 13:41
Date: Tue, 10 Nov 2026 13:41
71 lines
4803 bytes
4803 bytes
On 10/11/2026 9:53 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/10/2026 2:23 AM, Don Y wrote: >> On 11/9/2026 8:28 AM, Johann 'Myrkraverk' Oskarsson wrote: >>> On 10/29/2026 8:59 PM, Don Y wrote: >>>> Management of these processes is the cause of most bad designs. >>>> The folks doing so are usually pretty ignorant of the efforts they >>>> are charged with managing! >>> >>> Please excuse me, I probably showed this example earlier this year in >>> sci.electronics.design. A good example is >>> >>>   https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/ >>> >>> where the /management/ was too lazy to hire a cryptographer for the pro- >>> ject. It's not like you can accuse Oracle of not affording one. >> >> This (and the opposite: hiring someone and then ignoring their "expert >> recommendations") happens surprisingly often. >> >> The people making the decisions aren't aware of how much they are >> unaware. >> Dunning-Kruger. Particularly dangerous when The Ignorant are in charge. >> >> Nowhere is this more evident than in software as ANYONE can write code >> and, true to D-K, they all *think* they know far more than they actually >> do. "I've written..." yeah, but were any of those really more than >> trivial >> exercises? I.e., if it was the sort of problem we'd get in a homework >> assignment, you know it has a complexity on the order of 8 hours or less >> (cuz the homework budget for a course was 8 hours) >> >> Another favorite is "real-time" -- particularly "hard" vs. "soft". >> When most folks think it means "real fast" (it doesn't). Or, that >> "hard" is "more difficult" than "soft" (the opposite is true -- in >> spades -- which is why so many newbies resort to HRT solutions >> to problems... they can't think beyond FORCING a hard requirement >> when none is required... even in nuclear defenses!) >> >> But, so much of this is ingrained that challenging it threatens >> most folks' notion of their own competence so they ignore learning >> about those things where their ignorance is so profound. >> >> [You have to learn to work AROUND such people lest they compromise >> any good work] > > Thank you. When it comes to highly paid managers, or CEOs for that > matter, I have this theory that /whoever is paid more is right/. Which > while watching financial crisis reenactment movies [1] seems to be true. This would mean that American managers, who are paid huge multiples of what the median employee in their firm gets, are right much more often than Japaneses managers who aren't as well paid. > Of course I'm not completely sure of this, and there are always excep- > tions, so we can consider it a /working theory/, and add more observa- > tions of managers to the mix to see if it comes out statistically true > or false. You don't seem to have made even the most basic observation required to test the hypothesis. > On the prior topic, I also lack experience in hard real time design, and > don't even have a lot to say about the soft part of it. It's something > I'll keep in mind whenever I find myself facing such projects. Any manager worth their salt wouldn't put you on such a project if they had any choice. -- Bill Sloman, Sydney
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 15:37
Date: Tue, 10 Nov 2026 15:37
45 lines
3100 bytes
3100 bytes
On Tue, 10 Nov 2026 16:18:38 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 10/11/2026 2:23 pm, john larkin wrote: >> On Mon, 9 Nov 2026 23:31:54 +0800, Johann 'Myrkraverk' Oskarsson >> <johann@myrkraverk.invalid> wrote: >> >>> On 10/31/2026 11:17 PM, Bill Sloman wrote: >>>> >>>> I don't make a habit of it, but there's no diplomatic way of getting the >>>> message across, when people are ignorant (which happens quite a lot), or >>>> stupid (which is rarer). >>> >>> Of course, you never see the same fault in yourself, you /fucking >>> moron/! >> >> It's not anyone's fault that they are stupid. 50% of the population is >> below the median IQ. > >I'm not. It's hard to get a Ph.D. if you can't score higher than 115 on >a IQ test, and I didn't have any trouble doing that, though I did take >a while to finish the project. The IQ test is a cheap, simple and none >too reliable measure of intelligence, but stupid people do pay more >attention to IQ scores than they should. >> >> Be kind to the people who weren't lucky to be born beautiful geniuses >> like us. > >John Larkin isn't a genius - neither is Donald Trump - but egomaniacs do >like to make those kinds of claims > >> It is people's fault if they are nasty. > >In some situations being nasty is the only way to get the message across. It's the stupid, nasty, lazy, least effective way. Especially when you're not right. I think that's recursive. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 15:42
Date: Tue, 10 Nov 2026 15:42
50 lines
3591 bytes
3591 bytes
On Tue, 10 Nov 2026 18:38:47 +0800, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: >On 11/10/2026 6:12 PM, Liz Tuddenham wrote: >> Bill Sloman <bill.sloman@ieee.org> wrote: >> >> [...] >>> in areas where you are ignorant you >>> can end up looking pretty stupid to people who are less ignorant. >> >> Conversely, in areas where you are knowledgeable, you can look stupid to >> people who are ignorant. >> > >And this happens all the time. It's kind of better to be a /midwit/ >than a genius [1]. I've seen that a lot, in online /special interest/ >groups, and be subject to such abuse myself. The problem when people >get abusive, and say someone is /incompetent/, is that they are gener- >ally wrong. First, the moron can learn, and become greater that the >person throwing the abuse. This is an effect of time. Second, the ab- >user rarely follows up with /why/ said abuse was thrown, so the receiver >is left to ponder -- is there something I don't know, or are you just a >moron? > >Now, people been around the block a few times know that today's ignora- >mus can be a /jedi master/ in a few months, or years, and doesn't have >to tell the rest of the group about their knowledge accumulation. So >they always end up as /just another moron/ once the person knows better. > >This is called /lack of social skills/, and has real consequences. >Something some members of sci.electronics.design have yet to learn. > > >Best wishes, and happy jedi mastery! > > >[1] If we use that term, the meme with the IQ curve I'm referring to has >a /moron/ on the left, and a /jedi master/ on the right. The terms do >not matter so much as long as we're being understood. Some people have extreme talents. It might be math, music, tennis, whatever. Some part of their brain is six-sigma good, often at the expense of other parts. The specialized-genius bit can also make them obnoxious. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 15:53
Date: Tue, 10 Nov 2026 15:53
102 lines
5596 bytes
5596 bytes
On Tue, 10 Nov 2026 16:49:55 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 10/11/2026 2:12 am, john larkin wrote: >> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >> wrote: >> >>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>>> wrote: >>>>>> >>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>> >>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>> >>>>>>>>>>>> segmented memory and hard separation of program and data. Signed drivers >>>>>>>>>>> >>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>> >>>>>>>>>> People love to invent weird computer languages. There are over 3000 >>>>>>>>>> and they keep coming. >>>>>>>>> >>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>> >>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap it that >>>>>>>>> way to read in a paper tape. It was a fun machine as it had a vector >>>>>>>>> graphics display so was very good for asteroids, but cheated at chess. >>>>>>>> >>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With a few >>>>>>>> macros, they are almost higher-level languages. >>>>>>> >>>>>>> All high level languages get compiled into assembly language before they >>>>>>> can be run on a computer. >>>>>> >>>>>> Well, no. >>>>> >>>>> Counter-example? >>>>> >>>>>>> Being a compiler is tedious. >>>>>>> >>>>>>>> Unlike some architectures that I might name. >>>>>>> >>>>>>> A language isn't an architecture. It has to be processed into something >>>>>>> that can be run on hardware (which will have an architecture - it is >>>>>>> constructed from components that have been connected by some kind of >>>>>>> architect). >>>>>> >>>>>> If that post were compiled to assembly language, it would be a nop. >>>>> >>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>> afunctional. Ignoring implications you don't like isn't an option for a >>>>> compiler. There can be functions they can't parse - in your case don't >>>>> want to parse - but that doesn't generate a nop. >>>> >>>> You clearly go into an area where you are not an expert. >>> >>> I'm not pretending to be an expert, just less of a clueless newbie in >>> the area that John Larkin has shown himself to be. >> >> I've written several compilers and several RTOS's and a bunch of >> system simulators and hundreds of application programs, a good chunk >> of a million lines of code. From PDP8 to ARM and one CPU that I >> designed myself. > >And I'm sure that you are perfectly happy with all of them. Egomaniacs >do go around describing themself as "stable geniuses". I wouldn't do that! >> What's your definition of newbie? > >Somebody who doesn't know enough about what he his doing to be aware of >the areas he doesn't know enough about. It's not so much about what you >know, as what you know about the limits of your knowledge. Electronic design talent is reality-checked by what works. This worked first build. One of my guys wants to change one resistor, so I guess I'll let him. https://www.dropbox.com/scl/fi/69wwpsoc0o47cidxwust7/B360_20260813_110116.jpg?rlkey=y0sxkzswmgj3wa9lvf9ihbdio&raw=1 Actually, we may change the big yellow polyfuse too. Manufacturing wants to kink the leads for solderability, but that lifts it up and then it hits the top cover and then we'd have to bend it over and that would look goofy. Life sucks. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 15:59
Date: Tue, 10 Nov 2026 15:59
167 lines
8242 bytes
8242 bytes
On Tue, 10 Nov 2026 18:20:58 +0800, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: >On 11/10/2026 1:49 PM, Bill Sloman wrote: >> On 10/11/2026 2:12 am, john larkin wrote: >>> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >>> wrote: >>> >>>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>>>> wrote: >>>>>>> >>>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>> >>>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> segmented memory and hard separation of program and data. >>>>>>>>>>>>> Signed drivers >>>>>>>>>>>> >>>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>>> >>>>>>>>>>> People love to invent weird computer languages. There are over >>>>>>>>>>> 3000 >>>>>>>>>>> and they keep coming. >>>>>>>>>> >>>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>>> >>>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap >>>>>>>>>> it that >>>>>>>>>> way to read in a paper tape. It was a fun machine as it had a >>>>>>>>>> vector >>>>>>>>>> graphics display so was very good for asteroids, but cheated at >>>>>>>>>> chess. >>>>>>>>> >>>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With >>>>>>>>> a few >>>>>>>>> macros, they are almost higher-level languages. >>>>>>>> >>>>>>>> All high level languages get compiled into assembly language >>>>>>>> before they >>>>>>>> can be run on a computer. >>>>>>> >>>>>>> Well, no. >>>>>> >>>>>> Counter-example? >>>>>> >>>>>>>> Being a compiler is tedious. >>>>>>>> >>>>>>>>> Unlike some architectures that I might name. >>>>>>>> >>>>>>>> A language isn't an architecture. It has to be processed into >>>>>>>> something >>>>>>>> that can be run on hardware (which will have an architecture - it is >>>>>>>> constructed from components that have been connected by some kind of >>>>>>>> architect). >>>>>>> >>>>>>> If that post were compiled to assembly language, it would be a nop. >>>>>> >>>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>>> afunctional. Ignoring implications you don't like isn't an option >>>>>> for a >>>>>> compiler. There can be functions they can't parse - in your case don't >>>>>> want to parse - but that doesn't generate a nop. >>>>> >>>>> You clearly go into an area where you are not an expert. >>>> >>>> I'm not pretending to be an expert, just less of a clueless newbie in >>>> the area that John Larkin has shown himself to be. >>> >>> I've written several compilers and several RTOS's and a bunch of >>> system simulators and hundreds of application programs, a good chunk >>> of a million lines of code. From PDP8 to ARM and one CPU that I >>> designed myself. >> >> And I'm sure that you are perfectly happy with all of them. Egomaniacs >> do go around describing themself as "stable geniuses". >>> What's your definition of newbie? >> >> Somebody who doesn't know enough about what he his doing to be aware of >> the areas he doesn't know enough about. It's not so much about what you >> know, as what you know about the limits of your knowledge. >> > >And then we have the military term "unknown unknown." For instance in >business, you cannot prevent someone from inventing something else, that >completely obsoletes your business. > >In /tech/, this is not an unknown unknown, because it's been done so >many times in living memory. It can still happen in other fields, com- >pletely blind-sighting the billionaires in charge of it. > >Some people refer to this as a /black swan/ event, which I believe comes >from the field of economics. > >And, to combine this topic with another one, since we were talking about >compilers, in the 90s, prior to the publication of GCC 2.95 [1], it >would have been considered an /unknown unknown/ that compilers could be- >come malicious to security sensitive programming. I bring you [2] as >exhibit A, and give the relevant quote. > > The short and long is that, today, the only way to access a constant > time implementation from Rust is to write said implementation in > assembly. > >I'll add that this is about comparing security sensitive strings, us- >ually of fixed length [3], and /not/ an O( 1 ) algorithm. > >You can read this poster's point about why LLVM is not a polite com- >piler at [2]. > >Now, if you want to argue this conclusion, you'll have to make an acc- >ount on Stack Overflow, and comment there. > >In other words, the only way to write constant time cryptography, is ba- >sically to do it in assembly, if any of GCC, LLVM, or MSVC are to com- >pile it. > >In that sense, the /social contract/ between security sensitive program- >ming, and compiler makers has been broken. > >And since we are in sci.electronics.design, we can also add that hard- >ware manufacturers typically do not assert in their manuals that a spe- >cific instruction is constant time, so now we get to wait and see if any >of the x86, or ARM, or maybe even RISC-V manufacturers bring back the >evil that was -- to my recollection -- the original 68000 shift instruc- >tion which spent more clock time for larger shift values. > >And to finish this off with a warning, I have read the above for adults, >so if you less-than-jr-high-school reading comprehension isn't up to the >task of figuring out what I'm saying, that's squarely on you. > > > >Best wishes, and happy constant time algorithms! > > >[1] Given Anton Ertl's research. > >[2] >https://stackoverflow.com/questions/44691363/how-to-compare-strings-in-constant-time > >[3] Hashed passwords are always the same length, but if the length >changes, comparing them in constant time doesn't work; this should be >obvious. I'm always impressed by how few programmers have even a rough idea of how much time it takes to execute their code. Guessing off by 10:1 is common. I get a scope and measure it. We have a 75-cent dual-core ARM making a 100 MHz square wave, lines of c setting a port bit up and down. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Tue, 10 Nov 2026 16:16
Date: Tue, 10 Nov 2026 16:16
27 lines
2849 bytes
2849 bytes
Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: |-----------------------------------------------------------------------| |"[. . .] Part of the | |theme of the book is the incompetence on the part of the police team --| |this includes Mike himself -- in planning and executing the undercover | |stint. [. . .] | |[. . .]" | |-----------------------------------------------------------------------| Hej! Do you know if there are any similar books about Scandinavian or Icelandic incompetent police forces or other incompetent authorities (e.g. courts)? (I do not need such books to be in English - I can read Swedish etc.) I asked a friend in Sweden is "Skiftet" on Netflix a true story. He did not know. (It is not a true story, but it is supposed to be realistic.) Thanks. |-----------------------------------------------------------------------| |"As for how he survived, it's best you just read the book to find out. | | | |[. . .]" | |-----------------------------------------------------------------------| The blurb is not convincing that a person could really survive being shot in his head. (Trump does survive, because an ear got shot.) (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 18:21
Date: Tue, 10 Nov 2026 18:21
181 lines
9068 bytes
9068 bytes
On 11/10/2026 11:59 PM, john larkin wrote: > On Tue, 10 Nov 2026 18:20:58 +0800, Johann 'Myrkraverk' Oskarsson > <johann@myrkraverk.invalid> wrote: > >> On 11/10/2026 1:49 PM, Bill Sloman wrote: >>> On 10/11/2026 2:12 am, john larkin wrote: >>>> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >>>> wrote: >>>> >>>>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>> >>>>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> segmented memory and hard separation of program and data. >>>>>>>>>>>>>> Signed drivers >>>>>>>>>>>>> >>>>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>>>> >>>>>>>>>>>> People love to invent weird computer languages. There are over >>>>>>>>>>>> 3000 >>>>>>>>>>>> and they keep coming. >>>>>>>>>>> >>>>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>>>> >>>>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap >>>>>>>>>>> it that >>>>>>>>>>> way to read in a paper tape. It was a fun machine as it had a >>>>>>>>>>> vector >>>>>>>>>>> graphics display so was very good for asteroids, but cheated at >>>>>>>>>>> chess. >>>>>>>>>> >>>>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With >>>>>>>>>> a few >>>>>>>>>> macros, they are almost higher-level languages. >>>>>>>>> >>>>>>>>> All high level languages get compiled into assembly language >>>>>>>>> before they >>>>>>>>> can be run on a computer. >>>>>>>> >>>>>>>> Well, no. >>>>>>> >>>>>>> Counter-example? >>>>>>> >>>>>>>>> Being a compiler is tedious. >>>>>>>>> >>>>>>>>>> Unlike some architectures that I might name. >>>>>>>>> >>>>>>>>> A language isn't an architecture. It has to be processed into >>>>>>>>> something >>>>>>>>> that can be run on hardware (which will have an architecture - it is >>>>>>>>> constructed from components that have been connected by some kind of >>>>>>>>> architect). >>>>>>>> >>>>>>>> If that post were compiled to assembly language, it would be a nop. >>>>>>> >>>>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>>>> afunctional. Ignoring implications you don't like isn't an option >>>>>>> for a >>>>>>> compiler. There can be functions they can't parse - in your case don't >>>>>>> want to parse - but that doesn't generate a nop. >>>>>> >>>>>> You clearly go into an area where you are not an expert. >>>>> >>>>> I'm not pretending to be an expert, just less of a clueless newbie in >>>>> the area that John Larkin has shown himself to be. >>>> >>>> I've written several compilers and several RTOS's and a bunch of >>>> system simulators and hundreds of application programs, a good chunk >>>> of a million lines of code. From PDP8 to ARM and one CPU that I >>>> designed myself. >>> >>> And I'm sure that you are perfectly happy with all of them. Egomaniacs >>> do go around describing themself as "stable geniuses". >>>> What's your definition of newbie? >>> >>> Somebody who doesn't know enough about what he his doing to be aware of >>> the areas he doesn't know enough about. It's not so much about what you >>> know, as what you know about the limits of your knowledge. >>> >> >> And then we have the military term "unknown unknown." For instance in >> business, you cannot prevent someone from inventing something else, that >> completely obsoletes your business. >> >> In /tech/, this is not an unknown unknown, because it's been done so >> many times in living memory. It can still happen in other fields, com- >> pletely blind-sighting the billionaires in charge of it. >> >> Some people refer to this as a /black swan/ event, which I believe comes >>from the field of economics. >> >> And, to combine this topic with another one, since we were talking about >> compilers, in the 90s, prior to the publication of GCC 2.95 [1], it >> would have been considered an /unknown unknown/ that compilers could be- >> come malicious to security sensitive programming. I bring you [2] as >> exhibit A, and give the relevant quote. >> >> The short and long is that, today, the only way to access a constant >> time implementation from Rust is to write said implementation in >> assembly. >> >> I'll add that this is about comparing security sensitive strings, us- >> ually of fixed length [3], and /not/ an O( 1 ) algorithm. >> >> You can read this poster's point about why LLVM is not a polite com- >> piler at [2]. >> >> Now, if you want to argue this conclusion, you'll have to make an acc- >> ount on Stack Overflow, and comment there. >> >> In other words, the only way to write constant time cryptography, is ba- >> sically to do it in assembly, if any of GCC, LLVM, or MSVC are to com- >> pile it. >> >> In that sense, the /social contract/ between security sensitive program- >> ming, and compiler makers has been broken. >> >> And since we are in sci.electronics.design, we can also add that hard- >> ware manufacturers typically do not assert in their manuals that a spe- >> cific instruction is constant time, so now we get to wait and see if any >> of the x86, or ARM, or maybe even RISC-V manufacturers bring back the >> evil that was -- to my recollection -- the original 68000 shift instruc- >> tion which spent more clock time for larger shift values. >> >> And to finish this off with a warning, I have read the above for adults, >> so if you less-than-jr-high-school reading comprehension isn't up to the >> task of figuring out what I'm saying, that's squarely on you. >> >> >> >> Best wishes, and happy constant time algorithms! >> >> >> [1] Given Anton Ertl's research. >> >> [2] >> https://stackoverflow.com/questions/44691363/how-to-compare-strings-in-constant-time >> >> [3] Hashed passwords are always the same length, but if the length >> changes, comparing them in constant time doesn't work; this should be >> obvious. > > I'm always impressed by how few programmers have even a rough idea of > how much time it takes to execute their code. Guessing off by 10:1 is > common. > > I get a scope and measure it. > > We have a 75-cent dual-core ARM making a 100 MHz square wave, lines of > c setting a port bit up and down. > Now, please excuse my ignorance here [1], is that more or less expensive than a Yamaha OPL chip? I guess they aren't made anymore, since I can't find anything on digikey quickly with the keywords "YMF262." So I just don't know how expensive they were. Of course, I'm sure your 75-cent dual-core ARM chips is doing something else too, but I got curious, and couldn't find a price. Best wishes, and happy electronics! [1] And hopefully just enjoy it. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 18:24
Date: Tue, 10 Nov 2026 18:24
60 lines
4183 bytes
4183 bytes
On 11/10/2026 11:42 PM, john larkin wrote: > On Tue, 10 Nov 2026 18:38:47 +0800, Johann 'Myrkraverk' Oskarsson > <johann@myrkraverk.invalid> wrote: > >> On 11/10/2026 6:12 PM, Liz Tuddenham wrote: >>> Bill Sloman <bill.sloman@ieee.org> wrote: >>> >>> [...] >>>> in areas where you are ignorant you >>>> can end up looking pretty stupid to people who are less ignorant. >>> >>> Conversely, in areas where you are knowledgeable, you can look stupid to >>> people who are ignorant. >>> >> >> And this happens all the time. It's kind of better to be a /midwit/ >> than a genius [1]. I've seen that a lot, in online /special interest/ >> groups, and be subject to such abuse myself. The problem when people >> get abusive, and say someone is /incompetent/, is that they are gener- >> ally wrong. First, the moron can learn, and become greater that the >> person throwing the abuse. This is an effect of time. Second, the ab- >> user rarely follows up with /why/ said abuse was thrown, so the receiver >> is left to ponder -- is there something I don't know, or are you just a >> moron? >> >> Now, people been around the block a few times know that today's ignora- >> mus can be a /jedi master/ in a few months, or years, and doesn't have >> to tell the rest of the group about their knowledge accumulation. So >> they always end up as /just another moron/ once the person knows better. >> >> This is called /lack of social skills/, and has real consequences. >> Something some members of sci.electronics.design have yet to learn. >> >> >> Best wishes, and happy jedi mastery! >> >> >> [1] If we use that term, the meme with the IQ curve I'm referring to has >> a /moron/ on the left, and a /jedi master/ on the right. The terms do >> not matter so much as long as we're being understood. > > Some people have extreme talents. It might be math, music, tennis, > whatever. Some part of their brain is six-sigma good, often at the > expense of other parts. > > The specialized-genius bit can also make them obnoxious. > And som people use their /specialized-genius/ as an excuse to be ob- noxius. It's important to recognize those people. Sometimes you want to work with them, and suffer the consequences, but most of the time, they are best left alone. Best wishes, and happy social skills! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 19:40
Date: Tue, 10 Nov 2026 19:40
45 lines
3814 bytes
3814 bytes
On 11/11/2026 12:16 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > Johann 'Myrkraverk' Oskarsson <johann@Myrkraverk.invalid> skrev: > |-----------------------------------------------------------------------| > |"[. . .] Part of the | > |theme of the book is the incompetence on the part of the police team --| > |this includes Mike himself -- in planning and executing the undercover | > |stint. [. . .] | > |[. . .]" | > |-----------------------------------------------------------------------| > > Hej! > > Do you know if there are any similar books about Scandinavian or > Icelandic incompetent police forces or other incompetent authorities > (e.g. courts)? (I do not need such books to be in English - I can read > Swedish etc.) I asked a friend in Sweden is "Skiftet" on Netflix a > true story. He did not know. (It is not a true story, but it is > supposed to be realistic.) Thanks. Not off the top of my head, no. > > |-----------------------------------------------------------------------| > |"As for how he survived, it's best you just read the book to find out. | > | | > |[. . .]" | > |-----------------------------------------------------------------------| > > The blurb is not convincing that a person could really survive being > shot in his head. (Trump does survive, because an ear got shot.) > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) It's been a while since I read the book, so I don't remember that de- tail. It really was just a spur of the moment tsundoku, I had no idea this book was autobiographical when I bought it. And as far as I've been able to check out online, it rings true. Especially the part where the mobsters seemed better organized than the police force, but I'll refrain from spoilers. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: john larkin
Date: Tue, 10 Nov 2026 20:41
Date: Tue, 10 Nov 2026 20:41
188 lines
9428 bytes
9428 bytes
On Wed, 11 Nov 2026 02:21:09 +0800, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: >On 11/10/2026 11:59 PM, john larkin wrote: >> On Tue, 10 Nov 2026 18:20:58 +0800, Johann 'Myrkraverk' Oskarsson >> <johann@myrkraverk.invalid> wrote: >> >>> On 11/10/2026 1:49 PM, Bill Sloman wrote: >>>> On 10/11/2026 2:12 am, john larkin wrote: >>>>> On Mon, 9 Nov 2026 16:42:08 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>> wrote: >>>>> >>>>>> On 9/11/2026 6:27 am, Waldek Hebisch wrote: >>>>>>> Bill Sloman <bill.sloman@ieee.org> wrote: >>>>>>>> On 7/11/2026 3:57 pm, john larkin wrote: >>>>>>>>> On Sat, 7 Nov 2026 15:38:13 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> On 7/11/2026 5:54 am, john larkin wrote: >>>>>>>>>>> On Fri, 6 Nov 2026 10:24:07 +0000, Martin Brown >>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>> >>>>>>>>>>>> On 30/10/2026 16:15, john larkin wrote: >>>>>>>>>>>>> On Fri, 30 Oct 2026 15:36:05 +0000, JM >>>>>>>>>>>>> <sunaecoNoChoppedPork@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>>>>>>>>>>>> <'''newspam'''@nonad.co.uk> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> segmented memory and hard separation of program and data. >>>>>>>>>>>>>>> Signed drivers >>>>>>>>>>>>>> >>>>>>>>>>>>>> Not a Lisp fan then? >>>>>>>>>>>>> >>>>>>>>>>>>> People love to invent weird computer languages. There are over >>>>>>>>>>>>> 3000 >>>>>>>>>>>>> and they keep coming. >>>>>>>>>>>> >>>>>>>>>>>> Real men code in binary using the front panel switches. >>>>>>>>>>>> >>>>>>>>>>>> I actually used a PDP-7 where you really did have to bootstrap >>>>>>>>>>>> it that >>>>>>>>>>>> way to read in a paper tape. It was a fun machine as it had a >>>>>>>>>>>> vector >>>>>>>>>>>> graphics display so was very good for asteroids, but cheated at >>>>>>>>>>>> chess. >>>>>>>>>>> >>>>>>>>>>> I did a lot of stuff in PDP-11 and 68K assembly languages. With >>>>>>>>>>> a few >>>>>>>>>>> macros, they are almost higher-level languages. >>>>>>>>>> >>>>>>>>>> All high level languages get compiled into assembly language >>>>>>>>>> before they >>>>>>>>>> can be run on a computer. >>>>>>>>> >>>>>>>>> Well, no. >>>>>>>> >>>>>>>> Counter-example? >>>>>>>> >>>>>>>>>> Being a compiler is tedious. >>>>>>>>>> >>>>>>>>>>> Unlike some architectures that I might name. >>>>>>>>>> >>>>>>>>>> A language isn't an architecture. It has to be processed into >>>>>>>>>> something >>>>>>>>>> that can be run on hardware (which will have an architecture - it is >>>>>>>>>> constructed from components that have been connected by some kind of >>>>>>>>>> architect). >>>>>>>>> >>>>>>>>> If that post were compiled to assembly language, it would be a nop. >>>>>>>> >>>>>>>> As a compiler, you do seem to be sub-optimal, if not downright >>>>>>>> afunctional. Ignoring implications you don't like isn't an option >>>>>>>> for a >>>>>>>> compiler. There can be functions they can't parse - in your case don't >>>>>>>> want to parse - but that doesn't generate a nop. >>>>>>> >>>>>>> You clearly go into an area where you are not an expert. >>>>>> >>>>>> I'm not pretending to be an expert, just less of a clueless newbie in >>>>>> the area that John Larkin has shown himself to be. >>>>> >>>>> I've written several compilers and several RTOS's and a bunch of >>>>> system simulators and hundreds of application programs, a good chunk >>>>> of a million lines of code. From PDP8 to ARM and one CPU that I >>>>> designed myself. >>>> >>>> And I'm sure that you are perfectly happy with all of them. Egomaniacs >>>> do go around describing themself as "stable geniuses". >>>>> What's your definition of newbie? >>>> >>>> Somebody who doesn't know enough about what he his doing to be aware of >>>> the areas he doesn't know enough about. It's not so much about what you >>>> know, as what you know about the limits of your knowledge. >>>> >>> >>> And then we have the military term "unknown unknown." For instance in >>> business, you cannot prevent someone from inventing something else, that >>> completely obsoletes your business. >>> >>> In /tech/, this is not an unknown unknown, because it's been done so >>> many times in living memory. It can still happen in other fields, com- >>> pletely blind-sighting the billionaires in charge of it. >>> >>> Some people refer to this as a /black swan/ event, which I believe comes >>>from the field of economics. >>> >>> And, to combine this topic with another one, since we were talking about >>> compilers, in the 90s, prior to the publication of GCC 2.95 [1], it >>> would have been considered an /unknown unknown/ that compilers could be- >>> come malicious to security sensitive programming. I bring you [2] as >>> exhibit A, and give the relevant quote. >>> >>> The short and long is that, today, the only way to access a constant >>> time implementation from Rust is to write said implementation in >>> assembly. >>> >>> I'll add that this is about comparing security sensitive strings, us- >>> ually of fixed length [3], and /not/ an O( 1 ) algorithm. >>> >>> You can read this poster's point about why LLVM is not a polite com- >>> piler at [2]. >>> >>> Now, if you want to argue this conclusion, you'll have to make an acc- >>> ount on Stack Overflow, and comment there. >>> >>> In other words, the only way to write constant time cryptography, is ba- >>> sically to do it in assembly, if any of GCC, LLVM, or MSVC are to com- >>> pile it. >>> >>> In that sense, the /social contract/ between security sensitive program- >>> ming, and compiler makers has been broken. >>> >>> And since we are in sci.electronics.design, we can also add that hard- >>> ware manufacturers typically do not assert in their manuals that a spe- >>> cific instruction is constant time, so now we get to wait and see if any >>> of the x86, or ARM, or maybe even RISC-V manufacturers bring back the >>> evil that was -- to my recollection -- the original 68000 shift instruc- >>> tion which spent more clock time for larger shift values. >>> >>> And to finish this off with a warning, I have read the above for adults, >>> so if you less-than-jr-high-school reading comprehension isn't up to the >>> task of figuring out what I'm saying, that's squarely on you. >>> >>> >>> >>> Best wishes, and happy constant time algorithms! >>> >>> >>> [1] Given Anton Ertl's research. >>> >>> [2] >>> https://stackoverflow.com/questions/44691363/how-to-compare-strings-in-constant-time >>> >>> [3] Hashed passwords are always the same length, but if the length >>> changes, comparing them in constant time doesn't work; this should be >>> obvious. >> >> I'm always impressed by how few programmers have even a rough idea of >> how much time it takes to execute their code. Guessing off by 10:1 is >> common. >> >> I get a scope and measure it. >> >> We have a 75-cent dual-core ARM making a 100 MHz square wave, lines of >> c setting a port bit up and down. >> >Now, please excuse my ignorance here [1], is that more or less expensive >than a Yamaha OPL chip? I guess they aren't made anymore, since I can't >find anything on digikey quickly with the keywords "YMF262." So I just >don't know how expensive they were. > >Of course, I'm sure your 75-cent dual-core ARM chips is doing something >else too, but I got curious, and couldn't find a price. > It's an RP2040 Raspberry Pi chip. The Pi folks recently authorized clocking the CPUs at 200 MHz. It's a wonderful part. They did everything right. We call the two CPUs Alice and Bob. Some lunatic ran a RP2040 at 1 GHz in liquid nitrogen. > >Best wishes, and happy electronics! > >[1] And hopefully just enjoy it.
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Tue, 10 Nov 2026 21:18
Date: Tue, 10 Nov 2026 21:18
4 lines
1478 bytes
1478 bytes
2 of my cell phones are stolen. I stopped using a cell phone. Unfortunately many suppliers of things make being a client without a cell phone difficult. (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: ehsjr
Date: Tue, 10 Nov 2026 21:27
Date: Tue, 10 Nov 2026 21:27
16 lines
2191 bytes
2191 bytes
On 11/10/2026 5:12 AM, Liz Tuddenham wrote: > Bill Sloman <bill.sloman@ieee.org> wrote: > > [...] >> in areas where you are ignorant you >> can end up looking pretty stupid to people who are less ignorant. > > Conversely, in areas where you are knowledgeable, you can look stupid to > people who are ignorant. > And some who are knowledgeable use that knowledge stupidly, and can look stupid to most everyone, ignorant or not. A closed mouth gathers no foot. Ed
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 22:09
Date: Tue, 10 Nov 2026 22:09
31 lines
2782 bytes
2782 bytes
On 11/11/2026 5:27 AM, ehsjr wrote: > On 11/10/2026 5:12 AM, Liz Tuddenham wrote: >> Bill Sloman <bill.sloman@ieee.org> wrote: >> >> [...] >>> in areas where you are ignorant you >>> can end up looking pretty stupid to people who are less ignorant. >> >> Conversely, in areas where you are knowledgeable, you can look stupid to >> people who are ignorant. >> > > And some who are knowledgeable use that knowledge stupidly, > and can look stupid to most everyone, ignorant or not. > A closed mouth gathers no foot. > > Ed While I am not certain that trying to /appear not stupid/ is a virtue. Sometimes it's quite useful to get corrections from people who know better. Other times, people use that /perceived stupidity/ to heap abuse upon the unsuspecting enquirer, with predictable results. In any case, trying to use /knowledge/ as a status symbol seems quite stupid to me; yet a lot of people behave this way. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 10 Nov 2026 22:13
Date: Tue, 10 Nov 2026 22:13
22 lines
2509 bytes
2509 bytes
On 11/11/2026 5:18 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > 2 of my cell phones are stolen. I stopped using a cell > phone. Unfortunately many suppliers of things make being a client > without a cell phone difficult. > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) Yes, it's basically /necessary/ in life these days. You can have a cell phone, and just keep it in the house. It should not be stolen then. A tablet will do the trick too, as they -- used to -- take SIM cards, and can be used as a simple entertainment device. Watch movies in bed or whatnot. They can be had quite cheaply on the second hand market, even; as long as you're not picky. You can think of it as a /coping mechanism/ for a world that values peo- ple less and less, and technology more and more. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Page 2 of 4 • 174 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads