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

Missed chance, to fail to reference Le Guin's [patterning frame](https://en.wikipedia.org/wiki/City_of_Illusions#Objects) somewhere in there.


You're welcome


Thumbs up emoji.


Makes it available to more people. Also probably helps paper books sales more than it hurts them, through exposure.


How is a `<pre>` tag for code blocks a 'weird format'?


> but we felt that having a source-of-truth that wasn't the DOM was a better approach

Which is... exactly what ProseMirror does?


This is mostly accurate for CodeMirror version 5. But this article is talking about version 6, which was intentionally built in a way that avoids the problem.



That would explain the weird experience of having your open software used in Apple products — no one from the company ever talks to you. I'm a bit baffled how they deal with upstream bugs with this mentality. Not my problem, of course. Just weird.


I'm a bit baffled how they deal with upstream bugs with this mentality

Probably the same way they deal with support: refer users upstream [1].

[1] https://daniel.haxx.se/blog/2021/11/18/free-apple-support/


There's the classic `tail -f` bug where they didnt upstream the fix, but on their own open source release have an #ifdef APPLE or something to that effect.

Link to Bryan Cantrill's humerus talk. https://www.youtube.com/watch?v=vm1GJMp0QN4#t=41m18s


thanks for the link! that was fantastic


A bit late with this reply, but the answer is: Make patches internally, to work around the problematic areas. Often done to avoid the legal necessity to contribute it back upstream. For example, hook code at runtime to jump out to Apple specific changes that are now not part of the OSS codebase directly.


You used to be able to do `git clone https://codemirror.net`, which was kind of neat. But the constant barrage of emails from "security researchers" who had found a "vulnerability" (an exposed git directory holding an open source codebase), have made me configure my server to deny all .git paths.


Tiptap builds on ProseMirror, so it uses the same approach.


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

Search: