75 karma · joined February 27, 2009
It pretty much does what he said. Whatever you type, it tells you the idea is bad and so are you, then tells you to go fuck yourself. No login, nothing to buy in the chat.
The joke part was quick. Most of the time since went into cost and safety.
Cost. It's one Cloudflare Worker with Workers AI and one KV namespace. The page is static assets, so loading it never runs the Worker. The model doesn't write the whole response. It writes one to three sentences that get dropped into a canned frame, max 130 tokens. Each prompt caches up to 3 responses, so popular prompts stop costing anything after a while. So far it costs basically nothing. Both AI calls have hard daily caps, so if everything maxes out the worst case is about $21 a day.
Safety took the most time. If a site says it's honest about how it feels about you, some people will tell it real things. So messages about self-harm, abuse, wanting to hurt someone, addiction or mental illness never get to the joke model. They get a plain message with real hotline numbers. There's a regex pass first, then a classifier call with its own daily budget, so running out of joke budget can't turn screening off. If the classifier doesn't answer, nobody gets a joke.
Every change to those gates came from something that slipped through in production. The dumbest bug kept coming back. I'd match a word like "shoot" and miss "shooting". That happened three separate times, and each time a real person in distress would have gotten a joke. I also tried a sensitive-word list as a backup for the classifier and took it out, because the messages it needed to catch never used the words on the list.
Ask me anything about how it's built.
Also, solar production doesn't peak with consumption.
Under "What to Submit": "On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity."
Since it's being upvoted, then I guess it's gratifying enough people's intellectual curiosity.
That's why I said it's on paper.
These employees have the opportunity to possibly make 10 to 20 years of their current salary in a day. Most people don't need more of an incentive than that.