10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions
comment 5y ago · link · parent
Where is the acknowledgment of a problem, root-cause analysis, and followup for new practices and engineering to prevent issues? Who is responsible for these issues and what are they doing to make it right? What positions are you hiring for _right now_ to get to work making your service reliable?
comment 5y ago · link · parent
I'm really scratching my head to understand your concern here. Apparently there is some magical minimum bar of file size that a project needs to pass before it's worth having a repository on github with a readme, license, etc? Even though the git repo and a few text files only take a few bytes to store?
comment 5y ago · link · parent
As far as why break every component up into different packages, that's a nice easy optimization for end-users. If you only want to use one of these components you just link to it in your page and you're done. No need to setup a complex bundler with tree-shaking etc. to remove all the other components you aren't using. Remember with JS & HTML every import is paying a cost in time and space for your endusers so it's critical to prune unused or unnecessary code.
IMHO you need to spend a few months getting into frontend development. These kind of repos and organizations will make a lot more sense when you see and deal with the problems firsthand. You look pretty silly calling it 'crap' and no one who reads this is going to take you seriously...
comment 5y ago · link · parent
Silly problem just to show how silly the OP's argument is: putting a plant indoors now means it costs carbon to keep it living--I have to water it, but that water doesn't come for free and depends on a vast pipeline of industrialization to extract water, pump it to my home, and then build containers for me to hold the water and drip it on my indoor plants. It would be better to just cut that chain entirely and let plants get water from rain directly... by not being indoor houseplants.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
It also opens up an interesting possibility where the tab process isn't on the same machine. That could be handy for power users, or even for interesting things like browser testing apps on different, remote devices.
comment 5y ago · link · parent
comment 5y ago · link · parent
If so do it and spawn a single process for the browser window UI. Communicate between the browser window and tab processes with whatever flavor of IPC you desire, and secure it with whatever security layer you trust (TLS 1.3+ for example). We've basically reinvented the operating system desktop, which isn't that far off from how we treat browsers and the web today anyways...
comment 5y ago · link · parent
And if you don't like any of that, look in the Dockerfile and replicate the setup on your server. IMHO in 2021 it's not worth someone's time to worry about the eccentricities of 20-30 year old bespoke unix/linux distributions and their myriad of incompatible decisions.
comment 5y ago · link · parent
Also check out bigger players in the API gateway space. Kong, Krakend, etc. Most of them all support auth tokens out of the box in the open source versions.
comment 5y ago · link · parent
comment 5y ago · link · parent
MDX is another neat step, it's markdown + react components and fits in very well with next.js: https://github.com/hashicorp/next-mdx-remote
Vue, and Svelte to just get an idea of what other components systems are like. They're all equally capable and just have different tradeoffs and styles. Keep an eye on Svelte in particular as its next.js-like system (SvelteKit) is working on a major revamp to be serverless-first and is quite interesting. Once you learn one component system it's easy to switch between them all--they're all cribbing and building on top of each other's ideas. The whole space is innovating in a great way.
Web components are good to learn and compare to component frameworks above. It's still a changing space but points to a nice future where we can all just publish and share components.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Another good one is Jekyll Admin: https://github.com/jekyll/jekyll-admin It's not as nice as wordpress but gets the job done for a basic markdown focused site. Selfhosting it is a lot easier and more documented than Netlify CMS.
comment 5y ago · link · parent