1,632 karma · joined October 26, 2017
If you need to use `docker` command under Powershell, maybe exposing docker socket to Windows host would probably work. I didn't try it as I don't need it.
It seems it need user to manually select a file/folder to be used, like Android or iOS does.
> While local apps are getting sandboxed properly: https://docs.flatpak.org/en/latest/sandbox-permissions.html
It looks good, but it seems many applications still require filesystem=host to run (https://flatkill.org/2020/). Also, its sandbox solution isn't going to work on Windows, Mac and BSDs.
Which format to use a as representation of data structure might be debatable, but I think JSON is a reasonable choice. (Formatted) JSON is readable by human and could be easily parsed by programs.
I am using WSL because I want games and Windows-only applications. Dual boot seems too inconvenient. Using a regular VM works too, but it isn't as seamless as WSL2. It can boot in seconds, sharing files with host by default, automatic memory reclaim...
As for CloudFlare, all the requests will go through CloudFlare's server for caching, so some request won't reach your server.
Maybe Node.js? Although it does have some sync function to do io, most of them are still unblocking, and the ecosystem is unblocking by default too. It is harder to find a blocking library than finding a non-blocking ones.
clang seems to optimize it to (n-1)(n-2)/2+2n-1, which is O(1).
So you need to be careful about writing code like that if you want to avoid jQuery.