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
- 17 Comments
Also remember that anything can be hard for you; no one else gets to decide that. Folding laundry hard? Yep. Getting out of bed on time hard? You know it. Doing hard things is a major accomplishment, so pat yourself on the back every time. If it becomes easier, great! If it never does, then you deserve just as much self praise each time as the first time.
Python, though the logic would be backwards:
milk_gallons = 6 if eggs > 0 else 1
ignirtoq@feddit.onlineto
Leopards Ate My Face@lemmy.world•“I Didn’t Vote to Lose My Job”: DOGE Destroys $1.2 Trillion Industry as Rural Workers Bear the CostEnglish
3·16 days agoThat’s what I meant by “private contacts.” They don’t outsource every single possible federal job, otherwise there would be no executive branch left. So the public sector jobs are highly efficient, and the waste has been outsourced to the private contracts where it’s more obfuscated.
We could do those jobs much more cheaply and efficiently by nationalizing them, but then that would be “big government,” even though it would be saving tax payer dollars when all the accounting was said and done. So 🤷.
ignirtoq@feddit.onlineto
Leopards Ate My Face@lemmy.world•“I Didn’t Vote to Lose My Job”: DOGE Destroys $1.2 Trillion Industry as Rural Workers Bear the CostEnglish
87·17 days ago"I believed we were cutting waste in Washington,” Mitchell said in an interview with local news. “I didn’t think they’d fire the people actually fighting fires and maintaining trails. That’s not waste—that’s the actual work.”
It’s all actual work. The relentless assault on all federal institutions for the last half century had the initial effect of making the vast majority of them the most efficient systems in existence. Both political parties initially agreed they should not be wasteful, and through several rounds of reform they became more efficient than private organizations doing the same job can even theoretically be. But it’s never actually been about “waste,” and they stated cutting bone by the early 2000s. The only federal jobs left do actual work, and better, more important work than the vast majority of private sector jobs.
The waste is in private contracts that don’t fund public sector jobs. But DOGE didn’t go for those.
ignirtoq@feddit.onlineto
movies@piefed.social•Markiplier's "Iron Lung" scores international theatrical release with UK cinema brand CineworldEnglish
102·17 days agoReally wish I didn’t have a health condition that made it too risky to see in theaters. I hope there’s a digital version I can buy at some point.
ignirtoq@feddit.onlineto
Technology@lemmy.world•LG Electronics unveils 2026 Gram Laptop line with aerospace composite - up to 50% lighter than macbooksEnglish
2·26 days 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·29 days 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
No Stupid Questions@lemmy.world•Does playing audio at a high volume bluetooth wirelessly use more phone battery power than lower volume or are equidraining?English
3·1 month agoIt doesn’t matter. Even if it were constantly streaming the current volume level, the energy to transmit the value “100” is the same as to transmit “5”, so your phone doesn’t drain any faster to constantly tell the earbuds the volume is high versus low.
ignirtoq@feddit.onlineto
Today I Learned@lemmy.world•Agriculture uses 98% of humanity's land usageEnglish
35·1 month agoYou can see this very clearly flying almost anywhere. It’s most obvious in places like the Midwest US, but even between cities in more densely populated regions, there’s so much farmland. Islands of concrete in oceans of ordered crop fields.
ignirtoq@feddit.onlineto
Science Memes@mander.xyz•Increasing the surface area of a substance increases its reaction rate. Proof by garlic.English
4·1 month agoI interpreted that as for soups and stews. Peel the clove and plop it in. Once the cooking is done, take it out, like you would do with a bay leaf.
I personally would never use garlic that way. I absolutely put it crushed into my stews. But that’s how I read the image.
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.”
But do you really want them touching it?
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
Fuck AI@lemmy.world•Microsoft stock sinks on report AI product sales are missing growth goalsEnglish
271·2 months agoAre we there yet? Is the bubble popping? Do we need the Ron Paul gif (or am I showing my age)?
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·2 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.



This is a huge about-face on the earlier proclamation. I really wonder what changed his mind from “AI will radically transform every industry” to “it doesn’t need to be used to discover the ‘magical molecule,’ but provide some other tangible, less extraordinary benefit to developing the product.”
Sure, everyone here has seen the writing on the wall for years, but until now his paycheck has depended on him not seeing it. I wonder if he’s getting internal pressure from some on the board of directors.