Live data from Hacker News

Viewing profile — henshao

henshao

HN member
Joined
Mon, Oct 20, 2014, 3:08 AM UTC
HN karma
113
Public activity
39 items

About henshao

No profile information was provided.

Recent public activity

  1. comment
    Comment #46671346

    I think in 2026 it's hard to make a video look this "bad" without it being a clear aesthetic choice, so not sure you could find this video in another setting.

  2. comment
    Comment #42721052

    I have trouble with code reviews because I can't run the code from the review GUI, so I usually look at the tests run in CI or pull and run it myself, if possible. Is this not a pr…

  3. comment
    Comment #42164858

    For coordinate transforms specifically, I also like to run through the whole chain of available, implemented transforms and back again - asserting I have the same coordinate at the…

  4. comment
    Comment #42133150

    Really interesting that nlohmann isn't fully compliant. What cases are these? It seems to me though that if you're encountering the edges of json where nlohmann or simple parsing d…

  5. comment
    Comment #42048356

    I'm going to assume you have about as many years of experience as me based on your profile, but if you're going to argue that maintaining this script - for the sole convenience of …

  6. comment
    Comment #42036624

    Hey. I think my point is that writing and maintaining 900 lines of code is an option, and another option is to figure out how to not write and rely on 900 lines of code. I looked t…

  7. comment
    Comment #42036570

    Just for anyone else following along..you're right. Here it is. git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d

  8. comment
    Comment #42036562

    Thanks for keeping me honest. I just read the first line of the stackoverflow, but the one liner is still in the comments. I just tested it. https://stackoverflow.com/questions/772…

  9. comment
    Comment #42035669

    Yeah I am just finding it hard to believe that there are so many people who don't. Maybe we are 10x engineers w.r.t. git aliases. Congratulations

  10. comment
    Comment #42035550

    These should be aliases in your git config. git config --global alias. I'm really trying to understand, and not to be too negative. I get coming up with a solution to a problem, an…

  11. comment
    Comment #42035497

    "git delete gone branches" is a one liner that you can google. first stack overflow result gives you the answer: git remote prune origin Why would you use this 50 line script to do…

  12. comment
    Comment #42035466

    This was my first thought as well. This might be an indictment of how obscure/confusing some git invocations are...hence the alias to human readable names. It is kind of interestin…

  13. comment
    Comment #38666013

    https://github.com/Card-Forge/forge/pulls

  14. comment
    Comment #37606847

    As someone of asian descent, I find it interesting how so many of these comments have such a stereotypical software engineer's "why don't they just XYZ" statement and its pretty ey…

  15. comment
    Comment #35146555

    To hop on this tagline train...open to any critiques. "Share any link with ads and tracking removed." Rationale: Sharing = most important verb/subject. Followed by the subject (lin…

  16. comment
  17. comment
    Comment #34407248

    I had the same thought about the twitter link. I also find that many people decide to disconnect from the "rat race" and explore the mountains and be one with the earth...often aft…

  18. comment
    Comment #32761230

    https://www.sensorscall.com/#HowItWorks Plug in "night light" smart devices that detect pattern of life and deviations from it, reporting to a connected smart phone. I like it.

  19. comment
    Comment #32044246

    Associate professor of medical physics & molecular imaging In their profile

  20. comment
    Comment #31229861

    This seems like the right thread to ask. I love the idea of tools like these to be able to easily and programmatically draw diagrams, but eventually it gets thrown into a powerpoin…

  21. comment
    Comment #31020016

    Thanks for the grep tip! Unfortunately I've not put in the effort to learn awk past printing the n-th column of ls (my typical use) - the extra syntax required to properly 'quote' …

  22. comment
    Comment #31010050

    Just posting this without trying it out...grep -nH gives you line numbers and full filepath context, and as another commenter said, -ve allows you to string multiple excludes, so g…

  23. comment
    Comment #29485265

    I think splendor gets more interesting if your opponents are also trying to be strategic. You can see what color chips they are picking up, which lets you know what they are aiming…

  24. comment
    Comment #26959051

    I don't know about you, but for my tests on a curve where I might not be able to answer all the questions, doing the quick skim to answer the low hanging fruit before getting to th…

  25. comment
    Comment #26821657

    back of envelope: 450k man hours = 225 people full time, 1 year @ ~ 70k a year = 15m They added 34 more suites * 2 people * $1000 per person per cruise week = 78000 more per trip ~…