Hacker News new | past | comments | ask | show | jobs | submit login

Some technical notes. Even for something like this, the OpenAI API can be expensive - there's a few decisions I made that keep costs lower.

1. I cache guesses and responses in Redis when I first see them, so I don't need to hit the API for duplicate guesses (which are common when lots of people are guessing the same movies).

2. Emoji order doesn't matter (I apply a sorting to guesses).

3. Guesses are not path dependent, with each guess being treated as completely new. This is understandably annoying when GPT guesses the same incorrect movie multiple times, but it drastically improves the cache-ability and keeps me from hitting my API limits.

Happy to answer any questions here! If you'd like to reach out to me my email is in my bio.




Would it be possible to make past days replayable, like https://twofergoofer.com/ does?

Also, do you have stats of the guesses? Would be interesting to see how many people managed to guess correctly within 1/2/3 attempts, and what were the most common emoji combinations for both correct and incorrect guesses.


Both great ideas. I'll look at the calendar-like feature.

Stats would be cool, I don't currently collect them but will think about adding them. Thanks!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: