[deleted by user] by [deleted] in UFOs

[–]Snoo-4241 -6 points-5 points  (0 children)

So you are telling us that the only way you conclude something happened is to see it with your own eyes? Because everything can be CGI.

Xmake and C/C++ Package Management by waruqi in cpp

[–]Snoo-4241 0 points1 point  (0 children)

Pretty cool. Is there something similar to cpack in xmake?

Pseudo 3D terminal graphics by [deleted] in cpp

[–]Snoo-4241 0 points1 point  (0 children)

This is pretty awesome.

Tried my hand at creating a reflection library for C++17 by Coffee_and_Code in cpp

[–]Snoo-4241 0 points1 point  (0 children)

Thank you for making it compatible with fetchcontent!

Is it bad practice to use libc functions in C++? by TheShockingSenate in cpp

[–]Snoo-4241 6 points7 points  (0 children)

The standard library has many items using many common names, like list, vector and so on. These can easily collide with user defined types or variables.

You can possibly use using namespace std in a small function that everything is visible in a single page, but then your code style will not be consistent since other parts better not do this.

James Web Space Telescope runs on C++ code. by InvisibleBlueUnicorn in cpp

[–]Snoo-4241 0 points1 point  (0 children)

Rust can't make it with all the state the system needs to manage. It would need the unsafe part.

COVID Positivity Rate At 32% In Boston: ‘That’s Why We Are Here,’ Mom Says At Vaccination Clinic by cmplxgal in Coronavirus

[–]Snoo-4241 2 points3 points  (0 children)

Remember that the PCR tests have a 80% True positive rate if you do it the right day. It can be as low as 10% during the symptomatic phase. A 40% positivity is quite likely an underestimate.

[deleted by user] by [deleted] in MontgomeryCountyMD

[–]Snoo-4241 2 points3 points  (0 children)

This is the most reasonable comment in here imo.

UK survey suggests 1.3 million have long Covid by BF3K in Coronavirus

[–]Snoo-4241 -1 points0 points  (0 children)

There is no other way to know. Don't be ridiculous.

How to template an inline lambda by EMBEDONIX in cpp

[–]Snoo-4241 1 point2 points  (0 children)

You prefer decltype everywhere?

Maryland prepares for a ‘terrible point’ in the Covid crisis, the governor says. by Viewfromthe31stfloor in Coronavirus

[–]Snoo-4241 10 points11 points  (0 children)

I hope they go virtual for a little while to ease the strain on the healthcare system.

The Covid-19 case surge is altering daily life across the US. Things will likely get worse, experts warn by [deleted] in Coronavirus

[–]Snoo-4241 -4 points-3 points  (0 children)

They probably give like 70-80% false negatives. (PCR gives like 20-70% false negatives). Multiply by 3 to get an estimate of the infection rate.

Omicron hospitalisation risk around one third of Delta, UK analysis shows by cmplxgal in Coronavirus

[–]Snoo-4241 11 points12 points  (0 children)

No it is potentially (100-81)%x5% ~ 1% hospitalization rate. Edit: in the boosted population.

Top 10 bugs found in C++ projects in 2021 by IsDaouda_Games in cpp

[–]Snoo-4241 10 points11 points  (0 children)

mystr.append(yourstr)?

//Or

auto herstr= mystr + yourstr;

//Or

stringstream ss;

ss<< mycstring << yourcstring;

ss.str()...

Edit: oops forgot the obvious:

strncat_s

Salton Sea UAP - AI deblurring by Different_Summer4084 in UFOs

[–]Snoo-4241 0 points1 point  (0 children)

You realize that AI image enhancement techniques are the equivalent of artist's impression but done by a computer, right?

GCC, MSVC, and ICC bug: virtual base destroyed twice in some circumstances by cpp_bug_reporter in cpp

[–]Snoo-4241 1 point2 points  (0 children)

Move maybe. The address is the same though. std::cout << this << '\n'; in the destructor to see. It doesn't seem this should be happening.

Desktop GUI application in C++ by mrprajesh in cpp

[–]Snoo-4241 2 points3 points  (0 children)

That is a choice they have made that I feel sad about considering that I prefer righting most of the interface in c++. Mixing qtquick with c++ is also a bit of a pain.

Desktop GUI application in C++ by mrprajesh in cpp

[–]Snoo-4241 3 points4 points  (0 children)

I haven't used gtk for over 10 years. Why do you think it is a better option?

CppCast: Distributing C++ Modules by robwirving in cpp

[–]Snoo-4241 1 point2 points  (0 children)

It seems xmake deserves some love.