Israel's Finance Minister Bezalel Smotrich said on Sunday that the Israeli army should create a security zone in southern Lebanon should Hezbollah not heed an Israeli ultimatum to withdraw from the border area. He also called on the security cabinet to order a permanent military presence "in all of the Gaza Strip."...
Despite Sundar's leadership, do you think that extending update support to 7 years took no innovation? The Android team has been doing major system reworks to make this practical. The Tensor team has been working to do the same on the hardware side. Samsung is likely reusing firmware and software from that work given that the hardware is shares a lot of Samsung IPs. Prior to these developments Samsung was not interested in providing anywhere close to this length of support.
Android is in the best place it's ever been since its release. It's on more things than ever and we have the kind of update support we used to only dream about in 2008. And we have devices with unlockable and rekockable bootloaders. 🤯
You're describing the standard neoliberal argument for free trade. It kinda makes sense on the surface, if you don't consider its externalities such as its impacts on labor and domestic aggregate demand. Luckily you don't have to guess what their effects are as you can see many of them in the US today. For example the rise of Trump and the desire to do away with the remains of the American democracy. Walking down that path to its end likely won't result in maximum EVs in people's hands.
Hey, so I just put this part up first because this is the one I urgently and importantly need answered even tho I wrote that hideous text block first (sorry English isn't my first language )....
Ubuntu LTS is likely the easiest to live with for a layperson. It's got the stability, support and it's got the biggest body of information for how to do things and solve problems as well as the most users using it who can help. Ubuntu LTS derivatives would inherit a lot of that but not all. The changes made to turn Ubuntu into Kubuntu for example invalidate any info for Ubuntu related to GNOME. And so on.
Hello, I'm relatively new to self-hosting and recently started using Unraid, which I find fantastic! I'm now considering upgrading my storage capacity by purchasing either an 8TB or 10TB hard drive. I'm exploring both new and used options to find the best deal. However, I've noticed that prices vary based on the specific...
Sure but technically non-redundant schemes also fall under the category. E.g. RAID0, multiple non-redundant ZFS vdevs, etc. Those would be reducing the performance effects of single disks.
Their search can become better than DDG tomorrow just like it used to be a few years ago. All they need to do is rollback the enshitification patches. It's not a matter of R&D, it's a matter of the ad boss becoming the boss of search and optimizing it for ad revenue.
Next school year, my son will be left home after school for a few hours while my wife and I are at work. I'm looking for a way to detect when he's home and have the front door unlock (among other automation scripts that are in place)....
The UN has denied that the estimated death toll of women and children in the war in Gaza has been revised downward, pointing towards a confusion between the total numbers of dead bodies recorded, and the number of those who have so far been fully identified....
I can't imagine anyone that has decent prospects would agree to go back to Tesla after getting canned with those kinds of wild swings in decision making.
I see many self-identified socialists imply that, in a socialist society, people would constantly be doing different jobs and would split their labour between many different jobs rather than specialize. It definitely makes sense when it comes to jobs that don't require too much specialization, but how does this work with highly...
In a couple of sentences, why should labor be largely interchangeable? I haven't read much but I imagine there's a straightforward argument. If there isn't and it requires a page, don't worry about it! 😊
Oh I get it now. Thanks! I've come to similar conclusions about division of labor in families I've observed and its effects on them. In my family, everyone yields the power tools and does the laundry.
This isn't about technology at all. It's about labor costs. UAW labor costs more because its workers are paid well and they don't get maimed by robots much. If in doubt, check the profit margins of the Big Three. The higher labor cost is also required because the standard of living is completely different. People in NA can't work for Chinese wages and survive. And if you want to create a race to the bottom, that's anti-worker. The shareholder class of the Big Three is still making disproportionately more than workers but this is one of the North American examples where there's much more balance between them and workers.
Honda and Toyota posed the same problem and they were forced to create factories here in order to eliminate the labor cost disparity that would have destroyed the lives of UAW members. I don't think many would have a problem with BYD building NA factories, especially if unionized by the UAW.
@Buelldozer is right, he's just being extra spicy about it.
"paid well" only has meaning in the context of standard of living, or cost of living. You provided that context. Within it they're paid relatively well. They're not getting state pensions or healthcare anytime soon so we work within the context.
Yeah I'm a bit puzzled because I think these folks are supportive of labor given they seem positive about workers in China having better safety nets. Yet letting cars in that will destroy local manufacturing isn't going to do anything positive for North American labor. If anything is going to help, it's supporting them instead of non-union car makers and supporting union action at non-union manufacturers. I'm of the opinion that we can't expect any improvements from the political class before we take more of the profits so we can buy those politicians like corporations have. They simply won't represent labor to a significant extent unless they see workers as organized voting blocks that don't lap up corporate propaganda.
You should check the current election opinion polls. Likud and the other far right parties are currently projected to lose by several seats in some polls. I think you might be underestimating the potential yield of Bibi's tactic to keep the zealots happy. They might be able to gain a few points and win another election, with smaller Likud in the coalition.
Tens of thousands of Palestinians were fleeing Rafah, Gaza’s southernmost city, on Saturday, after Israeli warnings to evacuate before an imminent military assault that will open a bloody new phase of the seven-month-long conflict....
Short version of this interview is that nothing is changing, other than they're going to be asking a flat fee "$5-20" for the app, rather than relying on donations. All donation platforms have been closed. However, if you choose not to, as Louis says "that's between you and your God"....
The one thing I can see FUTO can do is provide capital up front for developers to work which could be recouped over time as more users begin to use and pay for the software. That makes sense and in a competent, not neoliberal economy, the government might have a fund doing something like that. What I'm a bit worried about is that this might not be all Eron's up to. But again, we'll take his money when he gives it, so long as the work is open source. And we'll see where we end up in a few years. 😅
Again, if you can write it with conditionals and returns, you can write it with equivalent number of conditionals and a single nested scope. No further scopes are needed. The conditional will even look nearly identically.
I don't think it's worse, I think it's equivalent. Also I don't like the risk of resource leaks which is inherent to multi-returns beyond input validation. And that's true beyond C because memory isn't the only resource that can be leaked.
It's not about how readable the branches are, it's about having to read all of them to ensure you understand the control flow so that you don't leak. Length of functions is a red herring. You want me to read the contents of short blocks to ensure the control flow is correct. I don't want to read the contents of those blocks, other than the conditional and loop statements. Reading short blocks is better than reading long blocks. Reading just the control flow lines is better than reading short blocks.
Not sure why you had to do the inverted predicate check again in your first example. You already have the information encoded in the value of retval. It can be written like this:
int result = 0;
if (!p1) result = -ERROR1;
if (p2) result = -ERROR2;
if (!p3 && p4) result = -ERROR3;
if (result != 0) {
result = 42;
}
return result;
With a return value you have to add 4 extra lines. This overhead remains constant as you add more checks and more business logic.
Yes all the other suggestions are better than early returns in business logic and would help with leaks. Would be nice if we had RAII outside of C++. I think Rust has it? Haven't done Rust yet.
Yes clearly someone has to read the blocks at least once to ensure they are correct.
In subsequent reads, when I'm interested in the second block out of two, say during a defect analysis, I don't have to read the first one to be sure I'm going to reach the second. I can straight head for the second one and any subsequent stuff I care about. Multiple returns force me to read both blocks. I don't know what else to tell you. To me this is obvious and I think it's probably even provable. I don't know about you but I have to read a lot of existing code and every bit helps. We have pretty strict code style guides for that reason.
Clearly I'm not referring to an if/else by saying two blocks. Even in my original example I show the exact issue. You don't understand it. I can't explain it better.
Have you stopped to consider why you can't explain it better? Perhaps the reason is because you're wrong.
Yes I have. You've already assumed I'm not too bright more than once and worked from there. There's no point in investing more work on my end. If what I said worked, good. If not, that's fine too.
Israel's far-right minister Smotrich calls to occupy Gaza, take over south Lebanon ( www.haaretz.com )
Israel's Finance Minister Bezalel Smotrich said on Sunday that the Israeli army should create a security zone in southern Lebanon should Hezbollah not heed an Israeli ultimatum to withdraw from the border area. He also called on the security cabinet to order a permanent military presence "in all of the Gaza Strip."...
Severe flooding wreaks havoc across northern Europe ( www.euronews.com )
Severe flooding caused by heavy rainfall has inundated Voeren and Liège in Belgium, as well as parts of France and Germany....
Prominent Android manufacturers commit to supporting phone software for 7 years ( www.cnet.com )
cross-posted from: https://slrpnk.net/post/9647496...
Toxic ‘forever chemicals’ ubiquitous in Great Lakes basin, study finds ( www.theguardian.com )
PFAS chemicals present in air, rain, atmosphere and water in basin, which holds nearly 95% of US freshwater...
James Webb Space Telescope sees Orion Nebula in a stunning new light (images) ( www.space.com )
Online Content Is Disappearing ( www.pewresearch.org )
History says tariffs rarely work, but U.S. President Biden’s 100% tariffs on Chinese EVs could defy the trend, researcher says ( theconversation.com )
By Tinglong Dai, Bernard T. Ferrari Professor of Business, Johns Hopkins University...
Linux mint or zorin OS for layman beginners who just want everything to work and focuses on stability , privacy , security ? Also what to do if I switched to mint and WiFi stopped working ?
Hey, so I just put this part up first because this is the one I urgently and importantly need answered even tho I wrote that hideous text block first (sorry English isn't my first language )....
How much does it matter what type of harddisk i buy for my server?
Hello, I'm relatively new to self-hosting and recently started using Unraid, which I find fantastic! I'm now considering upgrading my storage capacity by purchasing either an 8TB or 10TB hard drive. I'm exploring both new and used options to find the best deal. However, I've noticed that prices vary based on the specific...
Google is “reimagining” search in “the Gemini era” with improved AI options ( arstechnica.com )
Google's Gemini AI wants to help you plan, brainstorm, and shop inside Search....
Presence Detection for a Child with no Phone.
Next school year, my son will be left home after school for a few hours while my wife and I are at work. I'm looking for a way to detect when he's home and have the front door unlock (among other automation scripts that are in place)....
Comcast Unveils Peacock, Netflix, Apple TV+ Streaming Bundle ( www.hollywoodreporter.com )
Cable is dead. Long live the cable bundle. Curious to see the pricing and if the bundle only includes ad tiered options.
UN denies Gaza death toll of women and children has been revised down ( www.theguardian.com )
The UN has denied that the estimated death toll of women and children in the war in Gaza has been revised downward, pointing towards a confusion between the total numbers of dead bodies recorded, and the number of those who have so far been fully identified....
'We're Gonna Win': Alabama Mercedes Workers Begin UAW Vote ( www.commondreams.org )
Elon Musk laid off the Tesla Supercharger team; now he’s rehiring them ( arstechnica.com )
I can't imagine anyone that has decent prospects would agree to go back to Tesla after getting canned with those kinds of wild swings in decision making.
Skepticism ( lemmy.world )
What are socialist views on specialization of labour compared to task generalization / job rotation?
I see many self-identified socialists imply that, in a socialist society, people would constantly be doing different jobs and would split their labour between many different jobs rather than specialize. It definitely makes sense when it comes to jobs that don't require too much specialization, but how does this work with highly...
Small, well-built Chinese EV called the Seagull poses a big threat to the US auto industry ( apnews.com )
A tiny, low-priced electric car called the Seagull has American automakers and politicians trembling....
Linux 6.10 Features Expected From The NTSYNC Driver To Performance Optimizations for Wine/Proton(Games) ( www.phoronix.com )
Thousands protest in Israel amid anger at Netanyahu over hostages held in Gaza ( www.theguardian.com )
Critics accuse pro-Israel Republican mega-donors of trying to tip the scales in a Democratic primary ( www.salon.com )
Terrified families flee Rafah as Israel set to open all-out assault ( www.theguardian.com )
Tens of thousands of Palestinians were fleeing Rafah, Gaza’s southernmost city, on Saturday, after Israeli warnings to evacuate before an imminent military assault that will open a bloody new phase of the seven-month-long conflict....
[Thread, post or comment was deleted by the author]
US says Israel’s use of US arms likely violated international law, but evidence is incomplete ( apnews.com )
Biden’s $7.5 billion investment in EV charging has only produced 7 stations in two years ( www.washingtonpost.com )
World Warned to Prepare for Today's Severe Geomagnetic Storm, First in 20 Years ( www.yahoo.com )
The real magic word ( sh.itjust.works )
Immich x FUTO Q&A ( www.youtube.com )
Short version of this interview is that nothing is changing, other than they're going to be asking a flat fee "$5-20" for the app, rather than relying on donations. All donation platforms have been closed. However, if you choose not to, as Louis says "that's between you and your God"....
got him ( lemy.lol )