News for hackers. Stuff that matters.

muli_d

Re:Chezmoi introduces ban on LLM-generated contributions on Wednesday October 22, 2025 @11:00AM (#45670180)
"Users posting unreviewed LLM-generated content with the admission that they do not understand the code"

Unreviewed is a key word here.

1. The website looks sleek and has good design.

2. I wish I could get a little bit more of a sneak peek / preview before needing to create an account.

3. Unrelated to the core business of your website, there's a small "bug" in the light/dark theme switch -- the first mouse click doesn't do anything (at least when "system" = "dark"). This is happening because when you launch the site for the first time and the localStorage is "clean", the "theme" value is "system". But clicking the toggle changes the value to "dark", which keeps the current theme as it is.

Re:Ask HN: Is NPM Having an Outage? on Sunday December 08, 2024 @01:26PM (#42358981)
Yes, I'm having the same issue. Getting 404 for React 19 [0].

However, according to npm's status page [1], there's a scheduled maintenance occurring right now, so that's expected.

[0] https://www.npmjs.com/package/react/v/19.0.0

[1] https://status.npmjs.org

Re:Avoiding if-else Hell: The Functional Style on Wednesday September 25, 2024 @05:29PM (#41652078)
You forgot to add `/blog`: https://gourav.io/blog/linear-code.

And thanks, I've been trying to get my team to get used to writing `else`-less code (i.e., without nesting as much as possible), I'll keep your link in my bookmarks and share it with them when appropriate.

Re:MDN Blog on Tuesday May 30, 2023 @10:54AM (#36125582)
I find it amusing that even when you're on the MDN Blog URL (https://developer.mozilla.org/en-US/blog/), it still shows you a banner on the top that says "Discover the latest web development insights on our new MDN Blog", which links to the exact same page. :)
Re:Bill Gates tries to install Movie Maker on Tuesday January 17, 2023 @10:31PM (#34423132)
> He said "I restart every day" as if this were a normal condition.

To be fair, I think that 20 years ago most people shut down their computers when they weren't using them for more than a couple of hours, and most definitely at night. (Also, I believe that he meant that he "starts up" his computer every day, rather than "rebooting"/"restarting")

Re:Ask HN: Why it is hard for US to move to metric system? on Thursday January 12, 2023 @11:14PM (#34363877)
I think that the idea is "what it feels like in a scale of 0 to 100".

So, in Celsius, water are "very cold" (=freezing) at 0 degrees but "very hot" (=boiling) at 100 degrees. Same with Fahrenheit: 0 is extremely cold while 100 is very hot.

I get the logic but I am too used to Celsius at this point, just like you.

Re:uBlock Origin Lite on Tuesday September 20, 2022 @05:28AM (#32909540)
They stated [1] that they are going support MV3 but keep maintaining the blocking WebRequest API.

[1] https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-fi...

This is very cool, I love it. Thanks for sharing.
You can delete files immediately (i.e., skip moving to the trash) in Finder by holding the Option key in addition to Command + Delete (or Backspace).
This is gold. Thanks!
Thank you. I've been using Scroll Reverser[1], but it hasn't been updated to fully support Catalina (it works, but the installation process was not updated to request the permissions in Catalina). I'll check out UnnaturalScrollWheels to see if it's a good replacement.

[1] https://pilotmoon.com/scrollreverser/