Live data from Hacker News

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

drawafish.com

71–80 of 247 posts

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

#72
post #39

The website is great! > I built a basic CNN trained against penises After seeing it in action, my second thought (first was just watching my fish) was that I was amazed at the good behavior of the users because I would have expected a lot of penises floating around. Now I understand. Nicely done!

As hard as I tried to add fish characteristics, it knew what I was doing.

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

#73
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.

I don't let the client decide whether the submission needs moderation :)

There's a very slightly different model in the backend that sends things to the mod queue. Strings are also sanitized there. But copilot really wanted to add all that logic to the frontend too and I thought it was funny

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

#77
post #73
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.

I don't let the client decide whether the submission needs moderation :) There's a very slightly different model in the backend that sends things to the mod queue. Strings are also sanitized there. But copilot really wanted to add all that logic to the frontend too and I thought it was funny

You still should not be building HTML and JS using string interpolation.

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

#78
post #39

The website is great! > I built a basic CNN trained against penises After seeing it in action, my second thought (first was just watching my fish) was that I was amazed at the good behavior of the users because I would have expected a lot of penises floating around. Now I understand. Nicely done!

Actually most people aren't trying to submit bad fish! I was surprised to, it's really like 95/5 good to bad submissions. People seem to follow the rules on average :)

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

#80
post #9

I did this on a trip to Japan but can't remember for the life of me where. Some museum. My wife and I drew fishes and then they were uploaded and we went to a room and watched them swim across walls/ceilings. Really cool experience

Our family did this recently as well at teamLab Planets in Tokyo. I filled out a circular template with a very creepy looking "smiley" face. The template turned out to be for raindrops. I couldn't stop giggling when hundreds of my monstrous creations filled the room, it was very fun.
Post reply on HN