Buying GitHub – A very smart move by Microsoft !


I have been wanting to write this from the time I saw the first tweet on the topic few days ago. Lets just say life got in the way . Also, as always – this is just my personal point of view and not that of my employer.

For what its worth – the visual I had in my mind when I saw this news was of Satya Nadella typing “git init” on a black command line interface 🙂

As with all such news – the first two questions that came up were 1. Is it worth 7.5B dollars? and 2. Why Microsoft ?

$7.5B is a big amount to pay for any company, especially one that only generates $300M or so. So clearly MS was not buying this for revenue – or at least not just for revenue alone.

The most obvious reason is that this is a good way to get 28 million developers attracted to  Azure. It needs to be done with finesse as it will be a disaster if developers feel bad about it and leave in large numbers. Success of a platform is a function of the quality and quantity of developers building stuff on it. Given Satya has pivoted MS to be a cloud company, this is a very smart way to get access to several million developers in one shot.

Software development always was a social activity . When I started as a developer, Clearcase and Visual Sourcesafe were the primary options for repos. And between whiteboard and emails we used to resolve “contentious” issues. Github formalized the “dysfunctional family” nature of development teams to a sustainable method. Passive aggressive nature is now easier to demonstrate via pull requests than ” reply all” email threads 🙂 . I think GitHub also reminds us every day that software development is a journey, not a destination. Nothing ever is finished 🙂 . And special kudos for doing all this without spamming us with ads !

Its not a beginner’s tool kit – I still am afraid to do merges and I have been a developer a long time. But – despite its quirks, without GitHub I doubt software development ( definitely the open source side ) would not have made the kind of progress in the last decade.

Microsoft being a software powerhouse – and especially since they have found religion on open source – I generally think GitHub will only improve in functionality. And maybe even less scary to use for less experienced developers. And MS is very active on GitHub themselves – and most of us useVS Code and Typescript routinely. Their own products have also moved in many cases to opensource from .Net . No one will question the credentials in opensource for Friedman, the new CEO from MS for GitHub either. One of the first things he said was that investment in Atom will continue in parallel with VS Code, and that there won’t be ads in public repos – clearly showing empathy for developers who passionately love their tools.  So there is no shortage of authenticity and consequently MS can expect to get some respect from the dev community. I generally don’t expect to see mass defection of developers elsewhere.

There is one more aspect on the acquisition that interest me. MS had recently bought Linkedin. As someone who hires a lot of people every year – especially technical talent – I can’t help but admire the strategy from that perspective. When I hire an engineer, I check their linkedin profile, and I check GitHub to see their code. I can’t wait to see what integration will happen between the two.

Having the functionality of GitHub provides MS with a lot of product possibilities – from the obvious idea of integrating with their existing toolkit, but also perhaps using the same idea of collaborative development to non code scenarios. MS potentially can also give some turbo charge to GitHub Market place. I am very curious and will be watching the space closely.

With all the goodness comes plenty of headaches too. Facebook was cool till the Russia thing came up and questions started getting asked on what FB is actually responsible for. GitHub has 85 million repos. What will a big company like MS be held responsible for what gets developed there ? What about free and competitive software that potentially hurts MS revenue or worse perhaps invade someone’s privacy and security ? What about some country insisting on censoring ? Its a lot of headache if things go wrong – so I hope their business case tells them its net goodness despite the potential for problems.

So all in all – I think this was a very good move by MS.

 

Advertisements

Is the I in AI incremental and dumb ?


First, pls read this important blog from my friend Den Howlett of Diginomica . He raises several important questions and I thought I could share my personal point of view on those topics.

Terminology hell is absolutely real, and is a pain. But it’s not a show stopper

Den makes a valid criticism of loosely used terms like AI, ML, DL etc – and my favorite “transformation”. There is no defense there – people use these terms without knowing what they are talking about . Even today there are religious debates about the difference between reporting, BI and analytics . The question is – does it matter ?

I would suggest that it does matter – but perhaps not to the extent it gets bad press for .

You can’t stop people from using terms loosely . I don’t talk to my clients about “AI strategy” – I tell them what AI can and cannot do in the context of their business . Decision makers who are waiting for terminology to be consistently used before they move – well, the world will move on and they will just idle away to obsolescence . I have no sympathy for such people, assuming they even exist .

While knowing the exact cooking process of your favorite pasta dish , or the transmission design of your favorite car is pretty cool and intellectually satisfying – you don’t need to know any of it to enjoy eating pasta or driving that car . It’s high time we move the conversation to what AI can do, and with what trade offs – and away from how it is done and what is behind the curtains .

What exactly is intelligence ?

Thanks to science fiction and tech commentary (are they so different ?) , a lot of people do in fact think that AI means a computer that thinks and acts like a human being . This is – illogically in my opinion – often extended to if it is not totally human like, then AI is useless . Another version of this is the Pooh Poohing of “it’s not AI – it’s predictive analytics , stats and math” .

While all that makes interesting reading and none of it is actually false – it is also a low value discussion for a business decision maker .

AI – or any tech for that matter – doesn’t need to do everything a human can do for it to be extremely useful for a business.

For example – using visual recognition techniques , you can probably detect poor quality in a production line better than humans can. The machine won’t tire or get bored and once it gets smart – it can pass the smarts to another machine easily . A human cannot do that . On the other hand – a human can see more things and make more inferences based on other inputs like sounds and smells . So would you say the machine is useless or dumb because it can’t do what a human does ?

I often hear my fellow math geeks criticizing ML as “it’s all mostly just curve fitting”. They are not wrong at all – except , they don’t always immediately see the value of an abstract statistics concept being used to save or make money for a business. If the math geeks had a good way of translating concepts to business solutions in the past – instead of AI getting hyped , we would have seen math getting hyped as a topic.

Is it really transformative ?

Transformation – digital or otherwise – is one of the most debated terms. We will hear all kinds of criticism about “but they can’t do what uber does” or “that’s just cost cutting, not transformation” and so on . Again , all valid and there is no one playbook outside the power point and blogger world .

Incumbent large businesses all have baggage . If they can’t cut costs somewhere – they generally can’t invest meaningfully in other areas. That’s the world my clients live in – and consequently that’s the world I live in . But cost cutting is also used sometimes for pure bottom line reasons – which of course the transformation pundits think is uncool . I have no problems with any of this – decisions should be made by people who are in the hot chair , and they are the ones who live with the consequences . It’s a free country and all of us should feel free to air our difference of opinions too . Beyond that – I think it’s a world of diminishing returns to worry about “is this real transformation?”.

Some techniques that are now under the umbrella of AI have also been used for a long time in areas like predictive maintenance with varying levels of success. With advances in math and computer science , as well as cost decreases in hardware – the value add is much more now . But can we claim it as AI success ? One of the most useful features in our digital life is the battery charge indicator on our devices including electric cars. Some of those devices use machine learning to determine how much charge is left – and that logic also falls under the umbrella of AI . Can we call it transformative ?

In my business, we use a Watson based solution to scan through contracts to check for compliance . Previously it needed a senior person to read through every page and now the senior person only needs to read the contracts the system flags for review . It is transformational for me and my colleagues – but will it pass an AI or transformation sniff test for someone who doesn’t have to deal with contracts frequently ?

Is AI any better than a decision tree or a rules engine?

To begin with – AI is not a “cure all” thing.

It will peacefully co-exist with whatever else is out there today and add value to it . Rules engine is a perfectly fine approach – and often the only choice in some situations.

For example – when you swipe your credit card at a merchant , you need a decision in a few seconds . Most payments companies use sophisticated rules engines (some of them implemented as decision trees) to make that decision in near real time . There is nothing wrong with this . But the credit and risk modeling that happens behind the scenes that eventually is the input to rules design is often a machine learning model . So can we call this AI now ?

When we get into debates of “Is AI performing better than rules engine” we should ask the question – what is the right tool for the problem ? For example – if the rules are static for a long time, there is no reason to try to replace it with AI . If the rules need to evolve with time and manually keeping them updated is a problem – AI may be the solution . The reality is – most of the time they will co-exist.

Is ML and DL limited because of training needs ?

Of course it is – and especially so if you are on the bandwagon of anything less than artificial general intelligence is low value .

It’s absolutely true that AI systems based on ML and DL need a lot of training data and human input and time to learn . Machines are nowhere close to human brain in making what are obvious connections .

When my daughter visited the Phoenix zoo for the first time – she recognized animals from the couple of pictures she had seen in story books . A Deep learning system would not have made that connection . The difference is – a DL system can keep learning and practicing and can make sense of subtle changes in images that humans probably won’t catch – like a variation in a medical image. So the use of “limited” in this context, ironically, is limited 🙂

Is there value in AI in the world or ERP ?

The four examples provided by Sven in that blog are good and practical . But perhaps they don’t come across as sexy AI use cases on first glance for people who don’t use such systems every day . Ironically – it’s the non-frequent users of enterprise systems that often find the most value in AI . Learning how to navigate a purchase order screen in SAP is a complex task . Someone who wants to place an order twice an year should not have to go through that pain – a conversational interface is awesome for them , as is a natural language search for example . Ask any of those users if this is incremental value or transformational . My bet is that they will respond it’s transformational . We can of course argue that it is not because of AI and it’s because ERP set the bar low originally 🙂

SAP spent a lot of time on getting database and UI right and are a little late into AI . But they are a large company with great business knowledge and tech competence . I fully expect a lot of AI driven functionality across their suite to come up in near future .

What about ethics ?

If there is one area of AI that constantly gives me grief – it is the topic of ethics . I have written and spoken a lot on this topic (and will continue to do so) and I don’t think we have done enough to address this .

So what’s the net net

1. People who don’t take the time to understand the basics of the topic say irresponsible things . They deserve to be called out and criticized in public by sharp observers like Dennis

2. The terminology hell is real. But it is not as big a deal as it is made out to be . And we can help keep it minimized by not feeding it

3. Business world should shift thinking to applied AI and not get worked up about when AGI will come . There are plenty of deep specialists who will take care of research and so on and we should support them

4. Techniques that get bundled under the umbrella term of AI are mostly solid and have been around for a while . Advances in math, science etc have made it more realistic to use them in day to day business . We should worry about whether we can apply those techniques to better our business and stop debating whether it’s attributed to AI or not

5. AI has plenty of limitations and is way too narrow to make comparisons to human brain . But in those narrow fields it often can be more efficient than humans .

6. If we should focus on one area to debate and raise awareness, I propose we do it on the topic of ethics/laws/privacy . That’s where all the goodness can erode very fast

Why I support Red For Ed


Public School teachers in Arizona are on strike today and tomorrow and my daughter has to stay home . This obviously creates some challenges for my wife and me . I am not a fan of my kiddo missing classes – but I readily support this strike !

To get the gravity of the issue – and how long this issue has been left unresolved , look at the picture below that I got from my twitter feed today

First and foremost – the person who has influenced me the most in my life is my late paternal grandfather , who was a history professor . He and many other teachers gave me a launchpad , and I will be forever grateful for that . I want my daughter and other kids to get a similar high quality education .

In 2004, we bought a house in South Phoenix . In 2005 we had our daughter and we quickly realized the local schools were not going to give her an ideal start in life . We moved to Chandler and have been there for the last 13 years . We love the school and support the school and it’s teachers any way we can . And we are one of several families who appreciate and hence contribute to the school system in various ways , financial and otherwise .

Unfortunately our school and a few others are the exception to the rule . Arizona is pretty much bottom of the list nationwide on quality of education . Not surprisingly, the teacher pay for our teachers is not anywhere close to the national median either .

These teachers deserve a lot more . They are not just underpaid – they are quite overworked too . For the type of pay they get – we won’t get the teaching talent to make a difference. That affects my daughter and kids like her . That is not going to prepare these kids for a bright future and it’s short changing the future of our wonderful state .

Teacher pay is not the only issue to tackle here – the school buildings are crumbling , and text books and computers need refreshes .

Legislators and the administration have chocked the public school system for a long time . Educators – and students – have suffered the injustice for too long . The walkout is not a knee jerk reaction . It’s the result of long term neglect .

These teachers have families too and bills to pay . If the government doesn’t show the required compassion, between the pressure from parents and their need to pay bills – they may return to teach against their will and principles . I hope that is not how this ends.

I am absolutely disappointed by some of the commentary I saw online this morning calling for the striking teachers to be fired , accusing that they are looking to be paid like doctors , that public schools should be shut down for good and so on . This is a state that has a business friendly tax structure with plenty of tax cuts . It should be balanced by doing what’s right for the school system .

By all means if the teachers don’t have the right background and skills , let’s address that . I am all for higher quality of teachers – but then let’s treat them fairly . And let’s proactively do this without forcing strikes and loss of school days .

Parents like my wife and I – this is a major difficulty when you have to disrupt work to make arrangements for day care etc , and often at unaffordable costs . It’s natural for parents to feel angry and frustrated – especially since many of us help teachers with volunteer hours , supplies and so on . All I request of them is to show that same support for a bit longer to let the teachers get a fair deal , and direct your anger and frustration at the government we elected . Call your legislators, the administration and anyone else who can help, and voice your support .

I will finish with a question to the teachers – did you think through all this while you voted for your favorite legislators last time ? If you did not – it might be good to introspect and act accordingly next time .

The future isn’t all what it used to be anymore


This is really difficult for me to say since optimism about technology making our future better is what has kept me going all my adult life. It’s why after a degree in mechanical engineering and an MBA , I chose to be a programmer . It’s also why despite multiple leadership opportunities on sales and general management, I continue to be a hands on technologist .

It’s not that I have become pessimistic suddenly about technology’s power to transform society today – nothing could be farther from truth . It’s just that I have a lot more pessimism about the humans who use and control the technologies that will impact us .

I have been quite an active participant on social media – especially thanks to the easy access via my iPhone . Between Twitter , LinkedIn and Facebook – I have more than twenty three thousand or so connections (including some duplication for sure). On twitter – I only follow about 150 people, mostly because I can’t keep up with a larger feed . I strongly believed that this network has given me mostly net goodness.

I have thought a lot about what is my primary principle for social media . I think the honest answer is convenience !

I do 90% or more of all my social media activities on the apps on my phone . At some point, I started accepting vast majority of connection requests without too much due diligence – clearly not a smart idea and I am slowly cleaning it up now. I haven’t fiddled with ALL the privacy controls on each platform . It’s not that I was fully ignorant of what these platforms did with my data – just that I didn’t think of it more than as a nuisance with a bunch of merchants trying to sell me stuff non stop . I have often discussed with friends from my line of work how some of these targeting algorithms could be optimized to make it less annoying .

Then this Cambridge Analytica thing came out ( and the continuing conversations about the Russian influence on elections) , and yesterday night I read Zuckerberg’s response on Facebook . It’s extremely depressing to say the least .

The irony is that yesterday night is when I reinstalled the FB app back on my phone after a month away from it – and the first thing I noticed was Mark Z response ! I did go and tighten privacy controls as soon as I read it !

I work in analytics and AI – and have a special interest in getting insights from unstructured data . That means I do know how easy it is for FB and others to gain a very deep level of understanding of our lives . I also don’t think that privacy controls by themselves are of significant benefit . When you have a lot of data from a lot of people – you don’t need every last bit from every individual to get the deep insights. I will spare the tech aspects here – but suffice to say , these platforms have disproportionate power even if we assume they are all angels . We also know by now that they and the people they give access to our data are not exactly angel like .

I do value the ability to stay connected with friends and family . I also enjoy the vacation pictures and puppy videos . So the only solution I can think of is to significantly reduce what I discuss on FB etc. I didn’t miss Facebook when I stayed away for a month . So I also wonder if I could just get out of it for good and be done with it . I know I am not alone on these thoughts .

There is an interesting cross cultural aspect to consider too . I have spent a lot of time in Europe thanks to my work . There is no comparison between US and EU when it comes to privacy . If I lived in Europe for longer , I seriously wonder if I would have traded privacy for convenience . Plus the government wouldn’t have allowed a lot of what FB etc has gotten away with in US . Given its global reach , I do expect FB to get hauled up in EU at some point soon .

Then there was the poor woman cyclist who was killed by an autonomous Uber car in Tempe , AZ . It’s not very far from where I live – so this hit home harder than usual . Tempe police has released a preliminary report and video (Its disturbing – so not linking it here) . I really wish the lady was way more careful about crossing the road at night . Such a tragic end ! I am not at all a legal expert – but it’s quite possible in my view that law might blame the lady and not hold Uber responsible for this accident .

I have a big interest in the topic of man and machine working together, and have written and spoken about it a lot . A critical question here is whether a machine should be held to a significantly higher standard than a human in similar situation . Several of my friends think a machine should be held only to the same standards as humans.

For at least two reasons , I actually think machines should be held to significantly higher standards than humans

1. A machine is more efficient than humans and can keep getting even more efficient in lesser time than humans by comparison . So the flaws in those machines are also amplified several fold more thanks to mass production of machines . We can’t risk the world being full of half baked machines , irrespective of benefits in cost and convenience . No price is too high when it comes to protecting human life

2. A Machine can make faster decisions than humans and use more sources of information than a human can to make those decisions . At the same poor visibility , a human driver probably will have made the same mistake the autonomous car did – and that’s a fair argument. But vision is not the only sensory option for the car – motion detection , heat detection etc are all options and there are plenty of sensors/actuators/radar/lidar on such cars. And the cost is also declining pretty fast. So I think it’s a false equivalency to say a human driver would have made the same error and hence the machine should get a pass .

And in the video – it looks like the driver sitting there didn’t notice anything till last second , arguably because of the trust in the machine to do a good job . This trust is what worries me . In the situation where there is a passenger in front of car is straightforward – the car should break . It could get much worse in cases where the decision is a choice between two bad options like hitting one person or hitting another via swerving. If the straightforward option itself is not reliable , how would we expect the machine to react in more complex situations ?

I think Uber did the responsible thing by pulling the self driving cars off the street . They are also apparently fully cooperating with the investigation . I also think AZ authorities are correct in not making any snap judgements on tightening regulations.

This should wake us all up – testing autonomous systems is quite hard to begin with . And it needs a lot of inter disciplinary research investment to get better and more consistent . We are not exactly short on money or talent to get it done – we just need to put safety as a bigger priority than it is now . I love capitalism as much as the next person – but commercial greed just cannot be allowed to over rule safety under the branding of capitalism

I absolutely think our future is still about technology doing good things to improve our quality of life, including social media and self driving vehicles . But it’s high time we took a long and hard look at what are the top priorities in our quest to get there . Better , faster , cheaper is not enough – we need to add SAFER as a first rate citizen into the value proposition and it should not be negotiable !

12 questions that I get asked the most about social media


A lot of people know me primarily through social media – this blog ( and SAP blogs in past) , LinkedIn , Facebook and Twitter . This has generally been a net positive experience for me .

I have been stopped for conversations at airports around the world by random folks. I have walked into meetings with clients where they knew my point of view from my social media posts and hence felt like they knew me already . I was quite active in training and showing dogs till few years ago – I keep in touch with them on Facebook . I have hired quality talent , and made great friends over LinkedIn and Twitter . Just last week a guy who went to college with me and stayed at the same hostel in India – he was in Phoenix for a conference and looked me up on LinkedIn . We had lunch at my house and caught up after a few decades . The list goes on and on – and it more than makes up for the handful of terrible experiences I have had on social media .

I routinely get asked a bunch of questions about my views on social media and how I use it – mostly by people who want to learn , but occasionally also to just imply that they don’t think very highly of it

So I thought why not just address the common questions here .

1. You seem to have a lot of time to be active on social media . Don’t you have a real job ? I can barely keep up with my day job

Contrary to popular belief , I do have a real job and that needs my full attention 🙂 . However , over time I have figured out how to integrate social media into my daily routine . I generally use social media only on my phone – including for long form blogging. That saves a lot of time .

A lot of what I write about is of course regarding my day job . The conversations I have with my clients and colleagues and people I meet on my travels are usually the triggers for my posts .

We always find time for what we like and prioritize . I like to eat Indian food and don’t mind driving 10 miles extra to find an Indian restaurant . Another person might like working out daily and will spend that time running or finding a gym. “I don’t have time” translates usually to “it’s not important for me”.

2. Aren’t you worried about what you say openly in public domain ? Does your manager yell at you for writing something ?

I only talk about my personal views – and usually only about things where I have a strong point of view. So I don’t feel any worry . If I suspect people will mistake it as my employer’s opinion – I state upfront that it is just my views . It has worked well for me so far . I also have no problem standing corrected in public when proven wrong .

Thankfully none of my managers have ever yelled at me for blogging (they do so occasionally for others things) – and have only encouraged me to do so . And I have been their mentor a few times to ease them into social media.

3. Do you have a time table for social media ?

No I don’t blog or tweet at set times . I say something whenever I feel inspired to do that . I don’t check what times I should post to make biggest impact . I don’t aim to get a certain minimum number of page views. I do check statistics on my blog when WordPress alerts me and it’s usually something like “20% of what I write get 80% of views” . Time tables and fine tuned analytics work for many bloggers I know personally – I just haven’t taken that route yet .

4. How do we get started on blogging , twitter etc ?

I can only say how I progressed . My primary use then and now is as a source of curated information . I read at least 10x what I write . Then I started commenting on blogs that I started following . It took me a couple of years to have the confidence to write a blog myself – that was on SAP SCN site . A few years later I figured I have things to say that have nothing to do with SAP – so I started this blog on WordPress .

Twitter use has evolved over time . I use it less and less these days to say something . But it’s still one of the best places to get information . I only follow 150 people there and I think close to 9000 people follow me . Some folks think it’s rude to not follow back . I ignore that policy – I can’t stay on top of a feed any bigger than what I have now . I keep changing the list every now and then .

5. Do you only talk about work ?

Hell no ! I write about anything around me – politics , religion , economics , cricket, dogs … whatever inspires me is a fair topic . Some folks aim for depth on any one topic like Technology . That’s not my approach – all topics that interest me are fair game .

I try to not deviate from work related stuff on LinkedIn . But the truth is all popular social media platforms now have content overlap . You can use the controls they provide to tune your experience to some degree but it’s hard to completely set hard boundaries . I do have a handful of work friends on Facebook for example – and it has not stopped me from expressing what I have to say .

6. Do you take a break from social media ?

Yes I do ! Throughout the year , I take a few months off each channel I use . At the moment, I am out of Facebook . I delete the app on my phone to prevent the temptation to take “a quick look”. These breaks are one reason I continue using these platforms over the years . It also gives me time to read more books !

And there are a few months every year when I just can’t find any inspiration to blog . I have considered just giving it up altogether . But then magically one day I feel like it again and I open the app. The opposite also happens occasionally – I will post multiple blogs back to back .

7. What does success look like ?

For me , engagement is the big prize . When people comment and share and email me about something I wrote – I feel I did something worthwhile . Page views are a feel good metric too – and over the years a lot of page views happen for reasons I can’t always explain rationally . Some of the blogs that I thought I wrote terribly have had the most views – and sometimes even the most comments .

I push all my blogs to LinkedIn and twitter . And if I see someone tweeting or sharing , I will retweet or like. That’s the extent to which I promote . I don’t do any active SEO etc . As the networks have increased over time for me in various channels , I do get more people reading and commenting .

8. How long should a blog be ?

I am a minimalist by nature and quite lazy . So I try to use the minimum words to state my point of view. English is not my first language – so I don’t always succeed . Since I read most blogs on my phone, I tend to favor shorter blogs . There are amazing bloggers who do 5000+ words on average – I don’t have it in me to do that . 1000 to 2000 words is the most I can do.

9. Does someone review what you write ?

Not at all . I am kind of ashamed to admit this – but I also don’t do any proof reading or spell checks . When I finish typing, I hit publish . My wife usually spots errors when she sees it on her feed and routinely criticizes me on not being more careful . Generally this has worked for me so far so I don’t think I am going to change it . On the flip side – this is my biggest fear about writing a book . The process of professional editing scares the crap out of me 🙂

Strangely – I am fanatic about proof reading every document I create at work .

10. Who is your target audience ?

This may not come across very well – but the truth is – I write for myself . I like to believe someone other than me and my mother will find what I write to be useful – but as I mentioned before , only a relatively small proportion of what I write evoke any reaction from my readers . I am cool with that . When I do get feedback , I incorporate it as much as I can the next time I write .

11. Has blogging helped your career ?

Oh yes , without a doubt . While it’s hard to make a specific attribution – blogging and tweeting has generally been quite helpful in making me stand out at work. And as I said before – knowing my POV through my writing has generally been a help in my interactions with clients and business partners . To the best of my recollection – I have never been promoted or given a raise because of what I do in social media . I have been asked this a lot over the last decade . Career progression has historically been generally all tied to traditional metrics likes sales and delivery numbers and people management and so on . But indirectly , social media has only helped my case .

12. Do you use your blog to evangelize your employers products and services ?

In general, I don’t . I don’t think I sound credible pimping what we sell . However – I am very proud of where I work and what we do . So that might occasionally reflect in what I say . There are a few notable exceptions to this . Last year, an analyst criticized Watson in his report and I felt strongly that it was unfair – so I posted a rebuttal in my blog . I did explicitly state though that I am an executive at IBM and I own stock in the company . I have also written about SAP HANA when I worked at SAP Labs in the engineering team .

Math and Science in daily life – Part 2


Last time, we discussed how Pythagorean theorem helps us in every day life. Today, I would like to invite your attention to Pi , a beautiful constant (yet one we cannot fully measure) that is in practically everything we see and use.

pie

Image courtesy https://firstnewnan.com/casual-pi-day/

So, what is Pi ?

The common definition is that it is the ratio of the circumference of a circle to its diameter. How cool is that ? ALL circles have the same ratio of circumference to diameter – and thus all circles are similar figures. In Math we represent it as the greek letter  π .  There is a lot of interesting trivia to know about pi – so lets start there

Pi goes on and on

π is an irrational number ( a geeky way of saying it cannot be represented as a regular fraction like 1/2 ). It goes 3.1415926535897932384626433… with no repeating pattern emerging in its decimals.  It can be approximated to 22/7 for use in daily math. Its a standard test for supercomputers to see how many digits after decimal point of pi can be computed. Practically only a few hundred are needed even for the most complex applications though.

Pi is the reason you can’t square a circle !

Ď€ is not just irrational – its also transcendental ( yet another geeky way of saying it cannot be expressed as the root of a polynomial ). Not all irrational numbers are transcendental – like for example the square root of 2 is irrational, but not transcendental. Its a very special class of numbers – mostly because it is very hard to prove a given number is transcendental. You may have heard of “Squaring the circle” as a way to say “trying the impossible”. It is because of pi being transcendental that you can’t create a square with the exact same area as a circle with a compass and straight edges. 

Pi has Indian connections 

While the origin of pi is attributed to the Greek mathematician Euclid, several Indian mathematicians like Aryabhatta, Madhava led the effort in providing proof and to calculate its value – usually based on infinite series of numbers. Its also interesting how the algorithms used to calculate pi has changed over time. It started with infinite series, then moved to iterative algorithms – and then switched back to infinite series again thanks to the use of an equation developed by the genius mathematician Srinivasa Ramanujan

OK, so now about the use of Pi in daily life

Finding the area, volume, circumference of anything that has a curve

Anything that is curved has some association to a circle in math – and circles all have pi as the ratio for their circumference to diameter. Consequently calculations for all those curved things like circles, spheres, cones, bell curves and so on ALL have pi in it.

Pi is also useful with straight lines and angles

While we commonly talk about measuring angles in degrees, math geeks measure it in radians. Quite simply a full circle is 360 degrees and in radians it is 2Ď€ radians. In other words 1 degree is π/180 radians. Thanks to pi finding its way into measurement of angles – it features in most of trigonometry as well – even though all you see is straight lines and angles between them. This extends to Calculus and other branches of math which we will explore later. Pi is the one constant that is everywhere !

Pi in the sky…and elsewhere

Every aspect of transportation uses Pi in its calculations. This one is personal for me – being a mechanical engineer by trade. Think of a plane or a car – everything from calculating surface area to wind resistance includes pi (remember all curves lead to pi !). Not only that – pi is integral to the calculation of all navigation be it in air, water or land – including finding the distance between stars and planets etc ! This is especially critical for planes that always have to fly in arcs, and where fuel consumption calculation can be a life or death issue.

Pi and the length of rivers

Prof Stolum of Cambridge University showed using Fractals that the ratio between the actual length of rivers from source to mouth and their direct length as the crow flies can be approximated to pi !

Pi is a friend of random numbers

We saw how Pi helps with curves and angles between lines. But it also shows up in seemingly unrelated domains. Here is an example – among a collection of random  numbers, the probability of two numbers with no common factor is 6/Ď€2 . If you are a math geek – you can find many other examples like this – like Cesaro’s theorem and Buffon’s needle problem where pi comes up unexpectedly.

Pi as a safety net 

Whether we are designing a beam which should not break apart from vibrations ( My mind is racing back to my machine design classes) , or a video game (much more pleasant memories from creating games on BASIC) that should not crash when users do random things – the engineers factor in some “randomness” into their model to account for real life. No surprise – all those models typically include pi ! This is just a result of something we spoke above – such probability distributions typically use “area under a curve”, and that by definition needs pi

Math and Science in daily life – Part 1


In my job, I spend a lot of time explaining technology topics to my clients in simple english. Off late, a lot of such conversations are about AI, Data science, Quantum Computing etc . Those topics are rooted in maths and physics (amongst other things), and I often find there is some fear about math and science that exists in the minds of some people listening to me, and it gets in the way of their appreciation of technology.

I am also the dad of a teenage daughter who loves math and science. From my daughter and her friends and teachers – I got the feeling that many a time students get education in math and science in quite an abstract way, and it leads them to think “Why should I really learn any of this? I am not going to use this in real life”. In a few weeks, I am going to give a talk to high schoolers on how the math they learn in school manifests in real life in ways they may not have realized .

So I am going to try a couple of posts here to see if I can explain how simple math leads to powerful and beautiful things we see and use in our daily lives. I would really love your feedback on each topic including alternate/better explanations, and also your suggestions on what else would make good examples. If anyone wants to post a guest blog – we can consider that too.

Let me ease into it with simple math and see how it goes . We can build up from there . Here we go !

Pythagorean theorem

Lets start with the very simple and quite powerful Pythagorean theorem . It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. We remember it via this elegant equation

 A2  + B2 = C2 Screen Shot 2018-03-02 at 4.33.04 PM

This theorem has been proved in several ways , so we will skip that part and get to the fun aspects . If there are three positive numbers A, B and C where A2  + B2 = C2    is true, then it means that there exists a right angled triangle with A and B as the short sides and C as hypotenuse. Some of the fun is based on this converse property of this simple theorem.

How to make square edges on your garden bed

Any three numbers which make true is called a pythagorean triple. The numbers 3,4,5 form one such triple ( 3 squared is 9, 4 squared is 16. the sum of 9 and 16 is 25 which also happens to be the square of 5 ).

Here is a simple problem – lets say you are making a garden bed to plant vegetables.  How do we make the edges square if all you have is a tape measure ? Easy – just make a a triangle with sides 3, 4 and 5 units using the tape and mark the end points on the ground. Voila – You have edges at perfect square !

How big of a ladder do you need ?

An extension of this is also true for finding the length of a ladder required to paint a wall – probably a question kids get in school exams. If the point where the ladder needs to touch the wall is 4 meters, and the bottom of the ladder is 3 meters away from the wall on the floor – the length of the ladder needed is 5 meters !

Or let’s say you want to convert stairs into a ramp on your back porch – the same concept applies .

Real engineers use this information frequently – the one I remember the most from my college days is in surveying land, finding length of trusses etc .

Planning your next painting project

Lets say we draw three similar figures using the sides of the right angled triangle forming one side of those figures. Similar figures just mean the lengths of sides have same ratios, the included angle between sides are the same.  Easy way to think about it is zooming a picture on your phone . All parts increase or decrease in size – but their ratio to each other stays the same . It does not matter what the figure is – it could be a square, a pentagon or another triangle. The area of the largest figure (the one using hypotenuse as one of its sides) is ALWAYS the same as the sum of areas of the two smaller figures. How cool is that ! See this picture from wikipedia to see what I mean

520px-Pythagorean.svg

Lets say these three squares are walls you need to paint . For the same quantity of paint you will need to paint the largest square – you can paint both the smaller squares !

How much marinara do you need ?

It’s not just about squares either – this area computation via Pythagorean triples also applies to circles . So for the the quantity of marinara you need for a 5 inch pizza can be used to coat both a 3 inch and 4 inch pizza ! If your mom is like mine – I wouldn’t advice trying this math on her while she is making you pizza . Theory of “mom is always right” over rules every other rule 🙂

If you are a social media marketer

You probably are a fan of Metcalfe’s law which says the value of a network is proportional to the square of the number of connected users in it . Let’s say you are given access to three potential networks . A has 3 connections , B has 4 connections and C has 5 connections . Since The squares of A and B add to the square of C – you get as much out of a network with 5 connections as you would get from A and B which together add to 7 connections . Spend your time and money wisely !

PS : I have my own misgivings on this – but would like to hear your feedback anyway . I didn’t come up with this myself and can’t remember anymore who told me this originally . But I have teased many a marketer friend with this at social events 🙂

What’s next

I think I would like to example the wonderful pi next . There is pi in pie !