WHAT
Conversation
Notices
-
Embed this notice
(NekoSock) Miya Ironami (iro_miya@mk.absturztau.be)'s status on Friday, 12-Jul-2024 01:24:47 JST (NekoSock) Miya Ironami - kaia and narcolepsy and alcoholism :flag: like this.
-
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 12-Jul-2024 01:24:46 JST 翠星石 @iro_miya The post has it backwards - for loops are a functional abstraction of the scary math symbols. -
Embed this notice
q66 (q66@blahaj.social)'s status on Friday, 12-Jul-2024 03:58:16 JST q66 @iro_miya i've been entirely convinced for years that the whole reason i cannot math is that math notation is just "every variable name is a single letter" times 1000
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 12-Jul-2024 04:01:01 JST Haelwenn /элвэн/ :triskell: @q66 @iro_miya In a way Math is like obfuscated APL and also more toward functional than imperative. -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 12-Jul-2024 04:02:25 JST 翠星石 @lanodan @q66 @iro_miya APL mentioned.
https://www.gnu.org/software/apl/ -
Embed this notice
karna :flipflop: :buffsuki: (karna@poa.st)'s status on Friday, 12-Jul-2024 04:08:10 JST karna :flipflop: :buffsuki: @Suiseiseki @lanodan @q66 @iro_miya In conversation permalink Attachments
翠星石 likes this. -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 12-Jul-2024 04:10:12 JST 翠星石 @karna Yes, he had indeed been crafting the perfect memes even prior to 1969. In conversation permalink -
Embed this notice
Gnarley Boot (gnarley_boot@norwoodzero.net)'s status on Friday, 12-Jul-2024 19:12:39 JST Gnarley Boot @iska @enigmatico @iro_miya
Yeah hit them up with real math they will know what yer talking about cc @theorytoe @3TIn conversation permalink ✙ dcc :pedomustdie: :phear_slackware: likes this. -
Embed this notice
Gnarley Boot (gnarley_boot@norwoodzero.net)'s status on Friday, 12-Jul-2024 19:12:40 JST Gnarley Boot @iska @enigmatico @iro_miya
AFAIK toe and 3T are math brains.In conversation permalink -
Embed this notice
Iska (iska@catposter.club)'s status on Friday, 12-Jul-2024 19:12:41 JST Iska @enigmatico@mk.absturztau.be @iro_miya@mk.absturztau.be do you actually think fedi users can comprehend math above elementary school
In conversation permalink -
Embed this notice
【Ξnigmatico】:misskey: (enigmatico@mk.absturztau.be)'s status on Friday, 12-Jul-2024 19:12:43 JST 【Ξnigmatico】:misskey: @iro_miya While it's true that you can implement sums using a for loop, it can be optimized using basic summation identities. More specifically
\displaystyle{\sum^k_{n=0}3n = 3\sum^k_{n=0}n = 3\left(\sum^{k-1}_{n=0}n + k\right) = 3\left(\frac{k(k-1)}{2}+k\right)}
Where k \in \mathbb{Z}⁺, k > 0. So you can simply use this generic formula and save yourself a for loop.
The same can be applied to the multiplication as well, although in this case how much computational cost you save will depend on how the machine calculates the factorial.
\displaystyle{\prod^k_{n=1}2n = 2\prod^k_{n=1}n = 2(k!)}In conversation permalink -
Embed this notice
Alex M. Dunne :ally: (alex@masto.digittante.com)'s status on Saturday, 13-Jul-2024 04:29:38 JST Alex M. Dunne :ally: I co-sign this. Recovering (still) #APL user here....
In conversation permalink Haelwenn /элвэн/ :triskell: likes this.