Better HN
topnewbestaskshowjobs
Log inSign up

sgtlaggy

30 karma · joined Jan 15, 2021 (5y ago) · 10 submissions

Submissions

comment 3w ago · link · parent

My experience for years before finally dropping Spotify, and reinforced in some random comment online, was that it only grabs the first X songs in a playlist and shuffles among them, never proceeding to the rest. "First" may not be entirely correct but it was relatively consistent that a given playlist would always shuffle the same songs so it may have something to do with internal ordering/IDs.

comment 6mo ago · link · parent

> 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.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

Similar to the XML config you mentioned, WoW uses/used a plaintext config file where a realmlist URL can be set.

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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...

comment 5y ago · link · parent

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.