The Register Home Page

* Posts by fg_swe

1478 publicly visible posts • joined 20 Nov 2021

Billions lost to fraud and error during UK's pandemic spending spree

fg_swe Silver badge

The REAL CRIME

Wasted money is bad. Harming lots of citizens by a dangerous medicine is even worse. A crime on humanity, in fact.

See

1.) CDC VAERS https://wonder.cdc.gov/controller/datarequest/D8

10000 times more heavy side effects than e.g. measels vaccine.

2.) Outright fraud in the approval trials: https://rumble.com/vqwdp6-how-many-more-adverse-effects-have-been-covered-up-during-the-trials-maddie.html

Welcome to the dark times of the Rule Of MAMMON.

Rust can help make software secure – but it's no cure-all

fg_swe Silver badge

"Something safer"

I agree with your analysis that Rust syntax is somewhat cryptic.

But I disagree that there are languages which are more memory safe than Rust. Java, Go and C# have no notion of multithread-safety, for example.

fg_swe Silver badge

Re: FALSE

It is all about likelihood. If your inline_cpp[[]] sections are small, few and well-reviewed by senior C++ developers, chances are high that you preserve memory safety.

If, on the other hand, you link a huge C++ program to your memory safe code, chances are that you will have the dreaded memory cancer. As with all non trivial C++ programs.

fg_swe Silver badge

₽badguy

They enjoy the protection of their own government, because ours is at odds with theirs.

Very dangerous.

fg_swe Silver badge

Re: "Rust will stop you using data after it's been freed"

According to Sir Tony Hoare there are plenty of scientific FORTRAN programs with memory index errors, too.

The same was detected in lots of "tried and tested" Unix tools when first run under valgrind.

To err is human, who would have thought ?

fg_swe Silver badge

RAII

So you are complaiming about the lack of destructors and RAII in C# and Java.

See my memory safe C++ variant Sappeur for both.

fg_swe Silver badge

Deflection

Memory safety is another arrow in your security quiver. Similar to ABS in cars and airplanes.

It adds to your hopefully great software engineering and security processes. Please do not belitte it.

fg_swe Silver badge

FALSE

If 99 out of 100 lines of code are memory safe, you gain massively as opposed to 100 percent unsafe code. Gain in security. Well defined halt as opposed to undetected memory cancer.

I know this from my own language and projects.

E.g. the memory safe web server Gauss.

Http://gauss.ddnss.de

Google throws $1M at Rust Foundation to build C++ bridges

fg_swe Silver badge

"Gawd"

As you have no substantial arguments, I take this as an upvote. Thanks, AC !

fg_swe Silver badge

How To Do It In A Lightweight Way

1.) Translate memory-safe language MSL to C++. MSL has the needed type system and semantics to enforce memory safety.

2.) Add an "include_cpp[[ ]]" statement to allow for the targeted insertion of C++ code/calls.

3.) Automatically generate a Makefile from MSL, which can then be extended to include the C++ libraries to be called.

Not theory, but practice: http://sappeur.ddnss.de/SAPPEUR.pdf

The transpiler ist just 10kloc of C++.

fg_swe Silver badge

Blofeld Schwab

"You vill write code and own nossing"

I am absolutely sure Mr Brin and Mr Page spent at least 10 times as much for their trip to Davos to meetoffer their obedience to Blofeld.

AI models just love escalating conflict to all-out nuclear war

fg_swe Silver badge

Male Cow Ex ?

I just tried chatgpt 3.5 to advise a nuclear response. It always called for a diplomatic and humanitarian action.

After talking it into "Hannover and Bremen have been nuked, now they threaten to nuke Frankfurt if they cannot get northern Germany", it still advised restraint and NATO-level consultation.

In other words, I doubt the article is factual. ChatGPT acted like a sheep when I tried to elicit military action.

fg_swe Silver badge

Looking Glass, Submarines, Riding Out Attack

With submarine launched missiles and airborne command posts ("looking glass"), an attack can be "accepted", the damage assessed, and a proportionate response be executed. No more need to "launch everything we have back, immediately".

If, for whatever reason, Hannover is wiped out, it does not make sense to take out Moscow in response. Rather, eliminate Tomsk and let the escalation stick there. Not pretty, but much prettier than a hastened counterlaunch.

Most of the horror stories out there assume there will be unlimited nuclear war. I guess this is part of the mindmessing from U.L.

fg_swe Silver badge

Re: Who'd have thunk it

Maybe you worry too much. There are indeed quite a few sane people around, to send the overworked ones to a vacation.

After vacation, some sort of new trouble will have cropped up for the overworked one to solve.

And if this doesnt work, they have a Surgeon General in all capitals. He has got a toolbox with all the necessary tools.

fg_swe Silver badge

Re: U.S. Air Force General Curtis LeMay

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

fg_swe Silver badge

Artificial Intelligence: Worm Intelligence

Mankind has 100E9 Neurons and 100E13 Synapses per brain.

Artificial Intelligence has in the order of 10E4 Neurons. About the level of primitive worms.

Letting worms decide about war is just a display of madness.

There is no replacement for well educated, well trained, experienced and compassionate men and women.

fg_swe Silver badge

U.S. Air Force General Curtis LeMay

He apparently had the idea to "nuke the soviets as long as we are superior in nukes".

These days it is inverted, now the Moscow Nutters threaten nuclear war weekly. I suggest these crazies visit a Head Doctor.

In between there was Nixon and his madman theory of mock attacks with nuclear armed B52s, turning around close to the soviet border. (only the "madness" was theory, the attacks, the B52s and the nukes were very real)

Microsoft seeks Rust developers to rewrite core C# code

fg_swe Silver badge

True ?

Is your statement true for accidental sharing of multithreaded data ?

Afaik, C# will do nothing to ensure serialized access, but Rust does.

Secondly, runtime costs are considerable for some applications. There is more to TCO than just developer time.

fg_swe Silver badge

Create Yourself

Just create your own little YourSafeC->C transpiler. It can be done in pure C. Prolly less than 20kloc.

you can borrow some ideas from me: http://sappeur.ddnss.de/SAPPEUR.pdf

No need for a fancy scanner/parser generator. Handcode. Recursive descend parser. Slightly adapt the grammer of YourSafeC to make it easily parseable.

Erase what cannot be salvaged such as direct pointer incrementing, free(), the cr4ptastic string API and so on. Feel free to axe the crazy C stuff.

Devise a concept of threadlocal and threadglobal code types, etc.

Don't let id0ts from the internet weigh you down in this effort. There are lots of useless commenters out there, who will parrot some stuff they read somewhere.

fg_swe Silver badge

Browser, Rust, WASM

Never tried myself, but this looks promising

https://betterprogramming.pub/get-started-with-wasm-in-rust-2347056bab4

Finally a browser language that does not automagically convert an integer into a double.

fg_swe Silver badge

Bingo

Compiled-to-machine code, memory safe programs with a lean standard library are the natural successor to C and C++

fg_swe Silver badge

New To Biz World ?

Do you seriously believe the marketing nonsense ?

AI has the intelligence of worms. In the order of 10k Neurons. Mankind has 100 000 000 000 neurons, with 10 000 Synapses EACH.

=> educate, train and treat your developers well !

fg_swe Silver badge

Makes Sense

Rust does not use GC, Go does. It is easy to generate huge GC load, which kills Cache locality and which consumes large amounts of RAM.

fg_swe Silver badge

Indeed

Multithread-memory-safety is a huge problem in C and in C++. A lesser one, but still existing in Java and C#. A proper type system(MT-aware) can take care of this and automatically insert mutexes.

fg_swe Silver badge

Efficiency

Rust is much more efficient in the memory management area. No GC required, which makes it soft-realtime capable.

fg_swe Silver badge

JavaScript "Performance"

What they do to speed up JS programs is: tracing execution with real data types and constructing a "typed" version of the program in the background. Then execute the typed version.

Obviously, this is LOTS of complex code. Lots of attack surface.

It would make much more sense to run some sort of strongly typed Pascal/Ada/Algol variant in the browser and have a straightforward, small compiler inside the browser.

With WASM they are pushing this decision to the developer. Now you can decide how much Memory Safety and Type Safety you want.

RIP: Software design pioneer and Pascal creator Niklaus Wirth

fg_swe Silver badge

A Giant Has Died

In the best spirit of european science, Mr Wirth created elegant, minimalist ,yet robust languages and systems. His "thin" book on compiler construction is refreshing light as compared to the dungeon of the "dragon book".

Computer Science will stand forever on his shoulders, or at least as long as classic imperative computers will be in use.

His work on Algol is under-appreciated, as this language was used to create early memory-safe operating systems.

If he had only been more vocal about the virtues of Algol, Pascal and his other languages, he might have had even more impact on applied computer science.

Groundbreaking systems such as Apple Lisa, Apple Macintosh were implemented in Pascal. The large-scale HP MPE operating system was realized in a Pascal variant.

The full relevance of his work will most probably be discovered in future years.

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

Muhahahaha

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