The code block I wrote is a statement followed by an if. What I meant be “backwards” was the order of conditions, not that the statement came after the if. It’s exactly what you asked for.
ignirtoq
- 0 Posts
- 8 Comments
Python, though the logic would be backwards:
milk_gallons = 6 if eggs > 0 else 1
ignirtoq@feddit.onlineto
Technology@lemmy.world•LG Electronics unveils 2026 Gram Laptop line with aerospace composite - up to 50% lighter than macbooksEnglish
2·1 month agoPersonally I’m fine with them taking the noise levels from the aerospace industry, too. My primary concern is how’s the battery life?
ignirtoq@feddit.onlineto
Technology@lemmy.world•Nvidia takes $5 billion stake in Intel under September agreementEnglish
66·1 month agoU.S. antitrust agencies had cleared Nvidia’s investment in Intel, according to a notice posted by the U.S. Federal Trade Commission earlier in December.
Are they even giving reasons anymore? Or is the “antitrust agency” just a guy napping in a corner they periodically wake up just to give a thumbs up?
ignirtoq@feddit.onlineto
Technology@lemmy.world•I Went All-In on AI. The MIT Study Is Right.English
1391·2 months agoWe’re about to face a crisis nobody’s talking about. In 10 years, who’s going to mentor the next generation? The developers who’ve been using AI since day one won’t have the architectural understanding to teach. The product managers who’ve always relied on AI for decisions won’t have the judgment to pass on. The leaders who’ve abdicated to algorithms won’t have the wisdom to share.
Except we are talking about that, and the tech bro response is “in 10 years we’ll have AGI and it will do all these things all the time permanently.” In their roadmap, there won’t be a next generation of software developers, product managers, or mid-level leaders, because AGI will do all those things faster and better than humans. There will just be CEOs, the capital they control, and AI.
What’s most absurd is that, if that were all true, that would lead to a crisis much larger than just a generational knowledge problem in a specific industry. It would cut regular workers entirely out of the economy, and regular workers form the foundation of the economy, so the entire economy would collapse.
“Yes, the planet got destroyed. But for a beautiful moment in time we created a lot of value for shareholders.”
ignirtoq@feddit.onlineto
Technology@lemmy.world•Google's Agentic AI wipes user's entire HDD without permission in catastrophic failureEnglish
3·2 months agoEh, average is an ambiguous term. While in statistics it often means “mean,” it can also mean “median” or “mode,” and I would argue the layperson saying “average” intends it to mean “typical,” which is closer to median (or even mode). And in that case, those 85 percent would not be smarter than average.
ignirtoq@feddit.onlineto
Technology@lemmy.world•When it comes to nukes and AI, people are worried about the wrong thing | It’s more subtle than Skynet.English
29·3 months agoTL;DR: While governments are putting out assurances AI won’t make the final decision to launch nuclear weapons, they are tight-lipped about whether they are putting AI in the information gathering and processing components that advise world leaders making the decision to launch nuclear weapons. In risk assessment, there’s little difference between wrong AI making the launch decision and a human informed by wrong AI making the launch decision.

I think she’s saying she could have allocated the GPUs to Azure to game the metrics, but Microsoft chose to allocate them to internal projects, which is a form of self-investment. She’s not saying they made the wrong decision, she’s saying their decision in this longer-term investment makes the short-term metrics worse.