Sunday, September 18, 2016

[Old] Python at Netflix



I was going through the old "watch later" stuff in youtube and found this. This is pretty old but has got some good information on how netflix used to use (and still uses) python in their production environment. Slowly they migrated from Java to Python just to keep up the pace with their Java guys and the end result was insanely awesome!

Enjoy the video ...




Saturday, March 12, 2016

Becoming lazy has become part of life now :)

The reboot history says it all ...


Sunday, December 21, 2014

[Mangement] Managing millennials (most workforce)

I was reading a blog that had quite interesting topic "How to Manage Employees Smarter Than You Without Looking Like an Idiot", Most of the blogs now are focusing on millennials and their versatility towards work and progress. This one was amazing: http://www.entrepreneur.com/article/241039

Thanks #Entrepreneur

Monday, August 25, 2014

SQL server 2014 - Cardinality Estimation

Cardinality in data models determines how one table is related to other tables. In sql, cardinality determines uniqueness of data.

There are three types of cardinality
  • High Cardinality
  • Normal Cardinality
  • Low Cardinality
High Cardinality refers to the data which are uncommon or are unique as compared to other values in the same column. Medium Cardinality determines data that is not uncommon but can improve query performance if the index is used. Low cardinality refers to the data which is common in the column and hence in some cases should be avoided with index usage.

Cardinality estimator is redesigned in sql server 2014. One can test the query performance by just altering COMPATIBILITY_LEVEL parameter of database.

COMPATIBILITY_LEVEL -> 110 (SQL 2012)
COMPATIBILITY_LEVEL -> 120 (SQL 2014)

 Note: even though we've got sql server 2014 engine, the compatibility level of database is to be set to 120 i.e. sql 2014.

I'm using Adventure works 2012 database, just altered the compatibility from 110 to 120 and brummm !!! see the performance:

-- Query 1
ALTER DATABASE AdventureWorks2012
SET COMPATIBILITY_LEVEL = 110
GO
exec [dbo].[uspGetEmployeeManagers] 10
go


-- Query 2
ALTER DATABASE AdventureWorks2012
SET COMPATIBILITY_LEVEL = 120
GO
exec [dbo].[uspGetEmployeeManagers] 10
go




 


 For Further information:
Doc Ref: http://msdn.microsoft.com/en-us/library/dn600374.aspx

Tuesday, March 18, 2014

Reading with fillip


Take Me Home: The Inspiring Stories of 20 Entrepreneurs from Small Town India with Big-Time Dreams
TAKE ME HOME
Entrepreneurs read a lot of stuff that inspires them, on same lines I've started reading a lot of books. At HBS the method they've acquired for making great management professionals is by making them study case studies, actually A LOT OF THEM.  Read it somewhere that HBS wants you to read their 300 case studies even before starting your first day at HBS. That's like huge number.

I wanted to read something similar which can give me a lot of case studies but of experienced Entrepreneurs of 80s. It's when I came across Rashmi Bhansals TAKE ME HOME book, which gave me stories of 20 Entrepreneurs, who started from scratch and touched the tip of iceberg. The lessons they learned from their failures and how the converted those difficulties into opportunities is the only point which made me read entire book. However for people who haven't read Rashmis other books, the book seems a bit monotonous and at some stages mercurial.


Behind the Beautiful Forever
Behind the Beautiful Forevers
Anyways, I've ordered a new book on amazon, it's called Behind the Beautiful Forevers: Life, Death and Hope in a Mumbai Undercity by Boo, Katherine. These books inspire me a lot. The success stories that turned failures into their huge success. I feel real journalism inside them, as if they want to tell stories of how they contributed in our countries growth.

Looking forward to have this book as early as possible, amazon.in is awesome in delivery. Let me know if you guys have got good reviews for any of these books. Tell me more about these books if you've got similar taste.