3 ms·
> Working from a hotel coffee bar and the WiFi goes out? Bummer if that blocks your work. Grace doesn't change anything about that for you. You still write cod
by SBArbeit 2y ago
> Working from a hotel coffee bar and the WiFi goes out? Bummer if that blocks your work.
Grace doesn't change anything about that for you. You still write code locally, and `grace watch` will sync you up when you reconnect.
You can't `git push` without an internet connection, either, and you can't work on your Azure / GCP / AWS resources. Or your Google Docs. Or your email. Or your Teams chat. Source control isn't a special case that must work offline, it's just that we're used to Git, and we pay the bad-UX tax of using a distributed VCS as a centralized VCS, because very few of us push to production from our dev boxes, only from a (Git)hub.
Assuming a working internet connection in the late 2020's (i.e. roughly when Git will be replaced by some competitor) is not a blocker for almost every developer in the world. And Git will still be there if offline usage is a hard requirement.
- eternityforest 2y agoCan you commit/checkpoint/branch offline?
- thfuran 2y ago>in the late 2020's (i.e. roughly when Git will be replaced by some competitor) I'd put it at more like the late 2050s. I think it achieved critical mass. It certainly doesn't look like it's going anywhere in the next few years.
- kstrauser 2y agoHard disagree. It’s inherently true that I can’t work on remote servers and all those things but VCS are not inherently remote. I have entire local hobby projects I’ve never git pushed anywhere because my local copy is authoritative. We as an industry largely moved off centralized VCS because of those advantages of having 100% functionality on an airplane.
- robertlagrant 2y ago> I have entire local hobby projects I’ve never git pushed anywhere because my local copy is authoritative. Isn't this backward? Your local copy is authoritative because you've never pushed anywhere (-: I know it's probably overkill and you should just use git (or just use folder backups or something if it really is just local) but you could in theory run the grace server locally too, I imagine.
- robertlagrant 2y ago> Grace doesn't change anything about that for you. You still write code locally, and `grace watch` will sync you up when you reconnect. Can you still branch and commit locally, and that will also sync?