this post was submitted on 15 Sep 2023
129 points (92.7% liked)

Technology

58303 readers
10 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

To prevent the iPhone 12 from being banned in France, Apple is reportedly working to release a software update that is said to bring down the radiation levels to accommodate the request of French regulators. Before being officially released back in 2020, it was reported that Apple knew about this problem and instructed its employees to stay quiet about the whole thing. It does not appear that there will be any legal repercussions against the California-based giant this time.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 year ago (2 children)

The funniest part of this is that it's JavaScript.

[–] [email protected] 30 points 1 year ago* (last edited 1 year ago)
#define RADIATIONLEVEL 4
int i = 100;

void setup() {
  ifdef RADIATIONLEVEL
    setRadiationLevel(RADIATIONLEVEL);
  endif
}

void loop() {
  setBatteryHealth(i);
  i =- ;
}
[–] [email protected] 5 points 1 year ago

Fine!

let radiationLevel = 4