Diiv

1.5K posts

Diiv banner
Diiv

Diiv

@Diivanand

Staff/Principal Engineer @ Apple. B.S. EECS Berkeley. M.S. CS GaTech. Malaysian-American. Childhood hometown: Boise, Idaho. Happily Married. Opinions my own.

SF Bay Area, CA انضم Temmuz 2012
108 يتبع73 المتابعون
Diiv
Diiv@Diivanand·
Off the top of my head Japan, Singapore, South Korea, Germany, Malaysia: (That’s 5 not 1) If you count autonomous in dispute areas there’s also Taiwan and Hong Kong (but Hong Kong is now pretty much fully integrated with China). Singapore was a swamp in 1950s post WWII and Malaysia was a jungle. Both became the 1st and 2nd most developed countries respectively in SouthEast Asia among all such countries with populations at least at 2 million or greater. Granted they did have socialist programs paid for via taxation on capitalism like universal Healthcare, housing, and transportation.
English
0
0
1
1K
Diiv
Diiv@Diivanand·
@LibertyCappy Yeah 1st, 2nd, and 3 rd world is Cold War terminology meaning whether you allied with US, USSR, or neither. The modern more accurate term for how developed countries are is using HDI or Human Development Index. en.wikipedia.org/wiki/Human_Dev…
English
0
1
29
4.2K
Declaration of Memes
Declaration of Memes@LibertyCappy·
Bro WHAT Japan and South Korea first world but Taiwan and Singapore third world? North Korea 2nd world? In what universe is Turkey and Greece 1st world but not Hungary and Czech Republic? Latvia / Estonia 2nd world really? South Africa first world? LOL What an abomination
Declaration of Memes tweet media
English
921
79
2.1K
660.5K
T4Man
T4Man@T4man1603·
@LibertyCappy Most people have no idea where these terms came from or what they mean. These are Cold War designations. In general, 1st world = US/Western powers alignment 2nd world = Soviet Union alignment 3rd world = Everyone else It had nothing to do with GDP or standard of living.
English
84
40
2.3K
47.3K
Mark
Mark@maritimetank·
The real answer is that there is no possible way to divide the world into <10 countries without rampant insurgencies and this was a low effort post based on what I think would work out if everyone got over their ethnic and religious differences. The Asia bloc is roughly aligned based on a highly complimentary economic system where Australia provides raw materials, SEA provides labor, China provides mass processing and industrial capacity, and Japan provides high precision engineering. Africa today is not the same as Africa in the 20th century. There's still conflicts but there's real effort for cooperation (see Africa Union) The brown bloc is obviously the most volatile due to religious / historical friction, but there's plenty of existing synergies of Middle Eastern oil capital plus Indian human capital
English
1
0
12
1.8K
Diiv
Diiv@Diivanand·
No offense or disrespect but I find it amusing how you assume all of East Asia and South East Asia would happily converge with China. And how India would somehow be fine with converging with Middle East and South Asia or vice versa. Both situations would result in rampant civil wars if you knew the geopolitics and histories and religious or ethnic tensions of these regions. Heck even the pink USSR rebuild there would probably have Civil War. Africa already has numerous Civil Wars within the current nations. The only ones in this pic that has the best chance of working out Is the Western Europe one, the North American one, and maybe the South American one. That’s my take at least.
English
1
0
23
2.5K
Mark
Mark@maritimetank·
@sporadica Easiest division ever
Mark tweet media
English
29
0
87
19.7K
Diiv
Diiv@Diivanand·
@BarryOnHere The number of people taking your rage bait so easily Shows that sarcasm and cynicism are somewhat cultural and some places don’t understand that And give you the increased engagement you’re expecting from all those folks trying to correct you thinking you’re being serious.
English
0
0
1
467
Diiv
Diiv@Diivanand·
TLDR: If you are writing well written Go, Java, C#, or Rust code for your web microservice, it doesn’t matter which of these you choose and all are easier to learn to use correctly than C or C++. Longer explanation: They all perform very well in terms of scalable non-blocking io-heavy concurrent multithreaded containerized web microservices running in whatever environment you’ve deployed them into. There isn’t much difference for 95-99% of company use cases out there as long as you aren’t talking about real time embedded systems or video games in which case usually C, C++, or Rust would be better due to the manual memory management thing. But modern garbage collectors are good enough for most web service use cases. So just choose the language that makes you and your happy. Although Python has significant performance issues for microservices due to that Global Interpreter Lock and its advanced syntax is hard for compiler to optimize unlike the other languages, but if you’re doing something related to AI, Machine Learning, or Scientific Computing then it has the best libraries so for certain use cases that’s fine too. So there really isn’t a “best language”. Just make sure you understand your CS fundamentals and know how to write code that ends up compiling or interpreting into efficient assembly code under the hood.
English
0
0
1
15
Diiv
Diiv@Diivanand·
Your last 3 points I agree witt but the first one less so. Go isn’t really “fast like C” because it doesn’t use manual memory management like C and has automatic garbage collection like Java, C#, and Python. Yes Go is compiled instead of interpreted but that alone isn’t enough for performance. So at your 99 percentile or 99.9th latencies you’ll usually see performance dips due to increased latencies when the heap utilization gets high enough and the garbage collection pauses start triggering. The dips usually aren’t too bad but in real world systems all automatic garbage collection systems have that same behavior under intense load. Nothing wrong with it especially given the other 3 points you mentioned. And manual memory management languages are harder to program correctly and you can cause security issues due to memory bugs. But manual memory management languages are more consistent at their tail latencies. So “Rust” would be the closest modern equivalent since it actually does achieve C or C++ level performance at those tail latencies since it is a manual memory management language, But it is designed to catch those memory leak errors at compile time. The tradeoff is thst it has a higher learning curve because of the borrowing/ownership and lifetimes concepts you have to lesrn and master to write Rust code that will compile correctly.
English
1
0
0
24
Ritesh Roushan
Ritesh Roushan@devXritesh·
Guess the programming language dev
Ritesh Roushan tweet media
English
57
1
56
12.5K
Diiv
Diiv@Diivanand·
Of course nobody is saying he was a great President during his 2 terms. (2000-2008). He turned a budget surplus into a budget deficit and the President after him (Obama) had to basically fix up a struggling economy (Great Recession). This is just talking about that 2011 CSPAN interview. In fact at the time it was thought the bar couldn’t go any lower in terms of Presidential quality….. I think now everyone has learned that no matter how advanced as a society we are, The bar can always go lower if our education systems aren’t good enough in generating well informed voters with good ethics and understanding of the importance of Constitutional protections on basic freedoms and civil rights.
English
0
0
0
18
guriofiunta
guriofiunta@e_berniebromo·
@Diivanand @CryptidPolitics @GovPressOffice Maybe he was so good at predicting it because he ushered all those “isms” into power himself. The man declared war on the Muslim world and targeted LGBT people throughout his presidency.
English
1
0
0
29
Diiv
Diiv@Diivanand·
@e_berniebromo @CryptidPolitics @GovPressOffice I’m sorry but did you watch the video? He literally is saying the opposite of what you just said? In that video/interview from 2011 he talks about the racism and prejudice and failed nativist economic policies in the 1920s and how he’s concerned if it might be coming back?
English
1
0
0
17
Diiv
Diiv@Diivanand·
Yeah when he starts talking about how he’s concerned about the 3 evil triplet “isms” (isolationism, protectionism, nativism) that seem to be possibly coming back, And gives actual examples like the terrible Hawley-Smoot tariff law which was a partial contributor/exacerbator to the Great Depression, and the horrible anti-immigrant sentiments back then against Jews/Italians/Irish It was so surreal it’s like he predicted all the political extremism, geopolitics, and economics that’s happened since 2016. I remember how he was portrayed back when I was a kid and it’s so different than the guy in this interview who seems pretty smart.
English
0
0
1
24
Diiv
Diiv@Diivanand·
Using the accepted definition of the binary operators addition and multiplication on the field of Real Numbers with the accepted expression parsing definition of addition and multiplication being left-associative and multiplication having a higher operator precedence than addition, then the answer would be 12. (Your calculators also implement these exact same parsing rules). The answer should be 12. So both options are incorrect. 6+6+6*6*0 ( (6 + 6) + ( (6 * 6) * 0) ) I never understood why people keep posting these nonsense expression things since it’s a well known universally accepted parsing rules so there is never any ambiguity unless you don’t remember the rules.
English
0
0
3
5.4K
Puzzles
Puzzles@Puzzlesonly·
6 or 0
Puzzles tweet media
8.5K
427
12K
28.1M
Diiv
Diiv@Diivanand·
Hmm I wouldn’t say that at least not the ones I know outside of social media. I grew up in a Republican area (Mormon majority part of Boise, Idaho) but they were not filled with hate like this new batch of terminally online folks in this X app. They were kind and compassionate people. My family was Democrat but My Republican teachers would talk about how we were a country of immigrants and the horrors of slavery and sad treatment of Native Americans and internment of Japanese and the atrocities of the Holocaust in Germany and bad treatment of East Asians and SouthEast Asians by Japan during World War 2 and how we should never repeat all those horrible things and be better humans. But also on all the positive contributions of many different immigrant and slave groups who built up this country. It wasn’t “woke” it was just history and it was taught. And teachers didn’t care if your politics was different than theirs both my Democrat and Republican teachers were like that. Same with our neighbors. We read and analyzed the Constitution and works of Paine, Montesquie, Jefferson, Madison, Frederick Douglass, MLK, etc etc But now suddenly since maybe 2016 you see all these extremist viewpoints going viral on social media. Like the stuff you see in “Hotel Rwanda” movie with all this Ethnic Hate Mongering against various religions/races/ethnicities. I think social media may have been one of the worst things to happen to human kind or maybe it’s anonymous social media that’s the problem. Maybe removing the anonymity is what is needed?
English
0
0
0
67
Jackson Harlem
Jackson Harlem@JacksonHarlem·
🚨ALL OF A SUDDEN America Has All These SOUTH ASIAN “East Indians” In Our U.S. Government🤔🇺🇸
English
429
913
4.3K
264.2K
Cryptid Politics
Cryptid Politics@CryptidPolitics·
@GovPressOffice Democrats hated George W. Bush when he was in office and couldn’t wait to get rid of him. You’re only praising him now because he has been a Trump critic.
English
11
1
44
2K
Diiv أُعيد تغريده
Tim Cook
Tim Cook@tim_cook·
50 years of Apple, 50 years of innovation. Thank you to our teams, our users, and everyone who’s been part of the journey. #Apple50
English
1.3K
6.2K
38.3K
1.6M
Diiv
Diiv@Diivanand·
Respectfully they clarified they did intend that because the 14th amendment was in 1968 and 30 years later in 1898 the Supreme Court (which has the final say on Interpreting the Constitution via Judicial Review established by Marbury V Madison) Ruled on this: “ United States v. Wong Kim Ark (1898) was a landmark Supreme Court case that affirmed birthright citizenship under the 14th Amendment, ruling that a person born in the U.S. to Chinese immigrant parents was a U.S. citizen. The Court held that Wong Kim Ark, who was denied re-entry to the U.S. after a trip to China, was a citizen because he was born on U.S. soil and his parents were not diplomats or enemies. This decision established that the Citizenship Clause applies to all people born in the U.S., regardless of their parents' nationality or immigration status, with few exceptions.  “
English
1
0
2
89
Expulsio_statim
Expulsio_statim@Expulsio_statim·
@ratlpolicy They wrote 150 years ago what they intended. The author explained extensively that in no way was it intended to cover foreigners.
English
1
0
1
770
Diiv
Diiv@Diivanand·
@AaronsDay @nypost Ah ok thanks! Scary though that’s why I try to be alert at stations these days been reading too much news about this kind of stuff.
English
0
0
0
30
New York Post
New York Post@nypost·
A schizophrenic criminal lurked behind an unsuspecting straphanger, waiting for a Seattle train to approach before giving him a huge shove toward the tracks, heart-stopping video shows. trib.al/mchN1IM
English
138
163
601
114.4K