Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Soricidus
Oct 21, 2010
freedom-hating statist shill

i vomit kittens posted:

are the git tools in jetbrains ides a pile of poo poo or am i just an idiot? i'm used to sublime merge and i've been trying to gently caress around with git in PyCharm but everything except for a simple commit ends up being a loving nightmare. every time i click "merge main into poo poo-branch". the commit that gets created shows poo poo-branch reverting all of the changes that would have been applied from main instead of applying them like i would expect

it’s not so much that they’re bad as that they’re designed for a particular workflow. I have never managed to work out what that workflow actually is, but it definitely isn’t one I want to use.

Adbot
ADBOT LOVES YOU

raminasi
Jan 25, 2005

a last drink with no ice

Presto posted:

Well yes, because that's git in a nutshell.

git is cool + good as long as you don't try to abstract your mental model of what's going on (and have learned the idiot terminology it uses)

people run into trouble when they try to skip the "first, let's review graph theory" part of learning git (or more commonly, are taught by someone who thinks that part is skippable). this is the thing that "friendly" git uis have problems with, basically:

Soricidus posted:

it’s not so much that they’re bad as that they’re designed for a particular workflow. I have never managed to work out what that workflow actually is, but it definitely isn’t one I want to use.

MrQueasy
Nov 15, 2005

Probiot-ICK

i vomit kittens posted:

are the git tools in jetbrains ides a pile of poo poo or am i just an idiot? i'm used to sublime merge and i've been trying to gently caress around with git in PyCharm but everything except for a simple commit ends up being a loving nightmare. every time i click "merge main into poo poo-branch". the commit that gets created shows poo poo-branch reverting all of the changes that would have been applied from main instead of applying them like i would expect


DrPossum posted:

I use those tools only for making commits, diffs, rollbacks, merge conflicts, and looking at the history for which it does really well. Anything more complicated including merging other branches I pop a terminal

Intellij's 3way diff and automerge are very good. But I still run the rebases themselves from the command line.

CarForumPoster
Jun 26, 2013

⚡POWER⚡
fuckin worked until 8:30pm but at least it passed the merge checks goin live in 1 hour

i dont need no stinkin reviewers APPROVE PR

CarForumPoster
Jun 26, 2013

⚡POWER⚡
can i just say this dall e thing is kinda underwhelming

mystes
May 31, 2006

CarForumPoster posted:

can i just say this dall e thing is kinda underwhelming


Feel free to train your own on DeviantArt and call it furr e or whatever

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost
they have pretty rigorous porn content filters that dont work at all for intended purpose but gently caress over related and fleshcolored queries a lot

mystes
May 31, 2006

bob dobbs is dead posted:

they have pretty rigorous porn content filters that dont work at all for intended purpose but gently caress over related and fleshcolored queries a lot
They must have borrowed them from discord

CarForumPoster
Jun 26, 2013

⚡POWER⚡

bob dobbs is dead posted:

they have pretty rigorous porn content filters that dont work at all for intended purpose but gently caress over related and fleshcolored queries a lot

This explains the poor quality of my Leland Standford sucks off Elon's tusk art

Bloody
Mar 3, 2013

fork is the good git client btw I haven't needed to pop open a terminal in forever thanks to it

Presto
Nov 22, 2002

Keep calm and Harry on.

raminasi posted:

git is cool + good as long as you don't try to abstract your mental model of what's going on (and have learned the idiot terminology it uses)
Git is terrible and bad and I don't have a mental model of what's going on, and I never learned graph theory, and I shouldn't need to know any kind of theory to just use a tool. :colbert:

"Why is the handle on this hammer so weird?"
"Well, it makes sense once you understand Riemannian manifolds..."

Presto fucked around with this message at 16:39 on Jul 30, 2022

cool av
Mar 2, 2013

raminasi posted:

git is cool + good as long as you don't try to abstract your mental model of what's going on (and have learned the idiot terminology it uses)

people run into trouble when they try to skip the "first, let's review graph theory" part of learning git (or more commonly, are taught by someone who thinks that part is skippable). this is the thing that "friendly" git uis have problems with, basically:

nah git sucks and is another case of programmers thinking things are good because they spent a bunch of time figuring it out and it made a satisfying ‘click’ in their head

it’s just the de facto standard which makes it the de facto best. it’s too bad

sb hermit
Dec 13, 2016





probably the best thing about git vs, say, perforce, is that there is no concept of locking files or checking them out to be edited.

on the other hand, if you don't have a well architected codebase, you can expect to spend a lot of time merging

and if your team sucks, then you can expect to spend a lot of time fixing merge mistakes (or waiting on people to fix their merge mistakes which could take however long)

Corla Plankun
May 8, 2007

improve the lives of everyone

Presto posted:

Git is terrible and bad and I don't have a mental model of what's going on, and I never learned graph theory, and I shouldn't need to know any kind of theory to just use a tool. :colbert:

"Why is the handle on this hammer so weird?"
"Well, it makes sense once you understand Riemannian manifolds..."

if you dont understand the basics of directed acyclic graphs you're gonna have a real hard time as a programmer; they crop up all over the place and they're not at all complicated to learn about

mystes
May 31, 2006

Git good

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed
the level of understanding of graphs that you need to understand git is about what's covered in the first week of a freshman cs class. it is not some super advanced niche thing.

"i shouldn't have to learn how to use tools" is also an attitude that will hold you back greatly.

12 rats tied together
Sep 7, 2006

yup

Achmed Jones
Oct 16, 2004



you don't need to know graph theory to use git. you should know what a graph is. you don't need to know anything about non-dag graphs. you do not need to know any mathematical properties. you do not need to be able to prove, construct, etc. if somebody tells you you need to know graph theory, they are probably deeply confused about what "graph theory" means

Achmed Jones
Oct 16, 2004



the same people are fond of saying "you should learn churchs lambda calculus" for no reason

for some reason they never care about s5 or montague semantics though smdh

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Achmed Jones posted:

what "graph theory" means

It’s a moderation philosophy that bans anime hth

Achmed Jones
Oct 16, 2004



and lukasiewicz and lesniwski and and and i guess ppl remember tarski sometimes but still

Achmed Jones
Oct 16, 2004



Captain Foo posted:

It’s a moderation philosophy that bans anime hth

lmao something something golden mean, something something golden kamuy

Deep Dish Fuckfest
Sep 6, 2006

Advanced
Computer Touching


Toilet Rascal
graph theory is simple: you've got circles with things in them and you've got arrows with labels that point from one circle to another

git works the same way

mystes
May 31, 2006

Captain Foo posted:

It’s a moderation philosophy that bans anime hth

CPColin
Sep 9, 2003

Big ol' smile.
Imagine four dags on the edge of a cliff

Deep Dish Fuckfest posted:

git works the same way

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen

Bloody posted:

fork is the good git client btw I haven't needed to pop open a terminal in forever thanks to it

i really like fork which probably means it's gonna disappear or turn poo poo

Xarn
Jun 26, 2015
git is pretty good

The issue is that all the interfaces to it, including the CLI, suck rear end.

animist
Aug 28, 2018

Achmed Jones posted:

the same people are fond of saying "you should learn churchs lambda calculus" for no reason

for some reason they never care about s5 or montague semantics though smdh

if you dont understand church's lambda calculus, how can you possibly understand the idea of replacing variables with values??

qsvui
Aug 23, 2003
some crazy thing

Corla Plankun posted:

if you dont understand the basics of directed acyclic graphs you're gonna have a real hard time as a programmer; they crop up all over the place and they're not at all complicated to learn about

no they don't. git is the only place where i've encountered a dag. it's almost as if programming is a mish-mash of subfields and one computer toucher's regular experience has no bearing on another's.

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost
youve never encountered dependencies before? or a gc or any managed memory? or a toposort? or a path algo? or any of those dataflow things, airflow, luigi, etc? or a compiler?...

Deep Dish Fuckfest
Sep 6, 2006

Advanced
Computer Touching


Toilet Rascal
dependency hell is a real place programmers get sent to and the graphs there aren't acyclic

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost
oh yeah, but the way you deal with it involves unfolding to proper acyclicity, among others

Corla Plankun
May 8, 2007

improve the lives of everyone

bob dobbs is dead posted:

youve never encountered dependencies before? or a gc or any managed memory? or a toposort? or a path algo? or any of those dataflow things, airflow, luigi, etc? or a compiler?...

sometimes I've encountered as many as six directed acyclic graphs before breakfast

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
git a cloned lil daggy

CPColin
Sep 9, 2003

Big ol' smile.
Can one make a repo with a cycle in it and crash everything it's pushed to?

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

CPColin posted:

Can one make a repo with a cycle in it and crash everything it's pushed to?

parent commits hashes are among the inputs so you'd need to predict a hash in order to refer to it from the "past", I think?

idk what happens once you pull that off though

animist
Aug 28, 2018
haters will never admit that cyclic graphs are just more fun and cool than acyclic

qsvui
Aug 23, 2003
some crazy thing

bob dobbs is dead posted:

youve never encountered dependencies before? or a gc or any managed memory? or a toposort? or a path algo? or any of those dataflow things, airflow, luigi, etc? or a compiler?...

no, no, no, no, no

as for the last one, lol. you don't need to know what a dag is to use a compiler.

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost
you do to write one

git is ultimately kind of also a dsl for describing version control poo poo, thats why theres the plumbing and the porcelain. this and linus starting with a big project why it won over mercurial, ultimately: it was and remains way easier to set up a git hosted service than a mercurial one. and the git hosted service writers definitely gotta know dags

Adbot
ADBOT LOVES YOU

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

pokeyman posted:

git a cloned lil daggy

hehehe

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply