Firefox 89 tab appearance #
Firefox 89 has a new appearance, removing features (ugh) and annoying some people while delighting others. It can be disabled by setting browser.proton.enabled
to false:
I mostly like the new design though, but I strongly dislike some elements, especially the tabs:
Automatically generate IDs for emacs org-mode headings #
I write some of my web pages with emacs org-mode, and then export to html. Like markdown, org-mode is a convenient format to write a simple subset of html.
Each heading in the document will get exported with an ID so that it can be linked to from the table of contents. The default IDs look like #org3091de9. I usually replace these with a custom id that matches the section heading, so a heading Bounding box
will get an id #bounding-box.
Labels: emacs
OpenTTD on Windows 10 + Steam #
Transport Tycoon / OpenTTD is my favorite game of all time, and I wanted to play it on Steam. I kept getting "file not writable" error. I tracked it down to the Windows security system blocking it. To unblock:
- Start →
- Settings →
- Update & Security →
- Windows security →
- Open Windows Security →
- Virus & threat protection →
- Manage settings →
- Controlled folder access →
- Manage Controlled folder access →
- Allow an app through Controlled folder access →
- Add an allowed app →
- openttd.exe
I am not a fan of making exceptions like this but I didn't find anything else that worked. If you have an alternate method of solving the permissions error, please let me know.
Labels: howto
Building Emscripten on Apple ARM M1 #
Update: [2021-01-24] The workarounds in this blog post are now obsolete, as openjdk, yuicompressor, and emscripten are now available in ARM homebrew.
On Mac, Emscripten is available in the Intel version of Homebrew, but not the ARM version of Homebrew. I use Emscripten rarely enough that this doesn't bother me. However, I thought I'd try compiling it on the ARM version.
I couldn't get openjdk working in ARM homebrew, but I was able to get emscripten installed in ARM homebrew by using the Intel/Rosetta version of openjdk: