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 ]

Setting SSL/TLS protocol versions with PostgreSQL 12

Categories

Tags security-and-privacy data-and-analytics devops-and-ci-cd software-engineering cloud-and-infrastructure

Straight to the point tutorial about setting SSL/TLS protocol versions in open source database PostgresQL. Published by Peter Eisentraut.

PostgreSQL 12 contains two new server settings:

  • ssl_min_protocol_version
  • ssl_max_protocol_version

As the names indicate, these are used to control the oldest (minimum) and newest (maximum) version of the SSL and TLS protocol family that the server will accept.

For historical reasons, in PostgreSQL, all settings related to SSL and TLS are named ssl_something, even though TLS is the currently correct term. Which TLS versions PostgreSQL supports also depends on what the OpenSSL library in use supports. All releases under the “OpenSSL” label (as opposed to the predecessor “SSLeay”) support at least TLS 1.0.

By default, PostgreSQL server and client leave the negotiation of the TLS version up to the SSL library. They will negotiate a TLS version between 1.0 and 1.3 transparently and use the latest one that both sides support.

For details steps how can you check what TLS versions you are currently using, commands examples and more – follow the link to this excellent tutorial!

[Read More]

How to work from home: 20 tips from people who do it successfully

Categories

Tags leadership-and-career cloud-and-infrastructure architecture-and-apis

Working from home is awesome … right up until the cat throws up on your computer. And your neighbor, who you can only assume is building a time machine, starts firing up all sorts of power tools and noisy machinery across the street. Written by Erik Devaney.

For many modern professionals, working from home every once in a while is a luxury that our respective companies afford us. But which environment actually allows us to be more productive: the home office or the office office?

At the home office, however, I find that it’s easy for you to become your own worst enemy. Because when you’re not surrounded by coworkers, you’re free to drop those pesky inhibitions. At the home office, no one’s watching. You don’t necessarily feel that same peer pressure or communal obligation to get stuff done. When I work from home, I wake up, put on a pot of coffee, and start working immediately – much earlier normal working hours.

The article covers:

  • Get started early
  • Pretend like you are going into the office
  • Structure your day like you would in the office
  • Choose a dedicated work space
  • Don’t stay at home

To learn the rest please follow the link to the author’s article. Nice one!

[Read More]

Data structures and algorithms in Java: A beginner's guide

Categories

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

Learn all about array and list data structures in Java, and the algorithms you can use to search and sort the data they contain. By Jeff Friesen.

Data structures are based on abstract data types (ADT), which Wikipedia defines as follows:

[A] mathematical model for data types where a data type is defined by its behavior (semantics) from the point of view of a user of the data, specifically in terms of possible values, possible operations on data of this type, and the behavior of these operations.

This tutorial series is a beginner’s guide to data structures and algorithms in Java. You’ll learn:

  • How to recognize and use array and list data structures in your Java programs.
  • Which algorithms work best with different types of array and list data structures.
  • Why some algorithms will work better than others for your specific use case.
  • How to use time and space complexity measurements to choose the most efficient algorithm for your use case.

This is five part tutorial with excellent overview and explanation how more you understand about data structures and algorithms, and how they work together, the more efficient your Java programs will be. Brilliant!

[Read More]

Sprint goal template

Categories

Tags leadership-and-career devops-and-ci-cd

The Sprint Goal is mentioned numerous times in the Scrum Guide, however it can be overlooked by many teams or seen as an “oh yeah” moment when teams are finishing Sprint Planning. By Steve Trapps.

When I started out in a Scrum Team we never really had a Sprint Goal, our focus tended to be looking at the items in the backlog then saying “Get that done and that one, if not all of them!”… Teams I have worked in have struggled to create a meaningful goal, i.e. one that people can read and easily understand without it being too prescriptive on what the team needs to do.

One purpose of the Sprint Goal is to provide focus to the Development Team during the Sprint. If the goal is just a set of items to complete then chances are the team will work in isolation from each other, as each person works on an item with potentially the team pulling in different directions. – Not a great place to be in!

Follow the link to original article to actually see the well tested template. Excellent!

[Read More]

Kotlin -- The suspend modifier under the hood

Categories

Tags backend-development software-engineering product-and-design

Kotlin coroutines introduced the suspend modifier in our daily life as Android developers. By Manuel Vivo.

In this tutorial author will look under the hood and answer the question: How is the compiler transforming the code to be able to suspend and resume the execution of coroutines? How is the compiler transforming the code to be able to suspend and resume the execution of coroutines?

The article content is split into sections:

  • Coroutines 101
  • Suspend under the hood
  • Continuation interface
  • Using different Dispatchers
  • The generated State machine

The Kotlin compiler will create a state machine for every suspend function that manages the coroutine’s execution for us! Very useful for anybody interested in Kotlin!

[Read More]

Zero downtime Laravel deployments with Laravel Deployer and Github Actions

Categories

Tags backend-development devops-and-ci-cd frontend-and-mobile

Michael Brooks is author of this blog post about Github actions and how they can automate your entire workflow. From building your assets to running your testing and deployment strategies.

Github Actions is very similar to other services such as TravisCI, CircleCI, GitLab Pipelines etc, but if you already have your projects on GitHub, then it makes sense to get Actions working as well.

The article then deals with:

  • Setting up Github Actions
  • Scaffolding the workflow
  • Defining our jobs
  • Building your JavaScript and CSS assets

Jobs are individual runners or tasks and one job can depend on another. This means if a job fails, and the next one depended on that job, then it won’t run. For example, before we can test our app, we need to ensure our assets are built and if we need all tests to pass before deployment, then we need to ensure that runs successfully too. Perfect!

[Read More]

How to use Netlify to deploy a free Go web application

Categories

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

Netlify is an web host that specializes in hosting static files. But Netlify also has various solutions for dynamic hosting, and their “Functions” service turns out to be a very easy way to host a Go web application, often for free. In this post, you will get walk through a demo repo author made that shows how to do this. By Carl M. Johnson.

Netlify’ documentation is pretty good, so it is recommended to consult them for more in-depth information. You can see the final version of all of the code on Github and a live demo on Netlify.

The goal is to have a backend fetch the RSS feed we need and return a JSON Feed from the same origin as our website. Go makes it easy to write a service to turn a URL with XML in it into JSON. A quick Go application that uses the feed2json module to create an HTTP server is just few lines of code long.

However Netlify use an AWS Lambda, rather than a normal HTTP service, so we’ll either need to rewrite our service to use Lambda or find an adapter. To learn how to do it, click and follow link to original article. Well done!

[Read More]

How to create a small business continuity plan for your startup

Categories

Tags miscellaneous leadership-and-career how-to

Disasters like floods, earthquakes, fires, or cyber attacks rarely arrive announced. Is your company adequately prepared for such events? A business continuity plan provides a rundown of the procedures a company must follow in the face of an emergency to continue business operations during and after a disaster. By brex.com.

Business continuity is a company’s ability to maintain its operations and critical business functions during and after a disruption. The business continuity plan (BC or BCP) provides instructions to an organization on how to proceed after a disruptive event. It includes a list of procedures to follow, covering human resources, business processes, protection of assets, and more.

The article further reads about:

  • What is business continuity?
  • Who needs business continuity planning?
  • The business continuity plan outline
  • Five general steps to create a BC plan

Once you have a snapshot, develop a plan. Think of creating a plan of loose guidelines instead of a strict code of regulations so personnel can follow an outline yet still adapt to the type of business disruption. Good read!

[Read More]

How container networking affects database performance

Categories

Tags data-and-analytics backend-development software-engineering devops-and-ci-cd

An article by Percona team about building and releasing Operators for Kubernetes to run traditional databases in a cloud-native fashion. They released Percona Server for MongoDB and Percona XtraDB Cluster; they were chosen because they both feature replication systems that can be made to work effectively in a containerized world.

The article is split into:

  • Benchmark methodology
  • What CNI plugins we tested
    • Project Calico
    • Flannel
    • Cilium
    • Weave (weave-net)
    • Intel SR-IOV and Multus
    • Kube-Router

For full results please click to the original article. One very interesting result was how strong the correlation was between network throughput, as measured by iPerf3, and database throughput, as measured by sysbench. You will also get video with a talk on the topic. Nice one!

[Read More]

Quick front-end integrations through components

Categories

Tags frontend-and-mobile software-engineering

Integrations between people and projects are a challenge for every organization. For teams that work remotely, it’s twice as challenging. Integrations should be made as simple and “low-touch” as possible. By Jonathan Saring.

Luckily enough, modern frontend is built with components. And, we can leverage Bit to achieve quick and simple component-driven integrations between teammates working on different projects. Bit lets front-end teams expose components from each other’s projects and quickly use their APIs wherever they’re needed. It makes the process much simpler and more effective than before through a set of unique features and capabilities throughout the component’s lifecycle.

In this post, author explains and demonstrate:

  • How to quickly expose components from your project and let other teammates use their APIs in their own projects (no repo splitting)
  • How these components can be quickly integrated into new projects using Bit’s ability to “source” components for local code editing
  • How your team can share all your components for reuse and expose their APIs through the bit.dev component cloud.
  • And finally, how you can connect Bit.dev to GitHub and Slack to create one super-workflow for building with components together

Excellent read and as a bonus you will get video tutorial as well.

[Read More]