Live data from Hacker News

Checkbox Olympics

checkboxolympics.com

41–50 of 51 posts

Re: Checkbox Olympics

#42

r/mildlyinteresting, but would have been better if after the race you were shown your rank among other participants.

considering how people are already gaming/cheating on this, it's useless stats. Sure, you can write code to check for bots and the bots will write code to beat it...and so on

A deep learning model on the blockchain should be able to figure out cheaters from mouse movements and click intervals no?

But yeah you are right.

Re: Checkbox Olympics

#43
This basically told me I need a new / different trackball. The coefficient of static friction is too high in my current one to do this accurately - I need more force to start the ball rolling than I need to move to the next checkbox.

I'm using a Sanwa Supply one now

Looks like it might be a ploopy with BTS instead of their rollerbearings.

Re: Checkbox Olympics

#45
I decided to use Python instead of JS for this:

    import pyautogui as m
    from fastgrab import screenshot

    m.PAUSE = 0

    while 1:
        x, y = m.position()
        r, g, b, _ = screenshot.Screenshot().capture((x, y, 1, 1))[0][0]
        if (r, g, b) in ((50, 205, 50), (127, 224, 127)):
            break

    m.moveRel(-35, 105)

    for _ in range(27):
        m.click()
        m.moveRel(23, 0)
    m.click()
My record is 0.03 in FF

EDIT: 0.02 in Chromium

Re: Checkbox Olympics

#46
post #43

This basically told me I need a new / different trackball. The coefficient of static friction is too high in my current one to do this accurately - I need more force to start the ball rolling than I need to move to the next checkbox. I'm using a Sanwa Supply one now Looks like it might be a ploopy with BTS instead of their rollerbearings.

Have you cleaned the ball and the bearings recently? I need to clean a Logitech M570 about every 2-3 weeks.

Re: Checkbox Olympics

#47
I think this demonstrates that:

1) the hit area of native checkboxes should be larger, and

2) fieldsets with checkboxes should come with a native "Toggle All" button

Re: Checkbox Olympics

#48
Are you intentionally setting random tabindex values just to mess with keyboard users? I would like to suggest adding "Checkbox Paralympics" version, where keyboard users could compete too.

Re: Checkbox Olympics

#49

I think this demonstrates that: 1) the hit area of native checkboxes should be larger, and 2) fieldsets with checkboxes should come with a native "Toggle All" button

it would be such a dream if the hit area for native checkboxes would be larger

Re: Checkbox Olympics

#50
post #39
post #25

$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!

setTimeout doesn't guarantee that it will execute exactly after 3000. (() => { const targ = $(".setGo"); const targ2 = $(".theSport > div:nth-child(2)"); const observer = new MutationObserver((mutations, observer) => { if (mutations[0]?.target?.classList.contains('going')) { targ2.childNodes.forEach(c => c.click()); } }); observer.observe(targ, { subtree: false, attributes: true }); $('.readyButton').click() })(); Th…

Today I learned. Thank you!
Post reply on HN