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

LYFT Driverless Car Network

Not so long ago in the past and to be more specific, it has been just 4 years since the announcement of LYFT as a large competitor for Uber. Today the company has grown in size and popularity and is definitely making waves in terms of pricing along with coverage. This company was first thought of as a fly by night company to be hauled away in the next big growth of Uber. However, this has been a far thought for LYFT. This company has been silently building itself and engulfing its efforts in technology. Their most recently talked about innovation to be brought online will be a Driverless Car Network.

Now many have bogged at the idea of Driverless cars, but they are becoming more and more trendy as time moves on. Innovators such as Mercedes has put self-driving capabilities in many of its models, followed by General Motors Nissan, Toyota, Audi, Volvo, and Tesla. Self-driving cars are no longer a talk of possibility; they are now here to stay. For that reason, GM has jumped on the forefront to invest $500 million in LYFT’s initiative for their Driverless Car Network. This effort essentially will change the way how we commute and reduce the risks associated with impaired drivers or drivers which are inebriated. As opposed to going out in the car yourself to make a pickup of a friend or parents, a simple call or selection in the LYFT app will send a Driverless LYFT vehicle to the pickup aid of the designated person and taking them safely to their next location without incident. This means that the 94% of road accidents which are caused by human error will be drastically dropped due to the car being driven by Artificial Intelligence. Roadways will be more accessible with less vehicles cluttering the highways as more accessibility for carpools and more ability to work while riding effortlessly to work or to school. Many traffic jams are accounted by accidents which occur during morning or evening rush hour. Imagine not having to deal with such delays and being able to effortlessly get home while finishing up a project for work, school, or leisure. This is the future the LYFT is in the process of unveiling to the world in 2017. As far as designs for the Driverless Car Network that LYFT will unveil in 2017, its all just speculations as LYFT along with General Motors has managed to keep talks or leaks about the designs under heavy guard. At the moment these companies stand at the cusp of changing the way how we all use our vehicles and LYFT is the company that is driving the helm.

Posted in Uncategorized | Comments Off on LYFT Driverless Car Network

Sailboat And Yacht Detailers Companies Need To Think About Sail Cleaning Services

Sailing is the fun part, cleaning, well not so much. Still, if you don’t take care of your equipment, Murphy will take care of you. Luckily, for those of us in the sailboat and yacht cleaning business we can make money taking care of the challenges that go along with boat maintenance and keep repairs to a minimum by helping owners keep their vessels in ship-shape. I’d like to explain one aspect of boat cleaning that many boat detailers fail to take advantage of, and that is sail cleaning.

Why clean sails? Well, of course you want them to look good when you hoist them up, free from black mold and ugly salt marks. But that’s not the only reason, healthy sails will not chafe as easily, nor will their stitches come apart as much. Doubt what I am saying? Well, then let me recommend some required reading. In the January 2017 Issue of Sail Magazine there was a relevant article titled; “Sail Care – Look After Your Sails And They Will Look After You,” by Peter Nielsen. The article talked about the fact that if you don’t clean the dirt or salt off the sails, then you will have abrasions from the dirt and rats will smell the salt and be attracted to it, then make their nests there and eat away at the sail. Cleaning the sails is not hard to do, but many sailors and yacht owners do not have the time or are too tired after a day of sailing to clean them properly.

The article and most professional boat cleaners recommend soaking the sails in warm water and detergent, something mild and approved by the manufacturer – always remember that sails have different amounts of material and stitches in them and the manufacturer knows what’s best to use to prevent deterioration. After soaking the sails you want to thoroughly rinse them, I recommend soft or RO water. The article stated to rinse until you could no longer smell any detergent and I’d suggest you don’t smell any salt either and if you’ve rinsed them properly you won’t. It might take a couple of rinses to be sure. Charging $100 per sail is not unreasonable, but be careful if they haven’t been clean in a while, you’ll need to charge more for neglected sails or sails that are dirty or starting to come apart as you have to use a little elbow grease (lightly) and it will take you a lot longer to clean. However, if you regularly clean the sailboat for your customer, $80 to $100 for average sized sails turns out to be a nice add-on to your boat cleaning services, larger sails go up in price try $150 to $300. Think on this.

Posted in Uncategorized | Comments Off on Sailboat And Yacht Detailers Companies Need To Think About Sail Cleaning Services

Degree Results : A Short Analysis

Like the past years, Manabadi Degree Results 2017 will be released in the month of March. Appeared candidates can check their results online. Under it, 1st, 2nd, 3rd Year result of BA, B.Sc, B.Com, BCA, and BBM exam will be published. As the sources say numerous students from different disciplines will be taking part in it. Almost all qualified students inside different kinds of degree plans can appear for this. The whole exam process will be controlled online.

There are adequate sources and online portals for examining the results of different types of programs. Students are eligible to get the results of all programs like Manabadi OU, YVU, VSU, AU, SVU, SKU, and Degree Results of Krishna University. They can have current details and find the outcomes instantly. The exam process is very easy. The students only need to type some required information. The process takes very little time and the result comes out immediately. Moreover, candidates might obtain recent information, updated details and other particulars according to their needs. Depending on the entered date and other information, the students can see veracious information on the screen. Multiple settings for examining ANU, VSU, OU, AU, KU, SKU, YVU, SVU, and Degree Results 2017 will be available for all kinds of college students pursuing their bachelor degrees. Moreover, experts are ensuring that it will be easily accessible for each student. They have added that the outcomes are easily modifiable to give access and entry to all kinds of candidates. It is mandatory to enter all required information in unique areas to confirm the eligibility of a candidate and get started with the test process. Therefore, enrollment with the right information and putting them online during the time of exam is highly required.

Only qualified students are eligible to examine and see the outcomes because students need to put some important information and fill some particulars areas. This is why the process is very transparent, quick and fast. Moreover, they will get to know their Manabadi results 2017 easily and instantly, sitting on their chairs in the exam hall. For this, they do not need to go to a different exam center. They can do all online from their home college. Before the exam, the students should get ready with their roll-number, registration number, etc. Once everything is all right, he or she can log into his account and get to see the questions. During the time of exam, one should keep his or her head cool. Questions are multiple type questions with clickable options at the left. No question is recoverable after submission.

Posted in Uncategorized | Comments Off on Degree Results : A Short Analysis

The Last Chance for Gold

Growing up in my corner of Florida, there used to be an old gas station on the edge of the Everglades. The proprietor did a lot of business with his oversized, hand-painted warning sign:

Last Chance for Gas.

Beyond the fuel pumps were a thin two-lane ribbon of asphalt and 90 miles of swampy wilderness. No smartphones. No “emergency call boxes.” And, in most places along the highway, no guardrails either.

You were on your own – much like the economic wilderness we’re all forced to navigate today.

Which is why the sharp decline in gold prices and mining stocks is much like that warning sign… and a monetary gift…

In short, if you were waiting on the sidelines after this year’s monster rally, this is your second chance – and, in my view, your last chance – to buy gold at these prices. And it comes at just the right time. Typical Moves for Gold

Gold’s done a full round trip in buyer sentiment during the past 12 months: from being the world’s “most hated commodity” at its lows near $1,050 an ounce 12 months ago to “gotta buy it” status at $1,350 an ounce this summer.

With gold now fallen from those lofty heights, an investor is more likely to ask: “Gold, what have you done for me lately?”

In all, gold’s given back about 60% of its 2017 rally. Yet such sharp declines followed by a resumption of a broader trend higher is a typical early bull market move for this volatile metal. Most famous of these pullbacks was gold’s run to all-time highs in the 1970s.

Starting out at $35 an ounce in the early ’70s, as gold became legal for Americans to own once again, bullion prices soared to almost $190 an ounce in 1975. That’s quite a run all on its own. During the next 18 months, gold prices dropped back nearly 60%, falling to $100 before running to a then-record $800 an ounce in the next three and a half years.

The Song Remains the Same

Most important, when it comes to the companies that dig this stuff out of the ground… nothing has changed.

As I have pointed out in past months, gold mining firms have done a great job getting their costs down and making money to boot.

We noted as early as February that the elite companies in this group were making an average of $215 for every ounce of gold they were digging out of the ground and said, in no uncertain terms, to anyone who’d listen: “Stop panic selling gold mining stocks. Likewise, after cutting dividends in 2014 and 2015 as gold prices plummeted, many of the same companies have not only reinstituted payouts, they’ve started raising them again. In the meantime, mining firms have cleared away much of their old cost structures. That’s why Newmont Mining, as one example, has been able to drop its “AISC” – all-in sustaining costs – from $1,170 in 2012 to $910 so far in 2016.

The point is that there are many reasons to own gold: for speculative profits, as discussed above; for insurance; and for wealth preservation. But you can’t benefit from any of those strategies without taking advantage of the gift that is low gold prices and low expectations put on our table by Wall Street’s hair-trigger traders.