News for hackers. Stuff that matters.

jeremy8883

Re:Show HN: Most Hated Tools on Friday September 25, 2026 @06:59AM (#49842787)
Probably because more people are forced to use it.

Similarly, Azure DevOps is less hated than Jira, likely because most people haven't been cursed by the former.

Re:Framework Laptop 13 Pro on Wednesday April 22, 2026 @03:06AM (#47860094)
Finally a haptic trackpad. Unfortunately not having one was a dealbreaker when purchasing my laptop last year, but next upgrade I'll be able to consider them again.
Re:Just Use a Button on Saturday November 01, 2025 @12:09AM (#45779182)
Yes, use the button element for buttons, and a for links.

But this is not a new problem or one "among the react crowd". Anecdotally I'd say it was more prevalent 10 or 15 years ago.

Re:It's time for modern CSS to kill the SPA on Sunday July 27, 2025 @03:12AM (#44699442)
the back button does work, if you use any basic routing library. opening in a new tab does work, with any basic routing library...
Re:It's time for modern CSS to kill the SPA on Sunday July 27, 2025 @03:01AM (#44699394)
if you're receiving jarring page scrolling, it is not the fault of the spa, it's something else at play. it is not they typical spa experience.

if the back button doesn't work, the site was poorly programmed, since any routing library will handle that for you.

Re:There’s No Such Thing as Clean Code on Friday January 28, 2022 @10:09PM (#30123412)
Bob himself has mentioned that many of the rules are contradictory to one another. I can't remember what examples he gave. I think it was in his video series.
Re:No code reviews by default on Tuesday January 04, 2022 @06:13PM (#29802279)
Yeah, in the past month, I've caught out 2 bugs in a code review. One was a performance degradation due to a function being passed down into a react `useMemo` hook dependency array. The other was that the code was fixing a symptom, but not the cure.

I guess it depends on the quality of the reviewers.

Re:Automatically Light Up a Sign When Your Webcam Is in Use on Saturday August 28, 2021 @09:48AM (#28338010)
Thank you! I couldn't originally figure this out for my "on air" script, so my workaround was to query the existance of the `zoom.us` process every second.
Re:NestedText, a nice alternative to JSON, YAML, TOML on Saturday October 03, 2020 @11:34PM (#24676355)
Apologies, it looks like pre es6, they were unordered objects. But now there are rules that guarantee insertion order.
Re:NestedText, a nice alternative to JSON, YAML, TOML on Saturday October 03, 2020 @07:13PM (#24675376)
Interesting idea to remove number and string types. The downside being that you spend more time writing parsers of the data. But if you had some sort of separate schema that generated all of that for you, it would no longer be such a big deal.

They mention that their key/value pairs are ordered. The downside here is that not all languages (eg. javascript), support them.

I also prefer them to be unordered. The downside with ordered dictionaries, is that you need to always be asking "does sequence matter here?". So it adds an additional thing to think about, more tests need to be written, and certain optimisations can't always be made.

Re:State of JavaScript 2019 on Friday December 20, 2019 @07:35AM (#21843669)
I've never understood that position. Hooks and redux solve completely different problems. Why would the introduction of hooks change anything about using redux?
Re:Oh God, It's Raining Newsletters on Sunday February 10, 2019 @04:19AM (#19127034)
For JavaScript, https://javascriptweekly.com is pretty good.
Re:Introducing Pebble Time on Tuesday February 24, 2015 @10:56PM (#9105205)
I do wish the pebble buttons were easier to press.
Re:Introducing Pebble Time on Tuesday February 24, 2015 @12:39PM (#9102155)
> Just swiping and tapping to control is useful than having to fiddle with 4 buttons

What's fiddly about buttons? It's much faster than swiping a couple of times to get to the option you want.