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 ]

A Git-Flow explainer & how to tutorial

Categories

Tags software-engineering frontend-and-mobile

The guide for anybody developing with help of Git written by Marc Backes. When someone talks about Git-Flow, it could mean two things: a successful branching model (theory) or a set of terminal commands that extend the regular git command set (practice).

As a developer, Git is probably part of your daily work. You develop new features, you merge them later, then you release them, and finally, you fix potential bugs.

If there is no clear way of doing all these things – especially as a team – you get in trouble really fast. That’s why Git-Flow is here: It provides you with a clear work-“flow” to handle day-to-day Git business.

The article then covers:

  • The theory, including
  • Main branches
  • Supporting branches
  • Feature branches
  • Release branches
  • Hotfix branches
  • The practice

You will get schemas and set of commands how to implement git flow. The author even wrote some scripts that make it easier to work with git-flow, or even git in general, and linked them to an alias in my terminal. You can check the project out from GitHub. Nice and consistent information!

[Read More]

Creating a full-stack MERN app using JWT authentication

Categories

Tags backend-development frontend-and-mobile software-engineering

Praveen Kumar wrote this piece about authentication using JSON Web Token (JWT). The author demonstrates how he went about building a React frontend that talks to a .NET Core API Server. The authentication mechanism has been built on JWT on the .NET side of the project.

He implemented the JWT authentication on the frontend using React. You will also get:

  • What is JWT?
  • JWT flow
  • Creating an Express.js server
  • Generating JWT on the server
  • Choosing the right library!
  • Implementing the encoding function
  • Decoding and validating JWT

.. and more. It also deals with LogRocket – a frontend logging tool that lets you replay problems as if they happened in your own browser.

In addition to logging Redux actions and state, LogRocket records console logs, JavaScript errors, stacktraces, network requests/responses with headers + bodies, browser metadata, and custom logs. Nice one!

[Read More]

How Windows Defender Antivirus integrates hardware-based system integrity for informed, extensive endpoint protection

Categories

Tags cloud-and-infrastructure security-and-privacy ai-and-machine-learning software-engineering

Microsoft Defender ATP Research Team interesting article about inner workings of Windows Defender. Detecting and stopping attacks that tamper with kernel-mode agents at the hypervisor level is a critical component of the unified endpoint protection platform in Microsoft Defender Advanced Threat Protection.

Recently, the Microsoft Defender ATP research team found a malicious system driver enabling a token swap attack that could lead to privilege escalation. In this blog, we’ll share our analysis of the said attack and discuss how Windows Defender Antivirus uses its unique visibility into system behaviors to detect dangerous kernel threats.

The further reading contains:

  • Hardware-based root of trust
  • Detecting token theft attacks
  • Device integrity for broader security

Architecturally, the solution is collectively referred to as the Windows Defender System Guard runtime monitor and consists of the following client-side components:

  • The VTL-1 runtime assertion engine itself
  • VTL-0 kernel-mode agent
  • VTL-0 process we call the ‘broker’ to host the assertion engine

Links to various security resources included. Very insightful!

[Read More]

Indexing and searching NuGet.org with Azure Functions and Search

Categories

Tags frontend-and-mobile architecture-and-apis backend-development cloud-and-infrastructure

An article by Maarten Balliauw about parsing publicly available JSON data with Azure Functions (serverless). NuGet is the package manager for .NET. The NuGet client tools provide the ability to produce and consume packages.

In this blog post, author takes you though building a “reverse package search” that helps finding the correct NuGet package based on a public type. We will create a highly-scalable serverless search engine using Azure Functions and Azure Search that performs 3 tasks:

  • Listening for new packages on NuGet.org (using a custom binding)
  • Indexing packages in a distributed way
  • Exposing an API that accepts queries and gives our clients the best result

This blog post is accompanied with conference talk “Indexing and searching NuGet.org with Azure Functions and Search”. In case you prefer watching and listening, you can use the recording (captured at NDC Oslo 2019).

Long and detailed resource for anybody interested in serverless. Great read!

[Read More]

State management in React

Categories

Tags frontend-and-mobile software-engineering backend-development

The State is an important concept in React that stores data and displays the behavior of a component. People choose different approaches for managing State in React. The article delve into the basics of React State and different ways to manage it. By Vrushali Bhosale.

Updating the State of a component is easy. But what if you want to update it in child component? This is where it becomes tricky.

The article then explains in some depth:

  • What is State? And why do you need to manage it?
  • Tools of State management
    • Services
    • Redux
    • Mobx
    • Context API
    • Hooks

Complex applications lead to complex State management. Cases where multiple components need to be handled and could increase in time, you may choose any of the React State management tools. Since a simple and easy application is always desired, avoiding State management would be advised. Nice one!

[Read More]

Agile metrics: the ultimate guide

Categories

Tags software-engineering leadership-and-career devops-and-ci-cd miscellaneous cloud-and-infrastructure

This guide has everything you need to know about agile metrics. So if you want to understand all the different metrics you can measure and how to use them, you’re in the right place. By leontranter.

This guide is broken them up into five categories:

  • Metrics from Agile Project Tools -– these track the items your team are working on
  • Lean Kanban metrics -– these might come from Agile project tools or from other places
  • Metrics from Source Control tools -– these track the commits that developers make to a codebase
  • Metrics from Continuous Integration (CI) and Continuous Delivery (CD) Tools – these track the frequency and quality of builds and automated tests and deployments
  • Business Intelligence Metrics -– these tell you how customers are using your software, how your business is growing, what customers think of your products, and so on

Please remember that these should be chosen and used wisely. And remember –- not everything that can be counted counts, and not everything that counts can be counted. Insightful!

[Read More]

Golang tutorial for Node.js developers: Getting started

Categories

Tags software-engineering architecture-and-apis

A tutorial series, which covers the basics of getting started with the Go language, while building an app and exposing it through a REST, GraphQL and GRPC API together. By Tamas Kadlecsik (@tamaskadlecsik); CEO of RisingStack.

Another drawback is that because Go is statically typed and lacks generics, you cannot use basic functional programming niceties such as map, filter, reduce, unless you write them for each type or generate the code for them.

The article covers:

  • Golang Setup
  • net/http with Go
  • Encoding/json
  • Dependency management
  • Build tooling

The source code for the article is also available in GitHub repo.

Go features very nice concurrency primitives and provides excellent speed if used right. However, the number of libraries compared to other platforms is small, and they tend to be young. Good read!

[Read More]

Ten years of Erlang

Categories

Tags software-engineering architecture-and-apis

The experience and opinion on Erlang form developer joining Erlang community about 10 years ago. The author covers a few things such as hype phases and how this related to Erlang, the ladder of ideas within the language and how that can impact adoption, what changed in his ten years here, and he’ll finish up with what he thinks Erlang still has to bring to the programming community at large.

The article is split:

  • The hype phase
  • The ladder of ideas, it might look like this:
    • Functional programming
    • Isolated processes and concurrency
    • Reliable concurrency (links, monitors, timeouts)
    • OTP behaviours and other system abstractions
    • How to structure OTP systems
    • How to build releases and handle their life cycle
    • How to never take the system down, and how to operate it
  • What changed
  • Where Erlang goes

Multicore support is now good in Erlang. It used to be that past 2-4 cores, things would start to hit all kinds of bottlenecks that were out of your control as an application developer. Good read!

[Read More]

How to pass HTML content through components with Vue slots

Categories

Tags frontend-and-mobile software-engineering

This post will introduce you to how data can be passed from the parent component to child components in Vue.js using Vue slots. Written by Nwose Lotanna.

Vue slots are Vue template elements created by the Vue team to provide a platform for template content distribution. It is an implementation of the a content distribution API that was inspired by the Web Components spec draft.

Content distribution is important for many reasons, some of which have to do with structure. With Vue slots, you can structure an HTML interface (like with TypeScript), which you can then use as a guide to build out your components by template injection.

The article then describes:

  • What are Vue slots?
  • Why are Vue slots important?
  • Slots vs. props
  • Vue slot syntax
  • Named slots
  • V-slots syntax
  • Scoped slots

And much more in the article, including explained code examples. The whole code is also available in the GitHub repo. Nice one!

[Read More]

How to deploy a Go web application using Nginx on Ubuntu 18.04

Categories

Tags software-engineering cloud-and-infrastructure devops-and-ci-cd backend-development

The guide by Michael Okoh about deploying a web application in Go which will be useful to many back-end developers.

In order to achieve a production-grade deployment of your Go web application, it’s important that you keep your server secure by installing a TLS/SSL certificate.

The article describes these steps:

  • Building the Go web application
  • Creating a systemd unit file
  • Setting up a reverse proxy with Nginx
  • Testing the application

In this tutorial, you created a simple web application with Go using its standard libraries, set up a reverse proxy using Nginx, and used a SSL certificate on your domain to secure your app. Short but straight to the point guide!

[Read More]