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 ]

How to create GUI dialog boxes in bash scripts with Whiptail in Linux

Categories

Tags linux devops frameworks software miscellaneous ux

In this article, we are going to discuss yet another GUI utility called Whiptail that can be used to create GUI dialog boxes in Bash scripts in Linux. By Karthick.

Not every script that you write needs a frontend graphical interface. But sometimes it would be better if you create a graphical interface instead of relying on interacting with the command line. In my case, if there is a long list of responses needed in the script I would choose to go with a graphical interface.

This is step by step tutorial which covers:

  • Install Whiptail in Linux
  • Message box
  • Info box
  • Yes/No box
  • Text box
  • Redirections
  • Password box
  • Input box
  • Checklist dialog box
  • Radio list dialog box
  • Menu dialog box
  • Progress bar

Whiptail is a friendly GUI utility that uses a newt programming library. Whiptail offers different dialog boxes for different purposes. Depending upon your use case you can use these dialog boxes to make your script more interactive. In this article we have briefly seen how to use Whiptail to create various dialog boxes in bash scripts. Good read!

[Read More]

Behaviors trees in AI: Why you should ditch your event framework

Categories

Tags big-data big-data cio data-science frameworks

In this article, I look into some of the shortages of event-driven programming and suggest behavior trees as an effective alternative, suitable for back/front-end application development. By T de Souza.

The article deals with:

  • What is AI? (and what event frameworks have to do with it)
  • Correctness vs efficiency
  • What is a behavior tree?
  • Behavior trees in code

Behavior trees are a new (~2010) control paradigm based on tasks. A task can be succeeding, failing or running. Behavior trees are like decision trees (an intuitive concept, I hope) with the time dimension factored in.

Behavior trees were first introduced in games (Halo). They are making headway in robotics and the point of this article, essentially, is encouraging developers to consider their potential in developing interactive, time aware applications (front/back-end).

A behavior tree hooks a top-down decision process onto an update loop. The running state allows postponing decisions until an ongoing task has completed. Good read!

[Read More]

Is serverless just a stopover for event-driven architecture?

Categories

Tags app-development docker containers event-driven microservices

I recently reviewed the State of Cloud Native Development report by SlashData supported by the Cloud Native Computing Foundation that shows a decline in cloud native technologies from the first quarter of 2020 to the first quarter of 2021. By Mark Hinkle.

This makes me think that the hype around serverless has died down, though that doesn’t mean that serverless isn’t going to be around for a long time.

Perhaps as CNCF CTO Chris Aniszczyk told SDX Central, “The trend reflects growing concern that serverless technologies lack the flexibility needed for widespread adoption and a reluctance among organizations to commit to specific technologies or providers.”

The article main content then focus on:

  • Serverless isn’t a failure, it’s an implementation detail
  • Event-driven architecture in cloud native computing
  • Event-driven data syncs and workflows

We are moving toward an event- and data-driven future, where the ability to act in real time on data is becoming a requirement for doing digital business. The first part of the equation requires data streaming technologies that are similar to AWS Kinesis but not specific to a single vendor. Apache Kafka and Apache Pulsar fit the bill as open source, cloud-agnostic ways to put data in motion. Then the next step is to adopt publish-subscribe communication across microservices rather than making REST calls to APIs.

The future of the cloud is not necessarily all-in-one vendors. We’ve been down that road before where users have sacrificed the freedom to choose the best-in-class solution for the convenience of a preassembled stack from one vendor. The future is composable systems of best-of-breed technologies rather than stacks from a single vendor. The new design pattern for cloud native users is composable infrastructure and consequently composable applications that are an amalgamation of various vendors and connected via event streams that are used to create automated workflows.

[Read More]

Docker -- Cross-host networking

Categories

Tags app-development docker containers learning

When Docker is installed, three networks are automatically created on the host: bridge, host and none . You can use the command docker network ls to check. By Tony Li Xu.

libnetwork is a docker container network library. The core content is the Container Network Model (CNM) defined by it. This model abstracts the container network and consists of these components: sandbox, endpoint, network.

These network schemes solve the problem of container communication within a single Docker host. Let’s talk about scenarios for communications between containers across hosts in this article.

Container Network Model example

Source: https://blog.devgenius.io/docker-cross-host-networking-8761e3ddebc9

Cross-host networking scenarios include:

  • Docker native overlay and macvlan
  • Third-party solutions: commonly used ones include flannel and calico

The docker network is a very active technical field, and new solutions are constantly being developed, so it is a very important question to ask: “How do so many solutions integrate with docker?” The answer is: libnetwork and CNM. Interesting read!

[Read More]

2022 Android developer roadmap

Categories

Tags app-development android programming learning kotlin

Our 2022 Android Developer Roadmap teaches you everything you need to know to get started in Android development. We’ve broken down the Android developer roadmap into few modules, each covering different aspects of the Android development ecosystem. By Jaewoong E.

In Android development, app components are like entry points that allow systems and users to interact with your application. Each component has a distinct function and lifecycle that determines how it’s created and destroyed.

The article main focus is on:

  • App components
    • Services
    • Broadcast receiver
    • Content providers
  • Intents
  • App entry points

There are two essential app entry points in Android – activities and app shortcuts. This article covered the important parts of the App components, lifecycles, and App entry points so you have a better grasp of how Android components and their lifecycles work. Good read!

[Read More]

The best AWS Elastic Beanstalk alternatives for 2022

Categories

Tags devops aws cloud programming learning

AWS Elastic Beanstalk is an AWS-managed service. It is used by startups, small & mid-sized businesses for web application development. As it comes pre-configured with EC2 server and is efficient at using automatic provisioning of services and resources, handling application code and environment configurations seems easier with this PaaS solution. By Morgan Perry.

However, Elastic Beanstalk has confusing documentation that may not be able to help you in deployments. As you will be doing a lot of deployments, which are neither transparent nor reliable, it might eat up a lot of your time.

The article then compares and lists pros and cons for:

  • Google App Engine
  • Microsoft Azure App Service
  • Cloud Foundry
  • Qovery

Whether AWS, Google Cloud, or Azure, all the most popular cloud service providers have created a PaaS offering to their existing services (IaaS). It helps its customers utilize the convenience of PaaS, alongside its significant benefits, such as lower cost, speedy deployment, and better scalability. Good read!

[Read More]

New to a codebase? Try drilling!

Categories

Tags programming software-architecture how-to learning

For an entry-level developer, working on the large codebase was quite overwhelming at the beginning. Every time I opened up VScode and loaded up one of our repositories, I felt like I was lost at sea. By Louie Berwanger.

So, in my next team sync, I asked one of the developers what to do about this problem. My coworker gave me some solid advice. She told me to try “drilling” through the codebase.

The article gives the glimpse of:

  • Drilling teaches you how things connect
  • Drilling shows defined patterns
  • Drilling helps you understand boundaries
  • Drilling teaches you how certain tools work
  • Build confidence by drilling through the codebase

Exploring the code during your free time can help you start understanding the architectural patterns of the code. That means when you start creating new things, you know where they should go and how you should create them. Excellent read!

[Read More]

Change management in SAP projects: How employees drive transformation

Categories

Tags ansible teams career software-architecture devops cio management

Unfamiliar systems, new processes, completely different ways of working: an SAP implementation may unsettle users. That’s why change management is crucial for the success of any IT project, especially in the course of a business transformation. By Thomas Jenewein.

Entire industries are repositioning themselves on their intelligent enterprise journey to meet the demand for different approaches to business that did not exist before. Technologies such as artificial intelligence (AI) are also fundamentally and increasingly changing the processes. The software for business transformation is being implemented under the leadership of the CIO, sometimes at a rapid pace.

The article reads about these three issues:

  • The human factor in change management
  • Crisp communication and a shared future
  • Connect training with digital transformation

Furthermore, it is important that a transformation is seen as more than just a one-off activity, but as a continuous learning journey. Guido Schlief, head of SAP Services Middle and Eastern Europe, agrees that employees should always have access to information on software updates, new learning material, and background information in order to best meet the latest requirements. Good read!

[Read More]

Ansible tutorial for beginners: Playbook & examples

Categories

Tags ansible software-architecture devops cio cicd

Ansible is one of the most used tools for managing cloud and on-premises infrastructure. If you are looking for a flexible and powerful tool to automate your infrastructure management and configuration tasks Ansible is the way to go. By Ioannis Moustakis.

In this introductory guide, you will learn everything you need to get started with Ansible and start building robust automation solutions. Ansible uses the concepts of control and managed nodes. It connects from the control node, any machine with Ansible installed, to the managed nodes sending commands and instructions to them.

The article then explains the following:

  • What is Ansible?
  • How does Ansible work?
  • Benefits of using Ansible
  • Basic Concepts & Terms
  • How to install Ansible
  • Ansible Inventory
  • Ansible ad hoc commands
  • Intro to Ansible Playbooks

… and more. In this article, we explored Ansible’s basic concepts, features, and functionality while we also explained why it is such a great tool for automation purposes. Good read!

[Read More]

How to manage an underperformer remotely

Categories

Tags performance agile learning management career

Love it or hate it, working remotely is likely to remain a reality for some time to come. A fairly common challenge, now that people have had time to settle into new workflows, is that more employees may be struggling to keep up. By Lolly Daskal.

How you handle that situation is important—to your employee, to you, and ultimately to your entire team. Here are some tips that have proven to be successful for preventing and dealing with underperformance:

  • Set up clear expectations
  • Get to know people individually
  • Manage how you give feedback
  • Ask how you can support them
  • Serve as a coach
  • Stay connected

It’s not easy to work with an employee who’s not performing well, especially when you can’t sit down face to face and talk from the heart. But using these specific road-tested techniques can help you strengthen others and improve your leadership. Invest in your people as you invest in your organization. Let people know they matter to you, especially when they are struggling.

[Read More]