random.rants()

  • definition of AI

    August 16, 2018 by

    At work, there’s a very interesting debate going on what is the correct definition of Artificial Intelligence. The word AI has become more of a cliche these days but I believe there is still merit in having your own good definition of what it means to you and your organisation. Here’s my 2p worth… If… Read more

  • python decorators

    March 21, 2017 by

    Its very important to remember that in Python, everything is an object. Functions are objects, classes are also objects. By virtue of being objects, they can be passed around. And they are mutable (which means they can be modified). Think of a situation where you want to measure the time each function takes to execute.… Read more

  • myths about “big data”

    February 27, 2017 by

    If I could borrow the neuralyzer for just one day, I would erase the phrase “Big Data” from the memories of all people. Since you are reading this, I assume that you’ve definitely heard of what Big Data is and if you are like most, you have more questions than answers. People selling Big Data solutions… Read more

  • time is like orange juice!

    February 15, 2017 by

    According to my orange juice theory, a day is like an orange and the amount of time that you have in a day to do your tasks is like orange juice. With the right tools, techniques and determination, you can always squeeze a little bit more (juice) out of your day.   image credit: http://www.orangejuicer-review.com/wp-content/uploads/2015/10/orangesqueezerbestreview.jpg  

  • python functions and callables

    January 20, 2017 by

    Python is a good, strong Object Oriented Programming language and it was never designed to be a functional programming language. You can read a bit about the history here. Having said that, Python does have certain useful functional programming features which we discuss below. Function as first class citizens All functions in python are in… Read more

  • tips on writing beautiful code in python – part 1

    January 19, 2017 by

    I’ve been programming in Python for over 7 years now and I must say its the most beautiful language I have ever worked with. They say “beauty lies in the eyes of the beholder”, but when it comes to Python, the language itself is designed to look beautiful. Ok, maybe I am a bit biased… Read more

  • playing with IRIS data – KMeans clustering in python

    January 11, 2017 by

    I was revising my statistics and data analytics notes from my dog eared handwritten notebooks and thought it would be a good idea to transfer the notes online. What better place than the blog. Here is a quick and simple example of the KMeans Clustering algorithm. And to demonstrate the algo, I am using the infamous… Read more

  • life’s too short

    November 12, 2016 by

    Its really too short to worry about a lot of things we unnecessarily worry about. In the grand scheme of things, our lives are scarily insignificant. Stuff has been around for billions of years and will continue to be around far longer than we can possibly imagine. Its only wise to enjoy this small life doing… Read more

  • ethical selling

    September 3, 2016 by

    Is it really possible to sell ethically? What is unethical selling by the way? “Selling something that you know is not the best for the customer, but it makes you money, and you go ahead and do the sale.” That’s bad. Its worse than stealing and it should be punishable just like any other crime. So,… Read more

  • opportunistic fraud

    August 3, 2016 by

    I did something very wrong yesterday. And I want to share with you all the cost of simple wrong doings. In Prague, taxis are notorious for cheating tourists. We were conned by the taxi guys when we took two cabs from train station to the hotel. They charged us 30 Euros for a ride that… Read more

View all posts