But you make a good point: not every benefit to an individual necessarily also benefits society. I just think the framework of individuals being able to decide for themselves (i.e., voluntaryism) does benefit society.
But you make a good point: not every benefit to an individual necessarily also benefits society. I just think the framework of individuals being able to decide for themselves (i.e., voluntaryism) does benefit society.
I disagree. I believe voluntaryism (essentially the non-aggression principle) would make the world better, and that must include every person. Perhaps a lot of how a billionaire acts would also need to change to fall within voluntaryism - it depends on the individual person. But regardless, I think that within a voluntary framework if someone wanted to kill themselves, they should have that right - and that would benefit society as a whole.
I agree with yoy, but further: I think that benefits to individuals are benefits to society.
Thanks for this very rational pep talk!
I’ll try mega-rebooting to see if I luck into anything.
Thanks. I had indeed found those same results. All are old (i.e., using an older version of ESPHome) and only a couple report the same problem as me, none of which have a solution.
I’ll keep looking. In the past, similar ESPHome problems “fixed themselves” once another ESPHome update was released (or sometimes 2 or 3 updates later).
Thanks for the suggestion, https://lemmy-tesseract.thewooskeys.com/u/GreyEyedGhost@lemmy.ca, but I’m not able to find anything recent about this issue. I found a couple mentioned of this issue and of similar-ish issue from 6 months and a year ago but they’re using way older versions of ESPHome and so their solutions don’t work for me.
If you can share any of the links you found, I’d appreciate it.
What license are you offering it under?
If I give Obtainium this URL: https://builds.joinpeertube.org/mobile/peertube_mobile_v0.5.1.apk
…it recognizes that it’s an apk and shares with AppVerifier as I’ve configured obtainium to do. But I didn’t proceed further because I don’t want to install it if it’s not authenticl. I need a hash to compare with appveifier.
I want to install it via Obtainium (in GrapheneOS), but I also want to verify the apk first (w/AppVerifier). I don’t see a SHA-256 hash on framagit’s repo. Is there a way to verify we’re getting the correct apk?
And I just found stew, too. :)
Thanks for this. I’ve been looking for an Obtainium-like tool for Linux. Now I know of gah and deb-get.
changing how I called ssh
in the background made the difference (https://lemmy.thewooskeys.com/comment/521006).
Thanks for your time and assistance
That seems to have done it!
Running the ssh -f...
instead of ssh.... &
seems to work first time and every time.
It makes it so SSH_PID=$!
doesn’t work, but I used pgrep -f <ssh command>
instead.
Thanks!
I’m not sure how to chain these 2 commands with &&
, because the SSH command is being put in the background with &
.
This doesn’t work:
SSH_CMD="ssh -N -L ${LOCAL_PORT}:127.0.0.1:${REMOTE_PORT} ${REMOTE_USER}@${REMOTE_HOST}"
$SSH_CMD & && TEST=$(curl -o /dev/null -s -k -w "%{http_code}" -u "${USERNAME}:${PASSWORD}" "${URL}/dashboard/")
SSH_PID=$!
SSH_RESULT=$?
echo $TEST
Perhaps I don’t need it in the background - the goal was to establish the tunnel and then continue with the script without it hanging until the ssh command is canceled.
Thanks for the suggestion.
set -x
didn’t reveal any errors, and the commands that it’the script is executing are as I expect them to be.
I did just discover, though, a possible cause for my issue: https://lemmy.thewooskeys.com/comment/520854
I stumbled on a possible cause, but more background is necessary to explain.
The script actually creates an ssh tunnel (to the Traefik host) and then does the curl. So the code is like:
SSH_CMD="ssh -N -L ${LOCAL_PORT}:127.0.0.1:${REMOTE_PORT} ${REMOTE_USER}@${REMOTE_HOST}"
$SSH_CMD &
SSH_PID=$!
SSH_RESULT=$?
TEST=$(curl -o /dev/null -s -k -w "%{http_code}" -u "${USERNAME}:${PASSWORD}" "${URL}/dashboard/")
echo "${TEST}" #debug
What I learned is that when i run the script, the tunnel is successfully created but the curl fails; but then if I run the script again a second tunnel is created and the curl works fine.
So I guess the question is why is curl failing from within the subshell?
Here is the result of the script curling a known good URL (it still results in exit code 7 and thus a result of “000”), followed by a copy-paste of the curl command run in the shell (exited with “200”):
$ ./test.sh
curl -o /dev/null -s -k -w "%{http_code}" "https://i0.wp.com/www.notquitezen.co/wp-content/uploads/2022/07/Is-Happiness-an-Emotion.png"
previous exit code: 7
000
$
$ curl -o /dev/null -s -k -w "%{http_code}" "https://i0.wp.com/www.notquitezen.co/wp-content/uploads/2022/07/Is-Happiness-an-Emotion.png"
200
I’m confused as to why this is worth sharing: 9.0 was released over 3 months ago, and 10.0 was released over a week ago (and forgejo said that 9.0 isn’t event supported since 10.0 was released).