nikhil.io

one hundred and twenty-five bookmarks of interest.

MassGrave.dev provides plain and simple download links for Windows and Office

Windows 11 is an ad platform and AI shit-showcase masquerading as a serious operating system that serious people are supposed to use to get serious things done. Bookmarking this in case I have to use this infernal piece of software.

It’s all too sad really. I’ve used it since Windows 3.1 and still think Windows 7 was a fantastic OS (used it exclusively for gaming). Looks like I might be good with the Windows 10 Enterprise IOT LTSC version, at least until 2032.

Some Amazing Things You can do with Modern CSS

Plenty of good stuff on there but this totally blew my mind. Consider this custom tag (should be lowercased and contain hyphens. Emojis are allowed!):

<cool-thing shadow>wow</cool-thing>

and this valid CSS:

cool-thing {
    display: flex;

    &[shadow] {
        box-shadow: 1px 1px #0007;
    }

    @media (screen < 480px) {
        flex-direction: column;
    }
}

The only thing missing from my beloved SASS are mixins but I suppose you can achieve that by composing attributes (like shadow above). Super cool.

Navidrome is a free, open-source music player with a web UI

Here’s a demo site (demo:demo). I was able to launch it in under 30 seconds (M2 MacBook Air, 24GiB) against a ~200GiB music library.

UX and beets integration aside, it’s essentially what I tried to build a long while ago. A simple music player (based on Rust/Golang, SQLite, and simple Web APIs) whose UI made sense to normal and reasonable people and not ambitious product managers.

BatFi gives you full control over how your Mac laptop is charged

You can use System Settings -> Battery -> Battery Health -> Info Icon to toggle this “ML” approach where macOS (and the developers who know more than you about how to care for your Mac) will handle this for you but I’ve never gotten it to work as expected despite docking my laptop repeatedly, and for half the day, over a year.

You can buy it on Gumroad or here’s a download link.

A Good Vimrc

If there’s a TL;DR it is the second line: “Don’t put any lines in your vimrc that you don’t understand.”