Friday, May 19, 2017

Raised Fist Emoji


Thursday, May 4, 2017

GCC 7.1 is out

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.

Thursday, April 20, 2017

A strange 3D building from Google earth

As Google just release a new version of Google earth, I tried it on my phone with "I'm feeling Lucky" button ^_^, it lead me to the "Montparnasse Tower", the 3D view is strange on the north-west facing, there is a swirling hole in the upper part of the building.
You could find it by searching "Montparnasse Tower" or go to this link Montparnasse Tower from Chrome.

Friday, January 20, 2017

Tangerine Bonus Orange Key

Get your $50 FREE Tangerine Orange Key

Your Free Orange Key

get you 50$ Bonus


Enroll Now

Use this Tangerine Orange Key to get up to a $50 Sign Up Bonus!

Good news, Tangerine extents its double bonus offer until August 31, 2017, double your bonus from $25 to $50 by using the orange key 48455197S1. Both you and the author of this page will get the $50 bonus.

How to apply for your bonus:

  1. Add Orange Key 48455197S1 when applying an account from Tangerine
  2. Open a savings account + deposit $100 (receive $50 bonus)
  3. Or open a chequing account +deposit $100 (receive $50 bonus)

Find out how to earn up to *2.40% interest* for 6 months on your saving account when you sign up as a new client.

This is an independent blog and has no official association with Tangerine.
Last updated July 12, 2017.

Monday, January 16, 2017

iPad not charging and a simple solution

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:

  1. Use compressed air to clean the input socket.
  2. Force a restart.
  3. Switch outlets or ports.
  4. Switch cables.
  5. Restore in iTunes

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!

Wednesday, November 30, 2016

ZSTD - A new compression tool

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.