programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

neuracnu, in It's that time of the year again!
@neuracnu@lemmy.blahaj.zone avatar

I was reading that to the tune of the chorus of The Distance by Cake. It worked until the last line.

Cwilliams,

Lol that actually works so well

wviana, in Happy New Year Coders.

I would find it funny a couple of years ago. Nowadays, it feels kind of sad.

autokludge, in What you are according to you fav language
@autokludge@programming.dev avatar

Thanks nerd

dennisnedry, in What you are according to you fav language

Dodged a bullet, X++ is not on the list! 👍

akkajdh999, in GitHub Desktop or Git CLI?

lazygit:

dukk,

Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.

snowe, in What you are according to you fav language
@snowe@programming.dev avatar

I genuinely looked for my favorite language before reading the text 😂

smeg, in GitHub Desktop or Git CLI?

I feel those captions are the wrong way round

xmunk,

There are much better git UIs out there.

smeg,

Definitely, last time I used github’s one it could barely do more than push and pull. I’ll almost always use a (good!) UI over the git CLI though.

expr,

No matter the GUI you use, you’re leaving a lot of useful functionality on the table. By their nature, you only get a small fraction of git’s features. There are many useful commands I use regularly that are impossible to replicate using GUIs.

smeg,

A good UI (for you personally) should do all the things you regularly do. Git is a complex and messy enough beast that when I have to use the CLI I’m going off the golden path and copy+pasting something arcane.

0ops,

It’s not like you lose access to the cli when you use a gui. I personally use both

TheFerrango, in GitHub Desktop or Git CLI?

Laughs in Sourcetree

nilloc,

Sourcetree best for free, thanks bit bucket.

Tower is pretty nice for mac user too. I paid for it for a few versions back when I was coding full time. Now I just stuck to source tree for occasional freelance and personal projects.

Juice, (edited ) in GitHub Desktop or Git CLI?
@Juice@hexbear.net avatar

Uh how do i get GH cli to work on Linux? I tried pushing a project and it just asks for a password, and PW support is deprecated

Gambled23,

Use ssh authentication instead

aBundleOfFerrets,

key identification

stepanzak,

I’m not sure about the exact commands, but you do something like gh auth login to authenticate the CLI and then something like gh ssh setup to change ssh’s config file to authorize using the GH CLI.

Juice,
@Juice@hexbear.net avatar

I’ll try that, thanks

usa_suxxx, (edited )
@usa_suxxx@hexbear.net avatar
Juice,
@Juice@hexbear.net avatar

No luck, i tried that and https login and it still asks for a PW when I push

usa_suxxx, (edited )
@usa_suxxx@hexbear.net avatar

HTTPS

git remote add origin https://github.com/user/repo.git

SSH

git remote add origin git@github.com:user/repo.git

Did you use the correct syntax for SSH?

CurlyMoustache, in Programmer tries to explain binary search to the police
@CurlyMoustache@lemmy.world avatar

This is how I look for the best bits in porn

cRazi_man,

Fast forward half way and see if the woman is still there?

xaxl,

I fast forward half way and pray she still isn’t slobbering on some knob at that point and they’ve gotten down to businesses already.

doctorcrimson,

It’s got huge amounts of applicability in many lifestyles and situations that most people never realize until the moment arrives. I once played a fun game that had you guess a number between 1 and 1 Billion with them telling you higher or lower to earn your freedom. Takes a couple of minutes at most.

yum13241,

Your first guess should always be 500,000.

doctorcrimson,

500,000,000*

yum13241,

Thanks.

cupcakezealot, in GitHub Desktop or Git CLI?
@cupcakezealot@lemmy.blahaj.zone avatar
Aatube,
@Aatube@kbin.social avatar

Any windows screenshots?

(Fork is also an awful name in terms of searching for it btw)

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar
caseyweederman,

You have my attention

Do they have a Linux client though?

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

sadly no and i don’t think it works through wine

but technically they have a mac client which is basically an expensive version of linux

Aatube,
@Aatube@kbin.social avatar

Not really. It’s BSD, and even then the layout of the OS is quite far from BSD. Besides that you have a lot more technical stuff. Just use wine.

eluvatar,

Been using it for years it’s great

tubbadu, in Release notes of an open source app. Someone is pretty mad at Canonical for Snap

What is AFTL? Probably not “Anterior talofibular ligament” as the internet told me

roguetrick,

What's easier to understand: ankle anatomy or Ubuntu publishing.

Teon,
@Teon@kbin.social avatar

Ankle!

lvxferre,
@lvxferre@lemmy.ml avatar

Android File Transfer for Linux. Here’s the release note from the OP.

suy,

Thanks. I should have linked to that myself, perhaps.

xmunk, in GitHub Desktop or Git CLI?

Personally, GitExtensions… github desktop is a pile of turds but git CLI introduces unnecessary stress precisely when I don’t want it.

SketchySeaBeast,
@SketchySeaBeast@lemmy.ca avatar

Yup. I don’t care if my workflow is suboptimally slow, I can easily see exactly I’m doing with git extensions.

DiabloD3, in Release notes of an open source app. Someone is pretty mad at Canonical for Snap

Good on them. Snap is a plague.

pkill,

Why are they even still pushing that nonsense when flatpak at least somewhat gets closer to getting bwrap implemented right?

hunger,
@hunger@programming.dev avatar

To be fair: snaps can work for all kinds of things all over the stack from the kernel to individual applications, while flatpak just does applications. Canonical is building a lot around those abilities to handle lower level things, so I guess it makes sense for them.

IMHO flatpak does the applications better and more reliably and those are what I personally care for, so I personally stay away from snaps.

pkill,

Fair point. For instance one thing that sucks about flatpaks is that you can’t torsocks them

Dirk,
@Dirk@lemmy.ml avatar

Why are they even still pushing that nonsense

It’s a for-profit corporation. They only have one goal.

aes, in Manager: This task only takes 30 minutes. Why did it take you the whole day?

Psst,

git add -p

dukk, (edited )

Better yet, git commit -p

sip,

uuuuuuuu. and you could do -m to describe the commit.

next they’ll add --push/-P.

perhaps add -r for fetch/rebase then commit.

one command to rule them all! 😈

Johanno,

What does this?

foxymulder,
@foxymulder@lemmy.ml avatar

“patch mode” - Patch mode allows you to stage parts of a changed file, instead of the entire file. This allows you to make concise, well-crafted commits that make for an easier to read history.

AnarchistArtificer,

Yay, learning!

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

Highly recommend throwing –patch on any git commands you’re used to using. You will have the prettiest, most atomic fkn commit, I’m serious people will love you for it.

I mean many people won’t care, but the quality folk will notice and approve.

Johanno,

We make a singular commit per feature.

KairuByte,
@KairuByte@lemmy.dbzer0.com avatar

I always find this hard to follow personally.

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

Trunk based, eh? Yeah, we do that on a couple teams where I’m at, too. I like the philosophy, but force pushing the same commit over and over as you’re incorporating review feedback is antisocial, especially when you’ve got devs trying to test your changes out on their machines.

Omgpwnies,

eh, just squash and merge. Feature branch can be messy as long as main is clean

Johanno,

Yep. You have to make sure your feature branch works.

oce, (edited )
@oce@jlai.lu avatar

Or just use a good IDE that makes doing atomic commits pretty natural.

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

I’ve only tried the VS code hunk stager thing, and found it cumbersome compared to command line, but if you can make a GUI work for you ya go for it. I’ve never found it worth the trouble personally

dukk,

Shout out to Lazygit for letting me stage individual lines

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

Looks pretty neat. I like that it shows the commands it’s issuing!

oce,
@oce@jlai.lu avatar

You should try the JetBrains IDEs, as the other said, you can pick changes line by line graphically, when you commit, when you do a diff with another branch or when you fix conflicts. It’s much more convenient than commands and terminal text editors.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #