Live data from Hacker News

Show HN: A Reddit reader that looks like the frontpage of a print newspaper

unim.press

91–100 of 129 posts

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#92

It’s very interesting from a psychological standpoint: the current front page headline (for me?) is “Planets and dwarf planets to scale in size, rotation speed, axial tilt and oblateness (numbered in distance order from Sun)” If I were reading this on /r/dataisbeautiful, I’d immediately parse and grok the headline just fine. But with this, my mindset was on the reporting of actions or events and I read “to scale” as…

I experienced the exact same thing. Wonder if it's a psychological hack or something?

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#93

Earlier quoted context omitted.

It actually does handle errors properly -- the reddit api is probably blocked for you, which is why it hangs and can't do anything. I suppose I could have added a "it seems we can't reach Reddit" kind of message, but that would still have been an error state, and in rushing this out in an afternoon it wasn't much of a priority. Didn't realize until posting here that apparently Firefox blocks the reddit api from the b…

It doesn't load for me in Chrome either. In the function fetchRedditStories , it looks like that the callback param in the catch is named `e`, but it tries to log `error`. Checking the network panel I'm getting a 200, but I'm pretty sure it's failing anyway because of the ReferenceError

Darn, can't believe I didn't catch that typo until now. I don't think that was the issue -- unbound variables don't cause exceptions in JS until that variable is dereferenced -- but not sure what else it could be if the reddit api hit is succeeding with a 200. Maybe a wonky JSON Decode?

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#96
post #19
post #3

The Same Origin Policy disallows reading the remote resource at https://api.reddit.com/r/dataisbeautiful/hot?limit=25 . (Reason: CORS request did not succeed). The resource at “ https://api.reddit.com/r/dataisbeautiful/hot?limit=25” was blocked because content blocking is enabled. ReferenceError: error is not defined MacOS, Firefox 77.0.1

I had to disable Firefox's Enhanced Tracking Protection for the site in order for it to work. (GNU/Linux, Firefox 77.0.1)

Same here. Probably would be a good idea to proxy the api.reddit.com requests through the same origin. Maybe even just as a fallback if the direct request didn't work.

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#97

It’s very interesting from a psychological standpoint: the current front page headline (for me?) is “Planets and dwarf planets to scale in size, rotation speed, axial tilt and oblateness (numbered in distance order from Sun)” If I were reading this on /r/dataisbeautiful, I’d immediately parse and grok the headline just fine. But with this, my mindset was on the reporting of actions or events and I read “to scale” as…

You're right. It works great with NotTheOnion for example: https://unim.press/#nottheonion

Good choice. The headlines look great, the pictures look great, but unfortunately the text for every article is just "lorem ipsum...". If there has to be text there for the layout to work, in cases where the post is only a headline and image then blurred unreadable text would look better there.

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#98
post #3

The Same Origin Policy disallows reading the remote resource at https://api.reddit.com/r/dataisbeautiful/hot?limit=25 . (Reason: CORS request did not succeed). The resource at “ https://api.reddit.com/r/dataisbeautiful/hot?limit=25” was blocked because content blocking is enabled. ReferenceError: error is not defined MacOS, Firefox 77.0.1

Weird, it works fine here:

https://i.imgur.com/EGdEH2t.png

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#99

The hyphenation on the center-spread column doesn't look great, leaving big whitespace gaps in justified text. In my experience, "hyphens: auto" in browsers doesn't work well at widths smaller than 80ch. The "center-spread" column is currently set to width: 600px, approximately 67ch. Changing it to width: 80ch looks much, much better, in my opinion. I also suggest adding the Safari variant, "-webkit-hyphens: auto", a…

It’s really sad how much typesetting and font rendering has taken a backseat since the 80s and 90s. It seems like just yesterday the race was about finding the optimal algorithms for typesetting text to avoid rivers, have aesthetically pleasing ragged or justified text, tweak word breaking heuristics to avoid local optima that give poor overall results, etc and coming up with fonts that were hand-hinted and carefully…

That is _only_ an issue on the web. Any half decent typesetting program should have no issues at all doing it right.

And even then it is getting better, the modern CSS can do things Word can't (notably all small caps and old style figures).

Re: Show HN: A Reddit reader that looks like the frontpage of a print newspaper

#100

It's just awesome! I'm so tired of feed-like layouts, they are not for humans.

I'm beginning to feel this fatigue also, is there anything you've discovered as an alternative? Am tempted to start just picking up a newspaper.
Post reply on HN