DZone.com Feed

DZone.com Feed


Props to Rosie the Riveter and Women Who Pioneered the Digital Revolution

Posted: 31 Mar 2022 10:05 PM PDT

Originally published March 8, 2021

With the pandemic, worker burnout, and the horror of war in Ukraine, it's easy to feel conflicted about celebrating Women's History Month. But for decades women have been pulling double shifts as mothers and wage earners, often doing the same work as men for less pay, even making less than men for doing the same work at the same company. In other words, it's always a good time to recognize women for keeping our culture and technology moving forward.

Java Records vs. Lombok

Posted: 31 Mar 2022 06:51 PM PDT

Java for a lot of time has been accused and mocked for its verbosity. Even the most passionate Java developers have to admit that it felt ridiculous to declare a bean class with two attributes. If you follow the right recommendations, you end up adding not only getters and setters, but also the implementations of toString hashcode and equals methods. The final result is a chunk of boilerplate that invites you to start learning another language. 

Java
 
import java.util.Objects;    public class Car {       private String brand;     private String model;     private int year;       public String getBrand() {        return brand;     }       public void setBrand(String brand) {        this.brand = brand;     }       public String getModel() {        return model;     }       public void setModel(String model) {        this.model = model;     }       public int getYear() {        return year;     }       public void setYear(int year) {        this.year = year;     }       @Override     public String toString() {        return "Car{" +                "brand='" + brand + '\'' +                ", model='" + model + '\'' +                ", year=" + year +                '}';     }       @Override     public boolean equals(Object o) {        if (this == o) return true;        if (o == null || getClass() != o.getClass()) return false;        Car car = (Car) o;        return year == car.year && Objects.equals(brand, car.brand) && Objects.equals(model, car.model);     }       @Override     public int hashCode() {        return Objects.hash(brand, model, year);     }  }  


Drawing Basic Shapes with HTML5 Canvas

Posted: 31 Mar 2022 06:48 PM PDT

Since HTML5 Canvas is a graphic tool, it goes without saying that it allows us to draw shapes. We can draw new shapes using a number of different functions available to use via the context we set. 

In this guide, we'll cover how to make some of the most basic shapes with HTML5 Canvas — squares, rectangles, circles, and triangles.

How to Debug Selenium-Based Test Scripts

Posted: 31 Mar 2022 06:39 PM PDT

Writing and maintaining the test automation code is not always a piece of cake. As a matter of fact, we frequently face many scenarios where automated test cases don't work as expected and might lead to false positive or false negative results, in such cases, debugging is the only way out. Debugging is the primary skill set that an automation tester must adopt. It increases the morale and confidence in automation testers to provide a better code solution to fix the problem permanently.

Debugging issues in the test automation framework become more complicated when the test automation framework has a huge number of test cases. With the expansion of features in the application, the number of test cases gradually increases. In such a scenario, fixing complex issues of hybrid frameworks might require enhanced techniques of debugging. In this article, we will deep dive into such essential debugging techniques that will not only fix script issues easily but also save a good amount of debugging time.

A Guide to API Types and Integration Specifics

Posted: 31 Mar 2022 06:31 PM PDT

There is plenty of information on the different types of APIs, common API architectures and protocols, and such. So, instead of providing general information, I decided to take a look at all these concepts specifically from the integration perspective including:

  • What exactly working with different types, architectures, and protocols of APIs means when you want to integrate several services with each other
  • What tools can be useful in such cases and what aspects you might need to be aware of. 

So, let's kick off this topic with the first part – the different types of APIs and their integration.

5 Types of Software Testing Models

Posted: 31 Mar 2022 05:57 PM PDT

Originally published October 17, 2021

One of the critical aspects of the software development life cycle is software testing. Today, there are a plethora of different software development models to choose from, each with its own set of benefits and drawbacks. As a result, depending on the project's requirements and difficulties, you must choose just the right model. Let's look at various software testing models, their advantages and disadvantages.

API Security Weekly: Issue 160

Posted: 31 Mar 2022 02:56 PM PDT

This week, we have a vulnerability in the AWS API gateway that allows a potential cache-poisoning attack, disclosed at the recent BlackHat Europe conference, a guide on how to harden Kubernetes API access, a report from Forbes on the need to take API security more seriously, and predictions on what's possible on the next OWASP API security Top 10.

Vulnerability: AWS API Gateway Vulnerable to HTTP Header-Smuggling Attack

At the recent BlackHat Europe security conference, web security researcher Daniel Thatcher disclosed vulnerabilities relating to the AWS API gateway that allowed HTTP header smuggling. Currently, AWS has not responded to this research nor offered a comment regarding the potential vulnerabilities in their API gateway.

Software Engineers vs. Full-Stack Developers: 4 Key Differences

Posted: 31 Mar 2022 01:05 PM PDT

Whether it's for e-commerce platforms or financial organizations, any business that relies on its website, databases, and applications will use software engineers or full-stack developers.

There's an obvious relationship between the two roles, in fact, a full-stack developer is really a subcategory of software engineering. So, why the different job titles?

Comments

Popular posts from this blog

Gizmodo

Gizmodo