222 karma · joined Jul 15, 2018 (8y ago) · 110 submissions
comment 1mo ago · link · parent
comment 2mo ago · link · parent
sudo pmset -a disablesleep 1
As mentioned by the other commenter, `caffeinate -s` also works, but with the caveat that a) the command has to be running and b) the laptop has to be plugged in to power. Configuring disablesleep=1 completely prevents sleep and lasts until you manually configure it back to 0.
comment 4mo ago · link · parent
comment 5mo ago · link · parent
There are some other alternatives like BetterTouchTool if you want some other changes like gestures, but as far as this specific problem goes you can just `brew install scroll-reverser`, set up the settings you want and forget about it. Life is too short to deal with this nonsense which is clearly designed to sell the Magic Mouse.
comment 6mo ago · link · parent
In ATP, your data is stored in the "Atmosphere", hosted on decentralized "Personal Data Servers" (PDS). The app then simply parses and filters that data. They can apply moderation actions by choosing not to display or read certain posts, but your data still exists and another app could choose to display it. Similarly, if the app goes down, your data is still perfectly intact in the Atmosphere.
It might then seem like the PDS is equivalent to an AP instance, but as mentioned, they are decentralized. Identity is verified through signatures, so if your PDS goes down, you can migrate to a new one as long as you have your signing keys. Therefore, the account belongs to you and not any specific server.
comment 8mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
[1] https://www.reddit.com/r/WindowsHelp/comments/1j77ro8/window...
comment 9mo ago · link · parent
E.g., if you don't have Firefox pinned, you can swipe and type "fir" (or any other unique substring) and it will open just like that. It's great for muscle memory.
My only complaint with it is that the developer sometimes sends messages (e.g., happy new year) and there doesn't seem to be any way to disable it. I don't see why a minimal launcher should have internet access at all.
comment 9mo ago · link · parent
This is 100% unambiguously not clean-room unless they can somehow prove it was never trained on any C compiler code (which they can't, because it most certainly was).
[1] https://gitlab.winehq.org/wine/wine/-/wikis/Developer-FAQ#wh...
[2] https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...
comment 11mo ago · link · parent
Meanwhile, `#!/usr/bin/env` is completely portable in the practical sense. Even systems with non-standard paths like NixOS, Termux and GoboLinux patch in support for it specifically.