Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for edge-cases (for testing Frostflake support in my project) #70

Open
Racum opened this issue Dec 10, 2024 · 3 comments
Open

Comments

@Racum
Copy link

Racum commented Dec 10, 2024

Hello, I developed a CLI tool to parse and debug IDs for various formats called uuinfo: https://github.com/racum/uuinfo

In the last version (0.2.1) I added support to Frostflake, like this:

$ uuinfo -f sf-frostflake JERHwh5PXjL

or

$ uuinfo -f sf-frostflake 7423342004626526207

That returns a rendered card with all parsed information, like this:

uuinfo-frostflake

Please, if you know of some IDs that can trigger edge cases, please report them to me, I want to raise my test coverage for this format.

@hassila
Copy link
Contributor

hassila commented Dec 11, 2024

Nice, small typo in "Id type" in your header.

@mr-swifter I don't think we have any specific edge cases really, except for flipping all bits for sequence numbers and generator i guess, anything you can think off?

@hassila
Copy link
Contributor

hassila commented Dec 11, 2024

@Racum did you try this package command line tool for reference to decode too?

@Racum
Copy link
Author

Racum commented Dec 11, 2024

Nice, small typo in "Id type" in your header.

Yeah... fixed! someone already sent me a PR! 😅 ...this one was embarrassing, right on my face for weeks and I haven't noticed

@Racum did you try this package command line tool for reference to decode too?

Nope, but I used the examples in the README.

By the way, since it is not on Homebrew yet, and following a suggestion from someone who didn't want to install Rust, I added on Docker:

$ docker run racum/uuinfo {ID}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants