Yes. Sometimes you’re limited by the hardware you’re controlling. This code is a bit hard to justify with that excuse though. Normally your code would do a read from hardware to see if the value decremented and then repeat the write. (Possibly a sleep/yield in there if required.)
- 0 Posts
- 8 Comments
melechric@lemmy.worldto
Gaming@lemmy.zip•PC peripheral makers "deeply apologise" for hosting malware in their mouse software, by accidentEnglish
7·5 months agoAre we asking questions that we already know the answer to? ;)
melechric@lemmy.worldto
BuyFromEU@feddit.org•Beyerdynamic (German headphone producer) bought by Chinese companyEnglish
291·6 months agoFor a while it’ll be true. Then the strong German labor unions/laws will be seen as an impediment to profitability. Of course this won’t be spoken aloud. However, the assembly jobs will be moved back to China piecemeal. (Not fast enough to alert lawmakers and cause a commotion.) Until finally the entire operation is in China. The name (which is the valuable thing) will live on - affixed to a fully Chinese designed and manufactured item. Sold on Amazon to people who don’t know better.
melechric@lemmy.worldto
News@lemmy.world•Trump cuts millions in California crime prevention grants: 'This was a sledgehammer'
17·8 months agoAnything to diminish California. Trump and MAGA can’t abide California functioning well because it contradicts their message that liberal-run states are implicitly worse off than conservative-run states.
melechric@lemmy.worldto
Buy Canadian@lemmy.ca•The full guide to switching from big US tech to supporting more ethical and Canadian-based companies! (Redone with OSs added)
4·8 months agoYup. Saw the Bazzite group presentation at SCALE a few weeks ago. Very impressive.
melechric@lemmy.worldtoUnited States | News & Politics@midwest.social•"It could break us": Valley farmer says Chinese tariffs have crushed the alfalfa export market
6·8 months agoThe massive amount of cognitive dissonance is infuriating.
This has the same energy as the Russian cannon fodder in Ukraine who film those videos appealing directly to Putin about their situation. They refuse to believe that he would allow it. If only he knew - he would fix it.
Cult!

I know you’re being sarcastic, but if does point out the fact that capitalism is only held in check by government. RockStar obviously waited until they knew they could get away with it given the current attitudes in all branches of the US government.