programming.dev

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

A fair criticism. Though I think the hating on PEDMAS (or BODMAS as I was taught) is pretty harsh, as it very much does represent parts of the standard of reading mathematical notation when taught correctly. At least I personally was taught its true form was a vertical format:

B

O

DM

AS

I’d also say it’s problematic to rely on calculators to implement or demonstrate standards, they do have their own issues.

But overall, hey, it’s cool. The world needs more passionate criticisms of ambiguous communication turning into a massive interpration A vs interpretation B argument rather than admitting “maybe it’s just ambiguous”.

wischi, (edited )

The problem with BODMAS is that everybody is taught to remember “BODMAS” instead of “BO-DM-AS” or “BO(DM)(AS)”. If you can’t remember the order of operations by heart you won’t remember that “DM” and “AS” are the same priority, that’s why I suggested dropping “division” and “subtraction” entirely from the mnemonic.

It’s true that calculators also don’t dictate a standard but they implement what conventions are typically used in practice. If a convention would be so dominating (let’s say 95% vs 5%) all calculator manufacturers would just follow the 95% convention, except maybe for some very special-purpose calculators.

CarbonScored,
@CarbonScored@hexbear.net avatar

In fairness, I did quite like the suggestion to just remove division and subtraction! One that should be taken to heart :)

kogasa, (edited )
@kogasa@programming.dev avatar

Calculators do not implement “what conventions are typically used in practice.” Entering symbols one by one into a calculator is a fundamentally different process from writing them in a sentence. A basic traditional calculator will evaluate each step as you enter it, so e.g. writing 1 + 2 * 3 will print 1, then 3, then 6. It only gets one digit at a time, so it has no choice. But also, this lends itself to iterative calculation, which is inherently ordered. People using calculators get used to this order of operations specifically while using calculators, and now even some of the fancy ones that evaluate expressions use it. Others switched to the conventional order of operations.

fallingcats, (edited )

Entering symbols one by one into a calculator is a fundamentally different process from writing them in a sentence.

Citation needed.

No but seriously, why do you think it necessarily needs to be different? There are calculators that use actual fraction notation and all that

kogasa,
@kogasa@programming.dev avatar

It’s not that it needs to be different, it’s that it is. The fact that there are calculators with fractional notation is completely irrelevant.

kogasa, (edited ) to memes in 6÷2(1+2)
@kogasa@programming.dev avatar

It’s not ambiguous, it’s just that correctly parsing the expression requires more precise application of the order of operations than is typical. It’s unclear, sure. Implicit multiplication having higher precedence is intuitive, sure, but not part of the standard as-written order of operations.

wischi,

I’d really like to know if and how your view on that matter would change once you read the full post. I know it’s very long and a lot of people won’t read it because they “already know” the answer but I’m pretty sure it would shift your perception at least a bit if you find the time to read it.

kogasa,
@kogasa@programming.dev avatar

My opinion hasn’t changed. The standard order of operations is as well defined as a notational convention can be. It’s not necessarily followed strictly in practice, but it’s easier to view such examples as normal deviation from the rules instead of an implicit disagreement about the rules themselves. For example, I know how to “properly” capitalize my sentences too, and I intentionally do it “wrong” all the time. To an outsider claiming my capitalization is incorrect, I don’t say “I am using a different standard,” I just say “Yes, I know, I don’t care.” This is simpler because it accepts the common knowledge of the “normal” rules and communicates a specific intent to deviate. The alternative is to try to invent a new set of ad hoc rules that justify my side, and explain why these rules are equally valid to the ones we both know and understand.

wischi,

What is the correct answer according to the convention you follow?

kogasa,
@kogasa@programming.dev avatar

I have a masters in math, please do not condescend. I’m fully aware of both interpretations and your overall point and I’ve explained my response.

wischi,

I still don’t see a number ;-) but you can take a look at the meme to see other people with math degrees shouting at each other.

kogasa,
@kogasa@programming.dev avatar

Sorry your article wasn’t as interesting as you hoped.

onion,

The difference is that there are two sets of rules already in use by large groups of people, so which do you consider correct?

kogasa,
@kogasa@programming.dev avatar

There aren’t.

Th4tGuyII,
@Th4tGuyII@kbin.social avatar

They weren't asking you if there are two sets of rules, we're in a thread that's basically all qbout the Weak vs. Strong juxtaposition debate, they asked you which you consider correct.

Giving the answer to a question they didn't ask to avoid the one they did is immature.

kogasa, (edited )
@kogasa@programming.dev avatar

Ah yes, simply “answer the question with an incorrect premise instead of refuting the premise.” When did you stop beating your wife?

That’s not what they asked me. I have no problem answering questions that are asked in good faith.

Th4tGuyII, (edited )
@Th4tGuyII@kbin.social avatar

I can't have stopped because I never started, because I'm not even married... See, even I can answer your bad faith question better than you answered the one @onion asked you.

But I will give it to you that my comment should've stipulated avoiding reasonable questions.

The difference is that there are two sets of rules already in use by large groups of people, so which do you consider correct?

However I still think you need your eyes checked, as the end of this comment by @onion is very clearly a question asking you WHICH ruleset you consider correct.

Unless you're refusing the notion of multiplication by juxtaposition entirely, then you must be on one side of this or the other.

kogasa,
@kogasa@programming.dev avatar

“Which ruleset do you consider correct” presupposes, as the comment said, that there are 2 rulesets. There aren’t. There’s the standard, well known, and simplified model which is taught to kids, and there’s the real world, where adults communicate by using context and shared understanding. Picking a side here makes no sense.

Th4tGuyII,
@Th4tGuyII@kbin.social avatar

When the @onion said there were two different sets of rules, you know as well as I do that they meant strong vs. weak juxtaposition.

You're right that in reality nobody would write an equation like this, and if they did they would usually provide context to help resolve it without resorting to having to guess...

But the point of this post is exactly to point out this hole that exists in the standard order of operations, the drama that has resulted from it, and to shine some light on it.

Picking a side makes no sense only if you have the context to otherwise resolve it... If you were told to solve this equation, and given no other context to do so, you would either have to pick a side or resolve it both ways and give both answers. In that scenario, crossing your arms and refusing to because "it doesn't make sense" would get you nowhere.

In all honesty, I think you're acting like the people who say things like "I've never used algebra, so it was worthless teaching me it as a kid" as though there aren't people who would learn something out of this.

kogasa,
@kogasa@programming.dev avatar

You are literally so far removed from this conversation I don’t know what to do with you. Good luck.

Th4tGuyII,
@Th4tGuyII@kbin.social avatar

That's rich considering what sparked this conversation was you refusing to answer a simple question.

Good luck to you too - with reading comprehension like your's, you might just need it.

kogasa,
@kogasa@programming.dev avatar

with reading comprehension like your’s

Man.

Th4tGuyII,
@Th4tGuyII@kbin.social avatar

I'll just say it again, you're the one saying this problem is completely unambiguous, with your only explanation as to why being that real people communicate as though that solves every edge case imaginable.

I'm just saying, if you really believe that to be the case, Good luck.

cm0002, to linux in why does the poster image of c/linux have 3.8mb?

It’s not 1999 anymore, 4MB is nothing and a very common size for a decent quality image file

Disonantezko,
  • I usually use Lemmy at my smartphone with 4G that was released 3 years ago, I’m happy with it, and I don’t need other one more new and expensive.
  • The area of 4G is very congested, then the connection is slower in peak hours.
  • Only rich people has last medium and high end smartphone with 5G, and live in area with that coverage.
  • I live now in downtown, and just got slow fiber connection 3 months ago, there are a lot buildings with only ADSL in this area, and it’s the capital.
  • Maybe you are lucky, with good connection.
  • Is not so hard to optimize the image for everyone in the world, and maybe put a link to original big image of you want.
  • There’s a lot of ways to optimize, like changing resolution, reduce colors, clean image. And compression, using webp lossy 95% you got a very small file that looks very close to the original, usually got less than 1MB.
  • Today’s web is very bloated for no reason, and very slow in old computers. Browsers are the main RAM eaters.
juli,

You’re welcome to visit me in germany. I’ll show you german internet. Vietnam has faster internet.

gnate, to memes in Shout-out-to-mods-posting

Now show me: Six People With Healthy Habits

MonkderZweite, to memes in Shout-out-to-mods-posting

The last two can be the same.

Newguy, to memes in Shout-out-to-mods-posting

Good post

tdawg, to memes in Shout-out-to-mods-posting

I mean

poVoq, to programmer_humor in :q! to quit the Force
@poVoq@slrpnk.net avatar

Looks like they are playing Frets On Fire 🤣

neuracnu, to risa in Sneaking more Babylon 5 references into risa, please ignore
@neuracnu@lemmy.blahaj.zone avatar

The Babylon 5 shitposting lemmy community on the Star Trek instance should be called !spoo.

xx3rawr, to programmer_humor in Programposting

No children, no maiden

Omega_Haxors, to memes in This needs to be a well-defined psychological principle. I do stuff like this all the time

The fridge won’t be empty this time.

backhdlp, to programmer_humor in The classic font size exploit
@backhdlp@lemmy.blahaj.zone avatar

Everything looks like hacker with syntax highlighting

xmunk,

Just so long as it’s in dark mode. Light backgrounds burn my eyes after spending so much time in my mom’s basement subsisting only on hotpockets and grits straight off Natalie Portman.

Lophostemon, to piracy in aaron swartz day

Is that Rishi Sunak?

4am,

Wankstain

Lophostemon,

I LOVE Return to Castle Wankstain. It was such a great game!

be_excellent_to_each_other, (edited )
@be_excellent_to_each_other@kbin.social avatar

Really?

Yep that would be just the picture to post about an information freedom activist driven to death by the US justice system. that's why it says "Aaron Swartz day" in OP, because it's a pic of Rishi Sunak.

https://en.wikipedia.org/wiki/Aaron_Swartz

Lophostemon,

I’m just fucking around.

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

Ah, sorry for being so serious.

Lophostemon,

No you’re right. Aaron was an important person and should be remembered properly.

TheAnonymouseJoker, to memes in Reddit be like
@TheAnonymouseJoker@lemmy.ml avatar

Old Reddit Redirect, young padawans.

reinar, to linux in Microsoft published a guide on how to install Linux.
@reinar@distress.digital avatar

why not? it’s not like there is any competition.
Microsoft is making more money off Linux with Azure than several red hats combined.

stepanzak,

Yes, but people find this interesting because historically, Microsoft was actively trying to destroy Linux (look up Halloween documents) and even said that Linux is cancer.

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