HNHacker News
TopNewBestAskShowJobs

xiaohanyu

109 karma · joined April 4, 2017

submissionscomments
xiaohanyu··on Apprentice: A Slim, Extensible Coding Harness (Written in Common Lisp)
Super interesting project!

Reminds me the good old days when I learn emacs lisp.

My question is, why lisp here? What is the unique advantage of using common lisp over other langs for coding harness scenario?

xiaohanyu··on Flet 1.0 – Build cross-platform apps in Python
Is this build on top of flutter?

And for web, does it generate plain HTML/CSS, the DOM tree, or just generate everything in a canvas?

xiaohanyu··on [dead]
A good tutorial that uses diagrams and intuitive explanations to explore the core concept of distributed systems.
xiaohanyu··on Tell HN: Facebook's reasons to disable an account is a blackbox
+1

For no reason facebook blocked my account long time ago.

Can't figure out how to recover at all.

No response and no way to appeal.

xiaohanyu··on Show HN: Zero WYSIWYG – A lightweight, zero-dependency HTML editor
wow this looks super cool!

How long did it take to develop?

Have you considered the competitors like tiptap editor? Curious what is your opinion VS tiptap's pros/cons.

xiaohanyu··on They lied to you. Building software is hard
"If you are looking for that one trick that lets you get ahead and jumpstart your career, my advice to you is: Don’t choose the path of least resistance. When training a muscle, you only get stronger with resistance. The same is true for learning any new skill. It is when you struggle with a specific problem or concept that you tend to remember."

Pretty nice description.

xiaohanyu··on Books Should Update as Software
One of the main reasons why books cannot update as software is because there is no GitHub or even Git thing for books crafting.
xiaohanyu··on Show HN: PicList, a cloud storage manager and image hosting CLI/GUI
What is picgo?
xiaohanyu··on Show HN: A vibe-coded database GUI
I just watched a video https://www.youtube.com/watch?v=eIoohUmYpGI which I think summarize your points here, recommend it to you as well.
xiaohanyu··on Git analytics that works across GitHub, GitLab, and Bitbucket
I think github has some API for this right?

Does gitmore just call GitHub API or counts by commits manually?

xiaohanyu··on Show HN: Turn raw HTML into production-ready images for free
Maybe webp is a better target than png?
xiaohanyu··on Show HN: A vibe-coded database GUI
Interesting journey of vibe coding a non-trivial project.

Any more details about why this project is unmaintainable?

xiaohanyu··on Programming languages used for music
The best demo for music programming language demo I can found is: https://www.youtube.com/watch?v=yY1FSsUV-8c&t=374s, The concert programmer.
xiaohanyu··on Ask HN: What Are You Working On? (December 2025)
https://yamlresume.dev

A open source Node.js lib that allows people to create and version control resumes using YAML.

Support LaTeX/PDF/Markdown outputs in one shot with professional typesetting. Support English/Chinese/Norwegian/French languages out of the box. With clang style, real time error reporting.

To release soon: HTML output.

Demo: https://asciinema.org/a/759578

xiaohanyu··on I wrote my PhD Thesis in Typst
One thing that LaTeX still win is CJK support, typst is still very young and lacks professional support for non-latin languages: https://blog.ppresume.com/posts/on-typesetting-engines#concl...

I admit that typst is quite promising and given enough time, its adoption will increase quite a lot.

xiaohanyu··on Show HN: YAMLResume, Open Source Node.js Tool to Create Resumes as Code in YAML
yep agree
xiaohanyu··on Show HN: YAMLResume, Open Source Node.js Tool to Create Resumes as Code in YAML
Actually I am planning to integrate AI to generate this kind of YAML first and then convert it to PDF.

The idea:

1. apply strict schema validation to YAML so AI won't generate wrong/invalid data 2. write prompt to AI help people generate a sample YAMLResume 3. adopt AI to parse existing PDF or images and convert it to YAMLResume format

xiaohanyu··on Modern LaTeX
Typst is a pretty good alternative to LaTeX and I agree all pros in your comment, with only one major deal breaker now: its CJK support is not mature enough and not producation-ready yet.

I wrote a post half year ago explained the details for my decision between LaTeX and Typst: https://blog.ppresume.com/posts/on-typesetting-engines#typst

xiaohanyu··on Modern LaTeX
If you do not insist on org-mode, then maybe you can try to organize your CV in YAML format with a tool called YAMLResume: https://yamlresume.dev, which transforms a resume in YAML to LaTeX and generate PDF.
xiaohanyu··on Typesetting Engines: A Programmer's Perspective
I know groff, at least the bible K&R C programming book is published by groff, if I am not wrong.

For me, I think groff/LaTeX/SILE/typst all belongs to same category, i.e, the author write some markup language, then processed by some processors, then get an output. I chose LaTeX and Typst as the classic ones in my post:

- LaTeX is the classic, old school typesetting engine - Typst, clearly more modern, with many advanced design like incremental compilation, wasm and web app, instant preview, better error message.

For others, groff/SILE, to be honest I don't have time to dive into each of these.

----

Do you see any advantages of groff over LaTeX?

xiaohanyu··on Typesetting Engines: A Programmer's Perspective
roger that, thanks!
xiaohanyu··on Typesetting Engines: A Programmer's Perspective
Just for keenwrite, from the screenshot: https://keenwrite.com/images/screenshots/05.png, seems that keenwrite doesn't implement Knuth Plass line breaking algorithm?
xiaohanyu··on Typesetting Engines: A Programmer's Perspective
Just curious, what is the best part you love typst most over LaTeX?

I guess: 1) the incremental compilation speed, 2) the modern user experience (better error message things, better syntax, etc)?

xiaohanyu··on Typesetting Engines: A Programmer's Perspective
Thanks for pointing this out.

Yes you are right, I am not a linguist so I have little knowledge for "Indo" languages.

Originally I adopted the word of "Germanic languages" then I found Spanish is not a Germanic language hence I then adopted "Indo European" language.

This needs a fix for sure.

xiaohanyu··on Typesetting Engines: A Programmer's Perspective
Any idea about TeXmacs support for non-latin languages?
xiaohanyu··on Typesetting Engines: A Programmer's Perspective
Author here.

I mentioned https://polytype.dev/ in the end of the post, which has pages.js included.

Is not that hard to simulate pagination with JavaScript, the deal breaker for me is still line breaking and also mixed languages typesetting nuances.

xiaohanyu··on Chicken-and-egg: paddle payment rejected me as I have no processing statements
100% agree
xiaohanyu··on Integrating Google Sign In boost conversion rate from 45% to 93% for Gmail users
Highly suggest SaaS makers integrate social sign-in to make the onboarding auth flow smooth but better to provides traditional email/password sign in as a fallback to avoid the danger of blocking by social sign in providers.
xiaohanyu··on PPResume, a LaTeX-Based Resume Builder
PPResume is a LaTeX based resume builder that helps people create beautifully typeset resumes in minutes.

Tech stack: React, TypeScript, Mantine, Next.js, Payload CMS, Logto, LaTeX。

It supports: - real time input validation - rich set of input controls - structural editing - customizable layout.

xiaohanyu··on Semantic UI
This site was released for just about one week, and yes, we know there're still many many problems, we will fix that as soon as possible.
Page 1 of 2Next →