Alignant
Well, C++ never had great tools for unit testing
Anonymous
Anonymous
and a flaw
Ludovic 'Archivist'
because they just do not want to FUCKING WRITE UNIT TESTS
#include <thread>
#include <iostream>
volatile int counter=0;
void incr(const int count=200000)
{
for(int i=0;i<count;i++)
counter++;
}
int main()
{
std::thread m(incr,200000);
incr(200000);
std::cout << "Expects 400000, get "<< counter <<std::endl;
}
Anonymous
and that flaw is shit like this gets pushed to master and when i am working on the server side code i go WHAT THE FUCK? EVERYTHING HERE SHOULD BE FUCKING WORKING
Anonymous
fair enough
Ludovic 'Archivist'
Anonymous
we are still using semaphores for that side of the project so that is still good
Anonymous
the only time i use volatiles is in embedded systems which actually only have 1 core to begin with
Ludovic 'Archivist'
Remember, volatile is not threadsafe at all
Anonymous
Anonymous
for embedded systems some people say when in doubt use volatile
Anonymous
https://barrgroup.com/Embedded-Systems/How-To/C-Volatile-Keyword
olli
Ludovic 'Archivist'
Anonymous
probably much more then you
Anonymous
however volatile prevents optimizations of certain variables
Alignant
Anonymous
but whatever
Alignant
BinaryByter
BinaryByter
lol
Anonymous
BinaryByter
Just the fact that you have Probability amplitudes causing the interference should make that clear
Anonymous
which were later corrected
Anonymous
and we just sweep those corrections under the rug
Anonymous
because we want to make him look good when in reality he had basically no clue about his own theories which he supposedly wrote
Ludovic 'Archivist'
which is compatible with explaining gravity in quantum environments too
BinaryByter
Anonymous
QM literally is just an extension of statistical physics
Anonymous
because CERN was a complete failure here
Anonymous
the main reason for it was to witness higher dimensional gravitational energy
BinaryByter
Anonymous
the next size we need to potentially witness it is like half the size of the milky way galaxy
Anonymous
Zinc
What about QIT thats a theoretical explanation for the exploitation of the laws of quantum physics in communication and computation?
Anonymous
theoritical physicists cannot
Zinc
Oh
Anonymous
Anonymous
but now we have too many fucking crackpot physicists
Anonymous
who care more about gender equality
Anonymous
and less about the math
Anonymous
theoritical physics as existed at the time of Dirac is completely dead now
Zinc
There's no more logical reasoning. Seems like it's been chunked out a window.
Anonymous
because we do not have enough Nazi ex scientists to work on it
Anonymous
Alignant
But... gender equality would... double the number of physicists :D
Anonymous
Anonymous
it does not
Anonymous
universities are refusing to hire male applicants
Anonymous
because they want female ones
Anonymous
instead of spending money and teaching elementary school kids
Anonymous
how to go to become theoritical physicists
Zinc
?
Physicist that do not use logical reasoning and prove fact with mathematics but rather side with illogical opinions.
Anonymous
we do the dumbest thing possible and attack potential theoritical physicists to inspire FEMALES to become theoritical physicists
Anonymous
Anonymous
just go read any paper on any of this stuff
Anonymous
it is all based on the previous work einstein dirac and feynmann did
Anonymous
but they are dead now
Anonymous
and we only have people skilled enough to make small modifications to their theories and apply them
Anonymous
no longer inventing new ways to do this
Alignant
Yeah, that's nice God created it
Anonymous
Zinc
My point was that not everyone can prove factual evidence like a theoretical physicist.
Anonymous
Anonymous
they also do not have many young people going in
Anonymous
it is actually a possibility it will die out
Anonymous
which will be a shame