Until recently I thought that currently popular scripting languages, which mostly evolved over last 10 years or something, must allow for easier portability across different platforms compared to ye good olde C/C++. After all, their development started a few decades after C, so its notorious caveats are all well-known and should be easy to avoid [...]
MySQL automatic data truncation can backfire
I had a fun case today. There is set of cache tables which cache certain content in MyISAM tables and queries for these tables such as:
1 | select data from cache0003 where `key`=2342526263 and real_key='cp_140797_6460aad5d2e50d3e859e8649007686ac'; |
The “key” is CRC32 of the real key which is used to keep index size as small as possible so if we have a cache miss we can [...]

