Recent submissions

Comment · 5 years ago
The site has MathML (pMML) representations that can be downloaded.
Comment · 7 years ago
I wonder if this project, at least VCL compiler part of it, could've benefited from the use of a parser generator. I understand going slow, but using a parser generator would've allowed for faster development of VCL freeing up time to add more features so it isn't so hard to write for.
Comment · 7 years ago
Comment · 7 years ago
This really depends on what you care about. Flow is much better at ensuring type safety in your code while TypeScript has some pretty glaring holes in this respect. In particular, TypeScript allows covariant assignment and param passing which makes it really easy to write unsafe code.
Comment · 7 years ago
The questions themselves don't have to be visible, just a list of who's next when asking a question or making a comment.
Comment · 7 years ago
Comment · 7 years ago
My limited understanding of MathJax is that it uses the browser to measure glyphs. KaTeX on the other hand includes metrics for many of its glyphs. Where things get a little tricky is i18n. There are many languages which our current fonts don't cover and thus we have no metrics for them (we make some educated guess about some unicode ranges). It would be really nice if browsers implemented a Font Metrics API, unfortunately efforts to do so appear stalled at the moment.
Comment · 8 years ago
Comment · 8 years ago
I think part of BuckleScript's speed may come from the source language, OCaml, being easier to parse. There may also be fewer passes necessary to transform OCaml to JavaScript.
Comment · 9 years ago
Does anyone know the actual spec for this binary AST can be found? In particular I'm curious about the format of each node type.
Comment · 9 years ago
While SVG can do a lot, there are certain things that it isn't optimized for. In particular animating lots of shapes simultaneously. The animation of the globe exploding into a bunch of triangles from the slides is a good (bad?) example of this. Also, there can also be inconsistencies is in the rendering of SVGs between browsers.
Comment · 9 years ago
Nice work. The drawing recognition feature seemed to work well. One little thing that could be improve is enforcing a minimum font size so that deeply nested fractions don't become unreadably small.
Comment · 9 years ago
I had experimental WebGL 2 support turned on. Turning it off, fixed the problem.
Comment · 9 years ago
There's a lot of compile to JS languages. It'd be interesting to see how many frontend devs are migrating to these languages for at least some of their projects.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton