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 And Tricks To Market Your Website

New Year is ready to knock your doors with new dreams, challenges, and opportunities for your business. No matter, how many mistakes you have done in your past year, it’s time to correct them all. This may give a kick-start to your career and let you touch the new heights in your business. The first thing you should keep in mind is that creating a website is not enough, you also have to spread it around the world, so, it can create opportunities. Marketing is a daunting task that you cannot overlook anyhow, so, here are some proven ways that can help you to market your website in 2017, which allow you to rock on the internet with your distinct identity. Optimization Is The Key: Search Engine Optimization (SEO) is an important and unforgettable factor for the success of your website. It may increase the visibility of your website, so, the first and foremost thing you need to do is optimize your web pages, content or social links for search engines. It helps to market your website in all over the world by the mean of increasing its ranking on different search engines.

Breathtaking Design That Catches The Eyes: Another way to market your website over the internet or intranet is by creating mesmerizing and inspiring design that catches the eyes of its visitors and pulls them to go through your website once. The design is the soul of your website that helps in its marketing. Always give a look and add functionality to your website that attracts human and web spiders as well.

Spread It To The World With Social Media: Nowadays, social media is ruling the market it helps to viral any news in a few seconds. So, you should also take its help to market your website. You can easily create your business pages on different social media platforms like Facebook, Twitter, LinkedIn, Pinterest, Instagram, Tumblr and many more and get quality traffic to your website. Content Is The King: Last but not the least method to market your website is by creating engaging and inspiring content to post on your website that gives your visitors a reason to come back. Always remember unique content not only open the doors for new visitors or retain the existing ones but also give search engines a reason to crawl your website, which in result increase its ranking.

These are some simple tips and tricks you can use to market your website in 2017. So, what are you waiting for? Use it and get ready to touch the new heights in your business.

Posted in Uncategorized | Comments Off on Tips And Tricks To Market Your Website

Tips for Developing Astute Investing Skills

Learn to discern conflicting analyses, reports, and data as you research investing opportunities

As an investor, you must make decisions based on your study, research, and personal opinions and beliefs. You should not depend solely on the research and opinions of others. There is much good advice and information available to you.

However, there’s also a lot of differing information that you must cut through to make informed investing decisions. Here’s what you can start doing now:

Understand decisions made by entities independent of publicly traded companies

General Electric (NYSE:GE), through its Power & Water division, GE Hitachi, offers advanced and sophisticated technology for the nuclear energy industry. The GE Hitachi nuclear alliance unites GE’s design expertise and history supplying reactors, fuels, and services worldwide with Hitachi’s proven experience in advanced modular construction. This is all well and good.

Nonetheless, previously, the Canadian Press noted that, “A Federal Court ruling has thrown out the preliminary approvals for a series of new nuclear power reactors in Ontario.” Therefore, this is a case of weighing company initiatives against the landscape and mindset of the jurisdiction in which they operate, or may wish to operate with new projects. You must be aware of this when you invest.Understand the difference between company outlooks and what’s going on in the marketplace

Cameco (TSX:CCO) (NYSE:CCJ), regarding its long-term prospects was very positive about its outlook and the outlook for the uranium industry in general. The company did say in its 2013 annual report that any development or expansion of its remaining projects would depend on how market conditions develop. Cameco’s intention is to build up Cigar Lake and to expand the McArthur River/Key Lake operation.

Commercial production commenced in May 2015 at Cigar Lake with a total of 11.3 million pounds (100% basis) produced by the end of the year. The expectation is that the build up to licensed capacity of 18 million pounds per year will be in 2017.

What’s’ happening in the marketplace? In 2014, Mining.com reported that poor markets caused Cameco to put its Millennium uranium mine on hold. The highly prospective Millennium deposit is on the shores of Slush Lake in Saskatchewan. Cameco had asked the Canadian Nuclear Safety Commission (CNSC) to postpone a hearing scheduled in June 2014 into a licence application for the Millennium Mine project. The estimation is that this project has in excess of 50 million pounds of uranium.

Consider company strategies and the new economy

Sears Canada (TSX:SCC) Sears Holdings (NASDAQ:SHLD) never seemed to transform its operations as other retailers. Sears Canada dispensed some of its best stores and raised hundreds of millions of dollars in the process. Sears Canada was a mainstay in Canadian downtowns and major shopping malls.

The Company’s Toronto Eaton Centre flagship store became a Nordstrom (NYSE:JWN) store. Sears Canada has seen its target consumers taken away by bulk stores and higher-end retailers, not competing with them effectively.

Consider government reports

These are reports prepared by any level of government: federal, provincial/state, or regional or municipal. Oftentimes, federal government pronouncements paint a rosier picture than what is really happening in the economy. This is especially true at election time. You must look at what other government agencies are saying, not just the political figureheads of parties. Consider what U.S Federal Reserve Chairman Janet Yellen said in the past. She told the Joint Economic Committee of Congress that under present policies, the federal government’s deficits, “will rise to unsustainable levels.”

As an investor, you must consider what that will do to the U.S economy, the business environment, and businesses. By extension, what will this do in the coming years to Canada’s? When the U.S. rolls over, it typically nudges Canada who’s napping on its shoulder.

Due diligence means more than just studying the latest quarterly results of companies. It means studying and discerning between different government, economic, as well as marketplace reports that often are contradictory. It’s your responsibility to discern between the wheat and the chaff. If this means taking longer to make an investment decision, so be it. In the end, you will make a better investment decision.

Posted in Uncategorized | Comments Off on Tips for Developing Astute Investing Skills

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

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.