calaldees / KaraKara

Karaoke Event System - Attendees can view and queue tracks from their mobile phones
https://karakara.uk
GNU General Public License v3.0
28 stars 9 forks source link

Check usage of floats as unique IDs #106

Closed shish closed 2 years ago

shish commented 2 years ago

Not all languages / CPUs / etc agree on what a float is -- it's possible that the server would say track_id=0.666 and the client would interpret track_id=0.67, then get an error when the client says "please delete track 0.67" even though it's the same track ID with a rounding error

shish commented 2 years ago

Moved to a pull request