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 ]

What is Smart Manufacturing?

Categories

Tags leadership-and-career business-and-emerging-tech software-engineering miscellaneous

This article explains the smart manufacturing concept through definitions commonly used in industry. Older but still relevant article by Dr. Ananth Seshan.

The common notion about smart manufacturing is that it involves the application of digital technologies, such as the Internet of Things, wireless networking, artificial intelligence (AI), big data analytics, augmented reality, cloud computing, etc. While this may not be factually incorrect, smart manufacturing is not just about implementing digital technologies. The technologies are simply enablers. This article explains the smart manufacturing concept through definitions commonly used in industry.

The article covers these topics:

  • Definition of smart manufacturing
  • What is intelligence?
  • Real-time orchestration
  • Synchronization of physical and digital processes
  • Integration of the entire value chain

The combination of all of the above, enabled by smart technologies such as the Internet, WiFi, bluetooth, AI, augmented reality, simulation, big data, etc., allows continuous optimization of manufacturing performance (such as maximizing productivity and quality while minimizing costs), improvement in the return on assets, and thus a better competitive advantage and increased market share. Good read!

[Read More]

User authentication with React and AWS Cognito

Categories

Tags security-and-privacy frontend-and-mobile cloud-and-infrastructure

An article explaining how to integrate AWS Cognito with React for user authentication. Cognito collects a user’s attributes, it enables simple, secure user authentication, authorization and user management for web and mobile apps. By Carlos Zuniga.

In the article you will find:

  • Overview of Cognito
  • Integration with React
    • Setup
    • useAuth hook
  • Usage
  • Secure routing
  • Login page
  • Using Terraform to provision Cognito

AWS Cognito is a good option when it comes to user authentication and management. It’s specially useful when you are already bought into the AWS ecosystem and it’s also cheaper than some other alternatives.

It’s not too difficult to integrate React and Cognito, however Cognito’s reference documentation for their Javascript/Typescript package lacks some in-depth detail, they also have several seemingly overlapping packages (amplify, @aws-amplify/auth and amazon-cognito-identity-js) that make it hard to pinpoint exactly which one is necessary for Cognito to work. Amazon also tends to push Amplify as a whole for the auth solution when it’s not really necessary to add all that code to your app. Excellent read!

[Read More]

How to tell a story with data: A guide for beginners

Categories

Tags data-and-analytics leadership-and-career miscellaneous

Over the past few years, data storytelling has taken off. This is not only because data and the role it plays in our lives is increasing. It’s also because storytelling is the way we as humans have always come to understand ourselves and the world we live in. By Lydia Hooper.

From Venngage’s Data Storytelling in Marketing: Benchmark Report 2021

Source: @venngage.com https://venngage.com/blog/data-storytelling/

The article does a great job explaining:

  • What is data storytelling?
  • Why is data storytelling important?
  • What makes a great data story?
  • Steps to creating a great data story

Data storytelling is the best way to use data to create new knowledge and new decisions or actions. It is an integrative practice that incorporates knowledge and skills from several disciplines, including communication, analysis and design. It is practiced across many fields and is used to address a variety of challenges. You will also get templates to help you with crafting your own stories. Nice one!

[Read More]

How to deal with resistance of executives in transformation projects

Categories

Tags leadership-and-career miscellaneous

The digital transformation is in full swing. Digitalization is not only changing technology and processes, but also the way we work together, i.e., the organization, leadership, and culture in companies. The companies that recognize these connections and continuously develop them are successful in the changes. But the reality is also: Many of these transformation projects fail, do not have the expected successes or are still waiting, because the associated changes and resistances are seen as too high hurdles. By Klaus Peren.

In a transformation project, you will involve your managers and other key players at an early stage. Managers are usually familiar with change projects and know from other companies that digital transformation entails major changes for them. These changes are greatest for executives. Starting with the need to learn new technologies, tools, to work with other processes and responsibilities and often also to adapt to a new leadership model.

The article then explains following:

  • What types of resistance are there?
  • How do you recognize opportunist resistance?
  • How you should deal with resistance

As you discuss your transformation initiative with your leaders, you may encounter the following negative reactions (in addition to positive and supportive ones), which author divided into three clusters - Appeasing or evading, Necessity is questioned, Threat scenarios are constructed. These feedbacks may be correct in parts. In addition, they are a mirror of the emotional state of your managers. And especially at the beginning of a change process, the resistance expressed in this way is not only conscious, but also happens unconsciously. Good read!

[Read More]

Unikraft and the coming of age of Unikernels

Categories

Tags cloud-and-infrastructure how-to software-engineering security-and-privacy

Thanks to their excellent performance, unikernels have always had a great deal of potential for revolutionizing the efficiency of virtualization and cloud deployments. However, after many years and several projects, unikernels, for the most part, have not seen significant, real-world deployment. By Hugo Lefeuvre, Gaulthier Gain, Daniel Dinca, Alexander Jung, Simon Kuenzer, Vlad Bădoiu, Răzvan Deaconescu , Laurent Mathy, Costin Raiciu, Pierre Olivier, Felipe Huici.

NGINX (and Mirage HTTP-reply) performance with wrk

Source @usenix.org: https://www.usenix.org/publications/loginonline/unikraft-and-coming-age-unikernels

In this article we argue that several factors contributed to this in the past, including lack of POSIX compatibility and the resulting lack of support for applications and languages, difficult or not widely adopted tooling ecosystems, lack of basic security features, and sometimes less-than-stellar performance. After many years of work on the Linux Foundation’s Unikraft project, whose explicit goal is to tackle these issues directly, we believe that the time for unikernels to finally enter the main stage is now.

Unikernels have always had great promise: high performance (sometimes even higher than Linux), lightweightness in the form of incredibly fast boot times (a few milliseconds) and severely reduced memory usage, as well as strong security benefits, to name a few metrics. Great and detailed article well worth your time!

[Read More]

Code is everyone's business

Categories

Tags leadership-and-career software-engineering data-and-analytics cloud-and-infrastructure

Nearly every company now produces software or applications to enable it to do business. That can include using software as an interface to customer support, enabling e-commerce channels, and powering internal operations to serve customers and keep the business running. By Brian Rue.

If you’re not paying attention to code, that inattention can create problems down the line for your business. Here’s why – and what you can do to avoid such problems, improve your code to stay competitive and grow, and engage and retain your customers and employees. The article then reads about:

  • Learn how code is different from physical products
  • Use data to improve your code
  • Plan with continuous improvement in mind
  • Recognize that you need quality code to be competitive
  • Keep in mind that your people make your code

Avoid thinking about your code and engineering teams as a black box. Developers are people who are interested in helping you improve your products and code. But without the right tools, developers become frustrated and disengaged. According to “Rethinking Productivity in Software Engineering”, being stuck in problem-solving and time pressure are the two most frequent causes of unhappiness for developers. The book adds that “the third most frequent cause of unhappiness is to work with bad code and, more specifically, with bad code practices.”

That’s a real problem, considering that, as TechRepublic reported this year, 61% of human resources professionals believe that hiring developers will be their biggest challenge in 2021. Good read!

[Read More]

Write function overloads using JSDoc and TypeScript

Categories

Tags frontend-and-mobile product-and-design backend-development

I like TypeScript, but I prefer the JSDoc syntax for writing it. That should be obvious if you’ve read any of my JavaScript articles, especially Get Started With TypeScript the Easy Way. By Austin Gil.

/**
 * @template numOrStr
 * @param {numOrStr} input
 * @returns {numOrStr extends number ? number : string}
 */
function double(input) {
  if (typeof input === 'number') {
    return input * 2
  }
  return input + input
}

Function overloads are when you define the same function more than once in order to capture different functionality.

The article makes a good job explaining:

  • What is function overloading?
  • Defining function overloads in JSDoc

We liked: TypeScript also offers generics which you can combine with conditional types to determine the input type and conditionally return a specific type based on what the input is. All of that can even work with JSDoc thanks to the @template keyword (which is not well documented). TypeScript is great, and JSDoc is great, but once in a while, the documentation for complex things is sparse. Good read!

[Read More]

Swiftly search metadata with Amazon S3 serverless architecture

Categories

Tags architecture-and-apis product-and-design data-and-analytics cloud-and-infrastructure leadership-and-career

As you increase the number of objects in Amazon Simple Storage Service (Amazon S3), you’ll need the ability to search through them and quickly find the information you need. By Jiwan Panjiker, Haider Naqvi, and Muthuvelan Swaminathan.

In this blog post, we offer you a cost-effective solution that uses a serverless architecture to search through your metadata. Using a serverless architecture helps you reduce operational costs because you only pay for what you use.

The article describes:

  • Using Athena to search Amazon S3 objects
  • Building a serverless file metadata search on AWS
  • Reference architecture

You will get info how to set up Amazon S3 Event Notifications, Lambda, AWS Glue Catalog, and Athena. You can use this approach to maintain an index in an Apache Parquet file, store it in Amazon S3, and use Athena queries to search S3 metadata.

Authors solution requires minimal administration effort. It does not require administration and maintenance of Amazon Elastic Compute Cloud (Amazon EC2) instances, DynamoDB tables, or Amazon OpenSearch Service clusters. Amazon S3 provides scalable storage, high durability, and availability at a low cost. Plus, this solution does not require in-depth knowledge of AWS services. When not in use, it will only incur cost for Amazon S3 and possibly for AWS Glue Data Catalog storage. When needed, this solution will scale out effortlessly. Good read!

[Read More]

Simplify state machines and statecharts with JavaScript

Categories

Tags frontend-and-mobile product-and-design

Let’s look at managing application state from a different perspective. If you’re a frontend developer or a backend developer, you probably deal with state management daily. XState is a JavaScript/TypeScript implementation of the finite state machine and statecharts that will make your life easier. By Michal Sevcik @nearform.

The article describes:

  • The what, why and how of state machines
  • What are state machines?
  • What are statecharts?
  • What are the benefits?
  • Meet the XState
  • Usage with React
  • State machines diagrams

The difference between state machines and statecharts is that you can organise states in a hierarchy with statecharts. Simply put, you can create sub-states by nesting state machines.

State machines are a common way of describing states in a business process. They are an excellent communication tool because they are generally understood (or can be learned) by people with non-developer backgrounds. And diagrams certainly communicate information better than text. Good read!

[Read More]

Choosing a FaaS (Function as a Service) provider in 2021

Categories

Tags leadership-and-career product-and-design architecture-and-apis frontend-and-mobile cloud-and-infrastructure

Function execution platforms really gained rise as more people got tired of setting up full containerized environments for simple code execution. The costs, overall maintenance, and cascading consequences of failures meant more people were looking for a lean context to execute one-off workers in the cloud. By Jesse Martin.

The industry really rose to notoriety when AWS introduced AWS Lambda, a lambda being an anonymous function, and the service being that promise, as a service - these are anonymized functions that are not bound to a calling context, but respond to discrete events and take discrete inputs. They’re simple to reason about, simple to call, and most of all, they’re drastically more affordable to run, lending themselves really well to “pay for compute time”, not “pay for standby” which containers need to do.

The article pays attention to:

  • The pros and cons of FaaS
  • Choosing a FaaS Provider
  • Comparing FaaS providers
    • AWS Lamdba
    • Google Cloud functions
    • Azure functions
    • Vercel
    • Gatsby Cloud functions
    • Netlify functions
    • Cloudflare Workers
    • Fly.io
    • Oracle Functions
    • IBM Functions
    • Tencent Cloud
    • Alibaba Cloud
    • Redhat Open Shift
    • No-Code / Low-Code providers

Serverless execution is here to stay. With the rough 80/20 analysis method, serverless will be a dominant strategy for many companies that want to control costs, embrace low-op approaches to infrastructure, and focus on domain logic, not managing their own servers. Good read!

[Read More]