Better HN
topnewbestaskshowjobs
Log inSign up

shuyang

11 karma · joined Nov 3, 2020 (6y ago) · 7 submissions

https://shuyang.li
Submissions

comment 4mo ago · link · parent

Took Dr. Thain's compilers class in college! It was the best. He's an excellent instructor, and the course project made me build a working C-style compiler step by step. I think the sample project here is pretty much the project we did; highly recommend following through the entire thing!

2.

Claude in China: how to "look like a normal person"(shuyangli.substack.com ↗)

2 points · by shuyang · 7mo ago · discuss

3.

My AI writes to my Apple Health in real time: observations on personal software(shuyangli.substack.com ↗)

2 points · by shuyang · 7mo ago · discuss

comment 7mo ago · link · parent

yeah, this is where my complaint is - github shows a "compare" button when I force push, but it's not linked to the PR review. The "file changed" status is often not granular enough - if I change one line, force push, the entire file gets marked as unreviewed. the github "changes since your last review" is commit-based, not sha-based.

what I want is something like graphite/gerritt/google's critique where after each force push, the review page shows only the true delta between the two shas (similar to the "compare" button in github, bu as a reviewable unit).

poked around on github, doesn't look like the stacked PR feature has affected this "changes since your last review" selector yet :(

comment 7mo ago · link · parent

waitlist only :/ waiting to get in so i can test it out!

comment 7mo ago · link · parent

Has anyone found a good code review workflow with `jj`? My problem is that GitHub doesn't remember the content of the last reviewed SHA, so every time I push a new change from jj, reviewers lose the delta from their last reviewed commit.

To work around this I stopped moving revs (squash/rebase) after review starts, which creates awkward local graphs if I have to merge from main for merge conflicts. Graphite works but it's $$$, and phabricator/reviewable/gerritt all have significant onboarding hurdles.