Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xolox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
xolox
2y ago
That is not the TLDR I intended. If you store your OTP secrets in the same password store that also stores your regular passwords, you've just completely undermined the second factor of security.
32.
▲
by
xolox
2y ago
Over the years I've built lots of small and large tools for personal use, some of them I'm still planning to release as open source "one day", others I have no intention of ever releasing. One of the biggest and most use
33.
▲
by
xolox
2y ago
I'm really sorry for the situation you find yourself in and agree that it sucks. I'm replying because I want to mention that it is possible to use 2FA without any form of vendor lock-in (although I realize this doesn't help y
34.
▲
by
xolox
2y ago
Thanks for clarifying, I learned something new today! Edit: It turns out that Bash does substitutions in the middle of strings using the ${string/substring/replacement} and ${string//substring/replacement} syntax, f
35.
▲
by
xolox
2y ago
With regards to parted, if you only want to query for information, there is "partx" whose output was purposefully designed to be parsed. I have good experiences with it.
36.
▲
by
xolox
2y ago
Note this string replacement is not anchored (right?) which can end up biting you badly (depending on circumstances of course).
37.
▲
by
xolox
2y ago
Both `find -exec` and xargs expect an executable command whereas `while read; ...; done` executes inline shell code. Of course you can pass `sh -c '...'` (or Bash or $SHELL) to `find -exec` or xargs but then you easily get into qu
38.
▲
by
xolox
2y ago
I grow mushrooms as a hobby and in that context my number one enemy is trichoderma, the green mold. This is because trichoderma is parasitic on other fungi, i.e. it doesn't colonize the substrates that I grow my fungi on, it directly c
39.
▲
by
xolox
2y ago
This is completely disregarding the impact of microplastics on the health of animals, plants and ecosystems (FWIW I am aware that bioplastics shed microplastics as well).
40.
▲
by
xolox
3y ago
Okay I understand what you mean now (still don't agree). I'm having a hard time envisioning companies involved in the fermented foods scene coming together and "lobbying" to push their "agenda" but who knows, m
41.
▲
by
xolox
3y ago
> It helps foster the desire for fermented food, ie its a means to shift premium product off shelves. Sorry but this sounds disingenuous to me. Isn't one of the hallmarks of fermented foods that you can prepare them at home, fairly
42.
▲
by
xolox
3y ago
I regularly make (grow) tempeh and koji and both require a food dehydrator to keep the temperature around 30°C for the duration of the fermentation (in my case, living in the Netherlands, so Western Europe). Both tempeh and koji are molds (
43.
▲
by
xolox
3y ago
I run Home Assistant from a "manually managed" Python virtual environment as well, and have been doing so for years. It works fine. The developers are quite aggressive in insisting on recent Python releases, so upgrading is always
44.
▲
by
xolox
3y ago
I suspect they are referring to using a Raspberry Pi and using a micro SD card as the main storage mechanism. This is known to be a bad combination that will fail at an unfortunate time, sooner rather than later. Personally I boot my Raspbe
45.
▲
by
xolox
3y ago
This is a good idea, however one drawback is that Home Assistant sometimes needs "physical access" to devices connected to the computer that it's running on, for example Bluetooth and Zigbee dongles. Of course you can pass th
46.
▲
by
xolox
3y ago
I've had plenty of trouble with Home Assistant upgrades randomly breaking smart devices from well known vendors, e.g. whenever I update I dread to find out whether my Neato vacuum robot is still supported or whether that integration ha
47.
▲
by
xolox
3y ago
> If I'm not adding new hardware or exposing services to the public why would I need to update anything? Because you might be using a web browser and/or email client to interface with the outside world...?
48.
▲
by
xolox
3y ago
Tip: If you run `pip uninstall audiocraft` it should render an interactive confirmation prompt that explains which files it is about to remove, this should help to understand where the library was installed (of course you don't have to
49.
▲
by
xolox
4y ago
By definition most of them won't because it's a complicated mess.
50.
▲
by
xolox
4y ago
Who cares how the feature of hidden files came to be, when it has been what it is now for so many years?
51.
▲
by
xolox
4y ago
I got my Aranet4 because it had very good reviews and allowed local read out of sensor data without any "cloud" involvement. I've been very happy with it, the readings are integrated into my Home Assistant setup so automation
52.
▲
by
xolox
4y ago
I can't speak for the submitter but this stood out to me: > Each new article spurs less discussion than the last, but provides an unwavering supply of spiteful responses.
53.
▲
by
xolox
4y ago
The Aranet4 device is a non-DIY CO2 sensor however it operates over Bluetooth instead of Zigbee, not sure how much of a deal breaker that is for you. I had no trouble hooking it up to my Home Assistant setup though, and the device is fairly
54.
▲
by
xolox
4y ago
Here's another upvote for the Aranet4 device, I first found it recommended on HN and have been happy with it ever since purchasing it a couple of months ago. Integrated into Home Assistant using a couple of lines of Python code schedul
55.
▲
by
xolox
4y ago
Well I have to say that a lot of nitpicking happens on Hacker News as well. I don't usually mind it, and sometimes it does in fact add valuable information to the discussion, but I don't think you can really interact with any tech
56.
▲
by
xolox
4y ago
In the context of taking psychoactive mushrooms to get a proper trip, there are the concepts of a good trip, a bad trip, and steering your trip towards the former and away from the latter, based on your thought patterns and emotions (so act
57.
▲
by
xolox
4y ago
In addition to "Are We Smart Enough to Know How Smart Animals Are?" another book by Frans de Waal, "Mama's Last Hug: Animal Emotions and What They Tell Us about Ourselves" is also well worth the read.
58.
▲
by
xolox
5y ago
I operate a bunch of Raspberry Pi's that each run Raspotify and Snapclient. Raspotify is a wrapper for librespot, which enables Spotify Connect to "cast" from my (Android) mobile app to each Raspberry Pi (which are connected
59.
▲
by
xolox
5y ago
I think he's referring to the datatype (class) and associated operations (so not a literal Python module that you import, which may be where your confusing is coming from).
60.
▲
by
xolox
6y ago
I'm not proud to admit (but I was interested to read that I'm not the only one) that I've gotten into the habit of making a tarball of my working directory and .git directory before large rebase operations between multiple fe
More ›