Leadership Tales Part 1: Pran

Having worked in the high-technology world for 24 years, often in leadership roles, I think I know a little about leadership. So, I felt I should write about some of my experiences with other leaders. True leadership is extremely important not just for inspiring people to do their best, but also for people starting out in fresh careers, where they need to see very good examples so they become good leaders themselves eventually.

I was very lucky to have Pran as my first ‘real’ manager. For a short while in my first job, I reported to his manager, but very quickly the team was reorganized and Pran became my manager.

Pran was an amazing character. He was the president of the Silicon Valley Indian Professionals Association (SIPA) which he was busy galvanizing into a very active organization that brought a lot of brilliant people together to do great things in the technology world.

He was a prolific writer, and has three books and several magazine articles to his name. I co-wrote a couple of these articles in EE Times, EE Design and Integrated Systems Design magazines. I reviewed a few chapters in his first book on EDA Design methodologies, and got my name mentioned in the foreword as a result.

https://blog.shunya.net/.a/6a00d8341dd33453ef01b7c89014d1970b-800wi

Over the course of my three years at Cirrus Logic, he always got work done from me in such a way that I never felt it was work. The office seemed a very fun place to go. I particularly remember the time when I came back from a photography workshop in the Mojave Desert and got my slides processed (this was back in 1996, when film was still a big thing). I brought the slides to the office, and when I had a bit of free time there, I used it to see which slides I should keep and which I should throw. Pran joined me and even gave me advise on what he thought was worthy of keeping. Compare that to typical managers in the technology world who would frown if they saw any of their employees doing anything other than office work in the office. Because of these kinds of things he did, I felt very loyal and always gave him my best work.

In 1997, Pran left Cirrus to create his own company – it was called ByteK at that time. After a while I left Cirrus too and joined him at ByteK, the lure of working at a startup being very strong. I had a fantastic time there – I was involved in so many things, from setting up the company’s internal infrastructure, to mentoring new college grads and consulting to raise money. Pran introduced me to many new concepts such as ‘knowledge management’, which I confess I didn’t understand at that time. I was at ByteK for only a year, but I did so many things – a tool to automate log reporting with HTML output, learning Chrysalis formal verification, Viewlogic board design and Synopsys .lib to teach courses in it, taking over Pran’s course in Logic Design at the UCSC Extension in Santa Clara, creating an online course framework in Perl and PostgreSQL with Apache server, consulting at Synplicity to set up a test framework in Perl, etc. etc.

But the way I left ByteK was not very good. Pran was travelling and away for a while. I had a strong disagreement with another of the three founders and at the same time, the folks at Synplicity made me an offer because they liked my work. One day, after a huge fight with this other founder, I just left ByteK. Pran was very hurt – when he came back, he told me I should have waited to at least just talk to him. I felt bad, I had let him down, but the deed was done.

After that we did not meet much for several years. Then in 2008, almost 10 years later, I accidentally ran into him. He had an office in a building where Suhas Patil was running a startup he had created with Cirrus people. I was there because Suhas had a photo studio in the same building, from where his wife Jayashree was running Nirvana, a fashion magazine startup, and I was doing some work for them. Pran was still running the same company – a lifestyle startup now called Vitalect. He had built on the online learning framework. He was now the only founder left, running the business from the US while his engineers were all in Trivandrum, India. He had a small team, but everyone was happy and doing well.

We chatted for over an hour and realized we should have stayed in touch better. We resolved to do so, but it would be another 7 years before I met him again. I don’t remember why I reached out, but in late 2015, I did. We met for lunch at Old Ironsides Cafe in Santa Clara and talked about many things. He told me about his blog “Pakora Corner’. He was still running Vitalect, and publishing – same old Pran. He said he had had some bad health issues, but didn’t elaborate. I didn’t press either, I felt he didn’t want to talk about it. I was at Brocade then, and he asked me about some people there that he wanted to contact. Early in 2016 I called him to tell him that I could put him in touch with someone at Brocade.

He said he was busy with a bunch of things, so we should meet sometime mid-year. I contacted him again in July. He was in India – he had written a book about his friend and was in India launching it. So, we should meet later after he got back in a couple of months.

I clearly remember that weekend in September 2016. It was a Sunday afternoon, the 4th. I was at home, doing nothing much. I got a text from my friend Vishal, he said: do you know Pran? I replied yes of course, very well, why? He said Pran had died the previous day. He was in India and had a heart attack. I was shocked beyond belief. We were supposed to meet after he got back. Slowly but surely, I had wanted to build back the relationship we had had before I left ByteK. Now that would never happen. He was only two years older than I was.

I quickly called up a few of our common friends and told them. Everyone was just as shocked as I was. We started a thread on LinkedIn, and after a few days, a bunch of ex-Cirrus folks met at Aqui in Cupertino to remember Pran. It was quite nostalgic, everyone had something unique and good to say about him.

After Pran, I have had many many managers, I have worked at several companies, small and large. But I have never had anywhere close to as fulfilling a time as I did working with him. To a large extent, he is responsible for my professional success and I owe him an immense amount of gratitude – I only wish I had the chance to tell him that.


Where Locomotion stands still with Time

It isn’t difficult to find places in Greece where time stands still. But even here, it is rare to see a combination of this effect with modern technology. Yesterday, I came across just such a place, during my first visit to Thessaloniki.

None of the locals I met knew about it. They probably visited it as children in school, had a good time there, and promptly forgot about it. Nor do taxi drivers know it. Yet it is barely a 15 minute 7-Euro drive from the centre of the city. I had to get directions from Google Maps to show my non-English speaking taxi driver how to get there. Even up to the last minute, he wanted to ignore the app and take an opposite turn towards where everyone else goes. Fortunately I saw behind some buildings what I was looking for and pointed it out to him. Reluctantly he took a couple of left turns and stopped before an open gate.

It was a beautifully warm and sunny day during a cold February. There were three small buildings, with an old style of architecture and painted in warm colours. A bicycle that looked a hundred years old stood against a wall. A big dog slept in the yard and hardly batted an eyelid at me.

As I walked and looked around, a woman came out of one of the buildings and spoke to me in Greek. I said “English please” and she asked me what I was doing there. I mentioned to her that I had emailed to say I would visit, and had received a positive response. She asked me to wait, and walked into the other building. Presently, out walked Andreas Mylonakis, the person who had responded to my email earlier.

Andreas is a jovial old man with a mild manner. He looks somewhat scholarly. Indeed, as I introduced myself and mentioned Silicon Valley, he told me that he was the first software programmer in Thessaloniki, having worked with Forth, MS-DOS and assembly. He is a civil engineer by profession and worked for many years with the Greek Railways. He recently visited India, and was very impressed with his experiences in Delhi and Rajasthan. Now in his retired life, his primary passion is managing the Railway Museum of Thessaloniki, which I was now visiting.

Back in the US, when I was planning this trip to Thessaloniki, I put in an extra day since it was going to be a long weekend, due to President’s Day on February 18. Then, looking for interesting things to do, I planned a photo shoot with a local model, Spookie. Old architecture, ruins and monuments, they bore me unless there are interesting people or stories connected with them, so I figured this was a good way to experience such things in Greece. And then I looked for nice places to shoot in, found some photos on the web, and subsequently the museum.

Thus, here I was. Spookie’s makeup artist was taking her job too seriously, so they arrived over an hour late, and then it took another hour to get her ready for the shoot.

Andreas in the meantime took me around and narrated the history of the place and its treasures. He refused to take any money from me, saying instead that if I liked his tour, I could buy a calendar from him for 5 Euros. And by the way, my hotel was on his way back home so he could drop me off when I was done with my shoot. One of the best bargains I’ve had, gaining knowledge, friendship, experiencing history, doing a fabulous photo shoot, and saving 2 Euros and the entrance fee in the process!

Here is Andreas showing me around the Pullman restaurant car from the original Orient Express, where kings and queens and various important people dined.

And here is his old TI-59 programmable calculator from circa 1955, with its original box, manuals and program cards, with which he started his software work. He is pointing out the program cards which fit into a slot on the side of the calculator.

Tourists almost never come to this museum, so I was an oddity in that regard, which is why he probably was so excited to see me. The visitors to this museum are usually school children on field trips, or other students like these two girls who stopped by while I was doing my shoot.

The museum is right next to the main railway line out of Thessaloniki, so every once in a while, you get to hear and see a regular train going by.

The buildings and yard where the museum is, were built in the Ottoman era for the rail line to Constantinople. They were then taken over by the Germans during WWII. Thessaloniki is at an important intersection point of land and sea routes, so transportation was important to them, as it was for the Ottomans. The RAF bombed this area to prevent Germans moving equipment to Rommel in North Africa. Last year, construction workers found an unexploded bomb here, from a WWII RAF air strike. The authorities had to evacuate thousands of people from around the museum area and call in munitions experts to remove it. Greek Jews, more than 50,000 of them were rounded up here, the older ones sent to Auschwitz to die, the younger ones made to work on the port and marshalling yard before suffering a similar fate. There is a lot of history here.

Spookie’s makeup artist ended up with a look that was both macabre and hilarious at the same time. I’d never done such a shoot before – this visit became a first for me on many levels. As Andreas drove us back, I thought I couldn’t have asked for a better day and experience.


The Fuel Pump that would not Fit

In the early 2000s, I was working at a startup in North San José. My friend Ashwini and I would often go for coffee to a Chevron petrol station close to the intersection of Hwy 237 and 880.

One such day we were chatting and sipping coffee, when a large closed van drove up to the pump. I noticed it because it was one of those with a driver door that had glass going all the way down. Driving it was a girl dressed in black, with platinum blonde hair. I saw her stop at the pump, and then over the next few minutes, she walked back and forth between there and the shop three or four times.

Being a big fan of candid photography, I always have a camera with me on such occasions, and in those days I carried with me my trusty Contax T3 on my belt. I found this girl very interesting and decided I wanted to photograph her. So, I approached her at the pump, told her I was a candid photographer and asked her if I could take a photograph.

She looked a bit amused. Then she said what must have been one of the weirdest things ever. She said, “come, let me show you something” and led me to the van’s tank. She opened the filler cap, took the pump nozzle and tried to put it in. It wouldn’t go in because the nozzle was bigger than the intake hole in the tank filler. So of course I checked that the tank took petrol, not diesel, since that was what she was trying to fill. It did.

She told me “I’m from New Zealand”. I’d guessed she was from elsewhere, based on the accent. “I’m driving around the ‘States, and this is the first time I’ve run into a problem like this. This pump nozzle does not fit. Would you know of a petrol station around here, where the nozzle fits?”

I have to admit I was stumped. I’d always thought that price, brand, even distance are what one based one’s choice of petrol pump on. I’d never considered nozzle fit, so I had to admit to her that I did not know.

She said “I really need to fill this tank, and I’m pissed. So I’m not sure I would make a good subject for a photo right now.” I told her that now more than ever, I needed to take that picture – I’d never heard such a story as her’s, and it had to have a photo to go with it. She told me to go ahead, and this is what I got. I love it!

The pump does not fit!

Homenaje a Juan del Gastor

The first time I met Juan del Gastor was at Carl’s home in Berkeley. This must have been in 2003 or 2004. I had booked a private lesson with him to learn Flamenco guitar. My flamenco mentor, Kenny, had really played him up, and told me that this was the guy to learn from, so I had high expectations.

I did not speak any Spanish, and Juan did not speak any English, so we got off to a great start. Each of us mumbled something in our own respective languages, but he said something that made a big impression on me. He said something that included the words sangre (blood) and mismo (the same). And then he put his arm next to mine. And I understood right away what he meant.

You see, Juan is authentic gypsy. Gypsies defined flamenco over the years of nomadic life: the gitano in canté gitano – flamenco –  means ‘gypsy’. And the gypsies’ origin is in India, where I am from as well. When he put his arm next to mine, our arms looked the same. And that is what he was saying – we are of the same blood. We are the same.

Juan’s real name is Juan Gomez Amaya. He is known as Juan del Gastor because of his uncle, the flamenco legend Diego del Gastor (1908-1973). After Diego died on July 7, 1973, his guitar legacy was carried on by the four sobrinos (nephews) – Diego de Morón, Austin Ríos Amaya, and the brothers Paco and Juan del Gastor.

Over the years, I learnt a lot from Juan. He taught me many of Diego’s falsetas. Every time he came to the US, there would be some sort of event, a fiesta, or a music program, and I would take lessons from him. But every time, it was a remembrance of Diego, and Juan was the man who would deliver Diego’s legacy. I recall thinking that living always in Diego’s long shadow must have been tough for Juan. On the one hand, being associated with the legend had brought him a lot of good things he would not have got otherwise – a following in the US, some fame, and probably a lot more money than he would have made selling fish in Sevilla. But any time anyone said anything about Juan, it was always as Diego’s this, Diego’s that ….

At the end of 2006, Kenny stopped coming down to the South Bay for his lessons and story sessions (more about that in a future blog). And my flamenco guitar playing started unravelling. I did travel to Sevilla in 2007, for the Fería de Abril, and took many lessons from Juan during that trip. I also met his wife Luci, who took me to various peñas unknown to the tourists, for some authentic gypsy flamenco. But my involvement kept reducing, and in 2010, I stopped playing the guitar completely, focusing on Argentine Tango instead. I could do tango at night, after my family activities were done.

And so, I did not meet Juan any more for many years.

Recently, as you may know from another blog post of mine, I turned 50. It so happened that the very next day, Juan, along with a bunch of others, including Kenny, were doing a show at La Peña in Berkeley. So of course I had to go. I felt very lucky that the timing was so good. At the concert, I met Luci and we chatted a bit, remembering old times. But Juan and Kenny were in the room at the back where the artists were, and I could not talk to them.

Of course there was the photo of Diego in the corner, as usual, since this was all in his memory. But I felt this time, something was different. Juan’s singing was different, and at some point in the middle, I noticed something that stood out: he was playing a falseta that was clearly all his own. This was definitely not Diego – not a single note of his in this falseta. I spoke to Luci about it afterwards, I told her the falseta was really pretty, and so different – she told me that Juan gets nervous on stage, and sometimes he just plays anything. She couldn’t really recall anything different or special. I will likely never know what it was, but I felt a strange elation nevertheless. Diego’s shadow was long, but not infinite, and Juan had stepped outside it. And it was beautiful.

Here are some memories of Juan over the years.

Diego’s Homenaje at the Thirsty Bear in 2005 – Juan playing guitar:

Juan dancing with Luci at the homenaje:

And some canté:

With Juan in 2006. I’m looking sheepish because I had a tough lesson.

The famous Spanish band Son de la Frontera performed at the Yerba Buena Center for the Arts in early 2007. After the concert, we all went to Carl’s house in Berkeley and partied through the night until it was time for them to go to the airport in the morning and take their flight back to Madrid. Here’s Juan playing the guitar.

Another shot from that same fiesta:

Juan with my youngest son – for some reason the latter was quite apprehensive of Juan. Probably from the energetic way he played the guitar.

Juan in his home in Sevilla, when I visited there in 2007.

 

And finally, Juan at the concert at La Peña on July 8, 2018. You can see Kenny too, under the ‘L’. It was a fabulous concert – I hope there are many many more!

Turn Fifty in a ’69 Kombi

As luck would have it, my fiftieth birthday fell on a Saturday. My wife planned a trip to Sonoma, where we would tour some wineries in a VW Kombi, and do wine tasting. Back in the ’70s and ’80s, when my parents lived in Kenya and Nigeria, we would go everywhere in these Kombis, better known in the US as the ‘VW Bus’. So, it had sentimental value for me. The idea was to leave the kids at home, and go for a day trip, just the two of us.

I admit, at first I was not sure it was a great idea. Turning fifty is not something I’ve been looking forward to with great excitement. But it slowly grew on me. I love wine, Volkswagens and vinyards. What was there to not like?

We left early in the morning and got to Sonoma exactly at 10:30 am despite a few twists and turns. Luckily, the parking lot we chose to park in turned out to be the place where we were supposed to meet. There was the green Kombi just a year younger than myself, already waiting for us with the driver, Tommy, and one couple (Dani and Logan). There was to be a total of 3 couples including us, so we waited for the last one.

They came within minutes and we set off for the first winery – Liana Estates. It turns out, they are taking entries for a new name, because this one is being disputed by a Liano from Italy, who says the name is too similar to his, which he uses for his own wines.

In the meantime, we started chatting among ourselves. It was instantly obvious that the company we had was just fantastic. Dani and Logan were a young couple from the University of Nevada in Reno. Dani had just graduated with a degree in journalism, and Logan would graduate in the winter. They had met in Italy where they had gone to study as part of their program, and were together for just 2 months. Logan was to turn 23 on the Monday.

Tommy, our host was a young guy just out of high school. But he knows a lot about wine-making and has a friendly and vivacious personality, just the right type for a trip like this.

Rebekah and Nate lived just a little south of Chicago, Champaign, Illinois, where Nate is a teacher, sports coach, and entrepreneur. Rebekah is a wedding photographer, which interested me immensely because it is what I have been thinking of doing for a while recently. We were to have several interesting chats about this along the way. Nate also had his birthday the same day, he had turned forty. Like us, Rebekah and he also had three children, that they had left behind with family, so we had that topic to talk about as well. Strangely enough, on a previous wine tour in Stellenbosch and Franschhoek near Cape Town, we had also met a family with three children and we had many family conversations with them too!

The wines at Liana were the best, but I think after a while we lost track of what we were having. Partly because we were drunk, partly because the company was too interesting, and we were really just very interested in getting to know more about each other and chatting. Here’s a photo of all of us: from left, Rebekah, Nate, yours truly, Gayatri, Dani and Logan.

At Liana, Tommy showed us the fermentation vats and barrels, and explained the wine-making process as well.

We had lunch at the Sixteen 600 Winery tasting house. The lady there explained a bunch of things but I was too drunk at that point to care – I just heard a few words about organic wine, vinyl records and something else. Lunch was a fabulous salad, with cheese bread. That helped a bit with the alcohol.

After that, we set off for the last winery, Buena Vista, which also happens to be California’s oldest premium winery. The tasting room is beautiful, with two floors. The upper floor is a gallery with a straight staircase leading up, next to a lovely chandelier.

We had plenty of time at Buena Vista to sit on some comfortable sofas and carry on our conversations. And watch the stuffed peacocks in the corners. For a while we were also just standing around the wine tasting bar and looking at other people below doing the same thing.

Before the tour ended, we stopped at some vineyards at the side of the road, and took many photos. Here’s one with our green ’69 VW Kombi from West Wine Tours.

And here’s one of Rebekah taking a photo of Dani and Logan with her Canon EOS 5D MkIV clad in red, that she uses for her wedding photography business.

Every good thing has to end, and so it was with our wine tasting tour. Tommy deposited us all in the parking lot, three unbalanced couples tottering their way back to their cars with their purchases.

Gayatri and I decided to stay in downtown Sonoma for a bit till we got back to our senses for the almost 2-hr drive back home. Walking around, we found Figone’s a family-owned business that specializes in olive oil and balsamic. It was the smell that drew us in from the sidewalk, it was so mesmerizing. Frank, the owner told us that he had started a line of body products too, that by itself would sustain his business, but we told him that he needed to keep the oils just because of how the smell would get him more customers. Here he is, with his wife and daughter.

The oil tasting experience was new for us. Frank gave us a lot of different types of oils and balsamic in these little cups. Frankly, I would have liked it better with some bread. But the concoctions are quite tasty, we had a lot of fun trying so many.

The drive home was anti-climactic but uneventful. We got home to this lovely cake selected by my kids. I cut it the next morning with my proud and happy parents looking on and cheering via Facetime video.

I don’t know whether I should be happy or not having got to 50. I reflect a lot these days on how I have lived my life so far, and what I should do in the years I have left. But I’m eternally grateful for the wonderful family and friends I have, the irreplaceable experiences, and the chances I get to meet so many new and fabulous people all the time, from all over the world. I couldn’t ask for more.

En una Milonga, hay que Bailar, no hay que Practicar and other El Flaco Dany Memories

In February 2010, Almirante and I visited Buenos Aires, Argentina, and Montevideo and Colonia in Uruguay. He had been there before and I was fascinated by the tango stories. I had just started dancing tango and wanted to see what it was really like.

In Buenos Aires, we stayed very close to Salon Canning, which is well known for its tango milongas, so we went there a few times. On one of those occasions, I met an Argentinian guy who spent some time talking to me. He pointed out to me an old man, sitting at a nearby table. He told me, this is El Flaco Dany – he is a famous milonguero. I was sufficiently awed by the man that I took a few photos to take back with me as memories.

Fast forward 7 years, and to my surprise one day, I saw a Facebook post that said El Flaco Dany was coming to teach workshops at Gustavo and Jesica’s in San Mateo! Needless to say, I signed up for and did these workshops, and got to know this wonderful man. The world is indeed a small place!

 

I’m eternally grateful to the Argentinian man I met at Salon Canning. He was a serious tanguero. While he was chatting with me, Almirante was having a conversation with a Brazilian couple who was also sitting at our table. The lady told Almirante how she had been trying some steps she learnt in class in the milonga. She encouraged him to try it too. Immediately the Argentinian guy stiffened significantly, leaned forward and told her: “En una milonga, hay que bailar, ¡no hay que practicar!” – in a milonga, you must dance, not practice!

Machine Learning and Job Loss

Machine Learning (and related Deep Learning, Artificial Intelligence) are all in the news these days. Every enterprise and every person using any form of technology will very soon encounter some form of machine learning, even if they don’t realize it. Examples of this are customer service bots, automation bots, automated phone services, self-driving shuttles or seemingly cute information-gathering robots at malls.

This is because we have become rather good at accumulating vast amounts of data, but are not that good at processing it. Even something simple as figuring out what data is useful and what is not, is in reality very difficult. Well, this is exactly what machine learning techniques are good at, so it makes sense to employ it where humans would not be very efficient.

That inevitably brings about the conversation around job loss. Many people fear that ML/AI will destroy large numbers of jobs, and create employment problems. Others argue against this, saying that in fact this technology will create more jobs. Here are some job loss possibilities:

  • Taxi/train/shuttle/truck drivers, pilots
  • Store check-out personnel
  • Mail/parcel delivery personnel
  • Furniture carpenters

Proponents of ML/AI say (with a big grain of truth) that this is nothing new. Throughout the history of mankind, there have been disruptive innovations that brought in increased levels of automation, and jobs were lost. Telephone operators, farmers, horse-cart drivers and many others have seen their job numbers decimated by technology. This is normal – what we do is move on, learn new skills required by the new technologies, and are better off for that.

This has worked well for thousands of years. But it seems to me that now, we are approaching a point rather quickly, where this cycle is showing signs of strain. Gaining new skills is a good thing – it typically results in better paying jobs, an improved lifestyle, and improvements to the economy. But what if we come to a point where the technology changes fast enough that there are vast sections of the human population that cannot gain skills fast enough to stay relevant? What if there are enough people that do not want to put in the effort to gain new skills, and are happy with the work they are doing that is now being made obsolete by new technologies such as machine learning?

What do we do in this case? In fact, I think we are already here – that the pace of technology is already at a point that the majority of people are unable to keep up with it. This is why we see political uncertainty in many countries around the world, including the US.

What is the solution for this problem? Some would say that we should stop creating technology for technology’s sake. We should stop the adoption of machine learning techniques, to be specific to the topic on hand.

Is this realistic? Can we as a population actually stop the march of what we consider progress? I think not. I may be wrong here, but I feel the momentum of technology is too strong, and not enough people feel the reason to stop it, including myself.

The correct approach should be to recognize that there will be many different types of people, including those that either cannot, or do not want, to significantly improve their skills to stay relevant in the new world after a technology disruption. And, part of the solution is to create ways for them to stay relevant in this new world, and still contribute.

So, can we use machine learning to create new jobs, ones that will keep people relevant without having to invest significant effort in obtaining new skills? This is the question I would like to put out to the community at large. I can think of a few to kick it off:

  1. Furniture / decorative item design: ML can be used to improve on hand-made craftsmanship for materials like woods, metals, etc. This could enable artists to create real-world utilitarian items that are also beautiful and cheap.
  2. Data labeling / preparation: For supervised learning, the data used to train models must be labeled. This is often a tedious and manual operation that highly-trained data scientists should not be doing.

The big problem is, who would be interested in doing this? Is there enough incentive for business to invest in people? Probably not. Should government play a role? Also probably not. Then what? This is the reason I wrote this blog post, to hopefully kick off a discussion. I came across an interesting point about how things work in Germany. If a company wants to lay off anyone, they have to give a 1-yr notice. Meaning, layoffs are difficult to do. Maybe this forces businesses to forgo this country – however I don’t see that happening in Germany. So maybe what it does is to force businesses to think about re-deploying personnel when they are not needed in what they are doing. Is this the way forward perhaps? Or something like it?

Website : WordPress = Machine Learning : KuberLab

HTML site

Over 15 years ago, I decided I needed to do a website for my photography hobby. I also wanted to do one for travel. Being a software engineer and a geek, I wrote it in HTML. Websites then were very simple, so what I had wasn’t fancy either,  just a couple of pages with a blurb about me, and a bunch of photos.

CGI-Perl

The next version was fancier – I wanted it to pick up photos automatically from a directory structure, so I wrote a bunch of Perl scripts and had an automated website. If I uploaded photos into the structure in a particular way, the scripts would automatically pick them up and display them.

Website Template

The third version (and partly my current fourth) was much fancier. I purchased a nice template, and customized it by hand. I was still fluent with Emacs and HTML, so it was easy.

WordPress

My current version is still a template, but now I’m not so good with Emacs and HTML any more, so for the parts I cannot manage, such as my blog, I use WordPress. WordPress (or Wix, Hugo, etc.) is what anyone would use these days if you wanted to build and run a website. This has become the norm – people expect slick websites, and nobody wants to actually code them. And WordPress is not just for building, it’s used to manage the website for ever and monitor, update – all those things required for production.

The Relationship to Machine Learning

So, what WordPress did to websites is mostly what KuberLab is doing to Machine Learning (KuberLab does more, but this is a good analogy). In the early days the companies like Google and Facebook, that have already crossed the Machine Learning Application deployment chasm, probably did the equivalent of what I did with my first HTML website. Then of course, they developed tools and frameworks, and now it became like my CGI-Perl website. With the current movement towards democratization of machine learning, there is now a lot of code available via the Kaggle competitions, Github repositories and so on. So, this is like the template website, one can pick up somebody’s code, tinker with it, and use it for oneself. This is also what is happening on the cloud, with AWS, GCP, Azure and others providing many tools, frameworks and templates for building machine learning applications.

Enter KuberLab

KuberLab is like the WordPress of machine learning. If you are an enterprise wanting to deploy a machine learning application, this is what you want. Sure, you could put time and effort, spend lots of money, and build it yourself and perhaps even feel good about it. But that effort doesn’t scale, deviates from your core business, and will not be production grade for everyone. For this, you need KuberLab. KuberLab is the platform that helps enterprises accelerate their adoption of AI applications. See http://www.kuberlab.com, or try it out at https://go.kuberlab.io

What Makes Reggae, well, *Reggae*?

I love Reggae music. It’s my absolute favourite type of music. There’s something about it – it’s clearly the music of ordinary people, which gives it depth, and the rhythm is just addictive. You just cannot stand still when you hear it.

What’s so special about reggae rhythm? At first look, it’s just the regular 4/4 beat. But it’s somehow different at the same time. And even within reggae, the pop style of UB40 for example, is very different from the roots reggae of Bob Marley. This got me wondering.

Then, a few months ago, I saw the 2012 documentary ‘Marley’. It is an amazing mosaic of the life of an amazing man. And I understate it severely when I say ‘amazing’. It was available on Netflix for a while, but I see that it has now gone away, at least here in the USA. You can still buy it from Amazon, or watch it in low-resolution here. I highly recommend purchasing and keeping it, it’s that good.

From this documentary, I learnt about how reggae came to be, and how it is different. A typical 4/4 beat emphasizes the first beat the most, and the 3rd as well. Here’s a good example, Bohemian Rhapsody by the popular rock band Queen. You can clearly hear the 1-2-3-4 if you look for places where the drums start, as they do at 02:00 in the video.

In this case, the numeral in bold and italics is the strongest beat, and the numeral in bold alone is strong too. We could represent it like this pictorially:

The thicker and longer the line, the stronger the beat. You can imagine beating a drum with a severity equal to the weight and length of the arrow.

In reggae, it is the off beat (#2) that is emphasized, as well as two next beats. The ‘2’ and ‘4’ are typically guitar, and the ‘3’ is the base drum. Now the beat is 1-234. Bunny Livingston, one of the original Wailers, explains it really well in this short clip from ‘Marley’:

So in our pictorial representation, this is what the reggae beat would look like:

This reggae beat was discovered most likely by accident. Bob Andy, the recording artist of Studio 1 where Bob Marley and the Wailers did many of their early recordings, said that there was some equipment they had brought from the USA, which they tried one day. It was a tape delay, and it caused an echo of the guitar strum, which led to the ‘chekke’ sound typical of the reggae guitar. Carlton Davis, session drummer of the Wailers talks about this sound in ‘Marley’. And  you hear it clearly in the Bob Marley song that follows as well:

The drum beat comes on the ‘3’ and is usually quite strong, which is why is is 1-234. The ‘chekke’ comes on the ‘2’ and often on the ‘4’ as well. And the bass guitar also comes in on the ‘2’ and ‘4’. Aston Barrett, bass guitarist of the Wailers explains it here:

This is what makes reggae unique. This idea of guitar and drums is really important. If you switch the two, drums on the ‘2’ and ‘4’ and guitar on the ‘3’, it sounds totally different, as you can hear in this song from the 70s by The Police:

So, now that you understand the reggae beat, let’s leave you with a very nice reggae song from Steel Pulse. Enjoy!

Why Machine or Deep Learning, and How to Choose

Two incidents happened recently, which prompted me to write this article. First, I was writing a proposal for a potential partner for my startup, on how we could partner with them to bring AI into their products and applications. They then turned around and asked us why they should want to develop AI applications in the first place.

Second, I was chatting about my startup with an investor friend. After he understood that we did a platform to accelerate the adoption of AI techniques by enterprises, he told me: “Shekhar, you are two steps removed from the problem. Enterprises today don’t even understand what AI is, how it differs from traditional techniques. They need to get this first.”

Of course I knew this, and had been talking about it, but I realized I needed to put it down. Now, a real comprehensive reasoning will be customized to the specific customer and the problem. I do have some general points however and here they are.

Analytics has been and can be done without AI of course. In many cases, the non-AI approach can be severely limiting, for the following reasons. This is not intended to be an exhaustive list, it only contains some of the main reasons why many enterprises are moving to AI models for data analysis.

  • The traditional data analytics approach is reactive. Data is collected from various sources, and analyzed with tools that display it in various ways, with dashboards, graphs, logs, etc. The patterns that these tools look for are based on existing knowledge. This is akin to monitoring, and the response to triggers requires human intervention anytime something new is seen. With AI, the responses are proactive. AI is used to predict the triggers, and automatically apply the remediation, hence it is a further level of automation with a significantly reduced need for human intervention.
  • AI makes prediction decisions based on past and current input of data into the model. The model learns from the data input, and the more realistic data is used, the better it learns. This then improves the predictions and decisions the model makes – so, a prediction made in the past would generally be different than a prediction made later, even with the same data input, because in the time in between, the model has learnt more and has become more accurate in its predictions. In the case of non-AI predictive models, the same data input always results in the same predictions irrespective of when this happens, since the model is not learning.
  • Traditional models were designed to work with less data. Nowadays, every organization collects large amounts of data that were not possible before. The newest deep learning algorithms perform better with an abundance of data which was not the case before. The amount of data used for these techniques would often be overwhelming for traditional techniques.
  • With unsupervised learning, the newer AI techniques can detect patterns in the data that would not be obvious to humans. For example, recently it was determined that the plague or Black Death in 14th century Europe was more likely spread by humans via lice, rather than rats as was earlier thought. This was determined by simulating outbreaks in various cities with different models (rats, airborne, fleas/lice) and finding out which fit best. If the data had been fed to a deep learning model with unsupervised learning, it would have discovered patterns that led to the conclusion faster, without the need for simulations.

Within the broad category of AI, there are multiple categories of learning. The latest, and the one most cited these days is Deep Learning. The main difference between deep learning and traditional machine learning is in the classification of features required to solve the problem. With traditional machine learning, the feature classification is done manually. With deep learning, the system figures out which features are important for making the prediction and automatically evaluates them for making decisions.

For example, if our problem is weather prediction, and we have collected data on various weather phenomena from the past. To be more specific, let’s say we want to predict the likelihood of a natural fire in wooded areas. We may define the features required for this prediction are: humidity, temperature, the density of trees in a given area, among others. For traditional machine learning, we would need to create algorithms that predict the possibility of a fire as a function of these features. A deep learning algorithm would automatically figure out which features are needed to make a prediction. Suppose we added a feature such as the population of rabbits in the given area. Then, the traditional machine learning model would use this data for its prediction if it were programmed as such, however, the deep learning model would recognize from its training that the rabbit data is not relevant to the prediction and would not evaluate it.

Deep learning also works better with the amount of data fed to it for training. Traditional models taper off after a while, as seen from the graph below. Hence this is a good technique to use in cases where a lot of training data is available.

Some good examples of where to use deep learning is in threat detection where there are many samples of attacks (such as network intrusions) or predictive maintenance for IoT devices, where a lot of failure data is available (Hitachi uses this on their remote earthwork machines).

This also means that in the case where very little training data is available, deep learning is not a very good technique. An example is spearphishing attacks, where the number of successful attacks is very small, hence there is not much training data available for deep learning models, and the number of false positives is so high that this is not a good technique for predicting these specific types of attacks (see this paper on spearphishing).

Here is a cheat sheet for deciding what type of machine learning technique to use for a given problem. The original has links for each individual technique, to explore more details on that technique, and can be found here.