2026/10/16

From WoozleCodes
Jump to navigation Jump to search
Friday, October 16, 2026 (#289)
prev ⇐ Thursday Friday Saturday ⇒ next

References

Main Work

Still working on DBA, which is now dumping each schema using the previous schema's filename.

Signal Rambling

  • 08:55' One thing I keep tripping over is that there are variables -- resources, in this case -- which need to be accessed in multiple places, but they get set *after* the places are created (which is also necessary for conceptual organization). Trying to set up bespoke mechanisms to ensure that they get set *everywhere* also confuses things. I'm thinking maybe what I need is, like, a linear registry of resource-objects. Whenever a resource needs to be read or written, it should read or write to the appropriate object in that array, so there's only one source-of-truth for each resource-role.
  • 09:21 *Specifically*, the problem is that the Process object needs to create the Stream objects before the Process has started running. The resource-values are created by running the process (ssh2_exec()), so the Process-object needs to be sure to set them in the already-created Stream objects. ...and I'm suddenly not remembering why this is a problem; guess I'd better go look at the diagnostics again...