Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marijn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
marijn
6y ago
Apropos, the author is currently looking for work: http://tef.computer/
32.
▲
by
marijn
6y ago
nb: This project has been going for 13 years.
33.
▲
by
marijn
6y ago
I've started communicating a clear expectation ( https://prosemirror.net/#about ) that profitable users help support my software. Of course, most still won't, but some do, and with a big enough user base those contr
34.
▲
by
marijn
6y ago
Building a new JIT for a dynamic language, if it is supposed to be competitive with JS compilers, is a project several orders of magnitude bigger than building a runtime like this. TypeScript's design is very much that of a typing laye
35.
▲
by
marijn
6y ago
That's by a different author with no connection to this book, though, so calling it equivalent is misleading.
36.
▲
by
marijn
6y ago
This aligns with my experience with https://eloquentjavascript.net , except that I put it online before publishing on paper, and my hunch is that it wouldn't have reached anywhere near the level of fame (and thus sales) it d
37.
▲
by
marijn
7y ago
Not all invariants relate to allocation. Rust protects you from a whole class of shared-mutable-state issues that JavaScript and Lisp are zero help with.
38.
▲
by
marijn
7y ago
Rust is also C, if the fact that you can't encode all possible invariants into the type system makes a language C. But this is a spectrum, not a dichotomy, and TypeScript falls somewhere way beyond C, but below Rust, in what you can st
39.
▲
by
marijn
7y ago
The assumption that those who care about treating others decently can not at the same time be good technologists speaks volumes.
40.
▲
by
marijn
7y ago
He wasn't blacklisted for committing thought crime. The dumb Epstein email triggered a reevaluation of his consistent creepy and inappropriate behavior against current community standards, which resulted in a large part of the communit
41.
▲
by
marijn
7y ago
It is, if you include a JS interpreter in your wasm bundle. But it isn't a good idea. JS is a language that needs a runtime, the browser _has_ a JS engine, and not using that would just be counterproductive and wasteful.
42.
▲
by
marijn
8y ago
> If there are no routers or Volk phones nearby to hop to, you'll either not have service, have to use Wifi, or fallback to LTE if you have a SIM card installed and it has active service. That does make the "Global Coverage: Ou
43.
▲
by
marijn
8y ago
If you mean indentation, shift-tab should auto-indent the selection
44.
▲
by
marijn
8y ago
( https://prosemirror.net does)
45.
▲
by
marijn
8y ago
Note that though this lists ProseMirror as one of the evaluated editors, followed by a bullet list of issues, only one of those issues can reasonably be considered to apply to ProseMirror—and that's "Re-inventing the view layer&qu
46.
▲
by
marijn
8y ago
While it sounds very reasonable, friendly, and non-authoritarian, a big problem with an approach like this, without real teeth or rigidity, is that it is very easy to harass people out of a community while staying within its constraints, an
47.
▲
by
marijn
8y ago
Nice! I too, would love to read more on the OT/CRDT trade-off. Companion reading (the approach taken in ProseMirror, which was implemented in significantly less person-years): http://marijnhaverbeke.nl/blog/collabo
48.
▲
by
marijn
8y ago
Awesome to see the stupid trick to abbreviate object properties that I came up with in 2010 [1] is still a living part of the mini JS demo scene. [1]: http://marijnhaverbeke.nl/js1k/
49.
▲
by
marijn
8y ago
As long as the types on both sides match, the behavior of == is perfectly reasonable, and in typical uses, this will be the case.
50.
▲
by
marijn
8y ago
Makes sense. But I guess precise paths (ending with .js) are recognized and cause no actual file system searching?
51.
▲
by
marijn
8y ago
Another question—does this also resolve from directory paths to index.js, add missing extensions, and so on, or does it only map package names to directories? As in, does this get rid of all 'superfluous' file system access during
52.
▲
by
marijn
8y ago
This seems to be solving a problem quite similar to the one of getting browsers to resolve non-relative imports (without file system access, they also need a precise map from module names to paths). Unfortunately, I can't remember who
53.
▲
by
marijn
8y ago
> Your options are to increase the number of bits used, which puts off the overflow, or you could work with infinite precision arithmetic, which would slowly use up the available memory and finally bring the system down. Yeah, no. Doubli
54.
▲
by
marijn
8y ago
We're not really using shims, just targeting the lowest-common-denominator contentEditable behavior that we can count on, and implementing anything else ourselves.
55.
▲
by
marijn
8y ago
Indeed, I'm aware of those and they are great.
56.
▲
by
marijn
8y ago
It should not be hard to do this as a plugin, but the core maintainers are unlikely to work on it.
57.
▲
by
marijn
8y ago
> Will CodeMirror6 implement vim mode in a similar fashion? This hasn't been decided yet—I'm aware how much people appreciate the vim bindings, but they are _huge_ (as big as the current core) and written by someone else. I
58.
▲
by
marijn
8y ago
There's a lot of architectural influence on the new CodeMirror from our ProseMirror work, but the actual systems are different enough that code sharing didn't really work (or, at least, would add enough levels of extra indirection
59.
▲
by
marijn
8y ago
It provides significant advantages when it comes to noticing bugs and including types (also for docs) in the code from the start. I feel that TypeScript is widely enough known at this point (and close enough to JavaScript to figure it out q
60.
▲
by
marijn
8y ago
I did study Monaco, but we're using a very different approach (Monaco resembles the current CodeMirror more), because what they do in almost impossible to make work on mobile. When it comes to accessibility, they do a great job, and I&
More ›