Wednesday, October 31, 2018

39 Surprising Facts About The World’s Favourite Brands (From Tech, Entertainment, Business and Other Industries)

We live in a day and age where everything is dictated by consumer culture. Consumers can attain the absolute pinnacle of comfort by buying the right products from the right companies. However, the average consumer is rather uninformed about the companies that they buy from. In a lot of ways this is...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

Will the new iPad revive the Apple's history of success?

After the successful iPhone launch in September, Apple inc. hosted another event on Tuesday to display the rest of its product line-up. Branded as “There’s more in the making”, the event held in New York City, unveiled several new devices including the MacBook Air and iPad Pro. Although the iPads...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Saima Salim via Digital Information World

Statically Compiled Go on Alibaba Cloud Container Service

The third prize of the Alibaba Cloud competition goes to David Banham. His winning entry is a succinct tutorial on statically compiling a Go program, and using Docker to containerize and distribute it.

Alibaba Cloud’s Container Service is a great example of how Docker and Kubernetes are revolutionising the cloud landscape. The curmudgeons will rail that it’s all still just some software running on someone else’s computer, but the transformative difference is that k8s and Docker provide what is effectively a platform-agnostic management API. If you build your DevOps pipelines against k8s you have the lowest possible switching friction between AWS, Google Cloud, Azure and Alibaba. The closer we can get to the dream of write once, run anywhere, the better!

Another tool I love for enhancing software portability is the Go language. Cross compilation in Go is as easy as falling off a log. I develop software on my Linux laptop and in the blink of an eye I can have binaries built for Windows, OSX, WASM, etc! Here’s the Makefile snippet I use to do it:

name = demo

PLATFORMS := linux/amd64 windows/amd64 linux/arm darwin/amd64

temp = $(subst /, ,$@)
os = $(word 1, $(temp))
arch = $(word 2, $(temp))

release:

make -l inner_release

inner_release: $(PLATFORMS)

$(PLATFORMS):
@-mkdir -p ../web/api/clients/$(os)-$(arch)
@-rm ../web/api/clients/$(os)-$(arch)/*
GOOS=$(os) GOARCH=$(arch) go build -o '../web/api/clients/$(os)-$(arch)/$(name) .
@chmod +x ../web/api/clients/$(os)-$(arch)/$(name)
@if [ $(os) = windows ]; then mv ../web/api/clients/$(os)-$(arch)/$(name) ../web/api/clients/$(os)-$(arch)/$(name).exe; fi
zip --junk-paths ../web/api/clients/$(os)-$(arch)/$(name)$(os)-$(arch).zip ../web/api/clients/$(os)-$(arch)/*
@if [ $(os) = windows ]; then cp ../web/api/clients/$(os)-$(arch)/$(name).exe ../web/api/clients/$(os)-$(arch)/$(name); fi

Neat! That will get you a tidy little binary that will run on your target operating systems. Even that is overkill if you’re targeting a Docker host like Cloud Container Service. All you need to do there is just GOOS=linux GOARCH=amd64 go build and you’re done! Then, you just need to choose your favorite Linux distribution and build that into the Dockerfile.

What if we wanted to simplify our lives even further, though? What if we could do away with the Linux distribution entirely?

Go supports the compilation of statically linked binaries. That means we can write code that doesn’t rely on any external DLLs at all. Observe this magic Dockerfile:

The post Statically Compiled Go on Alibaba Cloud Container Service appeared first on SitePoint.


by David Banham via SitePoint

15 Best Swift App Templates

The Future Trends of eCommerce (infographic)

Are you working in eCommerce industry and want to know the future trends of online shopping? What is the scope of eCommerce and what are the guidelines that will help in leading a successful eCommerce business? Are you planning to invest in eCommerce or already own the eCommerce site then you are...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Amjad Khan via Digital Information World

Internet Data Breaches Realm: 20+ Fascinating Cyber Security Facts (infographic)

Cybercrime is on the rise, mostly because of the fact that we are becoming so dependent on the internet and are performing so many essential tasks using this tool. Cybercrime results in financial loss, emotional distress and is just generally a nuisance that anyone would want to avoid, and if you...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

How to Combine Facebook Ads and Email Marketing for Better Conversions

Do you want an effective way to get more leads? Wondering how to nurture leads into becoming customers? In this article, you’ll discover how to use Facebook ads with email marketing to improve your conversions. Why Your Business Needs Both Facebook Ads and Email Marketing For as long as I can remember, marketers have hailed [...]

The post How to Combine Facebook Ads and Email Marketing for Better Conversions appeared first on Social Media Examiner.


by Rand Owens via Social Media Examiner