Follow Me On Twitter

Sunday, January 22, 2017

Identify Fake News


The Internet is filled with information, a lot of information! But is everything you read on the Internet true? The Internet gives everyone the ability to share their opinions; even you can create a blog and reach out the world. But is there anyone who sees if what you write is true or not? Unfortunately, there is no one other than your viewers, who might be way too busy to leave a comment.

In this post, I will share some advice with you that can help you identify potentially fake news.

Friday, January 13, 2017

Offline Dictionary For Linux


When I had a Windows PC, I could find dozens of dictionary apps on the web; one for English-English, the other for a thesaurus, etc. Each type of dictionary came with its own app. At first, I appreciated this, after all, you could get an app for any kind of dictionary you wanted. As a Linux noob, I always missed this one particular feature.

But the fact is that Linux has a much more flexible way to do this (as with most other things). It is called a DICT server. DICT is a protocol where a client requests for a word and the server looks into multiples databases returning the result. What is flexible about this method is that you don't need multiple clients for each type of dictionary you want.

In this post, I will discuss how you can set up your ultimate dictionary for offline and command line use.

Tuesday, January 3, 2017

The Monty Hall Puzzle

Credit: Rebrn.com

Marilyn vos Savant is the name of the lady who holds the world record for the highest IQ. She hosted a column in the Parade magazine called "Ask Marilyn." From one of the readers, she received a letter asking for a solution to the following problem:

There are three doors, two of which have goats behind them while one of them have an expensive car. The gambler chooses a door and the host, who knows what is behind each door, shows that behind one of the other two doors is a goat and offers the gambler, or the player, to switch. Should the player make the switch?

Saturday, December 31, 2016

Why Isn't 1 a Prime Number

Credit: ValueWalk

A number divisible only by 1 and itself is considered a prime number. 1 seems to conform to the definition; it is divisible by 1 and itself and by no other number. But the definition of prime numbers excludes 1. Why?

Many people think it's because, in the case of 1, 1 and itself are the same number. But this is far from the truth.

Friday, December 30, 2016

Bisection Method of Finding Square Roots

Credit: OpenClipart.org

While you already know how to find the square root of a number, you might not be able to describe the process efficiently and precisely to a computer. This could mean embarrassment if you are a computer programmer. Knowing an algorithm is also required of a mathematician. Moreover, knowing something new is always good for knowledge-seekers (which I assume you are if you are reading my blog).

In this post, we will look at a good-enough method of finding square roots, known as the bisection method.