DZone.com Feed

DZone.com Feed


The Boy Scout Software Development Principle

Posted: 21 Aug 2020 02:15 AM PDT

Boy scouts have an easily understood philosophy, which is that they should always leave their campsites in a better condition than the state which they found it in. Cleaning away one piece of garbage each, or something equivalent, creates a situation where a visit from a boy scout group, becomes a great experience for everybody else. Developers can learn a lot from this philosophy.

Every single time you create a pull request, the code you commit should "pick up one piece of garbage", by refactoring it somehow, making it more easily read, and/or performing better somehow. If you make a habit out of this, then over time your codebase will slowly become better.

What Are Good Traits That Make Great API Product Managers

Posted: 20 Aug 2020 04:51 PM PDT

As more companies realize the benefits of an API-first mindset and treating their APIs as products, there is a growing need for good API product management practices to make a company's API strategy a reality. However, API product management is a relatively new field with little established knowledge on what is API product management and what a PM should be doing to ensure their API platform is successful.

Many of the current practices of API product management have carried over from other products and platforms like web and mobile, but API products have their own unique set of challenges due to the way they are marketed and used by customers. While it would be rare for a consumer mobile app to have detailed developer docs and a developer relations team, you'll find these items common among API product-focused companies. A second unique challenge is that APIs are very developer-centric and many times API PMs are engineers themselves. Yet, this can cause an API or developer program to lose empathy for what their customers actually want if good processes are not in place. Just because you're an engineer, don't assume your customers will want the same features and use cases that you want.

GPT-3 Does Not Understand What It Is Saying

Posted: 20 Aug 2020 04:12 PM PDT

Imagine that we sent a robot-controlled spaceship out to the far reaches of the galaxy to contact other life forms. On the ship, we placed a copy of all the text on the internet over the last three years so intelligent alien races would be able to learn something about us. After traveling twelve light-years, the ship enters the solar system around the star Luyten where it is boarded by aliens. The Luytenites retrieve the copy of the internet text and try to make sense of it.

They ask their top linguists to interpret these strange symbols but make little progress. The Luytenites were in the same position as eighteenth-century archaeologists who kept discovering stones with ancient Egyptian hieroglyphs. Finally, in 1799, archaeologists discovered the Rosetta stone which had both Egyptian hieroglyphs and ancient Greek text. Because they had what turned out to be the same decree in two languages, they were finally able to figure out the meanings of the hieroglyphs.

Bitbucket Pre-Commit Hooks With Husky for Better Code Quality

Posted: 20 Aug 2020 03:41 PM PDT

BitBucket is Git Management solution from Atlassian. It is free for small teams up to 5 active team members and support all Git repository features. More about Bitbucket could be fount at their website https://bitbucket.org/ .

Pre-commit hooks are powerful functionality to execute own scripts after staging git changes but before commit them to the local repository. Thanks to this solution developers are able to execute code quality checks and code tests before the code officially lands at the repository. Pre-commit hook is not the only hook supported by Git. Other common hooks are:

Connecting Snowflake With MuleSoft Database Connector

Posted: 20 Aug 2020 03:34 PM PDT

Introduction

Snowflake is an analytics data warehouse provided as Software as a Service. It is faster, flexible, and easy to use and it is not built on the top of any BigData platform like Hadoop. It has many similarities to the Enterprise data warehouse but also some unique and additional capabilities. As Snowflake is a SaaS application, there is no need for any hardware need to set up virtually or physically, and no additional software required to install, configure, or manage.

MuleSoft Database Connector

MuleSoft database connectors have capabilities to connect any database like MS SQL, Oracle, MySQL, etc. The database connector provides many operations like Select, Update, Delete, Insert, Calling Stored Procedure, etc.

A Journey From MuleSoft to Serverless Integration

Posted: 20 Aug 2020 03:06 PM PDT

In the current highly volatile market trend the cost optimizationinfinite scalability, and agile development tools are very vital for any enterprise digital roadmap. The fast-growing trend of FaaS world with AWS Lambda, Google Cloud function, and Azure Fn has already received recognition of small, medium, and large enterprises and this indicates that the move from the iPaaS to FaaS is natural and unavoidable. This move opens a new world of Serverless Integration.

The key features of serverless integration are:

Implementing One and Two Way SSL (Mutual Authentication) for MuleSoft Application

Posted: 20 Aug 2020 02:52 PM PDT

Introduction

In this article, we will be going to learn how to set up the one-way SSL and two-way SSL for MuleSoft applications.  In one way SSL, the client always verifies the server certificates and the server never verifies the client certificates whereas in two-way SSL client verifies the server certificates and server verifies the client certificates. Sometimes two-way SSL is also known as Mutual Authentication.

One Way SSL

As mentioned above in one way SSL only client verifies the server certificates. At the server end, there will be a Keystore that will hold the private and public certificate of the server whereas, at the client end, there will be a truststore that will hold the public certificate of the server.

Why Data-Driven Customer Success is Essential in Today’s COVID World

Posted: 20 Aug 2020 02:16 PM PDT

In today's unprecedented economic downturn, it's more difficult than ever to find and close new customers. The onus is now on maintaining existing customers as productive users of your product. By closely monitoring API metrics, Customer Success Management (CSM) teams can get an early warning on those that are at risk of churning, and rectify things before it's too late.

Customer Acquisition Versus Customer Retention: At Least 5X Difference in Cost

According to different surveys, the average cost of acquiring a new customer is between 5X and 25X the cost of retaining an existing one. That was in the pre-COVID era. In today's world, it's probably more.

Improve Uptime With Error Prevention and Awareness

Posted: 20 Aug 2020 01:35 PM PDT

On any given day, we use rideshare apps to get from one place to another. We check public transportation apps to see when the next train is arriving at the station. We use streaming services to watch Frasier at the end of lo-ooo-ng work days. As part of engineering teams, we use application monitoring and cloud services (like CI and cloud infrastructure) to function, so that code changes seamlessly deploy into production.

We expect the services and products we rely on to always work, without question. When these services and products don't work and are experiencing what we call downtime, we aren't happy — like Frasier when he finds his sherry decanter empty (gasp!).

Introduction to Regular Expressions With Modern C++

Posted: 20 Aug 2020 01:10 PM PDT

Regular expressions (or regex in short) is a much-hated & underrated topic so far with Modern C++. But at the same time, the correct use of regex can spare you writing many lines of code. If you have spent quite enough time in the industry. And not knowing regex then you are missing out on 20-30% productivity. In that case, I highly recommend you to learn regex, as it is a one-time investment(something similar to learn once, write anywhere philosophy).

Initially, In this article, I have decided to include regex-in-general also. But it doesn't make sense, as there is already people/tutorial out there who does better than me in teaching regex. But still, I left a small section to address Motivation am Learning Regex. For the rest of the article, I will be focusing on functionality provided by C++ to work with regex. And if you are already aware of regex, you can use the above mind-map as a refresher.

Dependency Injection Using UnityMVC5

Posted: 20 Aug 2020 11:52 AM PDT

In C#, there are various design patterns for code plan, design, and maintenance. Dependency Injection is a design pattern in which we write code in a loosely coupled manner. A loosely coupled code is injected at runtime if there is any logic required from that code. We write in a manner that enables the code to be independent when not to be used and can be injected when it is used. It is also called Inversion of Control.

This is a software design pattern that can be followed in any of the programming languages to write the code. In the context of C# let's understand how we can achieve the benefit of Dependency Injection.

Implementing NetSuite Saved Search With MuleSoft - Part 1

Posted: 20 Aug 2020 11:33 AM PDT

Introduction

NetSuite is a SaaS-based ERP which allows companies to manage important business using a single tool. NetSuite provides a suite of cloud-based financials /Enterprise Resource Planning (ERP) and omnichannel commerce software. NetSuite has capabilities of ERP, CRM, Manufacturing, e-commerce, retail. 

MuleSoft provides a NetSuite connector, which enables to automate the business process and synchronize the data between NetSuite and third-party tools. NetSuite Connector uses SuiteTalk WSDL to provide SOAP-based integration to generate NetSuite business objects, make use of different authentication levels, and support error handling.

Top 5 Apache Kafka Courses for Beginners and Experienced Developers

Posted: 20 Aug 2020 10:43 AM PDT

You might have heard about Apache Kafka, the next generation big data messaging system which is handling billions of messages per day for companies like LinkedIn, Uber, Airbnb, and Twitter. In the past, I have shared some awesome courses on Big Data, Spark, and Hadoop and many of my readers requested that I share similar suggestions for Apache Kafka. If you are interested in Apache Kafka and looking for some awesome courses to learn online then you have come to the right place.

In this article, I am going to share some of the best Apache Kafka courses to learn online. If you know about big data then there is a good chance that you have also heard about Apache Kafka, the software which can handle data feeds for any organization. 

Top 5 JavaScript Libraries to Create an Organizational Chart

Posted: 20 Aug 2020 10:42 AM PDT

In this article, we'll review five JavaScript libraries that allow you to create online organizational charts. To make this info useful for different categories of readers, we've gathered together libraries with different functionality and pricing policy. To help you decide whether one of them is worthy of your attention or not, we'll take a look at the main features and check if the documentation is user-friendly.

DHTMLX Diagram Library

dhtmlxDiagram

How to Easily Set Up Mutual TLS

Posted: 20 Aug 2020 10:42 AM PDT

Mastering Two-Way TLS

This tutorial will walk you through the process of protecting your application with TLS authentication, only allowing access for certain users based on their certificates. This means that you can choose which users are allowed to call your application.

This sample project demonstrates a basic setup of a server and a client. The communication between the server and client happens through HTTP, so there is no encryption at all yet. The goal is to ensure that all communication will be encrypted.

Java Server Faces in Real-Life Applications

Posted: 20 Aug 2020 10:42 AM PDT

JavaServer Faces (JSF) is the current front-end technology for building web-based applications in the Java Enterprise Edition platform (JavaEE).

In this article, we will talk about the requirements and recommendations that should be taken into consideration for building production-ready JSF applications, including development environment setup and preparation, prototype and design, development and troubleshooting, and performance tuning.

Data Breaches in the Age of Cloud Data Platforms

Posted: 20 Aug 2020 10:39 AM PDT

Between 2015 and 2018, I was leading a data engineering team for a financial services company. We were the first team in the company to use Azure, and we built a data science environment.

Leading the first cloud implementation project put us under the microscope. We spent months discussing and configuring security, networking and governance.

What Is HBase in Hadoop NoSQL?

Posted: 20 Aug 2020 10:38 AM PDT

HBase is a column-oriented data store that sits on top of the Hadoop Distributed File System and provides random data lookup and updates for big data consultants. Hadoop Distributed File System is based on "Write Once Read Many" architecture which means that files once written to HDFS storage layer cannot be modified but only be read any number of times. However, HBase provides a schema on top of the HDFS files to access and update these files any number of times.

HBase Characteristics

REST API Tools Smackdown

Posted: 20 Aug 2020 10:32 AM PDT

Introduction

So you've decided that with your next project you are going to tread the RESTful path. But to be smart about it, you need an intelligent tool to ensure quality and productivity. With the abundance of options available, let's thumb through some of the developers' favorites.

First Things First - API Definition

Swagger Editor is a popular choice with graphical visualization. APIs can be defined either in JSON or YAML. Additionally, you can generate a server-side or client-side stub for most of the relevant technologies (from ASP.NET Core and Kotlin to Node.JS and Python).

Kubernetes Monitoring Using Prometheus In Less Than 5 Minutes

Posted: 20 Aug 2020 10:01 AM PDT

Monitoring is a crucial aspect of any Ops pipeline and for technologies like Kubernetes which is a rage right now, a robust monitoring setup can bolster your confidence to migrate production workloads from VMs to Containers.

Today we will deploy a Production grade Prometheus based monitoring system, in less than 5 minutes.

Using Subdomain Takeovers to Attack SSO

Posted: 20 Aug 2020 10:01 AM PDT

SAML is used to implement SSO—or Single-Sign-On. SSO allows users to access a variety of services throughout an organization without logging into each one individually. For example, if you were logged into your Facebook account you wouldn't need to reenter your password to access Messenger. 

It is in this way that companies can have a centralized source of user credentials as opposed to tracking users on each site. This also keeps users from having to log in multiple times when they use a variety of applications and services within the same organization. 

Virtual Conference [Comic]

Posted: 20 Aug 2020 10:00 AM PDT

Analyzing Relationships in Game of Thrones With NetworkX, Gephi, and Nebula Graph (Part One)

Posted: 20 Aug 2020 09:58 AM PDT

The hit series Game of Thrones by HBO is popular all over the world. Besides the unexpected plot twists and turns, the series is also known for its complex and highly intertwined character relationships. In this post, we will access the open source graph database Nebula Graph with NetworkX and visualize the complex character connections in Game of Thrones with Gephi.

Introduction to the Dataset

The dataset we used in this article is: A Song of Ice and Fire Volume One to Volume Five[1].

Implementing NetSuite Add Records Operation With MuleSoft - Part II

Posted: 20 Aug 2020 09:57 AM PDT

In my previous article, we have gone through various use cases for performing search operations using the MuleSoft NetSuite connector. Here, we will see how we can add records into NetSuite which consists of predefined fields, custom fields, and fields of type RecordRef.

Before we deep dive into various use cases, it is necessary to understand internalId and externalId fields in netsuite record type. Generally, each record type has internalId and externalId.

API Security Weekly: Issue #97

Posted: 20 Aug 2020 09:55 AM PDT

This week, we check out the recent API vulnerabilities in the gym management platform Fizikal and the HDL smart home automation. We also have a great detailed write-up on the recent HacktivityCon 2020 Capture the Flag challenge, and a DEF CON talk on leaking API keys.

Vulnerability: Fizikal

Apps use platforms to get to the market faster and to avoid re-inventing the wheel. As a flip side, sometimes the security issues of these platforms can come and bite the apps.

A Quick Reference Guide to Strong Authorization Terminology

Posted: 20 Aug 2020 09:54 AM PDT

With the rise in both remote work and cyber attacks (like phishing), stronger security controls have become top of mind. The terminology around these things, however, can be confusing at best. This article will help clarify the terms you should know and how they relate to one another. 

Two-Factor vs. 2-Step vs. Multi-Factor

Two-Factor/Second-Factor Authentication 

There's often some confusion on this term but, to put it simply, two-factor authentication verifies something you know—usually your username and password— along with either "something you have" or "something you are". 

Back and Forth [Comic]

Posted: 20 Aug 2020 09:53 AM PDT

Handling Conflict at a Distance

Posted: 20 Aug 2020 09:51 AM PDT

Things are not what they used to be. Many are now working remotely for the first time in their lives – away from those they are used to being with five days a week. One of the challenges of working remotely is dealing with conflict when we're apart. During the first months of working from home, there is typically not much conflict. We are busy setting up our new workstation, learning to use new communication and collaboration tools, and figuring out how to best interact with those we used to sit in close proximity to. But conflict will eventually arise. We are still the same people we were a short time ago when we were together.

Once your remote team has settled into a sense of normalcy, you may begin seeing early signs of conflict. They may be subtle, but they will surface. It may be that a usually energetic person suddenly becomes quieter or less engaged during your daily video check-ins. Maybe you start seeing outbursts over something as simple as a technical glitch with your video tool. When we're not physically together it is easier to hide our emotions and sweep conflict under the rug. But eventually, those built-up feelings will come out into the open – usually exhibited by a conflict between two people. But conflict is not a bad thing. Conflict can be an indicator that something could be improved. The challenge is how to deal with conflict at a distance. Here are a few suggestions.

The 101: Spring Boot and Angular Deployment

Posted: 20 Aug 2020 09:30 AM PDT

Angular + Spring Boot is a very popular combination for frontend and backend frameworks. In the past, I've done several tutorials on how to combine them; you can keep them as separate apps, or make them into a single artifact. But I haven't yet talked about deployment.

I'm often asked the best way to do Angular deployment, so I've decided to write up a tutorial showing several options. First, I'm going to talk about how to deploy a Spring Boot app to Heroku. Next, I'll talk about what you need to know to deploy a separate Angular app to Heroku.

A Beginner’s Guide to Container Monitoring

Posted: 20 Aug 2020 07:26 AM PDT

The widespread use of containers in DevOps allows dev teams to increase their efficiency in application development and enables them to bypass the barrier of different computing environments for their apps. However, to avoid creating blind spots and hidden performance issues in their software, developers need a way to monitor those containers.

Container monitoring allows you to track all of the metrics and states of your containers. Also, it lets you safely implement changes without causing mayhem in the remaining parts. Proper monitoring ensures the undeniable benefits of using containers while minimizing the downsides.

Comments

Popular posts from this blog

DZone.com Feed