Skip to content

Db adif - #66

Open
rufusrizzo wants to merge 2 commits into
n1kdo:masterfrom
rufusrizzo:db-adif
Open

Db adif#66
rufusrizzo wants to merge 2 commits into
n1kdo:masterfrom
rufusrizzo:db-adif

Conversation

@rufusrizzo

Copy link
Copy Markdown

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.

@n1kdo

n1kdo commented Dec 31, 2024

Copy link
Copy Markdown
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.

@ny4i

ny4i commented Jun 25, 2025

Copy link
Copy Markdown
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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants