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

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

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

3 Content Marketing Trends to Watch

“Content marketing is a success defining element for today’s businesses. Better the content marketing better is the business.”

Content marketing in a right way can give your business a right exposure. In this fast paced world of internet, you cannot neglect it, otherwise your business might extinguish in the end. You have to pay equal attention to content creation and promotion.

With each passing day, we see new trends emerging in almost every aspect of online marketing. Content marketing is no different. From Facebook, Twitter to Snapchat, new platforms are being emerged, promising to deliver better value for content marketing.

To stay competitive, companies have to stay updated with the emerging trends. That’s why today I aim to shed light on major trends that you should watch closely in 2017.

Content Marketing Through Videos

Video is visual description of your story.

Being in trend from quite some time, videos will continue to lead the content marketing in 2017. The effectiveness of videos is obvious as indicated by the following statistics on HubSpot.com.

  • Videos increase click-through rate by 200-300%
  • Videos increase conversion by 80%
  • 64% of customers make buying decisions after watching the video
  • YouTube reports 100% increase in mobile video views every year.

No doubt, marketing through videos is really effective but that does not mean you start doing it haphazardly. You should do strategic video marketing to squeeze maximum juice out of it. Make purposeful videos and align with your long-term strategy. Through videos, you can:

  • Deliver your brand message
  • Communicate your brand story
  • Explain your value proposition
  • Build relations with your customers and prospects.

However, you also need to be careful while creating videos. A boring video or a video that does not have any value for customers will go in vain.

Keep following do’s and don’ts in mind:

Do’s:

  • Videos should be purposeful and carry value for your customers.
  • Videos should be attention grabbing.
  • Videos should be bit emotional or sentimental.

Don’ts:

  • Videos should not be too long or too short
  • Videos should not be boring
  • Videos should not be offensive by any mean.

So heads up for 2017 and aim to interact and convert your customers through strategic video marketing.

Content Marketing Through Snapchat

As reported on Bloomberg, every month Snapchat gets about 10 billion views and 100 million active users. Imagine the wider audience you can reach by using Snapchat.

Snapchat is on scene since 2012. Earlier, it was considered mainly as a sexting app. But with the passage of time, Snapchat added features that make it a really attractive marketing medium for businesses. 2017 is expected to see exponential growth in Snapchat use for content marketing.

Snapchat allows 10 second snapshots. That means nothing useless, only the message that you really want to convey. Not only it is highly engaging, it also allows easy interaction with customers. Through a 10-second snapshot, you can

  • Introduce your business
  • Convey your inspiring story
  • Create a teaser
  • Offer a discount or promotion
  • Find the talent
  • Promote your product

And the options are unlimited.

So keep your fingers crossed in 2017 to explore thousands of ways you can use Snapchat to reach a wider audience.

Use Data-Backed Content

Whatever medium you are using for content marketing, make sure that the content you are marketing is valuable. It should be informative, educative and interesting. Back it with important statistics, facts and figures to build a high level of trust with your audience. Include case studies, expert opinions and empirical evidences to support your information.

So keep these points in mind while you are planning a content marketing strategy for 2017. Focus on these areas and you will have a brilliant year ahead.

Best of Luck!

Posted in Uncategorized | Comments Off on 3 Content Marketing Trends to Watch

Cleveland Has A Better Chance Than Chicago To Return To The World Series

The youth of the Cubs, epitomized by the selection of Kris Bryant as the National League Most Valuable Player, has many people discussing a return to the World Series next year and beyond for the team from Chicago’s North Side. In actuality, it seems that their opponents in this past Fall Classic are more likely than the Cubs to reach it again in 2017.

Several key members of the Cubs are facing free agency, most notably closer Aroldis Chapman and leadoff hitter Dexter Fowler. Postseason pitching hero Jon Lester will return, but veteran battery mate David Ross has retired. The loss of his personal long time catcher, who was brought over from Boston to Chicago primarily at Lester’s request, may cause the left hander to be less effective in 2017.

Cleveland, on the other hand, will be adding a star player to a lineup that managed to somehow win the pennant without him. Outfielder Michael Brantley, the team’s M.V.P. in 2015, will return after missing nearly all of last season due to injury. They will also get back catcher Yan Gomes, who missed much of the season as well. The path to the playoffs promises to be easier for Cleveland next season. Two of the perennial powers that rival the Indians in the American League Central division, Detroit and Chicago, are going to be considerably weaker as they enter rebuilding mode. The Tigers are looking to trade veterans such as Julio Iglesias and Ian Kinsler in hopes of getting top prospects, and the White Sox are marketing ace left hander Chris Sale and center fielder Adam Eaton.

Also weaker are the teams the Indians breezed through in the playoffs, which saw Cleveland win seven of the eight games in the two rounds. Boston, who was swept in three games by Cleveland, will very likely miss the presence of “Big Papi” David Ortiz. The perennial All-star and likely Hall of Fame designated hitter retired after the season.

Toronto, who was dispatched by Cleveland in five games in the Championship Series, will be losing at least one of its key sluggers Edwin Encarnacion and Jose Bautista. Both All-Stars are free agents this winter, and each will command contracts so large that it would be impossible for the Blue Jays to sign the duo.

On the other hand, the Cubs’ most probable playoff opponents are likely going to be stronger. Washington, which finished behind Chicago for most victories last season, is seeking to acquire Sale from the White Sox. That acquisition would strengthen an already formidable starting rotation, anchored by Cy Young Award winner Max Scherzer. The Nationals are also on target to sign Fowler away from Chicago. The Dodgers, who came just two games from wresting the pennant from the Cubs, are actively pursuing several power hitters that could push them over Chicago in the playoffs. Milwaukee outfielder and former National League M.V.P Ryan Braun continues to be linked in possible trades with Los Angeles.

While there is no doubt that the Cubs will be the favorites to win the pennant again in 2017, Cleveland might be an even better bet to repeat. After all, they won it last year without two of its best players, both of whom should be healthy in the spring.

Posted in Uncategorized | Comments Off on Cleveland Has A Better Chance Than Chicago To Return To The World Series