Hacker Newsnew | past | comments | ask | show | jobs | submit | robin_reala's commentslogin

USB-C display support is coming soon too.

This is why you need regulation to add transparency obligations to providers, and to remove algorithmic assessment from harmful situations. The EU Artificial Intelligence Act is a good first step: https://en.wikipedia.org/wiki/Artificial_Intelligence_Act

I’ve not personally tried it, but Apple have an “Use an 8K display with your Mac” support document at https://support.apple.com/en-us/102236.

You are correct! I hadn't checked since I had an M1 MacBook, back then it was 6K (https://juicedsystems.com/en-ca/blogs/news/macbook-m1-and-m2...), but it appears that since the M2 (according to the same website), the upper limit is now 8K.

A Trinitron shader would be two very thin horizontal lines trisecting the screen.

After I’d been in the firing line for a couple of Reg articles I started realising that yes, they don’t let much stand in the way of a good story. They still write a good story though, it’s just slightly more tenuously tethered to reality than I’d originally imagined.

At least you know what you're getting with El Reg, unlike Very Serious Publications written for Very Serious People. The average article in CIO is also densely-packed bullshit, just polished up more.

It’s Postel’s law at the end of the day: “be conservative in what you do, be liberal in what you accept from others”. As a site owner I want my site to fail loudly and quickly before a user sees a problem; as a user I never want to see a problem.

ePub is in a nice place: the number of documents to check for errors is reasonable, and the resulting artefect is designed to be shipped and never (or rarely) amended. That means that we can shift the balance towards strict parsing. But for a web site of thousands (or millions) of documents that are being amended regularly, the balance shifts back to loose parsing as the best way of meeting user needs.


Postel's Law sounds nice but it can result in major problems. It results in a de facto spec that differs from the written spec, and disagreements about what a piece of data actually means can lead to bugs and even security vulnerabilities.

Having strictly parsed HTML from the start would be fine. You'd check it before you ship it and you'd make sure it's valid.

Requiring it now would be a disaster, of course. There's so much malformed HTML out there. But making HTML parsers accept garbage at the beginning was the wrong choice.


The widespread acceptance of Postel’s Law also encourages poor authorship, because if you know clients have to be liberal in what they accept, there is no incentive to be conservative in what you send.

Isn't the developer always the first user? With strict parsing, testing a site before launch would show you the problem right there and allow you to fix it to launch a bug free site.

What about a 5 year old client hitting a new server or the reverse? Is the only solution just don't do that?

That is what the HTML 4 !doctype Tag - https://www.quackit.com/html/html_4/tags/doctype_html_public... - was meant for. Ideally, an old client that cannot parse a newer HTML spec should inform the user to update the client. Developers could then either support old versions of their site (more easily, in such a case) or can simply decide not to deal with outdated browsers. (In fact, isn't that what most BiGTech sites actually do now, through convoluted browser feature detections - "Your browser is no longer supported ...").

Postel's law has turned out to be good for prototypes and experiments, but a horrible way to make anything with any degree of reliability.

Author here, happy to answer any questions / clarify anything.

Are there any sites that provide e-reader engine support charts for ePub, similar to what MDN provides for HTML?

No, not really, and given the length of time ereaders stick around, you’re really probably best off assuming the worst. If there’s something complex layout-wise that I want to do then I often use @supports blocks. For example, in a recent book I worked on I had a layout that would be be accomplished with flexbox, but I started with floats instead and overrode that for better ereaders: https://github.com/standardebooks/harry-harrison_planet-of-t...

Thanks for all the explanations. I always thought it was regular HTML, but now I know to watch out for the differences.

Can you say a few more words about the library https://github.com/standardebooks/tools ? Can it generate ePub3 from markdown files or do I have to feed it HTML already. Any repo with usage examples of the `--white-label` option would be nice.


The tooling does two main things: create a valid epub3 skeleton for your content, and build your book into “compatible”, Kobo and Kindle versions. You need to supply the valid XHTML.

There’s more info on the build process at https://news.ycombinator.com/item?id=46469341


Thank you, this was very interesting. I knew about XHTML in EPUB, but not that it was extendible - I had assumed it was mostly frozen.

Others have requested a list of features supported in different E-readers. i second this request.


It’s like the “…in mice” trope for medical study headlines, but with “…in V8” instead.

I was somewhat buying the article until I got to the monstrosity that is the “Special mention”, at which point I flipped to completely agreeing. That really is atrocious.

It’s casual racism.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: