HN user

mkskm

178 karma
Posts2
Comments108
View on HN

No it's not, especially if you replace natural gas with burning coal for electricity.

Berkeley has been transitioning businesses and residents to majority and most recently 100% renewable energy for years.

Until the last coal plant shuts down, it makes zero sense to ban natural gas.

This is nonsense. Every year the % of renewable energy increases it makes more sense to electrify than it did previously. It's a lot easier to change the energy source for a power grid than it is to rip out all existing gas infrastructure.

iOS 16 4 years ago

Do you mean the Control Center? You can customize it under Settings > Control Center and remove or move the flashlight.

It's slowly happening. Several countries have started to issue bans like Canada and Australia in addition to the EU and recently China, although a lot of plastic pollution in the ocean is from fishing gear. The California Plastic Waste Reduction Regulations Initiative proposition qualified for the 2022 ballot, and SB 343 was recently passed. There's also a federal bill in the US, S.984, but that's unlikely to get past the Senate filibuster.

https://en.wikipedia.org/wiki/Plastic_pollution#Reduction_in...

Here's another function in Fish that incorporates the other suggestions offered in this thread.

    function sudo --description "Execute a command as another user."
        if [ (uname) = "Darwin" ]
            set --local needle "^auth\b.*\bpam_\(reattach\|tid\|watchid\)\.so\$"
            if ! grep $needle --silent /etc/pam.d/sudo && \
                [ -f /usr/local/lib/pam/pam_reattach.so* ] && \
                [ -f /usr/local/lib/pam/pam_watchid.so* ]
            command sudo sh -c "
            cat << EOF >/etc/pam.d/sudo
    auth optional pam_reattach.so
    auth sufficient pam_tid.so
    auth sufficient pam_watchid.so
    \$(grep -v '$needle' /etc/pam.d/sudo)
    EOF"; or return $status
            end
        end
        command sudo $argv
    end

That's correct, which typically defeats the point of using it since in that case you still have access to Touch ID. The above link works in both scenarios, and can be used as a fallback for pam_tid.

I'm running Emacs natively on M1 and it works great. The biggest missing piece is certain static analyzers like shellcheck aren't available for ARM yet since ghc is still working on support, although you can probably get it working with Rosetta. See this thread for a list of most tools:

https://github.com/Homebrew/brew/issues/10152

gccemacs isn't available natively yet and probably won't be until later this year, but Emacs running on M1 is very snappy and faster in my experience than a nativecomp build running on an Intel machine.