Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cosmiciron
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: VMPrint is now a PDF generator with embeddable preview. 1.7MB ONLY
(npmjs.com)
1 points
by
cosmiciron
6mo ago
|
0 comments
2.
▲
Show HN: I gave Claude a schema it had never seen. It made a newspaper
(cosmiciron.github.io)
2 points
by
cosmiciron
6mo ago
|
0 comments
3.
▲
Show HN: Draft2final – CLI converts Markdown into manuscript and screenplay PDFs
(draft2final.app)
2 points
by
cosmiciron
6mo ago
|
0 comments
4.
▲
by
cosmiciron
7mo ago
I beg to differ. People equate good writing with the cosmetics, which AI excels at, but it’s the substance that truly matters.
5.
▲
by
cosmiciron
7mo ago
Its UI is too complicated for my taste. Besides, its screenplay support isn't perfect.
6.
▲
by
cosmiciron
7mo ago
I'm not sure I understand what you are asking here. If it's some advanced feature, which is obviously out of my domain of expertise, you are welcome to participate and fork the project to implement it yourself.
7.
▲
by
cosmiciron
7mo ago
AI helped me write the documentation because it does a better job than I ever could. I honestly wish I’d had AI to help me write my screenplay ten years ago.
8.
▲
by
cosmiciron
7mo ago
I was an animation director, so I didn't do stunts. Sorry.
9.
▲
by
cosmiciron
7mo ago
Who said I used HTML? It was impossible to write screenplay/manuscript in HTML and receive industry compliant outputs when printed/converted to PDF.
10.
▲
by
cosmiciron
7mo ago
Because CSS is exactly what I wanted to avoid. I just needed predictable pager layout, and I didn't want to wrestle with CSS. Besides, this thing's tiny size allows it to run in a serverless function on the Edge, and that can be u
11.
▲
by
cosmiciron
7mo ago
Why hide it?
12.
▲
by
cosmiciron
7mo ago
And that's precisely why I'm neither a blockbuster director nor a massively paid "chief scientist", LOL. As for the strange sentences? Before the web turned everything into paperless, infinite scrolls, people actually ca
13.
▲
by
cosmiciron
7mo ago
This project started from exactly there too until I couldn't push react-pdf any further. The MORE/CONT'D feature required by screenplay was impossible to implement with react-pdf's black box so I had to write my own.
14.
▲
by
cosmiciron
7mo ago
Exactly! That's someone speaking from experience, I can tell! :p And yes the tests are in there. And interestingly enough, because the engine emits its IR (in compressed JSON), I can use those as snapshots for the tests. They work bett
15.
▲
by
cosmiciron
7mo ago
Thanks for the correction. I'm actually not familiar with Prince, so I really can't tell. To be clear, VMPrint isn't meant to compete with established engines like that. It’s just a genuinely helpful tool I built from scratch
16.
▲
by
cosmiciron
7mo ago
Thank you for the kind words. I hope it becomes a useful part of your toolkit. It certainly is for my need to generate screenplays.
17.
▲
by
cosmiciron
7mo ago
And what's the point of being right when it's slow and bloated? Come on, it works for a lot of use cases, and it doesn't work for some. And it's still evolving.
18.
▲
by
cosmiciron
7mo ago
As someone who has spent decades in the lucid dreaming community researching consciousness (and created the SSILD technique), I could give you a very long, highly philosophical answer about the nature of the self, LOL. But in the context of
19.
▲
by
cosmiciron
7mo ago
Good eye, you are right. A few others noticed this as well. It is a known trade off given the engine being pure JS and only 80K. The project is still at very early stage, and I'm definitely keeping my eyes open for solutions.
20.
▲
by
cosmiciron
7mo ago
You are absolutely right about the Devanagari. That is a known trade-off at the moment. Because the core engine is strictly constrained to 88 KiB of pure JavaScript, it intentionally bypasses massive C++ shaping libraries like HarfBuzz. I h
21.
▲
by
cosmiciron
7mo ago
You are completely right on all fronts. Thank you for taking a look at the code! You hit the exact architectural bottleneck. Right now, the engine uses Intl.Segmenter to find the grapheme boundaries, but then it just does a direct cmap look
22.
▲
by
cosmiciron
7mo ago
Incredible eye. You are absolutely right, and that is actually an artifact of the engine's current architecture! That screenshot includes the Hindi word 'देवनागरी' (Devanagari) and some Arabic text with diacritics. Because VM
23.
▲
Show HN: I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs
(github.com)
78 points
by
cosmiciron
7mo ago
|
57 comments