@avidamoeba@lemmy.ca cover
@avidamoeba@lemmy.ca avatar

avidamoeba

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

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."...

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

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. 🤯

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Maybe I'm out of the loop when did Samsung commit? Isn't the article about it happening now?

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Anyone got a link to the source image?

avidamoeba ,
@avidamoeba@lemmy.ca avatar

This is important. I signed up a week ago.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

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 )....

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

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...

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Yes three are differences but you're running a redundant array of independent disks in order not to care about those differences.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Maybe go with a longer range RFID and implant it somewhere visible so there's less signal attention from clothes and such.

avidamoeba ,
@avidamoeba@lemmy.ca avatar
avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

Various interests who profit from underfunding education who present phones as the boogeyman that made education bad. I don't know, I'm just guessing.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Me 2.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Yeah that would be ideal. Only concern is if there would be enough skin to cover it.

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....

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Sounds like heavier bombs would keep the second number lower. 🧠☠️

avidamoeba ,
@avidamoeba@lemmy.ca avatar

I think it's the only way to reverse the corporate shit show that's taken over the country.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Just when you thought this couldn't get any more stupid.

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...

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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! 😊

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

"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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

What you suggested is what I imagine. Thank you for articulating it!

avidamoeba ,
@avidamoeba@lemmy.ca avatar
  • Preparations for a kernel panic screen as sort of like a Windows Blue Screen of Death (BSoD).

This is my favorite part.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

Joe is Hamas now.

/s

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Any word on extension data sync between Android and desktop?

avidamoeba ,
@avidamoeba@lemmy.ca avatar

And this is the most positive light they could put it under.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Just Bezos whining that he isn't getting them subsidies.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Scrub your disk storage arrays afterwards.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

Linux kids do not accept cookies.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

That's cultural appropriation.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

Me too, I subbed for monthly.

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. 😅

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

I meant assigning a return value then returning it is the sam as rnultiple returns. Anyway.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

That was the joke. 😂 I bet Windows is worse.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

goto cleanup is not the same as return. I didn't badmouth goto cleanup.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

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.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tech
  • kbinEarth
  • testing
  • interstellar
  • wanderlust
  • All magazines