Thread View: sci.electronics.design
174 messages
174 total messages
Page 3 of 4
Started by Don Y
Tue, 27 Oct 2026 03:39
Page 3 of 4 • 174 total messages
Re: Arms race
Author: john larkin
Date: Wed, 11 Nov 2026 02:52
Date: Wed, 11 Nov 2026 02:52
36 lines
2786 bytes
2786 bytes
On Wed, 11 Nov 2026 06:09:54 +0800, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: >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. If you are always right, you get all the blame when things go wrong. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 03:15
Date: Wed, 11 Nov 2026 03:15
54 lines
3729 bytes
3729 bytes
On 11/11/2026 2:37 am, john larkin wrote: > 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. But it can save a lot of time. Any nothing else works on people who have inflated ideas about their own competence > Especially when you're not right. And you'd know a lot about that if you had any kind of realistic idea about your own competence. You are "usually adequate" rather than "reliably impressive". > I think that's recursive. Egomaniacs do comfort themselves with a lot of silly ideas. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 03:19
Date: Wed, 11 Nov 2026 03:19
56 lines
3769 bytes
3769 bytes
On 11/11/2026 2:37 am, john larkin wrote: > 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. But it can save a lot of time. And nothing else works on people who have inflated ideas about their own competence > Especially when you're not right. And you'd know a lot about that if you had any kind of realistic idea about your own competence. You are "usually adequate" rather than "reliably impressive". > I think that's recursive. Egomaniacs do comfort themselves with a lot of silly ideas. -- Bill Sloman, Sydney
Re: Arms race
Author: ehsjr
Date: Wed, 11 Nov 2026 03:27
Date: Wed, 11 Nov 2026 03:27
42 lines
3271 bytes
3271 bytes
On 11/10/2026 5:09 PM, Johann 'Myrkraverk' Oskarsson wrote: > 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. How pathetic to use one's (supposedly superior) intellect to heap abuse on the unsuspecting enquirer. It besmirches the one doing the heaping. What a waste of time and effort. Instead, the knowledgeable person could choose to express helpful ideas. For example, I like reading posts from Liz. She is highly knowledgeable; I've never seen her heap abuse. Rather, what she has to say can be helpful to those interested in the area she's posting about. Ed > > In any case, trying to use /knowledge/ as a status symbol seems quite > stupid to me; yet a lot of people behave this way.
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 03:43
Date: Wed, 11 Nov 2026 03:43
84 lines
5600 bytes
5600 bytes
On 11/11/2026 12:40 am, Johann 'Myrkraverk' Oskarsson wrote: > 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 > believe anything about the current "understanding" of IQ. It's only > useful in one context, and that's measuring learning disability. It may be useful in detecting learning disability, but there are lots of different kinds of learning disabilities and you need lots of different tests to find out what is messing up any particular individual. > Anything else is just handwaving and useless twiddle twaddle among the academi- > cians. Through my wife I did have some contact with academics who worked on IQ testing. They weren't all that impressive, but they were streets ahead of handwaving and useless twiddle twaddle. > 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. I've got a least one regularly cited scientific paper "A microcontroller-based driver tostabilize the temperature of an optical stage to within 1 mK in the range 4–38 C, using a Peltier heat pumpand a thermistor sensor" A W Sloman, Paul Buggs, James Molloy and Douglas Stewart, Meas. Sci. Technol. 7 (1996) 1653–1664 That does record a chunk of actual life experience. I wrote it up because my wife got a much better job in the Netherlands after I'd done the work in Cambridge and I didn't have enough to do in the first year that I was working in the Netherlands. The people I'd worked with were happy that I'd written up the work. > 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? You really haven't got a clue. > Best wishes, and be even more miserable than usual! You really haven't got a clue. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 03:54
Date: Wed, 11 Nov 2026 03:54
57 lines
4216 bytes
4216 bytes
On 11/11/2026 2:42 am, 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 saving grace of IQ testing is that if you good in one area you tend to be good in others - not perhaps as exceptionally good, but still better than average. It may be that what is being tested for is more the absence of actual brain damage rather than some kind of superior processing. > The specialized-genius bit can also make them obnoxious. Not in my experience. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 03:59
Date: Wed, 11 Nov 2026 03:59
43 lines
3262 bytes
3262 bytes
On 11/11/2026 1:52 pm, john larkin wrote: > On Wed, 11 Nov 2026 06:09:54 +0800, Johann 'Myrkraverk' Oskarsson > <johann@myrkraverk.invalid> wrote: > >> 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. > > If you are always right, you get all the blame when things go wrong. Not at an observation based on observed reality. People who are silly enough to think that they are always right don't get taken seriously enough to attract much blame. -- Bill Sloman, Sydney -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 04:21
Date: Wed, 11 Nov 2026 04:21
63 lines
4290 bytes
4290 bytes
On 11/11/2026 12:30 am, Johann 'Myrkraverk' Oskarsson wrote: > 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. "Plonking" is not reading messages from from the people plonked, and - obviously - not responding to them. > So you're the bully who has never faced the consequences of his own > actions. I rarely plonk anybody. Some people I don't bother reading - if they do post anything interesting other people will respond to it. > And I'm here now, and I'll take none of it silently. You are a fucking > bully, and you don't know it. Far from it. > Now you do. You want to tell other people that I'm a bully. I've been posting here for thirty years now, so this would be well known if it were true, so it looks to me as if you are deceiving yourself. > And everyone else here in sci.electronics.design knew it > too but was too polite to tell you -- maybe. Jim Thompson was rude enough to claim that he'd reported me to the FBI for anti-American attitudes, which was a bit silly of him since I been security cleared to a level that had got me into US Army ECOM in 1970 (back when it was at Fort Monmouth, New Jersey). > I didn't read the 30 year backlog. And wouldn't have understood it if you had. > Best wishes, and keep being miserable for the next fifty years -- at > least! My statistical expectation of survival is rather shorter than that. I'd have to become ten years older the longest surviving human ever has so far to get there. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 04:26
Date: Wed, 11 Nov 2026 04:26
191 lines
9974 bytes
9974 bytes
On 11/11/2026 7:41 am, john larkin wrote: > 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. What's lunatic about that? Liquid nitrogen is cheap and freely available. 1GHz processors aren't. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Wed, 11 Nov 2026 04:45
Date: Wed, 11 Nov 2026 04:45
67 lines
4319 bytes
4319 bytes
On 11/11/2026 2:53 am, john larkin wrote: > 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: <snip> >> 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! So you've got more sense than Donald J. Trump - not a whole lot more, because you think that he has "common sense". >>> 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. And how well it works. There's a lot of stuff around that works well enough to sell, but not well enough to work all that well. I've cleaned up a few marginal production designs in my time. > 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 A picture of the board isn't all that informative. The 360 on the label suggests that it is one more of your waveform generators. Practice doesn't always make perfect - it tends to re-iterate the original poor choices. > 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. -- Bill Sloman, Sydney
Re: Arms race
Author: john larkin
Date: Wed, 11 Nov 2026 05:16
Date: Wed, 11 Nov 2026 05:16
68 lines
4102 bytes
4102 bytes
On Wed, 11 Nov 2026 15:45:19 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 11/11/2026 2:53 am, john larkin wrote: >> 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: > > ><snip> > >>> 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! > >So you've got more sense than Donald J. Trump - not a whole lot more, >because you think that he has "common sense". > >>>> 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. > >And how well it works. There's a lot of stuff around that works well >enough to sell, but not well enough to work all that well. I've cleaned >up a few marginal production designs in my time. >> 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 > >A picture of the board isn't all that informative. The 360 on the label >suggests that it is one more of your waveform generators. Practice >doesn't always make perfect - it tends to re-iterate the original poor >choices. > It's a 4-channel tachometer. Does waveform acquisition and quadrature encoders too. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Wed, 11 Nov 2026 05:32
Date: Wed, 11 Nov 2026 05:32
79 lines
4995 bytes
4995 bytes
On 11/11/2026 11:54 AM, Bill Sloman wrote: > On 11/11/2026 2:42 am, 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 saving grace of IQ testing is that if you good in one area you tend > to be good in others - not perhaps as exceptionally good, but still > better than average. It may be that what is being tested for is more the > absence of actual brain damage rather than some kind of superior > processing. >> The specialized-genius bit can also make them obnoxious. > > Not in my experience. > You are the obnoxious /specialized genius/, so of course you wouldn't notice it. The /obvious problem/ with IQ testing is that it only tests for particu- lar types of puzzles solved. To be clear, the experience of it. So people with certain life experience tend to score higher than people without such life experiences. This has been a contention among politi- cally aligned people in recent years, so I'm sure you're familiar with the phenomenon. I could write more, but there's no point. /Why bother/. You're just a stubborn thick headed obnoxious self important academician who's deter- mined not to learn from people with life experiences different from yours. Best wishes, and stay miserable! -- 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: Wed, 11 Nov 2026 05:35
Date: Wed, 11 Nov 2026 05:35
72 lines
4765 bytes
4765 bytes
On 11/11/2026 12:21 PM, Bill Sloman wrote: > On 11/11/2026 12:30 am, Johann 'Myrkraverk' Oskarsson wrote: >> 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. > > "Plonking" is not reading messages from from the people plonked, and - > obviously - not responding to them. > >> So you're the bully who has never faced the consequences of his own >> actions. > > I rarely plonk anybody. Some people I don't bother reading - if they do > post anything interesting other people will respond to it. > >> And I'm here now, and I'll take none of it silently. You are a fucking >> bully, and you don't know it. > > Far from it. > >> Now you do. > > You want to tell other people that I'm a bully. I've been posting here > for thirty years now, so this would be well known if it were true, so it > looks to me as if you are deceiving yourself. > >> And everyone else here in sci.electronics.design knew it >> too but was too polite to tell you -- maybe. > > Jim Thompson was rude enough to claim that he'd reported me to the FBI > for anti-American attitudes, which was a bit silly of him since I been > security cleared to a level that had got me into US Army ECOM in 1970 > (back when it was at Fort Monmouth, New Jersey). > >> I didn't read the 30 year backlog. > > And wouldn't have understood it if you had. > >> Best wishes, and keep being miserable for the next fifty years -- at >> least! > > My statistical expectation of survival is rather shorter than that. I'd > have to become ten years older the longest surviving human ever has so > far to get there. > Don't let the statistical expectation stop you. I mean, /I want you/ to be here fifty years from now, and still posting your miserable drivel on sci.electronics.design, to the delight of the lurkers who simply enjoy the consumption of popcorn and coca-cola. A good tradition among movie goers going back decades, if not centuries. -- 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: Wed, 11 Nov 2026 15:11
Date: Wed, 11 Nov 2026 15:11
80 lines
5279 bytes
5279 bytes
On 11/11/2026 4:32 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/11/2026 11:54 AM, Bill Sloman wrote: >> On 11/11/2026 2:42 am, 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: <snip> >>> 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 saving grace of IQ testing is that if you good in one area you >> tend to be good in others - not perhaps as exceptionally good, but >> still better than average. It may be that what is being tested for is >> more the absence of actual brain damage rather than some kind of >> superior processing. >>> The specialized-genius bit can also make them obnoxious. >> >> Not in my experience. > > You are the obnoxious /specialized genius/, so of course you wouldn't > notice it. I'm not any kind of genius, and while I do have skills in analog electronic design and fast digital design, I'm more a generalist in those areas than any kind of specialist. When I worked at EMI Central Research (from 1976 to 1979) I was exposed to some impressively bright people, and got on fine with most of them. One was a total pain in the neck, and I went to some trouble to get out of his project, but it wasn't his genius that was the problem, just his irresponsible antics. > The /obvious problem/ with IQ testing is that it only tests for > particular types of puzzles solved. To be clear, the experience of it. > So people with certain life experience tend to score higher than people > without such life experiences. This has been a contention among > politically aligned people in recent years, so I'm sure you're familiar with > the phenomenon. It's used to explain the Flynn effect. https://en.wikipedia.org/wiki/Flynn_effect IQ tests actually include a variety of puzzles designed to test a variety of different intellectual skills. Nobody knows enough about the various skills for it to worth trying to test them separately. Multifactor intelligence tests were tried for a while, but didn't offer any actual advantages. My wife an I both scored well on IQ tests, and we both went through them looking for problems which we could solves quickly, and after we'd dealt with them we'd go back and tackle the ones we found harder. We'd didn't tackle the problems in the same order. She was better with language based questions, and I was better with math based stuff - we were both pretty good, but there was enough difference in facility that is was worth being picky. > I could write more, but there's no point. /Why bother/. You're just a > stubborn thick headed obnoxious self important academician who's deter- > mined not to learn from people with life experiences different from > yours. The actual problem is that you don't know enough about the subject to write anything worth reading. And I'm not an academic - I did the Ph.D. but never turned it into an academic job (unlike my wife who was a professor when she died and a member of a number of learned academies). > Best wishes, and stay miserable! Who is supposed to be miserable? -- Bill Sloman, Sydney
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Wed, 11 Nov 2026 18:21
Date: Wed, 11 Nov 2026 18:21
9 lines
1656 bytes
1656 bytes
Bill Sloman <bill.sloman@IEEE.org> wrote: |-------------------------------------------------| |"[. . .] my mobile | |phone (which I do keep in my hip pocket). [. . .]| |[. . .]" | |-------------------------------------------------| When and why did this stop being illegal in Australia? (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Wed, 11 Nov 2026 20:55
Date: Wed, 11 Nov 2026 20:55
9 lines
1712 bytes
1712 bytes
Don Y <blockedofcourse@foo.invalid> wrote: |--------------------------------------------------------------| |"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??" | |--------------------------------------------------------------| VHDL (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Don Y
Date: Wed, 11 Nov 2026 21:31
Date: Wed, 11 Nov 2026 21:31
77 lines
5188 bytes
5188 bytes
On 11/9/2026 2:14 PM, Waldek Hebisch wrote:
> 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?
No one (responsibly) builds things using modern C. Because
it is not a "practical" (as in "suitable for PRACTICE") language.
The same bit of source code written in a particular language
should result in the same general behavior regardless of processor
or compiler choice.
That contract was broken by C more than 20 years ago.
C is now an academic exercise and playground for c.l.c types.
All of my colleagues use C89 or K&R -- because we have to be able
to PROVE that the source code that the customer receives and
systematically reviews corresponds with what is happening in the
hardware.
Any "optimizations" have to be relatively trivial and intuitive
and visible at the preprocessor stage; the preprocessed output
should accuraely define what the code ACTUALLY does, not what the
developer HOPES it will do (subject to the compiler-writer's
whims).
Loop unrolling, function inlining, constant folding, constant
subexpression elimination, etc. -- all things that are OBVIOUS to
someone inspecting the source ("Yes, I understand that STRINGLENGTH+1
is intended to account for the NUL termination in a more visible manner"
or "OK, I see 3+3+4+1 is a good way of representing a telephone number"
or "Yeah, I guess you could do those steps N (constant) times in a row
instead of wrapping them in a loop that is executed N times")
In that way, the "source" is a writing shorthand but one that still
completely constrains the implementation.
E.g., I use a construct:
object=>method(arguments)
liberally in my code. The language doesn't support it (of course).
But, it is known to be a representational shorthand -- something to
unclutter the code and highlight the actual operation being performed.
There is no surprise when you look at the preprocessor output...
for ANY instance of such an expression.
Even the optimizing IDL compiler is obvious in the "optimizations"
that it makes (e.g., choosing effective marshalling sequences instead
of leaving that up to the developer)
After all, the role of a computer language is to convey the developer's
intentions to the hardware in an unambiguous manner. ADDING ambiguity
to that process is counterproductive.
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Wed, 11 Nov 2026 21:35
Date: Wed, 11 Nov 2026 21:35
48 lines
3364 bytes
3364 bytes
Don Y <blockedofcourse@foo.invalid> wrote:
|------------------------------------------------------------------|
|"[. . .] hiring someone and then ignoring their "expert |
|recommendations") happens surprisingly often. |
| |
|[. . .]" |
|------------------------------------------------------------------|
@book{OOSC2,
author = {Meyer, Bertrand},
title = {{Object-Oriented Software Construction}},
year = {1997},
edition = {second},
isbn = {},
publisher = {Prentice Hall},
address = {},
}
alleges similarly. (It is an Eiffel book, but Ada is better.)
|-------------------------------------------------------------------|
|"Another favorite is "real-time" -- particularly "hard" vs. "soft".|
|When most folks think it means "real fast" (it doesn't)." |
|-------------------------------------------------------------------|
True.
|------------------------------------------------------------------|
|"Or, that |
|"hard" is "more difficult" than "soft" (the opposite is true -- in|
|spades [. . .] |
|[. . .] |
| |
|[. . .]" |
|------------------------------------------------------------------|
How do you mean?
|------------------------------------------------------------------|
|"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]" |
|------------------------------------------------------------------|
Alas I know of no satisfactory way to work around them.
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Don Y
Date: Wed, 11 Nov 2026 21:50
Date: Wed, 11 Nov 2026 21:50
69 lines
4593 bytes
4593 bytes
> |------------------------------------------------------------------| > |"Or, that | > |"hard" is "more difficult" than "soft" (the opposite is true -- in| > |spades [. . .] | > |[. . .] | > | | > |[. . .]" | > |------------------------------------------------------------------| > > How do you mean? If you convince yourself (usually erroneously) that ALL of your deadlines are hard (non-negotiable), you overprovision your solution, rationalizing that you MUST HAVE those resources in order to meet all of those deadlines. Even if they stand unused in many/most instances. [And, your "RTOS" likely does nothing to allow you to make those *guarantees* as it was likely designed with the simplistic notion that "real fast" is "real time" (ask yourself how your application KNOWS that it has missed a deadline -- or, is it up to the user to notice that it shit the bed?)] This is an easy design strategy -- just figure out what the maximum is and ensure you have it on hand. Grouse that you need more memory, a faster CPU, etc. Much easier than deciding where the real value is in a solution! If, instead, you assume that not all deadlines are set in stone (some can be handled "late", some can be *missed*, etc.), then you have to come up with a STRATEGY; which do I prioritize, how do I decide when to abandon a particular goal, etc. You have to THINK about the problem instead of just naively assuming everything is important. When deadlines are soft, the "value" of a task's completion is no longer bi-valued (value vs. no value at all) but, rather, some potentially complex function of lateness. Your goal, then, is to sort out how to shuffle resources to "maximize value" (across the set of tasks) instead of the all-or-nothing decision that HRT suggests. The easy way of thinking about HRT is: if you can't make the deadline, STOP WORKING ON THE PROBLEM (because, by your own problem classification, you MUST meet the deadline). For how many problems would you adopt such a strategy? If your vehicle can't stop before hitting the obstacle, "take your foot off the brake!" (???) An SRT design tends to embed more intelligence in the goal setting and resource management. You *shed* tasks for which resource expenditure provides little *value* at the possible expense of other MORE valuable tasks. If there are 300 incoming missiles and your defenses can only handle 200 of them, do you simply give up (which is how an HRT problem would manifest)? Or, do you rejigger your priorities and decide WHICH of the 300 to target -- and how many to hold in reserve? [Of course, the simpleton mindset of politicians and military is to be able to handle ALL -- regardless of cost or diminishing returns: "Yes, general, we gave you all the weapons you need but there is no money left to feed your troops..."]
Re: Arms race
Author: john larkin
Date: Thu, 12 Nov 2026 00:50
Date: Thu, 12 Nov 2026 00:50
59 lines
4138 bytes
4138 bytes
On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 11/11/2026 2:42 am, 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 saving grace of IQ testing is that if you good in one area you tend >to be good in others - not perhaps as exceptionally good, but still >better than average. It may be that what is being tested for is more the >absence of actual brain damage rather than some kind of superior >processing. >> The specialized-genius bit can also make them obnoxious. > >Not in my experience. Sometimes you actually, probably accidentally, approach humor.
Re: Arms race
Author: john larkin
Date: Thu, 12 Nov 2026 00:53
Date: Thu, 12 Nov 2026 00:53
193 lines
10020 bytes
10020 bytes
On Wed, 11 Nov 2026 15:26:44 +1100, Bill Sloman <bill.sloman@ieee.org> wrote: >On 11/11/2026 7:41 am, john larkin wrote: >> 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. > >What's lunatic about that? Liquid nitrogen is cheap and freely >available. 1GHz processors aren't. I think they also pushed the 1.2v core voltage to 5.
Re: Arms race
Author: Bill Sloman
Date: Thu, 12 Nov 2026 02:16
Date: Thu, 12 Nov 2026 02:16
41 lines
3520 bytes
3520 bytes
On 11/11/2026 4:35 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/11/2026 12:21 PM, Bill Sloman wrote: >> On 11/11/2026 12:30 am, Johann 'Myrkraverk' Oskarsson wrote: >>> 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: <snip> >>> Best wishes, and keep being miserable for the next fifty years -- at >>> least! >> >> My statistical expectation of survival is rather shorter than that. >> I'd have to become ten years older than longest surviving human ever >> has so far to get there. > > Don't let the statistical expectation stop you. Statistical expectation isn't any kind of barrier. It's just a prediction based on what has happened in the past. Modern medical science does keep people alive for longer than they used to manage to survive, but 133 would be a very ripe old age. > I mean, /I want you/ to > be here fifty years from now, and still posting your miserable drivel on > sci.electronics.design, to the delight of the lurkers who simply enjoy > the consumption of popcorn and coca-cola. A good tradition among movie > goers going back decades, if not centuries. What you perceive as miserable drivel may not look quite so miserable and drivel-like to better-informed observers (who seem to be fairly numerous). And I really don't care what you want. The peanut gallery isn't a discriminating audience. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Thu, 12 Nov 2026 02:21
Date: Thu, 12 Nov 2026 02:21
17 lines
2361 bytes
2361 bytes
On 12/11/2026 5:21 am, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > Bill Sloman <bill.sloman@IEEE.org> wrote: > |-------------------------------------------------| > |"[. . .] my mobile | > |phone (which I do keep in my hip pocket). [. . .]| > |[. . .]" | > |-------------------------------------------------| > > When and why did this stop being illegal in Australia? > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) When was it ever illegal anywhere? My earlier mobile phones weren't compact enough to fit, but the Samsung S23 is thin enough to make it practical. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Thu, 12 Nov 2026 02:39
Date: Thu, 12 Nov 2026 02:39
43 lines
3398 bytes
3398 bytes
On 12/11/2026 11:50 am, john larkin wrote: > On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> > wrote: > >> On 11/11/2026 2:42 am, 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: >> >> The saving grace of IQ testing is that if you good in one area you tend >> to be good in others - not perhaps as exceptionally good, but still >> better than average. It may be that what is being tested for is more the >> absence of actual brain damage rather than some kind of superior >> processing. >> >>> The specialized-genius bit can also make them obnoxious. >> >> Not in my experience. > > Sometimes you actually, probably accidentally, approach humor. Back in about 1968 I wrote a few scripts for the Melbourne University Architects Revue. Some of them got into the revue and got laughs. Rowan Atkinson did much better when he was at Cambridge, and dropped his master's degree in electronics in favour of a theatrical career. Your own credentials as a judge of humour are even less impressive. There were a few specialised genius types around EMI Central Research when I worked there, and only one of them was obnoxious. It wasn't his genius that was the problem, but his irresponsible antics. William S. Percival was probably cleverer, but quite easy to get on with. https://en.wikipedia.org/wiki/Distributed_amplifier -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Thu, 12 Nov 2026 04:35
Date: Thu, 12 Nov 2026 04:35
25 lines
2967 bytes
2967 bytes
On 10/11/2026 10:02 pm, Johann 'Myrkraverk' Oskarsson wrote: > 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? I imagine that there are situations where the programmer can be confident that the divisor is never going to be zero. A cautious programmer might test for a zero divisor and run an error recovery routine rather than doing the division. To me it does look as if you've posted an under-informed response. -- Bill Sloman, Sydney
Re: Arms race
Author: Don Y
Date: Thu, 12 Nov 2026 12:58
Date: Thu, 12 Nov 2026 12:58
76 lines
5502 bytes
5502 bytes
On 11/11/2026 2:50 PM, Don Y wrote: > You have to THINK about the problem instead of just naively > assuming everything is important. > > When deadlines are soft, the "value" of a task's completion > is no longer bi-valued (value vs. no value at all) but, rather, > some potentially complex function of lateness. Your goal, > then, is to sort out how to shuffle resources to "maximize value" > (across the set of tasks) instead of the all-or-nothing decision > that HRT suggests. > An SRT design tends to embed more intelligence in the > goal setting and resource management. You *shed* > tasks for which resource expenditure provides little > *value* at the possible expense of other MORE valuable > tasks. Here's a simple, practical example that illustrates the costs and value of a single "task" and how it might be instantiated: E.g., if I want to "water the citrus", I need the hardware interface to the irrigation valves that is present on the irrigation controller. Otherwise, I can't "gate" water to that portion of the yard. I need the "grey water" supply and its metering hardware (another node) to source the water. And, possibly, the municipal water supply and its metering hardware -- in the event that there is insufficient grey water available. I need the database that tracks weather history so I can determine how *much* water will be required (based on precipitation, temperatures, wind, etc.). If it rained recently -- or, if it has been hot/windy/dry -- then the current needs of those plants will differ. And, I need memory and "MIPS-seconds" on each of these nodes to actually do the "work" required. So, those devices must be powered up and have sufficient "spare" resources to host the activities that I will require of them. During daylight hours, I'll likely have a surplus of electrical power (assuming the power system's estimate of the remaining available solar power will suffice to top of the storage batteries). At night, power may be in shorter supply (or, "more costly" so this has to be justified by the "value" of getting the task accomplished!). OTOH, irrigation is more effective at night as evaporative losses are greatly reduced and the flora will be most receptive to water uptake as the sun rises. OToOH, if the power has failed, then power will be even more precious; perhaps risk the fruit taking a hit so some more important task can be accomplished? The scheduler now has to find a time when those resources are available (or, can be MADE available -- powering hardware on if presently off, evicting jobs of lower priority, etc.) and then admit the task to the run queue. *Hoping* that conditions don't change significantly before it finishes (a minute from now, an occupant may want to take a shower and the drop in water pressure caused by the huge load represented by the citrus might be objectionable -- so, that task will have to be paused or aborted) If I had taken the attitude that "everything is important and of immediate need", then I would have had to increase the size of the grey water tank (and the pump and piping that distributes its contents as I might have had to irrigate EVERYTHING on the property at the same instant!), the diameter of the municipal water main to handle those cases where the grey water supply was inadequate, the size of the storage battery in case lots of things wanted to happen "after dark", the number and capabilities of the CPUs doing the work, etc. [Irrigation is much easier for people to wrap their heads around than the effort and resources required to train a speech model or update a scene analysis, hence my reliance on it as an example] This, of course, is just stupid. A smarter approach is to juggle priorities so you can do everything with *less*. By recognizing that not everything has to happen immediately. By treating most "deadlines" as ADVISORY and not HARD REQUIREMENTS. [You can see there are far more design decisions involved in this approach!]
Re: Arms race
Author: Bill Sloman
Date: Thu, 12 Nov 2026 14:31
Date: Thu, 12 Nov 2026 14:31
53 lines
3947 bytes
3947 bytes
On 11/11/2026 2:27 pm, ehsjr wrote: > On 11/10/2026 5:09 PM, Johann 'Myrkraverk' Oskarsson wrote: >> 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. > > How pathetic to use one's (supposedly superior) intellect to heap > abuse on the unsuspecting enquirer. It besmirches the one doing > the heaping. What a waste of time and effort. What's being complained about here isn't so much "heaping abuse" as not providing the level of flattery that some posters feel they deserve. > Instead, the knowledgeable person could choose to express helpful > ideas. For example, I like reading posts from Liz. She is highly > knowledgeable; I've never seen her heap abuse. Rather, what she > has to say can be helpful to those interested in the area she's > posting about. She is frequently helpful. >> In any case, trying to use /knowledge/ as a status symbol seems quite >> stupid to me; yet a lot of people behave this way. Correcting errors isn't "using knowledge as a status symbol", except in the sense that being able to correct errors does involve asserting a superior status, but since the alternative is to leave errors unremarked and uncorrected, it is also taking responsibility. -- Bill Sloman, Sydney
Re: Arms race
Author: Waldek Hebisch
Date: Thu, 12 Nov 2026 16:36
Date: Thu, 12 Nov 2026 16:36
157 lines
9047 bytes
9047 bytes
Don Y <blockedofcourse@foo.invalid> wrote:
> On 11/9/2026 2:14 PM, Waldek Hebisch wrote:
>> 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?
> No one (responsibly) builds things using modern C. Because
> it is not a "practical" (as in "suitable for PRACTICE") language.
The "problem" first appeared in context of optimizing Fortran
compliers and AFAIK while wording is different and specific
conditions differs in effect Fortran standard allows the
same. Also Pascal standard. IIUC Ada mandates runtime checks
for a lot of things and many other things lead to compile time
errors. But programmer determided to write programs in C
style still can inject equivalent of undefined behaviour with
consequences the same as in C.
AFAIK a lot of folks use C for important software. Some claim
that their code contains no bugs, so in particular no undefiend
behaviour. Some use tools like CompCert. IIUC some safety
standard certify _object_ code, it does not matter how good or
buggy is C compiler that generated object code, you are
supposed to review generated code and verify that it is doing
what it is supposed to do (and presumably you need to keep
appropriate document trail to show that you really did that).
Some people think that software is serious when it brings money
to its creators. AFAIK most optimizations in gcc and clang
are funded by commercial companies which see gains from
those optimizations. Most of this is motivated by C++,
where you really need those optimizations for decent speed.
But problems with undefined bahaviour are almost the same.
> The same bit of source code written in a particular language
> should result in the same general behavior regardless of processor
> or compiler choice.
It will, if it is defined code.
> That contract was broken by C more than 20 years ago.
>
> C is now an academic exercise and playground for c.l.c types.
>
> All of my colleagues use C89 or K&R -- because we have to be able
> to PROVE that the source code that the customer receives and
> systematically reviews corresponds with what is happening in the
> hardware.
Use of K&R C for new code looks irresponsible to me: checking that
code accepted by K&R compiler has no bugs is more effort than
the same for modern C. C89 looks reasonable, but it gains you
a little. Main thing are compilers. There are two mainstream
ones with multiple targets, that is gcc and clang. There were
few respectable compilers from specific vendors targeting their
targets, but most seem to be gone now. And all compilers beside
gcc and clang seem to get much less use and consequently are
less tested.
When using C compiler you may have trouble for various reasons.
One thing are ordinary bugs in C code. Other thing are bugs
which cause undefined behaviour. Third thing are compiler bugs,
when source code is well defined, but compiler produces wrong
object code. AFAICS modern compilers are much more helpful
with catching ordinary bugs. Concerning wrong code, they
seem to be better, but larger size of compiler and increased
complexity may leave some doubts. Undefined behaviour could
catch you even 35 years ago: at that time users complained
that their working code is broken by new C compilers. Users
learned that old code was wrong and how to write correct
code. I do not see much difference now: you learn to write
code in a different way, which has additional advantage that
code avoinding risky constructs usually is also clearer.
> Any "optimizations" have to be relatively trivial and intuitive
> and visible at the preprocessor stage; the preprocessed output
> should accuraely define what the code ACTUALLY does, not what the
> developer HOPES it will do (subject to the compiler-writer's
> whims).
You preach specifications yet you have trouble that compiler also
have specification. Stay withing specified (defined) constructs
and your code will have expected effect. If you expect more
than is specified, then you expect too much.
Concerning "what the code ACTUALLY does", I expect compiler
to delete checks that are known to pass at compile time
(such checks may be generated from macros and I want to keep
my macros). I expect compiler to expand inline simple functions,
when it leads to smaller code size. In general generated
code may look quite different than expectation of some
folks. What counts is the effect.
For delay loop I have assembly code: C compiler may and should
collapse to nothing loops that take time but otherwise do not
contribute to the result. And I find atempts to cripple
optimization in order to preserve delay loop to be too
unreliable. But otherwise C allows me to write what
should be done and compiler generates appropriate code.
> Loop unrolling, function inlining, constant folding, constant
> subexpression elimination, etc. -- all things that are OBVIOUS to
> someone inspecting the source ("Yes, I understand that STRINGLENGTH+1
> is intended to account for the NUL termination in a more visible manner"
> or "OK, I see 3+3+4+1 is a good way of representing a telephone number"
> or "Yeah, I guess you could do those steps N (constant) times in a row
> instead of wrapping them in a loop that is executed N times")
>
> In that way, the "source" is a writing shorthand but one that still
> completely constrains the implementation.
>
> E.g., I use a construct:
> object=>method(arguments)
> liberally in my code. The language doesn't support it (of course).
> But, it is known to be a representational shorthand -- something to
> unclutter the code and highlight the actual operation being performed.
>
> There is no surprise when you look at the preprocessor output...
> for ANY instance of such an expression.
>
> Even the optimizing IDL compiler is obvious in the "optimizations"
> that it makes (e.g., choosing effective marshalling sequences instead
> of leaving that up to the developer)
That is slightly different thing. Optimizations require some effort.
If you have preprocessor/precompiler it makes no sense to duplicate
optimizations done by C compiler. Only things that C compiler
can not optimize are worth optimization in a precompiler and only
when they are important enough. More optimizations in C compiler
means that your precompiler may be simpler. For example
precompiler may naively insert code trusting that C compiler
will remove it in cases where it is not needed.
--
Waldek Hebisch
Re: Arms race
Author: ehsjr
Date: Thu, 12 Nov 2026 17:19
Date: Thu, 12 Nov 2026 17:19
69 lines
4381 bytes
4381 bytes
On 11/12/2026 9:31 AM, Bill Sloman wrote: > On 11/11/2026 2:27 pm, ehsjr wrote: >> On 11/10/2026 5:09 PM, Johann 'Myrkraverk' Oskarsson wrote: >>> 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. >> >> How pathetic to use one's (supposedly superior) intellect to heap >> abuse on the unsuspecting enquirer. It besmirches the one doing >> the heaping. What a waste of time and effort. > > What's being complained about here isn't so much "heaping abuse" as not > providing the level of flattery that some posters feel they deserve. Johann used that term "heaping abuse" - others may or may not consider it accurate. That said, it is best to not flatter in any case, whatever the poster's motive was. Flattery is not a good thing. Nor is abuse. Just ignore posts where you think the poster is looking for flattery. > >> Instead, the knowledgeable person could choose to express helpful >> ideas. For example, I like reading posts from Liz. She is highly >> knowledgeable; I've never seen her heap abuse. Rather, what she >> has to say can be helpful to those interested in the area she's >> posting about. > > She is frequently helpful. > >>> In any case, trying to use /knowledge/ as a status symbol seems quite >>> stupid to me; yet a lot of people behave this way. I did not post the above, Johann did. Your reply to it (below) belongs elsewhere. Ed > > Correcting errors isn't "using knowledge as a status symbol", except in > the sense that being able to correct errors does involve asserting a > superior status, but since the alternative is to leave errors unremarked > and uncorrected, it is also taking responsibility. >
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Thu, 12 Nov 2026 18:15
Date: Thu, 12 Nov 2026 18:15
2 lines
1230 bytes
1230 bytes
Thanks for this answer. (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Don Y
Date: Thu, 12 Nov 2026 20:25
Date: Thu, 12 Nov 2026 20:25
326 lines
17404 bytes
17404 bytes
On 11/12/2026 9:36 AM, Waldek Hebisch wrote:
>>>> 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?
>> No one (responsibly) builds things using modern C. Because
>> it is not a "practical" (as in "suitable for PRACTICE") language.
>
> The "problem" first appeared in context of optimizing Fortran
> compliers and AFAIK while wording is different and specific
> conditions differs in effect Fortran standard allows the
> same. Also Pascal standard. IIUC Ada mandates runtime checks
> for a lot of things and many other things lead to compile time
> errors. But programmer determided to write programs in C
> style still can inject equivalent of undefined behaviour with
> consequences the same as in C.
C's initial appeal was its simplicity (it is a SMALL language) and
"closeness to the hardware.
The first normative standard was essential because it created
THE language (instead of a collection of different interpretations
of the language). And, codified things that should have been
defined earlier (function prototypes, the standard library).
It also HELPED the programmer with volatile, enum, signed,
void, const, etc.
But, every revision in beyond that seemed to be geared towards
the compiler vendor; allowing more and more leeway (usually
without any requirement to HELP the programmer).
Given that compilers run in resource rich environments and
tend to be (re)written fewer times than applications, this
seems a wrong emphasis.
And, given that the standard is free to say ANYTHING regarding
"requirements", it could just as easily have said "When encountering
undefined behavior, a loud klaxon should sound, accompanied by
blinkenlites and a complete refusal to emit ANY code, thus
drawing the programmer's attention to the "problem".
There should be a standard switch to say "go back to the prior
standard definition". Etc. Or, to flag any behavior that
may have changed since the last time you compiled this codebase.
How many people REALLY care about how long a build takes?
Can they not afford a faster development platform to provide
the speed they need, so the poor compiler writers don't have to
struggle so hard to speed up *their* programs?
Instead, the onus is put on the programmer to figure out how to
coax the compiler to emit code for sources that HAVE BEEN WORKING FOR
YEARS under prior compilers and language definitions.
A language is supposed to facilitate communication (in this case, of
ideas, concepts, constructs and mechanisms). Instead, C has continued
to muddy the waters until folks will eventually abandon it (or, cling
to older versions that are better behaved).
> AFAIK a lot of folks use C for important software. Some claim
> that their code contains no bugs, so in particular no undefiend
> behaviour. Some use tools like CompCert. IIUC some safety
> standard certify _object_ code, it does not matter how good or
> buggy is C compiler that generated object code, you are
> supposed to review generated code and verify that it is doing
> what it is supposed to do (and presumably you need to keep
> appropriate document trail to show that you really did that).
Have you ever tried to validate a substantial piece of software?
It is a grueling task and requires considerable expertise on both
sides of the table (client and provider). Adding the *need* for
sophisticated language lawyers just makes that harder:
"What happens if X+Y oveflows? And, what about A+B? C-D? P*Q?"
Make a change to the codebase and repeat the exercise (esp if the
compiler has license to do code motion optimizations, etc.)
The original language had a relatively intuitive mapping onto the
hardware/machine language. So, could be used as a shorthand for it,
saving all of those extra lines of ASM from having to be meticulously
inspected. A modest piece of code is O(10KLoC). If you were
reviewing the ASM associated with that, expect some multiple.
If the compiler is free to jigger things around so they don't
directly correspond to the C source, then good luck trying to
understand what the high level abstractions implemented by a
particular section of ASM might be.
[It's trivial to disassemble a piece of code. Imagine trying to
figure out what it *does* from that disassembly, lacking a
direct "explanation" of each code section by the accompanying
"source"]
> Some people think that software is serious when it brings money
> to its creators. AFAIK most optimizations in gcc and clang
> are funded by commercial companies which see gains from
> those optimizations. Most of this is motivated by C++,
> where you really need those optimizations for decent speed.
> But problems with undefined bahaviour are almost the same.
The embedded system market generates more applications than
the desktop worl by orders of magnitude. And, the desktop
world operates in a resource rich environment. Along with
readily facilitating software revision and updates. These
things aren't available in the embedded systems world -- where
people BUILD things and customers expect them to work.
(You don't even consider updating the software in your
refrigerator, microwave oven, mouse, keyboard, monitor,
doorbell, etc. because you would view that as an inconvenience
in their application)
So, some variant of C will be peeled off and maintained by a separate
standards organization. This will force compiler writers to have
to support a second language (this is already in the works with
MISRA, C*, etc.). How humiliating for a group charged with promoting
a language to see their market head off in a different direction...
BECAUSE of their actions!
>> The same bit of source code written in a particular language
>> should result in the same general behavior regardless of processor
>> or compiler choice.
>
> It will, if it is defined code.
No. Even defined code gives the compiler vendor extra license. The
code for:
x = 5;
print("hello");
need not perform those statements in that order. So, I can compile
it on compiler A and come up with a different "sequence of operations"
(I'm being generous and giving them freedom in the details) than
on compiler B.
If I am *debugging* that bit of code, I most definitely care which
order the (ASM-associated) statements are executed, even if there is not
an implicit dependency *in* the source.
x = 5;
...
x += x;
can be replaced. And, if x is never referenced, all of that code can
be elided. And the compiler is under no obligation to TELL me that it
has done these things! ("Oh! I meant *y*, not *x*!")
Remember who the customer is.
>> That contract was broken by C more than 20 years ago.
>>
>> C is now an academic exercise and playground for c.l.c types.
>>
>> All of my colleagues use C89 or K&R -- because we have to be able
>> to PROVE that the source code that the customer receives and
>> systematically reviews corresponds with what is happening in the
>> hardware.
>
> Use of K&R C for new code looks irresponsible to me: checking that
> code accepted by K&R compiler has no bugs is more effort than
You aren't limited to using a K&R compiler to check the code's
syntax. E.g., I make extensive use of KLEE which builds on LLVM
/to find bugs/. But, use K&R/C89 to generate PRODUCTION code
that can be more readily validated.
> the same for modern C. C89 looks reasonable, but it gains you
> a little. Main thing are compilers. There are two mainstream
> ones with multiple targets, that is gcc and clang. There were
> few respectable compilers from specific vendors targeting their
> targets, but most seem to be gone now. And all compilers beside
> gcc and clang seem to get much less use and consequently are
> less tested.
More use doesn't translate into better quality.
Remember, the goal is for the PROGRAMMER to be able to get his
algorithm to run on targeted hardware. The compiler loses
all significance once the code is running. And, can be
replaced by a competing product (or development methodology)
if it proves to be a hindrance to that goal.
> When using C compiler you may have trouble for various reasons.
> One thing are ordinary bugs in C code. Other thing are bugs
> which cause undefined behaviour. Third thing are compiler bugs,
> when source code is well defined, but compiler produces wrong
> object code. AFAICS modern compilers are much more helpful
> with catching ordinary bugs. Concerning wrong code, they
But, they are under no obligation to do so! As such, all
of that "help" can go away in the next release.
They also go too far in trying to treat standard library
functions as "operators" to be optimized like any other
statements. E.g., I use NONE of the standard library function
names because I don't want the compiler second-guessing my intent.
Trust the programmer to be competent. He doesn't need a "nanny".
> seem to be better, but larger size of compiler and increased
> complexity may leave some doubts. Undefined behaviour could
> catch you even 35 years ago: at that time users complained
> that their working code is broken by new C compilers. Users
> learned that old code was wrong and how to write correct
> code. I do not see much difference now: you learn to write
> code in a different way, which has additional advantage that
> code avoinding risky constructs usually is also clearer.
But you aren't *instructed* -- the compiler is under no obligation
to point out what you are doing wrong. Instead, it can just
elide (or alter) your efforts with license.
I listened to a Mexican gentleman speaking about his wife, the
other day. He kept using the pronoun "he/him" in every reference.
I could decide that I could ignore everything he was saying because
his grammar was incorrect -- that would surely be the easiest way
to interpret his comments. Or, I can expend a bit of effort and
make the mental translation of he/him to she/her.
Apparently, compiler writers are too lazy to even make such an attempt.
[I could not correct him as I had no means of contacting him]
>> Any "optimizations" have to be relatively trivial and intuitive
>> and visible at the preprocessor stage; the preprocessed output
>> should accuraely define what the code ACTUALLY does, not what the
>> developer HOPES it will do (subject to the compiler-writer's
>> whims).
>
> You preach specifications yet you have trouble that compiler also
> have specification. Stay withing specified (defined) constructs
> and your code will have expected effect. If you expect more
> than is specified, then you expect too much.
Because the specifications adopted for the compilers are nonsense
from the standpoint of the compiler's user!
C'mon, I'm not the only one singing this song:
<https://www.yodaiken.com/2021/05/19/undefined-behavior-in-c-is-a-reading-error/>
<https://www.yodaiken.com/2021/05/16/c-is-not-a-serious-programming-language/>
<https://www.kb.cert.org/vuls/id/162289/>
<http://www.complang.tuwien.ac.at/papers/ertl17kps.pdf>
<https://groups.google.com/g/boring-crypto/c/48qa1kWignU/m/o8GGp2K1DAAJ>
<http://homes.cs.washington.edu/~akcheung/getFile.php?file=apsys12.pdf>
The standards committee has placed an emphasis on "compiler tricks"
at the expense of maintaining a usable language.
And, falling back on standards language to justify their excesses.
> Concerning "what the code ACTUALLY does", I expect compiler
> to delete checks that are known to pass at compile time
> (such checks may be generated from macros and I want to keep
> my macros). I expect compiler to expand inline simple functions,
> when it leads to smaller code size. In general generated
> code may look quite different than expectation of some
> folks. What counts is the effect.
What counts is whether or not the code faithfully implements the
algorithm created by the developer. Because the developer will be TESTING
and DEBUGGING to those expectations, not the compiler writer's view of
what he *should* have written.
> For delay loop I have assembly code: C compiler may and should
> collapse to nothing loops that take time but otherwise do not
> contribute to the result. And I find atempts to cripple
> optimization in order to preserve delay loop to be too
> unreliable. But otherwise C allows me to write what
> should be done and compiler generates appropriate code.
>
>> Loop unrolling, function inlining, constant folding, constant
>> subexpression elimination, etc. -- all things that are OBVIOUS to
>> someone inspecting the source ("Yes, I understand that STRINGLENGTH+1
>> is intended to account for the NUL termination in a more visible manner"
>> or "OK, I see 3+3+4+1 is a good way of representing a telephone number"
>> or "Yeah, I guess you could do those steps N (constant) times in a row
>> instead of wrapping them in a loop that is executed N times")
>>
>> In that way, the "source" is a writing shorthand but one that still
>> completely constrains the implementation.
>>
>> E.g., I use a construct:
>> object=>method(arguments)
>> liberally in my code. The language doesn't support it (of course).
>> But, it is known to be a representational shorthand -- something to
>> unclutter the code and highlight the actual operation being performed.
>>
>> There is no surprise when you look at the preprocessor output...
>> for ANY instance of such an expression.
>>
>> Even the optimizing IDL compiler is obvious in the "optimizations"
>> that it makes (e.g., choosing effective marshalling sequences instead
>> of leaving that up to the developer)
>
> That is slightly different thing. Optimizations require some effort.
> If you have preprocessor/precompiler it makes no sense to duplicate
> optimizations done by C compiler. Only things that C compiler
> can not optimize are worth optimization in a precompiler and only
> when they are important enough. More optimizations in C compiler
> means that your precompiler may be simpler. For example
> precompiler may naively insert code trusting that C compiler
> will remove it in cases where it is not needed.
The compiler understands the target hardware. The preprocessor
(assuming you are trying to write portable code) only understands
the language syntax and the application.
So, you promote the optimizations that the developer would freely
embrace to the sources via the preprocessor as a bridge between what
the developer wants to say and what the code should realistically do
(e.g., char SSN[3 +1+ 2 +1+ 4 +1] is much cleaner to write than
SSN[12] or, gasp, SSN[11])
Expecting the developer to write code that understands and exploits
how the processor issues opcodes defeats the purpose of having a HLL.
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Thu, 12 Nov 2026 20:58
Date: Thu, 12 Nov 2026 20:58
31 lines
3059 bytes
3059 bytes
On 11/12/2026 4:55 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > Don Y <blockedofcourse@foo.invalid> wrote: > |--------------------------------------------------------------| > |"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??" | > |--------------------------------------------------------------| > > VHDL > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) It does level the playing field, but if you write VHDL as if you're doing software, you kind of fail. At least, that's what I got from the free VHDL book I found online a few years ago. Personally, I think it's very instructive to design and implement a circuit using 74xx logic and a breadboard. At least, that hammers home that you're designing hardware, and not just writing software. There are some more intricacies involved, such as -- and I never exper- ienced this -- is wires so close together they become capacitors, or something along those lines. It was just one of these off hand remarks by the teachers in my /coding school/. And then I never took any of the more advanced electronics classes, as they weren't in my curriculum. So I have a lot to catch up on, if I'm to do this for real. -- 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: Thu, 12 Nov 2026 21:04
Date: Thu, 12 Nov 2026 21:04
47 lines
3920 bytes
3920 bytes
On 11/12/2026 12:35 PM, Bill Sloman wrote: > On 10/11/2026 10:02 pm, Johann 'Myrkraverk' Oskarsson wrote: >> 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? > > I imagine that there are situations where the programmer can be > confident that the divisor is never going to be zero. > > A cautious programmer might test for a zero divisor and run an error > recovery routine rather than doing the division. > > To me it does look as if you've posted an under-informed response. > You should try to write a signal handler that looks at the offending instruction or something. It's been a while since I did this, and that was for -- overflow? -- I was experimenting with my own + operator in C++ and injected the INTO instruction -- that was before AMD in their never-ending wisdom removed it from the 64bit instruction set -- which I then handled in a fancy Posix signal handler, and if I recall correctly I had access to the very instruction that caused the "fault" and could use it to redirect to a C++ exception mechanism as if that happened in the function causing the "fault" or "trap" or whatever Intel wants to call it. Anyway, that code is long lost, and I never did much with it. It was an illuminating exercise though, and taught me that there's a lot a com- piler can do. Best wishes, and happy Posix signal handlers! -- 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: Thu, 12 Nov 2026 21:16
Date: Thu, 12 Nov 2026 21:16
102 lines
6396 bytes
6396 bytes
On 11/12/2026 8:58 PM, Don Y wrote: > On 11/11/2026 2:50 PM, Don Y wrote: >> You have to THINK about the problem instead of just naively >> assuming everything is important. >> >> When deadlines are soft, the "value" of a task's completion >> is no longer bi-valued (value vs. no value at all) but, rather, >> some potentially complex function of lateness. Your goal, >> then, is to sort out how to shuffle resources to "maximize value" >> (across the set of tasks) instead of the all-or-nothing decision >> that HRT suggests. > >> An SRT design tends to embed more intelligence in the >> goal setting and resource management. You *shed* >> tasks for which resource expenditure provides little >> *value* at the possible expense of other MORE valuable >> tasks. > Here's a simple, practical example that illustrates the costs and > value of a single "task" and how it might be instantiated: > > E.g., if I want to "water the citrus", I need the hardware interface to the > irrigation valves that is present on the irrigation controller. Otherwise, > I can't "gate" water to that portion of the yard. I need the "grey water" > supply and its metering hardware (another node) to source the water. And, > possibly, the municipal water supply and its metering hardware -- in the > event that there is insufficient grey water available. > > I need the database that tracks weather history so I can determine how > *much* > water will be required (based on precipitation, temperatures, wind, etc.). > If it rained recently -- or, if it has been hot/windy/dry -- then the > current > needs of those plants will differ. > > And, I need memory and "MIPS-seconds" on each of these nodes to actually do > the "work" required. So, those devices must be powered up and have > sufficient > "spare" resources to host the activities that I will require of them. > > During daylight hours, I'll likely have a surplus of electrical power > (assuming the power system's estimate of the remaining available solar > power will suffice to top of the storage batteries). At night, power > may be in shorter supply (or, "more costly" so this has to be justified > by the "value" of getting the task accomplished!). OTOH, irrigation is > more effective at night as evaporative losses are greatly reduced and > the flora will be most receptive to water uptake as the sun rises. > OToOH, if the power has failed, then power will be even more precious; > perhaps risk the fruit taking a hit so some more important task can be > accomplished? > > The scheduler now has to find a time when those resources are available > (or, can be MADE available -- powering hardware on if presently off, > evicting jobs of lower priority, etc.) and then admit the task to the > run queue. > > *Hoping* that conditions don't change significantly before it finishes > (a minute from now, an occupant may want to take a shower and the drop > in water pressure caused by the huge load represented by the citrus > might be objectionable -- so, that task will have to be paused or > aborted) > > If I had taken the attitude that "everything is important and of immediate > need", then I would have had to increase the size of the grey water tank > (and the pump and piping that distributes its contents as I might have had > to irrigate EVERYTHING on the property at the same instant!), the diameter > of the municipal water main to handle those cases where the grey water > supply was inadequate, the size of the storage battery in case lots of > things > wanted to happen "after dark", the number and capabilities of the CPUs > doing the work, etc. > > [Irrigation is much easier for people to wrap their heads around than > the effort and resources required to train a speech model or update a > scene analysis, hence my reliance on it as an example] > > This, of course, is just stupid. A smarter approach is to juggle > priorities > so you can do everything with *less*. By recognizing that not everything > has to happen immediately. By treating most "deadlines" as ADVISORY and > not HARD REQUIREMENTS. > > [You can see there are far more design decisions involved in this > approach!] Thank you. My SO has plants as a hobby, but I have not thought to create automated irrigation systems, so this example hits perfectly home. One thing you can add is the failure mode: when the irrigation system completely gives up, it can decide to /phone home/ and irritate a human. That said, it's also best to keep a mark-one-eyeball on the growing plants, and not be completely dependent upon an automated system that can decide to fail silently. Such as if someone steals the battery. Best wishes, and happy irrigation systems! -- 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: Thu, 12 Nov 2026 21:50
Date: Thu, 12 Nov 2026 21:50
58 lines
4162 bytes
4162 bytes
On 11/12/2026 2:16 PM, Johann 'Myrkraverk' Oskarsson wrote: >> [Irrigation is much easier for people to wrap their heads around than >> the effort and resources required to train a speech model or update a >> scene analysis, hence my reliance on it as an example] >> >> This, of course, is just stupid. A smarter approach is to juggle priorities >> so you can do everything with *less*. By recognizing that not everything >> has to happen immediately. By treating most "deadlines" as ADVISORY and >> not HARD REQUIREMENTS. >> >> [You can see there are far more design decisions involved in this approach!] > > Thank you. My SO has plants as a hobby, but I have not thought to > create automated irrigation systems, so this example hits perfectly > home. Irrigation (for folks who don't want "natural" landscapes) is essential here as we don't get much precipitation. If you don't water it (whatever "it" happens to be), then it likely dies. Except the weeds, of course! > One thing you can add is the failure mode: when the irrigation system > completely gives up, it can decide to /phone home/ and irritate a human. My goal is to address the needs of people later in life who may not *remember* to irrigate -- which would lead to plants needing to be replaced or removed and a decrease in the value of the property. Not to mention the value to the resident. > That said, it's also best to keep a mark-one-eyeball on the growing > plants, and not be completely dependent upon an automated system that > can decide to fail silently. Such as if someone steals the battery. No batteries. But, there are many failure modes that you can detect (if so instrumented). E.g., I watch the rate of water consumption while irrigating. No idea what it *should* be (numerically) BUT it should be very similar to what it was the last time this "zone" was irrigated. An increase could represent an emitter that has come off (allowing water to flow at a higher rate than prescribed) or a failed distribution line. A decrease could mean a clogged emitter or blocked distribution line. A traditional (non-instrumented) irrigation system would rely on the user (resident) to "notice" these things, either by noting unexpected pools of water (or "gushers") or plants that are dried out (or overwatered). Expecting a resident to be capable of noticing these things *and* to actually notice them time can be difficult for folks later in life. In either case, "service" is required (without relying on the resident to perform that action). So, call for it directly or advise a "caretaker" to do so.
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Thu, 12 Nov 2026 22:19
Date: Thu, 12 Nov 2026 22:19
16 lines
2468 bytes
2468 bytes
On 11/12/2026 10:31 PM, Bill Sloman wrote: >>> In any case, trying to use /knowledge/ as a status symbol seems quite >>> stupid to me; yet a lot of people behave this way. > > Correcting errors isn't "using knowledge as a status symbol", except in > the sense that being able to correct errors does involve asserting a > superior status, but since the alternative is to leave errors unremarked > and uncorrected, it is also taking responsibility. Of course you think so, but leaving errors is fine too. After all, I'm not being paid to educate you on the errors of your ways. -- 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: Thu, 12 Nov 2026 23:14
Date: Thu, 12 Nov 2026 23:14
46 lines
3785 bytes
3785 bytes
On 11/12/2026 1:58 PM, Johann 'Myrkraverk' Oskarsson wrote: > It does level the playing field, but if you write VHDL as if you're > doing software, you kind of fail. At least, that's what I got from the > free VHDL book I found online a few years ago. Hardware works in parallel. Most software people think serially; this is why multithreading and multiprocessing are such stumbling blocks for neophytes. But, hardware makes things like hazzards and races more obvious. When you encounter them in your software, you can understand their analogs if you have a hardware background. Likewise, atomic operations. > Personally, I think it's very instructive to design and implement a > circuit using 74xx logic and a breadboard. At least, that hammers home > that you're designing hardware, and not just writing software. The problem with hardware is that it IS hardware. You actually need physical devices if you want to BUILD a prototype. The advantage to VHDL and other simulation technologies is you can *emulate* the hardware to see how it works (as well as how it fails to work) without having to invest all that time and hassle. There's nothing worse than being handed a prototype that someone built incorrectly and you now have to debug their assembly errors before you can examine the behavior of your circuit. > There are some more intricacies involved, such as -- and I never exper- > ienced this -- is wires so close together they become capacitors, or > something along those lines. It was just one of these off hand remarks > by the teachers in my /coding school/. And then I never took any of the > more advanced electronics classes, as they weren't in my curriculum. When I was working with large wirewrap panels (think 10+ square feet per panel), we also had to worry about "cold flow" if the wires were pulled too tight as the panel was wrapped. For "hand wrapped" panels, you had to rely on the skillset of the technician. [I still have my two WW guns, slit-n-wrap bits, no-niks, needle-nose strippers (worth their weight in gold!) and embroidery hooks!] > So I have a lot to catch up on, if I'm to do this for real.
Re: Arms race
Author: Bill Sloman
Date: Fri, 13 Nov 2026 05:35
Date: Fri, 13 Nov 2026 05:35
22 lines
2909 bytes
2909 bytes
On 13/11/2026 9:19 am, Johann 'Myrkraverk' Oskarsson wrote: > On 11/12/2026 10:31 PM, Bill Sloman wrote: >>>> In any case, trying to use /knowledge/ as a status symbol seems quite >>>> stupid to me; yet a lot of people behave this way. >> >> Correcting errors isn't "using knowledge as a status symbol", except >> in the sense that being able to correct errors does involve asserting >> a superior status, but since the alternative is to leave errors >> unremarked and uncorrected, it is also taking responsibility. > > Of course you think so, but leaving errors is fine too. You may think so but you aren't any kind of exemplary character. >Â After all, I'm not being paid to educate you on the errors of your ways. What you post isn't exactly educational. It's sort of useful as an example of how silly you can get if you don't know what you are talking about, but we aren't short of those kinds of posts here. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Fri, 13 Nov 2026 05:39
Date: Fri, 13 Nov 2026 05:39
37 lines
3488 bytes
3488 bytes
On 13/11/2026 8:04 am, Johann 'Myrkraverk' Oskarsson wrote: > On 11/12/2026 12:35 PM, Bill Sloman wrote: >> On 10/11/2026 10:02 pm, Johann 'Myrkraverk' Oskarsson wrote: >>> 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? >> >> I imagine that there are situations where the programmer can be >> confident that the divisor is never going to be zero. >> >> A cautious programmer might test for a zero divisor and run an error >> recovery routine rather than doing the division. >> >> To me it does look as if you've posted an under-informed response. >> > > You should try to write a signal handler that looks at the offending > instruction or something. I'd have to lot of work before I'd be in a position to do that, and nobody would hire me to do that kind of work. I'm a much better hardware engineer than I am a programmer. <snip> -- Bill Sloman, Sydney
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Fri, 13 Nov 2026 06:47
Date: Fri, 13 Nov 2026 06:47
73 lines
4636 bytes
4636 bytes
On 11/12/2026 10:39 AM, Bill Sloman wrote: > On 12/11/2026 11:50 am, john larkin wrote: >> On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> >> wrote: >> >>> On 11/11/2026 2:42 am, 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: > >>> >>> The saving grace of IQ testing is that if you good in one area you tend >>> to be good in others - not perhaps as exceptionally good, but still >>> better than average. It may be that what is being tested for is more the >>> absence of actual brain damage rather than some kind of superior >>> processing. > >> >>>> The specialized-genius bit can also make them obnoxious. >>> >>> Not in my experience. >> >> Sometimes you actually, probably accidentally, approach humor. > > Back in about 1968 I wrote a few scripts for the Melbourne University > Architects Revue. Some of them got into the revue and got laughs. Rowan > Atkinson did much better when he was at Cambridge, and dropped his > master's degree in electronics in favour of a theatrical career. > > Your own credentials as a judge of humour are even less impressive. > > There were a few specialised genius types around EMI Central Research > when I worked there, and only one of them was obnoxious. It wasn't his > genius that was the problem, but his irresponsible antics. > > William S. Percival was probably cleverer, but quite easy to get on with. > > https://en.wikipedia.org/wiki/Distributed_amplifier > Humor is just one of these things that's easy because it's natural for humans to do. I wrote a little bit of it and published on Usenet ear- lier this year. Look for /Dad jokes of alt.folklore.computers/ if you care to read it. And writing a good joke is a tangential skill of telling one. You start and write it, and the first attempt isn't really good, and then you start again with an empty page, and write the whole thing from the top in a slightly different way, and if it's good enough you can show it off or you junk it, and do it for the third time. Here you can see my second attempt, https://bsky.app/profile/myrkraverk.bsky.social/post/3mz6fwrupz22e and it's "good enough" to share with the world, and I haven't written this one for the third time. Do you think I should? Or is it /good enough/ for a smirk? It's a three minute video, where I'm typing it in, so you can either watch or skip to the last second and pause. The point of all of this? Comedy is fun, you should try it. It's mere- ly a matter of practice. Best wishes, and happy humor! -- 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: Fri, 13 Nov 2026 06:54
Date: Fri, 13 Nov 2026 06:54
44 lines
3561 bytes
3561 bytes
On 13/11/2026 7:58 am, Johann 'Myrkraverk' Oskarsson wrote: > On 11/12/2026 4:55 AM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: >> Don Y <blockedofcourse@foo.invalid> wrote: >> |--------------------------------------------------------------| >> |"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??"        | >> |--------------------------------------------------------------| >> >> VHDL >> (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) > > It does level the playing field, but if you write VHDL as if you're > doing software, you kind of fail. At least, that's what I got from the > free VHDL book I found online a few years ago. > > Personally, I think it's very instructive to design and implement a > circuit using 74xx logic and a breadboard. At least, that hammers home > that you're designing hardware, and not just writing software. 74xx logic sucks. Do it in ECL or ECLinPS and you might end up with something fast enough to be interesting. > There are some more intricacies involved, such as -- and I never > experienced this -- is wires so close together they become capacitors, > or something along those lines. This shows up in analog circuit layout, and I've been finding and fixing those kind of layout faults since the 1970's. Coupling can be inductive as well as capacitative and long parallel tracks can act as transmission line transformers. > It was just one of these off hand remarks > by the teachers in my /coding school/. And then I never took any of the > more advanced electronics classes, as they weren't in my curriculum. > > So I have a lot to catch up on, if I'm to do this for real. Quite a lot. -- Bill Sloman, Sydney
Re: Arms race
Author: Bill Sloman
Date: Fri, 13 Nov 2026 07:01
Date: Fri, 13 Nov 2026 07:01
58 lines
4283 bytes
4283 bytes
On 13/11/2026 10:14 am, Don Y wrote: > On 11/12/2026 1:58 PM, Johann 'Myrkraverk' Oskarsson wrote: >> It does level the playing field, but if you write VHDL as if you're >> doing software, you kind of fail. At least, that's what I got from the >> free VHDL book I found online a few years ago. > > Hardware works in parallel. Most software people think serially; > this is why multithreading and multiprocessing are such stumbling > blocks for neophytes. > > But, hardware makes things like hazzards and races more obvious. > When you encounter them in your software, you can understand > their analogs if you have a hardware background. > > Likewise, atomic operations. > >> Personally, I think it's very instructive to design and implement a >> circuit using 74xx logic and a breadboard. At least, that hammers home >> that you're designing hardware, and not just writing software. > > The problem with hardware is that it IS hardware. You actually need > physical devices if you want to BUILD a prototype. LTSpice lets you simulate a lot pf potential problems. > The advantage to VHDL and other simulation technologies is you can > *emulate* the hardware to see how it works (as well as how it fails > to work) without having to invest all that time and hassle. > > There's nothing worse than being handed a prototype that someone > built incorrectly and you now have to debug their assembly errors > before you can examine the behavior of your circuit. > >> There are some more intricacies involved, such as -- and I never >> experienced this -- is wires so close together they become capacitors, or >> something along those lines. It was just one of these off hand remarks >> by the teachers in my /coding school/. And then I never took any of the >> more advanced electronics classes, as they weren't in my curriculum. > > When I was working with large wirewrap panels (think 10+ square feet > per panel), we also had to worry about "cold flow" if the wires were > pulled too tight as the panel was wrapped. For "hand wrapped" panels, > you had to rely on the skillset of the technician. > > [I still have my two WW guns, slit-n-wrap bits, no-niks, needle-nose > strippers (worth their weight in gold!) and embroidery hooks!] That's a bit dark ages now. You can get to printed circuit boards very rapidly now, if you have the money and in any commercial project you will. >> So I have a lot to catch up on, if I'm to do this for real. Lots. -- Bill Sloman, Sydney
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Fri, 13 Nov 2026 07:22
Date: Fri, 13 Nov 2026 07:22
89 lines
5540 bytes
5540 bytes
On 11/13/2026 5:50 AM, Don Y wrote: > On 11/12/2026 2:16 PM, Johann 'Myrkraverk' Oskarsson wrote: >>> [Irrigation is much easier for people to wrap their heads around than >>> the effort and resources required to train a speech model or update a >>> scene analysis, hence my reliance on it as an example] >>> >>> This, of course, is just stupid. A smarter approach is to juggle >>> priorities >>> so you can do everything with *less*. By recognizing that not >>> everything >>> has to happen immediately. By treating most "deadlines" as ADVISORY and >>> not HARD REQUIREMENTS. >>> >>> [You can see there are far more design decisions involved in this >>> approach!] >> >> Thank you. My SO has plants as a hobby, but I have not thought to >> create automated irrigation systems, so this example hits perfectly >> home. > > Irrigation (for folks who don't want "natural" landscapes) is essential > here as we don't get much precipitation. If you don't water it (whatever > "it" happens to be), then it likely dies. > > Except the weeds, of course! > >> One thing you can add is the failure mode: when the irrigation system >> completely gives up, it can decide to /phone home/ and irritate a human. > > My goal is to address the needs of people later in life who may not > *remember* to irrigate -- which would lead to plants needing to be > replaced or removed and a decrease in the value of the property. > > Not to mention the value to the resident. > >> That said, it's also best to keep a mark-one-eyeball on the growing >> plants, and not be completely dependent upon an automated system that >> can decide to fail silently. Such as if someone steals the battery. > > No batteries. But, there are many failure modes that you can > detect (if so instrumented). > > E.g., I watch the rate of water consumption while irrigating. > No idea what it *should* be (numerically) BUT it should be > very similar to what it was the last time this "zone" was > irrigated.  An increase could represent an emitter that > has come off (allowing water to flow at a higher rate than > prescribed) or a failed distribution line. A decrease > could mean a clogged emitter or blocked distribution line. > > A traditional (non-instrumented) irrigation system would > rely on the user (resident) to "notice" these things, either > by noting unexpected pools of water (or "gushers") or > plants that are dried out (or overwatered). Expecting a > resident to be capable of noticing these things *and* to > actually notice them time can be difficult for folks later > in life. > > In either case, "service" is required (without relying on the > resident to perform that action). So, call for it directly or > advise a "caretaker" to do so. Dear Don, Thank you for that exposition. You said there were no batteries, and I want to add real life experience to your /threat model/. Here in this part of the world, it's common to cut off the electricity if the condo- minium dues are not paid on time, and if that happens during an extended vacation -- which did happen to me -- it can be several weeks, or months until someone notices the power is off. And during that time, the plants would die, with the irrigation system unable to even phone home to irritate a human. For your given target market, that can also happen if a /helpful family member/ comes along and turns off the breaker to save a few dollars dur- ing an extended vacation away from home. Now, whether people are willing to pay for the extra expense of a bat- tery addition is another matter, but you can always add such stories to your sales spiel and see what happens. Best wishes, and happy irrigation systems! -- 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: Fri, 13 Nov 2026 08:33
Date: Fri, 13 Nov 2026 08:33
62 lines
4733 bytes
4733 bytes
On 11/13/2026 12:22 AM, Johann 'Myrkraverk' Oskarsson wrote: > Thank you for that exposition. You said there were no batteries, and I > want to add real life experience to your /threat model/. Here in this > part of the world, it's common to cut off the electricity if the condo- > minium dues are not paid on time, and if that happens during an extended > vacation -- which did happen to me -- it can be several weeks, or months > until someone notices the power is off. > > And during that time, the plants would die, with the irrigation system > unable to even phone home to irritate a human. All of my "nodes" are fed from a central power supply via PoE. So, if it is unavailable, NOTHING is unavailable (HVAC controls, surveillance, security system, etc.). I.e., one expects power to be available or the occupant has bigger problems to address regarding "livability" in the residence. > For your given target market, that can also happen if a /helpful family > member/ comes along and turns off the breaker to save a few dollars dur- > ing an extended vacation away from home. It is highly unlikely that such a thing would happen. There is a fixed cost associated with having a power line connected to your home, regardless of the amount of energy consumed. If the house was empty, the loads powered would be those that the house/occupant considered essential. Recall, many homes have indoor plants, pets, etc. so it is unlikely that a house will be "shuttered" for long periods. Even our "winter visitors" (absent for 6+ months out of every year) find it easier to leave the electric service connected than to worry about any savings that might acrue from turning it off. > Now, whether people are willing to pay for the extra expense of a bat- > tery addition is another matter, but you can always add such stories to > your sales spiel and see what happens. The problem with batteries is that they require maintenance. And, have sorely limited capacities. E.g., running a security camera (PTZ with Ir illuminators) off a battery would quickly deplete it. This also would limit what could be done (computationally) in each such node as the batteries would also have to power any "smarts" colocated therein. So, *which* cameras should be battery powered? Which appliances (irrigation system, HVAC, security, etc.)? [I have ~300 nodes that could potentially be powered. Or not.] The simpler solution is to let the user configure the system for which loads it wants to keep powered -- from the PoE PSE. E.g., it is unlikely he would want TV broadcasts recorded in his extended absence so no need to power the TV tuners or the media tank. Should the telephone interface remain active? Or, should it "go silent"? (What if the resident wants to telephone the system to effect some change?) Should the surveillance cameras monitor for wildlife in the yard? Intruders around the residence? etc. The preferences of one residence may differ from another. And, may change over time. So, put the "battery" at the PSE and let it decide what to support in the absence of mains power.
Re: Arms race
Author: Martin Brown
Date: Fri, 13 Nov 2026 09:21
Date: Fri, 13 Nov 2026 09:21
56 lines
4142 bytes
4142 bytes
On 08/11/2026 19:27, 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: >> >>>> 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 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. It can also do that at high levels of optimisation if the code is correct as intended but has no side effects beyond its own scope. The most common UB error in C is stupid buffer overrun followed by signed vs unsigned integer arithmetic overflow which can catch almost anyone out on a bad day. It only takes a moments lapse in concentration. > Explicit nop-s are rarely emited by compilers, Now you are showing *your* ignorance. Modern optimising compilers often issue variable length noops to pad hot branch target destinations where they need to be correctly aligned for optimum use of instruction cache. > 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). I always liked the HCF instruction (Halt and Catch Fire) for undefined behaviour (there is *nothing* in the standard to say it can't do that). -- Martin Brown
Re: Arms race
Author: Bill Sloman
Date: Fri, 13 Nov 2026 11:05
Date: Fri, 13 Nov 2026 11:05
26 lines
2688 bytes
2688 bytes
On 13/11/2026 5:47 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/12/2026 10:39 AM, Bill Sloman wrote: >> On 12/11/2026 11:50 am, john larkin wrote: >>> On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> >>> wrote: >>> >>>> On 11/11/2026 2:42 am, 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: <snip> > The point of all of this? Comedy is fun, you should try it. It's > merely a matter of practice. Comedy can be fun, and I've done a bit of it. Claiming that it is just a matter of practice means that you don't know what you are talking about, as usual. <snip> -- Bill Sloman, Sydney
Re: Arms race
Author: CĂłilĂn NioclásĂn GlostĂ©ir
Date: Fri, 13 Nov 2026 12:35
Date: Fri, 13 Nov 2026 12:35
3 lines
1491 bytes
1491 bytes
All my stolen phones became stolen indoors - one of them became stolen in a home (when I was away). (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Re: Arms race
Author: Johann 'Myrkraverk' Oskarsson
Date: Fri, 13 Nov 2026 12:49
Date: Fri, 13 Nov 2026 12:49
42 lines
3143 bytes
3143 bytes
On 11/13/2026 7:05 PM, Bill Sloman wrote: > On 13/11/2026 5:47 pm, Johann 'Myrkraverk' Oskarsson wrote: >> On 11/12/2026 10:39 AM, Bill Sloman wrote: >>> On 12/11/2026 11:50 am, john larkin wrote: >>>> On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> >>>> wrote: >>>> >>>>> On 11/11/2026 2:42 am, 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: > > <snip> > >> The point of all of this? Comedy is fun, you should try it. It's > > merely a matter of practice. > > Comedy can be fun, and I've done a bit of it. Claiming that it is just a > matter of practice means that you don't know what you are talking about, > as usual. > > <snip> > Dear Bill, Now you're so wrong you have egg on your face. How does it feel? Try- ing to claim comedy isn't about practice is just your coping mechanism for being so unfunny in life everyone stopped talking to you. So don't project your coping mechanism on other people, it's not healthy. Best wishes, and happy comedies! -- 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: Fri, 13 Nov 2026 12:51
Date: Fri, 13 Nov 2026 12:51
17 lines
2329 bytes
2329 bytes
On 11/13/2026 8:35 PM, CĂłilĂn NioclásĂn GlostĂ©ir wrote: > All my stolen phones became stolen indoors - one of them became stolen > in a home (when I was away). > (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!) Well, that's a bummer. It suggests you don't have a stolen phone prob- lem, but a /home problem/. I suggest you move out immediately, and find a new place to live. For some value of immediately, I don't know your financial situation. Best wishes, and good luck finding a new home! -- 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: Fri, 13 Nov 2026 14:16
Date: Fri, 13 Nov 2026 14:16
53 lines
3941 bytes
3941 bytes
On 13/11/2026 11:49 pm, Johann 'Myrkraverk' Oskarsson wrote: > On 11/13/2026 7:05 PM, Bill Sloman wrote: >> On 13/11/2026 5:47 pm, Johann 'Myrkraverk' Oskarsson wrote: >>> On 11/12/2026 10:39 AM, Bill Sloman wrote: >>>> On 12/11/2026 11:50 am, john larkin wrote: >>>>> On Wed, 11 Nov 2026 14:54:11 +1100, Bill Sloman <bill.sloman@ieee.org> >>>>> wrote: >>>>> >>>>>> On 11/11/2026 2:42 am, 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: >> >> <snip> >> >>> The point of all of this? Comedy is fun, you should try it. It's >>> merely a matter of practice. >> >> Comedy can be fun, and I've done a bit of it. Claiming that it is just >> a matter of practice means that you don't know what you are talking >> about, as usual. >> >> <snip> > Dear Bill, > > Now you're so wrong you have egg on your face. How does it feel? Like most of the sensations that you imagine I ought to be feeling, I don't have any conviction that I've got egg on my face, but I do a strong conviction that you are barking up the wrong tree yet again. > Trying to claim comedy isn't about practice is just your coping mechanism > for being so unfunny in life everyone stopped talking to you. Not a situation that I recognise. Professional comedy is about getting the comic timing exactly right, once you've found the comic lines to deliver, but that hasn't got much to do with everyday life. Finding comic moments in everyday life is a rather different skill. > So don't project your coping mechanism on other people, it's not > healthy. That might be good advice for people who share your personality defects - quite what drives you to pontificate about stuff you know very little about isn't all that obvious - but it doesn't generalise to the rest of us. -- Bill Sloman, Sydney
Page 3 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