🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.advocacy
89 messages
89 total messages Page 2 of 2 Started by Leroy H Fri, 16 Oct 2026 03:26
Page 2 of 2 • 89 total messages
Re: Back To CS Basics. Fuck AI
#941
Author: Lawrence D’Oliveiro
Date: Sat, 17 Oct 2026 20:26
17 lines
2336 bytes
On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

>> <https://www.gnu.org/software/hello/>
>
> Holy cow.

On a similar note, the original Unix “true” command was ... an empty
shell script. Nevertheless, AT&T tried to claim copyright on it
<http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

Worth comparing the GNU coreutils version of “true”
<http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
... 80 lines long. The same code is also used to generate the “false”
command. The full source is posted in that article, to make fun of
supposed “software bloat” or something. The writer completely fails to
realize a point made in the previous link: that the GNU version uses
less memory and runs faster.
Re: Back To CS Basics. Fuck AI
#942
Author: John Bokma
Date: Sat, 17 Oct 2026 20:35
21 lines
2751 bytes
On 17/10/2026 22:05, rbowman wrote:
> On Sat, 17 Oct 2026 17:12:26 +0100, Richard Kettlewell wrote:
> 
>> Still, typed doesn’t mean complete immiscibility of types (at least in
>> Python), and a good thing too, since lots of operations take operands of
>> different types. For example if d is an int and G is a Python object
>> representing a point on an elliptic curve, I want to be able to write
>> d*G,
>> not mess around with function calls to do point multiplication.
> 
> I've been trying to get up to speed with type hints. Like 'private'
> functions in Python they seem to depend on a gentleman's agreement not to
> do bad things.  Like TypeScript it helps but still has loopholes.

They are hints, so yes and no: if you run the code first through mypy or 
pyrefly (which I prefer) and it doesn't pass just don't run it. That's 
not really a loophole.

-- 
Static tumblelog generator: https://github.com/john-bokma/tumblelog/
Available as Python or Perl. Example tumblelog: https://plurrrr.com/
Re: Back To CS Basics. Fuck AI
#943
Author: rbowman
Date: Sat, 17 Oct 2026 20:37
6 lines
1325 bytes
On Sat, 17 Oct 2026 06:32:28 -0400, Chris Ahlstrom wrote:

> (I would also shoot a BB straight up to see how close to me I could get
> it to land. A couple of times me and a friend had BB duels.)

Jihadis like to do that but they're using 7.62x39.  
Re: Back To CS Basics. Fuck AI
#946
Author: Charlie Gibbs
Date: Sat, 17 Oct 2026 22:50
29 lines
2423 bytes
On 2026-10-17, Lawrence D’Oliveiro <ldo@nz.invalid> wrote:

> On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:
>
>>> <https://www.gnu.org/software/hello/>
>>
>> Holy cow.
>
> On a similar note, the original Unix “true” command was ... an empty
> shell script. Nevertheless, AT&T tried to claim copyright on it
> <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.
>
> Worth comparing the GNU coreutils version of “true”
><http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
> ... 80 lines long. The same code is also used to generate the “false”
> command. The full source is posted in that article, to make fun of
> supposed “software bloat” or something. The writer completely fails to
> realize a point made in the previous link: that the GNU version uses
> less memory and runs faster.

https://en.wikipedia.ort/wiki/IEFBR14

It describes a do-nothing program that needed maintenance anyway.

-- 
/~\  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
#947
Author: Charlie Gibbs
Date: Sat, 17 Oct 2026 22:51
35 lines
2572 bytes
On 2026-10-17, Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

> On 2026-10-17, Lawrence D’Oliveiro <ldo@nz.invalid> wrote:
>
>> On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:
>>
>>>> <https://www.gnu.org/software/hello/>
>>>
>>> Holy cow.
>>
>> On a similar note, the original Unix “true” command was ... an empty
>> shell script. Nevertheless, AT&T tried to claim copyright on it
>> <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.
>>
>> Worth comparing the GNU coreutils version of “true”
>><http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
>> ... 80 lines long. The same code is also used to generate the “false”
>> command. The full source is posted in that article, to make fun of
>> supposed “software bloat” or something. The writer completely fails to
>> realize a point made in the previous link: that the GNU version uses
>> less memory and runs faster.
>
> https://en.wikipedia.ort/wiki/IEFBR14
>
> It describes a do-nothing program that needed maintenance anyway.

Oops!

s/ort/org/

-- 
/~\  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
#949
Author: c186282
Date: Sun, 18 Oct 2026 06:42
141 lines
7199 bytes
On 10/17/26 03:20, Jan Panteltje wrote:
>> 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

   DO check it out. It can now do basically EVERYTHING
   and is faster than it used to be. P4 is promised to
   be even faster and more efficient without changing
   the syntax.

   I did not use Python2 because I heard that P3 was coming ...
   why learn an obsolete dialect ? Took 'em a little while
   to port everything over to the new version, but it got
   done and then went over and above.

   CAN be 'compiled' in a few ways. A couple options
   translate to 'C' and then compile that. IS much
   faster, though not quite as fast as writing a
   native 'C' pgm. However the EASE of writing and
   great string-slice functions (stolen from FORTRAN)
   make Python really nice. Oh, 95% of the time you
   don't NEED top speed for applications. That's old
   thinking - EASE/comprehensibility can be far
   more important.

   Oh, the DOCUMENTATION/How-To stuff for Python
   is everywhere and detailed. A zillion solutions
   for YOUR particular problem.

   Since forever I wrote in 'C' or Pascal. I even
   did stuff in "B". However I rarely use 'C'
   anymore. Might still rec writing 'servers' in 'C' ...
   esp if high-volume ... but that sentiment is
   half 'tradition'.

   Anyway, learn before 'AI' tries to steal it
   all away. CHAT can find/write low/medium
   complexity Python code ... but sometimes
   it seems more complex/verbose/obscure than
   a human would write it. Mostly it just
   steals human-writ examples it finds.

   DID ask CHAT to write me a basic b-tree
   database pgm in FORTRAN the other day.
   Kinda/sorta did so ... but didn't include
   any load/save code (though DID warn about
   that prob). Next - same thing, but in
   Modula2 - we'll see what its limits are :-)

   Pref M3 ... but almost no Linux/anything
   compilers for that - esp that actually
   install correctly. Some ancient DOS stuff.
   Do have a paper manual for "Turbo Modula-2"
   but it's all 8/16 bit and won't run on a lot
   of chips these days. Would have to use
   DOSBox or something - inefficient.

> Never needed it for the things I do.
> Also it seems to be changing all the time?

   Ummm ... not really. The only "big" - ok
   not SO big - change was P2 to P3. Most
   P2 programs can be tweaked for P3 pretty
   quick. Think there's even a converter app.

   Now if by "changing" you mean new functions,
   yep, people keep writing them for obvious
   reasons. The good bit is it means there are
   several paths to whatever you're trying to
   do - pick the best for your need.

   I did a bunch of video security cam apps.
   Sometimes "OpenCV2" will do it all, sometimes
   "Pillow" lib is just fine. Can even combine
   in some cases.

> Most code I write is in C or in asm for Microchips.
> asm is extremely powerful

   Well aware. When CP/M and even DOS were around
   had to write ASM bits, or full apps, because
   there just wasn't anything better. PICs and
   similar microcontrollers - ASM is still the
   best way to the finer chip tricks.

>   understand the hardware!!!

   The weaker the hardware the more you have to
   understand it. Most modern big chips, so much
   overkill that you really don't need to know
   every little nuance. Sorry, 1% better performance
   isn't worth learning 99% more tiny-tweak shit
   that'll probably be obsolete in the very next
   point-revision of the CPU.

> 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.

   Some of that shit was just bizarre !

   Loved hand-knitted "rope memory", what
   the LEM computer used  :-)

> Now they have nothing to show but driving around the block (earth orbit) with
> all that computing power.

   All the computing power in the Apollo ... yer
   base iWatch has a good 1000x that, maybe 10000x.
   BUT, they had to make do with what they had ...
   and most of that was govt-specced in '64. At
   least Apollo wasn't all vacuum tubes  :-)

   Now space probes - I really admire the people
   who design the hardware/software. Insane levels
   of redundancy/work-arounds, almost a black art.
   It's why the Voyagers are still working out
   beyond the edge of our solar system all this
   time later. Kinda hoping aliens will find one
   and upgrade/repair :-)
Re: Back To CS Basics. Fuck AI
#950
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 07:13
120 lines
5268 bytes
>Leroy H <lh@somewhere.net>wrote:
>>On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>
>>
>> Most code I write is in C or in asm for Microchips.
>> asm is extremely powerful
>>  understand the hardware!!!
>>
>
>It is good to hear someone actually standing up for
>C and assembly.
>
>These Linux groups seem to be packed only with Python/C++
>jockeys.  The poor dupes don't know what they're missing.
>
>Assembly is the most fun of any programming language.
>There is none of the uncertainty that slows one down
>when using a higher level language.  The instructions
>just flow effortlessly.
>
>However, I do still have trouble with the shuffle operations
>on the SIMD registers.  I need to always check the manuals
>to see what goes where.
>
>Intel and GCC provide support for so-called "intrinsics" that
>allow assembly code to be directly incorporated into C code,
>but these, for me, are tedious and not much fun to use.
>
>You are also correct in stating that a thorough knowledge
>of hardware is a requisite for assembly programming.  After
>all, one is dealing directly with digital registers with no
>cozy compiler or interpreter in between.
>
>
>>
>> These days giggle bytes seem to be needed to just say: 'Hello world'.
>> Too many layers of crap.
>> 
>
>GNU has published the definitive version of Hello World:
>
><https://www.gnu.org/software/hello/>

OK, just for fun, I downloaded
        hello-2.12.tar.gz        2022-01-31 13:58        1.0M         

Imakefile etc etc

xmkmf
make

mkdir hello
mv hello-2.12.tar.gz hello/
cd hello
tar -zxvf hello-2.12.tar.gz
l
cd */
l
./configure
l
make
l
./hello
cd src
l
joe hello.c
l
cd ..
l
./hello

'l' in zsh that I use as shell  stands for 'ls -rtl'
saves typing and always show recent


raspberrypi: ~/hello/hello-2.12 # l
total 1940
-rw-r--r-- 1 root root  15756 Aug 12  2017 INSTALL
-rw-r--r-- 1 root root  93787 Aug 12  2017 ABOUT-NLS
-rw-r--r-- 1 root root    208 Feb  8  2018 TODO
-rw-r--r-- 1 root root  35149 Feb  8  2018 COPYING
-rw-r--r-- 1 root root    891 Mar  7  2020 THANKS
-rw-r--r-- 1 root root   1509 Mar  7  2020 README-dev
-rw-r--r-- 1 root root   3499 Mar  7  2020 README
-rw-r--r-- 1 root root  30559 Mar  7  2020 ChangeLog.O
-rw-r--r-- 1 root root    580 Mar  7  2020 AUTHORS
-rw-r--r-- 1 root root   2342 Mar  7  2021 configure.ac
-rw-r--r-- 1 root root   4577 Mar  7  2021 GNUmakefile
-rw-r--r-- 1 root root  66373 Mar  7  2021 maint.mk
-rw-r--r-- 1 root root   3646 Jan 31  2022 Makefile.am
-rw-r--r-- 1 root root  45039 Jan 31  2022 aclocal.m4
-rw-r--r-- 1 root root  39766 Jan 31  2022 config.in
-rw-r--r-- 1 root root 204406 Jan 31  2022 Makefile.in
-rw-r--r-- 1 root root   4607 Jan 31  2022 NEWS
-rwxr-xr-- 1 root root 663695 Jan 31  2022 configure*
-rw-r--r-- 1 root root   1550 Jan 31  2022 hello.1
drwxr-xr-x 2 root root   4096 Jan 31  2022 tests/
drwxr-xr-x 2 root root   4096 Jan 31  2022 man/
drwxr-xr-x 2 root root   4096 Jan 31  2022 m4/
drwxr-xr-x 2 root root   4096 Jan 31  2022 contrib/
drwxr-xr-x 2 root root   4096 Jan 31  2022 doc/
-rw-r--r-- 1 root root  21682 Jan 31  2022 ChangeLog
drwxr-xr-x 2 root root   4096 Jan 31  2022 build-aux/
-rwxr-xr-x 1 root root  68284 Oct 18 09:02 config.status*
-rw-r--r-- 1 root root 183752 Oct 18 09:02 Makefile
-rw-r--r-- 1 root root  40885 Oct 18 09:02 config.h
-rw-r--r-- 1 root root     23 Oct 18 09:02 stamp-h1
drwxr-xr-x 2 root root   4096 Oct 18 09:02 po/
-rw-r--r-- 1 root root 179003 Oct 18 09:02 config.log
drwxr-xr-x 3 root root   4096 Oct 18 09:02 src/
drwxr-xr-x 6 root root  12288 Oct 18 09:03 lib/
-rwxr-xr-x 1 root root 177276 Oct 18 09:03 hello*

raspberrypi: ~/hello/hello-2.12 # ./hello
Hello, world!

Oh well...

LOL
Re: Back To CS Basics. Fuck AI
#951
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 07:25
40 lines
2845 bytes
>John Bokma <contact@johnbokma.com>wrote:
>>On 17/10/2026 19:26, Leroy H wrote:
>> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>>>
>>> Most code I write is in C or in asm for Microchips.
>>> asm is extremely powerful
>>>   understand the hardware!!!
>>>
>> 
>> It is good to hear someone actually standing up for
>> C and assembly.
>> 
>> These Linux groups seem to be packed only with Python/C++
>> jockeys.  The poor dupes don't know what they're missing.
>
>I have programmed several processor families in the past. I am sure I am 
>not alone. I have done some work in C, including a graph-to-GIF 
>converter :-).
>
>>> These days giggle bytes seem to be needed to just say: 'Hello world'.
>>> Too many layers of crap.
>
>But it often supports Unicode ;-)

Some of C code I released into public domain:
 https://panteltje.nl/panteltje/newsflex/download.html

Am posting this with NewsFleX from a Raspberry Pi4 8 GB
The Raspberry version is not on my website yet,
 still testing (now for some years).
Seems to work OK though.

Some Microchip asm code and projects:
 https://panteltje.nl/panteltje/pic/index.html

I started with Linux with SLS Linux around 1992
 https://en.wikipedia.org/wiki/Softlanding_Linux_System

There was no 'Free Agent' newsreader back then for Linux so I wrote my own.
Re: Back To CS Basics. Fuck AI
#952
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 07:43
83 lines
3205 bytes
>Charlie Gibbs <cgibbs@kltpzyxm.invalid>wrote:
>>On 2026-10-17, Leroy H <lh@somewhere.net> wrote:
>
>> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>>
>>> These days giggle bytes seem to be needed to just say: 'Hello world'.
>>> Too many layers of crap.
>>
>> GNU has published the definitive version of Hello World:
>>
>> <https://www.gnu.org/software/hello/>
>
>Holy cow.  I guess it's time to resurrect this old chestnut:
>
>
>Mon Nov 12 20:03:48 1990
>Message : #1011969    From: cs161fhn%sdcc10@ucsd.edu
>Group   : NET.Funny
>Length  : 198 words
>Subject : Evolution of a programmer
>
>Msg-ID: <S1c5.4b61@looking.on.ca>
>Posted: 13 Nov 90 00:30:05 GMT
>
>Person: Dennis Lou
>
>
>The Evolution of a programmer.
>
>(Okay, it's late and I'm not thinking straight, but at least it's
>original...)
>
>High school/Jr. High
>--------------------
>10 PRINT "HELLO WORLD"
>20 END
>
>
>First year in college
>---------------------
>program Hello(input, output);
>  begin
>    writeln ('Hello world');
>  end
>
>Senior year in college
>----------------------
>(defun hello
>  (print
>        (cons 'HELLO (list 'WORLD))))
>
>New professional
>----------------
>#include <stdio.h>
>main (argc,argv)
>int argc;
>char **argv; {
>printf ("Hello World!\n");


I will go with that one,
but simplify it a bit

file q1.c
#include <stdio.h>
int main()
{
printf("Hello\n");
}
 
raspberrypi: ~ # gcc -o q1 q1.c
raspberrypi: ~ # l q1
-rwxr-xr-x 1 root root 8068 Oct 18 09:33 q1*
raspberrypi: ~ # ./q1          
Hello

So an about 8 kilobytes size executable ....

Better use bash
echo "Hello"
raspberrypi: ~ # echo "Hello"
Hello
Re: Back To CS Basics. Fuck AI
#954
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 08:01
39 lines
2970 bytes
>rbowman <bowman@montana.com>wrote:
>>On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>
>
>> OK I never got much into Python Never needed it for the things I do.
>> Also it seems to be changing all the time?
>
>Except for the transition from 2 to 3 Python has been quite good at 
>maintaining backward compatibility. It changes as PEPs are implemented but 
>seldom do the changes break things. 
>
>> But I come from a hardware background, in the sixties there were no
>> 'computers'
>
>I was under the impression the System 360/30 that ate my FORTRAN IV cards 
>was a computer of sorts. 
>


Yea I dunno, my first computer was a Sinclair ZX80
At work we had a PDP10?
Worked a while at a large accelerator back then, made me buy a book on Unix.
A bit later I had my own TV repair shop in Amsterdam
and that is when I bought that Z80.
Added some printer driver in Z80 asm to print receipts and stuff on a thermal
printer.

But then ..expanded that ZX80 with more memory, several I/O cards
even added an IBM PC keyboard and ran the C80 C compiler on it
I wanted to run software from the CPM user group but no CPM for that ZX80.
So wrote my own CP/M clone and it worked:
  https://panteltje.nl/panteltje/z80/index.html
Here what I added to that Sinclair Z80:
 https://panteltje.nl/panteltje/z80/system14/diagrams/index.html

By that time I was working in a company designing a.o. PCI cards for in IBM PCs
My computer used a ramdisk and was faster than the IBM PC,
no harddisc seek times.
Re: Back To CS Basics. Fuck AI
#955
Author: Richard Kettlewell
Date: Sun, 18 Oct 2026 08:12
29 lines
3087 bytes
rbowman <bowman@montana.com> writes:
> Richard Kettlewell wrote:
>> Still, typed doesn’t mean complete immiscibility of types (at least
>> in Python), and a good thing too, since lots of operations take
>> operands of different types. For example if d is an int and G is a
>> Python object representing a point on an elliptic curve, I want to be
>> able to write d*G, not mess around with function calls to do point
>> multiplication.
>
> I've been trying to get up to speed with type hints. Like 'private'
> functions in Python they seem to depend on a gentleman's agreement not
> to do bad things.  Like TypeScript it helps but still has loopholes.

How strictly it’s enforced is a higher-level question. If you deploy and
run Python code indiscriminately then it’s not enforced at all. If you
insist on a `mypy --strict` pass somewhere in your build chain then it’s
pretty solidly enforced.

Much the same is true for code quality filters in other languages. In
any language you might insist on some or all of unit test passes, a code
coverage threshold, static analysis, AI review, human review etc before
deployment. In some languages (e.g. C and C++) you choose which set of
compiler warnings to enable and which of them should be errors. It’s all
“gentleman’s agreement” if you want to characterize it that way, with
relatively few exceptions none of this stuff is unavoidably enforced by
the language implementation.

-- 
https://www.greenend.org.uk/rjk/
Re: Back To CS Basics. Fuck AI
#956
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 08:16
29 lines
2635 bytes
>rbowman <bowman@montana.com>wrote:
>>On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:
>
>
>> Not much memory compared to today's ...
>> I still have a slide rule somewhere... And old calculators..
>
>https://en.wikipedia.org/wiki/IBM_System/360_Model_30
>
>I believe RPI's had 32k of core. For FFTs etc you wrote partial products 
>to tape, rewind, and take another pass. Rinse and repeat. rewind() is 
>still in the C standard library but it was very literal back then.

In those days I was working in broadcasting, no computers there, tubes, lots and lots of logic and transistors, 
 https://archive.org/details/ampex-vr-1100-videotape-television-recorder
then we got the VR2000
and later the  AVR1 
 https://en.wikipedia.org/wiki/Quadruplex_videotape

When the Moon landings happened I was in the head control room here relaying it to the people.
Lots of tubes those days in that studio, had to keep it running.

At home I had my own video recorder:
 https://www.radiomuseum.org/r/philips_ldl100001ldl_10000.html 
Later modified it for color...

Video has become a sort of second nature to me.

Re: Back To CS Basics. Fuck AI
#957
Author: c186282
Date: Sun, 18 Oct 2026 08:47
37 lines
3194 bytes
On 10/17/26 16:18, Lawrence D’Oliveiro wrote:
> On Sat, 17 Oct 2026 12:17:29 GMT, Jan Panteltje wrote:
> 
>> https://en.wikipedia.org/wiki/Apollo_Guidance_Computer
>>
>> Not much memory compared to today's ...
> 
> Well, they weren’t running a complex GUI ;). You entered “Noun” and
> “Verb” numbers to select which program to run. E.g. the program for
> the lunar landing was “P64”. During the Apollo 11 landing, it crashed,
> twice.

   It was a totally CRAP computer ... "rope memory" ...
   probably less power than a PIC16f84.

   AMAZING they got down safe - credit Cool Neil.

>> I still have a slide rule somewhere...

   I have a few as well. NOT bad tools, even now, and
   don't need batteries. Civ implodes, slide-rules
   will be THE most coveted devices.

> I remember reading that the world’s largest slide-rule maker at the
> time, Keufel & Esser, went bust in 1971. Electronic digital
> calculators had arrived ... not long after the last Moon landing.

   I bought some of the earliest 'calculators'. NOT
   cheap back in the day. Still have ONE that works.
   9V battery and it Goes. Early 70s. Pre-LED.

   BEFORE, Dad had a "Marchant" MECHANICAL calculator.
   Enter numbers on a big matrix keyboard. Press a
   function key. Calc might be quick, or take an hour.
   Ka-CHUNK Ka-CHUNK Ka-CHUNK .... mech-digital display.
   Super cool ! INSANE gearworks !
Re: Back To CS Basics. Fuck AI
#958
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 08:53
195 lines
9620 bytes
>c186282 <c186282@nnada.net>wrote:
>>On 10/17/26 03:20, Jan Panteltje wrote:
>>> 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
>
>   DO check it out. It can now do basically EVERYTHING
>   and is faster than it used to be. P4 is promised to
>   be even faster and more efficient without changing
>   the syntax.
>
>   I did not use Python2 because I heard that P3 was coming ...
>   why learn an obsolete dialect ? Took 'em a little while
>   to port everything over to the new version, but it got
>   done and then went over and above.
>
>   CAN be 'compiled' in a few ways. A couple options
>   translate to 'C' and then compile that. IS much
>   faster, though not quite as fast as writing a
>   native 'C' pgm. However the EASE of writing and
>   great string-slice functions (stolen from FORTRAN)
>   make Python really nice. Oh, 95% of the time you
>   don't NEED top speed for applications. That's old
>   thinking - EASE/comprehensibility can be far
>   more important.
>
>   Oh, the DOCUMENTATION/How-To stuff for Python
>   is everywhere and detailed. A zillion solutions
>   for YOUR particular problem.
>
>   Since forever I wrote in 'C' or Pascal. I even
>   did stuff in "B". However I rarely use 'C'
>   anymore. Might still rec writing 'servers' in 'C' ...
>   esp if high-volume ... but that sentiment is
>   half 'tradition'.
>
>   Anyway, learn before 'AI' tries to steal it
>   all away. CHAT can find/write low/medium
>   complexity Python code ... but sometimes
>   it seems more complex/verbose/obscure than
>   a human would write it. Mostly it just
>   steals human-writ examples it finds.
>
>   DID ask CHAT to write me a basic b-tree
>   database pgm in FORTRAN the other day.
>   Kinda/sorta did so ... but didn't include
>   any load/save code (though DID warn about
>   that prob). Next - same thing, but in
>   Modula2 - we'll see what its limits are :-)
>
>   Pref M3 ... but almost no Linux/anything
>   compilers for that - esp that actually
>   install correctly. Some ancient DOS stuff.
>   Do have a paper manual for "Turbo Modula-2"
>   but it's all 8/16 bit and won't run on a lot
>   of chips these days. Would have to use
>   DOSBox or something - inefficient.
>
>> Never needed it for the things I do.
>> Also it seems to be changing all the time?
>
>   Ummm ... not really. The only "big" - ok
>   not SO big - change was P2 to P3. Most
>   P2 programs can be tweaked for P3 pretty
>   quick. Think there's even a converter app.
>
>   Now if by "changing" you mean new functions,
>   yep, people keep writing them for obvious
>   reasons. The good bit is it means there are
>   several paths to whatever you're trying to
>   do - pick the best for your need.
>
>   I did a bunch of video security cam apps.
>   Sometimes "OpenCV2" will do it all, sometimes
>   "Pillow" lib is just fine. Can even combine
>   in some cases.
>
>> Most code I write is in C or in asm for Microchips.
>> asm is extremely powerful
>
>   Well aware. When CP/M and even DOS were around
>   had to write ASM bits, or full apps, because
>   there just wasn't anything better. PICs and
>   similar microcontrollers - ASM is still the
>   best way to the finer chip tricks.
>
>>   understand the hardware!!!
>
>   The weaker the hardware the more you have to
>   understand it. Most modern big chips, so much
>   overkill that you really don't need to know
>   every little nuance. Sorry, 1% better performance
>   isn't worth learning 99% more tiny-tweak shit
>   that'll probably be obsolete in the very next
>   point-revision of the CPU.
>
>> 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.
>
>   Some of that shit was just bizarre !
>
>   Loved hand-knitted "rope memory", what
>   the LEM computer used  :-)
>
>> Now they have nothing to show but driving around the block (earth orbit) with
>> all that computing power.
>
>   All the computing power in the Apollo ... yer
>   base iWatch has a good 1000x that, maybe 10000x.
>   BUT, they had to make do with what they had ...
>   and most of that was govt-specced in '64. At
>   least Apollo wasn't all vacuum tubes  :-)
>
>   Now space probes - I really admire the people
>   who design the hardware/software. Insane levels
>   of redundancy/work-arounds, almost a black art.
>   It's why the Voyagers are still working out
>   beyond the edge of our solar system all this
>   time later. Kinda hoping aliens will find one
>   and upgrade/repair :-)

Yes and the new telescopes
 https://www.sciencedaily.com/releases/2026/10/261016070630.htm
  NASA’s Roman Space Telescope exceeds expectations by nearly 30%

I think, our current understanding of 'the Universe' and 'big bang' is at some
point completely wrong,
as is our 'understanding' of fusion (why ITER and other experiments like it
will never work).
I look at normal radioactivity as you having a lot of springs each compressed
and hold together by a little metal clamp.
Every now and then a clamp breaks an the spring jumps, 'radioactivity'
'radiation'.
Put enough springs like that together and if one goes and hits a few other ones
like it then you get a chain reaction, all clamps break, all springs jump.

But 'fusion' they try, is nothing but pushing the springs together without even
using clamps..
Costs all of energy to keep those together and no more energy will ever come
out than you put in.
The springs with clamps are just parts of the expanding universe that had not
expanded yet.

Dark matter, so much bullshit, so many einStone parrots,
so many mamaticians doing a divide by zero and then use 'renormalisation'
all parrots, too much senseless math, NO understanding.
It is a bit like Ohm's law, but then the radio tube was invented, a current in
a vacuum ! Ohms law broken?
Electrons moving turned out to be what electric current was!
You need a _mechanism_ to understand the universe, else the babble about
infinities will go on and no end and the understanding will remain zero.
CERN did recently find signs that space is filled with some fluid...
From:
 https://www.sciencedaily.com/releases/2026/10/261004002556.htm

Physicists just saw quarks make waves in the Big Bang’s primordial soup
Scientists have watched speeding quarks create ripples in primordial matter,
revealing just how liquid-like the early universe really was.
 Date:
October 6, 2026
Source:
 Massachusetts Institute of Technology
Summary:
 Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
 yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
 universe, behaves like a true liquid.
 By tracking individual quarks as they blasted through the plasma, researchers
 saw them leave behind ripples, splashes, and swirling wakes  much like a duck
 moving through water.
 The finding suggests this primordial “soup” is so dense that it can slow
 speeding quarks and respond collectively as a fluid.


Re: Back To CS Basics. Fuck AI
#959
Author: c186282
Date: Sun, 18 Oct 2026 08:58
23 lines
2755 bytes
On 10/17/26 16:26, Lawrence D’Oliveiro wrote:
> On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:
> 
>>> <https://www.gnu.org/software/hello/>
>>
>> Holy cow.
> 
> On a similar note, the original Unix “true” command was ... an empty
> shell script. Nevertheless, AT&T tried to claim copyright on it
> <http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>.

   An attempted patent on NOTHING ... :-)

> Worth comparing the GNU coreutils version of “true”
> <http://www.theregister.co.uk/2016/02/10/line_break_ep2/>, which is
> ... 80 lines long. The same code is also used to generate the “false”
> command. The full source is posted in that article, to make fun of
> supposed “software bloat” or something. The writer completely fails to
> realize a point made in the previous link: that the GNU version uses
> less memory and runs faster.

   Um ... why'd it take 80 lines ?
Re: Back To CS Basics. Fuck AI
#960
Author: c186282
Date: Sun, 18 Oct 2026 09:06
210 lines
10648 bytes
On 10/18/26 04:53, Jan Panteltje wrote:
>> c186282 <c186282@nnada.net>wrote:
>>> On 10/17/26 03:20, Jan Panteltje wrote:
>>>> 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
>>
>>    DO check it out. It can now do basically EVERYTHING
>>    and is faster than it used to be. P4 is promised to
>>    be even faster and more efficient without changing
>>    the syntax.
>>
>>    I did not use Python2 because I heard that P3 was coming ...
>>    why learn an obsolete dialect ? Took 'em a little while
>>    to port everything over to the new version, but it got
>>    done and then went over and above.
>>
>>    CAN be 'compiled' in a few ways. A couple options
>>    translate to 'C' and then compile that. IS much
>>    faster, though not quite as fast as writing a
>>    native 'C' pgm. However the EASE of writing and
>>    great string-slice functions (stolen from FORTRAN)
>>    make Python really nice. Oh, 95% of the time you
>>    don't NEED top speed for applications. That's old
>>    thinking - EASE/comprehensibility can be far
>>    more important.
>>
>>    Oh, the DOCUMENTATION/How-To stuff for Python
>>    is everywhere and detailed. A zillion solutions
>>    for YOUR particular problem.
>>
>>    Since forever I wrote in 'C' or Pascal. I even
>>    did stuff in "B". However I rarely use 'C'
>>    anymore. Might still rec writing 'servers' in 'C' ...
>>    esp if high-volume ... but that sentiment is
>>    half 'tradition'.
>>
>>    Anyway, learn before 'AI' tries to steal it
>>    all away. CHAT can find/write low/medium
>>    complexity Python code ... but sometimes
>>    it seems more complex/verbose/obscure than
>>    a human would write it. Mostly it just
>>    steals human-writ examples it finds.
>>
>>    DID ask CHAT to write me a basic b-tree
>>    database pgm in FORTRAN the other day.
>>    Kinda/sorta did so ... but didn't include
>>    any load/save code (though DID warn about
>>    that prob). Next - same thing, but in
>>    Modula2 - we'll see what its limits are :-)
>>
>>    Pref M3 ... but almost no Linux/anything
>>    compilers for that - esp that actually
>>    install correctly. Some ancient DOS stuff.
>>    Do have a paper manual for "Turbo Modula-2"
>>    but it's all 8/16 bit and won't run on a lot
>>    of chips these days. Would have to use
>>    DOSBox or something - inefficient.
>>
>>> Never needed it for the things I do.
>>> Also it seems to be changing all the time?
>>
>>    Ummm ... not really. The only "big" - ok
>>    not SO big - change was P2 to P3. Most
>>    P2 programs can be tweaked for P3 pretty
>>    quick. Think there's even a converter app.
>>
>>    Now if by "changing" you mean new functions,
>>    yep, people keep writing them for obvious
>>    reasons. The good bit is it means there are
>>    several paths to whatever you're trying to
>>    do - pick the best for your need.
>>
>>    I did a bunch of video security cam apps.
>>    Sometimes "OpenCV2" will do it all, sometimes
>>    "Pillow" lib is just fine. Can even combine
>>    in some cases.
>>
>>> Most code I write is in C or in asm for Microchips.
>>> asm is extremely powerful
>>
>>    Well aware. When CP/M and even DOS were around
>>    had to write ASM bits, or full apps, because
>>    there just wasn't anything better. PICs and
>>    similar microcontrollers - ASM is still the
>>    best way to the finer chip tricks.
>>
>>>    understand the hardware!!!
>>
>>    The weaker the hardware the more you have to
>>    understand it. Most modern big chips, so much
>>    overkill that you really don't need to know
>>    every little nuance. Sorry, 1% better performance
>>    isn't worth learning 99% more tiny-tweak shit
>>    that'll probably be obsolete in the very next
>>    point-revision of the CPU.
>>
>>> 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.
>>
>>    Some of that shit was just bizarre !
>>
>>    Loved hand-knitted "rope memory", what
>>    the LEM computer used  :-)
>>
>>> Now they have nothing to show but driving around the block (earth orbit) with
>>> all that computing power.
>>
>>    All the computing power in the Apollo ... yer
>>    base iWatch has a good 1000x that, maybe 10000x.
>>    BUT, they had to make do with what they had ...
>>    and most of that was govt-specced in '64. At
>>    least Apollo wasn't all vacuum tubes  :-)
>>
>>    Now space probes - I really admire the people
>>    who design the hardware/software. Insane levels
>>    of redundancy/work-arounds, almost a black art.
>>    It's why the Voyagers are still working out
>>    beyond the edge of our solar system all this
>>    time later. Kinda hoping aliens will find one
>>    and upgrade/repair :-)
> 
> Yes and the new telescopes
>   https://www.sciencedaily.com/releases/2026/10/261016070630.htm
>    NASA’s Roman Space Telescope exceeds expectations by nearly 30%
> 
> I think, our current understanding of 'the Universe' and 'big bang' is at some
> point completely wrong,

   Likely.

> as is our 'understanding' of fusion (why ITER and other experiments like it
> will never work).

   Current approaches ... won't work worth damn.
   Gotta find some 'quantum tricks'. SOME way
   to, even for a sub-nanosecond, to screw with
   the physics.

> I look at normal radioactivity as you having a lot of springs each compressed
> and hold together by a little metal clamp.
> Every now and then a clamp breaks an the spring jumps, 'radioactivity'
> 'radiation'.
> Put enough springs like that together and if one goes and hits a few other ones
> like it then you get a chain reaction, all clamps break, all springs jump.
> 
> But 'fusion' they try, is nothing but pushing the springs together without even
> using clamps..
> Costs all of energy to keep those together and no more energy will ever come
> out than you put in.
> The springs with clamps are just parts of the expanding universe that had not
> expanded yet.
> 
> Dark matter, so much bullshit, so many einStone parrots,
> so many mamaticians doing a divide by zero and then use 'renormalisation'
> all parrots, too much senseless math, NO understanding.
> It is a bit like Ohm's law, but then the radio tube was invented, a current in
> a vacuum ! Ohms law broken?
> Electrons moving turned out to be what electric current was!
> You need a _mechanism_ to understand the universe, else the babble about
> infinities will go on and no end and the understanding will remain zero.
> CERN did recently find signs that space is filled with some fluid...
> From:
>   https://www.sciencedaily.com/releases/2026/10/261004002556.htm
> 
> Physicists just saw quarks make waves in the Big Bang’s primordial soup
> Scientists have watched speeding quarks create ripples in primordial matter,
> revealing just how liquid-like the early universe really was.
>   Date:
> October 6, 2026
> Source:
>   Massachusetts Institute of Technology
> Summary:
>   Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
>   yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
>   universe, behaves like a true liquid.
>   By tracking individual quarks as they blasted through the plasma, researchers
>   saw them leave behind ripples, splashes, and swirling wakes  much like a duck
>   moving through water.
>   The finding suggests this primordial “soup” is so dense that it can slow
>   speeding quarks and respond collectively as a fluid.

   Still think "dark matter" is an hallucination.

   "Invisible Stuff" ??? Luminiferous Aether ???

   Something ELSE going on.

Re: Back To CS Basics. Fuck AI
#962
Author: Stéphane CARPENTIER
Date: Sun, 18 Oct 2026 09:22
28 lines
2455 bytes
Le 17-10-2026, John Bokma <contact@johnbokma.com> a écrit :
> On 17/10/2026 18:46, Stéphane CARPENTIER wrote:
>
> [..]
>
>> With some typed languages, you can't use a variable if you didn't
>> declare it's type before. With python, you don't need to declare
>> integers and strings but you need to declare dictionaries. Why? Don't
>> know.
>
> I guess you confuse assigning a type with creating an object of a 
> specific type.

Probably. Sometimes some methods didn't work if I didn't assign an empty
dictionary first. So, I assumed, maybe wrongly, that assigning an empty
value was declaring it, maybe there are some subtleties.

>> With python, that looks easy and when I fix something, it breaks
>> something else for reasons I don't understand. 
>
> I recommend to install Copilot CLI on your system and ask it to explain 
> why your script breaks. It's quite good at explaining is my experience.

Well, at work I don't install what I want on my computer.

-- 
Si vous avez du temps Ă  perdre :
https://scarpet42.gitlab.io
Re: Back To CS Basics. Fuck AI
#965
Author: Stéphane CARPENTIER
Date: Sun, 18 Oct 2026 09:33
58 lines
3816 bytes
Le 17-10-2026, Richard Kettlewell <invalid@invalid.invalid> a écrit :
> Stéphane CARPENTIER <sc@fiat-linux.fr> writes:
>> Richard Kettlewell <invalid@invalid.invalid> a écrit :
>>> Stéphane CARPENTIER <sc@fiat-linux.fr> writes:
>>>> 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.
>>>
>>> Python is absolutely a typed language. Every object has a type and it
>>> won’t let you use objects in a manner incompatible with their type:
>>>
>>>     >>> 0+""
>>>     Traceback (most recent call last):
>>>       File "<python-input-0>", line 1, in <module>
>>>         0+""
>>>         ~^~~
>>>     TypeError: unsupported operand type(s) for +: 'int' and 'str'
>>
>> In this case python is a strongly typed language and in other cases
>> it's not that important.
>>
>> With some typed languages, you can't use a variable if you didn't
>> declare it's type before. With python, you don't need to declare
>> integers and strings but you need to declare dictionaries. Why? Don't
>> know.
>
> No special declaration is needed for dicts, you can just write out the
> dict you want.
>
>     >>> d={'a': 1, 'b': 2}
>     >>> type(d)
>     <class 'dict'>

As John said, I'm probably confusing declaring, creating and assigning a
value to a variable. Because when I assigned an empty dictionary to a
variable, all three of them are done at the same time.

The issue wasn't about assigning a new dictionary to a variable, but
adding some values in it. Some methods didn't worked for adding values
if I didn't assign an empty dictionary or an empty list first, before
doing anything on it. 

>> With other programming languages I saw, either that works or that
>> doesn't, but I never saw something that stops working when it starts to
>> be more complex. It looks like it's a python specialty.
>
> No, I think the issue here is pretty obviously the attempt to use a tool
> without learning how it works.

I managed to do it with other programming languages. I managed to do it
with python, to. In the end, it worked. But it was more cumbersome with
python. I'm not saying that a programming language should be able to be
used without being learned. I'm saying that it's not an easier language
to use.

-- 
Si vous avez du temps Ă  perdre :
https://scarpet42.gitlab.io
Re: Back To CS Basics. Fuck AI
#967
Author: c186282
Date: Sun, 18 Oct 2026 09:55
75 lines
4436 bytes
On 10/18/26 04:01, Jan Panteltje wrote:
>> rbowman <bowman@montana.com>wrote:
>>> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>>
>>
>>> OK I never got much into Python Never needed it for the things I do.
>>> Also it seems to be changing all the time?
>>
>> Except for the transition from 2 to 3 Python has been quite good at
>> maintaining backward compatibility. It changes as PEPs are implemented but
>> seldom do the changes break things.
>>
>>> But I come from a hardware background, in the sixties there were no
>>> 'computers'
>>
>> I was under the impression the System 360/30 that ate my FORTRAN IV cards
>> was a computer of sorts.
>>
> 
> 
> Yea I dunno, my first computer was a Sinclair ZX80

   HAD one ! May STILL have it - in The Heap somewhere.

   Hey, don't cuss the Z-80 ! Damned good chip !


> At work we had a PDP10?

   Got started, officially, on the PDP-11.

   And there was that neat-o newfangled
   'C' language ....  :-)


> Worked a while at a large accelerator back then, made me buy a book on Unix.
> A bit later I had my own TV repair shop in Amsterdam
> and that is when I bought that Z80.
> Added some printer driver in Z80 asm to print receipts and stuff on a thermal
> printer.

   Well, the math of particle accelerators is well
   beyond my hard-wiring. I'm best as a 'generalist',
   bringing a bunch of dis-related threads together,
   seeing how disparate 'A' 'B' and 'C' relate. Had
   a good 40+ year career with that.

   Sometimes knowing a little about a LOT of things
   pays off as well as knowing a LOT about ONE thing.
   Somebody has to tie it all together.


> But then ..expanded that ZX80 with more memory, several I/O cards
> even added an IBM PC keyboard and ran the C80 C compiler on it
> I wanted to run software from the CPM user group but no CPM for that ZX80.
> So wrote my own CP/M clone and it worked:
>    https://panteltje.nl/panteltje/z80/index.html
> Here what I added to that Sinclair Z80:
>   https://panteltje.nl/panteltje/z80/system14/diagrams/index.html
> 
> By that time I was working in a company designing a.o. PCI cards for in IBM PCs
> My computer used a ramdisk and was faster than the IBM PC,
> no harddisc seek times.

   Remember 'PCI' cards, 'ISA' too, S-100 were
   pretty good as well.

   Only designed ONE kinda simple PCI card. Sounds
   like you went further.

   I fell in love with "embedded" - low-powered
   chips and minimal hardware. Seemed just 'art'
   to do useful things with that. Lots of 'C'
   and ASM shit.
Re: Back To CS Basics. Fuck AI
#971
Author: De ongekruisigde ds.
Date: Sun, 18 Oct 2026 10:59
66 lines
3972 bytes
On 2026-10-16, 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?

Who knows, but here's an AI report on the current status of
libdfp/libdfp:

Maintenance status: actively maintained (and recently revived)             

Consulting git history directly:     

- Timeline: 669 commits spanning 2009-07-24 (original author Ryan
S. Arnold, IBM) to 2026-09-11 (Paul Murphy). The project is alive
— the most recent activity is only days old.

- Very recent burst: 17 commits since June 2026, almost all by
Paul Murphy (Red Hat), tightly focused on strtodN correctness
— signed-NaN returns, locale parsing bugs, rounding of large
integer mantissas, underflow/tiny values, dead-code removal —
plus a matching expansion of the test suite. Several commits are
explicitly AI-assisted (test-strtod: Add more AI tests), so this
is a modern, tooling-assisted development effort, not legacy
code.

- Contributor base: the classic glibc decimal-fp team —
Adhemerval Zanella (178), Ryan S. Arnold (130, original author),
Paul E. Murphy (~104 across addresses), Stefan Liebler. All
are current glibc/IBM/Red Hat maintainers, which signals
upstream-grade stewardship.

- Branches: only master plus legacy release branches
(libdfp-1_0_8-branch, _9, _10). No new release branch has been
cut since 1.0.10, so development is trunk-focused; the current
release number (1.0.17) is ahead of the last branched tag.

Verdict: healthy and actively maintained. The core decimal-fp
library is mature (15+ years), but 2026 has seen a genuine
correctness/quality drive on the string-conversion paths
(strtod/ldexp), with heavy test coverage. Nothing suggests
abandonment — quite the opposite.


-- 
I am a disgrace to all possible and impossible universes and all
that is not a universe. -- Gemini AI
Re: Back To CS Basics. Fuck AI
#972
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:07
27 lines
2575 bytes
On 17/10/2026 18:08, John Bokma wrote:
> Examples:
> 
> Explain as a professional Python programmer why 1+True yields 2 and is 
> valid
> Thought for 3s
> 
> In Python,  bool  is a subclass of  int . The two Boolean values behave 
> numerically as  False == 0  and  True == 1 , so adding  True  to  1  is 
> equivalent to  1 + 1 :
> 
> 1 + True       # 2
> type(1 + True) # int
> 
> It’s valid because Python’s numeric operations accept Boolean values as 
> integers. In application code, though, it’s usually clearer to convert 
> or count explicitly if you intend to use a Boolean as a number.

With Booleans the + operator ought to be an OR function so TRUE + TRUE = 
TRUE


-- 
“The urge to save humanity is almost always only a false face for the 
urge to rule it.”
– H. L. Mencken
Re: Back To CS Basics. Fuck AI
#973
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:08
22 lines
2391 bytes
On 17/10/2026 19:33, Charlie Gibbs wrote:
> On 2026-10-17, The Natural Philosopher <tnp@invalid.invalid> wrote:
> 
>> On 17/10/2026 15:02, Richard Kettlewell wrote:
>>
>>> We make extensive use of Python, apart from some performance issues
>>> (exacerbated by the not particularly speedy SoC it runs on) it’s not
>>> really problematic.
>>
>> Wow. someone has a real use for it!
>>
>> I just am too old to become proficient in another language, I am still
>> battling JavaScript
> 
> I still use C.  I started puttering with Python once -
> maybe I should take another look at it.
> 
Too old and tired and lacking in oxygen

-- 
Climate Change: Socialism wearing a lab coat.
Re: Back To CS Basics. Fuck AI
#974
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:09
8 lines
1962 bytes
On 17/10/2026 20:29, Richard Kettlewell wrote:
> I think the issue here is pretty obviously the attempt to use a tool
> without learning how it works.

The best tools are self explanatory...
-- 
Climate Change: Socialism wearing a lab coat.
Re: Back To CS Basics. Fuck AI
#975
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:12
22 lines
2305 bytes
On 17/10/2026 21:14, rbowman wrote:
> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
> 
> 
>> OK I never got much into Python Never needed it for the things I do.
>> Also it seems to be changing all the time?
> 
> Except for the transition from 2 to 3 Python has been quite good at
> maintaining backward compatibility. It changes as PEPs are implemented but
> seldom do the changes break things.
> 
>> But I come from a hardware background, in the sixties there were no
>> 'computers'
> 
> I was under the impression the System 360/30 that ate my FORTRAN IV cards
> was a computer of sorts.
> 
Mine was. I think. an Elliott. I never saw it.

-- 
Climate Change: Socialism wearing a lab coat.
Re: Back To CS Basics. Fuck AI
#976
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:15
91 lines
3728 bytes
On 18/10/2026 08:43, Jan Panteltje wrote:
>> Charlie Gibbs <cgibbs@kltpzyxm.invalid>wrote:
>>> On 2026-10-17, Leroy H <lh@somewhere.net> wrote:
>>
>>> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>>>
>>>> These days giggle bytes seem to be needed to just say: 'Hello world'.
>>>> Too many layers of crap.
>>>
>>> GNU has published the definitive version of Hello World:
>>>
>>> <https://www.gnu.org/software/hello/>
>>
>> Holy cow.  I guess it's time to resurrect this old chestnut:
>>
>>
>> Mon Nov 12 20:03:48 1990
>> Message : #1011969    From: cs161fhn%sdcc10@ucsd.edu
>> Group   : NET.Funny
>> Length  : 198 words
>> Subject : Evolution of a programmer
>>
>> Msg-ID: <S1c5.4b61@looking.on.ca>
>> Posted: 13 Nov 90 00:30:05 GMT
>>
>> Person: Dennis Lou
>>
>>
>> The Evolution of a programmer.
>>
>> (Okay, it's late and I'm not thinking straight, but at least it's
>> original...)
>>
>> High school/Jr. High
>> --------------------
>> 10 PRINT "HELLO WORLD"
>> 20 END
>>
>>
>> First year in college
>> ---------------------
>> program Hello(input, output);
>>   begin
>>     writeln ('Hello world');
>>   end
>>
>> Senior year in college
>> ----------------------
>> (defun hello
>>   (print
>>         (cons 'HELLO (list 'WORLD))))
>>
>> New professional
>> ----------------
>> #include <stdio.h>
>> main (argc,argv)
>> int argc;
>> char **argv; {
>> printf ("Hello World!\n");
> 
> 
> I will go with that one,
> but simplify it a bit
> 
> file q1.c
> #include <stdio.h>
> int main()
> {
> printf("Hello\n");
> }
>   
> raspberrypi: ~ # gcc -o q1 q1.c
> raspberrypi: ~ # l q1
> -rwxr-xr-x 1 root root 8068 Oct 18 09:33 q1*
> raspberrypi: ~ # ./q1
> Hello
> 
> So an about 8 kilobytes size executable ....
> 
> Better use bash
> echo "Hello"
> raspberrypi: ~ # echo "Hello"
> Hello
> 
$ ls -l /bin/bash
-rwxr-xr-x 1 root root 1183448 Apr 18  2022 /bin/bash

-- 
"It was a lot more fun being 20 in the 70's that it is being 70 in the 20's"
Joew Walsh
Re: Back To CS Basics. Fuck AI
#977
Author: The Natural Philosopher
Date: Sun, 18 Oct 2026 11:20
22 lines
2400 bytes
On 18/10/2026 09:53, Jan Panteltje wrote:
> Put enough springs like that together and if one goes and hits a few other ones
> like it then you get a chain reaction, all clamps break, all springs jump.
> 
> But 'fusion' they try, is nothing but pushing the springs together without even
> using clamps..
> Costs all of energy to keep those together and no more energy will ever come
> out than you put in.

Not really. Push enough together hard enough and lots of pieces fly out. 
Like trying to assemble a motorbike gearbox with C clips

In the UK we call these 'pingfuckits'

Fusion is just trying to hold it together and not let the pingfuckits 
escape...
-- 
It’s easier to fool people than to convince them that they have been fooled.
Mark Twain


Re: Back To CS Basics. Fuck AI
#979
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 13:22
23 lines
2474 bytes
>The Natural Philosopher <tnp@invalid.invalid>wrote:
>>On 18/10/2026 09:53, Jan Panteltje wrote:
>> Put enough springs like that together and if one goes and hits a few other ones
>> like it then you get a chain reaction, all clamps break, all springs jump.
>> 
>> But 'fusion' they try, is nothing but pushing the springs together without even
>> using clamps..
>> Costs all of energy to keep those together and no more energy will ever come
>> out than you put in.
>
>Not really. Push enough together hard enough and lots of pieces fly out. 
>Like trying to assemble a motorbike gearbox with C clips
>
>In the UK we call these 'pingfuckits'

Yes, motorbikes, I had 2, one Matchless bought from the army surplus,
took it apart.. 
I stopped with motorbikes after some near accident
Then later got a Ford Mustang V8
Now THAT was a nice car!
But I do not expect crushing a gearbox to cause more energy then you put into
it crushing it.
Re: Back To CS Basics. Fuck AI
#982
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 13:32
220 lines
11225 bytes
>c186282 <c186282@nnada.net>wrote:
>>On 10/18/26 04:53, Jan Panteltje wrote:
>>> c186282 <c186282@nnada.net>wrote:
>>>> On 10/17/26 03:20, Jan Panteltje wrote:
>>>>> 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
>>>
>>>    DO check it out. It can now do basically EVERYTHING
>>>    and is faster than it used to be. P4 is promised to
>>>    be even faster and more efficient without changing
>>>    the syntax.
>>>
>>>    I did not use Python2 because I heard that P3 was coming ...
>>>    why learn an obsolete dialect ? Took 'em a little while
>>>    to port everything over to the new version, but it got
>>>    done and then went over and above.
>>>
>>>    CAN be 'compiled' in a few ways. A couple options
>>>    translate to 'C' and then compile that. IS much
>>>    faster, though not quite as fast as writing a
>>>    native 'C' pgm. However the EASE of writing and
>>>    great string-slice functions (stolen from FORTRAN)
>>>    make Python really nice. Oh, 95% of the time you
>>>    don't NEED top speed for applications. That's old
>>>    thinking - EASE/comprehensibility can be far
>>>    more important.
>>>
>>>    Oh, the DOCUMENTATION/How-To stuff for Python
>>>    is everywhere and detailed. A zillion solutions
>>>    for YOUR particular problem.
>>>
>>>    Since forever I wrote in 'C' or Pascal. I even
>>>    did stuff in "B". However I rarely use 'C'
>>>    anymore. Might still rec writing 'servers' in 'C' ...
>>>    esp if high-volume ... but that sentiment is
>>>    half 'tradition'.
>>>
>>>    Anyway, learn before 'AI' tries to steal it
>>>    all away. CHAT can find/write low/medium
>>>    complexity Python code ... but sometimes
>>>    it seems more complex/verbose/obscure than
>>>    a human would write it. Mostly it just
>>>    steals human-writ examples it finds.
>>>
>>>    DID ask CHAT to write me a basic b-tree
>>>    database pgm in FORTRAN the other day.
>>>    Kinda/sorta did so ... but didn't include
>>>    any load/save code (though DID warn about
>>>    that prob). Next - same thing, but in
>>>    Modula2 - we'll see what its limits are :-)
>>>
>>>    Pref M3 ... but almost no Linux/anything
>>>    compilers for that - esp that actually
>>>    install correctly. Some ancient DOS stuff.
>>>    Do have a paper manual for "Turbo Modula-2"
>>>    but it's all 8/16 bit and won't run on a lot
>>>    of chips these days. Would have to use
>>>    DOSBox or something - inefficient.
>>>
>>>> Never needed it for the things I do.
>>>> Also it seems to be changing all the time?
>>>
>>>    Ummm ... not really. The only "big" - ok
>>>    not SO big - change was P2 to P3. Most
>>>    P2 programs can be tweaked for P3 pretty
>>>    quick. Think there's even a converter app.
>>>
>>>    Now if by "changing" you mean new functions,
>>>    yep, people keep writing them for obvious
>>>    reasons. The good bit is it means there are
>>>    several paths to whatever you're trying to
>>>    do - pick the best for your need.
>>>
>>>    I did a bunch of video security cam apps.
>>>    Sometimes "OpenCV2" will do it all, sometimes
>>>    "Pillow" lib is just fine. Can even combine
>>>    in some cases.
>>>
>>>> Most code I write is in C or in asm for Microchips.
>>>> asm is extremely powerful
>>>
>>>    Well aware. When CP/M and even DOS were around
>>>    had to write ASM bits, or full apps, because
>>>    there just wasn't anything better. PICs and
>>>    similar microcontrollers - ASM is still the
>>>    best way to the finer chip tricks.
>>>
>>>>    understand the hardware!!!
>>>
>>>    The weaker the hardware the more you have to
>>>    understand it. Most modern big chips, so much
>>>    overkill that you really don't need to know
>>>    every little nuance. Sorry, 1% better performance
>>>    isn't worth learning 99% more tiny-tweak shit
>>>    that'll probably be obsolete in the very next
>>>    point-revision of the CPU.
>>>
>>>> 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.
>>>
>>>    Some of that shit was just bizarre !
>>>
>>>    Loved hand-knitted "rope memory", what
>>>    the LEM computer used  :-)
>>>
>>>> Now they have nothing to show but driving around the block (earth orbit) with
>>>> all that computing power.
>>>
>>>    All the computing power in the Apollo ... yer
>>>    base iWatch has a good 1000x that, maybe 10000x.
>>>    BUT, they had to make do with what they had ...
>>>    and most of that was govt-specced in '64. At
>>>    least Apollo wasn't all vacuum tubes  :-)
>>>
>>>    Now space probes - I really admire the people
>>>    who design the hardware/software. Insane levels
>>>    of redundancy/work-arounds, almost a black art.
>>>    It's why the Voyagers are still working out
>>>    beyond the edge of our solar system all this
>>>    time later. Kinda hoping aliens will find one
>>>    and upgrade/repair :-)
>> 
>> Yes and the new telescopes
>>   https://www.sciencedaily.com/releases/2026/10/261016070630.htm
>>    NASA’s Roman Space Telescope exceeds expectations by nearly 30%
>> 
>> I think, our current understanding of 'the Universe' and 'big bang' is at some
>> point completely wrong,
>
>   Likely.
>
>> as is our 'understanding' of fusion (why ITER and other experiments like it
>> will never work).
>
>   Current approaches ... won't work worth damn.
>   Gotta find some 'quantum tricks'. SOME way
>   to, even for a sub-nanosecond, to screw with
>   the physics.
>
>> I look at normal radioactivity as you having a lot of springs each compressed
>> and hold together by a little metal clamp.
>> Every now and then a clamp breaks an the spring jumps, 'radioactivity'
>> 'radiation'.
>> Put enough springs like that together and if one goes and hits a few other ones
>> like it then you get a chain reaction, all clamps break, all springs jump.
>> 
>> But 'fusion' they try, is nothing but pushing the springs together without even
>> using clamps..
>> Costs all of energy to keep those together and no more energy will ever come
>> out than you put in.
>> The springs with clamps are just parts of the expanding universe that had not
>> expanded yet.
>> 
>> Dark matter, so much bullshit, so many einStone parrots,
>> so many mamaticians doing a divide by zero and then use 'renormalisation'
>> all parrots, too much senseless math, NO understanding.
>> It is a bit like Ohm's law, but then the radio tube was invented, a current in
>> a vacuum ! Ohms law broken?
>> Electrons moving turned out to be what electric current was!
>> You need a _mechanism_ to understand the universe, else the babble about
>> infinities will go on and no end and the understanding will remain zero.
>> CERN did recently find signs that space is filled with some fluid...
>> From:
>>   https://www.sciencedaily.com/releases/2026/10/261004002556.htm
>> 
>> Physicists just saw quarks make waves in the Big Bang’s primordial soup
>> Scientists have watched speeding quarks create ripples in primordial matter,
>> revealing just how liquid-like the early universe really was.
>>   Date:
>> October 6, 2026
>> Source:
>>   Massachusetts Institute of Technology
>> Summary:
>>   Physicists at CERN’s Large Hadron Collider have captured the clearest evidence
>>   yet that quark-gluon plasma, the scorching-hot matter that filled the newborn
>>   universe, behaves like a true liquid.
>>   By tracking individual quarks as they blasted through the plasma, researchers
>>   saw them leave behind ripples, splashes, and swirling wakes  much like a duck
>>   moving through water.
>>   The finding suggests this primordial “soup” is so dense that it can slow
>>   speeding quarks and respond collectively as a fluid.
>
>   Still think "dark matter" is an hallucination.
>
>   "Invisible Stuff" ??? Luminiferous Aether ???
>
>   Something ELSE going on.

One theory I like is Le Sage:
 https://en.wikipedia.org/wiki/Le_Sage%27s_theory_of_gravitation 
I like it because it gives a mechanical explanation to gravity,
Also it explains why clocks move slower near a heavy object (say planet)
as there more Le Sage particles are intercepted, matter gets less compressed,
pendulum gets longer, clocks slow down.
It also explains the mysterious heating of some heavenly bodies,
and it puts an end the the black-hole infinities babble
as there is a point where all Le Sage particles are intercepted.
There are NO infinities in nature!!
Re: Back To CS Basics. Fuck AI
#985
Author: Jan Panteltje
Date: Sun, 18 Oct 2026 14:09
99 lines
5456 bytes
>c186282 <c186282@nnada.net>wrote:
>>On 10/18/26 04:01, Jan Panteltje wrote:
>>> rbowman <bowman@montana.com>wrote:
>>>> On Sat, 17 Oct 2026 07:20:49 GMT, Jan Panteltje wrote:
>>>
>>>
>>>> OK I never got much into Python Never needed it for the things I do.
>>>> Also it seems to be changing all the time?
>>>
>>> Except for the transition from 2 to 3 Python has been quite good at
>>> maintaining backward compatibility. It changes as PEPs are implemented but
>>> seldom do the changes break things.
>>>
>>>> But I come from a hardware background, in the sixties there were no
>>>> 'computers'
>>>
>>> I was under the impression the System 360/30 that ate my FORTRAN IV cards
>>> was a computer of sorts.
>>>
>> 
>> 
>> Yea I dunno, my first computer was a Sinclair ZX80
>
>   HAD one ! May STILL have it - in The Heap somewhere.
>
>   Hey, don't cuss the Z-80 ! Damned good chip !
>
>
>> At work we had a PDP10?
>
>   Got started, officially, on the PDP-11.
>
>   And there was that neat-o newfangled
>   'C' language ....  :-)
>
>
>> Worked a while at a large accelerator back then, made me buy a book on Unix.
>> A bit later I had my own TV repair shop in Amsterdam
>> and that is when I bought that Z80.
>> Added some printer driver in Z80 asm to print receipts and stuff on a thermal
>> printer.
>
>   Well, the math of particle accelerators is well
>   beyond my hard-wiring. I'm best as a 'generalist',
>   bringing a bunch of dis-related threads together,
>   seeing how disparate 'A' 'B' and 'C' relate. Had
>   a good 40+ year career with that.
>
>   Sometimes knowing a little about a LOT of things
>   pays off as well as knowing a LOT about ONE thing.
>   Somebody has to tie it all together.


I started travelling the world, doing work in electronics wherever I could find,
sometimes via agencies.
I have this thing called 'curiosity' that drives me.
Worked for army, navy, power stations, space, broadcasting, had a TV and radio repair shop,
car electronics, art, medical in a big university hospital here, in an airport, in satellite communication,
in Europe, in the US, and in the UK.
Been almost everywhere from many European countries to down-under.
Languages, Dutch, English, German, French, little bit Italian (pizza I know what it is just had one ;-0), bit of Spanish..
Will be eighty years old in a few month, still learning.


>> But then ..expanded that ZX80 with more memory, several I/O cards
>> even added an IBM PC keyboard and ran the C80 C compiler on it
>> I wanted to run software from the CPM user group but no CPM for that ZX80.
>> So wrote my own CP/M clone and it worked:
>>    https://panteltje.nl/panteltje/z80/index.html
>> Here what I added to that Sinclair Z80:
>>   https://panteltje.nl/panteltje/z80/system14/diagrams/index.html
>> 
>> By that time I was working in a company designing a.o. PCI cards for in IBM PCs
>> My computer used a ramdisk and was faster than the IBM PC,
>> no harddisc seek times.
>
>   Remember 'PCI' cards, 'ISA' too, S-100 were
>   pretty good as well.
>
>   Only designed ONE kinda simple PCI card. Sounds
>   like you went further.
>
>   I fell in love with "embedded" - low-powered
>   chips and minimal hardware. Seemed just 'art'
>   to do useful things with that. Lots of 'C'
>   and ASM shit.

Yes, keep it simple.
Simple things sometimes just keep working for ages:
 https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_inside_img_1727.jpg
 https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_inside2_img_1757.jpg
 https://panteltje.nl/pub/8052AH_BASIC_computer/8052AH_BASIC_computer_wiring_img_1756.jpg
1985 or so?
Had it powered on last year,
 worked OK after giving it some time to re-charge the battery that keeps the BASIC program in static RAM.
Was used to drive all sort of stuff around the house via simple i2c.
 

Re: Back To CS Basics. Fuck AI
#999
Author: rbowman
Date: Sun, 18 Oct 2026 19:28
11 lines
1639 bytes
On Sun, 18 Oct 2026 08:01:05 GMT, Jan Panteltje wrote:

> Yea I dunno, my first computer was a Sinclair ZX80 At work we had a
> PDP10?
> Worked a while at a large accelerator back then, made me buy a book on
> Unix.

I bought the ZX81 kit to see what you got for $80 US, but that was about 
15 years after my first FORTRAN IV program. I wasn't interested in 
programming until the microcontrollers appeared so the early part of my 
career was hardware control circuits. Logic is logic.
Re: Back To CS Basics. Fuck AI
#1181
Author: Lawrence D’Oliveiro
Date: Sun, 18 Oct 2026 22:03
9 lines
1762 bytes
On Sat, 17 Oct 2026 18:45:57 GMT, Charlie Gibbs wrote:

> printf ("Hello World!\n");

    puts("Hello World!\n");

or even a bit more nitpicky:

    fputs("Hello World!\n", stdout);
Re: Back To CS Basics. Fuck AI
#1183
Author: Lawrence D’Oliveiro
Date: Mon, 19 Oct 2026 02:19
8 lines
1849 bytes
On Sun, 18 Oct 2026 08:53:53 GMT, Jan Panteltje wrote:

> But 'fusion' they try, is nothing but pushing the springs together
> without even using clamps..
> Costs all of energy to keep those together and no more energy will
> ever come out than you put in.

What keeps the stars burning?
Re: Back To CS Basics. Fuck AI
#1188
Author: Jan Panteltje
Date: Mon, 19 Oct 2026 08:01
38 lines
3191 bytes
>rbowman <bowman@montana.com>wrote:
>>On Sun, 18 Oct 2026 08:01:05 GMT, Jan Panteltje wrote:
>
>> Yea I dunno, my first computer was a Sinclair ZX80 At work we had a
>> PDP10?
>> Worked a while at a large accelerator back then, made me buy a book on
>> Unix.
>
>I bought the ZX81 kit to see what you got for $80 US, but that was about 
>15 years after my first FORTRAN IV program. I wasn't interested in 
>programming until the microcontrollers appeared so the early part of my 
>career was hardware control circuits. Logic is logic.

Yes, started with hardware as a kid, crystal radio, then tube radios
then when the first transistors came, build a small 1 transistor FM transmitter
in highschool.
And a tube amp for the school band, guitarist liked it.
Started playing with CRTs, build an all transistor tube TV..
Then later in my first job designed and build a portable vidicon TV camera
all transistors.
Looked for a more fun and safer job (almost got killed on a Navy flightdeck).
That camera and what I knew about TV landed me a job at the national TV network
here.
Experimenting at home continued (ever since ;-) .
As for TV, color TV, nanosecond precision time base compensation,
loads of transistor stuff, racks full, just one of the hundreds of things:
 https://www.manualslib.com/manual/4019119/Ampex-Colortec-1011.html
  circuit diagrams are in there too around page 120
Had to keep it all running and fix it if it did not run.
And all the tube based stuff
And run the place at times.

I do remember Fortran, wrote some lines of that code,
but am C or asm 'oriented'.
There is more ...

Still writing code and designing electronics.
Re: Back To CS Basics. Fuck AI
#1189
Author: Richard Kettlewell
Date: Mon, 19 Oct 2026 08:01
17 lines
1867 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
> Charlie Gibbs wrote:
>
>> printf ("Hello World!\n");
>
>     puts("Hello World!\n");

That does something slightly different.

> or even a bit more nitpicky:
>
>     fputs("Hello World!\n", stdout);

That’s the same as the original printf.

-- 
https://www.greenend.org.uk/rjk/
Re: Back To CS Basics. Fuck AI
#1190
Author: Jan Panteltje
Date: Mon, 19 Oct 2026 08:20
55 lines
3244 bytes
>Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid>wrote:
>>On Sun, 18 Oct 2026 08:53:53 GMT, Jan Panteltje wrote:
>
>> But 'fusion' they try, is nothing but pushing the springs together
>> without even using clamps..
>> Costs all of energy to keep those together and no more energy will
>> ever come out than you put in.
>
>What keeps the stars burning?

Russian diesel?

LOL

Read the Le Sage article:
 https://en.wikipedia.org/wiki/Le_Sage%27s_theory_of_gravitation

Scroll down to:
 Recent activity

quote:
 The re-examination of Le Sage's theory in the 19th century identified several
 closely interconnected problems with the theory.
 These relate to excessive heating, frictional drag, shielding, and gravitational aberration. 
-----------------^^^^^^^^^^^^^^^^

Feynman could not handle it, he thinks of LeSage particles as stones
I think EM radiation can just be a 'state' of (very complex) Le Sage particles.

Then gravity moves at the speed of light.
Making EM radiation is just 'magnetizing LS particles
 A mechanism
I do not wan the no-bell price too much politics...

But a MECHANISM is a must, mamamatical babble gets you nowhere.
NeinStone was a fraud, he stole his relatitfrites like he
stole Bose's work and put his own name on it
Bose Einstein condensate.

And the world (most of it) keeps parroting that fraud
'Space is curved' what was curved was his brain.
He failed to unite gravity and EM radiation
I just did unite that here .
Is it correct?
I dunno.
Experiments we need.
NeinStein never did an experiment in his life, just babble.
Polli Ticks put him on a stand.

But sure, go on feeding billions of taxpayer money into ITER
Your money.



 
Re: Back To CS Basics. Fuck AI
#1195
Author: John Ames
Date: Mon, 19 Oct 2026 16:37
26 lines
2865 bytes
On Sat, 17 Oct 2026 02:28:10 -0000 (UTC)
Lawrence D’Oliveiro <ldo@nz.invalid> 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.

Yep. You can do fixed-point/scaled-integer math even in languages with-
out a dedicated type if you put your mind to it (it's very common with
Forth people,) but no matter how you do it one of the challenges is
being *actually* sure that your calculations won't exceed the bounds
set for range and precision by your choice of word size and scaling
factor. Floating-point saves you the trouble of doing that, but as has
been discussed it has its own set of quirks to be accounted for.
Re: Back To CS Basics. Fuck AI
#1197
Author: rbowman
Date: Mon, 19 Oct 2026 20:05
12 lines
1644 bytes
On Mon, 19 Oct 2026 08:01:14 GMT, Jan Panteltje wrote:

> I do remember Fortran, wrote some lines of that code,
> but am C or asm 'oriented'.

I've seldom used Fortran although familiarity with it is handy when 
converting it to C.  After trying to use f2c I decided doing it manually 
was necessary if I wanted to be able to read the resulting C.

https://en.wikipedia.org/wiki/BDS_C

That was my first exposure to C. 
Re: Back To CS Basics. Fuck AI
#1207
Author: The Natural Philosopher
Date: Tue, 20 Oct 2026 08:16
19 lines
2300 bytes
On 19/10/2026 21:05, rbowman wrote:
> On Mon, 19 Oct 2026 08:01:14 GMT, Jan Panteltje wrote:
> 
>> I do remember Fortran, wrote some lines of that code,
>> but am C or asm 'oriented'.
> 
> I've seldom used Fortran although familiarity with it is handy when
> converting it to C.  After trying to use f2c I decided doing it manually
> was necessary if I wanted to be able to read the resulting C.
> 
> https://en.wikipedia.org/wiki/BDS_C
> 
> That was my first exposure to C.

Moi aussi

-- 
No Apple devices were knowingly used in the preparation of this post.
Page 2 of 2 • 89 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