Comments (3)
I noticed that, sometimes, the UUID v4 generated contains some internal values like
11
(decimal) that are translated to0B
. Then, when they're formatted to string, it becomesB
(orb
) instead of0B
and the final string doesn't match the GUID format that C# expects (it's like characters are missing). Is that fixable somehow? I'd not like to touch (or request changes to) the Yrs code, then if you have a less invasive suggestion, that'd be nice.
I think it should be doable. However keep in mind that the source of that uuid is originally in JavaScript, so it's possible that someone is using arbitrary strings in there - which is also a reason why I went with string representation in Rust.
from ydotnet.
Hi, @Horusiath!
I'd like you to take a look at the work I'm doing to create the .NET bindings for Yrs.
The "core" of the work has been happening mostly on the Doc
and DocChannel
classes. They're the public and the native binding classes, respectively.
Everything else around them are tests or helper definitions to interact with the FFI exposed by YFFI. I've been moving slow because I can only work on this in my spare time (and this is not my only side project), but there's been steady progress here.
What do you think?
from ydotnet.
Also, I'd like to ask you about the Guid()
method exposed by YFFI as ydoc_guid
.
I noticed that, sometimes, the UUID v4 generated contains some internal values like 11
(decimal) that are translated to 0B
. Then, when they're formatted to string, it becomes B
(or b
) instead of 0B
and the final string doesn't match the GUID format that C# expects (it's like characters are missing). Is that fixable somehow? I'd not like to touch (or request changes to) the Yrs code, then if you have a less invasive suggestion, that'd be nice.
from ydotnet.
Related Issues (20)
- NuGet handle HOT 3
- Fix Publish workflow HOT 1
- Integrate new method ytransaction_alive HOT 5
- Demo client project problems HOT 3
- Improve the README
- Update to .NET 8
- Fix unit tests
- WebSocket Client HOT 1
- Use `y-crdt/y-crdt` to build the Rust binaries
- Unable to load shared library 'yrs' or one of its dependencies. HOT 8
- Is there any way to use SignalR? HOT 5
- Support for Weak Types?
- How would you persist the data in SQL Server? HOT 3
- Initial sync not working on latest version of the codebase. HOT 2
- v0.2.13 release? HOT 1
- Exception calling Get* on top level field without first defining it HOT 7
- YDotnet.Extensions: Exception converting Map to strongly typed model HOT 1
- Exception in Rust code bringing the entire dotnet server down HOT 5
- YDotNet stops persisting to storage after 1st invalidation HOT 36
- Update core bindings to Yrs v0.18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ydotnet.