Both of those probably retain some value. Property may appreciate.
I really don't think you guys have thought this through. All your suggestions on how to spend underline that it's basically impossible, even when that's your object rather than enjoying it. So now who are you giving money to? It's the only thing you can do with it. Children, good works, politics, immortality via a wing of an art gallery is popular. A building at your University... Gates is trying to rid the world of disease.
When i say you can't in not making euphamisms. You just can't. Lay out a serious plan that you would want to try and spend it and you see it's not practical or even close.
Replace Sting with every artist you like and think on the logistics of it. It doesn't work. Rival Leno's Garage. Only stay in 5 star hotels. Private Jet. 5 mansions on different continents go nuts. Your idea of no expense spared, lap of luxury. Price it up for 70 years worth.
Additionally, your OS probably already natively hides files that start with a dot, so this is just a UI problem.
Please don’t “solve” this issue by moving files to a sub-directory. If anything, only leave non-config files there, it’s the obvious simple solution that most projects follow anyway.
I recently dropped my last shared hosting in favor of Vercel/Netlify and some content was lost. This solution wouldn’t work for me because the very reason why the content was lost is that I don’t want to pay for hosting I barely use.
A better solution would be an intermediary part that never changes — say, CloudFlare — that caches HTML pages forever, automatically adds a “Archived content” header to the page, and warns the author so that they can either allow the archived version or make it a 404/410 instead.
Nobody wants to maintain servers forever, but serving static/frozen pages is much easier and cheaper.
WordPress does this by default and that’s the most common platform to date. I’d dare to say that most websites have those attributes, but most SPAs don’t, because that’s too hard.
I hope you don't use that since it randomly returns either an element or a list of elements, so you'd have to also add an if/else every time you use it.
> I get "trying to stay vanilla", but any reasonably-common snippet should either be installed from npm or published there.
And that's how you end up with the joke that was left-pad and the broken internet that resulted when the author yanked it.
Dependencies represent a real risk to your product. If it is actually a simple snippet, you shouldn't take that as an NPM dependency - the risk/reward ratio is just way out of whack with that.
NPM disallowed un-publishing modules within a few days of that incident. It's not a thing that happens any more. Also, NPM for years has defaulted to creating lockfiles with all the specific versions of dependencies pinned, so even if a dependency gets updated to have a bug, you will stay on the currently-pinned version unless you specifically change that.
But anyway whether or not the module is un-published doesn't really matter. The module could also just become malicious. Ownership changes, quality of code changes, etc... If you're pinning with lockfiles you're basically back to copy/pasting or checking in a clone of an upstream repo - the maintenance burden shifts back to you at that point. You still then have to manually go update, and remember to do that, or you become just as easily obsolete as the copy/pasted snippet.
There are downsides to use package libraries as well. Like: 200mb hello world applications, or some companies restrict npm packages for security reasons.
Or, you just want to write code in notepad.exe. There is benefit to simplicity in many cases.
It's up to you to chose reasonable modules by reasonable developers. Notice I didn't call it a library, it's a 1kb module that has the code from the example + fixes you'd want anyway.
What overhead? You don’t run any optimization step on your code? I haven’t seen a single front end project without package.json in years in all the companies I consulted for, and I don’t even deal with fancy frameworks.
Do you really need a 100-million yacht and a 20-bedroom villa? No.