Skip to main content


Showing posts from June, 2017

Telkom.KE Resurrects - But in What Shape?

Telkom.KE Resurrects - But in What Shape?
Orange is a nice colour but Orange.KE the phone company wasn't nice. They lived in their own cocoon far away in Andromeda Galaxy where they spoke a language called ^^^~~~'''''''````
Don't try to pronounce it. You need a rectangular beak to do that.

Now that Telko.KE is back, hopefully they will return to the Milky Way and to Planet Earth. Further, hopefully they will adopt one of .KE's official languages. 

They have a very full IN Tray. Take this issue for example: How on Planet Earth do you disable a daily Internet bundle subscription in Telkom's network? You innocently subscribe to a tariff(?) called Horror and true enough, its been a horrible saga ever since. You buy 100/- worth of credit. The Horror creature eats 49/- and the X-monster eats 49/-. You are left with 2 bob airtime!  What on EARTH is this?

Is is a new form of BATIKA betting game? Gory! as the English say. What Horror is this? Is their mar…

The Gradle Nightmare in Android Studio

The Gradle Nightmare in Android Studio
 This is a relatively common message in Android Studio if you dare to touch Gradle:

11:13 PM    Gradle sync failed: Minimum supported Gradle version is 3.3. Current version is 2.2. If using the gradle wrapper, try editing the distributionUrl in C:\Users\Acer Aspire\AndroidStudioProjects\MyApplication\gradle\wrapper\ to
                    Consult IDE log for more details (Help | Show Log)

 I have installed Gradle in c:\gradle and configured Android Studio File->Settings->Build, Excution ..->Gradle to point to this installation. 

If you try to rebuild the project, you still get:

Error:Could not find
Searched in the following locations:
    file:/C:/Program Files/Android/Android Studio2/gradle/m2repository/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom
    file:/C:/Program Files/Android/Android Studio2/gradle/m2repository/com/android/tools/build/gradle/3.5.0/gr…

How to Prevent Excessing Use of Wifi Connections by Windows Update (Windows 10)

How to Prevent Excessive Use of Wifi Connections by Windows UpdateGlasswire is a mostly-free bandwidth monitor for Windows PCs. It probably does a few other things too. One of the nasty things Windows will do it start updating the operating system just when you are watching a live show online with very limited data bundles. All of a sudden, Windows decides out of it's great WISDOM, that when you are almost out of bundles in the middle of this crucial show is the best time to start downloading massive updates.

Bad thoughts flash through your mind but you manage to get hold of yourself. Who do you blame anyway? Some anonymous software engineer in Redmond, WA??

The thing is, you need to sort out this mess. There is an easy way of preventing Windows from misusing your bundles via a Wifi link: Set the Wifi link to be metered.  How?

The sequence is illustrated below. It goes like this:
Press the Windows key to get the Start menu (assuming Windows 10)Click the gear icon to get the Settings m…

How to Rotate Your Web Page Background at Radom

How to Rotate Your Web Page Background at Random
Problem: I want my web page background image to change every time the page is loaded by picking an image at random.

The images in this solution are all prepared in advance. They are all named live#.jpg where "#" is a number between 1 and whatever the number of images you have.  Hence they are named:

live1.jpglive2.jpglive3.jpg........The naming system simplifies the script that will be used to load the images.
The approach adopted is a three-step algorithm: Create an array of the file names for these image files in a certain folder. In my case, the folder is called "slides".Count the number of files. There are possibilities of counting sub-directories and . and .. if not careful. In this solution, we ensure no subdirectories are in the target folder and do a little arithmetic to eliminate the .. and .. folders.Generate a random number based on the number of files in the target folder and append this number to the base nam…