It's Friday. And it's a perfect opportunity to share a Useless Realisation™. In mathematics, “retractions” and “projections” are the same thing. You'll thank me later.
A little something I've been wondering about. To model state encapsulation functionaly we can either take a state monad with abstract state, methods in the Kleisli category. Or take an abstract comonad w, methods in the Kleisli category of the forall k. (w (a -> k) ->k) monad 1/2
I discovered Watchexec https://t.co/RCzPMNz0Kg yesterday. I'd previously used various file watchers to automate compilation and/or tests. But this one just hits the spot. Quite easy to select what you watch, runs as a TUI much like ghcid. Super useful. Know it exists.
Ok, to give a measure of the importance of what's happening in mathematics right now, consider that if someone had solved the Riemann Hypothesis, this would be all mathy folks would talk about for years. And right now, most everybody moved on. So: not really important.
@tangled_zans I would be the last persone to dispute that. What I'm failing to see is how the particular syntax helps me play with the particular problem. Which, might explain why I'm stuck on this problem: there may be something I'm not seeing.
@attunewise An artificial difference can be that: given a(n abstract) comonad w, I don't think it's possible in general to build a type s so that the monad-from-comonad of w is the same as State s. Maybe it can be made into some more interesting observation?
@attunewise Yes, that's the sort of things I'm alluding to. A comonad, up to some massaging, is kind of like a state monad. The question is: is it only kind of like, or is it like like. And if only kind of like, then what differences can we find?
@tangled_zans It is elegant, but I doubt it helps. Duality doesn't really illuminate what we can do with abstract types, does it? But maybe, after all, it's just that I, personally, don't see it.
@attunewise Very nice slides (then again, I don't think I was ever disappointed to read something from Hinze). I think the remark on adjunctions generating an adjunction on functors kind of explain the `forall k. w (a -> k) -> k` monad.
If it helps with my problem, though, I don't see it.
@tangled_zans And maybe it makes a difference. Or maybe it doesn't. Abstracting over the comonad rather than the state gives more implementation strategies, but it may not be different from an expressiveness point of view. I don't know.
Anyway, it's a fantastic game. If you've never played Ocarina of Time, seize this chance. And yes, these were all actual Navi lines (including the horny one), welcome to the hell that is modern AAA games, I guess? 20/20
So, the Ocarina of Time remake.
It's a very good game. Because it's the same game as the original.
It was an opportunity to remember how incredibly well-paced Ocarina of Time is.
Some thoughts after 100% completing it. 1/20
In exchange, they give you more ways to buy stuff you need when you need them. But rupees are naturally rarer too, so they give you various ways to grind for rupees. Here again, I'm not convinced. 19/20