printf (and the stdio library in particular) may be thread-safe with respect to the FILE* objects but never with respect to the arguments you pass to printf for printing. In particular, something like:
printf( "%d %d\n", i, j );
guarantees nothing about when (or in what order) the values of i and j are read and copied into printf's stack frame (which happens beforeprintf is even called just as every other functions' arguments).
Of course not. There is nothing special about printf: it is just an ordinary function that takes time (multiple cycles) to execute. During that time, multiple values to be printed can be changed by other threads so the printed results are inconsistent. In such cases, you need to use a mutex.
That is why the assert macro can be disabled via NDEBUG. You enable asserts during development and testing to catch errors so they do not go unnoticed, then disable them for production.
I am hostile to people who can not honor a simple request and respect my wishes. If that means I can not work with you, I would consider that a bonus because you simply do not get it.
The fact is, I have had a great career and am close to retirement, so I have done just fine. Your understanding as to how that was possible is not required.
It doesn't matter how long ago I wrote it. If it's still there, it's accurate. It's not your place to second guess me.
No, you have nothing to lose, except to annoy me. Of course lots of recruiters think as you do, so I get annoyed a lot. Apparently, you don't care about that.
As long as I have the "do not contact me" on my profile, there is nothing you can say that will make me want to have anything whatsoever to do with you. The mere act of messaging me when I explicitly asked you not to automatically disqualifies you.
Sorry you are apparently incapable of understanding that.
99% of the recruiters on LinkedIn do not even bother to read my profile where the very first line says I am not looking and please do not contact me about jobs. They probably just do a keyword search and send the same impressed-with-your-career-history-devoid-of-specifics lie. Some of the time, my skill set is not even a match. And I get a few such messages every week. Recruiters are some of the most irritating people.
... my heart goes out to those just trying to get a little extra cash to be able to afford living in NYC...
A little extra cash isn't a sufficient justification for you to be able to do anything you want. You could make a little extra cash making and selling drugs from your residence. You could make a little extra cash running a brothel from your residence.
While the students are cheating themselves, they are (for those attending a prestigious university) also diminishing the reputation of the university. If anyone could get an MIT (or pick youâ(TM)re favorite elite school) degree by cheating, the degree wouldn't be worth much.
If you get one seal failure anywhere along the line, it renders the entire stretch unusable. A tube going the length of, say, a state, would contain thousands of seals. The mean time to failure becomes way too small to make the system usable.
The term "dark matter" is a placeholder for "we donâ(TM)t know" what's causing the gravitational discrepancies we see. There's nothing to disprove. It might very well turn out to be a math error (really, General Relatively being incomplete).
What does the addendum to the Constitution, the document that both enumerates and limits the powers of the federal government, have to do with Facebook, a non-government company?
Your taxes already pay for roads for everyone despite bad drivers. Your taxes already pay for police and the rest of the criminal justice system for safety and enforcement for everyone despite all the criminals. Your taxes already pay for fire departments to put out fires for everyone despite many who carelessly set fires. Why is health care different?
And that is done by the call-ED party and is pretty much expected today for customer service. With Duplex, it is the call-ING party that calls your business and is unexpected because itâ(TM)s extremely uncommon.
If you are a worker at a small business and somebody (some-thing) calls you out of the blue and the first thing it says is that the call will be recorded, what would you do? Get permission from your boss that it is OK? Or just hang up?
We donâ(TM)t hire assholes either, so youâ(TM)d fail on both counts. Youâ(TM)d better hang on to the job you somehow were lucky enough to get because youâ(TM)d never do well on any other interview anywhere in modern times. (Judging by your number, youâ(TM)re probably ancient and have no clue what itâ(TM)s like in the current job market.)
As part of your interview process, don't you have candidates code a solution to a problem on a whiteboard? I've interviewed lots of "good" candidates (on paper) too, but they crashed and burned when challenged with a coding exercise. As a result, we didn't make them job offers.
Which is why I always use a credit card. Aside from the interest-free loan (since I always pay it in full), my liability is limited to $50. The one time when an old card was used for a fraudulent transaction, I actually paid nothing.
Woz did the hardware for the Apple I and ][ using a few neat tricks. He also wrote its first DOS. But he has not done anything of consequence since.
guarantees nothing about when (or in what order) the values of i and j are read and copied into printf's stack frame (which happens before printf is even called just as every other functions' arguments).
Of course not. There is nothing special about printf: it is just an ordinary function that takes time (multiple cycles) to execute. During that time, multiple values to be printed can be changed by other threads so the printed results are inconsistent. In such cases, you need to use a mutex.
That is why the assert macro can be disabled via NDEBUG. You enable asserts during development and testing to catch errors so they do not go unnoticed, then disable them for production.
I am hostile to people who can not honor a simple request and respect my wishes. If that means I can not work with you, I would consider that a bonus because you simply do not get it. The fact is, I have had a great career and am close to retirement, so I have done just fine. Your understanding as to how that was possible is not required.
It doesn't matter how long ago I wrote it. If it's still there, it's accurate. It's not your place to second guess me. No, you have nothing to lose, except to annoy me. Of course lots of recruiters think as you do, so I get annoyed a lot. Apparently, you don't care about that. As long as I have the "do not contact me" on my profile, there is nothing you can say that will make me want to have anything whatsoever to do with you. The mere act of messaging me when I explicitly asked you not to automatically disqualifies you. Sorry you are apparently incapable of understanding that.
99% of the recruiters on LinkedIn do not even bother to read my profile where the very first line says I am not looking and please do not contact me about jobs. They probably just do a keyword search and send the same impressed-with-your-career-history-devoid-of-specifics lie. Some of the time, my skill set is not even a match. And I get a few such messages every week. Recruiters are some of the most irritating people.
If you want to teach semantics, use either Smalltalk or Scheme. You can teach the syntax for either in five minutes.
And the local government's policies are a result of the local electorate, i.e., NIMBYs, who fight (and vote) to preserve neighborhood "character."
A little extra cash isn't a sufficient justification for you to be able to do anything you want. You could make a little extra cash making and selling drugs from your residence. You could make a little extra cash running a brothel from your residence.
While the students are cheating themselves, they are (for those attending a prestigious university) also diminishing the reputation of the university. If anyone could get an MIT (or pick youâ(TM)re favorite elite school) degree by cheating, the degree wouldn't be worth much.
Natural selection is the thing that drives evolution. You don't have natural selection instead of evolution.
If you get one seal failure anywhere along the line, it renders the entire stretch unusable. A tube going the length of, say, a state, would contain thousands of seals. The mean time to failure becomes way too small to make the system usable.
The term "dark matter" is a placeholder for "we donâ(TM)t know" what's causing the gravitational discrepancies we see. There's nothing to disprove. It might very well turn out to be a math error (really, General Relatively being incomplete).
What does the addendum to the Constitution, the document that both enumerates and limits the powers of the federal government, have to do with Facebook, a non-government company?
Wow, you really have drank a lot of the right wing cool aid, havenâ(TM)t you. There really isnâ(TM)t any point discussing this further.
Funny how national healthcare works in every other civilized country.
Your taxes already pay for roads for everyone despite bad drivers. Your taxes already pay for police and the rest of the criminal justice system for safety and enforcement for everyone despite all the criminals. Your taxes already pay for fire departments to put out fires for everyone despite many who carelessly set fires. Why is health care different?
Yes, and the point was in those rare events, they typically do mention the OS. Hence when they don't, again, you can rest assured it's Windows.
Never let bad programmers program anything. Personally, I am a programmer from the old-school Unix philosophy of: do one thing and do it well.
Because the judiciary is a separate branch of government and not part of nor subject to any presidential administration.
If you are a worker at a small business and somebody (some-thing) calls you out of the blue and the first thing it says is that the call will be recorded, what would you do? Get permission from your boss that it is OK? Or just hang up?
We donâ(TM)t hire assholes either, so youâ(TM)d fail on both counts. Youâ(TM)d better hang on to the job you somehow were lucky enough to get because youâ(TM)d never do well on any other interview anywhere in modern times. (Judging by your number, youâ(TM)re probably ancient and have no clue what itâ(TM)s like in the current job market.)
As part of your interview process, don't you have candidates code a solution to a problem on a whiteboard? I've interviewed lots of "good" candidates (on paper) too, but they crashed and burned when challenged with a coding exercise. As a result, we didn't make them job offers.
Which is why I always use a credit card. Aside from the interest-free loan (since I always pay it in full), my liability is limited to $50. The one time when an old card was used for a fraudulent transaction, I actually paid nothing.