Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sammycage
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
1.
▲
Show HN: PlutoPrint v0.11.0 released with many new features
(pypi.org)
1 points
by
sammycage
10mo ago
|
0 comments
2.
▲
by
sammycage
1y ago
Thanks for your questions! 1. The documentation for HTML and CSS parsers is pretty straightforward and easier to implement, so I thought it was better to write them myself. 2. It fully supports margin boxes (headers and footers) using prope
3.
▲
by
sammycage
1y ago
Thank you for your kind words and for noticing the work behind this. Building an HTML and CSS rendering engine has been a long journey with many surprises. I have been maintaining https://github.com/sammycage/lunasvg f
4.
▲
by
sammycage
1y ago
Hi! We haven’t specifically tested Colab notebooks. They’re tricky because of dynamic layouts and tables, but simpler notebook exports to HTML might work better. Any feedback or test cases would be super helpful to improve support.
5.
▲
by
sammycage
1y ago
Typst and PlutoPrint serve somewhat different purposes. Typst is more like a modern typesetting language, focusing on fully programmatic document layouts with its own syntax, while PlutoPrint is a Python library built on a C++ rendering eng
6.
▲
by
sammycage
1y ago
Interesting. I will give it a try. By the way, why is converting to HTML first a problem for you?
7.
▲
by
sammycage
1y ago
PlutoPrint supports a large subset of CSS, including flexbox for most common layouts, but it’s not a full browser engine, so there are some limitations. You can see a more complete list of supported features here: https://github.
8.
▲
by
sammycage
1y ago
Thanks for the feedback. We’ve tested PlutoPrint on multiple platforms, including Windows and Linux, and it generally works well there. Mac-specific issues like crashes or empty outputs are definitely on our radar, and we’re investigating p
9.
▲
by
sammycage
1y ago
That’s a good point. Using Puppeteer or a headless browser gives you essentially full web platform support. The tradeoff is that it comes with a heavier runtime and more moving parts (Chromium, Node, etc.). PlutoPrint aims to be much lighte
10.
▲
by
sammycage
1y ago
WeasyPrint is great, but PlutoPrint takes a different angle: the engine is all C++, so it’s faster and lighter on memory. It can render directly to PNG as well as PDF, and has stronger SVG support.
11.
▲
Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
(github.com)
161 points
by
sammycage
1y ago
|
49 comments
12.
▲
Show HN: PlutoPrint – Generate Beautiful PDFs and PNGs from HTML with Python
(github.com)
3 points
by
sammycage
1y ago
|
0 comments
13.
▲
Show HN: LunaSVG – C++ Library for Rendering and Manipulating SVG Documents
(github.com)
5 points
by
sammycage
1y ago
|
0 comments
14.
▲
Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C
(github.com)
79 points
by
sammycage
1y ago
|
16 comments
15.
▲
by
sammycage
1y ago
Clean, thoughtful, and practical. Curious, have you tried benchmarking your Haskell solver against an SMT solver (like Z3 or CVC5) to compare performance or expressiveness?
16.
▲
by
sammycage
1y ago
I feel this so much. File IO on flaky or network drives is a nightmare, and blocking calls make it worse. It’s good to see the async iterator and substring search moving forward, though it still feels a bit fragile with the thread workaroun
17.
▲
by
sammycage
1y ago
Nice breakdown. Seeing each core as its own machine passing messages through cache lines makes the usual atomic patterns much easier to reason about. This mindset also explains why misuse of atomics can kill performance when you forget how
18.
▲
by
sammycage
1y ago
I appreciate Lanier’s reminder that AI is ultimately a collective artifact, not an independent mind. Calling it "large language social collaboration" might be clunky, but the point is fair: what we label "AI" is just our
19.
▲
Show HN: PlutoBook – Fast, lightweight C++ library for generating PDF from HTML
(github.com)
11 points
by
sammycage
1y ago
|
2 comments