Show HN: Di-ary – a math note-taking app built on Ruby on Rails, React and Redux (github.com) 8 points by mkalygin 10y ago ↗ HN
[–] corecoder 10y ago ↗ Very nice! A bit of flickering as you type, though. [–] mkalygin 10y ago ↗ Thanks! I'm using MathJax for LaTeX support. This is how it processes LaTeX (with flickering). I have no idea how to improve this. Any clues?I would probably try to prerender Markdown+Latex and update with a small throttling. But I haven't found a way to do this with MathJax. [–] corecoder 10y ago ↗ So, my first hypothesis would be to have two divs, one showing the latest result of marked, the other (not visible) showing the current result of marked; in the Typeset callback you could then swap the two divs. [–] mkalygin 10y ago ↗ This sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.
[–] mkalygin 10y ago ↗ Thanks! I'm using MathJax for LaTeX support. This is how it processes LaTeX (with flickering). I have no idea how to improve this. Any clues?I would probably try to prerender Markdown+Latex and update with a small throttling. But I haven't found a way to do this with MathJax. [–] corecoder 10y ago ↗ So, my first hypothesis would be to have two divs, one showing the latest result of marked, the other (not visible) showing the current result of marked; in the Typeset callback you could then swap the two divs. [–] mkalygin 10y ago ↗ This sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.
[–] corecoder 10y ago ↗ So, my first hypothesis would be to have two divs, one showing the latest result of marked, the other (not visible) showing the current result of marked; in the Typeset callback you could then swap the two divs. [–] mkalygin 10y ago ↗ This sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.
[–] mkalygin 10y ago ↗ This sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.
[–] The_suffocated 10y ago ↗ $\pmatrix{1&0\\ 0&1}$ does not work. [–] mkalygin 10y ago ↗ Good catch. This works (3 slashes):$\pmatrix{1&0 \\\ 0&1}$I'll investigate this bug.
[–] mkalygin 10y ago ↗ Good catch. This works (3 slashes):$\pmatrix{1&0 \\\ 0&1}$I'll investigate this bug.
7 comments
[ 2.7 ms ] story [ 25.1 ms ] threadI would probably try to prerender Markdown+Latex and update with a small throttling. But I haven't found a way to do this with MathJax.
$\pmatrix{1&0 \\\ 0&1}$
I'll investigate this bug.