pwdisswordfishz

Joined 2 years ago

Karma
535
Submissions
254
Member since
Jun 9

    const links = Array.from(document.querySelectorAll(':link[href^="vote"][id^="up"]:not(.nosee)'));
    const timer = setInterval(() => {
      const link = links.pop();
      if (!link.matches('.nosee'))
        setTimeout(() => link.click(), Math.random() * 2000);
      if (links.length === 0)
        clearInterval(timer);
    }, 16000);
View on Hacker News

Recent submissions

Comment · 1 year ago
I don't understand why people insist on simulating a poor substitute for RAII with a feature that is itself almost decent RAII.

> If malloc fails and returns NULL, the cleanup function will still be called, and there’s no simple way to add a guard inside free_ptr.

free(NULL) is a no-op, this is a non-issue. I don't know what's so hard about a single if statement anyway even if this were an issue.

Comment · 1 year ago
No, they are not two em-dash options.
Comment · 1 year ago
AI makes typoes all the same.
Comment · 1 year ago
That's a hyphen, not a minus sign, silly.
Comment · 1 year ago
There are other problems besides access. The big one being that the people that you'll find on Discord are the kinds of people that you'll find on Discord.
Comment · 1 year ago
So why would I care what some racist Twitter rando thinks?
Comment · 1 year ago
Why did I expect a terminal emulator
Comment · 1 year ago
Comment · 1 year ago
> display images inline like Reddit does

That's a relatively new development. The cultural aspects that you're describing were already in place (entrenched) well before Reddit integrated that feature.

Comment · 1 year ago
You could replace specialized terms with nonsense words in anything. This is completely non-actionable critique.

In the end, there is no Royal Road to learning. You have to create put in the effort to create new concepts in your head to understand something.

Comment · 1 year ago
And C/C++.
Comment · 1 year ago
Take N screenshots, XOR them pairwise, OR the results, then perform normal OCR.
Comment · 1 year ago
Same typewriters that didn't bother having dedicated "0" and "1" keys?
Comment · 1 year ago
It wasn't, but that is not why.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton