Db adif - #66
Open
rufusrizzo wants to merge 2 commits into
Open
Conversation
Owner
|
suggest you could use a modification of the replayer.py script to do most of this. "It could use some testing" -- please do that; I am terrifically short on time these days. |
Contributor
|
The line in your main program, random_hex=$(head -c 17 /dev/urandom | xxd -p | tr -d '\n' | cut -c 1-33), forces it to be Linux. The code does run on Windows too so you may want to put some code to check which platform or use a standard Python way to get the random number. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I saw you wanted to work on this. I worked with ChatGPT to write this little python script. I hope it helps!
It basically works, and includes the operator. It could use some testing, and different contests may need custom mappings.