9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 4mo ago · link · parent
Also, all communication and telemetry should be opt-in and turned off by default.
Government-controlled server would prevent foreign countries from collecting intelligence and pushing malicious updates.
comment 4mo ago · link · parent
comment 4mo ago · link · parent
Or irregular sleep corresponds to bad habits like drinking and using drugs and they are the cause of mortality?
Or, could it be that problems with sleep are caused by using alarm clocks, i.e. not waking up naturally but forcefully at unnatural time? Waking up at the same time every day benefits people whose inner clock has 24h period and disadvantage people with clock tuned to 23h or 25h day.
Or I am wrong?
comment 4mo ago · link · parent
Also, one's likeness (like face image) should also be protected from being used by anyone.
comment 4mo ago · link · parent
Also we should be using Matrix but it doesn't have half of the features (no channels, no mini apps etc).
Also I wonder whether compiling JS to native code is worth the hassle or not. In browser, it would slow down page load, but here you need to compile only on deploy.
comment 4mo ago · link · parent
You are suggesting to develop a compicated solution (spend money) when current simple one is working ok without any elections.
comment 4mo ago · link · parent
Also, they could make a separate department for the riches where there also is no math.
comment 4mo ago · link · parent
And now Europeans want everyone to send a selfie and a passport to register at sites, which only makes doxxing easier. Clowns.
Also, doxxing is relatively harmless. You won't die just because someone posts your passport online.
comment 4mo ago · link · parent
Also "facilitation of exam cheating" is the most stupid accusation. Why they cannot keep exam question in secret? Also why they do not shutdown scammer call centers which scam Westerners? So they want Telegram to be blocked but scammer call center to continue operating?
comment 4mo ago · link · parent
I was experimenting with network sandboxing and found a solution that doesn't require an agent inside a sandbox. You can create listening socket on localhost inside the sandbox, send it over the Unix socket to the supervisor outside and close the Unix socket. The supervisor outside now has a listening socket that accepts connections from inside. No socat needed.
My setup was more complicated though, I wanted transparent proxying (intercepting every TCP/UDP connection without having to specify a proxy) and I spent 2 nights fighting with lack of documentation on netfilter. For TCP I ended up with creating a listening socket with IP_TRANSPARENT options and tproxy'ing all traffic into it using nftables. It was easy part. The difficult part was to figure out how to intercept UDP datagrams and send replies with correct sender address. I ended up creating IP_TRANSPARENT listening UDP socket to receive datagrams, and raw IP socket to send replies with forged source address (because single UDP socket doesn't allow sending datagrams from arbitrary port number).
ChatGPT was pretty much useless, probably due to lack of documentation and I had to experiment myself.
I still do not have the supervisor done though, that would decide whether to allow or block a connection. I have the following idea: whenever the target makes a DNS request, I reply with a new IP address like 10.x.x.x. So I can have a map which maps every IP address to a domain, and when a program connects to an IP, I can figure out which domain it is and decide whether allow or block it. This is necessary because there might be multiple IPs for a domain, they can change in time, so it is better to have a persistent mapping, to protect from DNS rebinding attacks.