• 0 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: April 10th, 2022

help-circle

  • It means do not test HOW it is done, only test WHY it is done. Obviously you cannot test an abstract interface, only an implemented one. However, you should not be testing HOW it is implemented. Instead, you should be testing that given X input you get Y output based on the expectations set in the interface.

    For example, take method F(x, y) that is designed to take in an identifier x and use it to fetch you a record from some persistence object y. Testing the interface of F(x, y) would mean testing that given the input x you get what you expect from the persistence object y. Testing the implementation would mean testing that F(x, y) issues a call to a specific method of y. For example, if y has an interface with methods getRecordById, getAllRecords, and searchRecords, testing the implementation means asserting which of these methods gets called (usually with a test using a mock object that can be interrogated in this way). Testing the interface means not caring which of these methods are called when satisfying the request for F(x, y)



  • freagle@lemmygrad.mltoAsk Lemmy@lemmy.world*Permanently Deleted*
    link
    fedilink
    arrow-up
    21
    arrow-down
    7
    ·
    1 year ago

    LOL. Really? You should ask people how they cope with you. IQ is nigh meaningless. The idea that other people don’t understand you because you’re smarter than them is ridiculous. People don’t understand you because of lots of reasons, but intelligence is usually not one of them. Intelligence generally makes it easier for others to understand you, because you can solve the problem of communicating better.

    The idea that being intelligent makes your way of life unintelligible to people who are not as smart as you is even more absurd.



  • Do I think what’s happening in China, NK, and Ukraine is worse than what’s happening in the West? Absolutely not. Turtle Island is under a 500 year occupation by European settler colonial structures that killed hundreds of millions of people in a program to make extinct all non-European ways of life.

    The occupation of the world by Western white capitalist men is still ongoing and still threatens to end cultures, national self-direction, biodiversity, and sometimes even all life on earth through nuclear escalation. The US has pulled out of so many weapons treaties, has poisoned multiple generations of Vietnamese, Japanese, Yugoslavians, Iraqis, etc. The man who designed and engineered the mass murder of generations of Southeast Asians, Kissinger, literally just went to China as a representative of the US. It’s non-fucking-stop extreme violence by white men.

    Vietnam, Cambodia, Laos, and Korea have all been bombed to shit by Americans, specifically. The amount of unexploded US ordinance in these regions is mind boggling. The amount of ordinance dropped by the US defies human cognition.

    Then we have the US-trained death squads using US-guided tactics to terrorize families and indigenous communities throughout the “Americas”, literally torturing and beheading entire families. The US torture program. The long history of Euro-US apartheid in the Americas, the support for South African and Israeli apartheid, the explicit opposition to ending South African apartheid. The emergence of Euro fascism replicating the US program of apartheid. The industrialization of mass murder.

    The US leaves open uranium waste pits in Indian territory, poisoning generations of native families. They destroy water and food supplies, on purpose, to maximize extraction and maintain genocide. The mass murder of the US buffalo was committed by the US military to be explicitly take advantage of a treaty clause that would strip the indians of the lands the US displaced them to. Canada is subject to many of these same critiques.

    And it never stops. It hasn’t stopped in 600 years. Name a country that isn’t part of Europe and it will have a centuries-long history of brutal domination by white people replete with genocide, torture, slavery, and theft in the billions. Haiti is still suffering under the debt the West levied on them for freeing themselves under the shared recognition by the West that slaves who revolt stole the property of their own bodies from their owners. The famines caused by England killed millions of subjects. All of the Western touting of poverty reduction has backslid and is built on the total subjugation of billions. If you take China’s poverty alleviation numbers out of the UN total count, the backsliding in Western-held territories leaves almost nothing to speak of.

    Yes, what’s happening in the West is many many many times worse than what’s happening in China, DPRK, and Ukraine. And we haven’t even talked about Libya, Syria, Afghanistan, the Berlin Conference, nuclear weapons testing in populated areas, environmental devastation by Western oil companies and the millions they kill, the must brutal embargo regimes inflicting collective punishment on hundreds of millions of innocent people for almost a century. The 600 global military bases. The predatory lending. The disgusting medical experimentation. The role of religion in all this.

    And despite all of this, you still think you have a leg to stand on. And that’s the icing on the cake - the amount of Western propaganda and indoctrination that enlists little children in propagating structural racism and violent extremism from a very early age. Indoctrination so thorough that 20 years of schooling are all completely and thoroughly aligned with the violent lies that perpetuate genocide and no one bats an eye. Where all mass media reinforces the dominant narrative and when people speak up millions shout them down. Where sex is worse than violence. Where violence is so normalized that children commit mass murder in their school on a regular basis. Where you and I can have a real conversation and you think it’s somehow logical to claim that what’s happening in China is worse than what’s happening in the West.

    It’s a terrifyingly powerful indoctrination, so it’s not surprising that you hold the position you do, but it is a position without a single shred of basis. It is 100% a set of false beliefs that perpetuate the centuries-long genocidal extraction and accumulation of wealth.

    Go learn history. The fact that you think I’m spouting “the exact same rhetoric” is fucking mind blowing. The fact that you think this is “media inspired” leaves me completely dazed and confused. What media do you think I have access to that pushes this? You think I watch Chinese TV? Russian TV? Iranian TV? You think they have the time and inclination to put out media programs that explain 600 years of global domination by white people? Motherfucker I am studying history and have been for years now and this is literally what happened. Nothing I detailed above is media hype. It’s literally YOUR history. Go fucking learn it.




  • The West literally subjugated 80% if the world’s population and invented religious, scientific, economic, political, and cultural justification for it. There is no death cult larger or longer living in the world today than the west. The only way to do what they did was to get their population on board. They propagandized their people the most thoroughly to do the most atrocities in the most effective ways possible in order to achieve that 80%. It’s not merely that they had steel. They also needed millions of people to believe that death was life, slavery was liberty, god is good and also god says we must kill, rape, and enslave all of these people. It is literally an understatement to call the West a fanatical death cult.

    And y’all are regurgitating Western propaganda in this entire thread when you parrot the bullshit that the theocracy has turned Iranian brains into mush. It’s straight up orientalism.

    Projection is when I accuse you of doing something I am already doing. I am not eating Iranian propaganda every single day from the day I am born to now. I am not educated by Iranian propagandists. My movies are not rewritten by the Iranian military. My TV is not owned by Iranian oil magnates. Instead you and I live in the West and our entire lives have been soaking in the most vile, most effective, and most pervasive propaganda in the history of the world. When you accuse Iran of making Iranians believe garbage, that’s projection. When I tell you your brain is rotten with Westoids worms, that’s not projection.


  • If you listen to anti-imperialist analysis by Iranians, it’s never been “Western disillusionment”. The West has always brutalized Iran, stolen from them, murdered them in droves, and destroyed their national self-direction. Nothing saved Iran from the West until the theocracy emerged and purged all of the Western influence. Iranians have the benefits of their own labor and their own resources for the first time in centuries because of the theocracy. And I don’t think any of them think theocracy is the pinnacle of Iran’s potential, but neither are they ready to liberalize until the West falls.

    Edit: Frankly, your whole contribution to this thread reeks of orientalism. In your world view, the Iranian people have all had their brains wrecked by authoritarian religious freaks and they’ve become disillusioned with the former vision for a civilized West. This implies that Westoids are normal people with functioning brains and that the problem is limited to some “bad guys” in the West that ruined it by being greedy.

    The reality is so different from the delusion your worm-eaten brain conjures up. The West has been mushing the brains of its people for centuries and the entire Western project has been to destroy, murder, pillage, and extract everything it can get its hands on with zero respect for life, dignity, truth, culture, or anything that makes life what it is. The West has been a fanatical death cult for centuries. There is literally no way to criticize a country like Iran the way you do without exposing yourself as a completely propagandized subject of said death cult.

    I don’t like the oppression of women nor the elevation of religion either, but that doesn’t mean I regurgitate Western propaganda.









  • Because the professional police force was first established to maintain slave society in the South. Then it was extended to maintain wage slavery in the industrial centers. Then when private slavery was abolished they were retooled to re-enslave freed black people by selectively enforcing new laws targeting behaviors of freed people (prison population went from 95% white to 95% black in a decade). Then they were extended to enforce the convict leasing program where the black people that the cops arrested were leased to former slave owners to make profits for the government. Then they were extended to take orders from factory owners to break strikes up to and including murdering unarmed workers. Then they were extended when local cops wouldn’t kill their neighbors, so the state police were built based on the US occupying force in The Philippines.

    They have always been this way. They have never stopped being this way. They cannot be reformed. They must be fully demolished and a net new structure must be rebuilt that supercedes the few legitimate parts of their role in society.

    This will never happen under capitalism.