Earlier quoted context omitted.
I publish a package with zero deps and people still pull in a pile of transitive stuff from their lockfile. "pg" has 13 dependencies and nobody even blinks. One gets compromised and suddenly every Node backend using Postgres is in scope. Bun shipping native drivers feels like the right call, fewer moving parts.
I understand the general point you're making, but the pg package isn’t a good example. It has 6 deps, not 13, and 5 of those are internal packages from the same monorepo without additional dependencies. There’s only a single external dependency, and that one brings in just one additional package. In my opinion, the pg repo and packages are an example of how OSS stuff should be maintained. Clean repo, clean code, well…
Node.js needs a virtual file system
271–275 of 275 posts
Re: Node.js needs a virtual file system
#272Earlier quoted context omitted.
We'd have a lot less enshittification all around, I suspect.
Sure thing, your nurse ain't gonna clean your mom, in the restaurant the chef ain't gonna prepare a dish he doesn't like, your accountant ain't gonna file your taxes if you've given him data he doesn't like, etc. Your paid to do a job, you're either professional or you aren't.
It does mean that nurses might end up getting paid more than software engineers, but why is that a bad thing?
Re: Node.js needs a virtual file system
#273Earlier quoted context omitted.
One of the worst is media players that all insist on grafting their own "library" on top of my already-working OS filesystem. So I can't just run the media player and play files. No, that would be too simple. I have to first "import" my media into a "library" abstraction and then store that library somewhere else on my filesystem. Terrible!
There's a legitimate problem they're trying to solve there: there are several ways to sort media that don't match up well with a hierarchical filesystem¹. They solve it badly. Good players maintain a database for efficient queries of media metadata, and periodically rescan the folders to update it. Shitty media players try to manage the files themselves, and still end up needing to maintain a database. The worst of t…
Both. Links exist
> What if you want to sort all songs in the display by publication date
You click on the "pub date" column
> metadata database will be needed for efficient search
Yes, nothing can beat caching as illustrated by Everything.
Re: Node.js needs a virtual file system
#274Earlier quoted context omitted.
Since when we accepted that we can’t go fast and offer stability at the same time? Time is highly correlated with expertise. When you don’t have expertise, you may go fast at expense of stability because you lack the experience to make good decisions to really save speed. This doesn’t hold true for any projects where you rely on experts, good processes and tight timelines (aka: Apollo mission)
it’s a well known true-ism you can have it cheap, correct or fast. but you can only have two of them at the same time. and we’re talking about FOSS here, so cheap kinda has to be one of them.
Re: Node.js needs a virtual file system
#275Earlier quoted context omitted.
it’s a well known true-ism you can have it cheap, correct or fast. but you can only have two of them at the same time. and we’re talking about FOSS here, so cheap kinda has to be one of them.
Well, with the help of AI now you can have Fast, Affordable, and Correct.
So, it's fast if you get lucky and are able to one-shot it, affordable-ish if you get lucky and are able to one-shot it and correct if you get lucky.
And that tends to happen if you're working on a specific set of codebases which are close to the most commonly occurring codebases in the training data set -- i.e. CRUD webapps / heavy boilerplate usage. Most FOSS projects probably don't fit in that camp (i have no data to support this, it's just my gut experience).