Lurker News

Comments (122) 57 threads

Earlier comments
Santosh83#
Cool! Another suggestion: why not extract and show the text of the leading comment (or maybe some other metric) of the articles in question rather than lorem ipsum filler?

And an option to "turn the page" for more content from the select subreddit would be even cooler!

jml7c51 reply#
A note to those using Firefox who get stuck at "Loading stories...": Enhanced Tracking Protection (on by default?) blocks the request. To disable it for this page, click the little purple shield next to the URL.
user5994461#
The Firefox tracking protection is blocking https://api.reddit.com classified as "may external ads, videos and other content with tracking code". Odd.
dfabulich2 replies#
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", and add the lang="en" attribute to your tag, to enable hyphenation in Firefox.

ComputerGuru1 reply#
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 designed to display as correctly as possible on the output devices of the time.

Now, we’re lucky if we get an option to manually specify hyphenation points for line wrapping, we have horribly thin and broken “web fonts” that supersede even locally installed versions with correct hinting of the same typeface, have disabled subpixel rendering so we can play nicer with animations, transitions, and useless effects, and consider ourselves incredibly lucky if we get real italics rather than oblique versions of the Roman typeface *for fonts with italic versions around since the early ‘90s.

tomjen31 reply#
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).

ComputerGuru#
> That is only an issue on the web

After championing it and spending 13 years adding it to the OS and getting it supported everywhere, Microsoft removed ClearType subpixel rendering from Windows 8’s UI framework for those same reasons, went on to ship Windows 10 without it, and only went back on that decision with the Creator’s Update and are still working to correct that mistake and its fallout.

jfk131 reply#
My understanding is that "hyphens:auto" should not be doing anything in the absence of a lang attribute: the browser is not supposed to do automatic hyphenation if the content language is unknown.

https://drafts.csswg.org/css-text-3/#hyphenation

binarysneaker#
My first reaction to this was, "why?" The skeuomorphism of the low-res paper background and ugly type is horrible. But, reading the comments here, apparently some people like it, so ok.

But you can see all the CORS issues this is throwing up. Rather than a 100% js app, why not call a function which fetches the content and caches it too? CORS issues begone, and caches too! You don't need an expensive server setup, have a look at AWS Lambda or Azure Functions.

Load more comments