Home|Gandalf The White

About Gandalf The White

This author has not yet filled in any details.
So far Gandalf The White has created 26 blog entries.

Recursion vs. Iteration

Both algorithms repeatedly execute a set of instructions. Recursion is a function that call itself repeatedly. Iteration is when a loop is executed repeatedly while certain condition is true. Differences between recursion and iteration: Recursion is a process applied on a function, iteration does not require a function.Infinite recursion can lead to system crash (stack

2018-12-06T23:24:08+02:00By |Categories: Explained Simply|Tags: , |0 Comments

What is Recursion?

In the film "Edge of Tomorrow", the main character, Major William Cage, fights against aliens and gets to relive the same day over and over again. Each time he dies, accidentally or with purpose, he is brought back to the same point in time. This special ability allows him to overcome the challenges he is

2018-12-05T21:04:58+02:00By |Categories: Explained Simply|Tags: |0 Comments

Git – Basic Commands

Using Git requires getting familiar with its commands and their usage. The list below contains some of the more important commands: init - Used for creating and initializing repository (project). Most often it is done on a server where the entire repository is stored. clone - Download repository. add - Add files to git repository. commit

2018-12-03T22:38:42+02:00By |Categories: Explained Simply|0 Comments

Flush DNS cache in Google Chrome

Chrome is a browser that uses its own DNS cache. To flush(clear) the existing cache, we need to complete the following steps: Navigate to chrome: // net-internals / # dns page Click "Clear host cache" button In some cases, clearing the DNS cache is not sufficient and you need to clear socket pool: Navigate to chrome: // net-internals /

2018-12-03T22:41:10+02:00By |Categories: How To|0 Comments

Mean Value with R

In this example I'll show you how to find the average value of a vector using R language. First we declare a vector with the numbers we want to find the average of and write in the variable a. The declaration of the vector is obtained by the command "c" (derived from "combine"). The assignment to

2018-12-03T22:43:24+02:00By |Categories: How To|0 Comments

Generating Sound Signal in C#

Using C# you can generate a simple beep signal from a computer. This can be achieved using the following console application code: using System; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { Console.Beep(440, 1000); } } } When you start the program you will hear the sound lasting one second. We use

2019-05-18T23:22:31+03:00By |Categories: C#|Tags: |0 Comments
Go to Top