Python format string

With a format string you may embed string variables inside an string statement. For example, I can embed my a variable with name at the end of a string like “My name is ” by inserting the %s escape character inside this string.

victor = "Victor Alvarez"
print "My name is %s." % victor

The result is the printing of the string:

My name is Victor Alvarez.

SanDisk’s Connect Drive app and screen overlay error on Android Marshmallow

Yesterday I installed and attempted to run the SanDisk’s Connect Drive app so I could access my wireless flash drive from my Android smartphone. However, the app refused to run, trowing an notification explaining that the ‘screen overlay settings‘ must be turned off, or else access permissions could not be set. This problem persisted until, after launching the ‘recent application menu‘ (with the square button), I noticed a ‘ES file explorer’ window appeared, signaling that this app was running. However, I did not open this app. I realized then, that maybe this app caused the problem by actively drawing over other apps. As soon as I uninstalled ES file explorer, Connect Drive let me set permissions and my wireless flash drive worked flawlessly.

Personal setup by December 2017

debian_strechFor school work I use MS Windows 10. However, for personal and hobby work I prefer Debian Linux. As of December, 2017 I’m using Debian 9 Stretch and Ubuntu Xenial on two different systems. I also use the NetBSD system where I host my Portfolio. By 2018 I expect to expand my use of system, practice embedded programming with a Beaglebone black, prepare a simple Raspberry Pi Zero server and publish more projects on Github.