Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Getting started with cloud native tech

Categories

Tags devops learning teams cio cloud

As you complete each project as a consultant, you start noticing patterns. No matter what the differences are between the various architectures, tech stacks and teams, you find yourself following the same steps. By Brendan Kamp.

This is especially true when we start talking about concepts like cloud migrations or Cloud Native transformations. One of the most underrated yet effective steps is simplicity, It might come as a shock, but often the most scalable and effective systems are also the simplest. When moving to the cloud you will often hear the phrase ’lift and shift’. It is sold as the way to leverage ‘quick’ wins in the cloud.

The guide then give you information on:

  • Embrace simplicity
  • Harvest low-hanging fruit
  • Stay away from buzzwords
  • Throw away what’s not working
  • Define your standards

Throw away what’s not working. This cannot be stressed enough. Working for a consultancy, more often than not you are put into teams that have already tried cloud migrations and failed. In the worst-case scenario, the people that created these migrations are no longer with the company, but the company has sunk X amount of cost into this endeavour and is not willing to forfeit that expense. Good read!

[Read More]

Amazon ECS vs. Amazon EKS: Ultimate showdown

Categories

Tags aws linux devops kubernetes cio cloud

This article will focus on the two featured AWS weapons for microservices and cloud architecture: Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (Amazon EKS). By Serkan Özal.

Both services support various compute options and have rich integration points to work with the other AWS services. However, there are critical differences between these services in design and operations.

The main points mentioned in the article:

  • Amazon Elastic Container Service
  • Amazon Elastic Kubernetes Service
  • Shared Roots
  • Key Differences
    • Pricing
    • Simplicity
    • Portability
    • Community Support

ECS and EKS are both reliable and competent container management systems provided by AWS. Although we have discussed their shared roots and critical differences, choosing one depends on your team and project. While it’s a decision each organization needs to make for itself, there are a few guidelines that will help you to decide. Good read!

[Read More]

Demystifying Ansible for Linux sysadmins

Categories

Tags ansible linux devops how-to

Taking the labor out of labor-intensive tasks is what Ansible is all about. Learn the basics here. By Pratheek Prabhakaran.

The life of a sysadmin involves installation, configuration, performing regular system upgrade and maintenance activities, provisioning, system monitoring, vulnerability mitigation, troubleshooting issues, and much more. Many sysadmin actions consist of step-by-step tasks performed methodically. So how can we make the life of a sysadmin easier?

Ansible is an open source automation engine. It is easy to deploy and use because you do not need any special coding skills to use Ansible for automation. It uses a playbook to describe automation jobs using Yet Another Markup Language (YAML).

The article is divided into:

  • Automate to accelerate
  • Why Ansible?
  • How does Ansible work?
  • Ansib-Lingo
  • Use cases for sysadmin

This article gives you a brief introduction and overview of the concepts and terms associated with Ansible. You will get links to further reading. Good one!

[Read More]

Agile approach to change management

Categories

Tags agile management teams cio

In the wake of Covid-19, organizations are fundamentally rethinking their product and service portfolios, reinventing their supply chains, pursuing large-scale organizational restructuring and digital transformation, and rebuilding to correct systemic racism from the ground up. Traditional change management process won’t cut it. The author borrows from agile software development processes to reinvent the change management playbook. By Sarah Jensen Clayton.

The business world has arguably seen more disruption in the last nine months than in the last nine years, bringing new and urgent demand for change.

The main points:

  • Declare your change vision
  • Empower the people who are best positioned to drive change from the beginning
  • Encourage self-organizing teams to supplement your efforts
  • Use internal social channels and influencers to drive employee awareness and engagement
  • Embrace a “test-and-learn” approach
  • Shift from long-term to short-term accountability

Formal adoption of agile may or may not be right for your organization but now is the time to consider how to make change management work faster and harder. If we know anything for certain in this moment, it’s that more change is coming. Good read!

[Read More]

Improving the performance of your imbalanced machine learning classifiers

Categories

Tags machine-learning learning big-data data-science

A comprehensive guide to handling imbalanced datasets. By Francis Adrian Viernes.

One of the mistakes I made as a rookie data scientist was placing heightened importance on the accuracy metric. Now, this is not to dismiss the importance of accuracy as a measure of machine learning (ML) performance. In some models, we aim to have high accuracy. After all, this metric is the one most understood by executive and business leaders.

For the purposes of our discussion, let’s refer to the classifier we have developed in the introduction as a ’naive classifier’. A naive classifier (not the same as a Naive Bayes classifier) is called as such because it oversimplifies assumptions in producing or labeling an output.

The article then discusses the following:

  • Use the proper metrics
  • Set a new threshold: How do you Choose the Right Threshold?
  • Collect More Data
  • Augment Dataset and Undersampling
  • Rethink the Features of the Model
  • Methods (Ensemble Methods)

This is detailed article with example code and charts explaining the main points of the content. Imbalanced datasets are shining examples of a data science paradox. On the one hand, while it is very common for data scientists to deal with imbalanced classifiers (even maybe more than balanced ones), the purpose is usually to identify the uncommon class. Nice one!

[Read More]

What is a Computed Property in Swift?

Categories

Tags swiftlang programming app-development web-development oop code-refactoring

Computed properties are part of a family of property types in Swift. Stored properties are the most common which save and return a stored value whereas computed ones are a bit different. By Antoine van der Lee.

A computed property, it’s all in the name, computes its property upon request. It can be a valuable addition to any of your types to add a new property value based on other conditions. This post explains how and when to use them, as well as the differences between a computed value and a method. A Computed Property provides a getter and an optional setter to indirectly access other properties and values. It can be used in several ways.

The article walks you through:

  • What is a Computed Property?
  • Using a Computed Property to disclose rich data
  • Computed Properties inside an extension
  • Overriding Computed Properties
  • When should I use a Computed Property?
  • Taking into account performance when defining properties
  • Computed Properties vs Methods in Swift: When to use which?

Computed Properties are part of the basics in Swift. They can be used in many different ways and it’s important to know the different use-cases. Always take performance into account and try to prevent unneeded calculations if possible. Good read!

[Read More]

How to detect complex duplicated methods with PHPStan

Categories

Tags php web-development tdd programming

Duplicated code is a code smell that hides the potential of better design. How can we find it? Is it 100 % identical code token by token? Are methods getName() and getName() on 2 entities duplicated? By Tomas Votruba.

The article main points are:

  • Why even care about duplicated code?
  • What is not duplicated method?
  • How can we spot the duplicated method with X-Rays?
  • How to teach it phpStan?
  • 3 steps to get rid of duplications in your code today

PHPStan changes an approach to duplicated code. It runs on php-parser and uses an abstract syntax tree. So why should we care? PHPStan gives human output, so we know what to do.

"Class methods ProductSorter::sortResults() and PictureSorter::sortResults() are identical

PHPStan does this hard work on each commit and tells us precisely the duplicated code. When we know where duplications are, we can do something about it. Our project code will be more consistent, logical, and each piece of code will fit into another. Good read!

[Read More]

Demystifying stateful apps on Kubernetes by deploying an etcd cluster

Categories

Tags kubernetes containers docker devops

Not all apps are the same - when we deploy them to our Kubernetes cluster, we have to take that into account. One classification of apps is between stateful & stateless. By Dimitris Kapanidis.

A stateless app is an application program that does not save client data generated in one session for use in the next session with that client. As an example a REST API backend service that performs requests on a database is stateless, though the database itself is stateful. One of the main benefit of stateless apps is that their instances can be scaled on multiple replicas without issues

The article then pays attention to:

  • Stateless apps
  • Start with Stateless
  • Stateful apps
  • Deploying an etcd cluster
  • Testing High Availability

There are different patterns to accomplish high availability (HA) for stateful apps, autthor will use as example how etcd distributed key-value store works. Making a stateful app to work in Kubernetes is not difficult, but making it work so that it is resilient and in high-availability mode depends on the architecture of the app itself, etcd is a battle-tested example in Kubernetes, but other solutions such as relational databases are a bit more complicated. You will also get all the configuration files and commands for running the kubernetes. Easy!

[Read More]

Sysdig report surfaces shifts in container adoption

Categories

Tags containers docker devops cio kubernetes

An annual “Container Usage and Security Report” published today by Sysdig finds there has been a significant shift in terms of the types of container engines organizations are employing. By Mike Vizard.

Based on an analysis of 2 million containers that Sysdig continuously analyzes on behalf of customers, the survey results show reliance on Docker has dropped to 50% from 79% a year ago. In its place, IT organizations are making greater use of the containerd (18%) and the Container Runtime Interface (CRI) for container images that comply with the Open Container Initiative (OCI).

From a cybersecurity perspective, however, issues remain. More than half (58%) of containers configured are running as root, which makes them prone to being compromised by cybercriminals that have found a way to gain access to credentials used to deploy them.

At the same time, containerd is gaining traction as a lighter-weight alternative to Docker that is being advanced under the auspices of the Cloud Native Computing Foundation (CNCF), which also oversees the development of Kubernetes.

The Quay container registry developed by Red Hat has seen a 60% increase in adoption, while the Golang programming language jumped 66% in terms of usage for building applications, according to the report. Interesting!

[Read More]

What is neuromorphic computing?

Categories

Tags miscellaneous software cloud cio performance servers

What is neuromorphic computing? Everything you need to know about how it is changing the future of computing. By Jo Best.

Neuromorphic computing could completely transform everything about the technology industry from programming languages to hardware. As the name suggests, neuromorphic computing uses a model that’s inspired by the workings of the brain. The brain makes a really appealing model for computing: unlike most supercomputers, which fill rooms, the brain is compact, fitting neatly in something the size of, well… your head.

Brains also need far less energy than most supercomputers: your brain uses about 20 watts, whereas the Fugaku supercomputer needs 28 megawatts – or to put it another way, a brain needs about 0.00007% of Fugaku’s power supply.

The article tries to answer following questions:

  • Why do we need neuromorphic systems?
  • So how can you make a computer that works like the human brain?
  • What uses could neuromorphic systems be put to?
  • Are there neuromorphic computer systems available today?
  • What are the challenges to using neuromorphic systems?
  • Do we know enough about the brain to start making brain-like computers?

Most hardware today is based on the von Neumann architecture, which separates out memory and computing. Because von Neumann chips have to shuttle information back and forth between the memory and CPU, they waste time (computations are held back by the speed of the bus between the compute and memory) and energy – a problem known as the von Neumann bottleneck.

For compute heavy tasks, edge devices like smartphones currently have to hand off processing to a cloud-based system, which processes the query and feeds the answer back to the device. With neuromorphic systems, that query wouldn’t have to be shunted back and forth, it could be conducted within the device itself. Good read!

[Read More]