DigressEd.net

Ocasional Digressions

Pointless SNCF notifications

I really wish the SNCF's notifications I receive 20 minutes before my departure would skip the redundant information to ensure what I need to know is actually presented.

Redundant Information

What I want to see:

  • train number ✅
  • expected departure time ✅
  • platform ❌

What I don't need to see:

  • the station I'm leaving from (because if I'm not there already, I'm pretty sure I know where I need to go).

Published: 2024-01-31

Tagged: mobile notifications

REI's How to Custom Mold Snowboard Boot Liners

Because I need to do it with the new boots:

If your snowboard boot liners are heat moldable and you want to do it at home, we’ll show you how: You’ll use rice, a microwave, a short two-by-four, and several pairs of socks.

https://www.youtube.com/watch?v=FH1Ig8TB72I

Published: 2023-11-08

Tagged: snowboarding dyi

When clojure-lsp is behaving weird

Ran into a weird situation where clojure-lsp in Emacs behaved strangely only when working on one particular repo. While function reference counts were shown, no tests were. In fact, tests were getting included in the reference count. A colleague loaded the same project and everything was working normally so it was definitely some configuration on my end.

I could see clojure-lsp reported all other repos used their root correctly (all created and used the repo's .lsp/.cache) except for this particular one, which was instead creating and using a cache one parent up and I could not understand why.

Of course, it all ended up being looser-error as I discovered I must have inadvertently told lsp to not include the repo's root in its watch list. I didn't know where clojure-lsp tracked its session list but got it by getting the value of lsp-session-file, which pointed to ~/.emacs.d/.lsp-session-v1. In there I found the repo's path was included in the second list which contains ignored paths. Removing it from the list forced lsp to prompt me again after a lsp-restart-workspace and everything behaved as expected from then on.

Published: 2023-10-09

Tagged: clojure emacs clojure-lsp

Archive