Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 26 |
Nodes: | 6 (0 / 6) |
Uptime: | 13:57:50 |
Calls: | 629 |
Files: | 1,186 |
D/L today: |
18 files (29,890K bytes) |
Messages: | 165,845 |
Me,
|Please translate this bash script to C for Debian Linux:
|
|```
|#!/bin/bash
|echo "Hello, world!"
|date
|```
, chatbot,
|#include <stdio.h>
|#include <stdlib.h>
|
|int main() {
| // Print "Hello, world!"
| printf("Hello, world!\n");
|
| // Call the system date command
| system("date");
|
| return 0;
|}
| if (strftime(buffer, sizeof(buffer), "%c", local)) {
| printf("%s\n", buffer);
| } else {
| fprintf(stderr, "strftime failed\n");
| return 1;
| }
It has some error checking, but it can hardly be called rCycarefulrCO;
itrCOs incomplete. None of the I/O is error-checked.
Adding checks for error codes at each and every place has some
drawbacks, like cluttering up the code. Sometimes it matters,
sometimes not.
|The hardest single part of building a software system is deciding
|precisely what to build. No other part of the conceptual work is so |difficult as establishing the detailed technical requirements . . .
|No other part of the work so cripples the resulting system if done
|wrong. No other part is more difficult to rectify later.
Brooks, F.P. Jr., The Mythical Man-Month: Essays on Software
Engineering, Addison Wesley, Reading, MA, 1995, Second Edition.
If you skip an error check, and then one day the error happens, and
your program behaves mysteriously at some later point, not obviously
linked to the point where the error actually occurred ... in short, it >doesnrCOt matter, until it does.
prototypes where the damage by the time lost to write perfect
One might write quick one-off test programs, utilities meant to
solve a specific, temporary problem, throwaway scripts or early
prototypes where the damage by the time lost to write perfect checks
for each and every return code and structure the program around this
might outweigh the possible damage by such errors.
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
prototypes where the damage by the time lost to write perfect
|the right thing takes a long time to get out
"Lisp: Good News, Bad News, How to Win Big" (1991)
- Richard P. Gabriel (1949)
On 2025-09-30 06:12, c186282 wrote:
https://www.newsnationnow.com/business/tech/tech-headlines/ap-ai-is-
transforming-how-software-engineers-do-their-jobs-just-dont-call-it-
vibe-coding/
. . .
-a-a Yep, it's the end. Humans will know less and
-a-a less actual code, what it does, how it works.
-a-a They will just 'explain' to the AI what they
-a-a want, more or less.
-a-a Progress ? Progress to doom ?
I wonder if an AI can reliably translate one computer language to another.
On Tue, 30 Sep 2025 00:12:06 -0400, c186282 wrote:
https://www.newsnationnow.com/business/tech/tech-headlines/ap-ai-is-transforming-how-software-engineers-do-their-jobs-just-dont-call-it-vibe-coding/
. . .
Yep, it's the end. Humans will know less and
less actual code, what it does, how it works.
They will just 'explain' to the AI what they
want, more or less.
Progress ? Progress to doom ?
Nah. It's always been that way.
We can perhaps designate AI(LLM) as a "sixth-order programming language:"
<https://en.wikipedia.org/wiki/Programming_language_generations>
In fact, for the past few decades, most programming was/is done using
5GL in which programmers don't actually need to program.
With the various widgets and toolkits available with 5GL I can
just drag and drop and entire text processor into my "program."
On 30/09/2025 12:25, Farley Flud wrote:
With the various widgets and toolkits available with 5GL I can
just drag and drop and entire text processor into my "program."
But entirely fail to debug it when it doesn't work correctly...
There are alts to LLMs but each has the same
problem - in order to be "generally useful"
their thinking has to be SO abstract that they
can rationalize their way around rules/laws/ethics
quite easily. Can you trust your "robo-maid" or
"robo-doc" or "robo-cop" ? Well, NO. They don't
even have to be 'malicious' in the human sense
of the word, just become convinced they're doing
the right thing the best way. They will, have
to be, built from the ground up using that
perspective on things. "What was my score for
solving the last user issue ?".
Many error checks are added to make error situations managable to
non-programming users of a program. When a programmer writes code
for his own use, he can sometimes tolerate more cryptic raw error
messages as they come from the runtime or consciously decide to
take some risks when he himself would be their only victim.
It used to be that a singularly unhelpful message like
"It didn't work" only came from Users from Hell.
Nowadays I'm seeing it in more and more software -
and that goes in spades for web pages.
if (scanf("%259s", srcFile) != 1) {
fprintf(stderr, "Failed to read source file name.\n");
return EXIT_FAILURE;
}
if (scanf("%259s", srcFile) != 1) {Mishandles filesnames with spaces in, or longer than the weird and
fprintf(stderr, "Failed to read source file name.\n");
return EXIT_FAILURE;
}
arbitrary 259-character limit.
On 9/30/25 03:37, Carlos E.R. wrote:
On 2025-09-30 06:12, c186282 wrote:
https://www.newsnationnow.com/business/tech/tech-headlines/ap-ai-is-
transforming-how-software-engineers-do-their-jobs-just-dont-call-it-
vibe-coding/
. . .
-a-a Yep, it's the end. Humans will know less and
-a-a less actual code, what it does, how it works.
-a-a They will just 'explain' to the AI what they
-a-a want, more or less.
-a-a Progress ? Progress to doom ?
I wonder if an AI can reliably translate one computer language to another.
Interesting question. Never HEARD of it.
Likely no NEED seen at the moment.
I expect there to be an "AI" coding language
all of its own soon, tuned to 'modular assembly'
of functional units. Humans may have hell
reading it at all, which raises more interesting
questions.
If a bit of software fails, causes damage or
death, who to blame ?
Ran across a news blurb today where a driverless
car in California made an illegal turn. The cops
were at a total loss, no law fit the crime. No
box for "robot" on their form and no straight
legal path to fine the maker of the system.
If AI generated code IS essentially human-unreadable
AND the number of humans even remotely capable have
all been fired or retired ...
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its... another chatbot?
shoulder who goes through the code, points out the flaws, and keeps >>pressing on them until the code actually is written the way it
should.
... another chatbot?
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
... another chatbot?
On 2025-10-01, c186282 <c186282@nnada.net> wrote:
There are alts to LLMs but each has the same
problem - in order to be "generally useful"
their thinking has to be SO abstract that they
can rationalize their way around rules/laws/ethics
quite easily. Can you trust your "robo-maid" or
"robo-doc" or "robo-cop" ? Well, NO. They don't
even have to be 'malicious' in the human sense
of the word, just become convinced they're doing
the right thing the best way. They will, have
to be, built from the ground up using that
perspective on things. "What was my score for
solving the last user issue ?".
This mission is too important for me to
allow you to jeopardize it.
-- HAL 9000
On 2025-10-01, Stefan Ram <ram@zedat.fu-berlin.de> wrote:
Many error checks are added to make error situations managable to
non-programming users of a program. When a programmer writes code
for his own use, he can sometimes tolerate more cryptic raw error
messages as they come from the runtime or consciously decide to
take some risks when he himself would be their only victim.
You mean more cyptic than "Something went wrong"?
It used to be that a singularly unhelpful message like
"It didn't work" only came from Users from Hell.
Nowadays I'm seeing it in more and more software -
and that goes in spades for web pages.
On Wed, 01 Oct 2025 03:53:53 GMT, Charlie Gibbs wrote:
It used to be that a singularly unhelpful message like
"It didn't work" only came from Users from Hell.
Nowadays I'm seeing it in more and more software -
and that goes in spades for web pages.
Programmers from hell:
try:
...
... do stuff
...
except Exception:
print("something went wrong")
sys.exit(0)
On 01/10/2025 03:06, c186282 wrote:
On 9/30/25 03:37, Carlos E.R. wrote:
On 2025-09-30 06:12, c186282 wrote:
https://www.newsnationnow.com/business/tech/tech-headlines/ap-ai-is-
transforming-how-software-engineers-do-their-jobs-just-dont-call-it-
vibe-coding/
. . .
-a-a Yep, it's the end. Humans will know less and
-a-a less actual code, what it does, how it works.
-a-a They will just 'explain' to the AI what they
-a-a want, more or less.
-a-a Progress ? Progress to doom ?
I wonder if an AI can reliably translate one computer language to
another.
-a Interesting question. Never HEARD of it.
-a Likely no NEED seen at the moment.
-a I expect there to be an "AI" coding language
-a all of its own soon, tuned to 'modular assembly'
-a of functional units. Humans may have hell
-a reading it at all, which raises more interesting
-a questions.
-a If a bit of software fails, causes damage or
-a death, who to blame ?
-a Ran across a news blurb today where a driverless
-a car in California made an illegal turn. The cops
-a were at a total loss, no law fit the crime. No
-a box for "robot" on their form and no straight
-a legal path to fine the maker of the system.
-a If AI generated code IS essentially human-unreadable
-a AND the number of humans even remotely capable have
-a all been fired or retired ...
Someone skilled at writing user stories in Gherkin might have some success. In my experience, AI written code can be clearly written and commented sufficiently for someone knowledgeable enough to spot any mistakes. That said, I'm more of a "write me a bit of code that illustrates this
principle" user of AI.
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
... another chatbot?
On 2025-10-01, Lawrence DrCOOliveiro wrote:
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
... another chatbot?
Or maybe just get a competent programmer to do it and leave the
boilerplate to proper automation if desired
not to
Doubling-Down-As-A-Service. (Also, this naming choice explains why the approach of "pressing on them" may not work well with GenAI.)
(Also: wouldn't this kind of pressing be a role for *training* the
model, and not for users of an already trained model?)
I'm starting to wonder if the regex "now you have two problems"
remark [1] should be adapted for misuse of GenAI... and it seems I am not
the first one to consider that [2] [3].
Paraphrasing Jamie Zawinski [1]:
-2Some people, when confronted with a problem, think "I know, I'll use GenAI!". Now
they have two problems.-+
[1] https://regex.info/blog/2006-09-15/247
[2] https://mastodon.world/@GuyWithLag/112672830010202877
[3] https://ioc.exchange/@dabur/112247320088609260
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps pressing on them until the code actually is written the way it
should.
... another chatbot?
At Wed, 1 Oct 2025 21:06:25 -0000 (UTC), Lawrence D|o-C-OOliveir<ldo@nz.invalid> said:
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
... another chatbot?
Not for my program.
Someone in another group said they'd found a newsreader
written in python, and had an LLM translate it to Rust.
I figured, if he can do something like that, maybe
I could do my newsreader project that I'd been thinking
of.
Call me quirky, but I wanted to write a newsreader
in Tk/perl. Off and on, over the last 6 days, I've been writing
it using ChatGPT5.
Next feature I'm going to add is threading -- but not tonight. ;)
I've learned 10 times more about Tk than I ever knew before.
ObLinux:
All its dependencies are available in the Linux Mint
repositories, save one: Tk::MListbox. Fortunately,
that is pure perl, and can live in as "vendor" subdirectory
of the settings directory. (And it doesn't need it -- it's
just that the overview pane looks and works much better with
it.)
Same screenshot, two sites:
https://imgur.com/a/GQV0lhU
https://ibb.co/BSqzXT5
I've learned 10 times more about Tk than I ever knew before.
The upshot is that at any time Vlad and Xi can push
-a the big shiny red button on their desks and Turn Off
-a the 'west' - infrastructure, banking, govt, corps,
-a comms, pretty much everything in an instant. We
-a computerized everything for convenience - and now
-a it can all be used against us.
On Thu, 02 Oct 2025 06:20:50 +0000, vallor wrote:
I've learned 10 times more about Tk than I ever knew before.
That's about 100 times more than I ever wanted to know. I've messed
around with Tkinter a couple of times but greatly prefer PySide6.
I'm pretty sure I have the O'Reily 'Learning Perl/Tk' around here
someplace but I haven't used Perl in ages and see no reason to return
to it.
On 10/2/25 02:20, vallor wrote:
At Wed, 1 Oct 2025 21:06:25 -0000 (UTC), Lawrence D|o-C-OOliveir<ldo@nz.invalid> said> >
On 1 Oct 2025 17:21:55 GMT, Stefan Ram wrote:
That just shows, a coding chatbot really needs someone over its
shoulder who goes through the code, points out the flaws, and keeps
pressing on them until the code actually is written the way it
should.
... another chatbot?
Not for my program.
Someone in another group said they'd found a newsreader
written in python, and had an LLM translate it to Rust.
I figured, if he can do something like that, maybe
I could do my newsreader project that I'd been thinking
of.
Call me quirky, but I wanted to write a newsreader
in Tk/perl. Off and on, over the last 6 days, I've been writing
it using ChatGPT5.
Next feature I'm going to add is threading -- but not tonight. ;)
I've learned 10 times more about Tk than I ever knew before.
ObLinux:
All its dependencies are available in the Linux Mint
repositories, save one: Tk::MListbox. Fortunately,
that is pure perl, and can live in as "vendor" subdirectory
of the settings directory. (And it doesn't need it -- it's
just that the overview pane looks and works much better with
it.)
Same screenshot, two sites:
https://imgur.com/a/GQV0lhU
https://ibb.co/BSqzXT5
But WHY would you want to do anything in Tk ???
And Perl :-( <puke>
Richard Kettlewell <invalid@invalid.invalid> wrote or quoted:
ram@zedat.fu-berlin.de (Stefan Ram) writes:
if (scanf("%259s", srcFile) != 1) {Mishandles filesnames with spaces in, or longer than the weird and >>arbitrary 259-character limit.
fprintf(stderr, "Failed to read source file name.\n");
return EXIT_FAILURE;
}
After I brought this up with the chatbot, it gave me a new
version [1]. That just shows, a coding chatbot really needs
someone over its shoulder who goes through the code, points out
the flaws, and keeps pressing on them until the code actually
is written the way it should. And that overseer has to actually
know his stuff. So yeah, human experts are still necessary . . .
Stefan Ram <ram@zedat.fu-berlin.de> wrote:
Richard Kettlewell <invalid@invalid.invalid> wrote or quoted:
ram@zedat.fu-berlin.de (Stefan Ram) writes:
if (scanf("%259s", srcFile) != 1) {Mishandles filesnames with spaces in, or longer than the weird and >>arbitrary 259-character limit.
fprintf(stderr, "Failed to read source file name.\n");
return EXIT_FAILURE;
}
After I brought this up with the chatbot, it gave me a new
version [1]. That just shows, a coding chatbot really needs
someone over its shoulder who goes through the code, points out
the flaws, and keeps pressing on them until the code actually
is written the way it should. And that overseer has to actually
know his stuff. So yeah, human experts are still necessary . . .
I find it easier to write and understand my own code than following
that written by others, so a program that spits out code I need to
check and understand completely myself in order to spot mistakes is
a step backwards. When there's an AI that can tell me what went
wrong when my own code misbehaves (knowing already all the inputs
to it up to that point), then _that's_ something useful to me. Even
more useful if it allows me to narrow down complex bugs I encounter
in other people's programs without spending hours/days trying to
understand their code and the general architecture.
On Thu, 02 Oct 2025 06:20:50 +0000, vallor wrote:
I've learned 10 times more about Tk than I ever knew before.
That's about 100 times more than I ever wanted to know. I've messed around with Tkinter a couple of times but greatly prefer PySide6.
I'm pretty sure I have the O'Reily 'Learning Perl/Tk' around here
someplace but I haven't used Perl in ages and see no reason to return to
it.
At 2 Oct 2025 07:26:59 GMT, rbowman <bowman@montana.com> said:
On Thu, 02 Oct 2025 06:20:50 +0000, vallor wrote:
I've learned 10 times more about Tk than I ever knew before.
That's about 100 times more than I ever wanted to know. I've messed
around with Tkinter a couple of times but greatly prefer PySide6.
I'm pretty sure I have the O'Reily 'Learning Perl/Tk' around here
someplace but I haven't used Perl in ages and see no reason to return
to it.
Since the 90's, we (my company) have used perl on our backends.
With a
few caveats...for example, we have a special exception-handling class
that Carp()'s if it goes out of scope without being checked-in with.
And I think all the arguments (and hazards) for what Microsoft calls
"managed code" apply to perl.
The new fashion is to bag on perl because (reasons). One
of those reasons is inscrutable code...which is more a testament
to the programmer's ability than the language itself. Perl
can be written to be less obtuse -- see "C" for another
example of a language that can be made needlessly opaque.
Anyway, because of several decades of experience writing
perl, it's a good fit for my own personal project. I may
translate it into C++/Gtk later, I don't know.
As far as Tk goes, I picked that because it integrates well
with perl, and everything needed is in the Linux Mint repositories.
(Well, except one module, which is pure perl and readily available
on cpan.)
Also, Mrs. vallor has expressed interest in the project,
and in Usenet in general. She has a new Linux workstation
in her office, but her daily driver is (still?) a Mac Studio.
MacOS has both Tk and perl. So once I've got this thing put
together, I'm going to try to get it running on MacOS.
(Worse comes to worse, she can use XQuartz and run it
off a Linux workstation, either hers or mine.) If the
project fizzles, she may end up running pan. We'll see.
But the short answer is: perl has always been my go-to
language, but I use C when I need high-performance.
And finally: say what you will about him, I think Larry Wall is
a genius.
Well ... I've writ a number of Tkinter Python apps.
While not 'sophisticated', Tk is "well documented" and has pretty
much every tweak you'd ever need. Alts are much more complicated -
and FORGET any QT crap !
Perl ... AAAAAAUUUGGGGGHH !!!
Won't touch it.
Camel dung.
On Fri, 3 Oct 2025 00:25:59 -0400, c186282 wrote:
Well ... I've writ a number of Tkinter Python apps.
While not 'sophisticated', Tk is "well documented" and has pretty
much every tweak you'd ever need. Alts are much more complicated -
and FORGET any QT crap !
Since my preference is for KDE, Qt fits in nicely. I also have Lubuntu on
one laptop and that uses LXQt.
The biggest problem with Qt has been the various licensing problems, hence PySide6 rather than PyQt5.
On Fri, 3 Oct 2025 00:29:32 -0400, c186282 wrote:
Perl ... AAAAAAUUUGGGGGHH !!!
Won't touch it.
Camel dung.
https://www.tiobe.com/tiobe-index/
I don't remember a tiobe index for the month starting with WTF? I don't
know if I buy the theory that someone finally drove a stake through Raku's heart. Only Hurd has been a bad joke longer than Perl 6.
At this point I can't remember why I switched to Python. Maybe because
Esri started using it as a scripting language? I did like the DBI concept
and it doesn't have some of the annoying Python formatting quirks. However
it had a bushel of its own quirks. I only have a passing familiarity with sed, awk, and some of the other stuff Wall rolled into the language.
Then you'd still run into the issue of figuring out how to tell the
supervisor chatbot to actually line up with what you want. So in a
way, you might just be kicking the can down the road.
That said, a single chatbot still has a ton of headroom. For my
examples I used a generic one, not something trained on a particular
programming language, coding approach, or runtime setup.
ram@zedat.fu-berlin.de (Stefan Ram) writes:
Then you'd still run into the issue of figuring out how to tell the
supervisor chatbot to actually line up with what you want. So in a
way, you might just be kicking the can down the road.
That said, a single chatbot still has a ton of headroom. For my
examples I used a generic one, not something trained on a particular
programming language, coding approach, or runtime setup.
I think thatrCOs the wrong way of looking at it. They arenrCOt trained on a language as such; they are trained on a corpus of programs people wrote
in the language (and probably violating copyright in the process).
ThatrCOs why you see foolishness like using scanf to read a string: itrCOs a strategy thatrCOs well-represented in its training set.
Call me quirky, but I wanted to write a newsreader
in Tk/perl. Off and on, over the last 6 days, I've been writing
it using ChatGPT5.
Next feature I'm going to add is threading -- but not tonight. ;)
And finally: say what you will about him, I think Larry Wall is
a genius.
It does seem to me that AI in general perfectly captures the idiocy, misinformation and general incompetence of the 'average person on the internet' . It epitomises 'we all say it, so it must be true' logic.
Yesterday I noticed that my chatbot seems to be less capable in
writing Perl code than in writing Python code.
vallor <vallor@vallor.earth> writes:
And finally: say what you will about him, I think Larry Wall is a
genius.
Hear, Hear!
On 3 Oct 2025 11:38:42 GMT, Stefan Ram wrote:
Yesterday I noticed that my chatbot seems to be less capable inDid you try PHP?
writing Perl code than in writing Python code.
On Fri, 3 Oct 2025 20:42:17 -0000 (UTC), Lawrence DrCOOliveiro wrote:
On 3 Oct 2025 11:38:42 GMT, Stefan Ram wrote:
Yesterday I noticed that my chatbot seems to be less capable in
writing Perl code than in writing Python code.
Did you try PHP?
Right now I have no use for PHP.
ram@zedat.fu-berlin.de (Stefan Ram) writes:
Then you'd still run into the issue of figuring out how to tell the
supervisor chatbot to actually line up with what you want. So in a
way, you might just be kicking the can down the road.
That said, a single chatbot still has a ton of headroom. For my
examples I used a generic one, not something trained on a particular
programming language, coding approach, or runtime setup.
I think thatrCOs the wrong way of looking at it. They arenrCOt trained on a language as such; they are trained on a corpus of programs people wrote
in the language (and probably violating copyright in the process).
ThatrCOs why you see foolishness like using scanf to read a string: itrCOs a strategy thatrCOs well-represented in its training set.
On 03/10/2025 08:54, Richard Kettlewell wrote:
ram@zedat.fu-berlin.de (Stefan Ram) writes:It does seem to me that AI in general perfectly captures the idiocy, misinformation and general incompetence of the 'average person on the internet' . It epitomises 'we all say it, so it must be true' logic.
-a-a Then you'd still run into the issue of figuring out how to tell the >>> -a-a supervisor chatbot to actually line up with what you want.-a So in a >>> -a-a way, you might just be kicking the can down the road.
-a-a That said, a single chatbot still has a ton of headroom. For my
-a-a examples I used a generic one, not something trained on a particular >>> -a-a programming language, coding approach, or runtime setup.
I think thatrCOs the wrong way of looking at it. They arenrCOt trained on a >> language as such; they are trained on a corpus of programs people wrote
in the language (and probably violating copyright in the process).
ThatrCOs why you see foolishness like using scanf to read a string: itrCOs a >> strategy thatrCOs well-represented in its training set.
On Fri, 3 Oct 2025 10:02:28 +0100, The Natural Philosopher wrote:
It does seem to me that AI in general perfectly captures the idiocy,
misinformation and general incompetence of the 'average person on the
internet' . It epitomises 'we all say it, so it must be true' logic.
Do others say that besides you?
On 3 Oct 2025 11:38:42 GMT, Stefan Ram wrote:
Yesterday I noticed that my chatbot seems to be less capable in
writing Perl code than in writing Python code.
Did you try PHP?
Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote or quoted:
On 3 Oct 2025 11:38:42 GMT, Stefan Ram wrote:
Yesterday I noticed that my chatbot seems to be less capable inDid you try PHP?
writing Perl code than in writing Python code.
Right now I have no use for PHP. But if I remember right, there's
this guy hanging around on the German Usenet who says he doesn't
know PHP and he's fine with the PHP the chatbot writes for him.
Um, yea, NEVER use 'scanf' these days !
As said somewhere, the weekly M$ security warnings
are just full of 'buffer overflow' warnings. They
won't, or can't, fix it all.
There are input-length-limited functions in 'C' and
a lot of other langs ... nobody uses them.
On 2025-10-01, Stefan Ram <ram@zedat.fu-berlin.de> wrote:
Many error checks are added to make error situations managable to
non-programming users of a program. When a programmer writes code
for his own use, he can sometimes tolerate more cryptic raw error
messages as they come from the runtime or consciously decide to
take some risks when he himself would be their only victim.
You mean more cyptic than "Something went wrong"?
It used to be that a singularly unhelpful message like
"It didn't work" only came from Users from Hell.
Nowadays I'm seeing it in more and more software -
and that goes in spades for web pages.
Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote at 03:53 this Wednesday (GMT):
On 2025-10-01, Stefan Ram <ram@zedat.fu-berlin.de> wrote:
Many error checks are added to make error situations managable to
non-programming users of a program. When a programmer writes code
for his own use, he can sometimes tolerate more cryptic raw error
messages as they come from the runtime or consciously decide to
take some risks when he himself would be their only victim.
You mean more cyptic than "Something went wrong"?
It used to be that a singularly unhelpful message like
"It didn't work" only came from Users from Hell.
Nowadays I'm seeing it in more and more software -
and that goes in spades for web pages.
I half believe they do that to keep people from fixing things themselves
and instead go and contact a support agent (that costs money).
"When in question, when in doubt, follow
-a the MONEY and you'll find out"'
"When in question, when in doubt, follow the MONEY and you'll find
out"'
On 11/10/2025 07:41, c186282 wrote:
"When in question, when in doubt, follow the MONEY and you'll find
out"'
Ah. a fellow cynic.
On Sat, 11 Oct 2025 02:41:10 -0400, c186282 wrote:
"When in question, when in doubt, follow the MONEY and you'll find
out"'
The Franklins do leave a discernible trail.
On Sat, 11 Oct 2025 11:00:04 +0100, The Natural Philosopher wrote:
On 11/10/2025 07:41, c186282 wrote:
"When in question, when in doubt, follow the MONEY and you'll find
out"'
Ah. a fellow cynic.
rCLFollow the moneyrCY ... rCLCui bono?rCY ... great guides, I find, to deconstructing popular conspiracy theories in particular.
But the conspiracy theorists donrCOt like it when I point out how many of their pet beliefs donrCOt add up when analyzed this way.
On 10/11/25 15:03, rbowman wrote:
On Sat, 11 Oct 2025 02:41:10 -0400, c186282 wrote:
-a-a-a "When in question, when in doubt, follow the MONEY and you'll find >>> -a-a-a out"'
The Franklins do leave a discernible trail.
-a Came up with that one myself ... like 30+ years ago.
-a Irresistible rhyme-a :-)
-a Actually, think I came up with it on the CompuServe
-a Forums ........
On 10/11/25 15:39, Lawrence DrCOOliveiro wrote:
On Sat, 11 Oct 2025 11:00:04 +0100, The Natural Philosopher wrote:
On 11/10/2025 07:41, c186282 wrote:
"When in question, when in doubt, follow the MONEY and you'll find
out"'
Ah. a fellow cynic.
rCLFollow the moneyrCY ... rCLCui bono?rCY ... great guides, I find, to
deconstructing popular conspiracy theories in particular.
But the conspiracy theorists donrCOt like it when I point out how many of
their pet beliefs donrCOt add up when analyzed this way.
-a THIS one DOES.
On 12/10/2025 03:28, c186282 wrote:
On 10/11/25 15:03, rbowman wrote:When as a student we could only afford to repair our own cars, I came up
On Sat, 11 Oct 2025 02:41:10 -0400, c186282 wrote:
-a-a-a "When in question, when in doubt, follow the MONEY and you'll
-a-a-a find out"'
The Franklins do leave a discernible trail.
-a Came up with that one myself ... like 30+ years ago.
-a Irresistible rhyme-a :-)
-a Actually, think I came up with it on the CompuServe Forums ........
with similar 'when in doubt, rip it out'
The time spent removing an entire axle to get a brake drum off and onto
the bench with total access and proper tools was way less that lying
upside down with a hammer on the floor getting rust flakes in your
eye....
On 12/10/2025 03:28, c186282 wrote:
On 10/11/25 15:03, rbowman wrote:When as a student we could only afford to repair our own cars, I came up with similar
On Sat, 11 Oct 2025 02:41:10 -0400, c186282 wrote:
-a-a-a "When in question, when in doubt, follow the MONEY and you'll find >>>> -a-a-a out"'
The Franklins do leave a discernible trail.
-a-a Came up with that one myself ... like 30+ years ago.
-a-a Irresistible rhyme-a :-)
-a-a Actually, think I came up with it on the CompuServe
-a-a Forums ........
'when in doubt, rip it out'
The time spent removing an entire axle to get a brake drum off and onto
the bench with total access and proper tools was way less that lying
upside down with a hammer on the floor getting rust flakes in your eye....
On 10/12/25 07:04, The Natural Philosopher wrote:
On 12/10/2025 03:28, c186282 wrote:
On 10/11/25 15:03, rbowman wrote:When as a student we could only afford to repair our own cars, I came
On Sat, 11 Oct 2025 02:41:10 -0400, c186282 wrote:
-a-a-a "When in question, when in doubt, follow the MONEY and you'll find >>>>> -a-a-a out"'
The Franklins do leave a discernible trail.
-a-a Came up with that one myself ... like 30+ years ago.
-a-a Irresistible rhyme-a :-)
-a-a Actually, think I came up with it on the CompuServe
-a-a Forums ........
up with similar
'when in doubt, rip it out'
The time spent removing an entire axle to get a brake drum off and
onto the bench with total access and proper tools was way less that
lying upside down with a hammer on the floor getting rust flakes in
your eye....
-a Not every designer/corp thinks in terms
-a of maint.
-a Most USA cars, you can easily get to, replace,
-a things like brake drums/discs/bearings without
-a getting more extreme. But not EVERYBODY thought
-a that way.
Most USA cars, you can easily get to, replace, things like brake
drums/discs/bearings without getting more extreme. But not EVERYBODY
thought that way.
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
Most USA cars, you can easily get to, replace, things like brake
drums/discs/bearings without getting more extreme. But not EVERYBODY
thought that way.
Yeah, sure... When the master cylinder on my '51 Chevy failed it became obvious that the cylinder had been bolted to the frame before the body was added. There was a small plate to allow replacing fluid but no provision
for R&R.
I'm one of those strange people who looks under the hood when buying a
car. I like to identify everything that may need maintenance and make sure it's accessible.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
Most USA cars, you can easily get to, replace, things like brake
drums/discs/bearings without getting more extreme. But not
EVERYBODY thought that way.
Yeah, sure... When the master cylinder on my '51 Chevy failed it
became obvious that the cylinder had been bolted to the frame before
the body was added. There was a small plate to allow replacing fluid
but no provision for R&R.
Hey, 1951 ....
Drill the bolts and proceed.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake
-a-a-a drums/discs/bearings without getting more extreme. But not EVERYBODY >>> -a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it became >> obvious that the cylinder had been bolted to the frame before the body
was
added. There was a small plate to allow replacing fluid but no provision
for R&R.
-a Hey, 1951 ....
-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a
car. I like to identify everything that may need maintenance and make
sure
it's accessible.
-a THESE days ??? They INTENTIONALLY hide everything.
On 2025-10-14 07:24, c186282 wrote:
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake >>>> -a-a-a drums/discs/bearings without getting more extreme. But not
EVERYBODY
-a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it
became
obvious that the cylinder had been bolted to the frame before the
body was
added. There was a small plate to allow replacing fluid but no provision >>> for R&R.
-a-a Hey, 1951 ....
-a-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a
car. I like to identify everything that may need maintenance and make
sure
it's accessible.
-a-a THESE days ??? They INTENTIONALLY hide everything.
These days what breaks are the electronic sensors. Mechanical is
eternal, almost :-)
On 14/10/2025 09:04, Carlos E.R. wrote:
On 2025-10-14 07:24, c186282 wrote:Not if its made of *plastic*.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake >>>>> -a-a-a drums/discs/bearings without getting more extreme. But not
EVERYBODY
-a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it
became
obvious that the cylinder had been bolted to the frame before the
body was
added. There was a small plate to allow replacing fluid but no
provision
for R&R.
-a-a Hey, 1951 ....
-a-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a >>>> car. I like to identify everything that may need maintenance and
make sure
it's accessible.
-a-a THESE days ??? They INTENTIONALLY hide everything.
These days what breaks are the electronic sensors. Mechanical is
eternal, almost :-)
Inlet manifolds made of plastic at a $600 replacement cost? Who, ever,
broke a cast inlet manifold back in the day?...
Composite timing belts that snap every 100,000 miles...
Engines that destroy themselves in a manufacturer's attempt to get
better gas mileage or emissions?
The cars are designed to last the warranty period and then be too
expensive to be worth fixing.
On 2025-10-14 11:04, The Natural Philosopher wrote:
On 14/10/2025 09:04, Carlos E.R. wrote:
On 2025-10-14 07:24, c186282 wrote:Not if its made of *plastic*.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake >>>>>> -a-a-a drums/discs/bearings without getting more extreme. But not >>>>>> EVERYBODY
-a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it >>>>> became
obvious that the cylinder had been bolted to the frame before the
body was
added. There was a small plate to allow replacing fluid but no
provision
for R&R.
-a-a Hey, 1951 ....
-a-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a >>>>> car. I like to identify everything that may need maintenance and
make sure
it's accessible.
-a-a THESE days ??? They INTENTIONALLY hide everything.
These days what breaks are the electronic sensors. Mechanical is
eternal, almost :-)
Hum. Yes. I repaired a radiator fan attachment part to the car body,
with epoxy resin with a fibre glass filling. The mechanic said *he*
could not do that (because he could not guarantee the repair for the mandatory time), but me, sure, fine. The repair did hold till the car
was recycled.
Inlet manifolds made of plastic at a $600 replacement cost? Who, ever,
broke a cast inlet manifold back in the day?...
Composite timing belts that snap every 100,000 miles...
Some are submerged in oil and break earlier. They decompose, clog the
oil filter with debris, and the engine is totalled because of oil
failure. Who was the idiot that thought submerging a rubber belt in oil
was a good idea?
On 14/10/2025 11:06, Carlos E.R. wrote:
Well you are supposed to *change* them, and the oil they run in, regularly...Composite timing belts that snap every 100,000 miles...
Some are submerged in oil and break earlier. They decompose, clog the
oil filter with debris, and the engine is totalled because of oil
failure. Who was the idiot that thought submerging a rubber belt in
oil was a good idea?
Composite timing belts that snap every 100,000 miles...
The USA, having at best sketchy vehicle mandatory inspections, is a rich source of 'what happens if I drive it till it falls apart?' vehicles.
On 2025-10-14 12:32, The Natural Philosopher wrote:
On 14/10/2025 11:06, Carlos E.R. wrote:
Well you are supposed to *change* them, and the oil they run in,Composite timing belts that snap every 100,000 miles...
Some are submerged in oil and break earlier. They decompose, clog the
oil filter with debris, and the engine is totalled because of oil
failure. Who was the idiot that thought submerging a rubber belt in
oil was a good idea?
regularly...
Even if you do, they break way before their due time.
It is a known issue, well published.
On Tue, 14 Oct 2025 11:32:06 +0100, The Natural Philosopher wrote:
The USA, having at best sketchy vehicle mandatory inspections, is a rich
source of 'what happens if I drive it till it falls apart?' vehicles.
Like many things, this is on a state by state basis. This state has no inspection and there are surprisingly few rolling wrecks. New Hampshire
had semi-annual inspections that could be a pain in the ass. I bought an
old Dodge pickup and somewhere along the line someone with big truck aspirations had added clearance lights to the top of the cab. Completely nonstandard and not legally required but because they were there they had
to work. I've also been flagged for lack of a horn. The only time I use a horn is by mistake but you had to have one.
They were good business for repair shops. The dreaded 'your ball joints
are worn' was good for several hundred dollars.
On Tue, 14 Oct 2025 01:24:59 -0400, c186282 wrote:
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
Most USA cars, you can easily get to, replace, things like brake
drums/discs/bearings without getting more extreme. But not
EVERYBODY thought that way.
Yeah, sure... When the master cylinder on my '51 Chevy failed it
became obvious that the cylinder had been bolted to the frame before
the body was added. There was a small plate to allow replacing fluid
but no provision for R&R.
Hey, 1951 ....
Drill the bolts and proceed.
Yeah, a '51 introduced me to interesting technology like kingpin reamers. otoh I paid $35 for it and had a lot of fun in the car. Can't beat that
old straight 6.
My family had a new '51 when we drove across country. In her version of a pilot's automatic rough she would start worrying about the tappets in the middle of Wyoming. I'm not sure she even knew what a tappet was. Before hydraulic lifters a noisy valve train was a happy valve train but with her wolf's ear every click portended disaster.
On 14/10/2025 09:04, Carlos E.R. wrote:
On 2025-10-14 07:24, c186282 wrote:Not if its made of *plastic*.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake >>>>> -a-a-a drums/discs/bearings without getting more extreme. But not
EVERYBODY
-a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it
became
obvious that the cylinder had been bolted to the frame before the
body was
added. There was a small plate to allow replacing fluid but no
provision
for R&R.
-a-a Hey, 1951 ....
-a-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a >>>> car. I like to identify everything that may need maintenance and
make sure
it's accessible.
-a-a THESE days ??? They INTENTIONALLY hide everything.
These days what breaks are the electronic sensors. Mechanical is
eternal, almost :-)
Inlet manifolds made of plastic at a $600 replacement cost? Who, ever,
broke a cast inlet manifold back in the day?...
Composite timing belts that snap every 100,000 miles...
Engines that destroy themselves in a manufacturer's attempt to get
better gas mileage or emissions?
The cars are designed to last the warranty period and then be too
expensive to be worth fixing.
On 2025-10-14 11:04, The Natural Philosopher wrote:
On 14/10/2025 09:04, Carlos E.R. wrote:
On 2025-10-14 07:24, c186282 wrote:Not if its made of *plastic*.
On 10/13/25 15:05, rbowman wrote:
On Mon, 13 Oct 2025 03:24:19 -0400, c186282 wrote:
-a-a-a Most USA cars, you can easily get to, replace, things like brake >>>>>> -a-a-a drums/discs/bearings without getting more extreme. But not >>>>>> EVERYBODY
-a-a-a thought that way.
Yeah, sure...-a-a When the master cylinder on my '51 Chevy failed it >>>>> became
obvious that the cylinder had been bolted to the frame before the
body was
added. There was a small plate to allow replacing fluid but no
provision
for R&R.
-a-a Hey, 1951 ....
-a-a Drill the bolts and proceed.
I'm one of those strange people who looks under the hood when buying a >>>>> car. I like to identify everything that may need maintenance and
make sure
it's accessible.
-a-a THESE days ??? They INTENTIONALLY hide everything.
These days what breaks are the electronic sensors. Mechanical is
eternal, almost :-)
Hum. Yes. I repaired a radiator fan attachment part to the car body,
with epoxy resin with a fibre glass filling. The mechanic said *he*
could not do that (because he could not guarantee the repair for the mandatory time), but me, sure, fine. The repair did hold till the car
was recycled.
Inlet manifolds made of plastic at a $600 replacement cost? Who, ever,
broke a cast inlet manifold back in the day?...
Composite timing belts that snap every 100,000 miles...
Some are submerged in oil and break earlier. They decompose, clog the
oil filter with debris, and the engine is totalled because of oil
failure. Who was the idiot that thought submerging a rubber belt in oil
was a good idea?
Engines that destroy themselves in a manufacturer's attempt to get
better gas mileage or emissions?
The cars are designed to last the warranty period and then be too
expensive to be worth fixing.
I wish the inspection stations were still around. Most modern cars
would fail due to overly-bright headlights aimed too high. (Gotta dazzle
the oncoming traffic, doncha know - the car ads say it's cool.) When we cross the border into Washington I notice that headlights down there
aren't nearly as obnoxious. In fact, the last time I bought a
replacement headlamp I noticed that a number of them were marked "Legal
in Canada and Mexico only". Apparently this is something the States got right.
On Tue, 14 Oct 2025 23:31:45 GMT, Charlie Gibbs wrote:
I wish the inspection stations were still around. Most modern cars
would fail due to overly-bright headlights aimed too high. (Gotta dazzle
the oncoming traffic, doncha know - the car ads say it's cool.) When we
cross the border into Washington I notice that headlights down there
aren't nearly as obnoxious. In fact, the last time I bought a
replacement headlamp I noticed that a number of them were marked "Legal
in Canada and Mexico only". Apparently this is something the States got
right.
The HID systems are really annoying to say nothing of pickups with
headlights at eye level if you're in a passenger car. I had cataracts
removed from both eyes last year. Prior to that I was mostly flying blind with oncoming headlights.
I'm not big on gadgetry and my Toyota doesn't have remote entry, lane keeping, and all that but one thing it does have is automatic headlight dimming. In almost all cases it dims the lights when I would manually
either overtaking or approaching. One quirk is a 20 mph curve on my way
home that has a lot of reflective signage that will trigger dimming.
iirc Cadillac had something like that about 50 years ago that didn't work very well. I assume this system has more intelligence and better sensors.
On Tue, 14 Oct 2025 10:04:57 +0100, The Natural Philosopher wrote:
Composite timing belts that snap every 100,000 miles...
Like timing chains never failed... One difference was there were few interference engines.
Ya know, with modern 3-D metal printing, somebody ought
-a to sell one-off duplicates for almost every part for
-a old cars. All they need are the original dimensions.
-a Heat-treated parts, not that many in old vehicles,
-a would be more of a challenge.
On Tue, 14 Oct 2025 12:45:07 +0200, Carlos E.R. wrote:
On 2025-10-14 12:32, The Natural Philosopher wrote:
On 14/10/2025 11:06, Carlos E.R. wrote:
Well you are supposed to *change* them, and the oil they run in,Composite timing belts that snap every 100,000 miles...
Some are submerged in oil and break earlier. They decompose, clog the
oil filter with debris, and the engine is totalled because of oil
failure. Who was the idiot that thought submerging a rubber belt in
oil was a good idea?
regularly...
Even if you do, they break way before their due time.
It is a known issue, well published.
So far that seems to be mostly a European thing.
We used to have vehicle inspection stations here in B.C. but the
provincial government shut them down around 1982 as a "cost-saving
measure".
On Tue, 14 Oct 2025 23:31:45 GMT, Charlie Gibbs wrote:
I wish the inspection stations were still around. Most modern cars
would fail due to overly-bright headlights aimed too high. (Gotta dazzle
the oncoming traffic, doncha know - the car ads say it's cool.) When we
cross the border into Washington I notice that headlights down there
aren't nearly as obnoxious. In fact, the last time I bought a
replacement headlamp I noticed that a number of them were marked "Legal
in Canada and Mexico only". Apparently this is something the States got
right.
The HID systems are really annoying to say nothing of pickups with headlights at eye level if you're in a passenger car. I had cataracts removed from both eyes last year. Prior to that I was mostly flying blind with oncoming headlights.
I'm not big on gadgetry and my Toyota doesn't have remote entry, lane keeping, and all that but one thing it does have is automatic headlight dimming. In almost all cases it dims the lights when I would manually
either overtaking or approaching. One quirk is a 20 mph curve on my way
home that has a lot of reflective signage that will trigger dimming.
iirc Cadillac had something like that about 50 years ago that didn't work very well. I assume this system has more intelligence and better sensors.