Giter VIP home page Giter VIP logo

Comments (2)

abock avatar abock commented on July 28, 2024

Thanks for the feedback - I appreciate the time and effort you put into describing the issue. I hope I've addressed your ask in the latest commit/release.

I am very aware of the internals of System.Guid, and I do not think this is a real problem in .NET. UUID/GUIDs round trip just fine as-is. Further, .NET is fully RFC 4122 compliant. The specification itself allows for a mixed (LE,LE,LE,BE,BE) and fully BE encodings. BE is by far the most common encoding.

However, there is certainly a case to be made for outputting the first three components in LE. As such I have added a --mixed-encoding (-me for shorthand) option for all of the GUID generators. This is available the 2.0 version that I will publish to NuGet shortly.

$ idgen v5 bojangles 11de2b26-984e-56b4-aa25-b3bd28ea5ac2
de9425a4-e8dd-510b-8e00-b6ac890c733a

$ idgen v5 --mixed-encoding bojangles 11de2b26-984e-56b4-aa25-b3bd28ea5ac2
a42594de-dde8-0b51-8e00-b6ac890c733a

from idgen.

fourpastmidnight avatar fourpastmidnight commented on July 28, 2024

from idgen.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.