It's great to see this out in the wild now.
I wish more of those bright engineers would try to solve problems for other users rather than re-re-re-re-re-optimizing the life of their colleagues. But writing code for users involves, among other things, knowing something about users, which is more bogged down and less fun.
also you seem to have fallen for the same fallacy as the people who complain about open source devs not working on what they consider sufficiently important problems. trust me, there are no shortage of engineers willing and eager to work on end user problems, and the dev tools work enables them to deliver solutions to those problems faster, and makes those solutions work more reliably. it's a rising tide that lifts everyone's boats, not a zero sum game.
I would rather a good engineer put their skills towards helping others use their skills more effectively than put that same engineer in a place where they don't like the work and produce below par results.
So I'd selfishly adjust it to 'solve other problems for the same users'! Asahi, for example, awesome stuff - I've lost count how many times I've had to explain (to both colleagues and non-engineer family/friends/etc.) 'no no, absolutely agree, love Mac hardware [...]'.
I chose a job at Google Engprod (a tooling/developer productivity org) because I specifically like to work on dev tooling and I'm much less interested in working on products aimed at end users. Surely, many engineers at FB feel the same way.
Cider, Piper, CitC, Blaze, etc make a really complete system. Nothing beats it.
This is kind of also surprising because product speed at Fb is much better :)
Source: Was a Meta infra engineer until last month, working in CDN & LogDevice, among other teams.
I see nothing about review workflows in Eden’s README. Any pointers to example tooling — Presentations, code, screenshots — in the wild?
Which is to say, this is a product for one company - Facebook.
Perforce (and apparently Eden) make it usable.
If you use a tool like this you would basically be on your own. If you “stick to git” (or mercurial or whatever) at least you have all that momentum behind you, and you almost definitely won’t be the first people to encounter a problem.
I think the core issue with git is that the submodule thing is obviously an afterthought that's cobbled together on top of the preexisting SCM instead of something that was taken into account from the start. It's better than nothing, but it's probably the one aspect of git that sometimes makes me long for SVN.
At the scale of something like Facebook you'd either have to pay a team to implement and support your split repo framework, or you'd have to pay a team to implement and support your monorepo framework. I don't have enough experience with such large codebases to claim expertise, but I would probably go for a monorepo as well based on my personal experience. Seems like the most straightforward, flexible and easier to scale approach.
https://github.com/facebookexperimental/eden/tree/main/eden/...
They could be a very strong contender in that space instead of being known as a terrible time suck for humanity.
It was shut down when FB apparently realized that an open cloud platform business is completely incompatible with how they run their infra.
Further, I'm happy with git. I played with Mercurial years ago, long enough to work with it day-to-day, and just didn't find any relevant advantages versus git.
I love that people are still out there trying to improve things, and certainly don't want that to stop, but it's difficult for me to imagine switching at this point.
1) Better handling of large files than git-lfs. As in 10+ GB repos. This is needed for game development (currently they tend to use Perforce or PlasticSCM)
2) Sparse checkout via file system integration (like Eden has)
3) Build system integration, so unchanged files and modules don't even need to be fetched to be compiled, because cached builds can be fetched from a build server instead (requires proper modularization, so e.g. C++ macro expansion doesn't just prevent anything from being cacheable)
These are all features that primarily have value for repos that push the limits on size, like big monorepos (with a huge amount of files) or game development (with big asset files). But get it right, and you could massively cut down the time it takes to check out a branch and build it.
Dud is meant to be a companion to SCM (e.g. Git) for large files. I was turned off of Git LFS after a couple failed attempts at using it for data science work. DVC[1] is an improvement in many ways, but it has some rough edges and serious performance issues[2].
With Dud I focused on speed and simplicity. To your three points above:
1) Dud can comfortably track datasets in the 100s of GBs. In practice, the bottleneck is your disk I/O speed.
2) Dud checks out binaries as links by default, so it's super fast to switch between commits.
3) Dud includes a means to build data pipelines -- think Makefiles with less footguns. Dud can detect when outputs are up to date and skip executing a pipeline stage.
I hope this helps, and I'd be happy to chat about it.
[0]: https://github.com/kevin-hanselman/dud
[1]: https://dvc.org
[2]: https://github.com/kevin-hanselman/dud#concrete-differences-...
> Better handling of large files than git-lfs.
PlasticSCM does really really well with binary files.
> Sparse checkout via file system integration
Windows only [0] but Plastic does this. I've been working through some issues but it's usable as a daily driver with a sane build system.
> Build system integration
UnrealBuildTool at the same time is both the coolest and most frustrating build systems I've ever used. It's _not_ a general purpose build system for anyone and everyone, it's tailored to Unreal, it's slow to run the actual build system, the implementation is shaky at times, but some of it's features are incredible. Two standout features are Unity Builds, and Adaptive Unity builds. Unity builds are common now [1], but adaptive unity is a game changer. It uses the Source control integrations to check what files are modified and removes them from the unity blobs, meaning that you're only ever rebuilding + relinking what's changed, and get the best of both worlds.
[0] https://blog.plasticscm.com/2021/07/dynamic-workspaces-alpha... [1] https://en.wikipedia.org/wiki/Unity_build
Would this be a good fit for large machine learning data sets?
Every time a new model comes out that touts having been trained on something like a quarter of a billion images, I ask myself "how the heck does someone manage and version a pile like that?"
Because now you've got two versioning systems with different quirks and tools that behave slightly different that _must_ be kept in sync.
> I get that it's easier to keep everything together,
Easier is a bit of an understatement. Putting binary files outside of the project in another versioning system means you need two version control systems, _plus_ custom tooling to glue the two together. Also, the people who interact with these assets primarily are not technical at all, they're artists or designers, and they're the most likely to have issues with falling between the cracks.
It would be a game changer if any SCM actually manages to achieve this without needing multiple developer teams just for maintenance.
That would probably break gits current dominance within a relatively short timeframe... But I don't think it'll happen within the foreseeable future,
More seriously, can you describe what "build system integration" would look like? Basically like what GNU make does with RCS? I.e. considering the SCM "files" as sources.
How would such a system build a dumb tarball snapshot?
It can use the Git data store, so developers can in theory start using it without the whole team adopting it. Then it addresses the big problem with Git, the user interface:
https://github.com/martinvonz/jj
I'm not suggesting that "jj" in particular will disrupt Git, but I think eventually the a tool which supports the git data store with a better user interface could take hold.
So rather than use Git + Git Annex or something like that (maybe more), you’ll just use this alternative SCM.
(I keep hearing about how Git will eventually support big repos, but it’s still not on the horizon. Big repos with Git still seems to be limited to big corps who have the resources to make something bespoke. Personally I don’t use big repos so I have no skin in this game.)
- Protocol for more efficiently widening sparse checkouts.
- Virtual filesystem or other solution for automatically widening sparse checkouts to greatly improve the UX.
- Ideally changing sparse checkouts from a repo state to just some form of lazy loading. Otherwise as you touch more files your performance will slowly degrade.
One thing I recall was an effort from pijul to make blaming a file run in O(n log h) where n is the size of the file and h is the size of the (repo or file, I’m not sure) history. I wonder if Eden will also have improved blame performance. I noticed they mentioned large histories but maybe it is still linear in the history size of the file. (The way hg works gives I think O(nh) where h is the size of the file history, which he stores per-file rather than per-commit like git).
Similarly, I think Git(hub) has succeeded in open source because bundling more complete changes into PRs works well for unevenly distributed contributions.
You know the feeling of having to use SVN after using Git? This is what it feels like to use Git after getting used to Meta's Mercurial. I wish I could go into the details, but I don't know how much of it was ported back to Mercurial.
One possibility could be to use some kind of git ui. I only know about magit (which is built on/in Emacs) but I’m sure others exist.
If they are then I totally agree.
That said, I would like to see it self hosted. I think then and only then will I give it a serious look.
Being open source doesn't mean I have to maintain your code contributions.
I love git just as much as the next guy, but git-lfs sucks.
But we were explicitly dissuaded from having binary data. I worked on image processing, and wanted to store test images for unit tests in hg, but the consensus was, that was a bad idea. So we stored them in a separate data store, and had a make rule to fetch them as part of the build.
1. The take up a lot of space because the entire history needs to be downloaded with all past versions (andany types of binary files completely change when updates so delta compression doesn't help much)
2. The are slow to update on checkout (not much of an issue if they don't chance much).
Basically any solution for large repos will also solve Git's "binary file problem" because in order to allow large repos you need to allow shallow and partial checkouts as well as efficiently updating the working copy (usually via a virtual filesystem).
TL;DR Git doesn't have a binary file problem, it just has a big repo problem. Binary files are often mentioned because they are the quickest and easiest way to get a big repo.
Getting the inertia amongst developers to migrate to a different SCM can be quite the challenge.
Edit: initially said migrating to git was a challenge. But really it’s migrating from any SCM to another that’s challenging.
It's great, and it doesn't work outside Facebook.
Even React, which is their most popular library, is not actually "open source." They're very transparent about the fact that their priorities are Facebook's needs -- even if they do take community input.
None of this is per-se bad, but you should definitely treat an open-source project out of Facebook with skepticism when it comes to adopting it for your own use cases (possibly making sure you're not too locked in when an incompatible v2 comes out with virtually no warning after FB's internal implementation drifts).
How do you define "open source"? It typically simply means the source code is available. By any definition I can think of, React is definitely both free and open source. How they design the software or if they take contributors isn't really relevant.
I agree with you that react is definitely open source, but I'd also encourage you to use more specific wording around what "open source" means.
I think wikipedia gets this right: https://en.wikipedia.org/wiki/Open-source_software
"Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose"
The license is the key bit.
On the other hand, there's "source available" software (also on wikipedia https://en.wikipedia.org/wiki/Source-available_software ), which is what your definition equates to, and I personally don't want to see confused with open source or free software.
I don’t know how we got to this point but it’s interesting to notice that the terminology drifted.
React is a successful Facebook OSS project. An example of one which went poorly is Thrift. Facebook open-sourced it and then internally used fbthrift which diverged drastically. OSS Thrift isn't that popular these days any more.
that is not what that means. "source is available" and "open source" are very different.
The source code to Windows is available.
IMO that should be celebrated, not shitting on fb for their poor track record of going out of their way to open their source code to the public.
I hate meta as much as the next, but come on.
A fork may not be an option. Perhaps a given organization may not even be allowed to use React, if Facebook decides against it for some reason. Jurisdictions can differ as well.
In my opinion, the best thing would be if Facebook simply made the terms clear by using the Apache license or similar. But hey, it’s Facebook, so I’m not expecting much…
> Re-sync with internal repository
I wouldn't consider this to be a problem.
So if history serves the next announcement to watch for is your departure from Facebook and the launch of Edenity, which will be sunset and abandoned inside a decade once it fails to IPO. Am I close?
but if i grep through the source code then it will download all of the stuff?
On the build side.... holy jesus, are they really compiling 40 different dependencies from scratch every time they push code? This build has been running for 5 minutes and it's still just compiling dependencies: https://github.com/facebookexperimental/eden/runs/5997101905... Come on, ya'll. You're supposed to be the "advanced FAANG people". Cache some build deps, will ya?
You also need much better tools than grep and locate for a monorepo - or any sufficiently large repo probably. Just load the full repo into memory in a few places around the world, and use an API to find the text you’re looking for. If you already have expertise with search services in your company, this is not that challenging a step - and you can get fancy by using something like Tree-sitter to make those searches more advanced than text. Hitting disk (especially for whole directory trees for “grep -r”) is a losing approach in a large repo.
Only setting up files and folders as they are requested might be very helpful with various git monorepo access patterns. Maybe there is something inherit to Git's design that makes this less practical.
Which seems to have been superseded by https://github.com/microsoft/scalar according to the README.
Madness
> I believe the most important thing we can do is work to bring people closer together. It's so important that we're changing Facebook's whole mission to take this on.
No wonder they have a major project named Yoga and now this...
It's used to predict things, but still strikes me as an odd name, just like Yoga.
No, you can't simply dismiss the fundamental problems with Facebook/Meta with whataboutism. Google and Apple and Microsoft are standard mixed bags. Not Facebook.
Facebook is pure evil. It has queued up the complete obliteration of western democracy, which even Rupert Murdoch couldn't quite manage on his own. You can absolutely find non-directly-evil things to at Facebook/Meta, but it all supports the evil in the end.
https://www.theatlantic.com/magazine/archive/2022/05/social-...
It's also possible, but not likely, and not the case here, that a TV show could be a sensation long before the first episode comes out. I can't think of a time when this happened except for a prequel or sequel like Better Call Saul, where it was much awaited, but I'm sure there are instances of that occurring.
Edit: from another comment, there's this, which came out in 1997 but isn't mentioned in the Wikipedia article for the TV series so I'm not sure it's related: https://en.m.wikipedia.org/wiki/Eden:_It%27s_an_Endless_Worl... There is a Manga mentioned in the article for the TV series but it came out the same year as the TV show.