ebobby
1.3K posts

ebobby
@_ebobby
Staff Engineer @ Musa | Founder @ Pick your Photos (https://t.co/gJQFeFT5DG)






It is likely that we only have ~3 years remaining where 95% of human labor is actually valuable (i.e. earns you money) Most people haven't realized this yet. It is also likely that this will be the end of our current iteration of labor-based capitalism.


My preferred development workflow for 2024: 1. All devs have their own DB instance so we don’t conflict with each other. The DBs run locally, and can be reset via static SQL scripts via a single command. The SQL scripts are committed to source control. This way, we can code without internet, demo the app reliably, reproduce bugs, and write fast, reliable tests. 2. Create a short-lived feature branch for each ticket. Each pushed commit runs tests on CI. CI auto-deploys a dedicated ephemeral (short-lived) environment with a unique URL for each feature branch so people can test and approve *before* merge. Thus, no separate shared environments like UAT or staging are typically required. 3. When a PR is approved, we merge to main. The CI server auto-deploys the main branch to prod. If the feature isn’t ready for public use, hide it in prod via a feature flag.

















