Recent submissions

Comment · 3 years ago
Godot is also getting really good
Comment · 3 years ago
what's lacking about Godot C# support?
Comment · 3 years ago
fwiw Google did the same trick with their servers
Comment · 3 years ago
monte carlo or some kind of ant colony simulation probably
Comment · 3 years ago
Comment · 3 years ago
I think it's still significantly behind GPT 3.5/4, both of which can get 67% on HumanEval, and 88% with Reflexion
Comment · 3 years ago
OOOH I've got one - I made a short script that lets me play any video on any site at arbitrary speed (speed controlled by arrow keys).

//@ts-check window.kVideoSpeed = 1; window.initialVolume = 1;

NUMPAD_3 = "99" NUMPAD_2 = "98" NUMPAD_6 = "102" NUMPAD_5 = "101"

UP_ARROW = "38" DOWN_ARROW = "40"

let timeoutId = null; document.onkeydown = (e) => { if (!document.querySelectorAll("video").length) { // no-op for pages with no videos return; } window.initialVolume = document.querySelector('video')?.volume || 1

    let myDiv = getOrMakeDiv();
    e = e || window.event;
    let KEYCODE = e.keyCode;

    // NOTE: can't use left/right b/c those go forward/back 10s on some sites
    if ((KEYCODE == UP_ARROW || KEYCODE == NUMPAD_6) && window.kVideoSpeed < 4) {
        // up arrow
        window.kVideoSpeed += 0.5;
        myDiv.textContent = window.kVideoSpeed;
    } else if ((KEYCODE == DOWN_ARROW || KEYCODE == NUMPAD_5) && window.kVideoSpeed > 1) {
        // down arrow
        window.kVideoSpeed -= 0.5;
        myDiv.textContent = window.kVideoSpeed;
    }
    for (let el of document.querySelectorAll("video")) {
        el.playbackRate = window.kVideoSpeed;

        // prevent volume from changing
        setTimeout(() => {
            el.volume = window.initialVolume
        }, 100)
    }
    if (timeoutId) {
        clearTimeout(timeoutId);
    }
    // set timeout to remove div
    timeoutId = setTimeout(() => { myDiv.remove() }, 1000);
}; function getOrMakeDiv() { if (!document.getElementById("myDiv")) {

        let div = document.createElement("div");
        div.id = "myDiv";
        // add styles to div
        div.style.padding = "8px";
        div.style.textAlign = "center";
        div.style.fontSize = "16px";
        div.style.position = "fixed";
        div.style.fontWeight = "600";
        div.style.border = "1px solid yellow";
        div.style.color = "white";
        div.style.backgroundColor = "black";
        div.style.zIndex = "999999";
        // insert div at the top of the body
        if (document.fullscreenElement) {
            document.fullscreenElement.prepend(div, document.fullscreenElement.firstChild)
        }
        else {
            document.body.insertBefore(div, document.body.firstChild);
        }
    }
    return document.getElementById("myDiv");
}
Comment · 3 years ago
Yep this is what most data structures and algo questions optimize for.
Comment · 3 years ago
> last updated 2023-03-19

Yep, anything that old is ancient in the AI world

Comment · 3 years ago
This isn't true, many open source companies make money in ways that don't diminish the core open source product, Kafka/ElasticSearch/MongoDB/Supabase/Vercel/Grafana/Red Hat/etc
Comment · 3 years ago
Comment · 3 years ago
additionally it gets a lot better via iteration, eg. feeding it back any error messages and asking it to try again.
Comment · 3 years ago
> it's not got a single coding question I've asked it right

Have you used common prompting techniques like CoT and self-reflection?

Comment · 3 years ago
just use the API which has no limit
Comment · 3 years ago
using chatGPT to summarize:

This section summarizes the issue with the ChatGPT service which caused some users to be able to see another user's chat history and payment information. OpenAI took the ChatGPT service offline and published technical details of the problem. The bug was found in the Redis client open-source library and has been patched. OpenAI has reached out to affected users and improved their systems to prevent this from happening again. They have also expressed their commitment to protecting user privacy and their dedication to the open-source community.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton