Recent submissions

Comment · 3 years ago
This was my argument at the time: build long-term trust with your users (including in your UI) is more important than short-term gains.
Comment · 3 years ago
most camera buyers will in fact never buy a second lens [...] you've just wasted your money on a body that doesn't perform as well as an iPhone because of the cheap kit lens

Probably the strongest argument here. Yes, there are clip-on telephoto lenses for phones; but nothing beats a big piece of quality glass for speciality photography. Even in the low end (e.g. Canon RF 100-400mm F5.6-8 IS USM) this will be much more versatile for specialty photography.

Unless you're a pro photog you probably don't care, so want to take photos of your dog? use your phone is also good advice.

Comment · 3 years ago
Scores are ambiguous ("where exactly did the ball land?"), controversial and contentious, resulting in endless video replays and accusations of biased refs.

Where do the sports without ambiguous, controversial and contentious scores hire their bias-free referees?

Comment · 3 years ago
I fought (and lost) against this payflow at a job because Marketing guessed that the sunk cost of time spent filling out the CC info form made users more likely to just click "buy" once the final cost was revealed. Stats backed them up :(

A dark pattern for sure, becoming more frequent.

Comment · 3 years ago
A jump from, say, 23mm wide to 28mm on a standard road bike won't affect comfort much. Spend the money on getting the bike fit (or a beach cruiser).
Comment · 3 years ago
Comment · 3 years ago
For worse, it seems general comments like yours on very specific posts attract the most votes.

HN makes downvoted posts so low-contrast they're nearly illegible for me

Comment · 3 years ago
A specific example? Genuinely asking (codebase is Typescript/ES6 modules).
Comment · 3 years ago
presumably the "programming language(s)" part of the stack never changes between front and back end (it's typescript)?
Comment · 3 years ago
1. Rails retired Webpacker [that] compiled and bundled JS. Import maps, Turbo and Stimulus [are now the] default options, replacing Webpacker, Turbolinks and UJS.

How do these new tools compare with the old? Versus Webpack, Vite etc?

Comment · 3 years ago
> 1. Remove 14 on the font scale entirely (which used 14px on large screens and 12px on small screens)

HN please take a note and get rid of the tiny `font-size`s on this site please. Some text gets down to 9 or 10px.

Comment · 3 years ago
Comment · 3 years ago
Setting the `content` of a pseudo-element (like :before) to a variable with a text value (--sale-text: '50% off!').

I update the value of `--sale-text` to change all elements with that given classname to "25% off!" instead (for ex).

Comment · 3 years ago
CSS variable values are trimmed of whitespace [according to spec]?

> Return undefined for whitespace-only CSS variable values

I've gotten in the bad habit using of CSS vars for dynamic text, this will shoot me in the foot some day.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton