Elektrine lite

← Feed

@shana@mastodon.gamedev.place

Post #2087616

2026-05-06 08:22 UTC

Regular reminder to self

Replies (17)

  • @nyx@lgbtqia.space 2026-05-06 14:52

    @shana@mastodon.gamedev.place not really for loops. In math a sum can and often does go up to infinity, whereas a for loop cannot do that. As an analogy to convey some information is fine, I'm just reminding that it ain't the same thing.

    Open ##2087615

  • @j_bertolotti@mathstodon.xyz 2026-05-06 08:33

    @shana Regular reminder to self that all those scary for-loops are just iterated operators 😜

    Open ##2114042

  • @xerz@masfloss.net 2026-05-06 14:35

    @shana that, and equations over planes also implicitly translate into loops over each value of the plane that's basically what made maths finally click for me

    Open ##2114044

  • @lemgandi@mastodon.social 2026-05-06 14:40

    @shana This is life-changing for me.

    Open ##2114046

  • @zmz@mastodon.social 2026-05-06 14:58

    @shana for some value of "are just"

    Open ##2114058

  • @kwayk42@sechtor.social 2026-05-06 15:38

    @shana

    Open ##2114060

  • @shana Unironically: OOOOOOOOOOOH! I've *always* wondered!!

    Open ##2114062

  • @tautology@infosec.exchange 2026-05-06 16:12

    @shana when I was doing the maths parts of my degree, I very quickly realised that maths notation is the problem with why maths is difficult. Borring from the field of computer science to remove all the greek characters that often have multiple uses [1] and rename operators with descriptors could make it way more accessible. [1] Okay this is mainly astrophysics's fault that one equation used sigma in both cases for three different things.

    Open ##2114064

  • @shana Please tell mathematicians to write fewer infinite loops -.-

    Open ##2114068

  • @erraggy@hachyderm.io 2026-05-06 18:32

    Things I never knew... Thanks 🙏🏻

    Open ##2114077

  • @shana I don't remind ever seeing the Π one but ∫ yes and ∫ is so cursed

    Open ##2114078

  • @juandesant@mathstodon.xyz 2026-05-06 20:06

    @shana I think the reverse take is more powerful: some loops can be avoided if you have a closed mathematical form for them. And as someone else noted when quoting this post, for loops imply an ordering, the mathematical operation does not. Plus, loops are just one form: generators are another, and the fact that \[\sum_{i=0}^{m} f(i) = \sum_{i=0}^{n-1} f(i) + f(n) + \sum_{i=n+1}^{m} f(i) \] means that generators are really another option.

    Open ##2114079

  • @pavel@social.kernel.org 2026-05-06 21:06

    @shana Yeah, well, trouble is they often go to infinity :-).

    Open ##2114080

  • @cyberspice@oldbytes.space 2026-05-06 21:29

    @shana @arclight I have managed to get as old as I am without having ever come across the capital PI product thing. And I did physics and astro physics at uni and a masters.

    Open ##2114084

  • @shana@mastodon.gamedev.place It’s like seeing the sheet music for the first time, even though you’ve been playing the song in your own band for years 😅

    Open ##2176860

  • @trashwizard@mastodon.social 2026-05-07 15:30

    @shana@mastodon.gamedev.place @fortyseven@defcon.social As someone who was programming obsessed but hated math back in high school, this would have done me so much good

    Open ##2176861

  • @mirth@mastodon.sdf.org 2026-05-07 21:39

    @shana@mastodon.gamedev.place Nobody has pointed out the most important* difference, which is that one is very painful to write on a chalk board, while the other is very painful to write on a teletype. *well...

    Open ##2192865