I've been a very happy user of mise since when it was named rtx - before that I used asdf. Thanks, jdx, for creating this! And I found the blog post useful, as there seems to be several features that I was not aware of that I might want to adopt going forward. For instance the task sources and outputs was new to me!
HN user
lervag
I'll also vouch for fugitive - it's really good!
I'll vouch for that - mise is awesome and replaces both sdkman, pyenv, and other similar tools that are restricted to one ecosystem.
I don't think you can choose 30 days. It is 5 years or no service. At least that's what it looks like to me, I did not find a way to accept the new policies without accepting 5 years.
Notice that other shells also has associative arrays, or at least zsh. I've found hyperpolyglot [0] to be a nice Rosetta stone for translating syntax between e.g. bash and zsh.
[0] https://hyperpolyglot.org/unix-shells#associative-arrays
I use two things:
* A password manager (PasswordStore [0]), in which I may make entries without passwords but where I indicate my ID on a given account.
* A personal wiki in which I may indicate for something that I have an account connected to e.g. Google or whatever.
When I come to some service that I vaguely remember having used before, I will find the necessary info either in my personal notes or in my password manager.
[0]: www.passwordstore.org
`mise` does not use shims by default, but it does have support for it. See https://mise.jdx.dev/dev-tools/shims.html.
But somehow this suggests to me that I might have been doing something wrong. I use vim+ultisnips+(your excellent vimtex) while you use neovim. Out of curiousity, do you specifically set your python provider for your neovim in your config?
Yes, I do. I use a dedicated virtual environment for neovim which I create with the following snippet; then I set the `g:python3_host_prog` accordingly [0].
mkdir -p ~/.local/venvs/nvim
python -m venv ~/.local/venvs/nvim
source ~/.local/venvs/nvim/bin/activate
pip install --upgrade pip
pip install pynvim
[0]: https://github.com/lervag/dotnvim/blob/c3169dd18f4396258f83c...Thanks for the kind words! <3
Just be aware that the marker based folding can be annoying to collaborators if you are working on documents with other authors. With a plugin like FastFold [0] you should be able to have fast folding with the expr foldtype.
I don't think this is a big problem with VimTeX; I've worked quite a lot on these things, and my personal experience is that VimTeX is now quite fast both with syntax highlighting and with folding; although for folding, you do want to use the various "hacks" like the manual fold option or a plugin like FastFold.
I believe syntax highlighting with VimTeX (which is suggested in the blog post) should be quite fast and generally feel snappy.
Disclaimer: I'm the author of VimTeX.
I use both Vim (with wiki.vim, a plugin I've made based on Vimwiki) and Anki. I find the combination is very powerful!
I keep a journal for work related stuff and a wiki/personal knowledge base for everything (both work and personal). I use Anki to memorize things I believe may be useful to have readily available and I use my wiki as an extended "long-term memory", sort of.
But UltiSnips works terribly with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.
I'm using neovim with UltiSnips (and VimTeX), and I don't really have any big issues with it. I'm not saying you are wrongm but I do think the problem may be somewhat exagerated.
I think these rules are more or less the same in Scandinavia. The Norwegian rules are well explained at Arbeidstilsynet [0]. Basically 5 weeks per year, 6 weeks if you are 60 years old or older. Of course, people may have more vacation per contract, but in general, you can't have less.
Most Norwegians take about 4 weeks of vacation during July.
[0] https://www.arbeidstilsynet.no/en/working-conditions/holiday...
Shameless plug: there's also wiki.vim [0], which I believe is starting to be a real contender to Vimwiki.
Regardless: In my experience, Vim + wiki with some additional plugins for fast searching and navigation is a very good combo!
Cool! I've seen similar ideas before and made my own inspired by these some years ago. It's a simple bash script based on Flameshot [0] for taking the screenshot and Tesseract:
#!/usr/bin/env bash
rm -f /tmp/screen.png
flameshot gui -p /tmp/screen.png
tesseract \
-c page_separator="" \
-l "eng" \
--dpi 145 \
/tmp/screen.png /tmp/screen
if [ "$(wc -l < /tmp/screen.txt)" -eq 0 ]; then
notify-send "ocrmyscreen" "No text was detected!"
exit 1
fi
xclip /tmp/screen.txt
notify-send "ocrmyscreen" "$(cat /tmp/screen.txt)"
[0]: https://flameshot.org/In Norway, self checkout is more or less scan-scan-scan-pay. It works well, in my experience, and most stores also have the traditional regular checkout.
I'm curious if the shop-lifting challenge is similar in Norway. I would expect not, since it is a very trusting society, but I have never seen any real numbers on this topic.
I've created apy [0] for this purpose. It also has some other useful features for maintaining cards.
This is a fascinating read. It seems self-checkout works a little bit differently in Norway. We have self-checkout lanes in many (most?) stores in Norway. There is usually an employee nearby at all times (in case there's a problem, or when an employee must verify the age for alcohol beverages, and similar). For a regular trip by the store to shop groceries, most of the items can be scanned quickly and easily. A few items must be weighed manually (mostly various types of vegetables and fruits). There are some differences between stores on how well these systems work, but in my experience, most of them work very well.
I would still use the "old" checkout when I have a wagon full of wares, as that makes it easier to pack the bags. The self-checkout counters are quite small and so are inconvenient for large amounts of items.
Thanks! I did spend some time to make it work well with Anki, and I do spend some time once in a while to keep it up to date with the changes to the Anki code. But once I got it working, I've never turned back.
One of the nice wins for me was that I could batch update ~200 geography notes that had some outdated numbers.
Shameless plug: I made apy [0] that allows more or less the same functionality, and more, from the command line. Some things I like about apy that I never found from any alternative solutions:
* I communicate directly with the local Anki database - no need to keep Anki open and use any ankiconnect type plugin.
* I can sync the database before and after with "apy sync".
* I can easily add single cards from the command line. And I can add mulitple notes from a Markdown formatted file simultaneously.
* I can easily edit cards that I have marked to specifically change in some way (I find it useful to adjust cards).
I use it for all sort of things:
* Vocabulary in different fields
* Concepts in maths, physics, comp.sci.
* Geography
* People I want to remember (both historical and more distant relationsships)
* Some useful numbers (e.g. visa card number)
* Silly things (like the periodic table)
* Programming languages (syntax and similar that I might otherwise forget, and useful standard libraries and third-party libraries)
* Useful tools and ideas/concepts I want to remember
I make my cards atomic. No long answers. And I avoid having a large workload - I add new cards at a rate such that I review about 60 +- 30 cards per day. It takes me ~15-20 minutes, and I find it very much worth the effort!
As far as I understand, experts already rate him better than Fischer. It seems one may still claim Kasparov is greater; Carlsen even says so himself. It will be very interesting to observe the performance the next 4 years!
Nice; do you by chance combine this with latexmk? If so, how do you add the extra compilation step in latexmk?
Lastly, there are no excuses for this, and I’m willing to admit that I was wrong with yesterday’s move and apologize for the inconvenience that may have caused.
This type of wording fascinates me. Why does he not write "..., and I admit ... and apologize"? Writing "..., I'm willing to admit ... and apologize" does not, to my understanding, mean the same. Or am I being too sensitive here?
I assume some people like the idea of being more in control, in the sense of having the exact recipe for compilation explicitly specified. Some people might also find tectonic [0] as a nice compiler backend. From my experience, latexmk [1] has orked very well for all my LaTeX projects, and I've never looked back.
My base has somewhere around 200k lines of text. I'm pretty sure some of these are almost never read. But I do open old entries/pages some times. I see no problem in writing a note that I never read. The writing is itself useful, in fact, as it helps me learn and organize information.
(FYI: I use a personal wiki based on Vim (with wiki.vim [0]) and a markdown flavor.)
The more I learn about VisiData, the more I like it! It is a fantastically useful tool!