


GCC 7.1 was released on May 2.
I tried it out and recompiled all my Ada related builds, finally I got a stable GPS
that does not crash after opening a project file. It still crashed on me, maybe I should revert
to an older version?
I have updated my build scripts ada-4-slackware on gitHub. There is still some problems with ASIS 2016, some API changed for the new compiler, will update the build script once got time.
I got an iPad that is not charging, connect the power cable does not show any indication of charging, and power keeps draining. Search around the web, it seems it is quite common.
I follow a few advises from the search:
None of it working. But, during test of stage 5, I actually got the iPad charged in recovery mode. And it only works in recovery mode when connecting to a computer, it won't work when charging from an power adapter.
That makes me thinking, why could it be charged under recovery mode but not normal operation? Hardware seems working, is it a software issue? But I have fully restored the iPad with no success. I search the web again, and found this one: Simple solution if your iPhone or iPad is not charging. It seems simple, and I took a toothpick and start picking the input socket, it does not have lots of lint coming out, just a little bit of dirt. And it works!
I has some personal interest in compression. Recently, I found this new compression tool: ZStd. It compresses much faster than gzip with better compression ratio.
For a not so scientific benchmark ^_^, to compress linux-4.4.34.tar (648867840 bytes) kernel, time reports the following:
time zstd linux-4.4.34.tar real 0m5.157s user 0m4.116s sys 0m0.534s time gzip -k linux-4.4.34.tar real 0m21.255s user 0m20.891s sys 0m0.175s time xz -k linux-4.4.34.tar real 4m21.785s user 4m21.430s sys 0m0.265s 648867840 linux-4.4.34.tar 132581836 linux-4.4.34.tar.zst (20.43%) 5.157s 137210920 linux-4.4.34.tar.gz (21.15%) 21.255s 90543184 linux-4.4.34.tar.xz (13.95%) 4m21.785s
It took zstd much less time to compress with slightly better compression than gzip. For a better benchmark, please refer to the zstd's home page.
There is a SlackBuilds package maintain by me for Slackware also.