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

Resort Wear Trends

A style of clothing for affluent women who jet set to warm-weather climates post-Christmas, resort wear is in itself a fashion season. Spectacular destinations of the wealthy host champagne sipping water-side activities that requires donning the best of the best. Because if you’re someone, you’re wearing someone.

So what kind of apparel and swimwear is in store for 2017 resort wear?

The Lingerie Look
Sexy black lace swimwear, cover ups and resort apparel are said to rule the resort wear runway for 2017 collections. Think honeymoon meets yacht party, bring the bedroom to the beach. Opposite of the daringly sexy black lace look, you may see some white crochet swimsuits and cover ups as well. The trend is sexy peek-a-boo of skin for a demure feminine and more playful look. Festival Inspired
Festival wear, whether you love it or not, is not going anywhere. With Coachella, Stage Coach and new music festivals popping up all over the world, fashion is looking to cloth the celebrities who love festival music. The resort festival look is elevated with decorative fringe, Grecian goddess inspired straps, pretty palm tree prints, amethyst-colored tie dye that would make you reminiscence of that staple Farrah Fawcett hair, and rich feather prints for a Native American princess look. Festival swimwear pieces will look gorgeous at the pool, and even more so at the next music festival. Never grunge though. Only festival glam is acceptable.

Embellishments
Eye-catching, attention grabbing, glitz and glam. Resort wear and swimwear trends for 2017 are all about the embellishments. Think large jewel details and golden hardware that sparkle in the sun. Solid print bikinis need unique and stunning embellishments such as these to set them apart. The affluent never lead boring lives and their clothing reflect just that point. These luxury swimwear and apparel pieces are evocative of the finer things in life and meant to be pedigree proof. Getting Cheeky
Ladies and gentlemen, the cheeky bottom has arrived. The new swimsuit bottom trend will be a hybrid of the traditional bikini bottom and a thong-like look. Potentially scandalous in previous decades, this new bathing suit bottom is a new standard of bikini wear in an era of equal pay and titles. Fashion takes its cues from worldly headlines and happenings, and this trend is no different. The cheeky bikini bottom provides just enough coverage while simultaneously adding that alluring sex appeal to bring out the highest degree of confidence from every woman.

Posted in Uncategorized | Comments Off on Resort Wear Trends

Marketing Trends To Follow

A business without marketing is like driving with your eyes closed. It’s because if you can’t tell anything about your products and services so you are not able to make a sell and therefore marketing is important in all aspects. It allowed you to know and understand the actual demand of the customer so you can sell the right products and services in a right manner that fits their need. So, what’s your strategy to stand out in the market in the year of 2017? Don’t get surprised, 2017 is around the corner and you have to tighten your belts and make a plan from now so you can win the cut-throat competition of the market and achieve all such goals which you are not able to attain this year. Content Remarketing: It simply stands for users who visited your website, but didn’t become a lead to bring them back to it. It bounced visitors into leads, increase brand recalls and effectiveness of SEO (Search Engine Optimization) and content marketing. Therefore, you must follow the content Remarketing trend in the year 2017 to achieve your target like a pro.

Mobile Website Ruling The World: Another thing you need to include in your 2017 marketing strategy is a mobile-friendly website. If you really want to rule the market and be in the each and every home so you have to switch to a mobile-friendly website. If you are not using mobile marketing to search new audience so you are actually losing all such opportunities which your competitors gain instead.

Video Marketing Is The Rising Star: Without any doubt, one good video can lead a massive social following because of people likely to watch a video instead of reading a page of text. It is an effective way of communication that allowed you to target a wider audience and therefore, you should include it in your marketing plan to win the ever-changing market competition. Storm The World By The Power Of Social Media: Social Media Marketing is about communicating with a wider audience. It allowed you to win the market and boost your position over the World Wide Web and increase your reputation.

All above points help you to make a winning strategy for the year 2017 which actually gives you the result that leads your business at a higher level. So, what are you waiting for? Make a plan as soon as it possible so you can implement it with confidence to achieve your goals.

Posted in Uncategorized | Comments Off on Marketing Trends To Follow

Real Talk on Overcoming Addictions

There comes a point in your life when you say “enough!” The fight within becomes so unbearable that you say.” No more, that’s it I’ve had it.” You’re done being a victim. A quick shift in consciousness appears. You hit rock bottom.. There is no way but up. You realize that you have to look yourself in the mirror and get real with yourself and become the person you know that you can become. Decide now and realize that “one day” is an illusion, “one day” never comes. Do the things that need to be done, now. The drugs, the sex, the feeling sorry for yourself, the hypocrisy, the porn, the lying, the whining and complaining needs to become a thing of the past.

Sometimes the truth hurts and sometimes the truth about yourself needs to be revealed. Lying to yourself and waiting on something outside yourself to save you ain’t gonna happen. You save you. Only the individual knows his or her truth. The doubts and fears are brought to the surface. We all know what we have to do in order to save ourselves. We have to go to the place that we don’t want to go. We have to get uncomfortable. The shift in thought becomes freedom. Look within and find the source of your misery. Face that demon and overcome it. We can be shown the way to end suffering, but it’s up to us to make the first step. We have to man up. Start with the small things and then gradually do bigger things. Start being grateful for the things you have now. Act the part or fake it till you make it and become liberated. There are people in the world who have so little and they are so happy. Happiness is a state of mind. Act happy, act free, become an actor. Don’t tell others your intentions either. Shut your mouth and move in the direction of right thought and actions. There are people in the world with every luxury that the world provides and they are miserable as hell. Happiness is not in material objects, otherwise those with the most wealth and stuff would be the happiest.

The kingdom of heaven is of no use if we think we can bring our vices with us. Heaven is a mindset. The old self, thoughts and habits associated with that old self has got to go. A new self has to be created. It can begin with a creation of a new attitude, a new way of seeing things and deciding to let go of things that don’t serve us any longer. Life is a journey and we all have obstacles to overcome. Dwelling on the past is useless. Leave the past in the past where it belongs.

Winston Churchill was the prime minister of the United Kingdom from 1940 to 1945 and again from 1951 to 1955 and he has a famous quote that reads, “If you are going through hell, keep going.” Don’t stop in hell and extend your visit, move on. Hell is a passing phase and for those who know where the keys to heaven are can enter. Heaven and hell are states of mind. Get tired, get fed up and do the things necessary to leave hell and enter heaven. Pray, meditate, read books, listen to motivational talk and fight to overcome temptation with everything you have. Change the way you think now. Stop listening to useless opinions, negative commentary from so-called experts. Resist being distracted by things that have nothing to do with the improvement of your life.

Learn from your mistakes and look forward to the future you want. Leave the past in the past. Get out of your comfort zone and get talked about. People gonna talk about you anyway, they’re talking about you now. Realize that not everyone will like you. Don’t take it personal. Not everyone like God, so why would you be any different? It’s almost 2017 and it’s time out for playing.

Technology is available almost everyone on earth. If you live in an industrialized nation, then there are no excuses if you want help for your addictions or destructive habits. The internet is full of free information and videos on practically any subject. YouTube is a great source for getting help in overcoming addiction. There are people from all over the world that will give free advice and tips. Just as technology can be used for bad, technology can also be used for good. I love technology, because it has helped me in overcoming a very bad addiction. I am free now. It took hard work, praying, meditating, counseling, books, videos and going deep within. Start with noticing the silent self talk within. Be aware of the voice in your head and watch it. The voice has always been there, notice the voice and separate yourself from that voice. Look at the voice from a distance. Silence yourself and resist falling asleep. Silence your electronic devices and spend time alone and watch your thoughts. You will start to think about what you are thinking about. Realization of the false self shows itself. Next, you will see the addict, the complainer, and that false self for what it is. A new way of seeing is revealed. If you have ever said,”what was I thinking?” That realization is a glimpse into consciousness awakening.

Going through hell can be a great teacher. Decide now and change your mind. Quit playing and realize that life is passing regardless. Get fed up and make the change for a better life now. Do what you know you should do. Free your mind now.