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

Tips For Buying And Maintaining Shoes

Choosing a good pair of shoes and taking good care of it is an art. This article has some basic tips for you to maintain the quality of your favorite shoes. Hopefully, this will help you make your shoes stand the test of time.

1. When buying shoes

When should you try your shoes before buying them? Well, ideally, you should try them in the evening. This is because your feet are slightly bigger in size in the evening. Go to your desired store in the evening, put on the shoes you want to try and then walk around to see how you feel in them.

If you have to move around a lot during the day, we suggest that you go for instant heels as these shoes distribute your weight evenly and you feel comfortable.
2. Posture and gait

What is the right way to walk? Proper gait can make your body appear slimmer, especially if you are a woman. The idea is to keep your feet straight when walking. For each step, you may want to hold a bit long striding. Keep in mind that improper gait and posture will make you feel less comfortable while walking and it may also make your shoes wear and tear faster. Usually, the biggest reason why people don’t feel comfortable while walking is that the shoes are not the right fit for them.

3. Cleaning the shoes

For wiping stains from your leather shoes, you can use banana peels. Actually, banana peels contain certain ingredients that make it easier for you to remove stains from your shoes. On the other side, you can also go for milk to wipe the surface of the shoes.

Another good cleaning agent is vinegar. It will clean your shoes and make them shine. The great thing about vinegar is that it is better than most of traditional cleaning methods.

4. Leather shoes Upkeep

Shoes made from leather tend to get stiff. In order to soften leather shoes, you can opt for a quality absorbent pad. However, keep in mind that this method should be used occasionally as the regular use may reduce the life of your shoes.

If your leather shoes are stiff, you can cut a potato in half and dip it in the lemon juice and then clean the surface of the shoes with it. Keep in mind that placing the shoes near fire is not recommended after the application of the cleaning method.
5. Drying Wet Shoes

If your shoes get wet, lime powder is a good agent to dry them out. Lime power will also give your shoes a sweet smell. For fur shoes, you can try a dryer, and this is an ideal method for drying shoes in winter.

So, these are a few tips that you can use to buy shoes pair of shoes and then take care of them so that they will stand the test of time. Keep in mind that buying expensive shoes is not a big deal. The big deal is to take care of their maintenance and make them last longer.

Posted in Uncategorized | Comments Off on Tips For Buying And Maintaining Shoes

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

Think Outside the Marketing Box: 10 Quick, New Ideas for 2017

The holidays are upon us again. It’s the time of year for good cheer and some creative marketing ideas to end your year right.

If you’ve been in a marketing slump through the fall, try a few new and interesting ways to get a little more business for your small business:

  1. Create a personalized calendar to gift your clients. You can include inspirational quotes or advice for each month. Staying in front of them will solidify your brand in their minds for years and years to come.
  2. Give your customers a small gift of appreciation, like a customized sticky screen cleaner or promo handout. If you happen to give something that is useful and is well made, your customers won’t just thank you, they will be more interested in giving you referrals to other potential clients. Offer gift cards to give customers more flexibility for gifts. Be sure to place them near your checkout to encourage impulse buys. Starbucks or Amazon gift cards tend to be consistently well received.
  3. Take clients to a more personal lunch or brunch instead of throwing a larger, impersonal holiday party. Focus on having a good time and building rapport through not talking about business. They will take the gesture and thank you by becoming your biggest cheerleader.
  4. Host a day with Santa at your business where you provide free photos with the jolly old man. If your target market has kids, this will be a huge hit.
  5. Give holiday shoppers a free shoulder massage by hiring a masseuse for a few hours.
  6. Partner with other local businesses to give a package of coupons in each shopping bag. This is also a way to encourage sharing business ideas with your neighbors or setting up referral incentives with them.
  7. Sponsor a local event. This time of year many run clubs and other organizations hold holiday runs or New Year’s Day resolution runs or other events. Pick one you enjoy and sponsor it to get your name out. Pair with a local charity. Schedule an event where you and your staff volunteer with the organization. Offer discounts to your customers who volunteer their time with the same organization.
  8. Hold a customer appreciation sale during hours when you are normally closed to show your customers how much you appreciate their loyalty. Create a special invitation and think about giving them door prizes and small gifts for patronizing your business.
Posted in Uncategorized | Comments Off on Think Outside the Marketing Box: 10 Quick, New Ideas for 2017

How Does the Ford GT Stack Up?

How will it compare to the competition?

The GT is by no means a Shelby GT 350 R, not even close. Besides the over $350,000 jump in price and the additional 100 or more horsepower. The new GT is even more track-focused then the previous ones. And the mid-engine layout, combined with the GT’s carbon-fiber construction it much more than a muscle car and more of a Super car.

Even though Ford has not decided on a specific horse power, the new GT with 3.5-liter twin-turbo V6 will produce more than 600 horsepower. Standing up well to the Corvette Z 06 and its’ 650 horses. Now Ford says it is working on the power-to-weight ratios to be the best of any production car. Even if they can’t hit the ratio of the Koenigsegg One with its 2.2 lbs / hp and make it to the range of the McLauren P1 with its 3.5 lbs / hp. Even with its aerodynamics the approx. 3500-lb Corvette Z06 may be a little overweight to held ground with the new GT Priced like a Lamborghini Aventador

Knowing it’s expected price range points to the real competition of the new 2017 GT. Granted the Lamborghini Aventador is packing 691 horse power, but outweighing the Corvette Z06 in curb weight by another 500 pounds, it may have a hard time keeping up with the new GT on the track. When you consider the Aventador holds twice the cylinders as the GT’s twin-turbo V6, and the fact that the Aventador is a naturally aspirated V12 all wheel drive, you can expect it to be faster off the line.

It will be interesting to see how the GT compares to the McLaren 657LT the car that feels like a competition vehicle. Weighing in at less than 3000 lbs, the 657 is pretty light, but the GT will probably weigh less. The Mc Laren 675LT is also a limited-production car, with only 500 units slated to built and cost about $50,000 less than the Lamborghini.

Then there is the Ferrari F12tdf with a price point just under $500,000 with a substantial increase in power. Touting a 6.3-liter V12 with 770 horsepower hitting 0 to 60 in under 3 seconds. The Ferrari will be a head over the GT by more than 100 horsepower, but the based on Fords claims the GT should be much more light weight. With Ford skipping a hybrid-electric system, it will be something to pit the new and severely less expensive Acura NSX with its hybrid tech and all-wheel drive against the new GT and its focus on light weight. With the NSX and its 573 horsepower will it be enough to hold its own against the GT? Time will tell.

Posted in Uncategorized | Comments Off on How Does the Ford GT Stack Up?