Live data from Hacker News

Show HN: Draw a fish and watch it swim with the others

drawafish.com

181–190 of 247 posts

Re: Show HN: Draw a fish and watch it swim with the others

#181

Earlier quoted context omitted.

I tried to draw an eel, and when I was done I realized that all I'd done was draw a very orange, toothed penis.

is this a reference to the new South Park episode? (sorry)

>is this a reference to the new South Park episode?

I don't think so, he said "long" lol

Re: Show HN: Draw a fish and watch it swim with the others

#182

Earlier quoted context omitted.

There are some fish decorated with swastikas floating around

And a Star of David Edit: And a lot of Palestinian flags when sorting by popular.

Just noticed "Chosen Fish" on the leaderboard - sometimes it's a bit less subtle.

Re: Show HN: Draw a fish and watch it swim with the others

#183
post #171

The leaderboard is fascinating. Some people are clearly putting a lot of time into this, while the rest of us are trying to sneak phallic shapes past your CNN. 1. https://drawafish.com/rank.html?userId=1753510318634_cdeh6a4...

Ok there's some sort of bot war going on with the leaderboard, right? The Palestine fish has 370,000 votes total (both up & down), which seems like a lot. Does HN really drive that kind of traffic??

The rule of thumb is 100*upvotes+50, so with the current 600 points, it's like 60.000 visits. Don't take that estimation too seriously, it's only a not so bad initial estimation.

Re: Show HN: Draw a fish and watch it swim with the others

#185

Somewhat interesting thing with my 9yo. She's a pretty good artist, she can draw various characters and objects pretty well. With this she clearly just wanted to do the standard stick fish shape, but it turns out she only knows how to do it facing left. Facing left, looks typical, facing right, almost a figure 8. So after like 6 attempts being judged by the computer she's getting frustrated, and I'm like how about th…

Feature request: Make the model evaluate the fish and then evaluate the mirrored version of the fish. Pick the highest value as the orientation. What could go wrong? Perhaps ask the user before mirroring?

Re: Show HN: Draw a fish and watch it swim with the others

#187

I waited for my fish. But it never came. Made me sad.

It turns out there are two filters; the fishiness as determined by the UI layer must be separate from the content moderation filters on the backend. I've also had a couple fish that the UI thought were acceptable but the backend (rightfully) disappeared into the void.

Re: Show HN: Draw a fish and watch it swim with the others

#190
post #70

> exercise in vibe-coding The code shows it... Your escaping routine seems OK, but you really __should not__ be building HTML and JS(!) using raw string interpolation. Or letting the client decide whether the submission needs moderation.

To be fair, everything on the client is raw string interpolation. It's only secure if you comprehensively vet everything once it's on the server.

That's absolutely not true. Sanitization on the client is significantly safer, because the client knows how it parses HTML, while the server can, at best, guess (and hope it follows the spec).

When you set element.textContent = someUserGeneratedContent, the browser guarantees that the user-generated content will never be parsed as HTML.

response.write("" + sanitize(someUserGeneratedContent) + "") has no such guarantee.

Post reply on HN