Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #39868

Re: I don't get it

From The Natural Philosopher <tnp@invalid.invalid>
Newsgroups comp.lang.javascript
Subject Re: I don't get it
Date 2021-04-09 10:03 +0100
Organization A little, after lunch
Message-ID <s4p58i$g2u$1@dont-email.me> (permalink)
References (2 earlier) <d08a6beb-026a-4657-817e-b4ddcba5b73an@googlegroups.com> <1e965vkgenq7l$.hqmrkifgr4m5$.dlg@40tude.net> <586d1b88-77d5-42b0-ae5b-7506307df499n@googlegroups.com> <957a79db-946e-4f23-931a-ef7d4f0dbb3cn@googlegroups.com> <305fecc4-43da-4378-8430-ed10ac4dbe5bn@googlegroups.com>

Show all headers | View raw


On 09/04/2021 08:46, Jonas Thörnvall wrote:
> Ok now i fixed drawout out of the latency for people without midi devices.
> I start to suspect it is a recursion thing.

After spending two days some years ago I discovered that IE and Firefox 
differed in their handling of comparisons of numerical and string data, 
and that something like

if('1'== 1)

was handled differently in each browser.

As with all loosely typed languages, bugs in your code are trumped by 
bugs in the language itself.

JavaScript is an unadulterated pile of object oriented wombat turds, but 
since it is all we have, we have to discover how to make it work...

In assembler, there is only one possible meaning for each machine 
instruction. Any bugs are in your code, not in the language (though they 
might be in the hardware itself).

The essentially unstructured nature of the code itself *forces* you to 
adopt a disciplined structured well commented approach if you are to 
have a hope in hell of maintaining it.

Attempts by academics to write perfect languages that will do all this 
for you just lead to unexpected side effects.
Memory leak bugs are replaced by asynchronous garbage collection side 
effects. Loose typing that reduces the need for coders to think about 
what they are actually saying with a variable declaration (if indeed the 
language requires them to be declared at all) removes compile time type 
errors at the expense of introducing arbitrary run time errors... . 
Variable bit packing in stream data cannot be easily handled with masks 
and shifts, since the the declarations insist that something is a an int 
or a string, not a random collection of bits that may need to be treated 
as either, depending on context.

Local variables - a wonderful invention in C (and other similar 
languages), that were ephemeral and needed no garbage collection at all, 
but opened up the possibility of stamping all over the stack with 
gloriously self modifying code...

Just reading one page from a national newspaper results in 100% CPU 
usage and stuttering. Yes, it's JavaShit™...

If one half the cleverness (I hesitate to say intelligence) involved in 
learning a complex language were instead applied to learning the 
discipline of software engineering, the world would have a lot less 
buggy code in it.

I have after 5 years of unfixed bugs, decided to leave Barclays Smart 
Investors website and close my account, since by some cleverness that I 
am unable to elucidate, it will always at a given point detect that any 
browser running on linux 'is out of date', log you out and clear all the 
session cookies. JavaScript of course. How it probes the OS I don't 
know, but it does, because the same browsers running on Windows work 
(reasonably) fine.

And because the site is written using third party tools (I assume) by 
ArtStudents™  who have learnt the tool, but not how to program, the bugs 
are unfixable, because they are in the tools itself.

And they need a tool, because javaScript, or indeed basic HTML is to 
hard for their art student brains.

In addition for the last three years a pop up red warning flag tells me 
I have two urgent messages waiting. The warning persists even with the 
messages page open clearly stating 'you have no messages'.


Sigh. I've seen it happen time and again. Postscript. Not a page 
description language. Oh no. Postscript is a fully functioned 'I can do 
everything' *programming* language that at one time required  the apple 
printer to have more memory and computing power than  the desktop 
publishing Apple computer that drove it.

Years later I can still produce PDFS that wont print..for reasons I cant 
establish.

Or let's take X - windows. Perhaps the biggest pile of shit that was 
ever invented by academic computer scientists with nothing better to do.

It can do anything, except the one thing most people want
it to do, provide a stable low resource munching graphical display on 
*nix style computers. 99% of its functionality is never used, and its 
complexity is hidden - sometimes successfully  - behind 'toolkits' that 
provide some (slightly) simpler (but still massively complex) interface 
to the very few of its features anyone actually needs or wants.

HTML was a wonderfully clear and simple language for the web.
Until bored computer scientists invented 'active pages'
Sigh.

Here we go again. Bugs, workarounds. Fixes. Frameworks and languages and 
developer tools, and what you see simply never appears on the printer..

What you don't see is intelligent programmers that understand the tools 
they have , what hardware is and how it works, and what the human 
problem they are trying to solve actually consists of.

When constructing a web form, always style it so that the submit button 
has a one pixel very light grey on white  bordered 'flat' modern look 
and exists on a completely arbitrary place on the web page from the data 
it is supposed to submit. And the web page itself features pastel 
minority race individuals enjoying their happy clappy 'investing 
experience' as backgrounds, utterly obscuring the data entry or display...

What is the worst possible way to enter data to a computer that you 
could possibly think of - after a mouse, that is?

A touch screen.

I think I'll commit suicide.


-- 
  “A leader is best When people barely know he exists. Of a good leader, 
who talks little,When his work is done, his aim fulfilled,They will say, 
“We did this ourselves.”

― Lao Tzu, Tao Te Ching

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-08 03:32 -0700
  Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-08 03:37 -0700
    Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-08 04:26 -0700
      Re: I don't get it JJ <jj4public@gmail.com> - 2021-04-08 19:39 +0700
        Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-08 05:53 -0700
          Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-08 13:55 -0700
            Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-09 00:46 -0700
              Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-09 10:03 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-09 04:09 -0700
                Re: I don't get it "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-04-09 11:07 -0700
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-10 03:23 +0100
                Re: I don't get it "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-04-10 22:02 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-11 01:05 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-11 01:07 -0700
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-11 11:42 +0100
                Re: I don't get it John G Harris <niam@jghnorth.org.uk.invalid> - 2021-04-09 20:01 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-09 13:31 -0700
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-10 03:37 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-09 23:53 -0700
                Re: I don't get it John G Harris <niam@jghnorth.org.uk.invalid> - 2021-04-10 12:05 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-10 15:59 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-10 15:47 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-10 18:25 +0100
                Re: I don't get it Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-04-10 17:29 +0000
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-10 19:08 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-11 11:41 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-11 14:33 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-12 02:39 -0700
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-12 11:21 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-12 10:19 -0700
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-12 21:20 +0100
                Re: I don't get it "sc...@sauyet.com" <scott@sauyet.com> - 2021-04-12 14:32 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-13 04:11 -0700
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-13 14:58 +0100
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-13 09:20 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-13 09:29 -0700
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-13 20:06 +0100
                Re: I don't get it "sc...@sauyet.com" <scott@sauyet.com> - 2021-04-13 15:09 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-14 01:15 -0700
                Re: I don't get it "sc...@sauyet.com" <scott@sauyet.com> - 2021-04-14 05:22 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-15 11:52 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-15 11:57 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-15 12:04 -0700
                Re: I don't get it Scott Sauyet <scott.sauyet@gmail.com> - 2021-04-15 19:29 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-20 14:12 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-20 14:47 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-20 23:35 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-21 01:08 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-21 01:24 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-21 01:29 -0700
                Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-13 09:32 -0700
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-13 21:59 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-14 01:32 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-14 09:08 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-14 10:06 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-14 10:59 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-14 14:05 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-14 16:32 +0100
                Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-14 23:53 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-15 13:56 +0100
                Re: I don't get it The Natural Philosopher <tnp@invalid.invalid> - 2021-04-12 11:20 +0100
        Re: I don't get it Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-08 15:21 +0100
          Re: I don't get it Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-04-09 16:50 +0200
  Re: I don't get it Man From a city with name Viljandi <he12457@hotmail.com> - 2021-04-08 10:44 -0700
  Re: I don't get it Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-10 00:01 -0700

csiph-web