Hacker News new | ask | show | jobs
by syllogism 3780 days ago
Working on this. Thanks.

Edit: We have this fixed but we're reluctant to roll it out. Two days ago when we did an AWS deploy, they replaced healthy machines with unhealthy ones, and we had an hour of outage.

If you want to fix this on the client, I think the following quick fix works. At the bottom of the sense2vec script https://sense2vec.spacy.io/js/sense2vec.js , change:

    input.addEventListener('keydown', function() {
       if(event.keyCode == 13) run();
    });
to

    input.addEventListener('keydown', function(event) {
       if(event.keyCode == 13) run();
    });
1 comments

Also noting that linking URLs with the pipe symbol (eg https://sense2vec.spacy.io/?Autechre|PERSON) will result in the "|PERSON" being dropped from the search box.