programming.dev

mariusafa, to programmer_humor in GitHub Desktop or Git CLI?

Git cli powerfull af only us git cli

CmdrKeen, (edited ) to programmer_humor in GitHub Desktop or Git CLI?
@CmdrKeen@lemmy.today avatar

GitLens?

GitHub Desktop is literally “Baby’s first git GUI”.

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

Oh god I feel so called out. I wish I paid more attention to my commit messages but I’m usually too busy fixing the directory structure and refactoring. Sigh.

pkill, to programmer_humor in GitHub Desktop or Git CLI?

gitui

outdated_belated, to programmer_humor in GitHub Desktop or Git CLI?

tig

Jesus_666, to programmer_humor in GitHub Desktop or Git CLI?

Fork.

scottyjoe9,

All hail the fork!

backhdlp, (edited ) to programmer_humor in GitHub Desktop or Git CLI?
@backhdlp@lemmy.blahaj.zone avatar

I don’t understand git anyway

fckreddit,

Well, you learn four commands and hope for the best.

Valmond,

fetch, reset --hard, checkout -b and cherry-pick?

:-D

muix, (edited )

More like clone, pull, commit, and push --force

>:-D

Valmond,

push origin head

^^

xmunk,

Nah, rebase -i, squash, fsck and reflog

Valmond,

reflog saved my life once after a stupid misshap.

All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?

xmunk,

Fsck is File System Check - realistically you should never need to use it.

rikudou, (edited )
@rikudou@lemmings.world avatar

Must be an interesting work if you never add, commit or push.

Edit: How the hell did you get the repo without clone?

xmunk,

Pshaw, real programmers write out the contents of .git by hand.

(Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)

overcast5348,

I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.

traches,

https://imgs.xkcd.com/comics/git_2x.png

Title text: If that doesn’t fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of ‘It’s really pretty simple, just think of branches as…’ and eventually you’ll learn the commands that will fix everything.

popcar2,
  • git pull
  • git add *
  • git commit -m “Some stuff”
  • git push

And occasionally when you mess up

  • git reflog
  • git reset HEAD@{n} (where n is where you wanna roll back to)

And occasionally if you mess up so hard you give up

  • git reset --hard origin/main

And there you go. You are now a master at using git. Try not to mess up.

pimeys, to programmer_humor in GitHub Desktop or Git CLI?

Magit

akkajdh999,

fugitive

RePierre,

I was looking for someone to mention Magit. It just rocks!

h_a_r_u_k_i,
@h_a_r_u_k_i@programming.dev avatar

This + org-mode are enough for me to switch to Emacs.

tubbadu, to programmer_humor 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.

DiabloD3, to programmer_humor 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.

KairuByte, to programmer_humor in 1 follower on GitHub = 1000 followers on other platforms 😅
@KairuByte@lemmy.dbzer0.com avatar

Who follows users on GitHub? Repos, branches, issues, PRs, sure. But users?

Daxtron2,

I follow TodePond because they have funny repos and star weird stuff.

jasory,

Some people (like myself and other scientists/mathematicians), write software for specific fields so if you follow them you find it out what work they are putting out, and issues they find in other software etc.

firelizzard,
@firelizzard@programming.dev avatar

I have 13 followers on GitHub. A few are friends from college, the rest I have absolutely no clue why.

SkiDude, to memes in 6÷2(1+2)

It’s also clearly not a bug as some people suggest. Bugs are – by definition – unintended behavior.

There are plenty of bugs that are well documented. I can’t tell you the number of times that I’ve seen someone do something wrong, that they think is 100% right, and “carefully” document it. Then someone finds an edge case and points out the defined behavior has a bug, because the human forgot to account for something.

The other thing I’d point out that I didn’t see in your blog is that I’ve seen many many people say they need to evaluate the 2(3) portion first because “parenthesis”. No matter how many times I explain that this is a notation for multiplication, they try to claim it doesn’t matter because parenthesis. screams into the void

The fact of the matter is that any competent person that has to write out one of these equations will do so in a way that leaves no ambiguity. These viral math posts are just designed to insert ambiguity where it shouldn’t be, and prey on people who can’t remember middle school math.

wischi,

Regarding your first part in general true, but in this case the sheer amount of calculators for both conventions show that this is indeed intended behavior.

Regarding your second point I tried to address that in the “distributive property” section, maybe I need to rewrite it a bit to be more clear.

The_Vampire, (edited ) to memes in 6÷2(1+2)

Having read your article, I contend it should be:
P(arentheses)
E(xponents)
M(ultiplication)D(ivision)
A(ddition)S(ubtraction)
and strong juxtaposition should be thrown out the window.

Why? Well, to be clear, I would prefer one of them die so we can get past this argument that pops up every few years so weak or strong doesn’t matter much to me, and I think weak juxtaposition is more easily taught and more easily supported by PEMDAS. I’m not saying it receives direct support, but rather the lack of instruction has us fall back on what we know as an overarching rule (multiplication and division are equal). Strong juxtaposition has an additional ruling to PEMDAS that specifies this specific case, whereas weak juxtaposition doesn’t need an additional ruling (and I would argue anyone who says otherwise isn’t logically extrapolating from the PEMDAS ruleset). I don’t think the sides are as equal as people pose.

To note, yes, PEMDAS is a teaching tool and yes there are obviously other ways of thinking of math. But do those matter? The mathematical system we currently use will work for any usecase it does currently regardless of the juxtaposition we pick, brackets/parentheses (as well as better ordering of operations when writing them down) can pick up any slack. Weak juxtaposition provides better benefits because it has less rules (and is thusly simpler).

But again, I really don’t care. Just let one die. Kill it, if you have to.

Flax_vert,

Division comes before Multiplication, doesn’t it? I know BODMAS.

WigglyTortoise,

That makes no sense. Division is just multiplication by an inverse. There’s no reason for one to come before another.

Spacehooks,

This actually explains alot. Murica is Pemdas but Canadian used Bodmas so multiply is first in America.

Makeitstop,

It’s like using literally to add emphasis to something that you are saying figuratively. It’s not objectively “wrong” to do it, but the practice is adding uncertainty where there didn’t need to be any, and thus slightly diminishes our ability to communicate clearly.

nightdice,

I think anything after (whichever grade your country introduces fractions in) should exclusively use fractions or multiplication with fractions to express division in order to disambiguate. A division symbol should never be used after fractions are introduced.

This way, it doesn’t really matter which juxtaposition you prefer, because it will never be ambiguous.

Anything before (whichever grade introduces fractions) should simply overuse brackets.

This comment was written in a couple of seconds, so if I missed something obvious, feel free to obliterate me.

Lemmygradwontallowme, (edited ) to memes in 6÷2(1+2)
@Lemmygradwontallowme@hexbear.net avatar

The real question here is BODMAS or PEMDAS?

hashbrowns4life, (edited )

Up here in the canada, we did BEDMAS

Brackets, Exponents, Division/Multiplication, Addition/Subtraction

Lemmygradwontallowme,
@Lemmygradwontallowme@hexbear.net avatar

Exponents, Oxponents, I honestly could give less of a shit until now…

keepcarrot,

Also PIMDAS (we had this conversation in my class this semester as we had a very wide range of ages and regions present in the class) (I is for indices) (I don’t remember what the Colombian students said, for some reason we had a group of 3 Colombians in our class of 12 nowhere near Colombia)

That said, the question is ambiguously written. Maybe the popularity of this will result in calculators being more consistent with how they interpret implicit multiplication signs.

(my preference is to show two lines, one with the numerator and one with the divisor)

Lemmygradwontallowme,
@Lemmygradwontallowme@hexbear.net avatar

PIMDAS? Isn’t that the same as PEMDAS?

keepcarrot,

So’s BOMDAS etc.? Just different words for things

Lemmygradwontallowme,
@Lemmygradwontallowme@hexbear.net avatar

Mutiplication or Division first then? Thus, BEDMAS or PEMDAS?

TankieTanuki,

POOTIS or PINGAS?

EmperorHenry, to programmer_humor in Manager: This task only takes 30 minutes. Why did it take you the whole day?
@EmperorHenry@discuss.tchncs.de avatar

reminds me of what youtube was doing to firefox users for awhile.

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

git commit -m “break codec sync if UA = firefox/gecko”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #