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

Social Media Marketing Strategies To Improve Your Efforts

We all know about Social Media that either makes you a hero or a devil of someone’s life in just a few seconds. It is not only used for the personal communication but also has countless benefits to offer for the growth of your business. Their platforms like Facebook, Twitter, YouTube, LinkedIn, Instagram, Pinterest, Tumblr and many more are popular for their own reasons, therefore you have to be very attentive while working on them. For this, you just need full proof Social Media Marketing Strategies that accelerate your efforts and give refreshing results. So, take a look at some strategies you can try to improve your efforts in the upcoming year 2017. Create A Plan And Stick To It: If you want to get results from your strategies so the first and foremost thing you need to do is create a plan and stick to it. This is because a plan is a must to execute otherwise things get unorganized and you will never get the results what you actually look for. For this, you don’t need to climb the mountain, just think what your customers want, explore the new opportunities and plan accordingly.

Don’t Get Confused Between It’s Different Channels: Another important thing you need to do is to treat every social media channel as a separate entity and don’t mix match them with each other. This is because every channel has its own features and way of working. Likewise, Facebook is for people you used to know, LinkedIn is for you already know, Twitter is for you want to know and many more to define. The list of its different platform and their hidden objective is limitless and can help you to achieve new heights in your business.

Stay Active: The key to your success depends upon your engagement with your customers. It lets you connect with your target audience and give you the outcomes only if you stay active and update them timely. Your regular post gives your visitors a reason to follow you and stay tuned for you. Always keep in mind creating an account and leave it for months and then suddenly come and post will never give you the results, it only works if you constantly update it. Track And Talk: Last but not the least way to improve your Social Media Marketing Strategies in 2017 is by tracking the record of your customer, their taste, and preference and their feedback. You can even talk with them about all such topics, this may help you to improve yourself and make your customer feel that they actually value for your business.

Posted in Uncategorized | Comments Off on Social Media Marketing Strategies To Improve Your Efforts

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

Caribbean Travel – Why Visit ?

Barbados is a beautiful tropical island, with plenty of cultures around to satisfy all kinds of travelers. The location is so beautiful that you will instantly fall in love with it. The turquoise waters of the Caribbean, the budding Port of Bridgetown, secluded quaint and beaches, British communities with past times ranging from mid-afternoon tea sessions up to the on-going games of cricket. But apart from this, many travelers want to know what are some of the other things which one can enjoy at this beautiful location. Here are some reasons why I feel Barbados is the best place to spend a quality vacation.

The Turquoise Beaches There is no doubt in this fact that Barbados is home to some of the most amazing beaches in the world. As an island, this location is surrounded by water and has the most fascinating beaches in the world, which is it’s most loved attraction. It is something that must be experienced by all as there is something for everyone. Those who love to surf can head to the East Coast of the island, and those who want to relax or go for a swim can head to the South and West coast beaches.

The Food Is Delicious

Barbados has earned the title of “culinary capital of the Caribbean”, and it has earned it rightfully. This place is a heaven for food lovers, from street food to fine dining you can experience it all here. You can stop at rum shop for ham, cheese cutters or fish cakes, or you can head to a nice restaurant enjoy best fish dishes on the island along with sidelines like macaroni pie.

The Locals Are Friendly

The locals are one of the most priced treasures of this destination. They are popular in the world as the friendliest people, who will always help in making your vacations enjoyable. They love sharing stories about the island’s culture and teaching others about how things work in their country Things To Do

You will never get bored in Barbados! There are a lot of fun activities to do here, like the ones mentioned below:

• Explore Harrisons Cave.

• Go on a boat trip to explore the island’s reefs and swim with the fishes and turtles.

• Go for safari tour, glass bottom tours and The Boat Yard.

• Make sure you also check out the nightlife.

The Weather

The weather here stays warm all year round. The temperature here is usually around 85 degrees with steady and fresh tropical breezes.

Posted in Uncategorized | Comments Off on Caribbean Travel – Why Visit ?

The Future of Android Games, Virtual Reality & Augmented Reality

Mobile gaming has come a very long way since the introduction of crude & simple games like Snake and Pong which were available on early Nokia phones. Mobile processors and graphics are now as powerful as desktop computers were just a few years ago. Older generations still remember lugging around a Game Boy or Game gear and begging their parents for another game. New generations literally have access to 100’s of thousands of games on their mobile device.

In short, mobile gaming has exploded in just a few years time. In the month of July 2016 there were 63.1 million arcade games downloaded & games in the “strategy” category generated $195M revenue. In a recent study over 37% of mobile app users with 30 minutes of free time choose to play games over any other activity. We’ve all seen it and we’ve all done it ourselves, whether its waiting for an appointment or sitting at the airport, we pull out our mobile device and jump into a quick game to kill the time.

So what does all of this mean for the future of android gaming? For starters, the massive amounts of revenue and user interest in android gaming has bolstered continuous innovation and fierce competition in the global marketplace. For example, just 12 months ago, top executives were saying they didn’t see any major benefit to augmented reality. With the release of Pokemon Go and estimates citing as much as $500 million in revenue in just 60 days, I think we can all agree augmented reality is here to stay. Virtual reality is another area that has been picking up steam in recent months. You can now buy virtual reality headsets at local gas stations for a mere $30. Or if you’re on a budget you can purchase Google Cardboard for as little as $7.00. There are still only a limited number of VR enabled games but that number is increasing daily. Not only that, as more and more people experience VR we are sure to see a blockbuster release sooner or later.

Let’s take a look at some real life examples of recent game releases. Dawn of Titans which was recently released on Google Play was in development for over 2 years. This is akin to the development cycle of a mid-level PC game release on Steam. The game features mass controlled troops, world building elements and impressive graphics. A few years ago this would be considered a major release for the Android platform. These days this is just another drop in the massive pond. With over 2.4 million apps and games currently listed on Google Play it’s become harder and harder to stand out. This is actually good news for gamers as developers are working harder and faster to create new innovative titles to attract users.

I firmly believe that both Virtual Reality (VR) and Augmented Reality (AR) titles are going to gain more traction in 2017. Major developers who can pump out triple A content can’t be left in the dust while indie developers pump out AR and VR enabled games. They will be forced to port existing titles and come up exciting new ways to interact with the mobile devices.

There are many gimmicky games available that utilize the phones microphone, gyroscope, camera and accelerometer. However, these sensors combined with AR and VR could bring a whole new experience to gamers. Imagine walking through a recreated 3D world that represents your neighbourhood, immersed in full virtual reality, and using your phone as a targeting device to defend against waves of zombies. This is already possible with the technology that is available, it just needs to be packaged in a user friendly way that people can enjoy. Combining meticulous graphics with well thought out virtual reality experiences would be impressive indeed. If you’re familiar with PC based virtual reality demo’s you already know how immersive the experience can be. It’s only a matter of time before these same experiences make their way to our mobile devices en masse. And to think, only 30 years ago we were playing Mario on our beloved Nintendo consoles. Let’s not even mention the Virtual Boy that burned your eyes after 2 minutes of playing tennis. Android games and mobile games in general have come a long ways since then and they will continue to push barriers even further in the near future.

Posted in Uncategorized | Comments Off on The Future of Android Games, Virtual Reality & Augmented Reality