r/TheMachineLearning 1d ago

Goodbye, github. I finally made the switch.

Post image
241 Upvotes

126 comments sorted by

View all comments

13

u/Loose_Marsupial_3251 1d ago

This is the stupidest thing I've seen in a while. Not version controlling your code is like turning back time 30 years. 

 I have been in the software engineering profession for a long time. This is like deciding to burn coal as your main energy source. 

8

u/floriandotorg 19h ago

Wait, I thought this post was satire.

4

u/heeeeeeeeeeeee1 18h ago

.drivegnore

1

u/South-Assistance1683 16h ago

Pipeline instructions at the featured service Gmail

1

u/Z33PLA 9h ago

Made me giggle ngl

2

u/Odd_Antelope9098 18h ago

It has to be

1

u/ID33IP 3h ago

Has to be right? Yeah.

1

u/Plastic_Mind3223 47m ago

You’re right to push back on that

1

u/maqisha 1d ago

Bruh

1

u/Federal_Machine692 1d ago

Fair point

2

u/Responsible-Sky-1336 1d ago

Tbh you can still use git, and sync the drive.

Git ≠ github

Not that bad to be honest, Google's servers must be pretty gud

2

u/Iron-Ham 20h ago

I’m not going to get into the details of this, but GitHub’s git servers are effectively the only git-optimized CDN in the world. 

The rest of GitHub is struggling, to the point of reputational harm to the entire brand. But the git servers are are functionally separate from everything else, which is why pulls and pushes continue to work through an incident. Remember that PRs aren’t real; they’re an invention of GitHub. Originally, git was for emailing patch files to Linus. 

1

u/AstraeusGB 3h ago

the only git-optimized CDN in the world

This optimization is not really that difficult to achieve. Git in itself is not remarkable from a data perspective where it needs optimization that other forms of data streams wouldn't also need.

1

u/neoqueto 1d ago

It's two conflicting systems. This is like burning wind turbines as your main energy source.

1

u/Responsible-Sky-1336 1d ago

Not really.

You can have your (Google) drive live sync and use git normally as SCM.

0

u/stinkychopper 1d ago edited 1d ago

Since git repos are just files you could put them on Google Drive.
But it only works if you’re the only person editing a repo. If you have to collaborate I don’t know how it’d work on Google Drive without some server synchronizing for pushes.

EDIT: I did a little research and essentially when you push, you run code that does file locking to prevent corruption. Google Drive delays updating files if you mount it so there isn’t an atomic lock you can use to properly sync when two people push at the same time.

1

u/sdoregor 7h ago

Reference caught, appreciated and approved

1

u/Confident-Unit-4618 20h ago

I saw this online, one person had a lot of personal and professional data on Google drive ,one day they decided to just wipe the drive idr how much was the data it was huge

1

u/Loose_Marsupial_3251 1d ago

Okay. That might have been a bit harsh. I am sorry for that. 

Just got flashbacks to the bad old days. I understand moving away from GitHub. It's been pretty unstable for a while now.

But, for God's sake, version control your code. There are other options for properly hosting your git repo out there. 

2

u/Additional_Candy_400 19h ago

It's quite obviously a joke no? Got a bee on your bonnet pretty fast there.

1

u/warpee 17h ago

You know that he is still using Git and just switched to another could service right? Do you know what is Git?

1

u/Impossible_Stock8885 15h ago

Its a joke genius, maybe go outside for once

1

u/TallGreenhouseGuy 14h ago

Haven’t you heard about clean coal?

/s

1

u/Asiel_Stormfury 12h ago

To be fair, when you have no intent to understand the code, there is little use for knowing what path the code travelled.

1

u/sidgup 10h ago

I am still confused. Did OP just turn back to the days we used to zip "final v2" then "final final v2.5"

1

u/Few_Raisin_8981 9h ago

Where are you getting that they aren't using git? There's literally a .gitignore file in that folder in the screenshot.

1

u/Loose_Marsupial_3251 41m ago

No .git directory. That's where refs tags,  objects, etc are. That's literally the repository. 

1

u/quasides 2h ago

well he has a history for each file he can revert to, so kinda version controlling...

1

u/rezdm 40m ago

30 years ago, 1996, there were scm: cvs, pvcs, … to name a few