bubblesnort 30 minutes ago

    > We work in a very large Javascript monorepo at Microsoft we colloquially call 1JS.
I used to call it office.com.. Teams is the worst offender there. Even a website with a cryptominer on it runs faster than that junk.
eviks an hour ago

The explanation probably got lost among all the gifs, but the last 16 chars here are different:

> was actually only checking the last 16 characters of a filename > For example, if you changed repo/packages/foo/CHANGELOG.md, when git was getting ready to do the push, it was generating a diff against repo/packages/bar/CHANGELOG.md!

  • derriz 4 minutes ago

    I wish they had provided an actual explanation of what exactly was happening and skipped all the “color” in the story. By filename do they mean path? Or is it that git will just pick any file with a matching name to generate a diff? Is there any pattern to the choice of other file to use?

triyambakam an hour ago

> we have folks in Europe that can't even clone the repo due to it's size.

What is it about Europe that makes it more difficult? That internet in Europe isn't as good? Actually, I have heard that some primary schools in Europe lack internet. My grandson's elementary school in rural California (population <10k) had internet as far back as 1998.

  • _kidlike 25 minutes ago

    Let's pretend you didn't write the last 2 sentences...

    first of all "internet in Europe" makes close to zero sense to argue about. The article just uses it as a shortcut to not start listing countries.

    I live in a country where I have 10Gbps full-duplex and I pay 50$ / month, in "Europe".

    The issue is that some countries have telecom lobbies which are still milking their copper networks. Then the "competition committees" in most of these countries are actually working AGAINST the benefit of the public, because they don't allow 1 single company to start offering fiber, because that would be a competition advantage. So the whole system is kinda in a deadlock. In order to unblock, at least 2 telecoms have to agree to release fiber deals together. It has happened in some countries.

  • yashap 30 minutes ago

    They’re probably downloading from a server in the states, being much further away makes a big difference with a massive download.

  • nyanpasu64 23 minutes ago

    I've experienced interruptions mid-clone (with no apparent way to resume them) when trying to clone repos on unreliable connections, and perhaps a similar issue is happening with connections between continents.

    • joshvm 6 minutes ago

      The only reliable route I’ve found is to use SSH clone. HTTPS is lousy and as you mention, is not resumable. Works fine in Antarctica even over our slower satellite. Doesn’t help if you actually drop, but you can clone to a remote and then rsync everything over time.

  • p_l 13 minutes ago

    It's issues cloning super huge repo over crappy protocols across ocean especially when VPNs get included in the problem

  • RadiozRadioz 40 minutes ago

    At least here in Western Europe, in general the internet is great. Though coverage in rural areas varies by country.

  • gnrlst 37 minutes ago

    In most EU countries we have multi-gigabit internet (for cheap too). Current offers are around ~5 GBIT speeds for 20 bucks a month.

issung 16 minutes ago

Having someone in arms reach to help out that knows the inner workings of Git so much must be a lovely perk of working on such projects at companies of this scale.

yunusabd an hour ago

> For many reasons, that's just too big, we have folks in Europe that can't even clone the repo due to it's size.

What's up with folks in Europe that they can't clone a big repo, but others can? Also it sounds like they still won't be able to clone, until the change is implemented on the server side?

> This meant we were in many occasions just pushing the entire file again and again, which could be 10s of MBs per file in some cases, and you can imagine in a repo

The sentence seems to be cut off.

Also, the gifs are incredibly distracting while trying to read the article, and they are there even in reader mode.

  • anon-3988 16 minutes ago

    > For many reasons, that's just too big, we have folks in Europe that can't even clone the repo due to it's size.

    I read that as an anecdote, a more complete sentence would be "We had a story where someone from Europe couldn't clone the whole repo on his laptop for him to use on a journey across Europe because his disk is full at the time. He has since cleared up the disk and able to clone the repo".

    I don't think it points to a larger issue with Europe not being able to handle 180GB files...I surely hope so.

jimjimjim 4 minutes ago

Did anybody else shudder at "Shrunked"?

fragmede an hour ago

> Large blobs happens when someone accidentally checks in some binary, so, not much you can do

> Retroactively, once the file is there though, it's semi stuck in history.

Arguably, the fix for that is to run filter-branch, remove the offending binary, teach and get everyone setup to use git-lfs for binaries, force push, and help everyone get their workstation to a good place.

Far from ideal, but better than having a large not-even-used file in git.

  • abound 20 minutes ago

    There's also BFG (https://rtyley.github.io/bfg-repo-cleaner/) for people like me who are scared of filter-branch.

    As someone else noted, this is about small, frequently changing files, so you could remove old versions from the history to save space, and use LFS going forward.

  • larusso an hour ago

    The main issue is not a binary file that never changes. It’s the small binary file that changes often.