GSGBen

Joined 6 years ago

Karma
261
Submissions
82
Member since
Jan 26
https://twitter.com/GSGBen
View on Hacker News

Recent submissions

Comment · 1 year ago
Ah yep, I read about the TCP RST problem in one of the RFC docs, then promptly forgot about it and never implemented anything to avoid it. Thankyou for the detailed notes.
Comment · 1 year ago
Noice!
Comment · 1 year ago
Oof, thanks.
Comment · 1 year ago
Should be back up now with a very temporary workaround in place.
Comment · 1 year ago
Comment · 1 year ago
Found the issue - a use after free in send_response() if I close the session early due to an error. Was continuing to the next bit. Put a temp fix in place, will push a proper one later.
Comment · 1 year ago
Whoops, should be back up now. I'll have to check logs later to see why it went down.
Comment · 2 years ago
(continued)

Other tips: I still had issues going too granular with GOAP actions at the start, so I recommend keeping your actions as coarse as possible. It's still a tool that you use with your AI designer hat on, it doesn't do everything on its own. But the power of being able to throw in a new goal, maybe one new action, and have the existing actions solve all the other prerequisites, is amazing. Defining world properties and states is a muuuuuuch lower mental load than using utilities for actions.

I wrote it all with performance in mind, and it seems to run fine. Basically lots of caching (each world property is only evaluated once per AI per tick then re-used, shared values are cached for all then re-used, etc); eliminating invalid paths early; and searching backwards from the goal instead of forwards from the current world state. I test with 4 AI players on an old i3 laptop processor from ~2016 without issue.

Comment · 2 years ago
hmailserver is the replacement you want for this.
Comment · 3 years ago
Hey thanks, this was a good catch. `--shutter 12000` fixes the screen, and is bright but not too bright.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton