Use mmap with care
Using mmap in desktop applications has some serious caveats, and here's why:
writes Benjamin Schaaf in Use mmap With Care. An interesting read.
Using mmap in desktop applications has some serious caveats, and here's why:
writes Benjamin Schaaf in Use mmap With Care. An interesting read.
These three facts all seem eminently sensible and reasonable, right?
- Unix time is the number of seconds since 1 January 1970 00:00:00 UTC
- If I wait exactly one second, Unix time advances by exactly one second
- Unix time can never go backwards
False, false, false.
Curious? Read Falsehoods programmers believe about Unix time by Alex Chan.
When building Net::SSLeay
, a Perl module, on Ubuntu 19.04 the log
contained the following error after the build process halted prematurely.
/usr/bin/ld: cannot find -lz
This was fixed by installing the zlib1g-dev
package as follows:
sudo apt-get install zlib1g-dev