News for hackers. Stuff that matters.
Re:Category Theory Illustrated: Logic(2021) by dkarl on Friday October 25, 2024 @12:34PM (#41946897)
You might be looking for a kind of understanding that doesn't exist in math. John von Neumann said, "In mathematics, you don't understand things. You just get used to them." So even one of the greatest mathematicians of all time didn't feel like he "understood" concepts that he was adept at applying to both abstract and real-world problems.

This is why there are monad tutorials that use dozens of different analogies for monads, and nobody feels like they understand anything better after reading them. But if you use monads enough, eventually you get used to how they work and how to accomplish things with them. And then you stop caring if you "understand" them.

Re:Category Theory Illustrated: Logic(2021) by Krei-se on Friday October 25, 2024 @12:48PM (#41947038)
Speak for yourself, monads are easily understood from the philosophical pov: https://en.wikipedia.org/wiki/Monad_(philosophy) which they are derived from in category theory, so maybe go that way if you still need foundation for the concept of the concept that bore all concepts?
Re:Category Theory Illustrated: Logic(2021) by dkarl on Friday October 25, 2024 @01:20PM (#41947367)
Easily understood? Looking at that link, the term has been used by many different philosophers with many different meanings. Leibniz's monads are the most famous, and they have nothing in common with category theory monads except the name.[0]

The mathematical concept was in use for years before anybody decided to call it a "monad" anyway. According to Wikipedia: "The notion of monad was invented by Roger Godement in 1958 under the name 'standard construction'. Monad has been called 'dual standard construction', 'triple', 'monoid' and 'triad'. The term 'monad' is used at latest 1967, by Jean Bénabou."[1]

[0] https://en.wikipedia.org/wiki/Monadology#Summary

[1] https://en.wikipedia.org/wiki/Monad_(category_theory)#Termin...

Re:Category Theory Illustrated: Logic(2021) by Krei-se on Friday October 25, 2024 @01:53PM (#41947717)
So what? If you call it god around 0 BC and monad in the 1970 it's still the same concept. If the notation and meanings change in your pov and that gives you headaches, that's maybe related to the fact, that you cannot call an absurd function, but you can derive structure from combining it.
Re:Category Theory Illustrated: Logic(2021) by jasomill on Friday October 25, 2024 @02:39PM (#41948264)
In other words, God is just a monoid in the category of endofunctors‽
Re:Category Theory Illustrated: Logic(2021) by Krei-se on Friday October 25, 2024 @04:41PM (#41949487)
Is this taken word by word from wikipedia?

A monad is an entity that has no purpose other than relation to itself, but can be part of a structure that employs functionality or meaning. I think the problems around this concept for most is, that causality is not a requirement yet, so things don't have to make sense to be part of constructing upon them.

An analogy in IT might be, that worrying about traversal of a graph is a problem domain in time and space and causality that involves questions around loop detection and recursion because you deal from a pov that has those constraints. But that's not a problem yet in the domain of structure as it.

This took some brain, so i hope it's a good try on explanation.

Re:Category Theory Illustrated: Logic(2021) by ogogmad on Saturday October 26, 2024 @04:34AM (#41953454)
>> In other words, God is just a monoid in the category of endofunctors‽

> Is this taken word by word from wikipedia?

You're either very naive or explaining yourself very poorly.

Re:Category Theory Illustrated: Logic(2021) by Krei-se on Saturday October 26, 2024 @09:45AM (#41954695)
Both likely - care to explain further?
Re:Category Theory Illustrated: Logic(2021) by barberpole on Friday October 25, 2024 @02:03PM (#41947840)
> Leibniz's monads [...]have nothing in common with category theory monads except the name.[0]

The monad is something about which you can reason but you cannot look inside because it is windowless. No quibbling, please.

Re:Category Theory Illustrated: Logic(2021) by chongli on Friday October 25, 2024 @01:46PM (#41947628)
Category theory does not derive the idea of a monad from philosophy, it merely reuses the word for an entirely unrelated purpose. It's like how a frog [1] to a farrier has nothing to do with the frog [2] from everyday use, nor to the frog [3] from railroading.

[1] https://en.wikipedia.org/wiki/Frog_(horse_anatomy)

[2] https://en.wikipedia.org/wiki/Frog

[3] https://en.wikipedia.org/wiki/Frog_(disambiguation)#Railroad...

Re:Category Theory Illustrated: Logic(2021) by ahoka on Friday October 25, 2024 @01:18PM (#41947349)
How does it make it easy?

That’s like saying to understand object oriented programming one just needs to study Plat’s theory of forms.

Re:Category Theory Illustrated: Logic(2021) by Krei-se on Friday October 25, 2024 @01:58PM (#41947768)
Its the point where you start from in CT. Having the problem of not being able to talk about a concept is the absurd function and part of Chapter 1 (!!) in books about category theory. So instead of circling around this topic, welcome, this means you are inside the problem domain of category theory ;)
Re:Category Theory Illustrated: Logic(2021) by Koshkin on Friday October 25, 2024 @02:00PM (#41947801)
Not such a bad idea TBH
Re:Category Theory Illustrated: Logic(2021) by umanwizard on Friday October 25, 2024 @01:16PM (#41947332)
As far as I can tell this is totally unrelated to the concept of monad in mathematics or programming.
Re:Category Theory Illustrated: Logic(2021) by grugagag on Friday October 25, 2024 @07:59PM (#41951259)
If it is intuitive understanding you’re talking about then I feel that there are things in math that are more intuitive and less intuitive and harder to grasp.