Readit News logoReadit News
sdm commented on New GitHub Copilot research finds 'downward pressure on code quality'   visualstudiomagazine.com/... · Posted by u/ceejayoz
kcrwfrd_ · 2 years ago
As a senior frontend/javascript guy, I’m afraid that relying on ChatGPT/copilot for _current best practices_ is probably where it works the worst.

Oftentimes it will produce code that’s outdated. Or, it will output code that seems great, unless you have an advanced understanding of the browser APIs and behaviors or you thoroughly test it and realize it doesn’t work as you hoped.

But it’s pretty good at getting a jumpstart on things. Refining down to best practices is where the engineer comes in, which is what makes it so dicey in the hands of a jr dev.

sdm · 2 years ago
> I’m afraid that relying on ChatGPT/copilot for _current best practices_ is probably where it works the worst

This matches my experience. When ChatGPT started going viral, I started getting a lot of PRs from juniors who where trying it out. Pretty much every single one was using depreciated API calls or best practices from 5-10 years ago. I'd ask why they chose to use an API that is scheduled to be removed in the next release of whatever library or system we are using.

ChatGPT does have it's place. But you need to understand the tools you're using. It can't be great for a first spike or just getting something working. But then you have to go and look at what it's doing and make sure you understand it.

sdm commented on Clicks – Physical keyboard for iPhone   clicks.tech/... · Posted by u/guyinblackshirt
sdm · 2 years ago
Sucks if you speak more than one language, like most people do.
sdm commented on India suspends visas for Canadians as row escalates   bbc.com/news/world-asia-i... · Posted by u/vinni2
VancouverMan · 2 years ago
Keep in mind that the "left" vs "right" determination is somewhat skewed within the Canadian political landscape.

Among the major federal parties in Canada, none of them offer or propose policies that could be considered "right wing" in any meaningful way.

Policy-wise, the Conservative Party should objectively be considered a "left-of-centre" party. They embrace socialism and big government, and they support high immigration rates, for example. Such stances are inherently antithetical to "right wing" ideologies.

The Conservative Party only appears to be "right wing" because they aren't as far "left" as the Bloc Québécois or Liberal Party are, which aren't as far "left" as the NDP or Green Party are.

The PPC is perhaps the most "right wing" of the mainstream parties, but platform-wise, it's still quite centrist in pretty much all respects.

Essentially all mainstream media in Canada should be considered "left wing", including those that tend to be somewhat supportive of the Conservative Party.

sdm · 2 years ago
The NDP is a centre-right party. Don't apply the USA's very very right-shifted political spectrum to Canada. The American Democrats and Republicans both would be parts of the Conservative Party. The Democrats are closest to the Red Tory wing and Republicans to the Blue Tory wing of the Conservative Party. It's just there is very little difference between the USA's two conservative parties.
sdm commented on India suspends visas for Canadians as row escalates   bbc.com/news/world-asia-i... · Posted by u/vinni2
blast · 2 years ago
I have the opposite impression of G&M's leanings, in fact I'm surprised to hear anyone say that.
sdm · 2 years ago
It was the mouth piece of the Progressive Conservative Party before the merger. It's been a conservative newspaper since it's founding. Historically most of it's ownership has been directly involved, sometimes in a leadership capacity, of the current iteration of the conservatives. Yes, the National Post is now the mouth piece the current Conservatives, but it still has a very conservative byline by Canadian standard.
sdm commented on A basic guide to using Asian names   asiamediacentre.org.nz/fe... · Posted by u/bear_with_me
sdm · 2 years ago
This is a bit wrong for Thailand as it doesn't mention nicknames. Or rules for using the given name vs. nicknames. Unless in very formal context it's normal to use nicknames not given names. In day to day life nicknames are by far more commonly used than given names.

Family names are almost never used expect in legal documents or formal setting. It's common for people who have been friends for years to not know each other's family names as they are so rarely used in day to day life.

It's also common also for friends/coworkers to not know each other's given names -- though less so than family names. Especially as you would never call someone you're friends with by their given name as it would be a bit rude. Usually in offices (unless very old fashioned) or with friends and family you'd use nicknames exclusively.

sdm commented on Chrome now tracks users and shares a “topic” list with advertisers   arstechnica.com/gadgets/2... · Posted by u/edvinbesic
Calamitous · 3 years ago
Out of curiousity, what do you use instead?
sdm · 3 years ago
Firefox -- faster, better feature like container tabs, more secure and more private
sdm commented on Kagi Small Web   blog.kagi.com/small-web... · Posted by u/u2077
sdm · 3 years ago
> Content must be in English (hard to curate non-English).

Well this is disappointing. It's no harder to curate other languages. You're just say you don't care.

sdm commented on Elon Musk to sue ADL for accusing him, X of antisemitism   techcrunch.com/2023/09/04... · Posted by u/frob
Simulacra · 3 years ago
Is not X protected under section 230?
sdm · 3 years ago
Protected from what? This a legal action being brought by X, not by the ADL. X is not the defendant so it's not really about X's protection.

The ADL hasn't taken any legal action against X; it's just made some statements and maybe, if you believe Musk, lobbied advertisers. Which really doesn't have anything to do with section 230.

sdm commented on China's slow-moving economic disaster   axios.com/2023/08/26/chin... · Posted by u/pg_1234
satvikpendem · 3 years ago
Which policies? I thought the primary cause was the demographics changes which is creating knock on effects, rather than the party's policies specifically.
sdm · 3 years ago
> I thought the primary cause was the demographics changes which is creating knock on effects

Not really. Yes, China is starting to experience demographic decline but it will be a long long time before it affects them economically. They could still absorb every North American job and still have people left over. That's just how big China's population is. Demographic decline will eventually bite them but they have a very long runway. China is very different from Japan's case.

As for policies, again, not really. It's more that about 10 years ago most low cost manufacturing shifted out of China because cheaper regions caught up and were able to provide better value. China has been been talking about this trend since before Xi and a big focus has be shifting to a service economy built on internal demand. This is the part where policies come into play. The shift has not gone as well as they hoped. And again, it's not really about Xi messing up Deng's work. The world, and China, is different from Deng's world. Deng's approach would not work in a world where low cost manufacturing has moved overseas. If anything, it's more of an issue that Xi has stuck to closely to Deng's approach and not adapted to the changing world.

Dead Comment

u/sdm

KarmaCake day412March 19, 2009
About
Founder of Self Structured Technology Location: Bangkok, Thailand
View Original