iokanuon
iokanuon on Hacker News
Actually thinking about it - why not have everything encased in sand all the time, you'd just have to be a kid playing in a sandbox when doing maintenance
If you don't have a bottom layer the sand will immediately fall
Posted by
iokanuon on Wednesday December 18, 2024 @04:23PM
from the show-hn dept.
You could do that, and it'd still be POSIX-shell comptible:
loadenv() {
case "$-" in
*a*) source ./.env ;;
*) set -a; source ./.env; set +a ;;
esac
}
Although I have yet to see a long shellscript utilise `set -a` globally :)
That will break if there's comments in the file, or if any one of the variables' values contain spaces. You can use `set -a` to load .env into an existing shell instance instead:
loadenv() {
set -a
source ./.env
set +a
}
You'd need to `set -a` or pass the `-a` as a flag to have them auto-exported though, so:
sh -ac '. ./.env; ./prog'
Also if you use the `.` builtin it's a good idea to specify the path with a slash in it, so that `.` doesn't search $PATH first.
Posted by
iokanuon on Sunday November 26, 2023 @07:50PM
from the git-top-repos.net dept.
This video is about motorcycles, not cars. Also, the data on this is in the linked video - the author demonstrates you can do a controlled stoppie to decelerate faster without ABS, because that's its main feature - preventing you from flying off the bike.
Posted by
iokanuon on Wednesday October 18, 2023 @09:52AM
from the show-hn dept.
Posted by
iokanuon on Tuesday September 05, 2023 @06:11PM
from the github.com dept.
Posted by
iokanuon on Wednesday August 02, 2023 @01:53AM
from the top-of-github.baraniecki.eu dept.
It's an option you can use when invoking `make` - so no need to specify extra cmake options, just during `make` invocation after `cmake` is already done
That's crazy. Where do you live? In Poland I just skipped the insurance system to get ADHD meds and went to a psychiatrist specialising in ADHD privately - $70 for a 20 minute visit seems a bit steep but it's better than waiting years.
Could you possibly do something similar?
>"ip addr show" lists interfaces and their stats. It's harder to read than ifconfig -a but gives you the same information in a similar format.
It's worth noting that `-br` gives you a brief version of the output, and `-c` colors it, so that it's possible to do something like this:
ip -br -c addr
to get a very readable and colorful table-like output.
There's also `-j` for JSON, and `-j -p` for pretty JSON.
Just to be clear, I'm not trying to argue with you - just trying to share an observation from my own life.
The experience of the inner monologue in my brain not being able to control what the rest of my body is doing when not on meds sure does feel like a crippled down version of free will
>Humans can delay gratification for larger payouts later on, which if we could not consciously do then I personally would probably do nothing with my life besides the basic biologic urges and whatever gives me the strongest immediate dopamine hit.
That's basically living with ADHD - so about 2% to 7% of all people have a lot less free will than the rest.
From what I remember about SSE, no Microsoft browser supported them. It seems like they've finally added support to Edge this year though.
It also might be illegal in some places right now
That's exactly why that works, the shell expands it, so
mv foo-bar-{baz,quux}.txt
becomes
mv foo-bar-baz.txt foo-bar-quux.txt
That's exactly what the article is about.
All POSIX-compliant shells should support this.
There's a third option, postpone it a couple months.
>Moreover, in our dorms, we have effectively no way to eat if the dining halls close down.
That sounds crazy to me, in Poland there's a multitude of cheap restaurants full of students close to every university campus. There's a big demand because universities are packed with students that don't cook for themselves. Why hasn't the same happened to the US then?
Anecdotally, changing the ssh port on a very low-budget VPS is worth the effort because the CPU time eaten by responding to the ssh bots can be noticable.
Remember that creating a Google Play account already costs $20, so for the most people the distribution costs are far more than covered.
Since a few years ago, you were also able to use the BLIK system to transfer money instantly for free between most banks, by only knowing the recipient's phone number. To be fair I can't imagine anything more convenient.
Sorry, I've just copied the first two replies.
This is just for show. [1]
>No. The browser is not fully open source like open in open source. It is a common myth and misconception about Kiwi Browser.
>Damn, 1 commit and nothing else but keeps updating and releasing apks? Looked into the issues and scarcely seen replies.
>I think this repo is just to show that "hey, I provided the so-called source code (even though not fully open-source as said above) so trust me and install me" thing.
[1]:
https://github.com/kiwibrowser/android/issues/30
What about PeerTube? Seems like a good fit for the infosec community.
MS Windows kernel code is far from being BSD licensed though.