You can see how ReadOptions is written on this link [2]. It's interesting they use a `cdef class` from `Cython` for this.
This doesn't solve all issues (the ReadOptions object and the others will inevitably have a bunch of default arguments) but I do think it's safer and it's easier to have a mental map of the things you need to decide and what's decided for you.
I've talked about this topic with many people and it seldom matches the opinions of many people here in hacker news. I wonder if hacker news is biased towards a specific type of people that is less social / more family oriented / etc? (Of course, the people I meet in real life could be the more biased sample)
I noticed that very technically focused people tend to underestimate the importance of communication. They dislike daily standups, coordination meetings, don't really value informal exchange. All these things take their time out of what they want to do - deep work on solving technical problems.
There's often the hidden assumption that "solving technical problems" equals "creating value", but that's not always so. Lack of communication often leads to solving the wrong problems, solving more general/complex problems than needed, overengineering the solution over actual needs etc. To avoid this, it's a good practice to talk about stuff you work on and getting feedback from other people, including questions you yourself did not think of.
I used to prioritize communication and collaboration because I’m better at it than most engineers I work with. A problem emerged where I noticed that come review and promotion time, I was always coming up short due to concerns about lacking technical seriousness. My interview performance was also suffering due to not spending enough time in the codebase.
I deprioritized collaboration as a result and now I get much better results. It’s not an issue because I am happy to explain the trade off up-front to anyone who asks. My job title is “software engineer” and my job role is to ship code. If you want me to be a staff+ engineer, engineering manager, or PM, happy to chat about a role change, but until then collaboration needs to take up a minority of my time.
That's an interesting experience. I agree that this advice is probably more valuable to people who are already quite senior technically. Before that, it might be better to simply focus on sharping your technical skills. Reflecting on my experiences, I remember junior-ish people who chose to focus on communication rather than technical skills - without being able to back their communication with hard skills, they seem to kind of drift toward scrum master / project manager role.
But once in a senior position, a person should start thinking "larger" than just their own code, especially if they want to further advance.
> but until then collaboration needs to take up a minority of my time.
For sure. I would say from Staff position upwards, the collaboration aspect might take a larger chunk than pure engineering.
> I noticed that very technically focused people tend to underestimate the importance of communication. They dislike daily standups, coordination meetings, don't really value informal exchange. All these things take their time out of what they want to do - deep work on solving technical problems
I’d say you’ be taken the wrong lesson from your observations.
Big formal coordination rituals typically are simply round robin of 1:1 communication. Occasionally 1:3, but never ever 1:n when the speaker isn’t management.
The reason is simple. Tasks are often independent. In that case, there’s no one to coordinate with, beyond updating the person running the status board. Even when there is a take that needs coordination, that coordination is already happening, just not at that place.
Or in other words, people that get the most out of these rituals simultaneously overestimate the average degree of connections in the social network, and underestimate the amount of communication that happens outside of their immediate view. Call it a bias in a local a hub in a network.
Are you saying that the US does believe in a rules-based international system? Let's count the number of countries the USA has invaded vs China...and the government topples with the help of the USA vs China
Yes. Most every one of those invasions was preceded by international diplomacy and coalition building. China/Russia dont care for the UN or building consensus with allies. They are willing to just go on the word of a supreme leader. We might not like the outcomes, but the US does accept that the international stage is governed by rules. That is why a country like canada feels no threat from the US wheras every country bordering China/Russia lives under threat.
In the last 100 years, Which US invasions were unilateral? Even panama is a stretch given the diplomatic history prior re the cannal. There has been nothing like crimea/ukraine.
The US went ahead with the Iraq War after failing to gain approval with the UN. That was when they made up their "Coalition of the willing" as a weak justification. You might say, "At least they sought approval in the first place, unlike Russia," but the fact that they ignored the UN decision shows that they weren't actually seeking international approval, or any sort of coalition.
And which flag now flies over Iraq? Like or hate the war, but it is clear that the US never intended on taking Iraq as a colony or US territory. Russia wants to literally own bits of Ukraine forever. China intends to literally own Taiwan. And I wouldn't describe the UK involvement lightly. 40k+ troops, roughly one-in-four, and a greater percentage of front line troops, was a solid partnership.
>the US never intended on taking Iraq as a colony or US territory.
That's not how it works. And we can discuss this, but it's a change of subject. The topic was whether "the US does accept that the international stage is governed by rules", which is false. If you want to acknowledge that, then we can move on to the topic of puppet states and sovereignty.
Whatever flag now flies over Iraq, or whether the US and UK had a "solid partnership" (whatever that means), has no bearing on whether or not the US invasion of Iraq violated international rules. It was still an illegal invasion. Moving the goalposts won't work here.
Why would one spend resources on providing someone with benefits of citizenship, when a neocolonial practice of establishing a puppet government is enough for one's goals?
So? Three hundred years ago the US was a British colony. Canada was technically a UK colony until the 1980s. The history of colonies and empires is interesting but not particularly relevant to international relations today. Countries don't buy and sell other counties anymore. Hong Kong was perhaps the last.
> Three hundred years ago the US was a British colony.
Strictly, parts of the modern US were separate British colonies (colonies of the Kingdom of Great Britain, not the UK, which is newer.)
> Canada was technically a UK colony until the 1980s
Largely, it should be noted, because the Canadian provinces couldn’t agree on a method for amending the Constitution domestically to replace British Parliamentary authority.
> Countries don't buy and sell other counties anymore
I mean, Trump wanted to buy Greenland, but generally overt sale of inhabited territory is somewhat passé. Less direct means of buyingn coubtries are still, at least, actively pursued, if not always successful.
I don’t think people in central and South America, Vietnam, the Middle East, and so on were happy when diplomacy and coalitions were built against them to instate dictatorships and/or kill millions.
America satisfies its allies. Those Allies are happy to be the enemies of China and Russia for financial benefits and some border protection . Who, despite your comment, do build consensus with their allies and they’re content with being enemies of the US also in exchange for financial benefits and border protection. All 3 countries have their own spheres of influence and all 3 project themselves to be heroes while one of the others is a villain at all times.
The OP is right here—jingoism on HN because of a balloon is something beyond what is normal here.
Rules being what their allies agree on. Each of those countries get a bunch of allies who readily say what they’re doing is just while their opposing country isn’t following any sort of international protocol.
From your point of view, I can see how China is bad and the USA is good. But ask someone whose country got invaded by the USA or whose bloody dictator got supported by the USA. Over here in Latinamerica we still remember the horrible things that the USA did. It seems to me (but I could have a false perception) that China is a horrible bully in their corner of the world (nine dash line and, of course their will to invade Taiwan), but their foreign policy is order of magnitude less intrusive (i.e. they don't invade or topple countries on the other side of the world).
Every major country has their faults, but the US definitely has a larger surface area for these faults as the only superpower left. On the other hand, as the only superpower left, we're fortunate the US exists as a stabilizing factor for world peace, rather than colonizing the rest of the world like every superpower before it.
Lol, yeah, those aren't just faults. Destabilizing the entire middle east isn't just an oopsie you can write off, it's what you call "stabilizing" usually looks like. Your discourse is basically what everyone thinks of their own superpower, as long as they aren't on the receiving end of those "faults".
Colonialism still exists in a sense, but explicit force became unnecessary with the creation of the IMF and loan terms that allow for American and European firms to both extract resources and keep all the profits.
No one is forcing any country to take an IMF loan.
And if you think the IMF loans are so onerous, consider why Pakistan, which has allies in both China and Saudi Arabia, both of whom have lent it money in recent years, is going begging to the IMF instead.
And if the IMF is a tool of colonialism, why it is refusing to give money to Pakistan unless it agrees to measures such as the current administration not immediately using that money to fund a subsidy in oil prices right before an election. As opposed to the Saudis and Chinese who impose interest rates in the low 30%s, and acquire ownership of land and infrastructure when those payments are inevitably not made.
Countries like the one I come from are developing at a rapid pace thanks to the IMF, World Bank, and American/European financial influence. There’s fair criticisms of the system, but asserting that america and Europe “extract resources and keep all the profits” is just lazy and ignorant rhetoric.
I'm given to understand that the Marshall Islands, American Samoa, and Puerto Rico are all free to choose to end their association with the USA anytime they like. What "colonies" does the USA have exactly?
The Compact of Free Association[1] in a nutshell mandates US financial, military, and geopolitical assistance and protections upon the sovereign countries of Palau, Micronesia, and Marshall Islands. These countries are independent of the USA and can end their association with the USA as they deem fit.
Puerto Rico, Guam, American Samoa, US Virgin Islands, and Northern Mariana Islands are an unincorporated territory[2] of the USA and are sovereign American territory.
Simply put: Puerto Rico, et al. cannot unilaterally end their association with the USA because they are part of the USA.
What did they do to Tibet? The CIA tried to establish an independent Tibet so the US could have bases there, and later engaged in “Free Tibet” rhetoric meaning US weapons in Tibet, and China went to great expense to build a railroad to Lhasa to keep American weapons out of Tibet.
China doesn’t want US military bases on their side of the Himalayas. It remained an autonomous region until a bunch of clowns proposed putting US military assets there.
Tibet was independent from 1913 to 1950 invasion. You are talking about stuff that happened after the invasion. Tibet was part of Qing dynasty, rebelled when it collapsed, and was never part of ROC. It wasn’t recognized as independent but was definitely invaded by China.
It has similarities to Taiwan which is de facto independent but claimed by PRC.
Unrecognized independence during a civil war and world war isn’t much of a claim. Chiang Kai Shek was adamant it was part of China.
Tibet has 3 million people, most of who are subsistence farmers or nomadic herders. Comparisons with Taiwan are a bit much.
I get that the Dali Lama is a really nice guy, but even he admits no one in Tibet gives a shit about him and becoming a feudal lord via picking objects as a child is a bit nuts.
so if China invaded Tibet (which they did) for "strategic reasons", somehow implying "they had no choice" and therefore "it's not really an invasion", then all of the invasions and interventions the US has done in Central / South America, Middle East etc. all fall under that same rationale. There's always a "reason"
The US has been around as a modern country longer than China - we have more than a century on them; China started the 20th century divided with several parts of itself colonized. China fought a civil war between the dominant Republic abd the communists, and might have been able to win if not for the Japanese invasion; post war, they didn't have the ability anymore to fight off Mao's revolution.
In other words the current Chinese government can trace it's power back about 70 years. For the US it's about 240. So it shouldn't be a surprise the US has done more bad things since it's in general had more time, especially as a major power in the world.
And US Cold war policy definitely had some serious missteps due to extreme paranoia about communism... US intervention in Iran (overthrew a democracy, paving the way for the revolution) and various Latin American countries definitely worked out poorly in hindsight, in addition to unethical methods (eg supporting the Contras). Honestly I'm shaky on most of the details, and I want to acknowledge these things happened. Most Americans have very limited knowledge of these past misdeeds - it's not something that's emphasized in schools, and happened before most of our lifetimes, and we don't see most of the consequences day to day... so the average American is content to be ignorant of it, and of course doesn't want to apologize or pay for it in any way.
I unfortunately don't see this changing. But I also don't trust China given their terrible human rights record; they just haven't had as much ability to operate around the world as the US has, in the past.
Also note that China's killed way more people in it's short history than the US did through it's entire 240 year history. https://en.wikipedia.org/wiki/Great_Chinese_Famine Tens of millions of dead in a short few years.
This is interesting, but my quick read: that was not the intent, but rather a combination of agricultural mismanagement and poor food distribution.
What about the great depression in the US? The dust bowl? Various bank runs in the 19th century? Hell, African-American deaths due to slavery? Civil war deaths? Deaths of native Americans in our various undeclared wars against them?
Probably China still has a higher number either way, but if we're going to do a fair comparison, we probably should compare percentages of the population. The US civil war killed a single digit percentage of US population at the time, so perhaps not as extreme as the great Chinese famine but still huge (it was the bloodiest war for US lives ever, by a huge margin)
I think you're making an unfair argument. It was rarely (if ever) the intent of the US to kill civilians in it's various wars it's done. You're making the "collateral damage" argument that is often used as a point to attack the US on. Be consistent.
As to all your examples, we could have a large discussion about each, but most are from the independent actions of the populace rather than government policy forcing deaths upon the populace at effective gun point. And none of them killed anywhere near the number that the great famine did. Most of them in fact killed zero people and just caused economic hardship. (Also while the American civil war killed 1%, the Chinese great famine killed over 10% in many areas.)
When farmers are dying of starvation and aren't allowed to eat the food that they're growing, you've gone seriously off the rails.
The U.S. hasn’t done anything to any country even close to being the equivalent of what China did in Tibet. Or is doing to the Uighurs in its own country.
And that’s a China that has had economic and military power at an international level for less than 2 decades.
All that being said, there’s no real point in comparing which one has been historically worse to determine who is destabilizing the world more in any given situation.
And while the political rhetoric in the US could be better, Chinese actions worldwide, are far more destabilizing than anything the US has been doing, especially since it got out of Iraq.
Interestingly, what’s happening in Pakistan (and Afghanistan) since the U.S. left Afghanistan shows that even what one could reasonably saw were clear negative actions by the U.S., such as its occupation of Afghanistan, may not have been as clear in hindsight.
Well arguably what America / Europe did to the native Americans was worse. And it's a shame in these current times when America could do with being the stand up ethical superpower there hasn't been a nationwide recognition of that.
This is a partial and partly formed view of mine. I don't have great knowledge of the history.
Native American Indians today enjoy sovereignty within their tribal lands as a consequence of the US doing horrible acts upon them, they are countries unto themselves in modern terms with the US representing them internationally in their stead for brevity's sake. Culturally they are revered as courageous natives of the land who deserve our respect (see: AH-64 Apache, et al.).
So please, educate yourself before making a fool of yourself.
Native American Communities themselves do not seem to recognise the benefits of the US naming a helicopter after them as recompense for taking lands and breaking treaties.
US states actively ban history surrounding these topics to avoid hurting the feelings of the dominant society's offspring. You have to forgive some of the ignorance of centuries long domestic issues.
> So please, educate yourself before making a fool of yourself.
As I finished my comment, it was a partly formed view and I don't have good knowledge of history. I was hoping for some more informed replies. I was hoping they'd come without insults too, so cheers for the disappointment.
It's not a bold claim to point to the treatment of indeginous people as bad and similar to what is happening in China. Nor is it ignorant to say it's something America or the rest of the new world is absolved of. Do I think that makes it ok for China or they shouldn't be called out and more about it? No, I don't think that at all. But it makes it a harder argument.
Another way to consider this is that America admits that Native American Indians were once wronged, made amends, and now pays respects to their storied histories and cultures and helps them find and secure their own places within the country and the world.
China, on the other hand, gives precisely zero fucks what wrongs happen to the peoples within its borders. All must serve the state and only the state, at the point of a gun.
I once again ask that you educate yourself before you make a fool of yourself. Basic knowledge and understanding are prerequisites to participating in worthwhile discussions. If you took that request as an insult, then that is your loss and certainly not my problem.
You're right, that's the core mechanims of GANs. The current state of the art models aren't using a GAN structure, but it's plausible that they achieve state of the art numbers in the future
>People who are great at writing prompts for ChatGPT aren't going to be that, either.
I don't see why this would be true. If you have evidence of some strong argument on why this would be true, I'd like to hear them.
As an anecdote, I work with young people (x<25) that don't seem to be worse at recalling facts than the older generation. The bright/geeky ones grew up reading up wikipedia and, in fact, have a wider grasp of facts/stories than the older generation (in my experience)
Text generating models are so much more than spell checkers, but allow me to make a comparison .
Before spell checkers, having good spelling was relatively difficult and it allowed employers/teachers/etc to separate the "good" people from the "bad". After spell checkers became ubiquitous (unless you have to handwrite!), having good spelling became the norm and the floor becomes much higher. A document with bad spelling means the person doesn't know of spell checkers (a sign that the person isn't computer savvy enough?) Or doesn't care enough.
Did spell checkers reduce the language capacity of students? Maybe they did start putting less attention into spelling, but I would argue it's ok because now we have more assistance. If you really want to test their spelling, you can always do a handwritten, in class quiz.
ChatGPT and the like may be different because they are written the whole thing, right? Well, kind of. You still need to give the prompt to express what you want to say. You still need to correct stuff and exercise judgment to see if the style in this paragraph is ok, if the facts stated over in that other paragraphs are ok. Besides, you still need to learn how to write because of the in class quiz next week.
I think keeping an embargo and hurting a country for 60 years is enough to send a signal.
In any case, the US government isn't doing it motivated by some intertemporal consistency (and thinking of the next 200 years of foreign policy), they do it for the cuban swing voters
``` pyarrow.csv.read_csv(input_file, read_options=None, parse_options=None, convert_options=None, MemoryPool memory_pool=None) ```
You can then pass a `ReadOptions`[1] object if needed.
For example:
``` read_options = csv.ReadOptions( column_names=["animals", "n_legs", "entry"], skip_rows=1) csv.read_csv(io.BytesIO(s.encode()), read_options=read_options) ```
You can see how ReadOptions is written on this link [2]. It's interesting they use a `cdef class` from `Cython` for this.
This doesn't solve all issues (the ReadOptions object and the others will inevitably have a bunch of default arguments) but I do think it's safer and it's easier to have a mental map of the things you need to decide and what's decided for you.
[0] https://arrow.apache.org/docs/python/generated/pyarrow.csv.r... [1] https://arrow.apache.org/docs/python/generated/pyarrow.csv.R... [2] https://github.com/apache/arrow/blob/master/python/pyarrow/_...