Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Twitter link to some Nitter instance #489

Merged
merged 2 commits into from
Jun 24, 2023
Merged

Conversation

ISSOtm
Copy link
Member

@ISSOtm ISSOtm commented Jun 21, 2023

This kind of reverts 3f1c43e, since now we'll know if that link goes down. Twitter cannot be used, since like that commit mentions, Twitter now blocks automation (thanks to a certain Elongated Muskrat), which includes mdbook-linkcheck.

The choice of Nitter instance is motivated by a few points. First, a list of instances is available from Nitter's GitHub wiki (https://github.com/zedeus/nitter/wiki/Instances).

The first parameter in the choice is the region; there are three (3) "anycast" instances, which may (1) reduce latency for readers of Pan Docs, and (2) reduce the load of Pan Docs' link-checking itself (by distributing across several servers behind the anycast). I think, anyway.

One of these instances is not updated, which is not a good sign for reliability either.

Then, it turns out several instances block HTTP HEAD requests like Twitter (but not GET, suggesting it is intentional); of the remaining two, only the chosen one doesn't.

This kind of reverts 3f1c43e, since now we'll know if that link goes down.
Twitter cannot be used, since like that commit mentions, Twitter now
blocks automation (thanks to a certain Elongated Muskrat), which includes
mdbook-linkcheck.

The choice of Nitter instance is motivated by a few points.
First, a list of instances is available from Nitter's GitHub wiki
(https://github.com/zedeus/nitter/wiki/Instances).

The first parameter in the choice is the region; there are three (3)
"anycast" instances, which may (1) reduce latency for readers of Pan Docs,
and (2) reduce the load of Pan Docs' link-checking itself (by distributing
across several servers behind the anycast). I think, anyway.

One of these instances is not updated, which is not a good sign for
reliability either.

Then, it turns out several instances block HTTP HEAD requests like Twitter
(but not GET, suggesting it is intentional); of the remaining two, only
the chosen one doesn't.
@ISSOtm ISSOtm requested a review from avivace June 21, 2023 22:14
@ISSOtm
Copy link
Member Author

ISSOtm commented Jun 21, 2023

Right, I forgot to mention this: I also considered https://twiiit.com/, but unfortunately, some of the instances I got in my testing had badly configured TLS, and others blocked HEAD requests; hence picking a known-good one instead.

@avivace
Copy link
Member

avivace commented Jun 23, 2023

What about Wayback machine ?

src/Power_Up_Sequence.md Outdated Show resolved Hide resolved
@ISSOtm ISSOtm merged commit 34c6ab3 into gbdev:master Jun 24, 2023
@ISSOtm ISSOtm deleted the nitter branch June 24, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants