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

Private Jet Detailing And Aircraft Cleaning Entrepreneurs Have Good News

The general aviation sector has been in the doldrums for quite a while. Some blame this on increased FAA (Federal Aviation Administration) regulations, much of which occurred after 9-11 to protect airports from potential terrorists, unfortunately these increased security requirements and increased regulations have stifled the general aviation (GA) sector. The economic crashes of 2000 and 2008 didn’t help, although in 2003 the economy was flying high thanks to Bush Tax Cuts and stimulus, then it hit a wall again and didn’t really do well until the run-up just before the 2008 crash.

The GA sector has only slightly recovered since then but not back to its 2003 highs. When Obama got elected he railed against Corporate Jets and Corporate Fat Cats which hurt jet sales and new aircraft sales. Remember when congress went after the Auto Makers for flying their corporate jets to Washington DC to beg for bailouts? Public sentiment against GA was at an all-time low. All of this had hurt aircraft cleaners and jet detailers – it made it tough to make money, but it looks like things are changing and the number of GA Aircraft is increasing. This new Trump Administration is pro-Aviation unlike the Obama Administration. Cutting corporate taxes will also help GA and jet sales. It looks like clear skies ahead for those in the General Aviation services business.

There was a great article in AIN – Aircraft International News – December Edition titled; “UBS Bizjet Index Sees Post-election Surge,” by Chad Trautvetter posted on December 12, 2016 which noted the following facts; The new Trump Administration in the U.S. is widely seen as a positive, with 61 percent of those surveyed expecting the outcome of the U.S. presidential election to ultimately be positive for the business jet market, while 11 percent don’t see a positive impact and 28 percent are uncertain. In fact the article went on to note that there was an increase of between 44-49% increased orders for private jets over last year. Many of those aircraft will be delivered by 2018, and the backlog will increase used aircraft sales and current new inventory. More aircraft certainly means more aircraft to clean and more new aircraft means more corporate detailing customers as well. Meanwhile, along with the fractional jet market, we see jet air-taxi services on the increase as well as Uber style aircraft ride-sharing plans smaller companies can buy into. All of this means the GA sector is ready to take off again and that’s good for business.

Posted in Uncategorized | Comments Off on Private Jet Detailing And Aircraft Cleaning Entrepreneurs Have Good News

Stay Healthy and Wealthy

When you make those New Year’s resolutions, you’re thinking about fresh starts and the year ahead. What you might not realize is that some resolutions also could save money. Here are some popular resolutions that could help get you and your finances in shape in 2017.

Quit smoking: You can save money by stopping a pack-a-day habit, which can cost between $1,825 and $3,650 per year, depending on the cost of cigarettes in your area. Nationally, a pack-a-day smoker is going to spend an average of $2,000 annually on cigarette costs.

Set up and stick to a realistic budget: If you want to resolve to stick to a budget in 2017, you must start with a realistic plan. People tend to make financial resolutions the same way they do a weight loss plan. If you start with lofty goals they will be unachievable within a month. List your priorities for spending rather than restricting your spending. Focus on necessary expenses then include a certain amount for retirement savings. Then with the remaining money you have each month, set aside a little for enjoyment. It’s critical you have rewards in your budget.

Exercise regularly: You’ll save money in several ways with regular exercise. On average, Americans are spending $7,800 annually on health care, according to the National Association of Health Underwriters. But exercise brings real savings. “If people are eating right and exercising three times a week for 20 minutes a day, they see prescription costs decrease by 70 percent and medical costs decrease by 30 percent,” says Ric Edelman of Edelman Financial Services. Stop spending money recklessly: One of the best ways to stop spending your money recklessly is to track where it is going each month. Check with your credit union and download their free mobile budgeting app that shows expenditures by category so you can monitor your spending. A great way to get your spending under control is quit trying to “keep up with the Joneses”. If you want to fix your bad spending habits in 2017 start hanging out with other spendthrifts because you will likely become one yourself.

Eat healthier: A healthy eating plan can be as — or more — economical than fast food. It’s a total myth that eating healthy is expensive. Buy smaller but leaner cuts of meat, eat protein-rich beans and buy produce in season when it’s freshest and least expensive. A smaller amount of a leaner cut can slice your food bill and your bad cholesterol.

Build an emergency fund: Nothing takes the stress out of financial situation like spare cash. If you are among the millions of Americans that don’t have enough money set aside to cover unexpected expenses or emergencies, then you should resolve to build one in 2017. Experts recommend putting enough money in a savings account to cover six months’ worth of expenses in case of unexpected emergencies like job loss, maternity leave or medical issues. You can always apply a small amount of your paycheck towards this account, so you make sure it is hidden from you.

Pay off high-interest debt: Paying down credit card debt is one of the most popular short-term goals in 2017. Try focusing on paying off your high-interest credit card debt before other debts because it is more expensive. And, it you are motivated by seeing those results first hand, start by paying off your card with the lowest balance first so you can feel that sense of accomplishment. Create your estate plan: An important 2017 resolution would be to tie up any financial loose ends for your loved ones so they aren’t left trying to pick up the pieces. Make sure you have a will or trust that designates who’s in control of your assets. You certainly don’t want the state court system to make that decision for you. Don’t forget to designate a guardian for your children, and someone who will make financial and healthcare decisions for you if you are unable to do so.

Develop common financial goals with your partner: Many times finances are the biggest source of conflict between couples. It’s important that couples sit down and create a financial plan. It doesn’t usually work to try and manage their finances separately.

Any of these resolutions can help improve your financial security in 2017. I suggest tackling one financial tip each month so you don’t get overwhelmed. Then as you get accustomed to the new approach to spending and saving, add another. By the time 2017 starts dwindling toward 2018, you will find you’ve made progress on achieving your financial goals.

Posted in Uncategorized | Comments Off on Stay Healthy and Wealthy

5 Book Recommendations to Have a Great 2017

As you run around doing your final Christmas shopping this week, have you remembered your favorite person? (You!)

I know you do a lot for others in your life – your family and extended family, your co-workers or employees, those people who serve you in your favorite restaurants, cleaners, mail delivery people, etc. – but what about yourself?

As we stare down New Year’s Eve and a whole new year of dreams and goals, why not give yourself a couple of books (or audiobooks) that can motivate and support you in achieving those dreams?

Here are my top five favorite motivational and inspiration books. If you haven’t read them, then you’re in for a treat…

#1. “The Advanced Formula for Total Success,” by Dr. Robert Anthony. This is a classic and one that I read every year. It is packed with the truth about what is holding you back from achieving your dreams, AND it tells you how to release the breaks. It is out of print, but luckily Amazon.com has many sellers still offering copies from a few bucks to over $40. Search for it today and get ready for a powerful, life changing book that you will enjoy for years to come.

#2. “Find and Use Your Inner Power,” by Emmet Fox. I read sections from this book almost every day. It is a book of essays, each only a page to a page and a half long. The essays are about the law of attraction from a spiritual perspective. Simply one of the best books out there to be reminded of the truth.

I recommend you start every day by reading a page or two.

#3. “The Secret,” by Rhonda Bryne. One of the most accessible books on the law of attraction. If you’re not familiar with this concept, then this is a great introductory book.

Bonus book: Another great introductory book on the law of attraction is: “As a Man Thinketh,” by James Allen. This book is probably available for free as an eBook. Great, quick read that will change the way you think.

#4. “The Success Principles,” by Jack Canfield. If you’re looking for a more complete, step by step, guide to setting and achieving goals, this book will get you there. Make sure you have a notebook handy as Jack will have you doing exercises as you plan the rest of your life.
#5. “The Complete Book of Phone Scripts,” eBook for sales people. How could I not put the bestselling book of phone scripts on this list of books to help you have a killer 2017?

If you are in sales, then this is a must have. Let’s face it: 80 – 90% of the objections and stalls you get are the same, day in and day out. You will be 100% more effective if you just take the time to script out the best practice ways of dealing with them. It’s called being prepared. Plus, this is the gift that keeps on giving with over $500 worth of extra bonuses!

So there you have it. 5 (actually 6) books that will help you set goals and achieve them. Give yourself something that will continue giving for the rest of your life.

Copyright (c) 2016 Mr. Inside Sales

Posted in Uncategorized | Comments Off on 5 Book Recommendations to Have a Great 2017

How to Get What You Want in 2017

It is almost 2017 and time to start thinking about those New Year’s resolutions but the problem with New Year’s resolutions is that so few people actually achieve them. Why is this and what can you do to make sure you actually get what you want in 2017?

1. Write Down Your New Year’s Resolutions and Set SMART goals

The first step towards achieving what you want is to actually write it down and turn resolutions into goals. An unwritten resolution is quickly forgotten and unless you have some written, specific goals chances are you are just going to be wandering. SMART goals are specific, measurable, attainable, realistic and time-bound. In other words, say exactly what you want to achieve, by when and have ways of measuring how you are getting along. 2. Develop Habits and Consistency

Another problem that often occurs with New Year’s resolutions is that people do not form habits and develop consistency in those actions that are going to get them there. For instance, if you want to lose weight, it needs to become a habit to exercise and eat healthy foods. They say it takes 21 days to develop a habit but it is actually better to consistently stick to it for 63 days to ensure that the habit is well entrenched into your lifestyle before taking any breaks. Not all habits need to be done every day but you do need to be consistent in doing those things that will get you towards your goal.

3. Track and Measure

Set smaller goals and ways of measuring how you are making progress towards your major goal and then track these. Start by tracking those habits that it will take to get you there – how many times have you exercised this week for example. As you are tracking you will see how even the small steps count and will be more motivated to keep moving towards your major goal.

4. Stay Positive

Your mindset has a huge role to play in whether you are going to achieve your goals or not. Always try to remain positive and think positively. Focus on what it is you want but don’t beat yourself up over setbacks or slip ups, you will get times where things don’t go perfectly or you may have a setback but just keep going and you will get there.

Instead of just setting some New Year’s Resolutions for this next year why not turn them into actionable goals, develop habits that will help you achieve them and track these consistently. Keep positive and all the best for achieving whatever it is you want to achieve in 2017.