programming.dev

lil, to programmer_humor in Manager: This task only takes 30 minutes. Why did it take you the whole day?
@lil@lemy.lol avatar

You should not use -m, you should write commit body!

zalgotext,

Why? My coworkers are barely literate and won’t read anything with more than 4 or 5 words, writing a commit body would be a waste of time.

rwhitisissle, to memes in One does not simply

How is this a meme? It just looks like a movie poster or album cover.

observantTrapezium, to memes in One does not simply
@observantTrapezium@lemmy.ca avatar

This walk was anything but simple…

Gradually_Adjusting, to memes in One does not simply
@Gradually_Adjusting@lemmy.world avatar

Throwdo was famed for his mighty wee javelin

Titou, to memes in How i feel on Lemmy
@Titou@feddit.de avatar

*rich eastern europeans

MinekPo1, to memes in 6÷2(1+2)
@MinekPo1@lemmygrad.ml avatar

I’ve seen a calculator interpret 1 ÷ 2π as ½π which was kinda funny

wischi,

All calculators that are listed in the article as following weak juxtaposition would interpreted it that way.

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.

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

smeg, to programmer_humor 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, to programmer_humor 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 ) to programmer_humor 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?

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

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

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

1 2 + 2 * 6 /

What’s the problem?

Also, you forgot my inlaws, one of whom believes the answer is 5.

Buck,

It’s actually 6 2 / 1 2 + *

Klear,

Found the reverse Pole.

wischi,

I’m not sure if you read the post yet but I also have a short section about alternative notations which are less ambiguous or never ambiguous. RPN has the same issue as most notations that are never ambiguous namely that it’s hard to read - especially for big expressions.

deadbeef79000,

It’s three cubits in diameter and no ne cubits around.

Therefore π is three.

Fackz.

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