You want actual theory? Here's theory:
10 karma · joined September 25, 2020
You want actual theory? Here's theory:
I didn't invent anything you said. I'm telling you what you should do.
>It's not rumours. There is genuine proof. My own government declared it as genocide after investigation (Canada).
Alright. Show me the pictures of the mass killings and the slaughter that's occurring in China. I want to see pictures of the executions and the graves. We have pictures that corroborate the events of Nanking and the holocaust show me the pictures of the genocide that's occurring in China.
>My comment was directed at the Chinese govt and whoever supports them (obviously knowingly). I didn't call his opinion disgusting. Please learn to comprehend at a level above that of the sixth grade.
This whole topic is about a comment calling the original topic disgusting. My comment is defending the original comment. You attacking me is agreeing with the premise. Stay on topic.
>Yeah and you are selectively applying your generosity in trying to understand those you disagree with to whatever suits your needs.
I'm not. Show me the pictures and proof of the "genocide" and I'll do a 180. I'll believe you.
Genocide is mass killings, not mass sterilizations. If you get very technical you can call a sterilization a killing but that's just a deliberate misuse of the term.
When someone hears the word genocide they hear slaughter. They don't hear oh that population was sterilized. Let's not be stupid about this.
https://www.oxfordreference.com/view/10.1093/oi/authority.20...
Look, mass sterilization is bad. But genocide? Under that logic anyone who ever got an abortion is a killer. Or maybe anyone who wanted to have a baby but changed their mind...
Colloquially when people use the word genocide they use it in place of mass slaughter, that is the intuition behind the word and that's how people use it. If you use the word genocide in place of mass sterilization, you and the organization who decides to use/define the word in that way are manipulating the perspective of the situation because Everyone is well aware of the intuitive meaning of the word "genocide". When people hear "genocide" they hear "slaughter" and "killing"... mass sterilization is the last thing they think about.
Here's a thought. Rather than use the word "genocide" why don't you just say "mass sterilization." Don't throw down a word that can be mistaken for slaughter for your own manipulative gain. You could have easily, very easily clarified your intent earlier, but you didn't because you are manipulative, or you don't know common colloquial English.
I vote that you're just being manipulative. The rest of your English grammar seems fine, you just want to start something rather than be level headed.
These are your words:
>You are sadly in good company when it comes to the history of denying genocide.
So now you're claiming we aren't even talking about genocide? That there is no mass slaughter? Seems to me ur changing the subject.
I'm not lying, but I could be mistaken. I'm not mistaken about the rape of nanking or the holocaust. There are pictures of mass slaughter, graves and even severed heads on the pikes of japanese soldiers to confirm the depravity and existence of these events. My own grandfather witnessed the events and tells me first hand accounts of the rivers of blood in nanking. The japanese denial is sickening, and you accusing me, a descendent of victims of such slaughter, as someone who denies genocide displays incredible immaturity.
I am not denying genocide, I am simply saying extreme accusations need extreme evidence. So your next task is clear:
Show me pictures of the same slaughter that you claim the chinese are doing right now. I promise you I will do a full 180 if you show me some actual pictures of the massacre that you claim is happening right at this very moment. Show me some dead bodies, executions... etc.. etc.
There is a huge difference here. When you say genocide, it is equivalent to holocaust. When you say concentration camp it's equivalent to gitmo at worst or the japanese concentration camps. Both could be happening but one is drastically worse than the other and genocide needs confirmation.
But in one example f and g can be reused in other contexts, in the other example the two functions are tied together by free variables. Haskell heavily promotes the latter style with do notation. Any function written in the first style is decomposable into component combinators, any function written in the latter style cannot be decomposed.
Imagine yourself in the shoes of the person who was killed by a bombing. Imagine yourself knowing family members or your kids getting slaughtered by these terrorist attacks.
Let me put it to you clearly. The situation is complex, no side is right, but to bury the action of one side and justify the actions of another because it's convenient for some stupid US-China rivalry is the wrong way to view it.
I'm not saying either side was right. I'm saying it's wrong to comment on how this is disgusting. It is a valid opposing perspective, just like how your perspective is valid.
What isn't valid is insults and a mass mob mentality.
We as americans vehemently disagree, but a chinese citizen, after witnessing several terrorist attacks by the Uighur which slaughtered hundreds of chinese people, will obviously have a different perspective. This isn't a one time isolated incident... these were multiple attacks occurring with no end in sight.
Rather than not minding insults to opinions you disagree with, why don't you have an open mind and post why you disagree rather then insult the person you disagree with?
The chinese actions are atrocious but an accusation of saying that holocaust level genocide is getting advocated here is a huge difference.
You can tell him he's wrong because you believe that the chinese are conducting genocide. You do not start a witch hunt by accusing him of advocating genocide which he obviously is not doing.
I don't condone the actions china takes but I don't want to read an exaggerated story either.
It's the same.
The US tried to justify over a decade of slaughter of terrorists and innocent bystanders abroad as a reaction to one terror attack on US soil.
Don't try to play word games here. None of this is actually justified. All countries are guilty of crimes.
The question I am posing people to consider is this: If several 9/11's happened on american soil. Buildings toppled, hundreds slaughtered by terrorism in multiple events with no end in sight and we find that the origin of these attacks rather than being instigated by one man from abroad is instigated by parts of a cultural community within US soil.
What is the action that should be taken here to completely shut down this problem once and for all?
Not a rhetorical question. I want some serious answers, but at the same time I also know that there is likely no solid answer and every action taken has a compromise.
Also keep in mind this is not a justification of ANY chinese action. None of it is justified.
You're 100% percent correct. What China is doing fits the definition of "terrorism." My question is:
Is is using terrorism itself as a means to an end to end terrorism worth it?
Keep in mind that the US reaction to 9/11 can in itself be defined as terrorism for what it did to the other countries. War is a form of terrorism. Perhaps it is much worse than terrorism as terrorism uses small acts of violence to produce a big effect while in war the big effect is the violence itself.
My own personal reaction to what happened with the US is that the war definitely went on for too long and the extension to Iraq was unnecessary. But whether a war was needed in the first place is something I'm unsure about.
Imagine you were there on the day of 9/11. How could you not go to war? The American sentiment was the same at the time... it had to be done. What other course of action is there to take?
What was going on through the minds of the Chinese everytime they saw slaughter after slaughter occur by terrorism on their soil? How could you not? What other course of action is there to take? This is a serious question. What in your mind should have been done instead?
I think it's a fair comparison. The amount of innocent bystanders killed by the the US military will be much more than what happens in concentration camps.
The difference is the wording. War sounds not as bad as re-education and concentration camps. This is because you're use to it. Change the word from war to slaughter, because that is what war is.. slaughter. It's not even an exaggeration... if you've ever seen a bomb or a bullet massacre a human being into a bloody mess, slaughter is a very appropriate word.
When you change the word you'll realize that war and re-education live on relatively the same level of extremism. Perhaps war is even worse than re-education or concentration camps.
The US slaughtered many soldiers and innocent bystanders in Iraq and afghanistan to end terrorism. The Chinese tortured and re-educated many people to end terrorism.
Which is worse?
"In July 2009, riots broke out in Xinjiang in response to a violent dispute between Uyghur and Han Chinese workers in a factory and result in over 100 deaths. Following the riots, Uyghur radicals killed dozens of Chinese citizens in coordinated attacks from 2009 to 2016. These included the August 2009 syringe attacks, the 2011 bomb-and-knife attack in Hotan, the March 2014 knife attack in the Kunming railway station, the April 2014 bomb-and-knife attack in the Ürümqi railway station, and the May 2014 car-and-bomb attack in an Ürümqi street market. Several of the attacks were orchestrated by the Turkistan Islamic Party (formerly the East Turkestan Islamic Movement) which has been designated a terrorist organization by several countries including Russia, Turkey, the United Kingdom, and the United States, in addition to the United Nations."
No doubt the efficiency that makes China so effective at arresting the spread of covid also makes atrocities like the concentration camps occur which will no doubt affect many many innocent bystanders. It is questionable whether or not this over-reaction will be effective, but despite this we know that China conducts these atrocities with the goal to end the violence once and for all under any means necessary.
The question is, is a successful quelling of all terrorism worth crossing the line?
Keep in mind the United States likely killed and harmed much more innocent bystanders with its' own allergic immune response to 9/11. It just didn't happen on our soil. We've crossed the line in the past as well.
The other point of this was to improve code modularity in every corner of your code. Why is this good? If all your logic can be shifted around then that means that you can reuse code to anticipate future changes.
The most insidious form of technical debt is unanticipated technical debt. You encounter it when a new requirement makes you realize that you can't reuse segments of your code. You realize that you grouped things together incorrectly. You failed to have the foresight to make your code more modular.
It's a problem people think they can solve in hindsight but they can't in reality because they cannot predict the future so they will inevitably group code incorrectly. And therein lies the problem: grouping. Don't group your code. Make all your logic modular and just organize your code with superficial schemes like namespaces.
The problem with OOP is that the very nature of an object is a grouping. OOP is all about grouping the code around shared mutable variables within a context. You are forced to assume a grouping and you may be right in some cases (like cruisecontrol) but you will inevitably be mistaken in many other cases. This "mistake" is the origin of the most insidious form of technical debt.
The other problem with OOP is that they think that this style of programming is modular. They have no idea how un-modular it is. So they use it extensively with patterns thinking they're improving modularity.
The most modular primitive is the combinator. That is why to prevent technical debt as much as possible, the key is to move as much code as possible into the combinators.
//combinators
CruiseSpeed = int
CruiseSpeed getNextCruiseSpeed(bool cruiseControl, bool cruiseSpeedSet, int cruiseSpeed, int currentSpeed) {
if cruiseControl && cruiseSpeedSet
return cruiseSpeed - 1
elif cruisControl && !cruiseSpeedSet
return currentSpeed
else
return cruiseSpeed
}
bool getNextCruiseSpeedSet(bool cruiseControl, bool cruiseSpeedSet){
return cruiseControl && !cruiseSpeedSet ? true : cruiseSpeedSet
}
//IO functions
void getCurrentSpeed()
bool isCruiseSpeedSet()
void setCruisSpeedSet(bool cruiseSpeedSet)
void writeSpeedToEngineComputer(CruiseSpeed x)
void handleButtonPress(bool cruiseControl, bool cruiseSpeedSet, int cruiseSpeed, int currentSpeed){
speed = getNextCruiseSpeed(cruiseControl, cruiseSpeedSet, cruiseSpeed, currentSpeed)
cruiseSpeedSet = getNextCruiseSpeedSet(cruiseControl, cruiseSpeedSet)
writeSpeedToEngineComputer(speed)
setCruiseSpeedSet(cruiseSpeedSet)
}
Your example uses free variables extensively. It means that all your logic cannot move outside of the context of the free variable which means they cannot be reused. Even IO functions should not use external context.Combinators can be reused everywhere.
Don't back out, I'm not fighting for the last word. I'm having a discussion with you in hopes you can convince me. But you haven't really said anything substantial other than things along the lines of "Trust me I have lots of experience, your stuff is just theory."
If you start introducing the real arguments then this discussion can actually go somewhere.
If you have to know I'd say I have about 15 years of experience in research, gaming, embedded and web. I will say that the pattern I described can be followed in every one of those fields but it's a niche pattern because it is indeed promoted by people who do FP.
I don't know why you focus on embedded, but embedded people tend to follow these patterns the least due mostly to C++. The overall promoted pattern in C++ is to pass references everywhere and it's highly unlikely that someone in that world will follow this pattern because you have to go out of the way to do it and learn about it. It requires a disciplined approach.
The big problem is if you need to slightly modify a bunch of values in an array of 100 objects. It's hard to figure out the right way to do it in a combinator. The common pattern used nowadays is instead of having combinators handle it, have the combinators generate logical instructions to send to the IO function similar to how in web development your stateless servers pass SQL instructions to the SQL server. The IO function processes the instructions and handles the threading, mutation and IO. Here's a library that does this:
https://github.com/google/cpp-frp <---- real world example.
Nothing I said is "theory" in the sense that you put it. These are rare but actual patterns that are used successfully by people in the know. You are not in the "know" despite your experience. As a result for most of your program experience you've just been dealing with and fixing mess after mess after mess.Doesn't change the fact that you're wrong and 35 years of programming doesn't ensure that you're a good developer. There are examples of crap code and patterns that have been around perpetually.
>Why is state data used everywhere? Because embedded systems often respond in different ways depending on the state of external inputs
State being everywhere doesn't preclude it to being segregated from logic.
>If those decisions are spread through the bulk of the code, there's really not much left to put in your combinator. And there's no point in trying to add that paradigm to a system that's going to have tons of shared mutable state anyway.
The decision is what goes in the combinator.
#IO functions.
Data getIOFromModuleA()
void sendIOToModuleA(Response r)
Data getIOFromModuleB()
void sendIOToModuleB(Response r)
....
# combinators, reuseable in both module A and module B because of segregation from IO and State
Decision makeDecision(Data x)
Response createResponse(Decision x)
It's the same pattern for State. Just replace the word IO with State. Response can be anything, it can be the entire new state of the program. It can represent a delta of a change, it can be a response specific to a module. Also again, all threading commands go into State or IO functions.OOP fails to segregate code this way and if you don't organize your code like this then you have 35 years of experience of navigating someone elses mess or your own.
When someone says chinese people have slanty eyes it's a stereotype but an aspect of it is true. Many many chinese people do have slanty eyes. When most of china says American blue collar workers aren't hard working, when china manufacturing out performs the US, when every chinese person I know won't hire an American worker... Trust me... Is it racism? Yes but a large aspect of it is true.
People like you don't like to believe certain things so you're unable to use anecdotal evidence to verify anything. You hide behind science and demand quantifiable research. As a chinese person I don't need science to verify the racist statement that more chinese people have slanty eyes than white people, because I don't hide from reality. It's a truth that is real. Many things are obvious without science.
The problem with other people like you is you hide behind racism as well. The reality of this world is that not all people are equal and all races have certain idiosyncrasies in behavior and physicality originating from either genetics or culture that fit a general truth. When someone says something racist or stereotypical that asians are generally shorter than white people or asians have slantier eyes or asians do better in school or asians are harder working... If you analyze these statements and are unbiased you would know that these statements illustrate a truth about reality that you are denying yourself of because of self inflicted blindness. I'm assuming you're white and I can tell you as much as I don't like to hear a white person say things about slanty eyed chinese people I have to objectively admit it's true EVEN without scientific evidence because I can make judgements about the world without it. So when I say that my people think americans workers are lazy, slow and unskilled workers you tell me how much of it is true and how much of it is made up for no reason.
Maybe you don't like to hear that my race and many chinese people think americans are lazy. Maybe you don't like to think that an aspect of this is true. Whatever. At least maybe you'll understand one thing: Foxconn does not give a flying shit about building a factory in the US. They don't care and they have no intention of doing so because if they did they could make it happen but they don't. This is a company that built millions of iphones... they wouldn't have the comical screw ups you see in the article if they gave a shit. Hopefully your mind can digest this fact without scientific evidence.
As for your own anecdotal experience in Asia I can only say that if you're white then your experience is colored. Asians will treat you extremely differently, and likely you won't hear an asian call you a lazy factory worker. They won't even hire you for such a role, most likely you'll be hired to be in some bs management role or teaching English if you're a white guy in china. Your experience will be largely shielded. The stuff you heard chinese people saying unfiltered in the conference room is something you won't hear just the same as how I don't hear all the shit white people say about asians. I have to live in the US for at least a decade before I sniff out aspects of the crap that's talked about among white people in private. But consider this, there is a huge anti racism movement in america that goes to the point of absurdity. I can't say anything about a race even if it's true because it will be construed as racism. So even in many white circles the individuals either keep their traps shut if they have racist thoughts or they buy into the whole movement. Which one are you?
Oh and it's legal to talk shit about your own race in this movement. I can say asians have slanty eyes because I'm asian but if a non asian says it than he or she is a racist. Pretty logical rule.
>Every single thing in this lengthy article comes together to make one clear point: they had no plan at any step of the way and just tried to BS it all, and they've done it several times around the world.
And I'm saying there's a reason for this. It's not an accident. It's because they don't give a shit about American workers. They think American workers are inferior. They don't want to put any real money into the project they bought it up for some ulterior motive.
Not only American factory workers. But many places in the world. It's hard to beat the industriousness of Chinese workers.
I'm not gonna lie, I don't have hard evidence. I'm just guessing the situation but it's also somewhat obvious. You seriously think if China (taiwan technically) was serious about investing in blue collar workers in America they would let it just slide like this? We're talking about the fastest growing economy humanity has ever seen that has transformed from a backwards 3rd world country to a super power within your lifetime. They will eat up and devour any opportunity or deal in front of them. Why would the Chinese miss out on the American Factory Worker???? Probably because they don't give a shit.
The following isn't evidence but if you read my post and watch the linked video... it is an actual short snippet of a real life example of a serious chinese investor who tried employing American factory workers: https://news.ycombinator.com/item?id=24834199
American factory workers can't hold a candle to chinese industriousness. You think those Asian dad memes don't have an actual origin?
https://www.pinterest.com/lindaschloss/asian-father-memes/
Those memes aren't that far from the truth.
watch the movie if you're interested.
Just watch it. I'm an american born chinese. I'm basically a lazy bastard like every other american. If you go to china you'll see these people are industrious af. They will work their ass off no question under slave labor until they kill themselves. You've heard of the nets to prevent suicide in Foxconn right?
The movie spins the whole situation as a cultural problem. This is partly true. The other part that is 100% true is that Chinese people work 400% harder and faster than you or I. I know from anecdotal experience both from going to China, working in a chinese store with other chinese people under my mom as a kid (and getting fired by my own mom for not being as efficient as the other chinese people) and watching this movie. It's real.
Either the topic is deliberately being avoided or the writer doesn't know.
Foxconn is not stupid, they've done such a thing before when migrating manufacturing to China. If American workers were good they'd take this project seriously too. They aren't, and the screw ups are just a result of certain executives not taking the project seriously and not providing enough resources to lower management.
This project was done for optics. It has an ulterior motive because it's not logical to hire workers in America when you can get better workers in China.
It's another thing for blue collar american workers to get paid more and be 10x slower and worse at getting things done.
Also note that open source developers like all humans cannot live without getting paid. This means that most open source developers are usually also closed source developers. Some of you though are lucky enough to get paid to develop open source but that's rare to get paid to develop something that's given away for free.