Posts

Showing posts with the label work

NEC PA311D review: modern IPS monitor, low glow and great uniformity

Image
I am a professional software developer, who also a gamer. I want a monitor which just does a job of displaying images correctly - I also have background in graphics programming so I have a keen eye. But for some reason it was really hard to get one recently. 10 years ago, I had a Dell Ultrasharp monitor which had no issues whatsoever. However, eventually it got somewhat dated and I thought “its time to upgrade”. So, I’ve tried these new & shiny “gaming monitors” with all these new bells & whistles (and I’ve actually bought 3 different ones, and pricier ones). To cut it short, they all had issues in one form or another – even while all these fancy feature boxes were ticked, but always at expense of something else, or not working quite perfectly all the time.

CityHash64 and Finding Collision Samples for it

Image
CityHash is a modern family of hash functions for strings (variable-length arrays) that provides one of the best performance and quality, requiring only standard 64-bit instructions for optimal performance. This makes it very useful "general-purpose" hash. In particular, CityHash64 hashes to 64-bit value, which makes it primary function of choice on 64-bit platform. For some tests (e.g. containers), it's beneficial to know which pairs of strings will produce same hash value (collision). Finding collisions for well-designed hash function could be difficult - since brute force most likely will be most viable approach. I've recently have calculated some collisions for CityHash64 using multi-threaded birthday attack algorithm. So I provide two such pairs there for your convenience: StrA=" oH]pPZccPmOEHjBW " StrB=" vm`sd|obCXIKJ}aE " CityHash64= DCBE2B1930540000 StrA=" ?];lLLK:R_@XddTg " StrB=" bgW^Wi]IkQgDM3WW " CityHa...