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 Rancher

Categories

Tags frontend-and-mobile devops-and-ci-cd how-to

An article by Mike ‘MJ’ Johnson about getting your hands on Rancher. With the power and flexibility of Kubernetes, you also get a massive amount of complexity. Rancher was founded in 2014 with a company focus on creating software to help manage Docker containers. Rancher 2 can help you more easily deploy, manage and maintain your Kubernetes clusters across multiple environments, both on premise and in the cloud.

The article explains:

  • Rancher installation
  • Quick look around admin interface
  • How to setup monitoring
  • How to setup alerting
  • How to catalog Kubernetes deployments

You can use a CI / CD or GitOps approach to ensure having clear documentation for any apps you deploy or modify, but Rancher gives you an easy way to test deployments for either built in apps, stable / experimental Helm charts, or even provide access to your own custom Helm chart repo. Rancher even gives you access to the YAML in case you are just looking for a starting place to write your own custom deployment files. Nice one!

[Read More]

Golang tutorial for Node.js developers

Categories

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

CEO of RisingSTack Tamas Kadlecsik wrote this guide for Node.js developers interested in learning Go. Throughout a tutorial series, we’ll cover the basics of getting started with the Go language, while building an app and exposing it through a REST, GraphQL and GRPC API.

Go is becoming the new enterprise language besides Java and C# and for a good reason.

Go also 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.

The first installment covers:

  • Golang Setup
  • Variables and Constants in Go
  • Net / http with Go
  • Encoding / json
  • Dependency management
  • Build tooling

You can find the final version of the source code for this blog post on GitHub. Nice work!

[Read More]

Vue.js, Spring Boot, Kotlin, and GraphQL: Building modern apps

Categories

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

An article by Vladimir Fomene about creating modern web applications. You will create a GraphQL API using schemas, queries, mutations, and entities stored in a H2 database engine.

Before you start building your API, you need to have a basic understanding of GraphQL. According to the official website, “GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data”.

The article the covers following:

  • How to build your GraphQL API
  • How to add routing and enhance your frontend’s UI
  • How to update routes with Vue-Router
  • Improving State Management and consuming the API with Vue.js
  • How to manage app refresh through silent authentication

Detailed explanation and you will get GitHub repository with all the code. Good call!

[Read More]

Benchmarking Functional Error Handling in Scala

Categories

Tags backend-development software-engineering

Conventional wisdom has it that using too many functional abstractions in Scala is detrimental to overall program performance. Yet, these abstractions are an immense help if you want to write clean and abstract code. in depth article by Marcin Rzeźnicki.

The gut feeling every Scala developer has is that all the fancy monadic transformers add a lot of non-optimizable indirection (at the bytecode level) that throws JIT off and is slower than what your Java colleagues might have written. But how bad is it?

The article is divided into:

  • Devising an Experiment
  • EitherT vs Either
  • Quirks
  • The Use of Inliner
  • Either vs Exceptions
  • IO
  • Either vs Exceptions vs Bifunctor
  • Results and Analysis

Very detailed reading with loads of code and detailed analysis of the results for each run. Forget about exceptions. They do not seem to have any performance advantages (but they can have disadvantages if you throw them a lot. And unless you’re building a library, compile with inliner enabled. Great article!

[Read More]

Microsoft IoT Signals research report on state of IoT adoption

Categories

Tags data-and-analytics business-and-emerging-tech cloud-and-infrastructure

Microsoft recently announced IoT Signals, a new research report on the IoT landscape globally. Microsoft surveyed over 3,000 IoT decision-makers in enterprise organizations in order to give a view of the IoT ecosystem, with adoption rates, related technology trends, challenges, and benefits of IoT.

“IoT is transforming businesses in every industry and is powering breakthrough innovations,” said Sam George, head of Azure IoT. “Our research shows that unlocking IoT’s full potential requires the industry to address key challenges like the skills shortage, security concerns and solution complexity. Microsoft is leading the way on simplifying and securing IoT so that every business on the planet can benefit.”

IoT Signals key findings:

  • 85% of respondents are in IoT adoption, and three-fourths of these have IoT projects in planning
  • Among IoT adopters, 88% believe IoT is critical to business success
  • IoT adopters believe they will see a 30% ROI, inclusive of cost savings and efficiencies, two years from now
  • Nearly all IoT adopters — 97% — have security concerns when implementing IoT, but this is not hindering adoption
  • 38% of IoT adopters cite complexity and technical challenges to using IoT as a barrier to furthering their IoT adoption
  • Lack of talent and training present challenges for half of IoT adopters, and 47% say there are not enough available skilled workers
  • Respondents believe critical technology drivers for IoT success in the next two years are AI, edge computing and 5G
  • Nearly one-third of projects (30%) fail in the proof-of-concept stage, often because implementation is expensive or bottom-line benefits are unclear

Excellent report!

[Read More]

Bias Variance decompositions using XGBoost

Categories

Tags ai-and-machine-learning data-and-analytics software-engineering

This blog dives into a theoretical machine learning concept called the bias-variance decomposition. This decomposition is a method which examines the expected generalization error for a given learning algorithm and a given data source. This helps us understand various questions about model. Written by RAPIDS.

Generalization concerns overfitting or the ability of a model learned on training data to provide effective predictions on new unseen examples. We perform experiments using two popular tree ensemble learning algorithms, Gradient Boosting and Random Forests.

The main points of the article:

  • Bias Variance decomposition explained
  • Experimental Methodology
  • Gradient Boosting
  • Random Forests

Model performance may deteriorate based on two distinct sources of error -– bias and variance. Gradient boosting models combat both bias and variance by boosting for many rounds at a low learning rate. Further resources and charts include. Nice one!

[Read More]

How to encrypt files with gocryptfs on Linux

Categories

Tags cloud-and-infrastructure devops-and-ci-cd miscellaneous software-engineering product-and-design

Gocryptfs encrypts at the file level, so synchronization operations can work efficiently on each file. An article by Brian “bex” Exelbierd (Red Hat).

Gocryptfs is a Filesystem in Userspace (FUSE)-mounted file-level encryption program. FUSE-mounted means that the encrypted files are stored in a single directory tree that is mounted, like a USB key, using the FUSE interface.

This allows any user to do the mount—you don’t need to be root. Because gocryptfs encrypts at the file level, synchronization operations that copy your files can work efficiently on each file. This contrasts with disk-level encryption, where the whole disk is encrypted as a single, large binary blob.

The article covers:

  • Installation of gocryptfs
  • How to initialize your encrypted filesystem
  • How to use your encrypted filesystem
  • Unmounting the filesystem
  • Backing up your data
  • Bonus: Reverse mode

Gocryptfs is a flexible file encryption tool that allows you to store your data in an encrypted manner without changing your workflow or processes significantly. Nice one!

[Read More]

Build a mobile phone authentication component with React and Firebase

Categories

Tags architecture-and-apis software-engineering frontend-and-mobile security-and-privacy

Krissanawat Kaewsanmuang wrote this article in which he let you learn how to build a reusable phone authentication component with React and Firebase. This is 3rd part of series of article. In order to understand this tutorial properly, it is recommended to go through previous chapters of this tutorial series.

Here, we are going to implement the Phone authentication component with React and FirebaseWeb-UI and push the code to Bit’s cloud where it could be shared, discovered and used by others or even collaborated on. Bit helps your team share components and collaborate to build faster together.

You will learn:

  • How to use Bit
  • How to use Bit along with React
  • How to use React router DOM (Document Object Model)
  • How to use Firebase phone authentication
  • Create React component
  • Activate Firebase Phone Authentication
  • Setup react-router-dom
  • Get Form Value
  • Send SMS with Firebase
  • Verify OTP

… and more. Excellent and in depth guide. Well done!

[Read More]

Versioning Web API

Categories

Tags architecture-and-apis software-engineering frontend-and-mobile cloud-and-infrastructure

More and more organizations today face a dynamic and changing environment. This article reads about versioning in general and versioning Web API using multiple versioning strategies in detail. By Blog of Pi.

Handling changes in software systems is not an easy task and it is more challenging particularly in loosely coupled distributed systems, such as APIs or Microservices.

The article is split into:

  • Challenges – Evolving API
  • Routing methods
  • Versioning Strategies
    • Query string
    • URL Path
    • Custom Request Header
    • Accept Header
  • Deprecating a Version
  • API Explorer Options

This article tried to provide a summary of the very diverse and difficult problem of evolving a Web API. It discussed about the challenges, solution, versioning strategies and an implementation example with ASP.NET Web API. The full implementation of this post can be found in Github. Well done!

[Read More]

How to bounce back from rejection

Categories

Tags miscellaneous leadership-and-career software-engineering

When someone rejects you, it helps to remember that there’s another you. By Adam Grant.

In the publish-or-perish world of academia, having an article rejected can feel like a stab wound. We all get rejected at work, whether it’s having our suggestions shot down, being denied for a promotion or getting fired from a job. It hurts —- and it’s not just a metaphor.

Neuroscientists have scanned the brains of people who have cruelly been excluded from an online game or looked at a photo of their ex who dumped them. The physiological response looks fairly similar to processing physical pain.

Apparently, this was adaptive in our evolutionary past. If rejection didn’t sting, you might have been perfectly comfortable leaving your tribe, which would not bode well for your survival.

But it’s left us wired to overreact to everyday rejections. The good news is that we can learn to take rejection in stride. A good starting point is to remove, “It’s not you, it’s me” from your vocabulary.

The real reason to ban that phrase is because most of the time when we get rejected, it’s not you. It’s not me either. It’s us.

When one of your identities is rejected, resilience comes from turning to another identity that matters to you. Great read!

[Read More]