Live data from Hacker News

One Million Checkboxes

onemillioncheckboxes.com

101–110 of 320 posts

Re: One Million Checkboxes

#102
post #79
post #59

Earlier quoted context omitted.

it's a tiny flask server, a bitset stored in redis, updates broadcast (too frequently! but i don't want to change it now) via websockets, and react-window to only render the checkboxes that are in view. I'll do a writeup when i finish putting out fires!

Fun challenge: userscript to make an animated fire out of checkboxes

userscript to make real fire on hosted server for bonus points

Re: One Million Checkboxes

#103

Scrolled down randomly, found a swastika, clicked back.

Honestly that was one of my first thoughts when I saw this, someone is going to draw one of those. People love trying to be offensive in something that barely allows communication. I remember seeing some MMORPG that had no chat where players would log in and just stand in the shape of a swastika. Makes me wonder if it's reasonable to write an algorithm to detect that.

I built a grid-based music sequencer for the web a while ago that lets people see projects other people made in a side panel.

I very quickly realized I needed some manual content moderation because some people immediately started sharing patterns that looked like dicks and swastikas lol

Re: One Million Checkboxes

#104
post #43

All the boxes must be checked. To whoever is unchecking them, please reconsider and come over to the checked side.

No. I want the world to burn.

  document.querySelectorAll('input[type="checkbox"]').forEach(function(checkbox) {
    checkbox.checked = Math.random() >= 0.5;
  });

Re: One Million Checkboxes

#106
post #85
post #27

tried doing: ``` $$('input[type=checkbox]').forEach(elt => elt.click()); ``` and got an alert that said "CHILL LOL". fun site

document.querySelectorAll("input[type=checkbox]").forEach(i => { i.checked = false; }); seems to work for a second. no alert.

Presumably that skips the code that sends the event to the backend?

Re: One Million Checkboxes

#109
post #84
post #8

(developer here) this is....more popular than i expected. the server's gonna be having some problems for a while

i spun up 5 more servers and pushed some optimizations and i think it's gonna be ok for a bit.

I think you just hit the 640K problem.
Post reply on HN