On Tuesday, September 13, 2022 at 5:14:19 AM UTC-5 Edward K. Ream wrote: > Being wary of UUIDs should be part of Leo's institutional memory.
PR #2827 <https://github.com/leo-editor/leo-editor/issues/2827> adds a warning to NodeIndices.computeNewIndex: def computeNewIndex(self) -> str: """Return a new gnx.""" # Warning! Warning! Warning! # Don't even *think* about changing the format of gnxs! # Doing so could introduce the worst kind of bugs: subtle and rare. # See this post: https://groups.google.com/g/leo-editor/c/Lldywoievn4/m/RUMMzB7fBgAJ t_s = self.update() # Updates self.lastTime and self.lastIndex. gnx = g.toUnicode(f"{self.userId}.{t_s}.{self.lastIndex:d}") return gnx Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/df48a1b4-be1d-452d-a0da-e3cce40f9e31n%40googlegroups.com.
