🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.misc
1099 messages
1099 total messages Page 1 of 22 Started by Leroy H Fri, 16 Oct 2026 03:26
Page 1 of 22 • 1099 total messages
Back To CS Basics. Fuck AI
#611
Author: Leroy H
Date: Fri, 16 Oct 2026 03:26
89 lines
3224 bytes
It is amazing how knowledge of basic CS is absent in most
programmers, both professional and amateur alike.  While
"vibe coding" is all the rage, a silent disaster is also
creeping.

What GNU/Linux requires urgently is a Decimal Floating
Point library that implements IEEE754-2008, but mention this
to most programmers and one will receive only blank stares
and gaping mouths.

The only GNU/Linux project for IEEE754-2008 is closing
its doors:

<https://github.com/libdfp/libdfp/pull/238>

Disagree?

Compile and run the following C code (libdfp must be
installed) and check the results.  It merely adds
a small increment 10 million times:

[~]# ./fp-compare 10000000
Binary Expected: 100000.000000
Binary Got: 95680.945312

Decimal Expected: 100000.000000
Decimal Got: 100000.000000

Whew!  Using standard binary FP the result is in error
by TENS OF THOUSANDS!

GNU/Linux needs Decimal FP.

======================================
Begin C Code
(libdfp must be installed)
(link: https://github.com/libdfp/libdfp)
======================================

/*********************************************
gcc -std=gnu99 $CFLAGS -Wall -Wextra -I/usr/local/include/dfp -o fp-compare fp-compare.c -ldfp

./fp-compare 10000000

Compares an identical computation using both float and _Decimal32
variables.

**********************************************/

#define _GNU_SOURCE
#define __STDC_WANT_DEC_FP__
#include <fenv.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>

int main(int argc, char **argv) {

_Decimal32 dec_meters, dec_inc, dec_iterations;
float bin_meters, bin_inc;
int i, iterations;

// set dec rounding mode to round half up
fe_dec_setround(FE_DEC_TONEARESTFROMZERO);

iterations = atoi(argv[1]);
dec_iterations = strtod32(argv[1],'\0');

dec_meters = 0.0DF;
bin_meters = 0.0;
dec_inc = 0.01DF;
bin_inc = 0.01;

for (i = 0; i < iterations; i++) {
 bin_meters = bin_meters + bin_inc;
 dec_meters = dec_meters + dec_inc;
}

fprintf(stdout, "Binary Expected: %f\n", bin_inc * (float)iterations);
fprintf(stdout, "Binary Got: %f\n\n", bin_meters);

fprintf(stdout, "Decimal Expected: %Hf\n", dec_inc * dec_iterations);
fprintf(stdout, "Decimal Got: %Hf\n", dec_meters);

}

================================
End C Code
================================
Re: Back To CS Basics. Fuck AI
#736
Author: c186282
Date: Fri, 16 Oct 2026 04:00
16 lines
1952 bytes
On 10/15/26 23:26, Leroy H wrote:
> It is amazing how knowledge of basic CS is absent in most
> programmers, both professional and amateur alike.  While
> "vibe coding" is all the rage, a silent disaster is also
> creeping.

   99+ percent of us got by just fine without
   any "computer science" crapola.

   CS is all math/stats. Has almost nothing to
   do with the real-world these days. Maybe in
   the 1940s .......

   Might, MAYBE, produce a useful idea, every,
   very, once in awhile.
Re: Back To CS Basics. Fuck AI
#738
Author: Leroy H
Date: Fri, 16 Oct 2026 04:33
39 lines
2259 bytes
On Fri, 16 Oct 2026 00:00:58 -0400, c186282 wrote:

> 
>    99+ percent of us got by just fine without
>    any "computer science" crapola.
> 
>    CS is all math/stats. Has almost nothing to
>    do with the real-world these days.
>

Ha, ha, ha!  That's why I _love_ floating point examples.

Even though FP calculations underpin absolutely EVERYTHING
that occurs in modern-day computing, 99+ percent of programmers
are totally ignorant of this highly important area.

A technically minor, but nonetheless critical, example occurred
with the Patriot missile debacle:

<https://www.cs.unc.edu/~smp/COMP205/LECTURES/ERROR/lec23/node4.html>

Whew!  Twenty-eight soldiers died because of the incompetent
programmers.

But why bother?  The C "double" type includes enough precision
for 99+ percent of the incompetent programming workforce to 
easily, and ignorantly, get by.

Should universities and technical colleges flunk en masse
all those who cannot master FP principles?

Ha, ha!  Universities are now awarding degrees to those who
can barely read and write and FP competency is surely very
low on their list.

99+ percent of programmers are blundering idiots.

But it is the 1- percent that will always make the difference.
Re: Back To CS Basics. Fuck AI
#741
Author: Peyton
Date: Fri, 16 Oct 2026 04:53
25 lines
2019 bytes
c186282 <c186282@nnada.net> writes:

> On 10/15/26 23:26, Leroy H wrote:
>> It is amazing how knowledge of basic CS is absent in most
>> programmers, both professional and amateur alike.  While
>> "vibe coding" is all the rage, a silent disaster is also
>> creeping.
>
>   99+ percent of us got by just fine without
>   any "computer science" crapola.
>
>   CS is all math/stats. Has almost nothing to
>   do with the real-world these days. Maybe in
>   the 1940s .......
>
>   Might, MAYBE, produce a useful idea, every,
>   very, once in awhile.
>
I one time worked with a colleague who did not understand why a C#
binary executable was running significantly faster than a Python
script.

Not having basic CS fundamentals does have real implications in
everyday software. 
-- 
Re: Back To CS Basics. Fuck AI
#747
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 05:29
14 lines
1795 bytes
On Fri, 16 Oct 2026 00:00:58 -0400, c186282 wrote:

> On 10/15/26 23:26, Leroy H wrote:
>> It is amazing how knowledge of basic CS is absent in most programmers,
>> both professional and amateur alike.  While "vibe coding" is all the
>> rage, a silent disaster is also creeping.
> 
>    99+ percent of us got by just fine without any "computer science"
>    crapola.

"Got by just fine" at doing _what_, exactly?

The state of software would make one think that very few people are 
"getting by just fine", incidentally...
Re: Back To CS Basics. Fuck AI
#749
Author: c186282
Date: Fri, 16 Oct 2026 05:31
37 lines
2722 bytes
On 10/16/26 00:53, Peyton wrote:
> c186282 <c186282@nnada.net> writes:
> 
>> On 10/15/26 23:26, Leroy H wrote:
>>> It is amazing how knowledge of basic CS is absent in most
>>> programmers, both professional and amateur alike.  While
>>> "vibe coding" is all the rage, a silent disaster is also
>>> creeping.
>>
>>    99+ percent of us got by just fine without
>>    any "computer science" crapola.
>>
>>    CS is all math/stats. Has almost nothing to
>>    do with the real-world these days. Maybe in
>>    the 1940s .......
>>
>>    Might, MAYBE, produce a useful idea, every,
>>    very, once in awhile.
>>
> I one time worked with a colleague who did not understand why a C#
> binary executable was running significantly faster than a Python
> script.

   Worrisome.

   However do note that MOST of the Python functions
   are writ in 'C'.

> Not having basic CS fundamentals does have real implications in
> everyday software.

   Not so much.

   Yer guy didn't need a CS degree - just someone
   to TELL him the diff between compiled and
   interpreted. That's all.
Re: Back To CS Basics. Fuck AI
#750
Author: Lawrence D’Oliveiro
Date: Fri, 16 Oct 2026 06:02
9 lines
1678 bytes
On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:

> I one time worked with a colleague who did not understand why a C#
> binary executable was running significantly faster than a Python
> script.

Tell me again, why does C♯ exist? Beyond being some kind of corporate
vanity project started by Bill Gates after Sun gave him a good hiding
over his attempts to hijack Java?
Re: Back To CS Basics. Fuck AI
#752
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 06:08
30 lines
2419 bytes
On Fri, 16 Oct 2026 01:31:01 -0400, c186282 wrote:


>> Not having basic CS fundamentals does have real implications in
>> everyday software.
> 
>    Not so much.
> 
>    Yer guy didn't need a CS degree - just someone to TELL him the diff
>    between compiled and interpreted. That's all.

Yes, that's usually what they TELL you at some point during your freshman 
year :-) 

They TELL you a bunch of other stuff that is required to function 
professionally.

I don't understand the rabid anti-intellectualism that's going around 
here.

Sure, you don't need a mechanical engineering degree to drive your car 
around (duh!), but if you were working in the field it would generally 
help, and I am very, very happy that my car was designed by people with an 
actual degree.

Of course, most people working as "programmers" are the equivalent of a 
car mechanic or skilled labourer in plant, and don't need the full degree.

In Italy or Germany we have such things, vocational schools etc where you 
learn how to cobble together some Perl and be happy.
Re: Back To CS Basics. Fuck AI
#751
Author: Peyton
Date: Fri, 16 Oct 2026 06:16
54 lines
2881 bytes
c186282 <c186282@nnada.net> writes:

> On 10/16/26 00:53, Peyton wrote:
>> c186282 <c186282@nnada.net> writes:
>> 
>>> On 10/15/26 23:26, Leroy H wrote:
>>>> It is amazing how knowledge of basic CS is absent in most
>>>> programmers, both professional and amateur alike.  While
>>>> "vibe coding" is all the rage, a silent disaster is also
>>>> creeping.
>>>
>>>    99+ percent of us got by just fine without
>>>    any "computer science" crapola.
>>>
>>>    CS is all math/stats. Has almost nothing to
>>>    do with the real-world these days. Maybe in
>>>    the 1940s .......
>>>
>>>    Might, MAYBE, produce a useful idea, every,
>>>    very, once in awhile.
>>>
>> I one time worked with a colleague who did not understand why a C#
>> binary executable was running significantly faster than a Python
>> script.
>
>   Worrisome.
>
>   However do note that MOST of the Python functions
>   are writ in 'C'.
>

>> Not having basic CS fundamentals does have real implications in
>> everyday software.
>
>   Not so much.
>
When you don't know the basics you'll make some bone headed
decisions that'll impact efficiency and/or correctness. Hopefully the AI
tool being used will catch it. But from my
experience it doesn't do it all the time and will even
encourage bad practices. 
>   Yer guy didn't need a CS degree - just someone
>   to TELL him the diff between compiled and
>   interpreted. That's all.
>

I agree. That is the very issue. I'd argue knowing the difference between
compiled and interpreted is basic CS. 





-- 
Re: Back To CS Basics. Fuck AI
#755
Author: Peyton
Date: Fri, 16 Oct 2026 06:26
17 lines
2021 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> writes:

> On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:
>
>> I one time worked with a colleague who did not understand why a C#
>> binary executable was running significantly faster than a Python
>> script.
>
> Tell me again, why does C♯ exist? Beyond being some kind of corporate
> vanity project started by Bill Gates after Sun gave him a good hiding
> over his attempts to hijack Java?

Something like that. Java got popular, and Microsoft didn't have control
over it. Microsoft feared that if Java got big enough they could bend
them over. So Microsoft created their own implementation of Java, Sun
sued so they created C#.
-- 
Re: Back To CS Basics. Fuck AI
#756
Author: Leroy H
Date: Fri, 16 Oct 2026 06:39
27 lines
2131 bytes
On Fri, 16 Oct 2026 06:02:11 -0000 (UTC), Lawrence D’Oliveiro wrote:

> 
> Tell me again, why does C♯ exist? Beyond being some kind of corporate
> vanity project started by Bill Gates after Sun gave him a good hiding
> over his attempts to hijack Java?
>

C# is the most abominable concoction to ever emerge from the human mind
but it, like the failed XPS and WMV formats, represents Microsoft's
intention to dominate all of computing.

Unfortunately, in this case they succeeded.  C# is the dominant choice
for most corporate computing projects and consequently it has sucked
in hordes of C# code monkeys that are falsely labeled as "programmers."

But this thread is about Decimal Floating Point (DFP).

DFP is the preferred format for all calculations.  However, only
IBM Power processors contain the hardware to implement DFP.  All
other systems must use software DFP routines.

GNU/Linux needs DFP libraries but, as indicated, these are no longer
being maintained.

Most "programmers" will only respond with blank stares and gaping mouths.
Re: Back To CS Basics. Fuck AI
#758
Author: rbowman
Date: Fri, 16 Oct 2026 06:42
25 lines
2061 bytes
On Thu, 15 Oct 2026 23:26:40 -0700, Peyton wrote:

> Lawrence D’Oliveiro <ldo@nz.invalid> writes:
> 
>> On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:
>>
>>> I one time worked with a colleague who did not understand why a C#
>>> binary executable was running significantly faster than a Python
>>> script.
>>
>> Tell me again, why does C♯ exist? Beyond being some kind of corporate
>> vanity project started by Bill Gates after Sun gave him a good hiding
>> over his attempts to hijack Java?
> 
> Something like that. Java got popular, and Microsoft didn't have control
> over it. Microsoft feared that if Java got big enough they could bend
> them over. So Microsoft created their own implementation of Java, Sun
> sued so they created C#.

Visual J++ was superior when it came to coding in the Microsoft ecosystem. 
As you say, Sun sued so the short lived J# was created, followed by C#. C# 
is an improvement on Java, which is slow and bloated.

It's telling that back in the day IBM's skunkworks created the jikes Java 
compiler which was much faster than javac. 
Re: Back To CS Basics. Fuck AI
#757
Author: Lawrence D’Oliveiro
Date: Fri, 16 Oct 2026 07:41
27 lines
2479 bytes
On Thu, 15 Oct 2026 23:26:40 -0700, Peyton wrote:

> Lawrence D’Oliveiro <ldo@nz.invalid> writes:
>
>> On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:
>>
>>> I one time worked with a colleague who did not understand why a C#
>>> binary executable was running significantly faster than a Python
>>> script.
>>
>> Tell me again, why does C♯ exist? Beyond being some kind of
>> corporate vanity project started by Bill Gates after Sun gave him a
>> good hiding over his attempts to hijack Java?
>
> Something like that. Java got popular, and Microsoft didn't have
> control over it. Microsoft feared that if Java got big enough they
> could bend them over. So Microsoft created their own implementation
> of Java, Sun sued so they created C#.

Here’s another fun thing. Microsoft has been offering Python API
access to Excel users -- and it wants to charge extra for that. Guess
it figures the users are too dumb to figure out they can bypass
Microsoft, and Excel, and make use of Python for free.

You think they could get away with doing that with C♯?

Somehow I don’t think so ...
Re: Back To CS Basics. Fuck AI
#759
Author: Lawrence D’Oliveiro
Date: Fri, 16 Oct 2026 07:45
12 lines
1916 bytes
On Thu, 15 Oct 2026 23:16:46 -0700, Peyton wrote:

> I'd argue knowing the difference between compiled and interpreted is
> basic CS.

Knowing that the difference is even less significant than you might
think is even more basic CS.

After all, where does “hardware” end and “software” begin? On which
side of the line do you place things like “firmware” (note the name)
and “microcode”? The “P” in “PLA” stands for “programmable”; does that
mean the gate connections are still “hardware”, or not?
Re: Back To CS Basics. Fuck AI
#760
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 08:16
32 lines
2594 bytes
On 16/10/2026 05:00, c186282 wrote:
> CS is all math/stats. Has almost nothing to
>    do with the real-world these days. Maybe in
>    the 1940s .......

Yes. I had been writing code years before I read Knuth.

It was a revelation. Massively overcomplicated approach to the simplest 
things.

CS is great for people writing compilers, designing chips, or cracking 
enigma codes, but the reality of writing pragmatic workmanlike 
maintainable and well documented code on time and on budget is software 
engineering, not CS

CS is actually against the goals of this. It leads to over complexity 
and adoption of elegant, rather than functional design.

E.g. "All the problems of C++ would have been avoided if we had written 
it in C".


-- 
“It is not the truth of Marxism that explains the willingness of 
intellectuals to believe it, but the power that it confers on 
intellectuals, in their attempts to control the world. And since...it is 
futile to reason someone out of a thing that he was not reasoned into, 
we can conclude that Marxism owes its remarkable power to survive every 
criticism to the fact that it is not a truth-directed but a 
power-directed system of thought.”
Sir Roger Scruton
Re: Back To CS Basics. Fuck AI
#762
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 08:19
21 lines
2054 bytes
On 16/10/2026 05:53, Peyton wrote:
> I one time worked with a colleague who did not understand why a C#
> binary executable was running significantly faster than a Python
> script.
>


> Not having basic CS fundamentals does have real implications in
> everyday software.

That's is not  'CS fundamentals', That is basic software engineering.

Like running MSDOS through a hardware emulator and counting the number 
of code instructions between pressing a key and the letter appearing on 
the screen, and comparing it with CP/M

And concluding that it must have been written by computer scientists

-- 
WOKE is an acronym... Without Originality, Knowledge or Education.
Re: Back To CS Basics. Fuck AI
#761
Author: c186282
Date: Fri, 16 Oct 2026 08:22
16 lines
2124 bytes
On 10/16/26 02:02, Lawrence D’Oliveiro wrote:
> On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:
> 
>> I one time worked with a colleague who did not understand why a C#
>> binary executable was running significantly faster than a Python
>> script.
> 
> Tell me again, why does C♯ exist? Beyond being some kind of corporate
> vanity project started by Bill Gates after Sun gave him a good hiding
> over his attempts to hijack Java?

   There is NO really good reason for C++

   Yea, yea, it's "object" - but in C you
   don't REALLY need that.
Re: Back To CS Basics. Fuck AI
#763
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 08:26
29 lines
2412 bytes
On 16/10/2026 06:31, c186282 wrote:
> Yer guy didn't need a CS degree - just someone
>    to TELL him the diff between compiled and
>    interpreted. That's all.

Precisely. Just count the cycles
Ive told this story before, so apologies,

The lads were preparing to lift the engine out of IIRC a fork lift truck 
using a chain hoist strapped to a wooden beam or rather insubstantial 
proportions. I stopped them :
"We ought to calculate if that beam can take it"
"Don't worry, it can"
"How do you know"
"Because we used it to pull a bigger motor out last week when you 
weren't looking"

In nearly all my time as an engineer, you only uses the theory to design 
something that's never been designed before.

In all other cases it's quicker and more fool proof to simply knock up a 
prototype and test it.

And that can be done by far less expensive people than a theoretician


-- 
WOKE is an acronym... Without Originality, Knowledge or Education.
Re: Back To CS Basics. Fuck AI
#764
Author: c186282
Date: Fri, 16 Oct 2026 08:39
83 lines
4514 bytes
On 10/16/26 02:08, Tapiro Ubriaco wrote:
> On Fri, 16 Oct 2026 01:31:01 -0400, c186282 wrote:
> 
> 
>>> Not having basic CS fundamentals does have real implications in
>>> everyday software.
>>
>>     Not so much.
>>
>>     Yer guy didn't need a CS degree - just someone to TELL him the diff
>>     between compiled and interpreted. That's all.
> 
> Yes, that's usually what they TELL you at some point during your freshman
> year :-)
> 
> They TELL you a bunch of other stuff that is required to function
> professionally.
> 
> I don't understand the rabid anti-intellectualism that's going around
> here.

   I do.

   The "intellectualism" is a kind of Cloud-9 thing
   all in all.

   As said, it had SOME uses in the 40s and 50s ... but
   beyond then it, and real-world programming, DIVERGED
   rather sharply. Frankly 99.9% of us just don't NEED
   the "theory" shit ... we just get ON with it.


> Sure, you don't need a mechanical engineering degree to drive your car
> around (duh!), but if you were working in the field it would generally
> help, and I am very, very happy that my car was designed by people with an
> actual degree.
> 
> Of course, most people working as "programmers" are the equivalent of a
> car mechanic or skilled labourer in plant, and don't need the full degree.
> 
> In Italy or Germany we have such things, vocational schools etc where you
> learn how to cobble together some Perl and be happy.

   OK, cobble-together some Perl or 'C' or Python or
   whatever, make it WORK, GET it to work quickly.
   More than Good Enough.

   The bosses pay for PRODUCT in the least TIME. That's
   the real world. That is NOT going to change.

   Note "AI" can deliver largely-finished product
   REALLY FAST these days. I've done some experiments
   the past few days. Got a b-tree mini database in
   FORTRAN just for the asking. Wow ! Practical, you'd
   just have to add a few tweaks. BIG time-saver.

   How long before AI doesn't NEED us to put in the
   tweaks ? ONE year ? TWO years ???

   How long before we don't even KNOW how/what it's
   thinking ? Three years ? Sooner ?

   I warned about this big paradigm shift a few years
   ago. Most everyone pooped on it. Now .......

   Three to five years, all of the Linux kernel and
   more will be all AI generated. You WON'T be able
   to follow it, the code will be too obscure, not
   meant for humans.

   The BSDs may hang on a BIT longer.

   BTW, I despise PERL. 'C', Pascal or Python is
   what I like. Keep trying to find a Modula-3
   compiler that'll work right in Linux without
   a zillion little adjustments ...... CHAT might
   have found me what I want, stay tuned.

   M2 was pretty good, but M3 had a number of good
   fixes/extensions - then got eclipsed by all the
   'new and better' langs. DO love the Dr. Wurth
   way of thinking ..... 'art' ........
Re: Back To CS Basics. Fuck AI
#766
Author: c186282
Date: Fri, 16 Oct 2026 08:41
44 lines
3065 bytes
On 10/16/26 02:16, Peyton wrote:
> c186282 <c186282@nnada.net> writes:
> 
>> On 10/16/26 00:53, Peyton wrote:
>>> c186282 <c186282@nnada.net> writes:
>>>
>>>> On 10/15/26 23:26, Leroy H wrote:
>>>>> It is amazing how knowledge of basic CS is absent in most
>>>>> programmers, both professional and amateur alike.  While
>>>>> "vibe coding" is all the rage, a silent disaster is also
>>>>> creeping.
>>>>
>>>>     99+ percent of us got by just fine without
>>>>     any "computer science" crapola.
>>>>
>>>>     CS is all math/stats. Has almost nothing to
>>>>     do with the real-world these days. Maybe in
>>>>     the 1940s .......
>>>>
>>>>     Might, MAYBE, produce a useful idea, every,
>>>>     very, once in awhile.
>>>>
>>> I one time worked with a colleague who did not understand why a C#
>>> binary executable was running significantly faster than a Python
>>> script.
>>
>>    Worrisome.
>>
>>    However do note that MOST of the Python functions
>>    are writ in 'C'.
>>
> 
>>> Not having basic CS fundamentals does have real implications in
>>> everyday software.
>>
>>    Not so much.
>>
> When you don't know the basics you'll make some bone headed
> decisions that'll impact efficiency and/or correctness. 

   You are confusing 'CS' with simple, theory-free,
   knowledge about programming. You can't really get
   that from a book.
Re: Back To CS Basics. Fuck AI
#765
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 08:49
19 lines
2236 bytes
On Fri, 16 Oct 2026 04:39:25 -0400, c186282 wrote:


>    As said, it had SOME uses in the 40s and 50s ... but beyond then it,
>    and real-world programming, DIVERGED rather sharply.

Yes, because "programming" is a menial activity, akin to changing tyres on 
a car but somewhat less entertaining.

Not a scientific endeavour.

On the other hand, good luck if you plan to "just get ON" with designing 
AWS, ChatGPT, a Tesla, IntelliJ or just a plain old compiler without 
having skimmed some recent papers from the fields of (respectively) AI, 
ML, distributed computing, compilers, static analysis.

Of course, the Transformer paper from 2017 is "just stats" and most static 
analysis is "just logic"... just like all chemistry is physics and all 
physics is math, and [left as exercise] :-) 
Re: Back To CS Basics. Fuck AI
#767
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 08:51
12 lines
1728 bytes
On Fri, 16 Oct 2026 09:16:18 +0100, The Natural Philosopher wrote:


> CS is great for people writing compilers, designing chips, or cracking
> enigma codes, but the reality of writing pragmatic workmanlike
> maintainable and well documented code on time and on budget is software
> engineering, not CS

Well, duh?

Also nuclear physics is not required for changing a bulb, even if that 
bulb is powered by a nuclear plant.
Re: Back To CS Basics. Fuck AI
#772
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 08:53
11 lines
1821 bytes
On Fri, 16 Oct 2026 04:39:25 -0400, c186282 wrote:


>    How long before AI doesn't NEED us to put in the tweaks ? ONE year ?
>    TWO years ???
> 
>    How long before we don't even KNOW how/what it's thinking ? Three
>    years ? Sooner ?

You do realize that this, if true (probably not, because of economics), 
would essentially mean that "the CS guys" have automated your job... ;-)
Re: Back To CS Basics. Fuck AI
#775
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 08:55
87 lines
4989 bytes
On 16/10/2026 07:08, Tapiro Ubriaco wrote:
> I don't understand the rabid anti-intellectualism that's going around
> here.
> 
I am a fully qualified degree possessing engineer, in both general and 
electrical engineering.

And in this case I fully concur with c186272

There is a place for theory, but its a very much smaller place than most 
third rate intellectuals would have you believe, and reliance on theory 
rather than practice and common sense is the reason why the Left makes 
such a fuckup of things.


> Sure, you don't need a mechanical engineering degree to drive your car
> around (duh!), but if you were working in the field it would generally
> help, and I am very, very happy that my car was designed by people with an
> actual degree.

Such faith. It almost certainly was not.

In fact almost all design is done by draughtsmen

Or technicians.

I learnt this at my first company - a military and aerospace  company. 
Boffins were very thin on the ground. What there were, were enormous 
quantities of low paid technicians, who understood enough to take 
something someone else had designed, often from another project,  and 
fiddle with it till it met the spec.

There is an instructive video somewhere on the development of the 
Cosworth racing engine. Most of it is 'subtract metal, till it breaks, 
and then put it back again'

The point being that that was quicker than the sort of complex stress 
analysis calculations that you can now do with a computer. Not a degree 
engineer, A computer

And that was how aircraft used to be designed too. serried ranks of 
chaps with slide rules doing calculations, and then the thing still 
didn't fly right and had to be modified.

In general as a practising engineer, you don't do calculations. Either 
you look the answer up in a book of tables, or you take someone else's 
actual test results. Or use a computer these days


Rather than being able to answer the question from first principles, 
which is what degree level engineering is, it is so much more important 
to be able to ask the right question...Like what will happen to my 
suspension bridge under the aerodynamic load of a 90mph gale...or my 
skyscraper if someone flies an airliner into it...Bin Laden was 
(according to one source) a civil engineering graduate. He probably DID 
calculate it.

People love to think - and te marketing bullcrap from car makers ram it 
down their throats - that a car is some kind of miracle designed by 
bespectacled geniuses from to technical universities in white coats in 
spotless laboratories.

The reality is always different.
Frank Whittle designed  and patented the jet engine as an engineer in 
around 1925, That, in a sense, was the easy part.

Leaving aside the political and financial issues, the reason it didn't 
fly until 1941 was the practical difficulty of building it, It ran too 
hot for most materials, It spun too fast for most lubrications systems 
and balancing it was not trivial either.

So one painstaking test after another, until something that could last 
for maybe 100 hours and not fail under combat conditions was arrived at.

Then it went into a test airframe. 16 years of work. It flew. A 
colleague said "Frank, it flies!"

His weary retort is alleged to have been "Well that's what it's fucking 
well supposed to do, isn't it?"

That is REAL engineering. Not 'Vorsprung durch technik"

-- 
Any fool can believe in principles -  and most of them do!


Re: Back To CS Basics. Fuck AI
#777
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 08:57
14 lines
1839 bytes
On 16/10/2026 07:16, Peyton wrote:
> I agree. That is the very issue. I'd argue knowing the difference between
> compiled and interpreted is basic CS.

Only if by CS you mean 'common sense'

I certainly do not think that is what a CS course is all about.

It is probably fundamental to software engineering though.


-- 
Microsoft : the best reason to go to Linux that ever existed.
Re: Back To CS Basics. Fuck AI
#778
Author: The Natural Philosopher
Date: Fri, 16 Oct 2026 09:07
77 lines
4273 bytes
On 16/10/2026 06:29, Tapiro Ubriaco wrote:
> On Fri, 16 Oct 2026 00:00:58 -0400, c186282 wrote:
> 
>> On 10/15/26 23:26, Leroy H wrote:
>>> It is amazing how knowledge of basic CS is absent in most programmers,
>>> both professional and amateur alike.  While "vibe coding" is all the
>>> rage, a silent disaster is also creeping.
>>
>>     99+ percent of us got by just fine without any "computer science"
>>     crapola.
> 
> "Got by just fine" at doing _what_, exactly?
> 
> The state of software would make one think that very few people are
> "getting by just fine", incidentally...

That is because software development teams don't bother with the most 
basic elements of quality control.

Largely because computer science doesn't teach it

It is however a major part in the degree course in *software engineering*.

Computers science is not what you think it is. What you think it is, is 
actually called software engineering.

A PRACTICAL discipline teaching how to write good code, test it and 
manage teams of people effectively and break projects into manageable 
chunks that can be offloaded to separate teams of individuals, tested 
and quality inspected, and integrated into te final product
=====================================================

Software Engineering Tutorial
Last Updated : 13 Aug, 2026

"Software Engineering is the systematic process of designing, 
developing, testing, and maintaining software to create reliable, 
efficient, and high-quality applications.

It applies engineering principles, methods, and tools to develop 
software in a systematic manner.

  It supports teamwork, planning, documentation, testing, and 
maintenance to ensure successful software development throughout its 
lifecycle.

  It helps create software that meets user requirements while ensuring 
reliability, security, efficiency, and maintainability."

-----------------------------------------------------------------------------


"Computer Science

Key Concepts in Programming & Problem Solving

Algorithms: Step-by-step instructions or logic rules designed to solve a 
specific problem or complete a task.

Data Structures: Specialized formats for organizing and storing data 
efficiently, such as arrays, linked lists, stacks, queues, and trees.

Programming Languages: Tools like Python, C++, and Java that let humans 
write code in readable text, which is then translated into 
machine-executable binary. You can explore structured guides through 
platforms like Codecademy or introductory breakdowns on Boot.dev.

  Control Flow: The order in which individual instructions, conditional 
statements (if/else), and loops (for/while) execute in a program"

Now decide which you would rather have in your team of application 
developers.


-- 
Microsoft : the best reason to go to Linux that ever existed.
Re: Back To CS Basics. Fuck AI
#781
Author: Tapiro Ubriaco
Date: Fri, 16 Oct 2026 09:20
70 lines
4076 bytes
On Fri, 16 Oct 2026 09:55:25 +0100, The Natural Philosopher wrote:

> On 16/10/2026 07:08, Tapiro Ubriaco wrote:
>> I don't understand the rabid anti-intellectualism that's going around
>> here.
>> 
> I am a fully qualified degree possessing engineer, in both general and
> electrical engineering.

Which makes you a different beast than a _scientist_, surely :-) 

> There is a place for theory, but its a very much smaller place than most
> third rate intellectuals would have you believe

Where are these third rate intellectuals?

> and reliance on theory
> rather than practice and common sense is the reason why the Left makes
> such a fuckup of things.

I thought we were talking about the relationship between science and 
engineering, not socialism, but eh.

>> Sure, you don't need a mechanical engineering degree to drive your car
>> around (duh!), but if you were working in the field it would generally
>> help, and I am very, very happy that my car was designed by people with
>> an actual degree.
> 
> Such faith. It almost certainly was not.
> 
> In fact almost all design is done by draughtsmen
> 
> Or technicians.

I wonder what my friends with degrees in "automotive engineering" at 
Stellantis are actually doing, then...

> The point being that that was quicker than the sort of complex stress
> analysis calculations that you can now do with a computer. Not a degree
> engineer, A computer

Gee, I wonder who wrote the software for that computer!
And, in fact, who designed the computer.

> Rather than being able to answer the question from first principles,
> which is what degree level engineering is, it is so much more important
> to be able to ask the right question...Like what will happen to my
> suspension bridge under the aerodynamic load of a 90mph gale...or my
> skyscraper if someone flies an airliner into it...Bin Laden was
> (according to one source) a civil engineering graduate. He probably DID
> calculate it.

Important for... which profession, exactly?

If it's the profession of cobbling together bits, sure.

If it's the profession of publishing papers, maybe less so.

If it's the profession of being principal architect at a Tier 1 company... 
well, maybe you spend your days with PowerPoint, but your underlings ought 
to know a thing or two about the chosen field (e.g. distributed computing 
for cloud companies).

If you have an arbitrary definition of "important", you can reach 
arbitrary conclusions.

> That is REAL engineering. Not 'Vorsprung durch technik"

Yes, don't mean to be a snob, but that is my understanding of 
"engineering" too :-P 
Re: Back To CS Basics. Fuck AI
#784
Author: c186282
Date: Fri, 16 Oct 2026 09:26
30 lines
2707 bytes
On 10/16/26 04:53, Tapiro Ubriaco wrote:
> On Fri, 16 Oct 2026 04:39:25 -0400, c186282 wrote:
> 
> 
>>     How long before AI doesn't NEED us to put in the tweaks ? ONE year ?
>>     TWO years ???
>>
>>     How long before we don't even KNOW how/what it's thinking ? Three
>>     years ? Sooner ?
> 
> You do realize that this, if true (probably not, because of economics),
> would essentially mean that "the CS guys" have automated your job... ;-)

   I think the job HAS pretty much been 'automated'.

   Give it a year or two to be complete.

   And it wasn't the 'CS guys' but a whole different
   kind of techs/minds. "AI" is a whole different
   branch of 'computing'.

   Note the "AI" guys will themselves be obsoleted
   within five years - the AIs can now teach/improve
   their own systems. We have created SOME kind of
   unconventional lifeform here.

   And LLMs aren't even the BEST for doing so.
   Wait for the next-gen neural network hardware
   to become prolific .....
Re: Back To CS Basics. Fuck AI
#679
Author: Chris Ahlstrom
Date: Fri, 16 Oct 2026 15:44
29 lines
2323 bytes
Leroy H wrote this screed in ALL-CAPS (fixed):

> It is amazing how knowledge of basic CS is absent in most
> programmers, both professional and amateur alike.  While
> "vibe coding" is all the rage, a silent disaster is also
> creeping.
>
> What GNU/Linux requires urgently is a Decimal Floating
> Point library that implements IEEE754-2008, but mention this
> to most programmers and one will receive only blank stares
> and gaping mouths.
>
> The only GNU/Linux project for IEEE754-2008 is closing
> its doors:
>
> <https://github.com/libdfp/libdfp/pull/238>

For C++, Boost.Decimal.

The Free42 calculator provides either binary or a decimal
implementation.

By the way, are you AI?

-- 
Impartial, adj.: Unable to perceive any promise of personal
advantage from espousing either side of a controversy or adopting
either of two conflicting opinions.
    q-- Ambrose Bierce, "The Devil's Dictionary"
Re: Back To CS Basics. Fuck AI
#683
Author: Leroy H
Date: Fri, 16 Oct 2026 16:14
28 lines
1649 bytes
On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:

> 
> For C++, Boost.Decimal.
> 

Some people don't use C++.  I would hope that most would not.

It is recommended, and even required in some countries, that all
financial software be written using decimal FP. 

But once libdfp drops out then GNU/Linux C programmers will be
stuck.



> 
> By the way, are you AI?
>

Human beings have always been AI in that they can only parrot
news reports and their old school textbooks.  This has been true
since pre-historic times.

Occasionally, however, some misaligned freak will rise above
it all and then we have a burst of progress.

Re: Back To CS Basics. Fuck AI
#689
Author: Jan Panteltje
Date: Fri, 16 Oct 2026 17:10
40 lines
2181 bytes
>Leroy H <lh@somewhere.net>wrote:
>>On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:
>
>> 
>> For C++, Boost.Decimal.
>> 
>
>Some people don't use C++.  I would hope that most would not.
>
>It is recommended, and even required in some countries, that all
>financial software be written using decimal FP. 
>
>But once libdfp drops out then GNU/Linux C programmers will be
>stuck.
>

Well C++ is a crime against humanity
'operator overloading...' crap bloated crap.

But maybe you can call 'wcalc' from the C code,
it supports  stdin - stdout

raspberrypi: ~ # wcalc -EE
Enter an expression to evaluate, q to quit, or ? for help:
-> 1/pi
 = 0.318310
-> q

raspberrypi: ~ # echo "1/pi" | wcalc
 = 0.31831
raspberrypi: ~ # echo "1/pi" | wcalc -EE 
 = 0.318310

You can just do decimal in C
Use type double if you are worried about microcents.

I have written financial software in C.
What is the problem?

Re: Back To CS Basics. Fuck AI
#697
Author: Leroy H
Date: Fri, 16 Oct 2026 17:56
39 lines
2278 bytes
On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

> 
> Well C++ is a crime against humanity
> 'operator overloading...' crap bloated crap.
> 

Who would ever disagree?

> 
> You can just do decimal in C
> Use type double if you are worried about microcents.
> 
> I have written financial software in C.
> What is the problem?
>

That depends on the scale.

For most situations, the currency amounts are enough that the
C double type, with 16 decimal digits of precision, can handle
the simple processing without error.

(C also has a 128-bit long double type but ordinary processors
have no hardware for this type.  On GNU/Linux the long double
is usually defined as 80-bits.)

But for large currency amounts and more complex processing,
16 decimal digits may not be enough.  That's why decimal floating
point is recommended or even required by law.

What is needed is HARDWARE decimal FP.  IBM has always had decimal
FP hardware in its mainframes and it also has decimal FP hardware
in its Power PC processors.  (Only large institutions could afford
such hardware.)

Intel/AMD will likely never have DFP hardware.  They will keep on
adding special AI hardware but never DFP hardware.
Re: Back To CS Basics. Fuck AI
#696
Author: Charlie Gibbs
Date: Fri, 16 Oct 2026 18:10
39 lines
2485 bytes
On 2026-10-16, Leroy H <lh@somewhere.net> wrote:

> On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:
>
>> I have written financial software in C.
>> What is the problem?
>
> That depends on the scale.
>
> For most situations, the currency amounts are enough that the
> C double type, with 16 decimal digits of precision, can handle
> the simple processing without error.

Now that 64-bit ints are available, you could use them
in many situations.

> (C also has a 128-bit long double type but ordinary processors
> have no hardware for this type.  On GNU/Linux the long double
> is usually defined as 80-bits.)
>
> But for large currency amounts and more complex processing,
> 16 decimal digits may not be enough.  That's why decimal floating
> point is recommended or even required by law.
>
> What is needed is HARDWARE decimal FP.  IBM has always had decimal
> FP hardware in its mainframes

FSVO "always".  But the original 360 had packed decimal, which
can work with up to 31 decimal digits.  I wrote a lot of business
software in those days; I can count the number of times I've used
floating point on the fingers of one hand.  For basic accounting,
integer pennies are enough.  Add a few guard digits if you must.
To quote the old commercial, it "takes the worry out of being close".

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.
Re: Back To CS Basics. Fuck AI
#700
Author: Leroy H
Date: Fri, 16 Oct 2026 18:32
18 lines
1551 bytes
On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:

> 
> Now that 64-bit ints are available, you could use them
> in many situations.
> 

For adding or subtracting.

But finance calculations often use more complex processing.
Interest calculations need floating point and even transcendental
math functions.

This blogger actually proposes a single numeric type for
all digital computation, called Dec64:

<https://www.crockford.com/dec64.html>
Re: Back To CS Basics. Fuck AI
#729
Author: Lawrence D’Oliveiro
Date: Fri, 16 Oct 2026 21:50
14 lines
1975 bytes
On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:

> Well C++ is a crime against humanity
> 'operator overloading...' crap bloated crap.

Operator overloading is a very handy feature. Yes, C++ is overly
complicated. Java left out that feature of C++, and it, too, still
manages to be excessively complicated.

Python, on the other hand, includes operator overloading, yet is still
only a small fraction of the complexity of either Java or C++. Such a
feature is useful, for example, in letting you express operations on
mathematical objects (like vectors and matrices) using something close
to the original mathematical notation.
Re: Back To CS Basics. Fuck AI
#732
Author: Lawrence D’Oliveiro
Date: Fri, 16 Oct 2026 21:52
13 lines
2036 bytes
On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:

> But the original 360 had packed decimal, which can work with up to
> 31 decimal digits. I wrote a lot of business software in those days;
> I can count the number of times I've used floating point on the
> fingers of one hand. For basic accounting, integer pennies are
> enough. Add a few guard digits if you must. To quote the old
> commercial, it "takes the worry out of being close".

Did you ever do calculations involving financial derivatives?

Even compound interest requires calculations involving logarithms and
exponentials.
Re: Back To CS Basics. Fuck AI
#740
Author: Charlie Gibbs
Date: Fri, 16 Oct 2026 22:19
33 lines
2617 bytes
On 2026-10-16, Lawrence D’Oliveiro <ldo@nz.invalid> wrote:

> On Fri, 16 Oct 2026 18:10:06 GMT, Charlie Gibbs wrote:
>
>> But the original 360 had packed decimal, which can work with up to
>> 31 decimal digits. I wrote a lot of business software in those days;
>> I can count the number of times I've used floating point on the
>> fingers of one hand. For basic accounting, integer pennies are
>> enough. Add a few guard digits if you must. To quote the old
>> commercial, it "takes the worry out of being close".
>
> Did you ever do calculations involving financial derivatives?
>
> Even compound interest requires calculations involving logarithms and
> exponentials.

That's why I said I've done few programs that use floating point,
not none.  I've worked on mortgage amortization routines.  But
most of my stuff consists of adding up columns of numbers and
doing the occasional division with rounding.  YMMV.

IMHO one of the biggest programming mistakes is using floating
point when you can do it faster, more accurately, and more
easily with integers.  That's not to say that there aren't
places where floating point is necessary - but for some of
us, that's a small portion of what we have to do.  I don't
need floating point to express IP addresses, for instance.

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.
Re: Back To CS Basics. Fuck AI
#743
Author: Nick Charles
Date: Fri, 16 Oct 2026 23:19
28 lines
2299 bytes
On Oct 16, 2026 at 11:44:54 AM EDT, "Chris Ahlstrom" <OFeem1987@teleworm.us>
wrote:

> Leroy H wrote this screed in ALL-CAPS (fixed):
> 
>> It is amazing how knowledge of basic CS is absent in most
>> programmers, both professional and amateur alike.  While
>> "vibe coding" is all the rage, a silent disaster is also
>> creeping.
>> 
>> What GNU/Linux requires urgently is a Decimal Floating
>> Point library that implements IEEE754-2008, but mention this
>> to most programmers and one will receive only blank stares
>> and gaping mouths.
>> 
>> The only GNU/Linux project for IEEE754-2008 is closing
>> its doors:
>> 
>> <https://github.com/libdfp/libdfp/pull/238>
> 
> For C++, Boost.Decimal.
> 
> The Free42 calculator provides either binary or a decimal
> implementation.
> 
> By the way, are you AI?

Yes he is.   He is Actually Ignorant.
Re: Back To CS Basics. Fuck AI
#742
Author: Chris Ahlstrom
Date: Fri, 16 Oct 2026 23:35
34 lines
2530 bytes
Leroy H wrote this screed in ALL-CAPS (fixed):

> On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:
>
>> For C++, Boost.Decimal.
>
> Some people don't use C++.  I would hope that most would not.

:-D

It is a fine language, capable of the basic operations supported
by C and a vast compendium of object-oriented and template
features, and a standard library rivaling Python.

> It is recommended, and even required in some countries, that all
> financial software be written using decimal FP. 
>
> But once libdfp drops out then GNU/Linux C programmers will be
> stuck.
> 
>> By the way, are you AI?
>
> Human beings have always been AI in that they can only parrot
> news reports and their old school textbooks.  This has been true
> since pre-historic times.

They had news reports and textbooks in prehistory?

> Occasionally, however, some misaligned freak will rise above
> it all and then we have a burst of progress.

-- 
WARNING: Overconsumption of this product can lead to anal leakage.
Re: Back To CS Basics. Fuck AI
#745
Author: Chris Ahlstrom
Date: Fri, 16 Oct 2026 23:36
26 lines
2260 bytes
Jan Panteltje wrote this screed in ALL-CAPS (fixed):

>>Leroy H <lh@somewhere.net>wrote:
>>>On Fri, 16 Oct 2026 11:44:54 -0400, Chris Ahlstrom wrote:
>>
>>> For C++, Boost.Decimal.
>>
>>Some people don't use C++.  I would hope that most would not.
>>
>>It is recommended, and even required in some countries, that all
>>financial software be written using decimal FP. 
>>
>>But once libdfp drops out then GNU/Linux C programmers will be
>>stuck.
>
> Well C++ is a crime against humanity
> 'operator overloading...' crap bloated crap.

:-D

It's my favorite language, by far.

-- 
"MacDonald has the gift on compressing the largest amount of words into
the smallest amount of thoughts."
		-- Winston Churchill
Re: Back To CS Basics. Fuck AI
#744
Author: Chris Ahlstrom
Date: Fri, 16 Oct 2026 23:39
22 lines
2324 bytes
Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed):

> On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:
>
>> Well C++ is a crime against humanity
>> 'operator overloading...' crap bloated crap.
>
> Operator overloading is a very handy feature. Yes, C++ is overly
> complicated. Java left out that feature of C++, and it, too, still
> manages to be excessively complicated.

C++ overly complicated? Nah.

> Python, on the other hand, includes operator overloading, yet is still
> only a small fraction of the complexity of either Java or C++.

Prove it.

-- 
BOFH excuse #404:
 
Sysadmin accidentally destroyed pager with a large hammer.
Re: Back To CS Basics. Fuck AI
#754
Author: Lawrence D’Oliveiro
Date: Sat, 17 Oct 2026 02:28
15 lines
2126 bytes
On Fri, 16 Oct 2026 22:19:37 GMT, Charlie Gibbs wrote:

> IMHO one of the biggest programming mistakes is using floating point
> when you can do it faster, more accurately, and more easily with
> integers.

Some languages offer direct support for “fixed-point” formats,
basically integers with a fixed scale factor, so you can do
calculations that keep a fractional part.

From what I gather, they tend to be difficult to use properly. The
problem seems to be keeping calculations within the permissible
dynamic range, to avoid overflow and underflow.

This is why floating-point tends to be far more popular.
Re: Back To CS Basics. Fuck AI
#753
Author: Lawrence D’Oliveiro
Date: Sat, 17 Oct 2026 02:29
6 lines
1459 bytes
On Fri, 16 Oct 2026 23:19:38 +0000, Nick Charles wrote:

> Yes he is. He is Actually Ignorant.

Still think Apple’s phone and tablet products are running “Unix”, are
you?
Re: Back To CS Basics. Fuck AI
#768
Author: c186282
Date: Sat, 17 Oct 2026 05:52
25 lines
2896 bytes
On 10/16/26 22:28, Lawrence D’Oliveiro wrote:
> On Fri, 16 Oct 2026 22:19:37 GMT, Charlie Gibbs wrote:
> 
>> IMHO one of the biggest programming mistakes is using floating point
>> when you can do it faster, more accurately, and more easily with
>> integers.
> 
> Some languages offer direct support for “fixed-point” formats,
> basically integers with a fixed scale factor, so you can do
> calculations that keep a fractional part.
> 
>  From what I gather, they tend to be difficult to use properly. The
> problem seems to be keeping calculations within the permissible
> dynamic range, to avoid overflow and underflow.
> 
> This is why floating-point tends to be far more popular.

   "Fuzzy Logic" typically uses floats for everything ...
   which was a big drain on smaller boards and such. 16
   or even 32 bit integers can fill in very nicely for
   any sane application.

   DID do an application which employed some 'fuzzy'
   on an Arduino ... floats ... NO NO NO !!!
Re: Back To CS Basics. Fuck AI
#769
Author: c186282
Date: Sat, 17 Oct 2026 05:54
13 lines
2030 bytes
On 10/16/26 22:29, Lawrence D’Oliveiro wrote:
> On Fri, 16 Oct 2026 23:19:38 +0000, Nick Charles wrote:
> 
>> Yes he is. He is Actually Ignorant.
> 
> Still think Apple’s phone and tablet products are running “Unix”, are
> you?

   Technically, they are ... but it's so heavily
   modified you really can't call it "Unix" anymore.

   "SteveIX" ???  :-)
Re: Back To CS Basics. Fuck AI
#771
Author: Jan Panteltje
Date: Sat, 17 Oct 2026 07:20
35 lines
2744 bytes
>Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid>wrote:
>>On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:
>
>> Well C++ is a crime against humanity
>> 'operator overloading...' crap bloated crap.
>
>Operator overloading is a very handy feature. Yes, C++ is overly
>complicated. Java left out that feature of C++, and it, too, still
>manages to be excessively complicated.
>
>Python, on the other hand, includes operator overloading, yet is still
>only a small fraction of the complexity of either Java or C++. Such a
>feature is useful, for example, in letting you express operations on
>mathematical objects (like vectors and matrices) using something close
>to the original mathematical notation.

OK
I never got much into Python
Never needed it for the things I do.
Also it seems to be changing all the time?
Most code I write is in C or in asm for Microchips.
asm is extremely powerful
 understand the hardware!!!
https://panteltje.nl/panteltje/newsflex/download.html
https://panteltje.nl/panteltje/quadcopter/index.html
https://panteltje.nl/panteltje/pic/index.html
These days giggle bytes seem to be needed to just say: 'Hello world'.
Too many layers of crap.

But I come from a hardware background, in the sixties there were no 'computers'
yet they did a manned Moon landing and return.
Now they have nothing to show but driving around the block (earth orbit) with
all that computing power.

 
Re: Back To CS Basics. Fuck AI
#770
Author: Lawrence D’Oliveiro
Date: Sat, 17 Oct 2026 07:43
18 lines
2039 bytes
On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:

> I never got much into Python
> Never needed it for the things I do.
> Also it seems to be changing all the time?

New features appear every year.

> But I come from a hardware background, in the sixties there were no
> 'computers' yet they did a manned Moon landing and return.

Of course they had “computers” -- several giant IBM mainframes at
Mission Control. Also every engineer had their trusty slide rule
handy.

There were 4 computers on the Apollo spacecraft -- one to control the
Saturn rocket, one in the Command Module, and 2 (1 for backup) on the
Lunar Module.
Re: Back To CS Basics. Fuck AI
#773
Author: The Natural Philosopher
Date: Sat, 17 Oct 2026 08:11
24 lines
2473 bytes
On 16/10/2026 23:19, Charlie Gibbs wrote:
> IMHO one of the biggest programming mistakes is using floating
> point when you can do it faster, more accurately, and more
> easily with integers.  That's not to say that there aren't
> places where floating point is necessary - but for some of
> us, that's a small portion of what we have to do.  I don't
> need floating point to express IP addresses, for instance.

You may think that, but the potential for errors is huge.
Audio encoding is typically 16 bit integer, but if you are doing serious 
processing there will be many adds subtracts and multiplies. Its way 
easier to do all that in FP and then round up to the nearest integer for 
the final output, than to constantly have to rescae to maintain 
acceptable precision


-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's 
too dark to read.

Groucho Marx


Re: Back To CS Basics. Fuck AI
#774
Author: The Natural Philosopher
Date: Sat, 17 Oct 2026 08:18
33 lines
2480 bytes
On 17/10/2026 00:35, Chris Ahlstrom wrote:
> Leroy H wrote this screed in ALL-CAPS (fixed):

>> Human beings have always been AI in that they can only parrot
>> news reports and their old school textbooks.  This has been true
>> since pre-historic times.
> 
> They had news reports and textbooks in prehistory?
> 
Yes. And they were carried by bards

As songs and sagas and myths

The Bible was a written down record of some of them

Lights in the sky, great floods, cities gone in a flash. Tsunamis 
causing the sea to retreat.  Evidence exists for all of these. Just not 
the god Yahweh. HE stared out as a minor war god. Somewhere along the 
line monotheism looked to be advisable, and he got the job


The sling is well known to be a devastating range weapon when faced with 
an opponent whose armour is not 100%, For example. A fact worth passing 
along in a neat little morality tale



-- 
All political activity makes complete sense once the proposition that 
all government is basically a self-legalising protection racket, is 
fully understood.

Re: Back To CS Basics. Fuck AI
#783
Author: Stéphane CARPENTIER
Date: Sat, 17 Oct 2026 08:58
12 lines
1291 bytes
Le 16-10-2026, Chris Ahlstrom <OFeem1987@teleworm.us> a écrit :
> Leroy H wrote this screed in ALL-CAPS (fixed):
> [.../SNIP/...]
>
> By the way, are you AI?

No, he's too limited for that. A modern AI would be far better in its
answers.

-- 
Si vous avez du temps Ă  perdre :
https://scarpet42.gitlab.io
Re: Back To CS Basics. Fuck AI
#785
Author: Stéphane CARPENTIER
Date: Sat, 17 Oct 2026 09:43
56 lines
3508 bytes
Le 16-10-2026, Chris Ahlstrom <OFeem1987@teleworm.us> a écrit :
> Lawrence D’Oliveiro wrote this screed in ALL-CAPS (fixed):
>
>> On Fri, 16 Oct 2026 17:10:18 GMT, Jan Panteltje wrote:
>>
>>> Well C++ is a crime against humanity
>>> 'operator overloading...' crap bloated crap.
>>
>> Operator overloading is a very handy feature. Yes, C++ is overly
>> complicated. Java left out that feature of C++, and it, too, still
>> manages to be excessively complicated.
>
> C++ overly complicated? Nah.

It's so awful it made its creator declare: "There are only two kinds of
languages: the ones people complain about and the ones nobody uses."

If LISP has been able to include oriented object programming nicely,
adding oriented object programming in C without breaking compatibility
didn't worked that well.

>> Python, on the other hand, includes operator overloading, yet is still
>> only a small fraction of the complexity of either Java or C++.
>
> Prove it.

From what I saw, for a beginner's approach, python is easier than Java
or C++. Now when one starts to use python in the real life, the
complexity of python appears. Because that's the python way: things
works except when they stop to work.

Like, it's not a typed language but start playing with dictionaries
without declaring your variables first to see how the claims stand
before the facts.

Or you want to see what's in some variables, so you print it with
print(myvariable)
When you start to have too many variables, you want to put the name of
the variable in front of it to increase its visibility, so you
print("myvariable: " + myvariable) 
but that doesn't work because myvariable is not a string. So you have to 
print("myvariable: " + str(myvariable))
But now you have the description of myvariable (or something like that:
I discovered it a long time ago, my memory isn't clear about it), not
its content, so you have to handle it differently (about that, I'm sure).

And I'm not speaking about the dependencies. Each version breaks
everything so well that now some distros don't let you install libraries
with pip if you are not in a virtual environment.

So, yes to do something simple, python is fast and easy. But if you want
to power of C++ and Java, you can't use python on a simple way.

-- 
Si vous avez du temps Ă  perdre :
https://scarpet42.gitlab.io
Page 1 of 22 • 1099 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