HNHacker News
TopNewBestAskShowJobs

sgtlaggy

30 karma · joined January 15, 2021

submissionscomments
sgtlaggy··on The vi family
> if you're SSHing into a server to fix a problem, it's possible that /usr/bin/emacs won't be there

You don't need emacs on a server. TRAMP is built-in and can open remote files in a local instance over SSH, SMB, FTP, ADB, or docker/podman.

sgtlaggy··on How far behind is each major Chromium browser?
On the topic of accessibility, the contrast of the text in the "up to date" bubbles is very low. I can barely see the yellow one, let alone read it without significant eye strain.

Firefox's dev tools have an Accessibility tab where you can see warnings about low contrast and simulate different forms of color blindness.

sgtlaggy··on Cursor Camp
My mouse is set to 400 DPI, acceleration off (libinput flat profile), and default (0) sensitivity (range -1.0 - 1.0, no change at 1.0). Had similar settings on Windows, games have crazy high default sensitivity but websites like this have extremely low sensitivity. I had to crank my DPI up to 2000 to make it usable and 4000 to be comfortable and roughly match desktop settings, but this also made the cursor extremely unwieldy when pausing the game. This and volume control are my biggest gripes.
sgtlaggy··on Turtle WoW classic server announces shutdown after Blizzard wins injunction
Similar to the XML config you mentioned, WoW uses/used a plaintext config file where a realmlist URL can be set.
sgtlaggy··on Backing up Spotify
Music might have higher quality audio-only files as provided where Youtube might have it combined with video and a generic compression algorithm applied as with all other uploaded videos.
sgtlaggy··on Smoke in the cabin of two 737 MAX caused by Load Reduction Device system [video]
> everyone inside the plane gets cooked in 39 seconds

From the video, the 39 second figure is for the cockpit if the pilots don't get their masks on in time. The passenger cabin would be uncomfortable but wouldn't (or just didn't in that case) reach lethal levels given the volume.

sgtlaggy··on Python 3.11 vs 3.10 performance
Concurrency in Python is a weird topic, since multiprocessing is the only "real" concurrency. Threading is "implicit" context switching all in the same process/thread, asyncio is "explicit" context switching. On top of that, you also have the complication of the GIL. If threads don't release the GIL, then you can't effectively switch contexts.
sgtlaggy··on AltWinDirStat
I've also been using WizTree for quite a while, but recently learned WinDirStat scans the filesystem instead of trusting the NTFS metadata because it can sometimes be incorrect(?) and is a bit tricky due to poor documentation. The WDS developer actually addressed this in AWDS's issues 4[1] and 19[2] a few years ago, and even said he's contemplating supporting the MFT but it seems he hasn't gotten around to it.

1: https://github.com/ariccio/altWinDirStat/issues/4#issuecomme... 2: https://github.com/ariccio/altWinDirStat/issues/19#issuecomm...

sgtlaggy··on Lua and Python (2020)
I have mostly the same feelings, though my only experience is with WoW and Payday 2 addons. A big gripe of mine is there's really only one namespace. If something is exported, it goes to the aether and everything can see it, making it very difficult to track where variables are defined and modified.