DarkSky

Results 117 comments of DarkSky

i have added the `Result` return value to more apis here: https://github.com/toeverything/y-crdt/commit/1dc82f202450342738940c687de06358da7fdcdc but the test case needs to add a lot of unwrap: https://github.com/toeverything/y-crdt/commit/e278bb63252d172729d24ca418566e18e0cf72f4 i'm worried about whether this will...

> @darkskygit thanks for your contribution. I'll check it in more detail, once I return from the vacation. > > While I was in favour of using results and `std::io::Write`-based...

> Tbh. if I remember correctly, the panic that you've quoted should be unreachable - all integrated blocks always have parent set, otherwise it's a bug. > > We pretty...

The other benefit of making `Encode` return `Result` is that even if encoding fails, developers have a chance to recover, for example, by attempting to roll back the problematic update....

outdated, close

> I'm on 0.16, did you add the possibility of closed signup or invite-only signup? I can't find anything about this in the custom options. goto /admin/settings and turn of...

i think it is reasonable to migrate curd to nodejs I think there are two feature that should also be clear included in the scope of octobase: - storage: yjs...

## Overview lib0/encode provides two types of encoding methods: - write an integer of explicit byte length、write integers to variable-length bytes、write float to bytes as big endian - composite type...

The following pseudo-code describes how to read a ydoc (read method without ytype) VarXxx means a read_var_xxx function, accept &[u8] and consume part of it, return new &[u8] and parsing...