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 ]

Movement is medicine: How to work (and work out) safely at home

Categories

Tags miscellaneous leadership-and-career

Use these tips from Michigan Tech faculty and staff to be more physically comfortable and safer while learning, working and staying healthy at home. By Cyndi Perkins.

For many, the biggest challenge with remote work isn’t keeping the cat off the keyboard or responding to the toddler who informs your Zoom webinar audience that she needs to use the bathroom now. Instead, it’s preventing strains, pains and other potential injuries caused by working in unaccustomed, unhealthy positions. Another concern: sitting more and moving less throughout the day.

The article provides the answer to the questions:

  • Why should we care about ergonomics?
  • Why should we care about how long we sit in one position?
  • What are other ways to make a seated position healthier and more comfortable?
  • How can I take care of my wrists, neck and shoulders while I’m working on my laptop?
  • What do we need to know about lighting? How can we avoid eyestrain using the 20-20-20 rule?
  • Are standing desks a good idea?

Standing desks can be useful, as long as you alternate sitting and standing. The important thing with sit-stand stations is that they need to be properly configured and that users remember that standing in itself is a stationary activity, so it should not be used as your only desk. Some good advice in this article. Recommended read!

[Read More]

Microfrontends: expensive recipe for frontend applications

Categories

Tags frontend-and-mobile architecture-and-apis product-and-design

Microfrontends is a new trend in the frontend world however, the idea of being able to compose an application out of other independent applications is not new. By Sergio Martino.

Previous experiences such as Java Portlets have not been very successful while other companies, such as Beamery or Spotify, have tried the Microfrontends path with mixed results.

Microfrontends is an architecture pattern that offers an alternative to the frontend monolith by breaking up the frontend into multiple frontends, each with its own lifecycle. Being able to administer an application lifecycle independently from other applications allows teams to deploy features to production faster, as they face less dependencies, a concise scope and less risk of failures.

A migration path for a Monolith is complex as it does not offer a clean way to implement incremental structural changes however, breaking changes would be packaged within a single codebase and could be managed successfully. More often than not, a migration of a Monolith simply means developing a new version alongside a legacy version: old code might be difficult to read, but it would not come with side effects.

The frontend market today offers decent alternatives to the infamous Spotify’s iframe orchestration: Webpack’s Module Federation, Open Components or technology agnostic frameworks such as Single Spa are prime solutions for implementing Microfrontends, despite their young age. Interesting!

[Read More]

How to groom your engineers for engineering management roles

Categories

Tags leadership-and-career

By understanding your engineer’s driving motivations for wanting that new role and making sure that they’re realistic about the right things to optimize for with those motivations in mind. By Vishwa Krishnakumar.

Engineering leadership within companies are constantly looking to create an equitable process to figure out who on a software engineering team gets the opportunity to try management. However, there aren’t many good resources to help them figure out how they can spark interest in candidates that might be a good fit for management.

The main rules of thumb to follow while starting to move someone towards a management path are:

  • They have to be strong, solid, and dependable engineers
  • They need something to anchor on when they’re learning a new set of skills
  • The need to find opportunities for them to become somewhat responsible for delivering other people’s work
  • They have to actually be excited to play the role of management and also understand that engineering management is a whole different ballgame altogether

Engineers are either actively pursuing a management path or you see the talent in them to be good in such a role. In both cases, you can start by offering smaller management tasks, without the need to add a label to them. The most important thing you can do here is to create a good career ladder that outlines meaningful criteria for those roles. Good read!

[Read More]

From Vue to Nuxt: Server-side rendering in a nutshell

Categories

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

Building front-end apps is no longer limited to taking care of what is happening only in the browser. We need to dig into the server-side as well if we want to provide reliable software. By Patryk Andrzejewski.

The rendering process is handled by the server (usually written in express.js). Modern frameworks are managing it by a special function that takes the components and render them to the string or by the router that returns you rendered and matched components (by the current route).

The article then does a good job explaining following:

  • What is SSR and why we need it?
  • What about the overall business value?
  • How it actually works?
  • Implementation of basic SSR
  • Going to the future - composition API
  • Composition API and Nuxt.js

As a consequence of having two different environments: browser and the server (Node.js) - we need to prepare different bundles for the server and client-side. Both of them are sharing the same javascript code that creates the app. Good read!

[Read More]

OpenAPI-backed API testing in PHP projects: Laravel example

Categories

Tags leadership-and-career testing-and-quality frontend-and-mobile backend-development

OpenAPI is a specification intended to describe RESTful APIs in JSON and YAML, with the aim of being understandable by humans and machines alike. By Yannick Chenot.

In this article, we will see how to combine OpenAPI 3.0.x definitions with integration tests to validate whether an API behaves the way it’s supposed to, using the OpenAPI HttpFoundation Testing package.

The article has these sections:

  • The issue
  • A solution
  • PSR-7
  • A Laravel example

OpenAPI definition as a reference for code and tests

Source: https://tech.osteel.me/posts/openapi-backed-api-testing-in-php-projects-a-laravel-example

The OpenAPI specification has become a popular choice to describe APIs over time, but whether we use it or not doesn’t change the fact that the corresponding definitions need to be maintained; in other words, using OpenAPI does not automagically make the aforementioned issues go away. Good read!

[Read More]

Sprint planning checklist

Categories

Tags leadership-and-career software-engineering

A Sprint Planning checklist? How dare you: Agile is a mindset, not a methodology. It is a journey, not a destination. There is no one-size-fits-all approach, and what else could you possibly cover with a checklist, the mother of all standardized processes? By Stefan Wolpers.

Some of you may be aware that checklists originate from an aviation accident. A new plane with a crew of most experienced test-pilots crashed during take-off. It turned out that the plane had no mechanical problems at all, the flight crew just forgot a simple step during the take-off procedure.

This Sprint Planning checklist is modeled after a former Scrum Team of a large multi-national, traditional utility company at the beginning of its Scrum journey. In other words, you will not be able to apply this checklist to your Scrum Team without inspection and adaptation.

The article then deals with:

  • Preparing the Sprint Planning
    • Address the number of open tickets
    • Ask the team members to update the Sprint boards
    • Run the Sprint Review
    • Run the Sprint Retrospective
    • Remind all team members of tomorrow’s Sprint Planning
  • Planning
    • Cleaning up the old board(s) with the whole Scrum Team by walking the board and checking each ticket’s status
    • Discuss the possible spill-over
    • Close the previous Sprint
    • Ask the Product Owner to share the business objective
    • …
  • After the Sprint Planning
    • Sync the offline board with the online board
    • Start collecting data for the upcoming Sprint Retrospective
    • Participate in the outstanding Sprint survey
    • …

Scrum event checklists can serve both the junior practitioner—what do I have to do—and the experienced agile practitioner to deal with the complexity at hand. Checklists like this example of a Sprint Planning checklist are by no means a violation of the agile mindset but lessen the cognitive load of running events and practices, thus avoiding unnecessary issues with the rest of the organization. Good read!

[Read More]

How to supercharge string search through a directory hierarchy on a Linux/Unix

Categories

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

Usually, I use the grep command/egrep command for code searching on my box. Recently, I come across another cool tool called ag. It is an attempt to make something better than ack, which itself is better than grep command. Let us see how to install and use the ag tool on Unix-like operating systems. By Vivek Gite.

The ag command can recursively search for PATTERN in PATH. Like grep or ack, but faster. Ag uses Pthreads to take advantage of multiple CPU cores and search files in parallel. Files are mmap()ed instead of read into a buffer. Literal string searching uses Boyer-Moore strstr.

# Search for 'curl' in files with suffix .sh, .bash, .csh, .tcsh, .ksh, .zsh and .fish shell scripts only.
ag --shell 'curl' ~/bin/

# ag can search any number of files simultaneously.
ag UNIX foo bar foobar

# ag can only report the number of times that the pattern has been matched for each file. Just pass the -c option:
ag -i -c unix foo bar foobar

# One can search contents of compressed files too. Just pass the -z option:
ag -z 'main()' file.zip xkcd.tar.gz

# No need to use the egrep command with 'regex':
ag '[Cu]url' ~/bin/

The article provide the answer to the question why use ag tool:

  • It is faster than both grep and ack
  • It ignores file patterns found in your ~/.gitignore and ~/.hgignore
  • You can add custom ignore patterns to a ~/.ignore file
  • Ag uses Pthreads to take advantage of multiple CPU cores and search files in parallel

It also provide example how to search for various patterns and installation instruction for various Linux flavours and Mac. Good read!

[Read More]

10 docker security best practices

Categories

Tags devops-and-ci-cd security-and-privacy architecture-and-apis leadership-and-career

Docker containers and Kubernetes are the driving force of a modern software development life cycle. Although Docker is a safer option than working on the host machine directly, many potential security issues may arise while working with containers. By Sofija Simic, an aspiring technical writer at phoenixNAP.

This is a short and to the point guide, and it mentions:

  • Update Docker and host regularly
  • Configure resource quotas
  • Use non-root users
  • Limit capabilities
  • Prohibit new privileges
  • Use trusted images

.. and few more. When pulling an image from online registries, make sure it is from a secure, trusted source. The safest option is sticking to the official Docker hub. Avoid public third-party registries which lack control policies. Also, use image scanning tools to search for vulnerabilities before downloading anything on the host system.

You should scan images regularly, not just when downloading them from an online registry. Even local images that haven’t been utilized for a while should be scanned before building a container. To get more details follow the link to the article. Sweet!

[Read More]

How to grid search deep learning models for time series forecasting

Categories

Tags how-to ai-and-machine-learning data-and-analytics

Grid searching is generally not an operation that we can perform with deep learning methods. This is because deep learning methods often require large amounts of data and large models, together resulting in models that take hours, days, or weeks to train. By Jason Brownlee.

This tutorial will guide you through:

  • How to develop a generic grid searching framework for tuning model hyperparameters
  • How to grid search hyperparameters for a Multilayer Perceptron model on the airline passengers univariate time series forecasting problem
  • How to adapt the framework to grid search hyperparameters for convolutional and long short-term memory neural networks
  • Train-test split
  • Series as supervised learning
  • Walk-Forward validation
  • Repeat evaluation
  • Summarize performance
  • Worked example

Among other things you will develop a grid search test harness that can be used to evaluate a range of hyperparameters for different neural network models, such as MLPs, CNNs, and LSTMs. There is plenty of links attached for you to learn even more. Excellent!

[Read More]

Learn how to use webhooks by connecting NodeJS, IFTTT and Twitter

Categories

Tags how-to architecture-and-apis data-and-analytics backend-development product-and-design frontend-and-mobile

In this guide, you’ll learn what webhooks are and how they work. You’ll then put together a simple Webhook integration for IFTTT and Twitter, using Node and a simple Express app. By Robbie Cahill.

Webhooks are like APIs in reverse. With an API, you make requests to an API provider. Webhooks reverse this flow. You need a public URL for your application to test webhook integrations end to end. There are a few tools out there that can give you one but author suggests expose because the syntax is easier to work with than other tools where you need to specify a protocol and port.

The article main content:

  • What are webhooks?
  • Get the code and run the app
  • Configuring IFTTT

The IFTTT Twitter integration supports sending notifications for things like retweets of your tweets and other useful stuff. There are also thousands of IFTTT triggers you can plug into. Nice one!

[Read More]