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

3 Affordable Cars for College Graduates and Young Students Living in Philly

Philadelphia, nicknamed Philly, is the fifth-most populous city of America. One of the main reasons of the city’s high population is the large number of students residing in Philly. It has the third-largest student concentration on the East Coast of America. It is home to more than 120,000 students who are enrolled in different universities around the city. There are more than 80 universities, colleges and schools in the region. Also, several young people are enrolled in the oldest university of America, University of Pennsylvania.

Buying a Car with a Limited Budget

As a student studying in Philadelphia, you must think that you should not spend your money on luxurious items. But, it doesn’t mean that you cannot buy a car to make your daily commute comfortable. Also, do not think that you will end up with an old, dilapidated car only. It is a fact that your limited budget will not permit you to buy a luxurious brand new car. But, if you research thoroughly, you will find several new car models that will fit your lifestyle and budget easily. Here are a few affordable car models that a student should consider buying in Philly:

· Nissan Versa

If you want to invest money in a good, reliable and sturdy car, you can consider buying Nissan’s Versa Sedan car. It is ranked as one of the cheapest cars in Philly. Nissan ensures that you become a proud new car owner for around $10,000. It means you can buy a car with the help of your limited budget. It is a great bargain because several new cars are priced around $30,000. The cheapest Versa S version of the car has a powerful engine with 109 horsepower. Its unique halogen headlights provide maximum visibility at night and make sure that you reach home safe.

Before visiting a dealership in Philly, make sure that you register as a Nissan College Grad on the company’s official website. Once you finish the registration process, print the Nissan College Grad Certificate and show it to the dealer for obtaining discounts.

· Hyundai Accent

Critics consider the car as a perennial best seller. You can buy the new Hyundai Accent for $14,745. However, you will be able to reduce the price of the car with the help of Hyundai College Grad Program. The auto manufacturer offers a student incentive program to college graduates and young students of Philly. Hyundai offers a $400 bonus for buying a car in Philly. The dealer will consider the bonus as a part of the down payment amount for buying the car.

Hyundai Accent will quench your thirst for a powerful car because it has a 137 horsepower, 1.6 liter four-cylinder engine. Also, you can make a choice between six-speed manual and six-speed automatic transmissions. The car is a joyful ride for the young generation because it provides a great audio system with six speakers, tilt-steering wheels, dual vanity mirrors and exterior temperature display.

· Kia Rio

Kia Rio is a favorite car among the young generation of America. It is because it offers spacious cabin space and cheaper maintenance costs. The 2017 model was unveiled at the 2016 Paris Auto Show. And, since then, it has captured the attention of car lovers across America. The South Korean manufacturer has packed several features for the tech-savvy students of Philly. It provides rear-camera display to help you park properly at your college. Also, its connection-on-command service UVO will provide you with driving directions and access your favorite apps to help you improve your driving skills. Similar to Hyundai, Kia Motors also offers a student incentive program in Philly. It provides a $400 discount along with other incentives to college graduates and young students.

Buying a new car signifies your entry to adult life. It is an important decision that will have immense consequences on your financial situation. So, do not make a hasty decision. Spend time in finding a car model that suits you. Do not forget to consider different incentive programs that auto manufacturers offer to college graduates and young students of Philly. It will make the car buying process affordable for you.

Posted in Uncategorized | Comments Off on 3 Affordable Cars for College Graduates and Young Students Living in Philly

The Best Way to Learn Something New

When learning something new, the quickest easiest most successful way is to find a great coach and mentor. Recommendations are great, or Google the trainer you have in mind especially if the training involves the internet.

If you are learning anything, driving, hobbies, or even setting up a business expert advice to copy is the best way.

You need someone on hand to answer questions, offer training and monitor progress to make sure actions are followed in the right manner. Tutors work in schools, colleges and universities to teach and guide students, apprenticeships work in a similar way. Online language courses are guided with sound tracks to test yourself. Nurses are trained in hospital with supervision from superiors, in virtually all areas of life people are advised by others. Imagine athletes perfecting their style, golfers wanting to improve their swing without a coach. They may be picking up bad habits that are hard to correct in stance or execution. the same applies to most forms of learning, even learning a language, there is usually a voice operated system to copy.

So you need to be sure the coach you have chosen is honest and trustworthy and that they offer training that suits your learning style. Video is good as you can stop and start the video as you attempt to copy the actions. which is probably why YouTube videos have become so popular. However you also need direction to guide you through the learning process

There are currently 2,000,000,000 people daily searching Google for ways to work at home. A growing popularity of the internet, the growth of the relatively new industry and the fact that computers are included in the curriculum for schools. Most families now have laptops and other similar devices.

Franchises have always been popular because of the higher success rate that support gives the venture. The training the supervision and the system to copy. Internet marketing with a good coach and mentor works in a similar way without the extortionate expense of many franchises.

I am very lucky I found a great coach when I set out to develop an online business, it made my learning curve much faster and simpler. I didn’t feel so isolated or overwhelmed. Not only did I have a coach but the comradeship and support of others learning too. Another advantage is regular training and a great range of best-selling products provided for your customers and whilst you are learning the techniques you can earn commissions too. I found it much simpler than attempting to learn it all by my-self, source best-sellers and service my customers, when much of it was done for me.

So if a new venture appeals to you look out for a great coach, take a look at magazine racks for topic ideas and enjoy your new venture.

Make 2017 a year to remember!

 

Posted in Uncategorized | Comments Off on The Best Way to Learn Something New

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

Economic Cycles, Stock Market Crashes and the Scary Scenarios

Here we are ready to inaugurate a new president in 2017 and our stock markets are at all-time highs after a huge ‘Trump Bounce’ after the election. Many that study stock market history admit that we are in a need for a pull back as the DOW is almost ready to break 20,000 pts. What does all this mean?

Well, many analysts are suggesting it is very possible we could get a market correction in mid to late 2017 and that it could be 10-20% by the time it is done, the longer this nonsense goes on, and the bigger the bubble builds then the bigger the drop, we are over bought, almost everywhere. Then all that money printed that ended up inflating emerging markets will look for safe haven, coming back here in the short term. As those go one-by-one, that money flies out, because the money is looking for the nicest looking house (for now) in a majorly bad neighborhood, look at the EU, Japan, Middle East, India, and who knows what the hell China’s real numbers are, they have one thing going for them, they own our debt – but that might not be worth much if things go on. All that money coming back to safe haven in the US will cause inflation here, but at what cost?

Cheap loans, another bubble burst and look at the Student Loan issues 35% in default (past 90-days) and cheap car loans is only producing higher repo rates which are hidden by increased sales figures. It’s all lipstick on a big pig, socialism doesn’t work and you can’t have utopia unless you build it, and that takes capitalism which we are crushing into next week for the falsehood of cronyism. But I digress.

If we don’t get a back pedal on the stock market soon, it will all come at once, and 2008 was 8-years ago remember? That wasn’t a recovery that I’d be bragging about – basically we’ve increased regulations, size of government, and cut our military – all very stupid things to do in the present period. We are digging a hole, and I assume when if it starts to fall apart the left will blame capitalism and get their people back into power – and they will just make things worse – this seems to be a repeating problem with humanity doesn’t it? That is what socialists always attempt to do, but it all collapses anyway – Venezuela, Argentina, Greece, Spain, Italy, Portugal, Zimbabwe, hell, how about that Arab Spring a few years ago, still in shambles – Libya, Egypt, Tunisia, Syria, Yemen, who’s next? Jordan, Turkey, Saudi Arabia? Civil unrest, food shortages, people will demand what was promised and take down their governments to get what’s left. Beware the socialist mobs. But I keep digressing.

Posted in Uncategorized | Comments Off on Economic Cycles, Stock Market Crashes and the Scary Scenarios