I dont understand this at all. TCP has exactly once message delivery that the application layer is completely unaware of...
1,625 karma · joined October 28, 2011
I dont understand this at all. TCP has exactly once message delivery that the application layer is completely unaware of...
High-level language (C/python) Assembly language (att/intel) Byte code Micro code
So, with assembly code, you dont care about what the actual bytes that get generated are (they can change and you'd never know if the system was backwards compatible). Similarly, if the microcode that the CPU generates to implement the instruction changes youd also never know.
I think that here lies the issue. Is this the only way that you show that you value their thoughts / opinions? If so, the problem was never with the cups. If not, then this is how you comfort / reassure your partner and not "lets agree to disagree." From that place you have a conversation where you both figure out how to best make the both of you happy. E.g. "we'll get a special/specific cup which looks like it belongs in this area and you can leave it here as long as its empty and only use that cup." There are always various compromises that can be made as long as you have that conversation and are both looking for the best for each other.
Can it be done? sure:
let bar = await foo();
return bar + 1;
can be converted to: let resultPromise = foo();
while (!resultPromise.isComplete()){
sleep(10);
}
let bar = resultPromise.value();
return bar + 1;
the issue is that this is terribly inefficient as you are asking every 10ms whether or not the result is ready.One of the reasons this is so inefficient is that you have to spend time checking (which is wasteful if it isnt ready) and waiting. If you check more frequently, you're wasting CPU. If you spend more time waiting, you can waste up to that much time if the result is ready right after you go to sleep.
The alternative is to have the operating system tell you when its ready. This is done through the event loop. So this would turn the code transformation into something like the following:
let resultPromise = foo().then(function(bar){
return bar + 1;
});
but what do you return? you have to return a promise (i.e. a callback). Therefore, all callers of this function have to be ready to handle this. int lock = 0;
void AcquireLock(int *lock){
while (ATOMIC_SWAP(lock, 1)){
sleep(10); //or futex or w/e
}
}
void ReleaseLock(int *lock){
ATOMIC_SWAP(lock, 0);
}I hate these kinds of arguments. It assumes that every book has an equally likely chance of being good. Books being popular and books being good generally have a correlation.
[0]https://www.congress.gov/bill/117th-congress/senate-bill/271...
This is a strawman. The parent was saying that in order to have an effect and convince people, you shouldnt alienate them. You can do this without lying or ignoring things that are happening. In fact, the people you're most likely able to convince are people in the middle and by alienating them you're actually causing the trend that you're denouncing.
> What does it say about your own values that they are so loosely held that you'd sacrifice them out of contempt like this?
This is just a straight ad hominem. I thought we were supposed to be above these sorts of things on hn.
Thread1: a = 0xFFFFFFFF00000000
Thread2: a = 0x00000000FFFFFFFF
One might think that the two possible values of a if those are run concurrently are 0xFFFFFFFF00000000 and 0x00000000FFFFFFFF. But actually 0x0000000000000000 and 0xFFFFFFFFFFFFFFFF are also possible because the load itself isnt atomic.
The GIL (AFAICT) will prevent the latter two possibilities.
I think this is a very dangerous line to walk. A common phrase in law is "the law often allows what honor forbids" and that is because there is a difference between the law and ethics and IMO that is a good thing.
Is it ethical to eat all the cookies in the cookie jar and leave none for anyone else? No. Should it be illegal? No.
To be more specific, he has the "Source" and "Detail" elements, but theres no apparent way of what piece of data is being synced across them or how theyre connected. Therefore, if I wanted to change any of that, I'd be completely lost. Did anyone else understand how the data actually flows across these pieces?
Another factor here is that simply evaluating more data is also likely to lead to more erroneous evaluations since random chance has a much larger impact.
> According to police data, in the vast majority of cases, innocent citizens come under suspicion of having committed an offence due to unreliable processes
With this being said, what is the rationale for this?
Its worth noting however, that the current legislation "allow[s] providers of e-mail and messaging services to automatically search all personal messages of each citizen for presumed suspect content and report suspected cases to the police" but does not mandate it yet.
I understand the sentiment, but it literally isnt true. If it were, then noone would accept a job since they'd rather have the time instead. At the very least, there is more nuance to be observed here.
How much money does it cost to develop API servers to deal with apps which use Facebook sign in?
How much money does it cost to run those API servers in a performant manner?
How much money does it cost to make sure that those servers are secure?
How much does Facebook charge? 0.
I could keep going (or find many other examples), but the point is that the justification of a price based on the seeming cost to the provider isnt relevant.
The issue for me here is that I should be able to run the apps that I want on hardware that I have purchased. Imagine if you buy a TV and then all of a sudden, the Netflix app is removed from the TV because Netflix didnt pay the tv manufacturer AFTER you've already purchased it.