How To: Find a Point on a Line Given a Point and a Distance
I faced a little mathematical challenge recently. It is as follow: Given a line with a known equation, a point and a distance , find the coordinates of the point that is at a distance from . The equation of the line is: Which is equivalent to: The trick...
How To: Abort an HTTP Call Using AngularJS
In AngularJS, you use the $http service in order to do HTTP requests. For some reason, you want to be able to cancel some of those requests. For example, you have an HTTP call that takes some time to complete, therefore you offer the user the possibility to cancel...
How To: Create a Custom Daydream with Android 5.1
A Daydream is an interactive screensaver. Therefore, it can act like any application. Here is a tutorial on how to create a basic Daydream with Android Studio. When finished, it will look like this: Requirements for this tutorial: Android Studio API 22: Android 5.1 A basic understanding of services...