14 hours ago · 11 min read2188 words · Tech · 0 comments

Hello, loves! Not even that devious: this seems like a decent idea for the simplified Content. The AppearingCOntent object gave me some trouble using the new CombinedContent experimental object, though I was able to make it work. We’ll look at the offending code in a moment but as I see it the issues include: Setting up the objects is a bit gnarly. I suspect that the idea of using nonlocal to get access to objects that we need to recall is contributing. We may go back to providing an info package and using that instead. Our subscription callbacks need access to PubSub and in general there is no guarantee that they’ll be in a place where that access is possible. Relatedly, it would be nice if we could get rid of Dungeon’s methods that forward to PubSub. A simple, easy-to-make mistake can create a recursion in publish-subscribe, if an object publishes something to which it subscribes. We need to make that less likely. Ideally it would be impossible but as yet, I see no good way to…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.