News for hackers. Stuff that matters.
Re:LR Parsing: More Elegant Than You Think by userbinator on Monday June 04, 2018 @11:16PM (#17234711)
1. Web site is just a blank white page on mobile Safari.

Looking at the source, it's a bunch of JavaScript with what looks like the content in a very mildly obfuscated form, e.g.

    ["non-optimal"],["al","go","rithm"],["that"],["you"],["un","
If your goal was to try to prevent dumb scraping, you've succeeded; but for accessibility and general efficiency, it is a failure.

...unless of course the whole page is a demo of using an LR parser to consume that oddly formatted content and output HTML, in which case I apologise. But a <noscript> with an explanation would be better than a blank page.

Re:LR Parsing: More Elegant Than You Think by dlisboa on Monday June 04, 2018 @11:22PM (#17234729)
My guess is he's probably using a JavaScript library to provide text justification. It has some pretty great typography for a web page, hyphenation on the margin and all that. Fancy stuff. Some parts are way better than what CSS gives you.

Sucks that it doesn't show anything, but it's a bit ridiculous that 40 years after TeX we don't have proper typography on browsers and people have resort to stuff like this simply to justify text. Not that I agree with the choice, but I understand it.