* Posts by fg_swe

1319 publicly visible posts • joined 20 Nov 2021

RIP: Software design pioneer and Pascal creator Niklaus Wirth

fg_swe Silver badge

Let Me Guess

You did not have valgrind on Apollo and you accidently destroyed your heap structures by means of buffer overflows, use after free etc. Local bugs destroyed the global program integrity. You gave up. I can understand.

C is a language suitable for automatic program generators, not for men.

fg_swe Silver badge

So ?

You take decades-old papers and shoot down the patent as Prior Art. OK ?

fg_swe Silver badge

HP MPE, Apple Lisa, Apple Macintosh

All of them either successful or at least very influental systems realized in Pascal-like languages.

Hewlett-Packard MPE started out as a mid-level computer, but rose into almost mainframe-class symmetric multiprocessor computing in the 80s and 90s. It was cancelled by HP management despite customers loving it for robustness and security. MPE ran on very powerful PA RISC CPUs in the 90s, which were then faster than Intel products.

Pascal was much more than just an "educational" language. It still has features which are superior to C, like number domains and arithmetic exceptions.

fg_swe Silver badge

LISA, HP MPE

Both highly influental OSs, both implemented in a Pascal flavour !

US reportedly pushed ASML to cancel chipmaking kit for China early

fg_swe Silver badge

TSMC, Taiwan

This company and this nation have been so successful because they were allowed to operate inside the NATO+JP+SK+ANZAC domain. Because they adopted business and government methods from this domain. Because major corporations (from Apple to Bosch) from said domain trust them. So NATO was extremely generous to Taiwan and TSMC.

TSMC would be nothing without NATO-sourced machinery, materials, knowledge and high end services. For example, the mirrors from ZEISS build on more than 100 years of German optical engineering and science. It is generous to share this technology and we certainly do not do this with military foes.

https://de.wikipedia.org/wiki/Carl_Zeiss_(Unternehmen)#Carl_Zeiss_1846%E2%80%931945

fg_swe Silver badge

Well

If you do not like the "parasite Dutch", you can always roll your own, communist 1500nm projector.

fg_swe Silver badge

It is much more complicated. The Durch are part of NATO and support reasonable defence measures. ASML depends on suppliers from all over NATO(e.g. light sources and mirrors from TRUMPF and ZEISS) and friendly nations. Most importantly, ASML depends on common security, as provided by NATO and friends. Business only works as long as there is a secure environment.

The Chicoms have demonstrated very clearly that they are willing to wage an all-out war against Taiwan. That would cost many lives and disturb business 1000x more than these sanctions.

Doing global business at all cost(such as arming a dangerous tyranny) is a crazy idea which comes from the banker m4fia out of Canary Wharf and Wall Street.

fg_swe Silver badge

Not America Telling

America is merely coordinating a measure which is in the best interest of NATO+JP+SK+ANZAC.

Only communists want to further arm an aggressive communist power.

fg_swe Silver badge

NATO

The Dutch live under a common security umbrella and have enjoyed 70 years of peace. They can buy the latest weapons from all over NATO(e.g. F16 fighters or Leopard tanks). That is why they cooperate in defence export measures.

A war in Taiwan would affect them too, much worse than ASML export limits.

fg_swe Silver badge

Team NATO

A war in Taiwan would affect all of NATO+JP+SK+ANZAC. German Jäger planes have already been deployed to Japan(!) in order to reduce the japanese fear of the coming war. Likewise, German frigates have been sailing to Japan.

https://www.flugrevue.de/militaer/rapid-pacific-flug-aus-singapur-deutsche-eurofighter-erstmals-in-japan/

It is in the best interest of the Netherlands and the rest of said alliance to dial down the flow of technology to China. More technology -> more/better weapons -> more appetite for war.

Free trade has not reduced the likelihood of war, quite the opposite. America is merely coordinating what is in the best interest of the entire alliance and I think also in the best interest of the Chinese, who are led by warmongers at the moment.

What comes after open source? Bruce Perens is working on it

fg_swe Silver badge

"berks of the first water"

Is that AI generated or AI translated ?

fg_swe Silver badge

Nurture Talents, Enable Hard Work, Encourage Creativity, Rule of Law, Provide Security

Nations who do these things will eventually be wealthy and can be happy(if they do not forget to fear god).

On the other hand, those who fall to the siren songs of collectivism will experience the hard times of starvation and all sorts of unnecessary hardship sooner or later.

That does not mean we should worship the large corporations and the oligarchs who control them. Quite the opposite, oligarchs have proven to effect medical insecurity(to put it mildly).

A strong state will be stronger than the oligarchs, stronger than the Marxists and pursue the interest of his folk.

Price controls and subsidies for software are the wrong approach. Who should decide which developer receives how much money from the central pot ? It would quickly degrade into something like GOSPLAN.

The problem of poor nations is that their elite are rotten people who want to become rich quick, at the cost of their own compatriots. And it does not matter whether they sell out to Geneva, to Moscow or to London. Nations with strong leadership will eventually become wealthy. See South Korea, Singapore, Dubai and many others.

fg_swe Silver badge

"Global South" and other Marxist Terms

All nations who fell to Marxsim are now either broken or completely broken. Cuba was once a major exporter of coffee, of sugar and other agricultural products. Now Marxism has wrecked them to the point where they must import these products. Their car fleet is the same as the one they inherited from the supposedly evil dictator Somoza.

Same with Venezuela. One of the most oil rich nations, but now starving.

Marxism is a disease and even the mildly intelligent Russkies have found that out by now.

"Global South" is a Moscow term to describe the IQ-limited nations who are on their side, ready to wreck functioning economics. Cuba, Venezuela, Iran, Zimbabwe, ANC-wrecked-Africa and other $hith0les.

fg_swe Silver badge

Re: Eclipse Versus Borland Delphi

SUN started by giving away Java for free, and eventually IBM gave away Eclipse for free, too. IBM has the mainframe business with a very hard to copy dongle(the mainframe itself) and survived, SUN did not. IBM's core business never gave their IP away. As far as I know, you have to pay huge sums for things like MVS/zOS. This business model now works for 60 or more years. SUN worked for about half of that until it was gobbled up by Oracle, who are strongly in favor of tough licensing.

fg_swe Silver badge

Yeah, Sure

"Last week they ran a mock, full scale invasion (fighter jets, bombers, ballistic missiles and all) of Taiwan, this week we can nudge them to hold free election".

The current problems are bigger than free elections.

fg_swe Silver badge

Bingo

A lot of these idealist/Marxist ideas actually benefit the most wealthy corporations the world has ever seen. Maybe these corporations are the REAL source of the idea of "give away hard software engineering work for free" ? With the C panic we have learned they essentially control the mainstream mass media, so they can certainly pull this off.

fg_swe Silver badge

Eclipse Versus Borland Delphi

A $0 product destroyed the market for a highly useful and highly productive IDE and language. What we got is the Java freetard world of sluggish performance and excessive RAM consumption. Thanks SUN, you dragged down another great company with your freeware suicide.

fg_swe Silver badge

Software "Gratis" Economy

From my experience in the automotive and some other industries:

1.) Even large companies will steal software then and now. That is why Lauterbach Trace32 or Vector CANoe, CANape are dongled. Why plenty of other tools use the FlexLm Abomination of a license manager.

2.) Large and wealthy corporations happily use free software and only pay if a behemoth like RedHat/IBM or Oracle demands payment under threat of "audit".

3.) It does not matter projects have multi-million dollar of customer-paid revenue. Gratis is king.

4.) Who should set the "proper" price for FOSS projects, if not a RedBlueHat oder an Oracle ? Free enterprise works to a large degree by freedom of pricing decisions.

5.) Most engineers and IT folks are totally clueless when it comes to economics. They will prefer a crap dev-chain for $0 over a $1500 IDE with high productivity in 99 of 100 cases. in 30 of 100 cases, they shell out $500 for an iphone, to impress friends.

6.) Software engineering jobs are only great if there is a way to make revenue with the product of said engineer. In automotive, the car itself is the dongle for car software. The software is heavily dongled to an *individual* car.

7.) If you pay 10 software engineers 1 500 000 Euros per year in total, you better make 3 000 000 in revenue based on their work. If you sell 100 copies per year, that is 30 000 per license.

The system of "free enterprise and strong property protection" is successful, because there are no centrally-controlled price controls. It is successful because one man's nutter is another man's provider of valuable products and services. Rugged individualism is a key source of wealth, not the Marxist idea of "what if we are all equal". Men are neither created equal, nor should they be. They come with highly different skills, education and experience. The key is to enable each one of them to do something useful for the common economy.

Google Groups ditches links to Usenet, the OG social network

fg_swe Silver badge

NEW_SMTP

Big Companies have already in some ways monopolized Email. They did that by means of complex mechanisms that allegedly defend SMTP from SPAM and other nasty usage. By this, they have made it hard to run your own one-guy SMTP server.

There exist simple protocols to combat this, such as CAPTCHA challenges to new communication partners.

DeltaChat is a open source chat app based on SMTP and GNUpg.

Then there are the XAMPP based chat programs.

But most sheeple will use the mainstream corporate (or worse) controlled apps like WhatsApp, Telegram or Signal. I do so too, because none of my friends was interested in DeltaChat. It looks as if mankind loves to live in gold plated cages, until they scratch off the gold surface and realize the steel bars.

UK will be HQ for high-flying next-gen fighter jet treaty with Italy, Japan

fg_swe Silver badge

Jäger 90

Yes, there are challenges. Pointless egotism, incompetence, childish behaviour.

But that does not mean we should throw the baby out with the bathwater and buy American as a "solution", for the reasons pointed out.

The panic German panic acquisition of F35 did a lot of damage while doing nothing to deliver the urgent need for a nuclear capable delivery platform. TORNADO should have been polished(spare parts made available in rich numbers) and upgraded, low level flying should be trained in Germany again. Send a message. The threat will not wait until the F35 arrive, rather the crazies(it is many more than just one guy) of Moscow threaten nuclear war on a weekly basis NOW.

The Ukraine war has created a sense of urgency and I fear there will be much more reason for urgency rather soon. Some people here are either corrupt Moscow assets or they have a calcified brain and cannot adapt to the change of thinking in Moscow and Ankara.

Weakness will make more war, not less. But tell that to the people mentioned. They will do the right thing when their local train station is blown up by an ALCM.

This lack of political will has clogged up the German procurement processes. They have essentially bound their own hands behind their back by means of regulations, processes and other papercr4p.

fg_swe Silver badge

Yeah "Markets"

Leading edge fighter planes are a strategic technology for any nation who can build them. If a nation is dependent on another nation to deliver said aircraft, she will lose a serious amount of sovereignty to the supplier.

Also, leading edge aerospace technologies are critical for the overall technological and scientific development of a nation. Technologies trickle down into other industries such as automotive. For example, ABS brakes and airbags stem from the aerospace sector. AIRBUS is now a highly successful company(50% market share in their sector, worldwide), to a large degree based on technology learned from military jet programs.

If you believe the U.S. defence behemoths, there is a "market for fighter aircraft" and of course they will always win. Little do they say how the Pentagon funded all their R+D plus a fat profit.

From a product point of view, Jäger 90/Typhoon is quite successful. It is one of the leading fighter aircraft as compared to the products of Sukhoi, Chengdu Aircraft, Boeing, D'Assault, Saab and Lockheed.

So if you are not a surrender monkey to the US, you better have your national fighter program. It makes sense to team up with like-minded peer nations to share financing.

Dump C++ and in Rust you should trust, Five Eyes agencies urge

fg_swe Silver badge

Sure AC

That is why loads of memory faults were found in decades-old Unix tools the first time they were run with valgrind. Because perfect gurus like you were working on Unix.

fg_swe Silver badge

Muhahahaha

The intelligence of worms (10E4 Neurons) is going to replace 100E9 neurons of a seasoned software engineer ? Yeah !

fg_swe Silver badge

False

Just because you separate code and data does very little to make your system more secure.

Proof: if you can overwrite function pointers(which are "data") you can raise lots of hell inside a program.

fg_swe Silver badge

False

Large Scale Systems such as HP MPE or Apple LISA were built with Pascal-like languages.

HP MPE was highly successful and LISA is essentially the predecessor of all GUI computers we use today.

fg_swe Silver badge

ALGOL

Algol compiled itself in the 1970s. Entire systems were built in Algol - from kernel to applications.

fg_swe Silver badge

False

Proving a system "safe for life-critical applications" is only to a minor degree dependent on "certified tools".

What you must do is to prove that the system you built with the toolchain is "safe". This is done with processes like V-Model, ASPICE, ISO26262 or DO178. The railway folks have their equivalent standard and the medical folks, too.

Essentially: test the h3ll out of your system. If you have a relevant compiler bug, it will most likely crop up in this process. Of course you will track the issue down to assembly level.

So you can safely use Rust for ABS or flight control, IF your engineering processes are robust and faithfully executed. Today.

fg_swe Silver badge

Or

...maybe America and friends are currently hit very hard in the crown jewels.

I see reports left and right how foreign actors are hitting NATO government institutions really hard. Some mid-level government entities completely encrypted or their laundry hang out to dry.

Having said that, indeed, one man's security is another man's security risk. That even applies to two men inside NSA.

Some government workers go back to paper for critical stuff(HR security), as far as I can see.

fg_swe Silver badge

"unsafe" "Inline_cpp"

Judicious use of a small number of unsafe code parts is Good Engineering. Ideally, limit the unsafe code to system libraries such as File handling, TCP/IP, GUI and so on.

Much better than 100% unsafe C code. Or "modern" C++ code with some "accidental multithreaded sharing".

Engineering that has "life in hands" is about minimizing risk in an economic fashion. If 99% of your code is memory safe, that is much better than 100% unsafe C or C++.

fg_swe Silver badge

Re: Complexity

Bingo. NEVER use the latest C++ feature, just because you have read about it. In extremis, write "C with classes" if that is the only way you know how to work reliably.

fg_swe Silver badge

Not Really

The compiler of my memory safe language is about 10 000 lines of C++ code and takes about one second to compile 10000 loc on an RPI. Memory Safety is not expensive for the compiler.

Also, in the 70s they already had ALGOL, which was in many ways memory-safe.

C "won", because it was "given away for free".

Turning Turbo Pascal 3 in a single-threaded, memory safe language would be not hard either. It runs on an 80286, 8Mhz like a lightning.

fg_swe Silver badge

Bull$hit

Memory Safety is an important tool in the toolbox, but it does not absolve you from executing a test battery from Unit to HIL Tests. Most importantly, it does not absolve you from cheating on test cases.

But that is true with each and every engineering product. If you test a car by opening and closing doors, you still don't know how it acts in a curve, how it acts over a pothole etc etc.

fg_swe Silver badge

Handling Compiler Bugs

There are ways of controlling this risk. Not exactly cheap, but cheaper than losing a €100 000 000 aircraft and a man piloting it.

Use brains and drop penny-pinching. Then you find out.

fg_swe Silver badge

Integer Overflow

Ideally, integer over- or underflows should terminate program(or at least thread) execution. In Ada and Pascal, you can have this.

Your program just exposes the dirty side of C.

Also see POLYSPACE, it is a way to find such perversions.

fg_swe Silver badge

Missing return Value and Type Safety

A proper memory safe language will not allow this. See my language SAPPEUR as an example.

C++ compilers have been traditionally weak on this, for no good reason.

fg_swe Silver badge

Explanation

"Memory Safety" is not a silver bullet. It only assures that memory errors are "locally contained" and do not propagate from one module to other modules. Like an ABS brake is not a silver bullet, either. You can still kill yourself with an ABS brake, if you try hard enough.

fg_swe Silver badge

Not Entirely True

1.) Ada by itself is not fully memory safe. SPARK Ada could be said to be.

2.) There have been Ada programs which were carefully built, but produced an exception when lots of money was at stake. Ariane V, first flight is premier example.

3.) Exhaustive testing according to the V Model will bring you the confidence that your carefully designed and written system is also doing what it is supposed to do. Unit Testing, Software Testing, System Testing, HIL testing, careful operationalisation, massive datalogging/analysis and a bunch of other validation measures used by premier projects such as Jäger 90.

Of course, if you start cheating on testing, all bets are off. Tests must be first and foremost REALISTIC. And somehow "complete" according to the system use cases.

4.) Memory safe languages can detect quite a few "hidden" bugs during 3. That is exactly when you want to learn about them. Not when an airman's life depends on it.

fg_swe Silver badge

Wrong

HP MPE was a successful multi-user, transactional OS written in a Pascal variant. Pascal itself is NOT memory safe, but you can of course limit yourself to not using pointers. Turn on bounds checking. Then you have sort-of-memory-safety. Still no support for multithreading, which is a critical feature these days.

Entire corporations ran their business systems on HP MPE and most of them loved it for reliability and security. It was axed because HP was run by people who preferred to be resellers of other companies such as SAP, Oracle and Microsoft. It would still exist(and make money for HP and customers) if it were not for these surrender monkeys.

MPE ran on powerful PA RISC servers with 16 or more CPUs. Thousands of parallel users. A mainframe OS in all but name.

fg_swe Silver badge

False

First, PASCAL is a very good language, especially for students. Strong typing, simplicity, good string facilities. I like it a lot for its spirit.

BUT - it is not memory safe. heap memory is managed essentially the same way as C does, with consequentially the same "bug modes" such as "use after free".

You could create a memory-safe Pascal variant, complete with "smart pointers everywhere" and multithreading-aware type system. But that would no longer be Pascal, but something else.

fg_swe Silver badge

No

Memory-Safe languages provide fine-grained protection of variables in the order of 10 to 100 octets. MMU pages are in the order of 1000 or more octets. Also, MMUs cannot reliably protect against randomly false pointers and "use after free".

fg_swe Silver badge

False

There have been quite a few successful computers based on Pascal and Algol. Any Turing-complete language can perform self-hosting (compiling itself to binary code). And that is practice, not theory. The Algol mainframes and the C# based OS Singularity were (mostly) memory-safe in the kernel.

fg_swe Silver badge

Jäger 90 / Typhoon

Apparently the most safe flight control software is written in Ada. Also see Spark Ada, which is a very interesting approach to safety.

The others you can find on youtube, crashing on landing. F22, Gripen, Su27, you name them.

fg_swe Silver badge

Wrong

Algol was memory-safe around the same time C was invented. Actually quite similar to Java, with the VM being a specialized CPU. See ICL and Burroughs mainframes.

fg_swe Silver badge

Memory Safety != Garbage Collection

Instead of GC, ARC can be used. I have done it, works nicely and is very efficient(almost no delays from heap memory). See http://sappeur.ddnss.de/

fg_swe Silver badge

Wrong

Memory Safe Languages can be extremely compact in their implementation. My language SAPPEUR has about 10 000 loc in the compiler and about 5000 loc in the "base libraries". Just because Java and .Net are bloated means nothing.

Memory-safe languages so hot right now, agrees Lazarus Group as it slings DLang malware

fg_swe Silver badge

Re: Lazy Meta-Curry

Why LISP ? I always though it being a C++ competitor, which means it is an imperative language. LISP and derivatives are functional.

fg_swe Silver badge

Maybe

...they fear to be counter-hacked and want to eliminate their share of the 70% of exploits which come from the lack of memory safety of C and C++.

Elon is the bakery owner swearing in the street about Yelp critics canceling him

fg_swe Silver badge
Mushroom

Tshekists

HITLER learned mass murder from commies ULJANOV. TROTZKY and TSHERSHINSKY. They had already murdered 20 million people before 1933.

fg_swe Silver badge
FAIL

Re: Balneum tempus

He is running operations that are easily 10000x more complex. Real Rocket Science, for example. Doing things nobody else did before him, like reusing launchers.