New answers tagged

0 votes

Move timestamp to the next Monday 10:01 AM

Yikes! Use a datetime library already, that's what they're there for, it's a solved problem. test suite I didn't see any automated unit tests in this submission. If you want to convince me of ...
J_H's user avatar
  • 17k
2 votes

Typescript React-Native Component Dimension Hook

So I think it's natural to reach for a class esp. when coming from an OOP background, but I would encourage you to try and think about if it's necessary in this ...
matt.roelle's user avatar
4 votes

Find the closest named color

Incorrect calculation of color distance sRGB is a logarithmic scale RGB (AKA sRGB) as used by the browser is a logarithmic scale (apart from the very darker values which are linear) Your calculation ...
Blindman67's user avatar
  • 21.6k

Top 50 recent answers are included