32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
2795.
Locality Sensitive Hashing Explained(randorithms.com ↗)
3 points · by ComputerGuru · 5y ago · discuss
comment 5y ago · link · parent
“Use the server id as the hash seed” -> apart from the encryption, seed the result by first hashing the unique id then updating with the actual content before finalizing the hash, depending on the hash algorithm in question akin to keyed_hash(unique_id, actual_payload)
comment 5y ago · link · parent
But those random identifiers have no intrinsic value. So long as your database is a complete view of the data you wish to compress (i.e. a closed graph with nothing from the outside world pointing in) then one distinct identifier is as good as another. You can consider a compression strategy that replaces uuid x with an (irreversible) one-to-one mapping value y as a form of lossy compression that gives you an equivalent but not identical dataset upon decompression.
Depending on where, how, and why the compression is taking place, that could be good enough. If there is an additional non-constrained channel available for the non-hot path, the mapping could also be exported separately to allow for reversing the mappings out-of-band.
comment 5y ago · link · parent
CF saying “we break standard DNS geo routing but work with providers to route things right” isn’t very inspiring.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Video should always be kept in sync with audio and not the other way around. You can freely drop or repeat video frames (within the boundaries of reason) without anyone being able to detect it in a blind test, but audio should not be messed with. This is why when syncing audio and video from different sources during production, the master clock is always the audio.
comment 5y ago · link · parent
It seems the whole thing took place in 2017 and was fixed then (first by not calling the reclaim if used ARC memory was zero, then the root cause also fixed by using a PRNG instead of the default CSPRNG in 0.7).