programming.dev

scytale, to memes in Appreciate all the content though

There’s also the cheese_greater guy who always posts on asklemmy.

BigDaddySlim, to memes in Appreciate all the content though
@BigDaddySlim@lemmy.world avatar

My first day on Lemmy I saw them multiple times and thought it was a coincidence

It’s been months now and I realize I’ll see that name until the end of time.

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

Interesting, I didn’t know about strong implicit multiplication. So I would have said the result is 9. All along my studies in France, up to my physics courses at University, all my teachers used weak implicit multiplication. Could be it’s the norm in France, or they only use it in math studies at University.

sailingbythelee,

I didn’t know until now that I unconsciously use strong implicit multiplication (meaning that I get the answer “1”). I believe it happens more or less as a consequence of starting inside the parentheses and then working my way out.

It is a funny little bit of notational ambiguity, so it is funny that people get riled up about it.

wischi,

In a scientific context it’s actually very rare to run into that issue because divisions are mostly written as fractions which will completely mitigate the issue.

The strong implicit multiplication will only cause ambiguity after a division with inline notation. Once you use fractions the ambiguity vanishes.

In practice you also rarely see implicit multiplications between numbers but mostly between variables or variables and their coefficients.

MrMobius,

Yes of course, we always used fractions so there was no ambiguity. Last time I saw the division symbol must have been in primary school!

DRx, (edited )
@DRx@lemmy.world avatar

Def not a math major (BS/PharmD), but your explanation was like seeing through a visual illusion for the first time! lol

I was always taught PEMDAS growing up, and that the MD and the AS was read left to right in an equation like above. But stating the division as a fraction completely changes my mind now about how this calculation works. I think what would happen in a calculation I use every day if the former was used.

Example: Cockcroft-Gault Equation (estimation of renal function)

(140-age)(kg) / 72(SCr) vs (140-age) X kg ➗72 X SCr

In the first eq (correct one) an 80yo patient who weighs 65kg and has an SCr ~ 1.5 = 36.11

In the latter it = 81.25 (waaay too high for an 80yo lol)

edit: calculation variable

ummthatguy, to memes in Appreciate all the content though
@ummthatguy@startrek.website avatar
RickyRigatoni, to memes in 6÷2(1+2)
@RickyRigatoni@lemmy.ml avatar

My years out of school has made me forget about how division notation is actually supposed to work and how genuinely useless the ÷ and / symbols are outside the most basic two-number problems. And it’s entirely me being dumb because I’ve already written problems as 6÷(2(1+2)) to account for it before. Me brain dun work right ;~;

olafurp,

There’s no forms consensus on which one is correct. To avoid misunderstanding mathematicians use a horizontal bar.

RickyRigatoni,
@RickyRigatoni@lemmy.ml avatar

The one that is least ambiguous is objectively more correcter.

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

While I agree the problem as written is ambiguous and should be written with explicit operators, I have 1 argument to make. In pretty much every other field if we have a question the answer pretty much always ends up being something along the lines of “well the experts do this” or “this professor at this prestigious university says this”, or “the scientific community says”. The fact that this article even states that academic circles and “scientific” calculators use strong juxtaposition, while basic education and basic calculators use weak juxtaposition is interesting. Why do we treat math differently than pretty much every other field? Shouldn’t strong juxtaposition be the precedent and the norm then just how the scientific community sets precedents for literally every other field? We should start saying weak juxtaposition is wrong and just settle on one.

This has been my devil’s advocate argument.

wischi,

I tried to be careful to not suggest that scientist only use strong juxtaposition. They use both but are typically very careful to not write ambiguous stuff and practically never write implicit multiplications between numbers because they just simplify it.

At this point it’s probably to late to really fix it and the only viable option is to be aware why and how this ambiguous and not write it that way.

As stated in the “even more ambiguous math notations” it’s far from the only ambiguous situation and it’s practically impossible (and not really necessary) to fix.

Scientist and engineers also know the issue and navigate around it. It’s really a non-issue for experts and the problem is only how and what the general population is taught.

Anders429, to programmer_humor in 1 follower on GitHub = 1000 followers on other platforms 😅

I don’t really get why we need social media elements in GitHub at all

MajorHavoc, (edited )

Yeah. I don’t know if the ‘follow’ piece does anything useful for anyone.

But as a professional developer, I have found that my GitHub account now prevents me from getting asked FizzBuzz at interviews. So whichever bit is causing that nonsense to stop, I hope they keep.

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

What if the real answer is the friends we made along the way?

HurlingDurling,

This is Facebook we are talking about, what friends? Everyone hates everyone on Facebook

Oha, to programmer_humor in 1 follower on GitHub = 1000 followers on other platforms 😅

github ≠ Social Media

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

So is the twitter 😅

sabreW4K3,
@sabreW4K3@lemmy.tf avatar

!=

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

The fuck? I’m getting 15.

wischi,

If you are not kidding, can you show your steps I can try to help you, but I can’t currently think of a way how you’d end up with 15.

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

Who gives a shit about order of operations. In a real world scenario you'll know what to do

MrVilliam,

This is why you’re a confused possum.

Flyberius, (edited ) to programmer_humor in Manager: This task only takes 30 minutes. Why did it take you the whole day?
@Flyberius@hexbear.net avatar

Me trying to find ways around using the word “and” in the commit message.

aes, (edited )

git commit -m “directory_x:file_i.so: did x, y, and z; directory_x:file_ii.so: fixed t”

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

I don’t remember everything, but I remember the first two operations are exponents then parentheses. Edit: wait is it the other way around?

wischi,

Yes it’s the other way round. Parentheses are top priority.

wischi,

The full story is actually more nuanced than most people think, but the post is actually very long (about 30min) so thank you in advance if you really find the time to read it.

usernamesaredifficul,

bidmas

brackets, index (powers), division, multiplication, addition, subtraction.

brackets are always first that’s the whole point of brackets

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

Forgot the algebra using fruit emoji or whatever the fuck.

Bonus points for the stuff where suddenly one of the symbols has changed and it's "supposedly" 1/2 or 2/3 etc. of a banana now, without that symbol having been defined.

wischi, (edited )

This meme is specifically about the implicit multiplication because the article it links to is about that too.

But you are right there are a lot more “viral math” things than just the implicit multiplication problems 🤣

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

This is not a math problem but a calculator engineering problem. Some solve the sub operations from right to left while other do it from left to right.

wischi, (edited )

It’s not really a calculator engineering problem. If you don’t have time to read the entire blog you should definitely check out the section “But my calculator says…”. It’s actually about order of operations regarding implicit multiplication.

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