python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Partition a list of strings into n number of partitions which are deterministically reproducible, given n can change
I have this requirement wherein I need to assign every string in a list, a partition in the range [1,n] randomly. These partitions should be reproducible and should not change on varying n.
I am able ...
Ayush Goyal
Votes: 0
Answers: 0
Small difference in Python hashlib.sha3_512 and Nodejs jsSHA("SHA3-512", "HEX)
I'm trying to encrypt a string to send away to another app, and my Python and Nodejs implementation's outputs are not matching. Can someone tell me the difference between these two methods, or what I...
mikefreudiger
Votes: 0
Answers: 1
Strings unwillingly concatenate in while loop in Python
I'm writing a simple program that takes a string from a file and hashes it. The loop unwillingly concatenates strings for some reason. It works outside of a for loop and while loop, but does funky stu...

bobby
Votes: 0
Answers: 1
Signature does not match - POST HTTP Request to BingX API with Python
I'm trying to communicate with an API of a Tradingplatform via post requests in Python. Unfortunately, this only works if the request does not have to be signed. At the beginning I just wanted to foll...
Daniel
Votes: 0
Answers: 2