News for hackers. Stuff that matters.
Re:Ask HN: Can we do better than Git for version control? by withinboredom on Sunday December 10, 2023 @04:06PM (#38595049)
This is a solved problem with git. I’ve worked on bigger projects than yours with histories that are so big you can’t clone them if you wanted to. I’ll make a note to drop what to google for tomorrow, but basically the history is fully available but git knows how to query it over the network. When you open a file, it loads it over the network. Remote build systems do your builds.

Most of this was built by Microsoft to work on Windows with git.

We moved from SVN in the late 2010’s, and holy crap man, did it change our workflows. No longer were we passing around patch files in a team for code reviews, but actually reviewing code somewhat like on GitHub. It was magical.

Re:Ask HN: Can we do better than Git for version control? by IlPeach on Sunday December 10, 2023 @05:17PM (#38595638)
I shed a tear as I remembered the pain of doing that with SVN
Re:Ask HN: Can we do better than Git for version control? by est31 on Sunday December 10, 2023 @07:53PM (#38596538)
Microsoft had a bunch of solutions to handle their massive Windows repo: VFS for Git (GVFS), Scalar, and now it has a bunch of MS specific patches on top of the official git client, but apparently that one is also not required any more as partial clone is now supported on azure as well (which is another such implementation from Microsoft employees that made it to both GitHub and upstream git).

So yeah, solved problem thanks to Microsoft. Solved multiple times in fact, and because it's Microsoft, only not all had Linux installers: https://github.com/microsoft/scalar/issues/323#issuecomment-...

https://github.blog/2020-01-17-bring-your-monorepo-down-to-s...

https://devblogs.microsoft.com/devops/introducing-scalar/

https://github.com/microsoft/git

https://devblogs.microsoft.com/devops/git-partial-clone-now-...

Re:Ask HN: Can we do better than Git for version control? by withinboredom on Monday December 11, 2023 @03:29AM (#38598690)
Thanks!
Re:Ask HN: Can we do better than Git for version control? by slalomskiing on Monday December 11, 2023 @12:52PM (#38602892)
> Add to that the necessity for less-technical people (artists, designers, VFX, audio, etc) to use it

How is that solved with Git?

Re:Ask HN: Can we do better than Git for version control? by allarm on Tuesday December 12, 2023 @01:25AM (#38610237)
Maybe they just need to follow carefully written instructions created by more technical people?
Re:Ask HN: Can we do better than Git for version control? by Noneofya on Tuesday December 12, 2023 @07:19AM (#38611236)
When has that ever worked? And why does this count as a solution rather than a poor workaround for you?
Re:Ask HN: Can we do better than Git for version control? by allarm on Tuesday December 12, 2023 @08:17AM (#38611697)
What has ever worked, reading and following manuals? Like, forever? Stop pretending there's a simple solution. People just need to use their brains. Both people who write those manuals and those who read them.
Re:Ask HN: Can we do better than Git for version control? by slalomskiing on Wednesday December 13, 2023 @01:23PM (#38631778)
There literally already is a simpler solution for non-technical people, it’s called Perforce and tons of game studios use it

But I’m sure you’re smarter than the whole industry so you probably know better

Re:Ask HN: Can we do better than Git for version control? by allarm on Thursday December 14, 2023 @05:44AM (#38639934)
Hey smart man, this is a thread about git, not perforce. Just fyi.
Re:Ask HN: Can we do better than Git for version control? by withinboredom on Wednesday December 13, 2023 @05:47AM (#38625458)
Since forever? It's not like people are born with an innate knowledge of how any software works.

Manuals/guides/tutorials are the most scalable way to teach people how to do literally anything.

Re:Ask HN: Can we do better than Git for version control? by Noneofya on Tuesday December 12, 2023 @07:16AM (#38611211)
>Most of this was built by Microsoft to work on Windows with git.

Hacking git into something it is not does not qualify as learning to cope with git in my book.

Apparently git does not solve all problems and there is indeed value in exploring other options and building new systems that fill other niches.

Re:Ask HN: Can we do better than Git for version control? by withinboredom on Wednesday December 13, 2023 @05:51AM (#38625498)
umm. it's still git. Git is basically content-addressable storage with a couple of layers on top (heads/tags/trees) which is itself content-addressable storage. If you can offload that storage to a remote, you still have git... and can use git as you've always used git. The tricky part is making it feel like the storage is local and your own, instead of shared.

You only need this when, well, you need it. You can go a surprisingly long way (nearly a decade of daily commits by hundreds of programmers) and stick to vanilla git.