another_another
another_another on Hacker News
As you say the Russians aren't amateurs, but at the same time they've massively overstepped their mark this time and have galvanised action against them that possibly didn't particularly have the will before, since they poured a lot of money into platforms that would promote Russia's propaganda (hard and soft).
It seems that currently no amount of money can whitewash what they're doing. Of course that might change again in the future.
Watch out, if she attends all those productivity sapping meetings, and turns in good code then she'll quickly be promoted to a position that requires no coding. Then that'll be the end of the fun coding :)
Actually sounds like a good premise for a movie :)
To do this safely the shared_ptr<> class maintains a reference count which is protected by a mutex. This is pretty inefficient if you never share a pointer across threads.
Better to use unique_ptr<> where the Thing that created it is also the Thing that's responsible for deleting it - after making sure that anything it's shared the pointer with is already safely destroyed (another thread, a collection or some other object).