• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • Because you would be using std::shared_ptr<> rather than a raw pointer, which will automatically deallocate the memory when a shared point leaves the scope in the last place that it’s used in. Along with std::atmoic<shared_ptr> implements static functions that can let you acquire locks and behave like having a mutex.

    Now this isn’t enforced at the compiler level, mostly due to backwards compatibility reasons, but if you’re writing modern c++ properly you wouldn’t run into memory safety issues. If you consider that stretching the definition then I guess I am.

    Granted rust does a much better job of enforcing these things as it’s unburdened by decades of history and backwards compatibility.







  • At the (SQL) database level, if you are using null in any sane way, it means “this value exists but is unknown”.

    Null at the SQL means that the value isn’t there, idk where you’re getting that from. SQL doesn’t have anything like JS’s undefined, there’s no other way to represent a missing value in sql other than null (you could technically decide on certain values for certain types, like an empty string, but that’s not something SQL defines).





  • Linking to the great firewall article is completely nonsensical in this context, and you would be aware of that if you had bothered to open the link in my previous comment.

    just so we on the same page, I’m talking about data is gathered, not whether it’s protected ( legally ) , idc

    Which is exactly what I’m talking about, which you would again know if you read what I linked.

    I’m not a lawyer but I think somewhere in the DSL it mentions data is collected from companies within China and outside

    It doesn’t, what I linked to discusses the very laws you are talking about at length if you are actually interested rather than just spouting nonsense like “it’s in the constitution”.

    Just so we’re on the same page you have no idea about Chinese laws on gathering, processing and handling of data, but you heard it somewhere, repeat it, won’t bother to research further and then claim there’s no propaganda.

    but why is it hard for you to swallow, knowing that US based companies ( with all the power they have, lawyers… Etc ) comply with data collection laws

    Because they don’t. Evidenced by all the fines the EU is handing out to google, meta, etc. You could also look to all the stuff Snowden blew the whostle on. Do you think they just stopped doing mass surveillance on a global level?


  • especially when you know that that country is heavily invested in cyberwarfare, espionage and censorship.

    Which country isn’t? The US does more spying on its own citizens than China could ever dream of doing. The UK is currently trying to pass a bill to break e2ee.

    Even their constitution states that every Chinese product ( software or hardware ), must send data it collects to the government.

    This is false as far as I know, can you provide a source? China has some of the strictest laws on data protection, you can read more about it here: https://academic.oup.com/idpl/article/12/2/75/6537091?login=false

    This is like Apple saying your Android spies on you… lol ( I believe they did say that )

    Not sure where you were going with this. My point is you don’t hear any of these concerns raised about any other and as we both agree it’s not something unique to China.

    The real reason why you hear a lot of talk about moving production out of China lately is simply because Chinese manufacurers have narrowed the the gap a lot in terms of chip designs and are becoming an actual threat to western comanies’ profit margins.


  • Now, is all these news nothing but propaganda?

    Literally yes, not because chinese companies don’t spy on you, literally all companies spy on you. You prove it by linking a video about samsung. Google and Apple do the same shit. The fact that software is riddled with spyware has nothing to do with the hardware being manufactured in China. China isn’t some big bad, moving production elsewhere will change nothing. Lastly you should be far more concerned about western companies spying on you, the ones that cooperate with your local government and leave backdoors in their OS for NSA and the like. What do you think the CCP is gonna do to you? You’re outside of their jurisdiction completely.

    So yes it js just propaganda, in a sense that it’s trying to make you think this kind of behavior is somehow unique to Chinese companies or a result of tech being manufactured in China.



  • Saizaku@lemmy.dbzer0.comtoMemes@lemmy.mlDefediverse
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    You said “directly responsible,” which means all or most of the blame in a given situation.

    No it doesn’t, it means exactly what it says. The actions of the US directly led to the war.

    I just said Russia was solely responsible, because they chose to invade.

    Completely oblivious take. Tell me why did the US arm and train ultra rightwing groups in ukraine well before the war started? Going as far back as 2013. What was the goals there exactly? You should take your own advice and read a history book cuase the US has been destabilizing regions like this for a while. And every single time it has led to war in the region where they did it. So yes, the US is directly responsible, because this is exactly what they wanted.

    just stop licking Putin’s boot

    Is this supposed to mean anything? I’ve never said a positive thing about Putin in my life. Two things can be bad at once, trying to boil everything down to “Russia bad, NATO good” is completely disingenuous. Furthemore it’s detached from reality. Both are bad, a critque of NATO and the US for the part they played in making tha war happen isn’t absolution for Russia invading and escalating it to war.

    And the reason all that is important is because, like I said, this isn’t anything new. The US has been doing the same thing for decades and will keep doing it as long as people like you keep ignoring it and spouting such nonsensical takes.



  • Saizaku@lemmy.dbzer0.comtoMemes@lemmy.mlDefediverse
    link
    fedilink
    arrow-up
    7
    arrow-down
    13
    ·
    edit-2
    1 year ago

    You libs are the absolute fucking worst. When did I say that the US is solely responsible? Ofcourse the majority of the blame lies with Russia and Putin, that doesn’t excuse what the US has done to contribute to this war happening. And this isn’t some new thing, they have been doing this for decades and constantly destabilizing other regions for their own profit. You should try for once to think a bit deeper about an issue than the absolute surface.



  • Saizaku@lemmy.dbzer0.comtoMemes@lemmy.mlDefediverse
    link
    fedilink
    arrow-up
    14
    arrow-down
    25
    ·
    1 year ago

    Yeah I wonder why, maybe it’s because they are directly responsible for the current war. Maybe the US should stop arming extreme right wing groups whenever they want to destabilize a region like they did in Afghanistan and Iraq and in Ukraine prior to the war. Nato is proudly posting images of soldiers with the black sun on their uniforms on twitter but I guess that’s completely irrelevant.