34

Update (2020-12-29 19:00 -07:00): As noted by gerrit0 in a comment, it appears that the https://port70.net/ site is back up and running normally. This specific crisis is averted, but SO should probably have plans to deal with this sort of situation.

Because there was a backup of the site in the Wayback Machine and because the data was basically static (largely unchanging), this would have been relatively easy to resolve. Other sites that are frequently cited on SO might be harder to deal with. I think SO should have a general contingency plan for dealing with a much-referenced site going AWOL, even if some of the i's are undotted and some of the t's uncrossed.


The site https://port70.net/ has been inaccessible for a while; I first spotted it missing early on 2020-12-27 and it's now late on 2020-12-28 here (so more than 36 hours). Chrome reports "This site can’t be reached — Check if there is a typo in port70.net — DNS_PROBE_FINISHED_NXDOMAIN".

It used to contain an HTML copy of N1570, a near-final committee draft of the C11 standard at:

I have cited and quoted from it in many answers; a number of other people use it too. I hand-counted 23 different users on the first page of 50 results from the query [c] url:port70.net, give or take.

Fortunately, there is a recent backup (2020-12-08 09:01:31) of the site on the Wayback Machine (the Web Archive):

While it may be too early to panic (I'd give the administrators at least a week into 2021 to reregister the site in case the problem is that the registration has lapsed), it does raise the question:

  • How would Stack Overflow handle bulk-converting URL references to a web site that goes missing in action (MIA) into references to the last backup available at the Web Archive?

A search [c] URL:port70.net shows 1810 references to port70.net, which is more work than can reasonably be done by hand. The necessary edit is systematic, but that doesn't make it much less onerous. Some of the URLs are http:// and some are https:// — all should be mapped to https://. A single answer may contain multiple references to different parts of N1570.

Related (but distinct) questions include:

18
  • 3
    The answer, unfortunately, is that we don't have an automated solution to this problem. Perhaps we could build one, but doing it correctly would require developer involvement. A community-developed solution would be limited to batching and submitting edits from the account of someone who has already earned editing privileges. (Batching is necessary to prevent massive disruptions, given that editing always bumps posts.)
    – Cody Gray Mod
    Commented Dec 29, 2020 at 5:43
  • 18
    @CodyGray unless you're Jon Skeet, then everything is possible ... ;)
    – rene
    Commented Dec 29, 2020 at 7:46
  • 2
    Domain registration doesn't lapse until 2021-04-02T21:45:48Z Commented Dec 29, 2020 at 9:14
  • @MartinSmith That doesn't necessarily mean anything useful, e.g. the site bobpowell dot net is still going but it isn't what it once was (I'm currently half-way through updating the links on SO to point to the Wayback Machine.) Commented Dec 29, 2020 at 11:32
  • 1
    It was in response to the part in the Q " in case the problem is that the registration has lapsed" Commented Dec 29, 2020 at 11:37
  • 4
    Shog9 has rewritten URLs before in a reversible way, see this post. I'm not sure if that counts as "there's an automated solution" or "there probably is a script on a hard drive somewhere that worked at some time for one specific domain, written by someone that no longer works here, and digging it up and getting it to work might be more work than creating a new one from scratch"
    – Erik A
    Commented Dec 29, 2020 at 11:42
  • 3
    And that we would no longer be allowed to use anyway, @Erik, since there's no one left who is accessible to us and has that level of access.
    – Cody Gray Mod
    Commented Dec 29, 2020 at 12:26
  • 1
    Just to state the obvious: Posts must stand on their own, and only rely on their own content. Ideally, text content, also sometimes an image might be required. They should not require following a link. If this causes an actual problem for any post, then that post should not have been on Stack Overflow anyway, i.e. as a question, it is unclear, as an answer it is unhelpful. Of course, links with auxiliary information that lead to nowhere are annoying, and it would be nice if they didn't, but if there is any post that gets broken by this, then it was already broken before. Commented Dec 29, 2020 at 13:54
  • 5
    @JörgWMittag — the vast majority of the answers quote the site (cite the site?) and contain a link to “this is where the information came from”. That is my standard modus operandi; I believe most other answers are similar. Therefore, they are not incomplete or unusable because the relevant text is included, but it is harder for an interested reader to study the context of the quote with port70.net gone AWO. Commented Dec 29, 2020 at 14:25
  • 1
    A note on C11: open-std.org hosts a copy as well: open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
    – Siguza
    Commented Dec 29, 2020 at 17:07
  • 2
    @Siguza — the disadvantage of the PDF is that you can't give a URL that goes direct to the correct section, even paragraph. Otherwise, it is an impeccable source. Commented Dec 29, 2020 at 17:12
  • 7
    Looks like the site is back
    – Gerrit0
    Commented Dec 29, 2020 at 23:47
  • @JonathanLeffler Actually you can link to a section in the PDF by taking the link from the bookmark section, eg open-std.org/jtc1/sc22/wg14/www/docs/… points to Annex G; it is just not a very reable link Commented Dec 30, 2020 at 13:44
  • @MarkRotteveel: When I tried that URL, it went to the start of the document, not Annex G. Not the very start; it went to the start of Section 1 Scope, on p19 of 701 of the PDF file (using the PDF display in Chrome on a Mac). I am also unsure how to generate the URL from the PDF display — activating the bookmark list, selecting a section and popping up the menu doesn't show a 'copy URL' option. I think there's something in what you say, but I'm not sure how I should be using it in my environment. Commented Dec 30, 2020 at 14:01
  • @JonathanLeffler Interesting, it works for me on Firefox (on Windows), but indeed not on Chrome. Commented Dec 30, 2020 at 14:05

1 Answer 1

20

There is a script to mass update URLs, as long as the updates follow a simple pattern like prefixing with https://web.archive.org/web/ which seems to work here. @ErikA mentioned a case were former Community Manager Shog9 did this, but the new team does these changes too, see this recent example on Hinduism Stack Exchange.

Perhaps one of the ♦ moderators can (after the holidays) ping a Community Manager to point at this thread.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .