Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
[dupe] Drowning in Problems – By Notch, Creator of Minecraft (notch.net)
24 points by bellcurvetopper on April 29, 2014 | hide | past | favorite | 9 comments


This is a repost of https://news.ycombinator.com/item?id=7652018

Sorry for writing this comment, but I don't know how to flag it.


Aww,

    a = setInterval(function() { $("a:contains('Solve')").simulate("click"); }, 1000)
minutes later:

    You are dead.
There's a lesson here somewhere.


it's working fairy well -- continuously click on actions that take no cost

    setInterval(function () {
        [].forEach.call($('#problems').childNodes, function (p) {
            if (p.children    &&
                p.children[1] && 
                p.children[1].className === 'award') {
                p.children[0].click();
            }
        })    
    }, 250);

    // child out
    setInterval(function() {
        if (window.relax_solve) {
            window.relax_solve.click()
        }
    }, 500)


>There's a lesson here somewhere.

Reincarnation is just pointer arithmetic.



I can't decide if this is a philosophical work of interactive art or an indirect request for help with depression.


I can't decide if we should just repost it every couple days to HN.


    setInterval(function(){
    	[].forEach.call(document.querySelectorAll('a'), function(a){
    		a.click();
    	});
    }, 250);


Apologies, I did a quick search before posting and didn't see the original submission. Happy to take it down if that's best.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: