szhu

Joined 12 years ago

Karma
763
Submissions
159
Member since
Mar 17
https://github.com/szhu
View on Hacker News

Recent submissions

Comment · 3 years ago
I think that's actually just an example of either ask culture or guess culture, depending on the context.

If the friend should only say yes if they really want to, then that's ask culture.

If the friend should feel obligated to say yes, then that's guess culture.

The only difference here is that the request is worded differently (as a statement rather than as a question), which is simply close friends adopting their own language conventions, a slightly-related but independent concept.

Comment · 3 years ago
I admire your dedication! Thank you for sacrificing 38 minutes of screen time for a noble cause.
Comment · 3 years ago
Update: I added a new algorithm, and I think it might be impossible to crash the ship now.

Let me know if you can still reproduce the bug!

Comment · 3 years ago
Actually, I think my new algorithm fixes this -- and without any dedicated "swaying" edge case!
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Thanks! Yeah it's just (1) rotate to follow the trajectory line and (2) slow down once you get close to the bottom.
Comment · 3 years ago
oh yeah definitely. Left as an exercise for the reader??

(accepting PRs!)

Comment · 3 years ago
That's a ceiling for the speed the autopilot is okay with letting the lander descend. There is no ceiling to how much hard it will try to "apply the brakes".

I agree that the target velocity calculation is off though. I was excited that I came up with something reasonably theoretically correct for correcting rotation... and for figuring out when to fire the engines I just gave up and eyeballed it :)

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton