IIIIIIIIIIII
Joined 9 years ago
Joined 9 years ago
The question is, why do you invent stuff I didn't say? Is this show you get your highs? People like you are one of the major annoyances of online discussion.
I didn't say anything about my childhood. Stop making stuff up, troll.
The question is, why do you invent stuff I didn't say? Is this show you get your highs? People like you are one of the major annoyances of online discussion.
> The idea that doctors ... are somehow immune to those effects defies logic.
That claim was never made by OP.
It doesn't matter that you responded with "evidence" to a claim you yourself made-up. Just stick to the topic and don't invent stuff.
The only thing I ever retweeted on my otherwise completely empty and unused Twitter account so that I could copy and paste it when needed:
"For evil to triumph, all that is required is for good men to respond rationally to incentives."
You learn all your basic ethics during early childhood, not in university courses. Most of the rest is the quote above. University classes talk to and train parts of the brain whose involvement in the ethics of your decisions is minimal.
Measuring asynchronous code? You are not measuring your code. Your code is only the synchronous parts, the time spent in asynchronous parts are "environmental factors". Your code doesn't run during those times, it sits in the event loop waiting for an event so that it can continue.
That claim was never made by OP. Can we have a discussion without attacking a straw man, please? You yourself acknowledge you only know one side of equation. If the other components are larger it would not matter that you have shown one aspect - that nobody disputes, incl. OP! - to be negative.
https://news.northwestern.edu/stories/2016/02/longer-shifts-...
> A new [...] study [...] showed allowing surgical residents the flexibility to work longer hours in order to stay with their patients through the end of an operation or stabilize them during a critical event did not pose a greater risk to patients.
> “It’s counterintuitive to think it’s better for doctors to work longer hours,” said principal investigator Dr. Karl Bilimoria [...]. “But when doctors have to hand off their patients to other doctors at dangerous, inopportune times, that creates vulnerability to the loss of critical information, a break in the doctor-patient relationship and unsafe care.”
I have no doubt that overall the long hours are bad, I only respond because you attack a position OP didn't take. Also, the long hours may still be a logical conclusion and even beneficial - within the twisted logic of dysfunction in the larger system: "For evil to triumph, all that is required is for good men to respond rationally to incentives."
Yes I know asking for an explanation causes a lot more nasty voting. This is ridiculous, the site is getting more and more like reddit, and I blame the site's maintainers: There are soooo many things that could be done for a more civilized discussion culture. Like making votes public, meta-voting, requiring explanations for downvotes, a very small downvote pool (e.g. no more than three downvotes per day), etc.
How about somebody would tell me what exactly is missing from those tools I linked to, or what is supposed to be wrong that I wrote? It's not like I insulted anyone. The guy I responded to had a lot less substance in his (short) comments. "It's very superficial" - what is superficial? What is missing? Also, "all I want are two numbers at the end of the process. How long did this take and how much memory did this take." -- well, he gets those number with the DevTools! So what exactly is the complaint? For someone with a question he doesn't seem to try very hard to get an answer. Then someone downvotes posts that try to get more out of him.
Example (memory profiling with heap snapshots): https://developers.google.com/web/tools/chrome-devtools/memo...
Profiling functions (V8, Chrome, using the CPU Profiler): https://developers.google.com/web/tools/chrome-devtools/rend...
What is missing there, I can see how long each function took, even more so when I combine it with the flame chart?
I assume you are still talking about the Javascript part. What the C++ based subsystem does can be examined using tools for that language on the respective platform.
But an important piece of advice is at the bottom of one of their pages [1]: "Avoid micro-optimizing your JavaScript". Apart from their argument there, keep in mind you are programming for a number of very different runtime environments. An optimization that gives you a big boost in one implementation may slow you down on another one. That is true not just between various vendors but also among runtime versions from the same vendor.
[0] https://developers.google.com/web/tools/chrome-devtools/eval...
[1] https://developers.google.com/web/fundamentals/performance/r...
Can't some people read an article without extrapolating to the end of the known universe and just stick to just the article's actual narrow subject?
See under "Other reasons CPU Utilization is misleading"
> Spin locks: the CPU is utilized, and has high IPC, but the app is not making logical forward progress.
And that is where I refer back to my comment: Pretty much nobody will become the whistleblower or the guy who prevents their company (or their country) from landing that billion dollar arms sale or from raising drug prices to levels unaffordable to many sick people even if they are perfectly well aware of how bad it is. There is one Snowden outlier for a million other people. "If I don't do it somebody else will" is just one of numerous rationalizations (and it even is actually correct).
Statistically speaking the impact of ethics education vs. incentives is like 1 : 1 billion or worse.