Comment

Comment by karma_fountain

Nice fix! It's been a while since I've done c++ so does the following code

  const auto elapsed = steady_clock::now() - start;
  if (elapsed > 10s) {
actually use a units quantifier on the 10, i.e. does 10s mean 10 seconds? Is that a library thing? Cool if so.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton