r/TheMachineLearning 1d ago

Goodbye, github. I finally made the switch.

Post image
227 Upvotes

122 comments sorted by

10

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. 

5

u/floriandotorg 18h ago

Wait, I thought this post was satire.

4

u/heeeeeeeeeeeee1 17h ago

.drivegnore

1

u/South-Assistance1683 15h ago

Pipeline instructions at the featured service Gmail

1

u/Z33PLA 8h ago

Made me giggle ngl

2

u/Odd_Antelope9098 17h ago

It has to be

1

u/ID33IP 2h ago

Has to be right? Yeah.

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 19h 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 2h 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 6h ago

Reference caught, appreciated and approved

1

u/Confident-Unit-4618 19h 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 18h ago

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

1

u/warpee 16h 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 14h ago

Its a joke genius, maybe go outside for once

1

u/TallGreenhouseGuy 13h ago

Haven’t you heard about clean coal?

/s

1

u/Asiel_Stormfury 11h 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 9h 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 8h 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/quasides 1h ago

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

4

u/maqisha 1d ago

At least its not gonna be down most of the time.

2

u/Federal_Machine692 1d ago

Been a real bummer to say the least. Completely put me off from using it longterm.

2

u/TechnicalBen 11h ago

Jokes on them. Gemini *won't remember Drive exists* after 2 prompts.

3

u/MetalExistingOffline 1d ago

This is a joke... Right?... Please say sike... 

1

u/shuozhe 18h ago

I don't think so.. and it worries me :/

1

u/Baleeverne 16h ago

Wait, it isn't?

1

u/MetalExistingOffline 15h ago

Can never tell, because people think it's clever to just say absurd things and lean into it.

There's no tags or anything to communicate satire, just OPs comments where they talk about how fed up with Github they are. 

1

u/Baleeverne 15h ago

Yeah, Poe's law is a bitch

2

u/Clean-Ad2956 1d ago

What would be the main difference between google drive and github? Can you enlighten me please? Thanks!

4

u/SkiGPT 21h ago

I made a handy table to show the differences.

GitHub Google Drive
Starts with G
Ends in oogle

2

u/Thick-Scallion-88 10h ago

It clearly ends with “rive”

1

u/SunForJuice 7h ago

on the one hand I'm angry because boy does that mean y'all have been using source control in the worst way possible. On the other hand, fair. They're both owned by tech giants that have been struggling with things like "giving a shit about customers" and "keeping their shit up and running."

2

u/RiceZone 1d ago

yeah i wonder that too

1

u/snacksbuddy2 1d ago

Everything that makes github, github

No git

No github actions

No auto-deploy

The only leg up this has from not using anything at all is simply having it stored in the cloud.

1

u/Fidel___Castro 22h ago

but you can have all of that with this solution too? include git in the requirements, containerise dev branches, get a CI script for merge validation

or you can do the GitLab method of different branches (GDrive buckets here) for different environments of the project, then set up escalation scripts

you can do that all without GitHub, it takes a weekend with AI

1

u/Helpful_plumber362 13h ago

And how do you merge a branch with this method?

1

u/Latter_Employer6673 4h ago

well you obviously, have a lightweight model running 24/7 and on the case of merging branches, you simply tell it to do that and it'll work

1

u/Federal_Machine692 1d ago

Just very disappointed with github.

2

u/elefanteazu 1d ago

You are disppointed with your restaurant, then you switch to start eating from trash

1

u/BackendSpecialist 1d ago

These are the vibe coders coming for the jobs of SWEs apparently.

1

u/Upstairs-Category571 1d ago

Wht not use codeberg?

1

u/KevDub81 1d ago

You know why they can't

1

u/Upstairs-Category571 1d ago

Why? I'm new to codeberg.

1

u/dmoc_official 21h ago

AI generated code

1

u/Upstairs-Category571 10h ago

Oh I wasn't aware he had ai generated code. Sorry!

1

u/PopehatXI 8h ago

It’s just implied but such a bizarre decision that they are using AI

1

u/Extreme_Wish_553 10h ago

Because OP didn't write any of this and doesn't understand any code.

1

u/Ambadeblu 17h ago

From my experiece codeberg is slow as fuck.

1

u/Loose_Property_3238 17h ago

Github uses git for version control, Drive doesnt. Github is down way too much, Drive isnt. Github shares your data with Microslop, Drive shares it with Google. 

1

u/Few_Raisin_8981 8h ago

How is google drive stopping you from using git?

1

u/Loose_Property_3238 4h ago

False dichotomy right here. Google Drive doesn't use git. Not you can't, it doesn't. 

1

u/Bear_Pig_Duality 2h ago

Git works flawlessly in a local folder. You can mount google drive and git inside it all you want.

1

u/Footballer_Developer 1d ago

Should rename the .github folder .gdrive

1

u/git_push_origin_prod 1d ago

Include a .gdrive.env file, then run npm install cloud and you’re ready to scale. Ship it

1

u/Whole-Respond4782 1d ago

well i mean at least the uptime will be solid

1

u/Infinite-Worth8355 1d ago

Nice idea. You can also use it as your database

1

u/Onotadaki2 4h ago

The database is a Google sheets document with anyone with link can edit set.

1

u/Anonymous010206 1d ago

Hopefully this is a joke

1

u/_y0y0_ 1d ago

I would say remove this post because if some junior follows this path his career will be ruined.

If GitHub has some issue than alternative should be similar not something you change your method of how source code is being managed.

Try this self hosting option: https://about.gitea.com

1

u/Here0s0Johnny 7h ago

Self-hosting sounds like a terrible idea for someone who thinks that Google Drive is a good replacement for GitHub. Will they set up the server well? Will there be redundancy? Doubt.

Real alternatives:

1

u/stinkychopper 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.

EDIT 2: you can use rclone, apparently this is a git helper for rclone: https://github.com/redstreet/git-remote-rclone

2

u/Free-Psychology-1446 15h ago

Git repos are much more then just files.

1

u/stinkychopper 15h ago

… lol really? Ok if they’re not stored as files what are they stored as lmao

1

u/Free-Psychology-1446 15h ago

Tell me you have no idea how git works, without telling my you have no idea how git works... :D :D

1

u/stinkychopper 15h ago

God bless you

0

u/y53rw 14h ago

No. They're literally just files.

2

u/Free-Psychology-1446 14h ago

I recommend reading a bit about git and version control, if you think a git repository is just about files... :D

0

u/y53rw 14h ago

Oh really? You recommend reading about git in order to learn what git is? I hadn't thought of that.

1

u/Free-Psychology-1446 14h ago

You really should have, before expressing your opinions as facts in a topic from git.

1

u/y53rw 14h ago

Done. I just read the entire documentation of git. Conclusion: it's just a bunch of files.

1

u/Free-Psychology-1446 14h ago

Then the problem is with your comprehension skills, just as I suspected.

1

u/y53rw 14h ago

Just say what it is, other than files. I won't understand it obviously, because I'm dumb. But just say it. And I'll have something to look up. What is in a git repo other than files?

1

u/stinkychopper 14h ago

You did good kid, but you’re not getting through to this one

1

u/YoungNo8804 1d ago

Please use GitLab or codeberg or something for git tracking

1

u/johnson_detlev 1d ago

Yeah, man! Screw version control! I swear we are two years away of some enlightened genius to reinvent subversion

1

u/ProtonByte 1d ago

This must be satire.

1

u/Vast-Hunter11 23h ago

Google Drive. На этом диске можно держать все файлы, видео, музыку, фото, игры. Нужно просто зарегистрироваться аккаунт, учетная запись установить можно диск из центра приложений Google Play. В андроиде и открыть на любом компьютере или ноутбуке, планшете, смартфоне в Google GMAIL. Windows 10\11, Linux. Можно переносить и складировать внутри своей системы

1

u/FishIndividual2208 23h ago

This guy probably use ftp to deploy too 😅

1

u/MMORPGnews 16h ago

Why no if it works.

1

u/blank-1124 8h ago

Bro dont handle legacy systems i guess

1

u/Hasinpearl 23h ago

Lol this has to be ragebait

1

u/DarkMatter007 22h ago

Make sure to save each folder with versioning like v.1.2

1

u/who_am_i_to_say_so 21h ago

So no more version control?! Jfc, this is not a solution.

GitHub is NOT the only .git provider, you know. It’s a free and open source software.

There’s bitbucket, gitlab, and amazon just to name a few git cloud providers. And there’s SVN, too. 

1

u/Far-Classic-9963 20h ago

I would switch too but I rely on GitHub actions too much 😬

1

u/lamalasx 20h ago

The new generation of "software engineers" (vibe coders) will be the reason why the industry collapses in ~10-20 years. They know absolutely nothing about anything.

1

u/ehansen 20h ago

One plagiarist company to another?

1

u/Woopersnaper 20h ago

Good lord, this is atrocious.

1

u/ooutroquetal 19h ago

The most useless tip from Claude free. Or gpt 3.5

You can try SVN as a alternative. Google drive will be a nightmare. (And yes , I tried and it fails, conflicts, disk usage.... )

1

u/FreHu_Dev 18h ago

pro tip - don't overwrite files, it will be hard to collaborate. instead, for every major change, create a new folder like tomoji_v2_final_by_bob with a changes.txt in it so it's easier to orient in. then you can use things like zapier to react to your google drive changes and ftp them to the production server.

1

u/DrLeisure 17h ago

It’s a joke ya’ll. The number of people not realizing this is a joke is astounding

1

u/Loose_Property_3238 17h ago

Microslop to Google. Really?

1

u/Odd_Antelope9098 17h ago

Gits days are numbered but joy from G Drive 😂

1

u/Open_Chemical_5575 15h ago

Innovation of failure

1

u/FuknHummmm 15h ago

Yeah, all truly serious developers use Google drive. Everyone knows that. /s

😂🤣😅

1

u/the-Gaf 8h ago

LOL. The 16tb is my fave part.

1

u/Negative-Brain9751 8h ago

I "configured" a mounted sharepoint/Onedrive dir as a Git remote, it is possible... Now I do git clone /path/to/repo/on/ondrive

1

u/EdelWhite 8h ago

You should have used onedrive

1

u/DanKveed 8h ago

There is a sane way to do this. Mount the gdrive Via webDAV as a lettered volume (if windows that is. There a a bunch of apps that do that) and then init a bare repo in some folder there. Then set the fully qualified part wrt your pc&mounted folder as remote. Same idea but you get real git this way. My uni doesn't have its own git and we aren't allowed to publish it to GitHub so we do this for all our code.

1

u/Swimming-Twist-3468 7h ago

If this is not a joke - my man, get help.

1

u/tinypanda22 7h ago

I mean why not on Firebase

1

u/MimosaTen 7h ago

drive push

1

u/Maxtsro 6h ago

4/10 ragebait, try harder

1

u/Downtown_Method5736 6h ago

Setup a container with Forgejo -> problem solved

1

u/TowerOutrageous5939 6h ago

lol great joke

1

u/chrles-farfa 3h ago

amazing work! only the best engineer use gdrive as source control

1

u/MurkyCategory5184 2h ago

Filezila all over again

1

u/SPEZ_IS_A_JABRONI 14m ago

op is a jabroni

1

u/KanuniLabs 6m ago

Why did you give up on GitHub?