- Find a way to make it impossible to do the things you're trying to avoid. For Apple products setup Screen Time and give someone else the passcode. I'm sure there are solutions for other OSes out there
- Practice self denial and doing things that hurt, such as fasting and cold exposure (like a cold shower or cold bath). These are good for people in general. I'm not sure how universal this is but doing these things gives me an incredible sense of accomplishment which makes it easier to do other difficult things that I want to do but otherwise avoid
Good luck, these things are designed to be addictive and our biology has not caught up to give us sufficient built-in resistances. This stuff is very difficult, and kudos for reaching out! You can do this!
I set Screen Time blockers, it is fine for a day or two, then I need to lookup something on let’s say YouTube and it is blocked, I get mad, unblock everything, and scroll for hours.
I was in the same cycle, until I had someone else add a passcode to Screen Time and now I can’t unblock myself, I have to get the other person to do it for me
If ICE approaches you, who are presumably a citizen, and demands to see your papers what do you do? Do you carry your birth certificate on you at all times? Any other proof of citizenship No? Then you’re outta here TODAY
I think there are, the author says so, but according to author they don’t make clear if a book is a new edition, translation, etc of a previously published book. So getting a list of published works wherein “A Book Title” is a single result and “A Book Title 2nd edition”, “A Book Title 3rd edition”, etc are not listed in addition to “A Book Title”, doesn’t exist. I would think it’s possible to write a layer of logic that takes a list of published books and removes extra editions, translations, etc to get what the author wants but perhaps the problem is more difficult than I realize
we built this "work-level" catalog at Margins [1] -- 12mo+ of work -- book data is the messiest data I've worked with in my 10+ years of building things with data
I spent a couple of years working on this as a hobby and, yeah, book metadata is difficult to explain just how irregular it actually is. It might actually be worse than people names.
That being said, the reason I was working on this was because I wanted a simple and effective way to get alerted to new books published by authors I want to track, can this work for that?
The fake moves are to keep people from getting hurt. If you start using real moves it becomes a different thing entirely, one might even call it MMA or Olympic wrestling
It's trivial using a number of approaches, eg. a simple bash or python script. But I think there's still a fair amount of value in building a common tool for these sorts of things. Everyone that builds their own one off solution will inevitably encounter more and more of the edge cases (oh I need to honor .gitignore... oh, I need to be able to override .gitignore and include some ignored things... oh I need to deal with huge files... etc) and with a common tool the tool can collect the ways of dealing with all of these edge cases.
Now no one will need something that can handle all of the edge cases, but whatever edge cases they need to be handled will already be handled. The overall time and frustration saved this way can be huge.
I think you’re describing Aider.chat. There are 2 Emacs packages for it, one official and a very recent fork. Aider is a cli so it works great with vim as well.
In Emacs I’ve had good experience with gptel as well but I prefer aider for the coding workflow
Yep, I've particularly been enjoying the recent "watchfiles" feature where a comment can be added to the source file, and ending it with "ai?" or "ai!" triggers use of said comment as a prompt to ask about or change that section upon save.
I write Elm and use Emacs primarily, and sometimes neovim. Are you using lsp in vim? You’re doing it right by staying in one file until it hurts, that’s the recommendation for Elm, but I can’t recall if I’ve had issues using go-to-def or other lsp functions like your describing
No LSP. It honestly doesn’t speed me up any. I already have the standard library memorized, plus some of the common community lib methods (List.Extra) and my typing speed is faster than I can think anyways.
I’m thinking the same approach would also work well in F#, Haskell, OCaml.
- Practice self denial and doing things that hurt, such as fasting and cold exposure (like a cold shower or cold bath). These are good for people in general. I'm not sure how universal this is but doing these things gives me an incredible sense of accomplishment which makes it easier to do other difficult things that I want to do but otherwise avoid
Good luck, these things are designed to be addictive and our biology has not caught up to give us sufficient built-in resistances. This stuff is very difficult, and kudos for reaching out! You can do this!