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
- 28 Comments
melechric@lemmy.worldto
Gaming@lemmy.zip•PC peripheral makers "deeply apologise" for hosting malware in their mouse software, by accidentEnglish
7·4 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·5 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.worldtoNew York Times gift articles@sopuli.xyz•Billy Long, Trump’s Pick to Lead IRS, Promoted Nonexistent Tax Credit
13·6 months agoDude looks like a mini boss from the Borderlands franchise.
melechric@lemmy.worldto
Automotive Industry@discuss.tchncs.de•My Local Tesla Lot Is Packed With Unsold Cars, The Demo Cybertruck Is Hidden Around Back While Model Ys Collect DustEnglish
8·6 months agoManipulation or maybe hedging that Musk will get a sweet sweet federal contract from his buddy Trump to us Teslas a fleet vehicles for ICE.
melechric@lemmy.worldto
Leopards Ate My Face@lemmy.world•'Come to regret': GOP lawyer warns MAGA Trump's anti-woke crusade will turn on themEnglish
37·6 months agoTrump and Co. are gambling that they can achieve dictatorship before the violence and other shit starts.
Putin smiles in Moscow. Chaos and violence in America is his win. It’s also his win if the US slides into dictatorship and the US population shrugs and goes along quietly.
melechric@lemmy.worldto
politics @lemmy.world•Trump Reportedly Getting Luxury Qatari Jet as Gift Sparks Fury—'Corruption'
48·6 months agoExactly! It’s going to be a flying wiretap with every enemy of the US scrambling to get their electronics in before Qatar closes the deal with Trump. I wouldn’t be surprised if there were eavesdropping circuits baked into the silicon of every system in the plane.
What a fucking nightmare - but on brand for this kleptocracy of an administration.
melechric@lemmy.worldto
News@lemmy.world•Trump cuts millions in California crime prevention grants: 'This was a sledgehammer'
17·6 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.
I was there in the 90s for a bachelor party. I can assure you it was skeevy then too. I think I got black lung from the amount of cigarette smoke in the air inside.
melechric@lemmy.worldtoUSpolitics@lemmy.world•USFWS Renames Anahuac National Wildlife Refuge
52·7 months agoYes. If we ever get another administration that isn’t bat shit crazy they will want to restore the old name. However, they’ll be reluctant because that’ll mean trampling on a little girl’s legacy.
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·7 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·7 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!
melechric@lemmy.worldto
Canada@lemmy.ca•Canada waiting for US economy to implode enough to make America 11th province
5·7 months agoLol, just Ohio?
melechric@lemmy.worldto
politics @lemmy.world•McCarthy foes face blowback as primary threats grow and GOP donors shut wallets
32·2 years agoI agree, but this dumpster fire is burning inside the US government. It’s going to take some critical stuff with it as it burns itself out. :(
If that’s pizza, it’s seriously undercooked.
melechric@lemmy.worldto
Technology@lemmy.world•Google announces April 2024 shutdown date for Google PodcastsEnglish
2·2 years agoI love AntennnaPod - except when I’m in the car. It doesn’t have Android Auto support.
Glad I could help.
LA is worth a visit. Definitely has some sketchy areas worth avoiding. Do your research before visiting. That said, there’s a lot to do and see in LA.
From near here: https://maps.app.goo.gl/jA34QHXz8QrLpZW27
Looks like some forced perspective might be used.




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.