Readit News logoReadit News
yoda222 commented on The C++ standard for the F-35 Fighter Jet [video]   youtube.com/watch?v=Gv4sD... · Posted by u/AareyBaba
skepti2 · 3 months ago
> Ada and especially Spark makes it a whole lot easier to produce correct software.

Relative to what? There are formal verification tools for other languages. I have heard Ada/SPARK is good, but I do not know the veracity of that. And Ada companies promoting Ada have horses in the race.

And Ada didn't prevent the Ada code in Ariane 5 from being a disaster.

> The programming language is just a small piece of the puzzle. But an important one.

100% true, but the parent of the original post that he agreed with said:

> And the F35 and America's combat readiness would be in a better place today with Ada instead of C++.

What is the proof for that, especially considering events like Ariane 5?

And Ada arguably has technical and non-technical drawbacks relative to many other languages.

When I tried Ada some weeks ago for a tiny example, I found it cumbersome in some ways. Is the syntax worse and more verbose than even C++? Maybe that is just a learning thing, though. Even with a mandate, Ada did not catch on.

yoda222 · 3 months ago
> Ada didn't prevent the Ada code in Ariane 5 from being a disaster

That's a weak argument to say that Ada could not lead to a better place in term of software. It's like saying that it's not safer to cross at a crosswalk because you know someone who died while crossing on one.

(But I guess that's fair for you to say that, as the argument should probably be made by the people that say that Ada would be better, and because they made a claim without evidences, you can counterclaim without any evidence :-) )

There are no programming language that can prevent a software for working correctly outside of the domain for which the software is written, which was the case for Ariane 501. Any language that would have been used to write the same software for Ariane 4 may have led to the same exact error. Ariane 501 failure is a system engineering problem here, not a software problem (even if in the end, the almost last piece in the chain of event is a software problem)

yoda222 commented on Matrices can be your friends (2002)   sjbaker.org/steve/omniv/m... · Posted by u/todsacerdoti
Viliam1234 · 5 months ago
> Mathematicians like to see their matrices laid out on paper this way (with the array indices increasing down the columns instead of across the rows as a programmer would usually write them).

Could a mathematician please confirm of disconfirm this?

I think that different branches of mathematics have different rules about this, which is why careful writers make it explicit.

yoda222 · 5 months ago
Not a mathematician, just an engineer that used matrix a lot (and even worked for MathWorks at one point), I would say that most mathematicians don't care. Matrix is 2D, they don't have a good way to be laid out in 1D (which is what is done here, by giving them linear indices). They should not be represented in 1D.

The only type of mathematicians that actually care are: - the one that use software where using one or the other and the "incorrect" algorithm may impact the performance significantly. Or worse, the one that would use software that don't use the same arbitrary choice (column major vs row major). And when I say that they care, it's probably a pain for them to think about it. - the one that write these kind of software (they may describe themselves as software engineer, but some may still call themselves mathematicians, applied mathematicians, or other things like that).

Now maybe what the author wanted to say is that some language "favored by mathematician" (Fortran, MATLAB, Julia, R) are column major, while language "favored by computer scientist" (C, C++) are row major

yoda222 commented on The Windows Subsystem for Linux is now open source   blogs.windows.com/windows... · Posted by u/pentagrama
avestura · 10 months ago
Microsoft can't name a project leading with a trademark (Linux <something>), hence why it's called WSL.

Source: https://x.com/richturn_ms/status/1245481405947076610?s=19

yoda222 · 10 months ago
Subsystem Linux for Windows.
yoda222 commented on I wrote to the address in the GPLv2 license notice (2022)   code.mendhak.com/gpl-v2-a... · Posted by u/ekiauhce
jenscow · a year ago
The version wasn't specified in the request
yoda222 · a year ago
They should have responded a code 300 Multiple Choices
yoda222 commented on Trolls break into meetings on Zoom   businessinsider.com/aa-in... · Posted by u/pseudolus
yoda222 · 6 years ago
Several people in other comments explain that you could have a password protected session, or a session in which users must be waiting in a lobby until someone approves their admission. This seems pretty normal, and I think here Zoom may not be able to do much more.

But I have the feeling that this is difficult in pratice to use for a AA meeting. I'm actually lucky enough to not to have the need to participate to such a meeting, but from what I understand from it, the anonymous part is important, as well as the possibility for newcomers to participate. I doubt for these reasons that AA meeting groups have a list of participant clearly identified, to whom they can send a password protected link, or that they could use such a list to check that people are someone part of the group.

Unfortunately, I'm not sure that this kind of problem can be fixed (technologicaly. On the non-technology side, we could hope for a world without asshole, but that's only a dream)

yoda222 commented on China orders its airlines to suspend use of Boeing 737 Max aircraft   reuters.com/article/us-et... · Posted by u/Ultramanoid
inferiorhuman · 7 years ago
That's a rate of 2.67 per 350 built by the way -- higher than the MAX

How many of those hull loses resulted in fatalities? How many of the hull loses were due to pilot error (e.g. AF 447)? How many flights have those A330s flown? So far Boeing's lost two MAX8s that were quite new with many signs pointing to a design flaw rather than pilot error. That's a worse record than the A330.

yoda222 · 7 years ago
> How many of the hull loses were due to pilot error (e.g. AF 447)?

He is counting 11 hull losses, which is the correct number of hull loss ( http://aviation-safety.net/database/types/Airbus-A330/losses ), but he didn't bother to look for anything more than that. Out of these 11 losses, four were due to ground attack by armed groups (Two in Sri Lanka in 2001, two in Libya in 2014. These are the one marked "C1" in the page)

Pretty sure that these should not count when assessing the security of a airplane (at least a civilian airplane)

yoda222 commented on The Colgan Air disaster was a milestone in aviation safety   bloomberg.com/news/articl... · Posted by u/jaredwiener
mherchel · 7 years ago
It's harder to implement on cars.

1) People would (and do) cheat at mandatory breathalyzers.

2) It's not speeding that injures people, it's the speed differences that cause issues. Limiting a car to 70mph won't help when it's icy, and they should be driving 40mph.

3) How exactly would a car detect reckless driving? How would it know that it wasn't warranted (ie swerving to avoid a kid)?

yoda222 · 7 years ago
> It's not speeding that injures people, it's the speed differences that cause issues.

When two car are at a speed of 70mph, the maximum speed difference between them is 140mph, when they are at 50mph, it's only 100mph. So the speed of a car has a direct impact on the speed difference between cars.

yoda222 commented on Decades-Old Graph Problem Yields to Amateur Mathematician   quantamagazine.org/decade... · Posted by u/digital55
bronson · 8 years ago
You didn't even try it, did you? Took 10 seconds.

https://imgur.com/a/1sdJ6

yoda222 · 8 years ago
Red, blue, yellow, green. And white. That's five colors! ;-)
yoda222 commented on Road safety tips from Sweden   mobile.nytimes.com/2018/0... · Posted by u/CraneWorm
icc97 · 8 years ago
90% of the article is about forward/backward facing child seats. But also the article spells out the the paper it was based on falsely claimed there was a significant difference between them and was retracted, restudied and agreed to not be statistically significant. Then it goes on to say, that Sweden does use rear-facing seats as though that somehow proves that there is a statistical significance.

Seems like the article could have been cut down to these two paragraphs:

> Because accidents are inevitable, Swedish regulations aim to make them nonlethal. Roads rely more on roundabouts, less on intersections. Cars are not allowed to turn at all when pedestrians are crossing. There are national camera enforcement policies. Sweden also focuses on pedestrian bridges, and separates cars from bicycles and oncoming traffic.

> Far fewer people drive under the influence of alcohol; stricter policing has reduced impaired driving to less than 0.25 percent of tested drivers vs. about 1.5 percent of American drivers. (Sweden also has a more stringent definition of driving under the influence, 0.02 percent vs. 0.08 percent.) The speed limit in areas where cars might come into contact with pedestrians (think all of New York City) is less than 20 m.p.h. Speed bumps and other traffic-calming interventions are common. The average cost of obtaining a driver’s license is the equivalent of more than $1,800.

yoda222 · 8 years ago
> Then it goes on to say, that Sweden does use rear-facing seats as though that somehow proves that there is a statistical significance

The studies you are referring to (the retracted and the non conclusive one) are two studies based on past data on real road. They did compare existing numbers and yes, there was no statistical significance due to the reduced sample (according to the article, I didn't check personnaly ;-) ).

If the article had stopped there on that part, you would be correct. But there was more. You missed the part about the sled test study (There is a direct link to the study in the article. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3217519/)

And that study is statistically significant for all but one type of injury:

> The best RF restraints (RF EURO) clearly outperformed the best FF restraints (FF EURO) when comparing injury measures. There were statistically significant differences at all injury measures except chest 3ms clip

u/yoda222

KarmaCake day34April 13, 2018View Original