News for hackers. Stuff that matters.
Re:Fastly Outage by caseymarquis on Tuesday June 08, 2021 @06:50AM (#27433278)
Fastly Engineer 1: Seems like a common error message. Can you check stackoverflow to see if there's an easy fix?

Fastly Engineer 2: I have some very bad news...

Re:Fastly Outage by oefrha on Tuesday June 08, 2021 @07:49AM (#27433867)
Well, with SO, at least you can search on Google and view the version cached by Google just fine.

With Reddit however, these days almost all comments are locked behind “view entire discussion” or “continue this thread”. In fact, just now I searched for something for which the most relevant discussion was on Reddit; Reddit was down so I opened the cached version, and was literally greeted by five “continue this thread”s and nothing else. What a joke.

Re:Fastly Outage by tomrod on Tuesday June 08, 2021 @08:12AM (#27434053)
Reddit's attempts at dark patterns are embarrassing from all perspectives. If you use dark patterns it's a laughably abysmal implementation. If you abhor dark patterns, it's a frustration.
Re:Fastly Outage by stevewodil on Tuesday June 08, 2021 @09:22AM (#27434794)
It's just enough to annoy you but not enough to make everyone leave the platform
Re:Fastly Outage by marvin on Tuesday June 08, 2021 @11:50AM (#27436760)
They've actually done a masterful job of finding this balance. I've been on reddit for 15 years and would have quit if they didn't leave the old interface available.
Re:Fastly Outage by charonn0 on Tuesday June 08, 2021 @11:08AM (#27436190)
On the same day that old.reddit.com stops working I'll leave.
Re:Fastly Outage by petepete on Tuesday June 08, 2021 @12:15PM (#27437134)
That and third party access to their API.

Sync is so much better than the official app it's not even funny.

Re:Fastly Outage by lhousa on Tuesday June 08, 2021 @11:50AM (#27436746)
Preach!
Re:Fastly Outage by CodesInChaos on Tuesday June 08, 2021 @09:37AM (#27435000)
The mobile version is literally unusable. Half the subs show an error and you can't load most comments.
Re:Fastly Outage by dandellion on Tuesday June 08, 2021 @10:12AM (#27435441)
I think it's because there haven't been any interesting alternatives. I know if I ever see one I'll probably switch in a femtosecond.
Re:Fastly Outage by Zetaphor on Tuesday June 08, 2021 @09:26AM (#27434854)
Not _yet_, the same was said about Digg once.
Re:Fastly Outage by muskox2 on Tuesday June 08, 2021 @04:10PM (#27440114)
I honestly thought Reddit would die when they introduced Reddit awards, it seemed like such an obvious cash grab. You can't underestimate the amount of community momentum that the site has though.
Re:Fastly Outage by account42 on Wednesday June 09, 2021 @05:54AM (#27446125)
Eh, as far as funding methods go, letting people throw away money is not the worst one.
Re:Fastly Outage by tomrod on Tuesday June 08, 2021 @06:30PM (#27441925)
Its one of the three major sites I use. Yeah...
Re:Fastly Outage by southerntofu on Tuesday June 08, 2021 @08:10AM (#27434042)
Yeah it's crazy how bad user-hostile reddit.com has become. Fortunately old.reddit.com is still available, but for how long? If only Javascript did not exist, it would be impossible for UX people to come up with something that bad.
Re:Fastly Outage by gpm on Tuesday June 08, 2021 @08:16AM (#27434105)
> only Javascript did not exist, it would be impossible for UX people to come up with something that bad.

Arrange the html so that the list of comments is at the end (via css). Keep the http connection open, have the show more button send some of request, and when you receive that request send the rest of the page over the original http connection.

As usual, solve people problems via people, not tech.

Re:Fastly Outage by peq on Tuesday June 08, 2021 @08:53AM (#27434489)
How would you make the button send a request without js and without navigating to another page?

Maybe css to load an image on :active or is there some better way?

Re:Fastly Outage by chrismorgan on Tuesday June 08, 2021 @09:12AM (#27434692)
Here are two robust techniques that I haven’t seen actually employed in production for maybe fifteen years:

① A submit button or link targeting an iframe which is visually hidden. (Or even don’t hide it. If only seamless iframes had happened, or any other way of auto-resizing an iframe: relevant spec issues are https://github.com/whatwg/html/issues/555 and https://github.com/w3c/csswg-drafts/issues/1771.)

② A submit button or link to a URL that returns status 204 No Content.

(CSS image loading in any form is not as robust because some clients will have images disabled. background-image is probably (unverified claim!) less robust than pseudoelement content as accessibility modes (like high contrast) are more likely to strip background images, though I’m not sure if they are skipped outright or load and aren’t shown. :active is neither robust nor correct: it doesn’t respond to keyboard activation, and it’s triggered on mouse down rather than mouse up. Little tip here for a thing that people often get wrong: mouse things activate on mouseup, keyboard things on keydown.)

Re:Fastly Outage by the_gipsy on Tuesday June 08, 2021 @02:38PM (#27439118)
Mhhh, iframes all the way down. Could make a nice experiment.
Re:Fastly Outage by cmg on Tuesday June 08, 2021 @09:14AM (#27434704)
Yep:

.button:active { background-image: url('/some-reference-thats-actually-a-tracker'); }

Re:Fastly Outage by southerntofu on Tuesday June 08, 2021 @08:25AM (#27434193)
Well technically everything is possible. But Javascript was precisely designed to encourage this kind of patterns.

> As usual, solve people problems via people, not tech.

So true..

Re:Fastly Outage by chrismorgan on Tuesday June 08, 2021 @09:12AM (#27434687)
“Continue this thread” links don’t depend on JavaScript at all.

“View entire discussion” couldn’t be implemented perfectly with <details> in its present form, but you can get quite close to it with a couple of different approaches.

I think the infinite scrolling of subreddits is about the only thing that would really be lost by shedding JavaScript. Even inline replies can be implemented quite successfully with <details> if you really want.

Re:Fastly Outage by metalforever on Tuesday June 08, 2021 @10:45AM (#27435855)
Yeah I’m going to stop using the platform when they get rid of this . Not interested
Re:Fastly Outage by faeyanpiraat on Tuesday June 08, 2021 @11:22AM (#27436378)
Why wait? You are wasting your life away.
Re:Fastly Outage by account42 on Wednesday June 09, 2021 @05:58AM (#27446145)
And commenting on HN is any more productive?
Re:Fastly Outage by driminicus on Tuesday June 08, 2021 @09:20AM (#27434771)
When it goes away you can try teddit.net
Re:Fastly Outage by ilikepi on Tuesday June 08, 2021 @12:39PM (#27437508)
Why wait? Teddit has been a great substitute for reading in a mobile browser, and making an iOS shortcut for transforming Reddit links was pretty straightforward.
Re:Fastly Outage by jaywalk on Tuesday June 08, 2021 @12:25PM (#27437296)
Impossible? Man, it's crazy how fast people forget things like good old fashioned <form> GETs and POSTs. It would obviously be a full page refresh, but other than that the same awful UX could still be implemented.
Re:Fastly Outage by comboy on Tuesday June 08, 2021 @08:38AM (#27434328)
I wanted to suggest site:old.reddit.com since I use that version with automatic redirect, but this:

https://old.reddit.com/robots.txt

is very different from this:

https://reddit.com/robots.txt

I guess there is a market for search engine (maybe accessed through tor) which does not care about robots.txt, DMCAs, right to be forgotten etc. Bootstrapping it should not be that hard since it can also provide better results for some queries since nobody is fighting about the position until it's widely known.

I'm not sure how far are we from being able to do full text internet search. Or rather even quote search, preferably some fuzziness options. That would be cool, Google's quotation marks were really neat back when they were working.

Re:Fastly Outage by utf_8x on Tuesday June 08, 2021 @09:14AM (#27434705)
Wonder what the story is behind these two...

    User-Agent: bender
    Disallow: /my_shiny_metal_ass
    
    User-Agent: Gort
    Disallow: /earth
Re:Fastly Outage by gaius_baltar on Tuesday June 08, 2021 @10:14AM (#27435470)
That's the good old Easter eggs, perhaps a memory from when Reddit was a nice place. They stop appearing and are replaced by dark patterns once sites jump the shark.
Re:Fastly Outage by toastal on Tuesday June 08, 2021 @09:58AM (#27435291)
I reod some people use false slugs in the robots.txt as a honey pot of sorts. IPs that actually read the robots.txt, ignore the disallow, and still access the uri are outright banned.
Re:Fastly Outage by taylorfinley on Tuesday June 08, 2021 @01:18PM (#27438032)
Then when a flamewar breaks out you just have to get your adversary to click a link to get them IP banned.
Re:Fastly Outage by jedberg on Tuesday June 08, 2021 @11:12AM (#27436238)
Ha, that would have been a really smart idea! Sadly we didn't think of that at the time. But we had other honey pot URLs.
Re:Fastly Outage by gostsamo on Tuesday June 08, 2021 @09:36AM (#27434989)
It might be related to the time few years ago when Google added exclusions for user agent t1300 in regard to its founders. Gort seems to be a robot from old scifi and bender might be something similar.
Re:Fastly Outage by h2odragon on Tuesday June 08, 2021 @10:15AM (#27435475)
Bender is from Futurama, Gort is old classic scifi: https://en.wikipedia.org/wiki/Gort_(The_Day_the_Earth_Stood_...
Re:Fastly Outage by jedberg on Tuesday June 08, 2021 @11:11AM (#27436224)
Just some fun humor we added for other nerds who read robots.txt files.
Re:Fastly Outage by iso1210 on Tuesday June 08, 2021 @09:22AM (#27434792)
Easter eggs
Re:Fastly Outage by pluc on Tuesday June 08, 2021 @09:24AM (#27434817)
It's neckbeard humor.
Re:Fastly Outage by jedberg on Tuesday June 08, 2021 @11:12AM (#27436243)
I'll have you know our beards were neatly trimmed when we added those.
Re:Fastly Outage by pluc on Thursday June 10, 2021 @05:18PM (#27465994)
I know you, and I find that hard to believe ;)
Re:Fastly Outage by oefrha on Tuesday June 08, 2021 @08:42AM (#27434367)
> I guess there is a market for search engine (maybe accessed through tor) which does not care about robots.txt, DMCAs, right to be forgotten etc. Bootstrapping it should not be that hard since it can also provide better results for some queries since nobody is fighting about the position until it's widely known.

That’s not going to happen before Cloudflare is dethroned. See this recent thread for some perspective: https://news.ycombinator.com/item?id=27153603

And even if there’s no Cloudflare, large sites that people want to search will always find ways to block bad bots.

The only thing I can think of that might work is using crowd-sourced data, with all the problems that come with crowdsourcing.

Re:Fastly Outage by comboy on Tuesday June 08, 2021 @09:18AM (#27434745)
Sadness.

There is a solution for all this mess and I'm blocking HN and a few different domains until I implement at least the first step after which I can share it here.

Re:Fastly Outage by bruce343434 on Tuesday June 08, 2021 @12:37PM (#27437481)
try editing your hosts file to redirect reddit to old.reddit

/etc/hosts

reddit.com old.reddit.com

www.reddit.com old.reddit.com

np.reddit.com old.reddit.com

Re:Fastly Outage by Siira on Wednesday June 09, 2021 @07:09AM (#27446551)
I am archiving subreddits on Github in plain-text org-mode. If you have some subreddit in mind, open an issue, and I'll create an archive repo for it.

- https://github.com/NightMachinary/r_HPfanfiction

- https://github.com/NightMachinary/r_rational

Re:Fastly Outage by ornornor on Tuesday June 08, 2021 @07:59AM (#27433945)
Try “site:old.Reddit.com”
Re:Fastly Outage by oefrha on Tuesday June 08, 2021 @08:14AM (#27434092)
That's not going to work.

  $ curl https://old.reddit.com/robots.txt
  User-Agent: *
  Disallow: /
Also, even if search engines are allowed, old.reddit.com pages are not canonical (<link rel="canonical"> points to the www.reddit.com version, which is actually reasonable behavior), so pages there would not be crawled as often or at all.
Re:Fastly Outage by amirhirsch on Tuesday June 08, 2021 @07:14AM (#27433568)
Stack Overflow is down, can someone tell me how to declare a static multidimensional array in C++?
Re:Fastly Outage by vlovich123 on Tuesday June 08, 2021 @07:21AM (#27433630)
Google and DDG surface SO results cached within their own page. Here’s the copied answer:

int main() { int arr[100][200][100]; // allocate on the stack

    return 0;
}
Re:Fastly Outage by divs1210 on Tuesday June 08, 2021 @07:14AM (#27433565)
Haha! That sounds highly plausible!
Re:Fastly Outage by alvis on Tuesday June 08, 2021 @07:54AM (#27433910)
Haha! That explains why the internet was down for a while!
Re:Fastly Outage by runawaybottle on Tuesday June 08, 2021 @07:28AM (#27433678)
Oh man, how do we keep a pocket copy of SO? All of our jobs depend on it.
Re:Fastly Outage by nephanth on Tuesday June 08, 2021 @08:13AM (#27434076)
You can use kiwix (https://www.kiwix.org/en/).

It is an open-source software that allows you to keep and read offline static versions of websites in a specialized archive format (zim-files)

It was originally designed to allow you to read wikipedia offline, but there are also dumps of stackoverflow available on the relevant page : https://wiki.kiwix.org/wiki/Content_in_all_languages

Re:Fastly Outage by namibj on Tuesday June 08, 2021 @12:34PM (#27437432)
Here, just pin the underlying IPFS object, or use this one hosted by cloudflare: https://ipfs-sec.stackexchange.cloudflare-ipfs.com/
Re:Fastly Outage by Siira on Wednesday June 09, 2021 @07:15AM (#27446581)
https://kapeli.com/dash also has the ability to download offline archives of SO. Its interface is very good.
Re:Fastly Outage by dharmab on Tuesday June 08, 2021 @12:38PM (#27437486)
You can download the database dump from https://archive.org/details/stackexchange.
Re:Fastly Outage by detaro on Tuesday June 08, 2021 @07:57AM (#27433930)
no they don't, but if yours does you can download a complete datadump of SO from them.