[-] SmartmanApps@programming.dev 1 points 1 year ago

Grog write left to right.

Gorg is from another country and writes right to left.

Grog read left to right.

Gorg reads right to left

Grog do sum left to right

Gorg does sums right to left

0
7
5
17

cross-posted from: https://programming.dev/post/22672085

Earlier this year I gave this talk which is about how programmers can get the most of the Fediverse, particularly for dotnet/MAUI developers - some of the killer features which are available and how to use them. The focus of the examples are with dotnet/MAUI, but these things would undoubtedly also be available for other languages/ecosystems, I was just using dotnet/MAUI to illustrate the underlying functionality available to us here. This recording would be good for anyone who isn't familiar with these features (maybe anyone you want to convince to come here, or just if you feel you don't know everything that is available).

The first part of the recording is a different talk about MAUI, and the first link below will be where my talk starts, and then some more links for other key points, if you just want to see the parts you don't already know about.

Following these recording links will be links to resources that I talked about...

30:06 start/MAUI Lemmy community

31:31 overview of talk

33:20 what is the Fediverse?

38:15 Lemmy

42:08 Mastodon

43:40 Mastodon dotnet.social

46:33 Mastodon Local timeline

48:01 Mastodon Federated timeline

60:11 Mastodon Lists

56:28 Mastodon hashtags

56:25 Mastodon pinned posts

1:00:20 follow Twitter accounts from Mastodon

1:01:51 how to use Lemmy from Mastodon

1:07:25 Mastodon's killer feature for dev's - github bots

1:10:47 Guide to Mastodon for .NET and MAUI people

1:13:15 Pixelfed, UI comparison

1:15:41 Maho Pacheco's repo (federate static website, etc.)

1:17:52 Microsoft DevBlogs

Links to resources from this talk

Creating MAUI UI's in C#

fediverse.party

.NET MAUI @ programming.dev

.NET MAUI Mastodon bot

.NET Mastodon bot

@SmartmanApps@dotnet.social

Join dotnet.social

Join dotnet.social and auto-follow @SmartmanApps@dotnet.social

How to follow multiple hashtags in a column

@Microsoft@bird.makeup

Github bots by Carlos Sanchez of Microsoft...

Dotnet github bot

MAUI github bot

MastodonGitHubBot repo

Guide to Mastodon for dotNetMAUI and dotNet peeps

Github repo of Maho Paheco of Microsoft

Maho's guide to implement ActivityPub in a static site (or any website)

Follow Maho's blog from Mastodon (or almost any Fediverse service!)

Follow Microsoft DevBlogs (federated thanks to Maho)

3

cross-posted from: https://programming.dev/post/22672085

Earlier this year I gave this talk which is about how programmers can get the most of the Fediverse, particularly for dotnet/MAUI developers - some of the killer features which are available and how to use them. The focus of the examples are with dotnet/MAUI, but these things would undoubtedly also be available for other languages/ecosystems, I was just using dotnet/MAUI to illustrate the underlying functionality available to us here. This recording would be good for anyone who isn't familiar with these features (maybe anyone you want to convince to come here, or just if you feel you don't know everything that is available).

The first part of the recording is a different talk about MAUI, and the first link below will be where my talk starts, and then some more links for other key points, if you just want to see the parts you don't already know about.

Following these recording links will be links to resources that I talked about...

30:06 start/MAUI Lemmy community

31:31 overview of talk

33:20 what is the Fediverse?

38:15 Lemmy

42:08 Mastodon

43:40 Mastodon dotnet.social

46:33 Mastodon Local timeline

48:01 Mastodon Federated timeline

60:11 Mastodon Lists

56:28 Mastodon hashtags

56:25 Mastodon pinned posts

1:00:20 follow Twitter accounts from Mastodon

1:01:51 how to use Lemmy from Mastodon

1:07:25 Mastodon's killer feature for dev's - github bots

1:10:47 Guide to Mastodon for .NET and MAUI people

1:13:15 Pixelfed, UI comparison

1:15:41 Maho Pacheco's repo (federate static website, etc.)

1:17:52 Microsoft DevBlogs

Links to resources from this talk

Creating MAUI UI's in C#

fediverse.party

.NET MAUI @ programming.dev

.NET MAUI Mastodon bot

.NET Mastodon bot

@SmartmanApps@dotnet.social

Join dotnet.social

Join dotnet.social and auto-follow @SmartmanApps@dotnet.social

How to follow multiple hashtags in a column

@Microsoft@bird.makeup

Github bots by Carlos Sanchez of Microsoft...

Dotnet github bot

MAUI github bot

MastodonGitHubBot repo

Guide to Mastodon for dotNetMAUI and dotNet peeps

Github repo of Maho Paheco of Microsoft

Maho's guide to implement ActivityPub in a static site (or any website)

Follow Maho's blog from Mastodon (or almost any Fediverse service!)

Follow Microsoft DevBlogs (federated thanks to Maho)

1

Earlier this year I gave this talk which is about how programmers can get the most of the Fediverse, particularly for dotnet/MAUI developers - some of the killer features which are available and how to use them. The focus of the examples are with dotnet/MAUI, but these things would undoubtedly also be available for other languages/ecosystems, I was just using dotnet/MAUI to illustrate the underlying functionality available to us here. This recording would be good for anyone who isn't familiar with these features (maybe anyone you want to convince to come here, or just if you feel you don't know everything that is available).

The first part of the recording is a different talk about MAUI, and the first link below will be where my talk starts, and then some more links for other key points, if you just want to see the parts you don't already know about.

Following these recording links will be links to resources that I talked about...

30:06 start/MAUI Lemmy community

31:31 overview of talk

33:20 what is the Fediverse?

38:15 Lemmy

42:08 Mastodon

43:40 Mastodon dotnet.social

46:33 Mastodon Local timeline

48:01 Mastodon Federated timeline

60:11 Mastodon Lists

56:28 Mastodon hashtags

56:25 Mastodon pinned posts

1:00:20 follow Twitter accounts from Mastodon

1:01:51 how to use Lemmy from Mastodon

1:07:25 Mastodon's killer feature for dev's - github bots

1:10:47 Guide to Mastodon for .NET and MAUI people

1:13:15 Pixelfed, UI comparison

1:15:41 Maho Pacheco's repo (federate static website, etc.)

1:17:52 Microsoft DevBlogs

Links to resources from this talk

Creating MAUI UI's in C#

fediverse.party

.NET MAUI @ programming.dev

.NET MAUI Mastodon bot

.NET Mastodon bot

@SmartmanApps@dotnet.social

Join dotnet.social

Join dotnet.social and auto-follow @SmartmanApps@dotnet.social

How to follow multiple hashtags in a column

@Microsoft@bird.makeup

Github bots by Carlos Sanchez of Microsoft...

Dotnet github bot

MAUI github bot

MastodonGitHubBot repo

Guide to Mastodon for dotNetMAUI and dotNet peeps

Github repo of Maho Paheco of Microsoft

Maho's guide to implement ActivityPub in a static site (or any website)

Follow Maho's blog from Mastodon (or almost any Fediverse service!)

Follow Microsoft DevBlogs (federated thanks to Maho)

2
1
9
1
4
1
[-] SmartmanApps@programming.dev 1 points 2 years ago* (last edited 2 years ago)

I’m talking about the classic 4/2x. If x = 2, it is:

4/2x2 = 2x2 = 4

4/(2x2) = 4/4 = 1

It's the latter, as per the definition of Terms. There are references to this definition being used going back more than 100 years.

Wolfram solved this with going with the second if it is an X or another variable as it’s more intuitive

Yes, they do if it's 2x, but not if it's 2(2+2) - despite them mathematically being the same thing - leading to wrong answers to expressions such as the OP. In fact, that's true of every e-calculator I've ever seen, except for MathGPT (Desmos used to handle it correctly, but then they made a change to make it easier to enter fractions, and consequently broke evaluating divisions correctly).

how do you calculate 2(1+1)? It’s 4. It’s called implicit multiplication

No, it's not called implicit multiplication. It's distribution.

We could write this up as +2*(+1+(+1))

No, you can't. Adding that multiplication has broken it up into 2 terms. You either need to not add the multiply, or add another set of brackets if you do, to keep it as 1 term.

I can’t think of a situation where it’s incorrect

If a=2 and b=3, then...

1/axb=3/2

1/ab=(1/6)

If there is a letter or number or anything next to a bracket, it’s multiplication

No, it's distribution. Multiplication refers literally to multiplication signs, of which there aren't any in this expression.

2x is the same as 2*x

No, 2A is the same as (2xA). i.e. it's a single Term. 2xA is 2 Terms (multiplied).

If a=2 and b=3, then...

axb=2x3 (2 terms)

ab=6 (1 term)

This guy talks in hashtags.

Only in the first post in each thread, so that people following those hashtags will see the first post, and can then click on it if they want to see the rest of the thread. Also "this guy" is me. :-)

Grab a calculator, look at wolfram docs, ask a professor or teacher

I'm a Maths teacher with a calculator and many textbooks - I'm good. :-) Also, if you'd clicked on the thread you would've found textbook references, historical Maths documents, proofs, the works. :-)

8/2(2+2), let’s remove the confusion

8/2*(2+2), brackets

8/2*(4), mult & div, left -> right

4*(4), let go

2 mistakes here. Adding the multiplication sign in the 2nd step has broken up the term in the denominator, thus sending the (2+2) into the numerator, hence the wrong answer (and thus why we have a rule about Terms). Then you did division when there was still unsolved brackets left, thus violating order of operations rules.

it’s more like 8/(2x), but it’s just harder to read, so we don’t

But that's exactly what we do (but no extra brackets needed around 2x nor 2(2+2) - each is a single term).

you could argue that it should be handled like the scenario with the x

Which is what the rules of Maths tells us to do - treat a single term as a single term. :-)

there are no rules of this

Yeah, there is. :-)

you use fractions instead of inline division

No, never. A fraction is a single term (grouped by a fraction bar) but division is 2 terms (separated by the division operator). Again it's the definition of Terms.

And by all means, correct me if I’m wrong

Have done, and appreciate the proper conversation (as opposed to those who call me names for simply pointing out the actual rules of Maths).

link something that isn’t an unreadable

No problem. I t doesn't go into as much detail as the Mastodon thread though, but it's a shorter read (overall - with the Mastodon thread I can just link to specific parts though, which makes it handier to use for specific points), just covering the main issues.

as long as we are civilised

Thanks, appreciated.

[-] SmartmanApps@programming.dev 1 points 2 years ago

Mathematicians know wolfram is wrong

Woo hoo! I hadn't heard of anyone else pointing this out (rather, I'm always on the receiving end of "But Wolfram says..."), so thanks for this comment! :-) Now I know I'm not alone in knowing that Wolfram is wrong.

like claiming the world isn’t definitely round because some people argue its flat

OMG, I've run into so many people like that. They seem to believe (via saying "look, this blog says it's ambiguous too") that 2 wrongs make a right. No, you're both just wrong! Wolfram, Google, ChatGPT(!), the guy who should mind his own business, are all wrong.

Sometimes people are wrong

Yes, they are... and unfortunately a whole bunch of the time they're unwilling to face it and/or admit it, even when faced with Maths textbooks which clearly show what they said is wrong.

[-] SmartmanApps@programming.dev 1 points 2 years ago

the rules of math are not set in stone

The rules around order of operations are!

if your notation is ambiguous or unclear to your audience try to fix it

Nothing ambiguous in this expression.

[-] SmartmanApps@programming.dev 1 points 2 years ago

you could solve for the parentheses by multiplying 2+2 by two, giving you 8/8 quicker and still yielding 1. I’m now having more doubts about my math capabilities

No, that's the correct way to do it, as per The Distributive Law.

both are right

No, only 1 is right. If you get 16 then you did division before finishing solving brackets.

[-] SmartmanApps@programming.dev 1 points 2 years ago

8/2(4) - Parentheses

8/8 - Multiplication

Correct steps, but wrong names. Where you said "multiplication" is actually still parentheses - that first step isn't finished until you have removed them (which isn't until after you have distributed and simplified, which you did do correctly).

Modern phone apps seem to be notorious for getting order of operations wrong

Yes, I know, and as a Maths teacher I am well and truly sick of hearing "but Google says...", and so I wrote this thread to try and get developers to fix their damn calculators.

[-] SmartmanApps@programming.dev 1 points 2 years ago

Yeah, base ten really screws around with programming. You specifically have to use a decimal type if you really want to use it (for like finance or something), but it's much slower.

[-] SmartmanApps@programming.dev 1 points 2 years ago

Also noted that you've declined on taking on that bet I offered.

[-] SmartmanApps@programming.dev 1 points 2 years ago

In fact you're not allowed to add the multiplication - it breaks up the factorised term, hence gives a different answer.

[-] SmartmanApps@programming.dev 1 points 2 years ago

Excel and Google are both wrong. In fact, Microsoft excels 😂in this area, with Excel, the Windows calculator, and MathSolver all getting it wrong in different ways! dotnet.social/@SmartmanApps/111164851485070719

view more: ‹ prev next ›

SmartmanApps

0 post score
0 comment score
joined 2 years ago
MODERATOR OF