General Discussions

# Algorithm for a Self-Creating Algorithm

We have advanced so much with data science, machine learning and artificial learning that sometimes I really wonder if writing an algorithm would makes sense. With changing data, algorithm turns out to be highly dynamic and difficult to predict how it might behave after certain point of time if we are not aware of type… Continue reading Algorithm for a Self-Creating Algorithm

# Free Ebooks as of Aug 2017

Following is the list of books that can be free downloaded: 1. Design of a Programmer 2. PhD – The Messy Desk 3. Structures and C 4. See, Say, Market Recommendations 5. The Web Circular 6. Hashing

General Discussions

# Why File Pointers are of type FILE

When working with files in C programming language, we define and use a file pointer of data type FILE. For say example we use: FILE *out_file; One could always have a question, that, why use FILE? From where is that data type suddenly popped out? The reason being that C header files have a structure… Continue reading Why File Pointers are of type FILE

General Discussions

# C Pointers and Major Types

Pointer: Pointer is a variable which holds the address of another variable. NULL Pointer: A null pointer has a value reserved for indicating that the pointer does not refer to a valid object. It is a pointer initialized to NULL value. Void Pointer: Are pointers pointing to data of no specific data type. The compiler… Continue reading C Pointers and Major Types

General Discussions

# Algorithm in Layman’s Terms

Originally posted on PH Bytes:
Layman: What’s an algorithm? He: Do you see that how you always find out a easier way of doing things given to you? Sometimes its the long road and sometimes its the shortcut. You always have a ‘way’ to do things. From basic common sense to expert knowledge! Layman: Yeah!!…

General Discussions

# Algorithms and 10 Step Process

When we talk of algorithms, following are the properties we generally refer to: The non-ambiguity requirement for each step of an algorithm cannot be compromised The range of inputs for which an algorithm works has to be specified carefully The same algorithm can be represented in several different ways Several algorithms for solving the same… Continue reading Algorithms and 10 Step Process

General Discussions

# Handling the vcvarsall.bat error

Originally posted on PH Bytes:
We might end up with the “unable to find vcvarsall.bat” error while installing the python packages on windows system. Why it happens? When we try to install the python package, it has to compile that c/c++ file from source(python is not just a .py) for which there is a need of…

C Codes

# Missing Array Intermediates – C code

Problem: Printing the missing array intermediates As a input, collect a sorted array of integer elements from the user. The task is to print the intermediate missing elements. Example: If the user enters the array elements as: {1, 4, 7, 9, 10, 11, 12, 15} Then, output has to be: 2, 3, 5, 6, 8,… Continue reading Missing Array Intermediates – C code

General Discussions

# Intelligent? Who?

Humans will add the required intelligence and logic. Programming Languages will give the syntax. Machine is going to follow the rules and be called intelligent! –PH

General Discussions

# The Evolving Web

Since the birth of web it has always demanded technologies that make sense and be  more human friendly. When web was instantiated: Rendering Transfer of documents and Data were the key challenges. As the web grew, it was not understood alike by everyone. It grew with plethora of information, products and services, readily discoverable by… Continue reading The Evolving Web