The Artistic Way of Programming

12 years back, when I started my formal classes in computer science, the first thing I learnt was “data” means “information”. A few days after that, we started conventional programming, where code and data were treated separately. For example, only data can be passed as the functional arguments. It was difficult for me to digest that “code, which is also information, is not treated as data”. I strongly felt that this will increase complexity of softwares in the long run.

A system does three things – read, transform (processing data), write. In other words – the mathematics (the transform part), and the effect of that in real life (the read/write part). The data transformation is indeed a mathematical concept, and with the help of read and write we make the mathematics (the transform part) useful to the real world. Bringing the “transform” part fully inside mathematical domain has its own benefit of using mathematics without fear (possible errors) for the analysis of the system, making the system more tractable mathematically. The catch is to treat both the elements of transformations, data and functions, equally.

Initially, code used to be bigger than the data, so sending data over the wire was feasible. But with time, data becoming huge, sending code to systems over the wire becomes the need, resting the data on the systems intact. With big data, the need of the hour is to treat the code as data, so that the code can be taken as argument to another meta function on a system having huge data which expects an algorithm for transformations.

Roughly speaking, codes are algorithms, algorithms are mathematical functions, functions are in turn actually look-up tables, i.e. data. Hence with this principle, all codes or functions are data.This is exactly the cornerstone of the functional paradigm. The functional programming is programming with functions, they treat functions and data likewise. Another principle I love, to control complexity, rules should not be complex itself.

Thumb rules rewritten for the functional paradigm:

Read-write and transformations(algorithms) should be separate.
Use immutable variables. Discourage use of reassignment statements.
Discourage side-effects (input/output or changing any variable in-place), every function should ONLY return its expected result.
Use referentially transparent functions (sometimes it is called pure functions) with no side effects, i.e. if x = y, f(x) and f(y) should be same forever.
Unit testing is a must for each function.
One of the main design patterns should be followed is to use expressions instead of instructions, i.e. it should be declarative in nature. Discourage use of loops like for/while – use recursive statements as shown above to calculate sum. Tell computers what needs to be done, not how to do it – it reduces error, especially edge cases.
With the need to control the complexity of the system and the advance design, the design pattern for the functional composition can be made to follow some basic algebraic structures, which in turn becomes more robust.

Posted in Uncategorized | Comments Off on The Artistic Way of Programming

New Jeep Wrangler Review

Introduction

The Jeep Wrangler Unlimited is a medium-sized, compact car from the famous SUV manufacturer. Its design roots can be traced back to Willy’s MB and Jeep CJ that used to be produced back in the early days of the SUV. The new Jeep Wrangler models have the traditional toughness you could expect from a Jeep yet gives an entirely refined appearance. The new 2017 Jeep Wrangler Unlimited is expected to hit the showrooms later this year. So, let’s give you a run-down of what you can expect from it and what changes are present from its earlier 2016 version as well as what its competitors are up to.

Appearance

The new 2017 Jeep Wrangler Unlimited won’t have a complete shift from its 2016 version that’s for sure since any major design overhaul from the company invites scepticism from the auto lovers. Most of us have been used to the rugged frame, full throttle four-wheel drive and a pair of robust axles and so we can’t expect anything too far-off. But, regarding the new model’s materials used, Jeep is expected to use rendered Aluminium since it will make the car even stronger yet lighter. You can also expect the iconic folded down windscreen as well this time around! Any mechanical changes?

Since Jeep has going on about it a while, we can possibly expect it in the 2017 edition, and that is the small matter of automatic transmission. The 2016 Jeep Wrangler Unlimited had 6-speed manual and 5-speed automatic transmission, and the problem was with the latter since the power breakdown wasn’t enough to cater for the heavy requirements of an off-road vehicle. So, Jeep will increase it to an 8-speed automatic transmission this time around, and this will help improve the accelerator response and fuel efficiency on the go for the new car. Torque is expected to remain unchanged at 260 lb/ft. The same thrilling 4WD experience will also be continued (Like it is ever going to end!)

Fuel Economy

Thanks to the new 8-speed automatic transmission and body frame, the fuel efficiency of 2017 Jeep Wrangler Unlimited is expected to increase significantly this time around. It can be as much as 1-2 mpg in manual transmission and 3-4 mpg in the automatic transmission. The car is expected to continue with 87-Octane fuel just like before. They are expected to go up a little bit more than the yearly inflation rates since the change in the transmission and body would require more premium work. Price range from a manual transmission-based two-door Sport model @ $25,000 and a fully loaded Rubicon around $45,000 inclusive of the destination fee that was about $1,000 on its own.

Competitors

Nissan Frontier, Subaru Forester, Toyota Tacoma and Colorado from Chevrolet are just a few of the competitors you can expect to give a tough time to the Jeep’s new and refined monster. But regarding fuel economy and pure thrill, who can come close to this beauty?

When is the release date?

The new 2017 Jeep Wrangler Unlimited is expected to release by late 2016 or early 2017 according to carpreview.com.

Posted in Uncategorized | Comments Off on New Jeep Wrangler Review

Real Talk on Overcoming Addictions

There comes a point in your life when you say “enough!” The fight within becomes so unbearable that you say.” No more, that’s it I’ve had it.” You’re done being a victim. A quick shift in consciousness appears. You hit rock bottom.. There is no way but up. You realize that you have to look yourself in the mirror and get real with yourself and become the person you know that you can become. Decide now and realize that “one day” is an illusion, “one day” never comes. Do the things that need to be done, now. The drugs, the sex, the feeling sorry for yourself, the hypocrisy, the porn, the lying, the whining and complaining needs to become a thing of the past.

Sometimes the truth hurts and sometimes the truth about yourself needs to be revealed. Lying to yourself and waiting on something outside yourself to save you ain’t gonna happen. You save you. Only the individual knows his or her truth. The doubts and fears are brought to the surface. We all know what we have to do in order to save ourselves. We have to go to the place that we don’t want to go. We have to get uncomfortable. The shift in thought becomes freedom. Look within and find the source of your misery. Face that demon and overcome it. We can be shown the way to end suffering, but it’s up to us to make the first step. We have to man up. Start with the small things and then gradually do bigger things. Start being grateful for the things you have now. Act the part or fake it till you make it and become liberated. There are people in the world who have so little and they are so happy. Happiness is a state of mind. Act happy, act free, become an actor. Don’t tell others your intentions either. Shut your mouth and move in the direction of right thought and actions. There are people in the world with every luxury that the world provides and they are miserable as hell. Happiness is not in material objects, otherwise those with the most wealth and stuff would be the happiest.

The kingdom of heaven is of no use if we think we can bring our vices with us. Heaven is a mindset. The old self, thoughts and habits associated with that old self has got to go. A new self has to be created. It can begin with a creation of a new attitude, a new way of seeing things and deciding to let go of things that don’t serve us any longer. Life is a journey and we all have obstacles to overcome. Dwelling on the past is useless. Leave the past in the past where it belongs.

Winston Churchill was the prime minister of the United Kingdom from 1940 to 1945 and again from 1951 to 1955 and he has a famous quote that reads, “If you are going through hell, keep going.” Don’t stop in hell and extend your visit, move on. Hell is a passing phase and for those who know where the keys to heaven are can enter. Heaven and hell are states of mind. Get tired, get fed up and do the things necessary to leave hell and enter heaven. Pray, meditate, read books, listen to motivational talk and fight to overcome temptation with everything you have. Change the way you think now. Stop listening to useless opinions, negative commentary from so-called experts. Resist being distracted by things that have nothing to do with the improvement of your life.

Learn from your mistakes and look forward to the future you want. Leave the past in the past. Get out of your comfort zone and get talked about. People gonna talk about you anyway, they’re talking about you now. Realize that not everyone will like you. Don’t take it personal. Not everyone like God, so why would you be any different? It’s almost 2017 and it’s time out for playing.

Technology is available almost everyone on earth. If you live in an industrialized nation, then there are no excuses if you want help for your addictions or destructive habits. The internet is full of free information and videos on practically any subject. YouTube is a great source for getting help in overcoming addiction. There are people from all over the world that will give free advice and tips. Just as technology can be used for bad, technology can also be used for good. I love technology, because it has helped me in overcoming a very bad addiction. I am free now. It took hard work, praying, meditating, counseling, books, videos and going deep within. Start with noticing the silent self talk within. Be aware of the voice in your head and watch it. The voice has always been there, notice the voice and separate yourself from that voice. Look at the voice from a distance. Silence yourself and resist falling asleep. Silence your electronic devices and spend time alone and watch your thoughts. You will start to think about what you are thinking about. Realization of the false self shows itself. Next, you will see the addict, the complainer, and that false self for what it is. A new way of seeing is revealed. If you have ever said,”what was I thinking?” That realization is a glimpse into consciousness awakening.

Going through hell can be a great teacher. Decide now and change your mind. Quit playing and realize that life is passing regardless. Get fed up and make the change for a better life now. Do what you know you should do. Free your mind now.

Posted in Uncategorized | Comments Off on Real Talk on Overcoming Addictions

Are You at Risk of Being “Uberized”?

If you’re like many Business Owners and Leaders you probably feel pretty good about the position you hold in your market… so did the taxi cab companies and drivers before Uber became a reality. Now they are scrambling and trying to find a way to survive… even to the point of trying to get political help in different cities to stay afloat.

Disruption and Commoditization have impacted virtually every industry today. There probably isn’t a single industry that hasn’t been impacted by a disruptive organization entering their market and stealing some of their market share. Uber is an excellent example but there are many others that have been equally disruptive. Companies such as LegalZoom have taken billions of dollars away from attorneys over the past several years. They captured and disrupted a document and transaction-based business and turned it into a commodity by substantially lowering the pricing of document preparation… impacting attorneys all over the country.

Amazon was an early disruptor to the entire book business… taking significant market share away from Barnes and Noble and Borders who were recognized giants in the book industry. And we certainly can’t forget about Blockbuster’s demise when Netflix entered the market. They were the unquestioned dominant leader in video rental and were virtually replaced overnight by an unknown company with a new disruptive business model that matched the needs of customers at substantial savings.

Even though these examples are in completely different industries there is one common thread that runs through all of them… they didn’t believe anyone could disrupt their dominance in their market. While it’s awesome to believe in your product or service, it’s dangerous to think there isn’t someone waiting in the wings to take away your position. Unlike any other time in history, we are now seeing new companies coming into traditional industries from many unrelated areas and establishing a disruptive model and capturing significant market share. This trend is only going to continue now that it has shown massive success over the past few years. So what can you do, as the leader of your business, to either avoid or minimize the impact of this potential disruption?

While commoditization is difficult to combat with products and services over a long period of time, there is at least one alternative that appears to withstand the test of time and delivers differentiation in the market… your CUSTOMER EXPERIENCE.

It is difficult to continually come up with new products and services to satisfy the ravenous appetite customers have today. Just when you think you have the best and leading edge product or newest service, someone comes in and “one-ups” you and takes away the leading spot. While you might remain there for some period of time, it is difficult to remain at the top for extended periods of time. Apple is one of the few that has been successful at this… but it took them many years of living in the shadow of Microsoft and others before they became the dominant leader. Today, Microsoft is in this unenviable position and trying to fight their way back to the top… especially in the race for the Cloud.

But these are behemoth companies… not the SMB market. They can throw billions of dollars at innovation and products and hope they find a winner. The small and mid-sized business (SMB) can’t be this frivolous with their cash and making too many product/service mistakes can wipe out a business before anything comes to fruition. The proven alternative to this madness is to focus on the ONE THING that is completely in their control to design and deliver… their CUSTOMER EXPERIENCE.

Customer Experience has both short and long term advantages. It is something that can be created and implemented within the year but last for many decades to come when implemented properly. And by properly I’m not talking about telling all your employees they need to be nicer to the customer… that never works for the long term… every company can be nice to their customers if they try. This isn’t the answer… this isn’t the differentiator… but it’s on the right track.

Creating a customized CUSTOMER JOURNEY that is built upon a very well defined Customer Experience Process (something we call Customer Experience Mapping) is what allows companies to reap these rewards for many years into the future. Think Disney… they created “the happiest place on earth” and continue to deliver this experience year after year after year. This didn’t happen by holding a meeting and telling all their employees and characters to be nicer to their guests… it happened because they have a very well defined Customer Journey that is built on a foundation of a well-designed and executed Customer Experience.

Nordstrom did the same thing many decades ago. They started selling shoes… then clothing… all at high prices. But they started with a very distinct process inside the organization for delivering an incredible customer experience day in and day out. Zappos followed this same model… sold shoes… one of the ultimate commodities in the clothing industry… and they dominate today. They don’t give discounts and silly things like “one day only” sales (every day)… they simply deliver a remarkable Customer Experience to every customer every day… and their customers love to buy from Zappos. And it has worked out pretty well when you consider they went from zero to over $1 Billion in revenues in less than 10 years and were sold to Amazon for more than a billion dollars. Not a bad model if you ask me.

One way to avoid being COMMODITIZED and losing customers is to design something even new entrants can’t copy… the experience you offer. If your Customer Experience is so incredibly amazing and remarkable… WOW… every single day with every interaction, this creates immediate differentiation and a long tail of success. It is the ultimate weapon against commoditization or even new entrants into a market. For a new disruptive entrant to take away market share they would need to be so much better and cheaper than anything you offered… which is difficult to do today. And for those of you that are saying to yourself right now, “Yea but we’re different, we do a good quality job and treat our customers well so we aren’t at risk,” I would offer you some instant advice… take the blinders off and get real with looking at your business. This is living in a fantasy world… this isn’t looking at your company from the eyes of your customer… they are seeing something very different. And if someone came into your market today and offered a completely different (and awesome) experience to your customers at or below your price they would be gone in a heartbeat.

Achieving long-term dominance doesn’t happen by “being nicer to your customers” and thinking you have created differentiation… you haven’t. Being CUSTOMER OBSESSED and creating a process based CUSTOMER JOURNEY that has a well laid out and documented CUSTOMER EXPERIENCE PROCESS at the heart of it is what will help you avoid being “Uberized.” This strategy gives you differentiation, uniqueness, and a special place in your customers heart and mind… it gives you the “long tail” of success.

I would strongly and passionately encourage you to learn more about why and how this is completely different than what you are probably doing today. If there was ONE THING TO FOCUS ON IN 2017 it would be to create a strategy based around a well-planned Customer Journey which incorporated an incredibly awesome Customer Experience by Mapping out all the experiences your customer will receive when they interact with your business (there are usually over 20 for most companies in the SMB market). If this is of interest and you want to learn more, let’s grab coffee and I can share how some of the best companies in the world have followed this path… for decades… and still dominate in their industries. I think you will find it a fascinating discussion…

Posted in Uncategorized | Comments Off on Are You at Risk of Being “Uberized”?

Cleveland Has A Better Chance Than Chicago To Return To The World Series

The youth of the Cubs, epitomized by the selection of Kris Bryant as the National League Most Valuable Player, has many people discussing a return to the World Series next year and beyond for the team from Chicago’s North Side. In actuality, it seems that their opponents in this past Fall Classic are more likely than the Cubs to reach it again in 2017.

Several key members of the Cubs are facing free agency, most notably closer Aroldis Chapman and leadoff hitter Dexter Fowler. Postseason pitching hero Jon Lester will return, but veteran battery mate David Ross has retired. The loss of his personal long time catcher, who was brought over from Boston to Chicago primarily at Lester’s request, may cause the left hander to be less effective in 2017.

Cleveland, on the other hand, will be adding a star player to a lineup that managed to somehow win the pennant without him. Outfielder Michael Brantley, the team’s M.V.P. in 2015, will return after missing nearly all of last season due to injury. They will also get back catcher Yan Gomes, who missed much of the season as well. The path to the playoffs promises to be easier for Cleveland next season. Two of the perennial powers that rival the Indians in the American League Central division, Detroit and Chicago, are going to be considerably weaker as they enter rebuilding mode. The Tigers are looking to trade veterans such as Julio Iglesias and Ian Kinsler in hopes of getting top prospects, and the White Sox are marketing ace left hander Chris Sale and center fielder Adam Eaton.

Also weaker are the teams the Indians breezed through in the playoffs, which saw Cleveland win seven of the eight games in the two rounds. Boston, who was swept in three games by Cleveland, will very likely miss the presence of “Big Papi” David Ortiz. The perennial All-star and likely Hall of Fame designated hitter retired after the season.

Toronto, who was dispatched by Cleveland in five games in the Championship Series, will be losing at least one of its key sluggers Edwin Encarnacion and Jose Bautista. Both All-Stars are free agents this winter, and each will command contracts so large that it would be impossible for the Blue Jays to sign the duo.

On the other hand, the Cubs’ most probable playoff opponents are likely going to be stronger. Washington, which finished behind Chicago for most victories last season, is seeking to acquire Sale from the White Sox. That acquisition would strengthen an already formidable starting rotation, anchored by Cy Young Award winner Max Scherzer. The Nationals are also on target to sign Fowler away from Chicago. The Dodgers, who came just two games from wresting the pennant from the Cubs, are actively pursuing several power hitters that could push them over Chicago in the playoffs. Milwaukee outfielder and former National League M.V.P Ryan Braun continues to be linked in possible trades with Los Angeles.

While there is no doubt that the Cubs will be the favorites to win the pennant again in 2017, Cleveland might be an even better bet to repeat. After all, they won it last year without two of its best players, both of whom should be healthy in the spring.

Posted in Uncategorized | Comments Off on Cleveland Has A Better Chance Than Chicago To Return To The World Series