News for hackers. Stuff that matters.
Re:Applied Category Theory Course by solomonb on Thursday September 28, 2023 @03:37AM (#37686506)
Re:Applied Category Theory Course by jiggawatts on Thursday September 28, 2023 @04:55AM (#37687041)
This paper is actually interesting and talks about real-world schemas. I particularly like the concept of distinguishable nulls that define a sane equality operator, unlike the traditional SQL NULL.

The paper I was referring to used the category Poly, and literally just stated that Poly could be used for database migrations without elaborating further.

Re:Applied Category Theory Course by solomonb on Thursday September 28, 2023 @10:19AM (#37689963)
I don't know the paper you are talking about but the author of this one (David Spivak) does a ton of research on Polynomial Functors and he has a whole book on them: https://topos.site/poly-book.pdf

Poly is an incredibly rich category which can be used to describe a ton of stuff such as finite state machines, neural networks, game interactions, wiring diagrams and dynamical systems more generally. I wouldn't be surprised at all if Poly can describe database migrations.

Re:Applied Category Theory Course by j2kun on Thursday September 28, 2023 @09:48PM (#37698359)
> can be used to describe a ton of stuff such as

One thing that bothers me about applied category theory is that this (being able to describe stuff) always seems to be sufficient for people to claim it is applied. But if the people doing the applying don't find that framing particularly useful, then to me it does not count.

Re:Applied Category Theory Course by wisnesky on Thursday September 28, 2023 @04:41PM (#37695527)
We've used Poly to prove results about functorial data migration.
Re:Applied Category Theory Course by solomonb on Thursday September 28, 2023 @05:36PM (#37696219)
Hey you might be interested in this work-in-progress type theory for Poly: https://github.com/toposInstitute/polytt
Re:Applied Category Theory Course by matteocapucci on Wednesday October 04, 2023 @07:58AM (#37763888)
That might be a case of the author be really used to a certain crowd and writing for them. The work by Spivak on databases is well-known in ACT so the connection comes pretty easily. Also, in fairness, is pretty easy to Google your way around that claim.