HNHacker News
TopNewBestAskShowJobs

lizimo

16 karma · joined May 31, 2022

submissionscomments
lizimo··on Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD
Is `pgrcolumnar` the default storage layout for tables? It would be cool if the same storage engine outperforms vanilla Postgres under both OLTP and OLAP workloads.

AlloyDB from Google Cloud uses columnar storage like a secondary index, while the relations are still stored in TOAST.

lizimo··on Minecraft: Java Edition now uses SDL3
I'm surprised no one mentioned https://github.com/pumpkin-mc/pumpkin in this thread. It's the fastest Minecraft server implementation and it's written in Rust.
lizimo··on Typst 0.15.0
Yes. Although many document generation SaaS platforms are not transparent about their pricing, they often charge a few cents per document. This is somewhat unacceptable given that the marginal cost is almost zero.
lizimo··on Typst 0.15.0
We are indeed a monthly GitHub sponsor.
lizimo··on Typst 0.15.0
Typst has probably saved us thousands of dollars generating PDF documents programmatically.
lizimo··on Show HN: Pipenet – A Modern Alternative to Localtunnel
Cool website! Did you use any web framework or just plain HTML/CSS?
lizimo··on Ask HN: What is nowadays (opensource) way of converting HTML to PDF?
If generating PDF dynamically is what you really care about, consider Typst. https://typst.app/ We use it in production to generate reports, and it is amazing.
lizimo··on JavaScript is being rewritten in Rust
What's the problem with Inter?
lizimo··on I wrote my PhD Thesis in Typst
Most of the documents are generated in an instant, plus we deployed this on Kubernetes with HPA, so high load isn't an issue.

The main issue I found with an HTML-based approach is that browsers are not designed for papers. It would be very challenging, but still possible [1], to customize the page layout, headers, and footers. Nonetheless, we have even more advanced use cases that only Typst/LaTex could cater to, such as displaying the table header of a table that spans multiple pages on every page.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_q...

lizimo··on I wrote my PhD Thesis in Typst
We [1] have been using Typst to generate PDF documents in production for a few months, such as invoices and labels. It's generating thousands of documents daily, and I'm glad that some of them are printed and used by people in the warehouse who are doing real work.

I really like the simple syntax that Typst provides. It would be much harder for the PMs to edit the templates if we went with other solutions, such as wkhtmltopdf.

We also looked into other document generation services that provide a WYSIWYG interface, and they are all quite expensive and often lack advanced scripting capabilities.

[1] https://garnercorp.com/

lizimo··on Hysteria: a powerful, fast and censorship resistant proxy
An SSH tunnel is more than enough for that purpose.
lizimo··on Ask HN: Who is hiring? (March 2023)
Do you consider new grads for this role?