DZone.com Feed

DZone.com Feed


Attention Is My Most Valuable Asset for Productivity as a Software Developer

Posted: 11 Nov 2020 07:02 PM PST

Like a tightly written function, I prefer to exit early if no work should be done. So, if you disagree with these definitions and assumptions, now's a good time to stop reading.

  • Sustainable productivity: The maximum rate of quality work output, without loss to the wellbeing of the developer
  • Quality work: Software that meets requirements, is valuable to users, is maintainable, and is as bug-free as possible
  • Attention: The limited mental capacity to focus on a task
  • Sustainable productivity is desired
  • Attention is essential to sustainable productivity

My high-level workflow looks something like this: identify the problem to solve; think on the problem and let ideas percolate; research, discuss, and experiment with these ideas; implement and test the solution; deliver and maintain the solution.

How to Become a Cloud-Native Company and 13 Tools to Get You There

Posted: 11 Nov 2020 02:45 PM PST

This article was originally published at Coder Society.

The last decade has seen a huge rise in cloud computing. 

Navigating the Perplexities of Cloud-Centric Python Development

Posted: 11 Nov 2020 02:44 PM PST

Python has become a very popular programming language with over 8.2 million developers. One of the appeals is its flexibility, which includes options to use it over the cloud. It is increasingly common for Python developers to write and execute code over cloud servers. The main advantage of writing and executing Python code on the cloud, apart from having more features than a local computer, is the ability to share configurations and perform collaborative work easily.

The downside is that there are some challenges that Python developers face over the cloud. Since the Python ecosystem is evolving at a rapid pace, you may have problems using the most recent features. You may also have issues sharing your work. This is partly because the configuration of Python libraries (and versions) varies considerably among team members.

Goodhart's Law: A Basic Introduction

Posted: 11 Nov 2020 02:37 PM PST

There is an old economic adage dating back to around 1975 that says "Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes." This statement was made by the chief economic advisor to the Bank of England, Charles Goodhart, in an article discussing monetary policy in the United Kingdom. Goodhart was making a direct criticism of the current policies and practices used to measure the growth of the British economy up until that time. He was cautioning that when a feature of the economy is picked as an indicator of its performance, then it inexorably ceases to function as that indicator because people start to game it. Now known as Goodhart's Law, this same concept applies to far more than just economic measurements. 

You can see Goodhart's Law in action when anything is determined as a key performance indicator (KPI) and has a goal tied to it as a performance metric, particularly for IT metrics. These days, what doesn't have a goal and a specific measurement tied to it?

PostgreSQL: How To Update Large Tables

Posted: 11 Nov 2020 02:28 PM PST

Updating a large table in PostgreSQL, an advanced open-source database management system, is not straightforward. If you have a table with hundreds of millions of rows you will find that simple operations, such as adding a column or changing a column type, are hard to do in a timely manner.

Doing these kind of operations without downtime is an even harder challenge. In this blog post I will try to outline guidelines and strategies to minimize the impact in table availability while managing large data sets.

What's New In OAuth 2.1?

Posted: 11 Nov 2020 02:24 PM PST

The OAuth 2.1 authorization framework enables a third-party application to obtain limited access to an HTTP service, either on behalf of a resource owner by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf. The OAuth 2.1 specification replaces and obsoletes the OAuth 2.0 Authorization Framework described in RFC 6749.

The OAuth 2.1 specification consolidates the functionality in OAuth 2.0 (RFC6749), OAuth 2.0 for Native Apps (RFC8252), Proof Key for Code Exchange (RFC7636), OAuth 2.0 for Browser-Based Apps, OAuth Security Best Current Practice, and Bearer Token Usage (RFC6750).

Build Email Workflow Integration With Reshuffle Open Source

Posted: 11 Nov 2020 02:21 PM PST

You can use Reshuffle Open Source connectors to integrate your email form, populate the customer data from the email into a spreadsheet, and automatically send an email response providing the customer with the demo information you want them to have.

Email forms on websites are great for gathering customer data and enabling customers to opt-in for registrations, marketing communication, waitlists, product demos, and more. If you don't want to use a vendor to generate the email workflow, you can build a series of free integrations with Reshuffle Open Source to automate the process and improve customer experience. You'll give your customers and prospects a fast, automated process that delivers what they expect of you.

How to Find the Best DevOps Tools for Your Business

Posted: 11 Nov 2020 02:15 PM PST

Like other industries, IT needs to be more Agile to keep up with the speed of business today. The need to get software to market faster is causing more companies to bring DevOps into their enterprises. Over the last five years, DevOps adoption has grown from 54% in 2013 to 78% in 2017.ยน

As DevOps increases in prevalence, companies are becoming well-versed in the business value of bringing together IT development, operations and QA teams to deliver software faster, at higher quality and with reduced costs and risks. They understand the benefits of automating, standardizing and accelerating provisioning, build, deploy and release tasks across environments.

The Art of Labeling User Feedback for Your Mobile App

Posted: 11 Nov 2020 02:09 PM PST

Feedback is the single most valuable source of information about the app. However, extracting meaningful data from it might be a challenge. The key to making use of this information is structure โ€“ you see, the answers to your app's issues are already somewhere in that pile of text waiting to be discovered. To do it the right way, you need to understand the strengths and weaknesses of the options available.

The Importance of Feedback

The value of user feedback is difficult to overestimate. On the one hand, it is a major source of information on technical issues the app might have. On the other hand, it helps the dev team understand whether the project is on the right track and what can be done to enhance user experience. Finally, it serves an important function โ€“ namely, it shows customers that their voice is heard. The latter two are essential for winning the hearts of millennials, who form a massive chunk of the market's demographic. This is why mobile app development companies are now integrating feedback systems within their products to encourage participation among their audience.

Importance of Schema Registry on Kafka Based Data Streaming Pipelines

Posted: 11 Nov 2020 02:01 PM PST

Apache Kafka delivers messages to both real-time and batch consumers without performance degradation and in addition to that gaining enormous momentum as a foremost component for data streaming pipelines too.

Credit card fraud detection, predictive maintenance, or real-time analytics, building streaming IoT platform, etc. are the example of real-time use cases. To handle massive amounts of data ingestion, Apache Kafka is the cornerstone of a robust IoT data platform. A schema defines the structure of the data format and schema evolution is a feature that allows updating the schema used to write new data while maintaining backward compatibility with the schema(s) of old data. The schema evolution is an important characteristic of data management. Once the initial schema is defined, streaming applications those integrated through data pipelines may need to evolve over time. There would be a critical situation for the downstream consumers of streaming data to handle data encoded with both the old and the new schema seamlessly when schema evolution takes place. 

7 Tips For Your Full-Text Search Production Systems

Posted: 11 Nov 2020 12:46 PM PST

Creating the right search index and tuning its various configurations is very essential to the smooth working of any Full-Text Search production systems. These operational aspects play a key role in improving the indexing and querying performance of the search systems. We encourage every user of Search service to get familiar with the below concepts of index management and use it judiciously in their cluster. So you may scroll further to explore a few effective operational tips on Search services like memory quota, index partitions, replicas, aliases, and failover-recovery rebalance.

1. Provision Sufficient Memory Quota 

The default memory quota for Search service is 512MB and this won't be sufficient enough to support any production scale search systems. So it's recommended to revise the Search RAM quota to more meaningful values as a part of the sizing of the cluster.

An Introduction to Open Source IoT OS, RT-Thread

Posted: 11 Nov 2020 12:28 PM PST

RT-Thread was born in 2006, it is an open-source embedded real-time operating system (RTOS) that provides a wide range of components and 250+ software packages for the Internet of Things (IoT). 

RT-Thread Architecture

RT-Thread is mainly written in C language, easy to understand, and has great portability that supports quickly porting to a variety of mainstream MCUs and module chips. RT-Thread applies an object-oriented design method to the real-time system, which helps to build the elegant code, clear architecture, highly modularized system, as well as easy to tailor.

Product Manager: Machine Learning Interview Questions

Posted: 11 Nov 2020 12:12 PM PST

In this post, you will learn about some of the interview questions that can be asked in the product manager/business analyst job. Some of the questions listed in this post can also prove to be useful for the interview for the job position of director or vice president, product management. The interview questions can be categorized based on some of the following topics:

  • Machine learning high-level concepts
  • Identifying a problem as machine learning problems
  • Identifying business metrics vs value generation
  • Feature engineering
  • Working with data science team in the model development lifecycle
  • Monitoring model performance
  • Model performance metrics presentation to key stakeholders
  • Setting up product AI team (I will be doing a detailed post on how to set a product AI team)

Most Important Interview Questions

Here are some of the interview questions that you as a product manager/business analyst may want to get prepared with:

Charts With Modern React and D3

Posted: 11 Nov 2020 10:08 AM PST

ReactJS is a front-end javascript library for making reusable web components. Its approach is to break down web applications (and mobile application, through React Native) into smaller, (almost) isolated, and reusable components. It makes it much easier to develop and maintain medium to large-sized web applications.

D3JS is javascript library for creating graphics based on data. It helps you to bind data to HTML elements (SVG) and manipulate it using the data. It could be used on its own (without ReactJS, or any other web framework) to create almost any data visualization tool and dashboard you can think of. However, when you combine this with ReactJS, you can now create a modern web-based data dashboard.

How Kubernetes Can Help to Operationalize Your Container Security

Posted: 11 Nov 2020 10:00 AM PST

As organizations continue to pursue their digital transformations, their IT infrastructures are expanding in both size and diversity. Many are seeing the addition of two new technologies in particular. These are containers and Kubernetes.

Containers

Kubernetes defines containers as "technology for packaging an application along with its runtime dependencies." Containers are especially useful in that those dependencies make behavior repeatable across different operating systems, thereby decoupling them from the host infrastructure. This property makes it easy to deploy containers across different cloud environments and other types of IT infrastructure.

Implementing GraphQL With MuleSoft

Posted: 11 Nov 2020 09:57 AM PST

Introduction

GraphQL is an open-source query language for Rest API's and it is developed by Facebook in 2012 before releasing publicly in 2015. GraphQL allows you to send the query to your API and get the required data. 

REST APIs are powerful and follow a resource-oriented and well-structured approach. However, when the data is complex and it is not possible to fetch all the data within a single request as it involved various operations and routes get more complex. GraphQL is very useful in such cases and structures data in the form of a graph with its powerful query syntax for traversing, retrieving, and modifying data. 

What Are Domain Events?

Posted: 11 Nov 2020 09:49 AM PST

What Is an Event?

An event in the context of software development is something that happens around us that we choose to put into our system as something noteworthy. The most common scenarios include:

  • Storing events for analytics/BI purposes
  • Supporting communication between services by publishing application events
  • Use Event Sourcing to provide a single source of truth

Events are building blocks that have become popular for many use cases. Many technical products base their design on events as a core building block. Just like any other building block or definition, it is important to recognize that all events are not equal. First, let's look at the properties of events that are ubiquitous regardless of the use case or product involved.

Dataweave Filter Function

Posted: 11 Nov 2020 09:15 AM PST

Surprisingly there are very few examples of the filter function of Dataweave in MuleSoft. I wanted to take this opportunity to share my experience with filters with you. The following example shows how can we use the filter function in some complex scenarios.

The filter function in the dataweave is used to filter the values based on matching expression. The expression returns the boolean values either true or false. This function can be applied to an array. It iterates the array and matches the values with the expression. The output of the filter function is an array with the matching values.

Versioning APIs In Anypoint Platform

Posted: 11 Nov 2020 09:06 AM PST

Artifices for API versions on Anypoint Platform: 

   Follow a split plan on versioning APIs:

Contract Testing Strategy: Producer-Driven or Consumer-Driven

Posted: 11 Nov 2020 08:58 AM PST

In a previous post, we saw how new needs arise in the field of testing derived from the evolution of application architectures. We talked about how over the years we have gone from developing applications based on a monolithic architecture to applications based on (micro) services. Where before we had centralized tests in a single application, we now have them divided between several, so we have to ensure that each of them is tested independently and securely.

We presented a simple example of an application, which helped us to establish some concepts (such as consumer, producer, service) and which allowed us to highlight a new need: as important as testing the functionalities in consumer and producer independently is, so it is to ensure that the interaction between the two is right. We can address this need by means of end-to-end tests, but while these tests are already complex to implement/execute in monolithic applications, they are even more so in other types of applications.

Ultra Low Latency Video Streaming and 7 Use Cases

Posted: 11 Nov 2020 08:01 AM PST

Especially with Covid-19, people started to demand more live streams. But especially in some live streams which we will talk about in the rest of the blog post should be really "live" to satisfy the audience. Let's start with how popular live streaming is. According to the Cisco Annual Internet Report; Increasing internet connection speeds will enable a higher resolution to live video streaming and live video streaming will become popular in every field.

With the popularity of live streaming, the need for ultra low latency video streaming is increasing day by day.

6 of the Best API Testing Tools in the Market

Posted: 11 Nov 2020 07:23 AM PST

API test is a significant part of a successful Continuous Integration/ DevOps practice. As per Google Trends, the interest in Web/ API services tests has been progressively growing over the few decades. According to SmartBear research over 3,372 software professionals in API test over 2019, 91 percent of participants either presently have, or thinking to have a formal API test procedure in place in the coming future. Around 45 percent of API testers reported that their company already automated 50% or more of test projects. Moreover, by more than 75 percent of companies across industries, API quality is considered a top priority.

With APIs more and more becoming crucial elements for software development, it has become critically essential for programmers and developers to carry out API testing. API test is a procedure that concentrates on identifying whether an API that has been developed meets up the expected threshold concerning security, reliability, performance, and functionality. As these tests are crucially vital, you need to make use of the top API testing tools out there. 

Comments

Popular posts from this blog

Digg

DZone.com Feed

DZone.com Feed