Wednesday, May 13, 2015

Weekend Gateaways

Travel blog, started with the weekend gateaways from Mesa, Arizona in USA.
Check out the new section on Travel Bugs.


Tuesday, May 5, 2015

Einstein Riddle

According the post in Newspaper Guardian. ALex Bellos column, here goes the PROBLEM STATEMENT

Many variations have appeared over the years, including a simplified version in Harry Potter and the Philosopher’s Stone. Here I’ve updated the puzzle to reflect the 2015 Election, and the news story two weeks about the woman who painted stripes on her Kensington house in a protest about planning regulations.
You may or may not be in the one per cent. But are you in the two per cent?
There are five houses with the outside walls painted in five different ways. David, Ed, Nick, Nicola and Nigel each live in one of the houses. They each drink a certain type of coffee, have a preferred mode of transport and keep a certain pet. No owners have the same pet, the same preferred mode of transport or drink the same type of coffee.

WHO OWNS THE FISH?

Nicola lives in the tartan house.
Ed has a guinea pig
David drinks mochaccino
The paisley house is on the left of the gingham houseThe owner of the paisley house drinks flat whites.The person who drives by car has a squirrel.
The owner of the striped house travels by bike.
The person living in the centre house drinks double espresso.
Nick lives in the first house.
The person who travels by train lives next to the one who has a pitbull.
The person who has a badger lives next to the person who travels by bike.
The person who travels by plane drinks chai latte.
Nigel goes everywhere by foot.
Nick lives next to the polka dot house.
The person who travels by train has a neighbour who drinks decaf.
For the sake of clarity: the houses are adjacent to each other in a line and the directions are from the perspective of someone looking at the houses. And any resemblance of David, Ed, Nick, Nicola and Nigel to the party leaders is purely coincidental. You have to solve this problem by logic, not by having had a coffee with any of them.



For the sake of clarity: the houses are adjacent to each other in a line and the directions are from the perspective of someone looking at the houses. And any resemblance of David, Ed, Nick, Nicola and Nigel to the party leaders is purely coincidental. You have to solve this problem by logic, not by having had a coffee with any of them.


Here goes the solution, as scribbled in my notepad

Nigel owns the Fish.


Thursday, April 23, 2015

Learn MongoDB

Mongo(humongous) DB, the database which can store large amount of data. The best place to learn is none other from the horse's mouth...MongoDB university. It's completely free and the best one.

They have excellent courses, for app-developers (python is the language used for developing the blog app, but no prior knowledge is required or any other language/frameworks like ruby/rails with ruby-mongo drivers or mongoid gems are good enough too).

There are courses for DBAs & advanced concepts using MMS (Mongo monitoring services) too in other curriculum.

There are also other courses from Udacity

This one is a nice blog, explaining how can a toll be deeloped using MEAN stack using MongoDB aggregation pipeline for comparing the salaries by different Govt professions in USA. 

So, in case you are interested and just wnated to know what this Mongo thing in the DB world, just take a deep dive and happy mongo-ing :) 

Ansible ... the easier of the configurition management tool

If you want to keep your servers up and running in a spin , then are good  choices of such tools like chef / puppet /ansible. In case you want to learn ansible from scratch, which is an agent-less configuration management tool there are some pretty cool tutorials.

1. ryan eschinger daily emails delivered in your inbox. Signup for his newsletter.

2. There are some paid and few free too, in Discover Ansible.

3. I completely love the tutorials from Digital Ocean site, they are crisp, easy to grasp and concise.

Notes: It's easy if we have a basic background of the server/OS which we are trying to provision (set up the necessary softwares). For eg. if I am trying to install all related softwares to run a Ruby on Rails app in a linux machine, some linux terminologies will be helpful. For in depth concept, google it out and read from the linux man pages.