Recent submissions

Comment · 1 day ago
Outside-the-box big brain idea for font webpages with walls of gibberish: Make the font for the gibberish the font.
Comment · 2 days ago
You can't legally make a crawler to compete with Google anymore, it's explicitly stated in a lot of robots.txt's.
Comment · 15 days ago
Not true, LLM’s will struggle with badly organized and designed large codebases just the same, though likely with less errors and profanities.
Comment · 1 month ago
You literally cite the wikipedia page that explains this? Or was this anti-AI slop also written by AI..
Comment · 1 month ago
There's a better way to do this, you use inverse CDF to avoid all the RNG calls. Generate a random number, then skip items until you reach that number:

selectRandomFromIteratorOptimized(iterator) { if (!iterator.moveNext()) { return null; }

    var winner = iterator.current();
    var count = 1;

    while (true) {
        var u = random_float_open(0.0, 1.0);
        var skip = (int)Math.Floor(Math.Log(u) / Math.Log(1.0 - (1.0 / (count + 1))));

        for (var i = 0; i < skip; ++i) {
            if (!iterator.moveNext()) {
                return winner;
            }
            ++count;
        }

        if (!iterator.moveNext()) {
            return winner;
        }

        ++count;
        winner = iterator.current();
    }
}
Comment · 6 months ago
The EFF has long been a skin suit my dude, they're just here to dissipate and confuse opposition.
Comment · 10 months ago
What is TSLA's valuation based on anymore? Maybe next week it'll be the moon colony they’ll have up and running in 2028.
Comment · 1 year ago
Comment · 1 year ago
The escalation of commitment scam, interesting to see it so effective when applied to AI.
Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
Ontogeny recapitulates phylogeny.
Comment · 2 years ago
They’re burning 30 million dollars a year on a site that’s torched over a billion since its inception. Just give the product manager one signup for their kpi before they/them are put out on the street.
Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton