565 karma · joined March 11, 2017
https://openaccess.thecvf.com/content_CVPR_2020/html/Eldesok...
In general, I think both the op, and this post vastly underestimates how little people actions affect the probability of cancer. Sure you can lower them slightly, but I have never seen anything indicating you can drop the odds of cancer more than 10% by clean living and pristine environments. Highly specific issues like very high radiation does concretely increase the odd's, but its barely noticeable outside of old school radiology nurses, or nuclear accidents. Things like a heavy tobacco habit does increase the odds substantially and significantly above baseline, but most people who smoke daily for a few years are still far more likely to die of something else. We can also infer that microplastics is less carcinogenous than tobacco due to its prevalence and negligible increase in cancer. Not saying its safe, just worth remembering that most cancer is better through of as bad luck, and very unlikely to be the persons fault. Basically cancer isnt anything you can expect that healthy habits, healthy food, or pristine environments could have fixed.
In the astonishingly rich biosphere there are exceptions to everything though, impossibly improbable things which had eons to occur. Concretely, we have yet to design a single antibiotic, geneditor or new trait, instead we find them. I care very little about the downsides for humans caused by pollution and global warming, but the loss of information which comes with damaging the biosphere is incomprehensible. In other words, I'm all for fixing both, but not at the expense of the biosphere. Fortunately, nuclear is a perfectly good alternative.
{ iter= xs.begin(); while(iter++ != xs.end()){L} } Not exactly hard to see what happens. In particular as iter is typically just a raw pointer.
Regardless of if you use one or the other you must answer the question, Should I take locks, etc.
With the macro you also have the concern that if any of the headers you include happens to change order of inclusions, the macro called may change without being noticeable. That is a harder problem.
If they switched to c++17, and banned everything from throw and RTTI to the standard library, they would still get for each, auto, and templates and inheritance which does not have to be emulated in C.
C++(17+) template based metaprogramming far more powerful and generic than what you can do in eg rust. Converting eg a rust or go or python, or julia, etc library into c++ is pretty straightforward, just use appropriate overloads, and a few template tricks, and you can mostly copy the code directly. But copying between these, or from c++ is much harder.
The solution is to learn one approach suitable for the problem you have right now, then widen over time. The many languages of c++ as you describe is less of a problem, the problem is that some approaches are deeply and fundamentally flawed, but still in common use.
Its also surreally poorly designed, encouraging worse habits than C itself. Avoiding definition collisions and lack of namespaces alone make it horrific for any moderate sized project and up. Combine that with the near complete lack of static analysis tools, and its a recipe for disaster.
The generic variant would be to make it modular and replaceable, but that would be a mistake, I would much rather have a tool good at a specific subset of jobs than a config heavy tool which is medicore at all. Perhaps advanced search and replace fits that, but I think its a fundamental aspect of editing.
Thats a good idea!
This also directly solves the issue of op. Cryptocurrencies are a stop gap solution to this, but known transaction histories and inherently poor fraud prevention make them poor digital cash replacements. Today Ecuador is shilling bitcoin, but imagine if they instead sold tier 2 citizenships, no taxes no welfare type, with new and independent identities. Pay 5000$ and get a new identity and passport, along with an account in one of our many banks, or which can be used to set up an account in an international bank. Sure you wont get to share credit scores with your main identity... Various international laws mean it wont be called exactly this, perhaps its a fee for the creation of a minimum accounting requirement corporation with hidden controller instead (and trying to prevent these is already ongoing but it does not work), but it does not matter in practice. As long as it satisfies the conditions of being able to make transactions easily, has a dispute mechanism with centralized authority with the self serving interest to remain independent, etc.
I'd wager that the majority of identity thefts arent performed in order to steal money from that identity or ever even cause any damage to the original identity. They are performed in order to get around travel and work restrictions. Lets say you are from ukraine or belarus, now getting a work visa equivalent to germany or france is kindof a pain in the ass, in particular doing so quickly, but buying a stolen passport from e.g. rumania isnt hard, and all you are doing is setting up a single french debit account in that name and working under that identity. Odds are that kind of thing gets discovered 30 years latter when the original identity realizes they are getting a small pension from some job in france they never had. But why would they care.
Massively expanded surveillance states could prevent this, but while that will be the case in china, places like the usa are just to discoordinated, and the eu is actively working against it to the point both google and facebook are no longer asking. How can we make our ads better, but rather how can we keep ad quality with much less information per user.
An old psych study claims that one year after some great or terrible event, winning the lottery, or breaking your back. People are roughly as happy on average as they were before the event. It makes sense in many ways, happiness does not seem to change much over life. To me it looks like happiness is regulated towards some fix point. This is often cited as a reason not to despair, which is nice, but for someone like me it is horrifying. Much like with weight, there is no reason to assume that you are being regulated towards a healthy state.
I am successful by most metrics, but I am so despite being miserable, and well aware of it. But it is also a question of what kinds of tasks I focus on, positivity and natural happiness is extremely important for most sales people, and beneficial for teamwork, especially high stress teamwork. But less so for solitary independent work like research, and too much positivity seems to make people easier to scam, and I would prefer a cynic as responsible for it sec (not that I have ever seen one that wasn't). Happiness has a wide range of other positive effects too, but it is difficult to decorrelate, and if I was optimistic Id say something like teamwork and sales are easy to measure, so anything which is positively correlated with work productivity will be biased due to selection bias. If I was pessimistic I think Id just say yeah its probably true, but hey, the world isn't fair, and while I am miserable, at least I'm not stupid, and I would not want those two reversed.