HackerTrans
TopNewTrendsCommentsPastAskShowJobs

iokanuon

no profile record

Submissions

Show HN: netcat over Cloudflare Warp

github.com
4 points·by iokanuon·2 năm trước·0 comments

Top-Starred GitHub Repos

git-top-repos.net
1 points·by iokanuon·3 năm trước·0 comments

Show HN: GitHub Top Repos

git-top-repos.net
2 points·by iokanuon·3 năm trước·0 comments

Dimma: Semi-Supervised Low Light Image Enhancement with Adaptive Dimming

github.com
3 points·by iokanuon·3 năm trước·0 comments

Endlessly browse through the top GitHub repositories

top-of-github.baraniecki.eu
2 points·by iokanuon·3 năm trước·0 comments

comments

iokanuon
·năm ngoái·discuss
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
iokanuon
·năm ngoái·discuss
If you don't have a bottom layer the sand will immediately fall
iokanuon
·2 năm trước·discuss
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 :)
iokanuon
·2 năm trước·discuss
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
    }
iokanuon
·2 năm trước·discuss
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.
iokanuon
·3 năm trước·discuss
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.
iokanuon
·3 năm trước·discuss
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
iokanuon
·4 năm trước·discuss
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?
iokanuon
·4 năm trước·discuss
>"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.
iokanuon
·4 năm trước·discuss
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
iokanuon
·4 năm trước·discuss
>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.
iokanuon
·10 năm trước·discuss
There were initially no badges, the game existed for about a year without them.
iokanuon
·10 năm trước·discuss
>gameplay reasons why they wouldn't localize the units

Their previous game, Ingress, didn't have any gameplay reasons for using one unit system, yet it still used only metric.

See a four year old discussion about Ingress using the metric system alone here: https://reddit.com/r/Ingress/comments/13vjcw/the_real_nianti...