this post was submitted on 26 Jun 2024
845 points (97.8% liked)

Technology

58123 readers
4835 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

GitCode, a git-hosting website operated Chongqing Open-Source Co-Creation Technology Co Ltd and with technical support from CSDN and Huawei Cloud.

It is being reported that many users' repository are being cloned and re-hosted on GitCode without explicit authorization.

There is also a thread on Ycombinator (archived link)

you are viewing a single comment's thread
view the rest of the comments
[–] bionicjoey@lemmy.ca 372 points 2 months ago (7 children)

Solution: create a GitHub repo with Markdown articles outlining human rights abuses by the CCP and have a large number of GitHub users star and fork the repo.

[–] Colonel_Panic_@lemm.ee 171 points 2 months ago

You've heard of CamelCase and lowercase and intVariableName variable naming styles. Get ready for:

for (int Taiwan == 0; Taiwan < HongKong; Taiwan++) { int TianamenSquare == 0; ... }

[–] Tramort@programming.dev 87 points 2 months ago (3 children)

That's the whole point of this: they will automatically filter that out, and this is an impotent, though well intended, gesture.

[–] Morphit@feddit.uk 77 points 2 months ago (1 children)

How will they filter it out? If they just don't mirror anything with 'forbidden' terms, we can poison repos to prevent them being mirrored. If they try to tamper with the repo histories then they'll end up breaking a load of stuff that relies on consistent git hashes.

[–] jorp@lemmy.world 28 points 2 months ago

I feel like the effort to make such a repo and make it popular enough to be cloned and rehosted is a lot more effort than someone manually checking the results of an automated filter process.

The "effort economy" is hugely in favor of the mirroring side

[–] bionicjoey@lemmy.ca 25 points 2 months ago (1 children)

Yeah I figured as much. It was mostly a joke. At the end of the day, if stuff is on GH, people can take it. It's barely even stealing. Unless the license disagrees of course but then you were putting a lot of trust in society by making it public in the first place.

[–] jaybone@lemmy.world 6 points 2 months ago (2 children)

That’s what I don’t get about this. Why does anyone care? Even this Chinese company, why do they care to clone it all? It’s already all hosted and publicly available.

[–] bionicjoey@lemmy.ca 9 points 2 months ago

Apparently they aren't respecting licenses. It's possible to have source code publicly available on GH but have it not be truly FOSS. But that's generally not a great idea since you're effectively relying on the honour system for people not to take your code.

[–] irreticent@lemmy.world 2 points 2 months ago (1 children)

Even this Chinese company, why do they care to clone it all? It’s already all hosted and publicly available.

Until it isn't. Perhaps they are preparing for a future war with the US and assume their access to all that code will be blocked. They want to copy it now while they have access.

[–] jaybone@lemmy.world 0 points 2 months ago
[–] Azzu@lemm.ee 23 points 2 months ago (3 children)

The real solution is to include a few tiananmenSquare variables in all the repositories. Either they exclude the entire repository or just the specific file, in either case the entire project may be unusable.

[–] BeigeAgenda@lemmy.ca 14 points 2 months ago

It's a new coding paradigm, I will take some time getting used to looking for libraries in the uyghur/tianamen folder.

[–] theneverfox@pawb.social 1 points 2 months ago (1 children)

So... You're saying instead of "main", "app", or "core", we should change the convention to make tiananmenSquare the entry point for apps?

Or maybe make it the filename for utils, so it'll just break

[–] Azzu@lemm.ee 1 points 2 months ago

For example.

But honestly I was more joking. The thing that makes most projects useful is the developers developing it, and they can't clone that

[–] Tramort@programming.dev 1 points 2 months ago (1 children)

China filters every byte of Internet traffic in and out of the country.

It seems naive to think they can't accomplish the same thing for a GitHub mirror.

[–] Azzu@lemm.ee 4 points 2 months ago

They're not supposed to, it's just about blocking them from using the software :)

[–] HubertManne@moist.catsweat.com 28 points 2 months ago (1 children)

everyone should have stuff in their code comments, tianamen, hong kong, taiwan, uyghurs

[–] UnderpantsWeevil@lemmy.world 9 points 2 months ago (1 children)

create a GitHub repo with Markdown articles outlining human rights abuses by the CCP

Once you have logged "China killed 100 Zillion people! End CCP now!" in Chinese GitHub, everyone in China will realize that their lives are actually very bad and they need to do a Revolution immediately.

[–] Kusimulkku@lemm.ee 1 points 2 months ago

And here I was thinking that might prevent them mirroring the repo but whatever