88 karma · joined November 26, 2010
projects: github.com/xolox
[ my public key: https://keybase.io/xolox; my proof: https://keybase.io/xolox/sigs/948lRZnvUsgJ3uouKswo7YRYHftY6cGKAEwG3tJglYc ]
As someone living in the Netherlands and being used to dozens of political parties with various ideologies and convictions, the two-party system of the US has always surprised me as being extremely limiting (e.g. if you don't naturally identify with Democratic ideologies you vote Republican or vice versa).
Edit: None of this is to imply that Western Europe or the Netherlands doesn't have major political issues, for example I'm quite disillusioned about the uptick in popularity of populist political parties (throughout Western Europe but also specifically in the Netherlands).
One of the biggest and most useful of those tools is a Django web interface that accepts JPG/PNG/PDF file uploads of scanned documents and in case of images (JPG/PNG) it will run "tesseract" to OCR extract text from the images (in case of PDF it will pdf2txt). The extracted text is stored in an SQLite database which enables keyword search in the uploaded documents.
I use this as my (digital) archive of important documents, e.g. mortgage, bank statements, insurance, medical files, etc. I just checked and I now have 1129 documents in there ranging all the way back to 2006 .
It's super useful to be able to go back in time digitally, without having to dive into the collection of physical binders with the real documents (ordered by year and month but nothing beyond that, given that there are usually only a handful of documents per month, and I can use the web interface as an index into the physical archive, if I ever need it).
I've been using pass (https://www.passwordstore.org/) for quite a few years now and it allows to use multiple GPG keys to encrypt secrets in different subfolders. So I have a default GPG key that encrypts all my regular passwords, protected by a master password that is easy enough that I can regularly type it in on my smartphone.
Then I have a second GPG key with a much more complicated password that I use to encrypt my 2FA secrets (strings like "FX5D MJE8 F9F9 XFE0" that can be used to "seed" apps like Google Authenticator). These 2FA secrets I never access on my smartphone, I only access them on my laptop where I have a proper keyboard to type in the absurdly long password required to unlock these.
I wrote a small Python script that takes a 2FA secret and uses it to generate a TOTP URL that is then fed to "qrencode" (a command line program available on Linux and MacOS) which renders a QR code that I can scan into a TOTP app like Google Authenticator (like if I was first signing up for 2FA via the original website or service, the only thing that changes is who generates the QR code and when).
Because I saved the original 2FA "seeds" (my term, not sure what the proper term is here, but it's akin to the seed you feed into a random number generator) I can regenerate the QR code whenever I wish, which means that if my smartphone dies and I lose the 2FA secrets loaded into Google Authenticator, I can take an empty new smartphone, install Google Authenticator, and rescan all of the QR codes that bootstrap my 2FA sequences via my laptop. The other side (the website or service where I enabled 2FA) never needs to know I went through this procedure, in fact fundamentally it cannot know.
I've been using this same scheme to share 2FA codes with a team of system administrators so that we can properly protect e.g. AWS root accounts while still providing multiple individuals access without being tied to a single smartphone or 2FA app.
So long story short, it is possible, although admittedly (my way) it does require some cobbling together of different tools in order to get a workflow that handles this smoothly. But I sleep better at night knowing that all of my important accounts are protected by 2FA yet I can never be locked out of them, even if I lose my smartphone or laptop (the actual password store git repository lives on my server where it is backed up to several disks every couple of hours).
Edit: It turns out that Bash does substitutions in the middle of strings using the ${string/substring/replacement} and ${string//substring/replacement} syntax, for more details see https://tldp.org/LDP/abs/html/string-manipulation.html
Of course you can pass `sh -c '...'` (or Bash or $SHELL) to `find -exec` or xargs but then you easily get into quoting hell for anything non-trivial, especially if you need to share state from the parent process to the (grand) child process.
You can actually get `find -exec` and xargs to execute a function defined in the parent shell script (the one that's running the `find -exec` or xargs child process) using `export -f` but to me this feels like a somewhat obscure use case versus just using an inline while loop.
This is how I initially learned that trichoderma is used as a natural "fungicide". In your specific case it might be interesting to investigate this in more detail, e.g. you can "inoculate" your soil with copious amounts of trichoderma to fight off other fungi.
For more details here's a pointer to a rabbit hole: https://www.google.com/search?q=trichoderma+fungicide
Sorry if you know all of this already, I was hoping it might help :-).
Sorry but this sounds disingenuous to me. Isn't one of the hallmarks of fermented foods that you can prepare them at home, fairly cheaply in lots of cases? It is to me...
I also make milk kefir, water kefir, sourdough and kombucha and while none of these cultures require the higher temperatures, they do thrive in the higher temperatures.
I also grow quite a few species of mushrooms and have learned that a lot of species incubate quite aggressively at higher temperatures (25-35°C).
Personally I boot my Raspberry's using netboot (DHCP via dnsmasq) and NFS. However I don't run Home Assistant on a Raspberry, it runs on the "server" (headless machine) that's serving NFS .
Because you might be using a web browser and/or email client to interface with the outside world...?
Disregarding the tip above, determining where the library was installed requires a bit of context, for example your platform (Windows versus UNIX) and the fact that newer pip releases default to "pip install --user" when not running with super-user privileges, whereas older pip releases did not default to "pip install --user".
Assuming you are using Linux and using an up-to-date pip release and you ran the "pip install -U audiocraft" command without super-user privileges, then the library was most likely installed in ~/.local/lib/pythonX.Y/site-packages (where X.Y is the version of Python that was used by the pip command you ran).
> Each new article spurs less discussion than the last, but provides an unwavering supply of spiteful responses.