News for hackers. Stuff that matters.

texxtxxet

Re:Don't Force Users to Register Before They Can Buy (2015) on Thursday January 05, 2023 @12:30PM (#34263327)
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.
Re:What do I need to buy to beat my iPhone 14 Pro? on Thursday January 05, 2023 @11:27AM (#34262212)
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.

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?

Re:Don't Force Users to Register Before They Can Buy (2015) on Thursday December 22, 2022 @06:12PM (#34100208)
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.

Re:Bike frame stiffness: Why it matters and all you need to know on Thursday December 22, 2022 @12:46AM (#34090238)
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).
Re:Bike frame stiffness: Why it matters and all you need to know on Thursday December 22, 2022 @12:38AM (#34090204)
Relevant Sheldon Brown article of course:

"they are welded, not brazed. [...] There are necked-down parts that fit into the top tube and down tube, like internal lugs."

https://www.sheldonbrown.com/chicago-schwinns.html

Re:Overview Of Upcoming Rails 7.1 Features Part 1 on Tuesday December 20, 2022 @10:57AM (#34067660)
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

Re:Overview Of Upcoming Rails 7.1 Features Part 1 on Tuesday December 20, 2022 @10:55AM (#34067632)
A specific example? Genuinely asking (codebase is Typescript/ES6 modules).
Re:Overview Of Upcoming Rails 7.1 Features Part 1 on Tuesday December 20, 2022 @10:47AM (#34067497)
presumably the "programming language(s)" part of the stack never changes between front and back end (it's typescript)?
Re:Overview Of Upcoming Rails 7.1 Features Part 1 on Tuesday December 20, 2022 @10:41AM (#34067411)
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?

Re:Making the GOV.UK Front end typography scale more accessible on Thursday December 15, 2022 @12:54AM (#33995795)
> 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.

Re:jQuery 3.6.2 Released on Wednesday December 14, 2022 @04:58PM (#33991205)
Why not components from a React library like Material UI?

jQuery UI is "in a maintenance state" and "older long-standing bugs may not get fixed" I'm afraid

https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/

Re:jQuery 3.6.2 Released on Wednesday December 14, 2022 @04:27PM (#33990850)
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).

Re:jQuery 3.6.2 Released on Wednesday December 14, 2022 @04:18PM (#33990727)
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.

and Tulip Mainia! (did we cover all the tired crypto takes?)
Re:Can’t Hear What Actors Are Saying on TV? It’s Not You on Monday November 28, 2022 @11:18AM (#33775479)
Maybe helps explains why a lot of plotlines nowadays are just watching two people send each other text messages