News AggregatorFront-End: Cache Strategies You Should KnowAggregated on: Mon May 01 2023 23:15:25 GMT+0000 (Coordinated Universal Time) Caches are very useful software components that all engineers must know. It is a transversal component that applies to all the tech areas and architecture layers such as operating systems, data platforms, backend, frontend, and other components. In this article, we are going to describe what is a cache and explain specific use cases focusing on the frontend and client side. What Is a Cache? A cache can be defined in a basic way as an intermediate memory between the data consumer and the data producer that stores and provides the data that will be accessed many times by the same/different consumers. It is a transparent layer for the data consumer in terms of user usability except to improve performance. Usually, the reusability of data provided by the data producer is the key to taking advantage of the benefits of a cache. Performance is the other reason to use a cache system such as in-memory databases to provide a high-performance solution with low latency, high throughput, and concurrency. View more...Safeguard Your Code With GitHub Dependabot and IBM Cloud ToolchainAggregated on: Mon May 01 2023 23:15:25 GMT+0000 (Coordinated Universal Time) Have you ever wondered if people can take advantage of vulnerabilities present in your code and exploit it in different ways, like selling or sharing exploits, creating malware that can destroy your functionality, launching targeted attacks, or even engaging in cyber attacks? These mostly happen through known vulnerabilities which are present in the code, which are also known as CVEs, which stand for Common Vulnerabilities and Exposures. In 2017, a malicious ransomware attack, WannaCry, wrought havoc by infiltrating over 300,000 computers in more than 150 nations. The assailants were able to utilize a flaw in the Microsoft Windows operating system, which had been designated a CVE identifier (CVE-2017–0144), to infect the computers with the ransomware. The ransomware encrypted users’ files and demanded a ransom payment in exchange for the decryption key, causing massive disruptions to businesses, hospitals, and government agencies. The attack’s total cost was estimated to have been in the billions of dollars. View more...Configuring the Security Plug-In/Custom Security Providers for WebLogic Resource ProtectionAggregated on: Mon May 01 2023 22:45:25 GMT+0000 (Coordinated Universal Time) WebLogic Server is a Java-based application server, and it provides a platform for deploying and managing distributed applications and services. It is a part of the Oracle Fusion Middleware family of products and is designed to support large-scale, mission-critical applications. WebLogic Server provides a Security Framework that includes a default Security Provider, which provides authentication, authorization, and auditing services to protect resources such as applications, EJBs, and web services. However, you can also use security plug-ins or custom security providers to extend the security framework to meet your specific security requirements. Here is a brief explanation of the security plug-ins and custom security providers in WebLogic Server: View more...Revolutionizing Drug Discovery with Generative AIAggregated on: Mon May 01 2023 22:45:25 GMT+0000 (Coordinated Universal Time) Generative AI refers to a class of artificial intelligence models that are capable of creating new data samples resembling the original data they were trained on. These models learn the underlying patterns and distributions of the data, enabling them to generate novel instances with similar properties. Some popular generative AI techniques include Generative Adversarial Networks (GANs), Variational Autoencoders (VAEs), and transformer-based language models. In the context of drug discovery, generative AI has emerged as a powerful tool in recent years, offering a more efficient and effective approach to identifying and optimizing new drug candidates. By leveraging advanced techniques like GANs and VAEs, researchers can explore vast chemical spaces, predict molecular properties, and accelerate the drug development process. In this article, we'll delve into the use of generative models in drug discovery, providing code snippets to demonstrate their implementation. View more...Step-By-Step Tutorial: Installing Eclipse IDEAggregated on: Mon May 01 2023 22:15:25 GMT+0000 (Coordinated Universal Time) Eclipse IDE (Integrated Development Environment) is a popular and powerful tool for software development. It provides a wide range of features and plugins that make it a go-to choice for many developers. Below is the video showing the steps for installing Eclipse IDE. View more...Leveraging IoT for Water Resource ManagementAggregated on: Mon May 01 2023 21:30:25 GMT+0000 (Coordinated Universal Time) Water is the most pristine resource on the planet. But unfortunately, in the last decade, water scarcity has consistently increased. As per UNICEF, each year, at least four billion people face water scarcity for a month. On top of that, half of the world’s population will be living in water-scarce areas by 2025. Though there are numerous causes for this, improper usage, distribution, and management lead to maximum water wastage. We know that conventional water resource management practices like rainwater harvesting, rooftop irrigation, etc., save a lot of water. But, they may not solve a leaky water supply pipe in the middle of the city. View more...Designing and Developing WebSphere Cells, Clusters, and NodesAggregated on: Mon May 01 2023 21:30:25 GMT+0000 (Coordinated Universal Time) WebSphere is a powerful application server that can be configured and managed using a hierarchical structure of cells, clusters, and nodes. Understanding these concepts is essential for deploying, managing, and scaling WebSphere-based applications. A WebSphere cell is a logical grouping of one or more application servers that share a common administrative domain. Each cell has a unique name and is managed by a single administrative console. A cell can contain multiple clusters and nodes. View more...Prometheus AWS Exporter and GrafanaAggregated on: Mon May 01 2023 21:15:25 GMT+0000 (Coordinated Universal Time) The main purpose of this article and use case is to scrape AWS CloudWatch metrics into the Prometheus time series and to visualize the metrics data in Grafana. Prometheus and Grafana are the most powerful, robust open-source tools for monitoring, collecting, visualizing, and performance metrics of the deployed applications in production. These tools give greater visibility other than collecting the metrics also, where we can set up critical alerts, live views, and custom dashboards. CloudWatch Exporter is an open-source tool to capture metrics as defined in yml configuration file. Architecture The CloudWatch Exporter will collect the metrics from AWS Cloud watch every 15 seconds (default), and it will expose them as key/value pairs in /the metrics API response. Using that configuration, the exporter will collect those metrics from CloudWatch every 15 seconds (default) and expose them as key-value pairs in the '/metrics' API response. The CloudWatchExporter's /metrics endpoint should then be added to the Prometheus configuration as a scrape job. Prometheus allows us to define the scraping frequency, so we can adjust the frequency of calls to CloudWatch to eventually tune the cost. View more...Use Golang for Data Processing With Amazon SNS and AWS LambdaAggregated on: Mon May 01 2023 20:45:25 GMT+0000 (Coordinated Universal Time) In this blog post, you will be using the aws-lambda-go library along with the AWS Go SDK v2 for an application that will process records from an Amazon SNS topic and store them in a DynamoDB table. You will also learn how to use Go bindings for AWS CDK to implement “Infrastructure-as-code” for the entire solution and deploy it with the AWS CDK CLI. View more...Orange Pi Cluster With Docker Swarm and MariaDBAggregated on: Mon May 01 2023 20:45:25 GMT+0000 (Coordinated Universal Time) Building a cluster of single-board mini-computers is an excellent way to explore and learn about distributed computing. With the scarcity of Raspberry Pi boards, and the prices starting to get prohibitive for some projects, alternatives such as Orange Pi have gained popularity. In this article, I’ll show you how to build a (surprisingly cheap) 4-node cluster packed with 16 cores and 4GB RAM to deploy a MariaDB replicated topology that includes three database servers and a database proxy, all running on a Docker Swarm cluster and automated with Ansible. View more...Dynamic Data Processing Using Serverless Java With Quarkus on AWS Lambda (Part 1)Aggregated on: Mon May 01 2023 20:15:25 GMT+0000 (Coordinated Universal Time) With the growth of the application modernization demands, monolithic applications were refactored to cloud-native microservices and serverless functions with lighter, faster, and smaller application portfolios for the past years. This was not only about rewriting applications, but the backend data stores were also redesigned in terms of dynamic scalability, high performance, and flexibility for event-driven architecture. For example, traditional data structures in relational databases started to move forward to a new approach that enables to storage and retrieval of key-value and document data structures using NoSQL databases. However, faster modernization presents more challenges for Java developers in terms of steep learning curves about new technologies adoption and retaining current skillsets with experience. For instance, Java developers need to rewrite all existing Java applications to Golang and JavaScript for new serverless functions and learn new APIs or SDKs to process dynamic data records by new modernized serverless applications. View more...Cypress Best Practices for API Test AutomationAggregated on: Mon May 01 2023 20:15:25 GMT+0000 (Coordinated Universal Time) API Automation refers to the process of automatically testing and verifying the functionality of Application Programming Interfaces (APIs) to ensure that they are working as expected. This blog covers the following: View more...What Are Events? API CallsAggregated on: Mon May 01 2023 19:30:25 GMT+0000 (Coordinated Universal Time) It is always interesting to note how even today's Cloud giants continue to draw a largely imaginary line between Synchronous and Asynchronous HTTP Requests, such as in the case of a typical REST API call. This line, we are asked to believe, very clearly separates Synchronous Requests – where the Request is made and the caller holds the line until receiving a Response from the relevant HTTP API Endpoint – from Asynchronous Requests – where the caller fires off their Request, (typically) gets a 202 Status Code in reply, and then waits for the actual API Response via some other channel; such as a Webhook, WebSocket, or using the 'HTTP Polling' Pattern described by Microsoft in its Asynchronous Request-Reply pattern Article. We read in this same Article that: "Most APIs can respond quickly enough for responses to arrive back over the same connection… In some scenarios, however, the work done by [the] backend may be long-running, … [and] it isn't feasible to wait for the work to complete before responding to the Request. This situation is a potential problem for any synchronous request-reply pattern… Some architectures solve this problem using a message broker to separate the request and response stages… But this separation also brings additional complexity when the client requires success notification, as this step needs to become asynchronous." View more...How to Optimize CPU Performance Through Isolation and System TuningAggregated on: Mon May 01 2023 19:30:25 GMT+0000 (Coordinated Universal Time) CPU isolation and efficient system management are critical for any application which requires low-latency and high-performance computing. These measures are especially important for high-frequency trading systems, where split-second decisions on buying and selling stocks must be made. To achieve this level of performance, such systems require dedicated CPU cores that are free from interruptions by other processes, together with wider system tuning. In modern production environments, there are numerous hardware and software hooks that can be adjusted to improve latency and throughput. However, finding the optimal settings for a system can be challenging as it requires navigating a multidimensional search space. To accomplish this efficiently, it is necessary to understand the tuning landscape and to use tools and strategies that facilitate effective changes. View more...Types of Software BugsAggregated on: Mon May 01 2023 17:15:25 GMT+0000 (Coordinated Universal Time) In software, a bug is an error in the program code that often originates from human error. The most common types of bugs include functional, Performance, logic, syntax, and Syntax bugs. A bug means a software or application failure, not working as expected results, or not working as per requirement. View more...What Is Deep Data Observability?Aggregated on: Mon May 01 2023 17:15:25 GMT+0000 (Coordinated Universal Time) This article explains why Deep data observability is different from shallow: deep data observability is truly comprehensive in terms of data sources, data formats, data granularity, validator configuration, cadence, and user focus. The Need for “Deep” Data Observability 2022 was the year when data observability really took off as a category (as opposed to old-school “data quality tools”), with the official Gartner terminology for the space. Similarly, Matt Turck consolidated the data quality and data observability categories in the 2023 MAD Landscape analysis. Nevertheless, the industry is nowhere near fully formed. In his 2023 report titled “Data Observability—the Rise of the Data Guardians,” Oyvind Bjerke at MMC Ventures discusses the space as having massive amounts of untapped potential for further innovation. View more...Develop a Mobile Multiplayer Game in Minutes With Unity and Oracle Backend for ParseAggregated on: Mon May 01 2023 16:30:25 GMT+0000 (Coordinated Universal Time) Here, in just a few simple steps, we'll develop a mobile multiplayer game using Unity and Oracle's Backend for Parse. A Brief Introduction of Unity and Parse Platform Unity is a cross-platform game engine developed by Unity Technologies, first announced and released in June 2005 at Apple Worldwide Developers Conference as a Mac OS X game engine. The engine has since been gradually extended to support a variety of desktop, mobile, console, and virtual reality platforms. The Parse Platform is a back-end for mobile developers, open-sourced by Facebook/Meta in 2016, that helps to store data in the cloud, manage identity log-ins, handle push notifications, and run custom code in the cloud. Oracle has created an adapter to take advantage of all the features of the Oracle converged database while using Parse APIs. View more...Unit Testing Tutorial: A Comprehensive Guide With Examples and Best PracticesAggregated on: Mon May 01 2023 15:30:25 GMT+0000 (Coordinated Universal Time) Unit testing is considered the first step of testing in the software development life cycle that involves validating each testable part (also known as units/modules/components) of a software application to determine each unit of the application's code works as intended. Unit testing is usually performed in the early development stages of an application by developers and QA engineers. The primary objective of unit testing is to isolate a code section and test its correctness. It helps uncover early bugs and flaws in application code that can be more challenging to identify in the later stages of the software testing life cycle (STLC). View more...Demystify AI-Based Recommender Systems: An In-Depth AnalysisAggregated on: Mon May 01 2023 15:00:25 GMT+0000 (Coordinated Universal Time) Artificial intelligence (AI) has permeated our lives in a myriad of ways, making everyday tasks easier, more efficient, and personalized. One of the most significant applications of AI is in recommender systems, which have become an integral part of our digital experiences. From suggesting movies on streaming platforms to proposing products on e-commerce websites, AI-based recommender systems have revolutionized content consumption and online shopping. This article delves into the inner workings of AI-based recommender systems, exploring their different types, algorithms, and challenges. We will also discuss the potential future developments in this field. View more...Will ChatGPT and Generative AI “Replace” Testing?Aggregated on: Mon May 01 2023 13:45:25 GMT+0000 (Coordinated Universal Time) There is a lot of buzz within the software testing and development communities about ChatGPT and the role of generative AI in testing. Some of the opinion pieces, webinars, and videos focus on the potentially beneficial applications of generative AI for testing speed and quality. However, many focus on how ChatGPT might impact a tester's future job prospects and security. Some go as far as questioning whether ChatGPT will replace the role of manual testers and SDETs. View more...Getting Started With Redpanda in KubernetesAggregated on: Mon May 01 2023 12:45:25 GMT+0000 (Coordinated Universal Time) Redpanda is an event streaming platform that is free and open source, similar to MariaDB and CockroachDB. It is compatible with Kafka APIs and is used by many as an alternative to Apache Kafka due to its performance and lightweight design. Kubernetes (K8s) is the defacto platform for cloud-native environments, so it’s not surprising that many developers choose it to manage their Redpanda clusters. But when things go wrong, it’s not as simple as “kill it, dump it, and rebuild” — much like with other data-intensive software, databases, messaging systems, and even Apache Kafka®. This is especially true when you’re streaming vast amounts of data with high throughput. View more...Java Consumer and Producer Messages Between Kafka Server [Video Tutorials]Aggregated on: Sat Apr 29 2023 02:15:23 GMT+0000 (Coordinated Universal Time) Throughout this series of video tutorials, we will explore the procedure of sending and receiving messages between a Java consumer and producer and the Apache Kafka server. Java Consumer Code to Consume Messages From Apache Kafka Server View more...ChatGPT as a RevolutionAggregated on: Fri Apr 28 2023 20:30:23 GMT+0000 (Coordinated Universal Time) ChatGpt-4 is the new revolution for the corporate industry. Four is the latest version developed by Open AI — ChatGPT, named Generative Pre-Trained Transformer. This will change the perception of the industry with respect to communication with the machines. Machine Learning plays an important role as a component in ChatGPT. ChatGPT understands deep learning, and it generates high-quality responses to the user based on their inputs. It is a type of network model that we can consider a neural network model in machine learning. Models are nothing; some trained data on large sets of text data to understand and generate a relationship between words as well as with phrases. View more...Developing Firewalls and Multi-Tiered Architectures Using WebSphereAggregated on: Fri Apr 28 2023 20:00:23 GMT+0000 (Coordinated Universal Time) Multi-tiered architecture is an architectural pattern that divides an application into separate logical layers or tiers, each with a distinct responsibility and function. The layers typically include a presentation layer (or user interface), an application layer, and a data storage layer. The presentation layer is responsible for presenting data to the user and receiving input from the user. This layer often includes web or mobile interfaces, and it communicates with the application layer to retrieve or submit data. View more...Migrating FileNet Into AWS Cloud and Migrating FileNet Security Into AWS CloudAggregated on: Fri Apr 28 2023 20:00:23 GMT+0000 (Coordinated Universal Time) FileNet is an enterprise content management system designed to help organizations manage and store large amounts of content, including documents, images, and multimedia files. AWS is a cloud computing platform providing a wide range of infrastructure services, including computing, storage, and database. Migrating FileNet to the AWS Cloud can offer several benefits, including increased scalability, availability, and security. Here are some general steps that can be taken to migrate FileNet to AWS Cloud: Assess current FileNet environment: Assess the current FileNet environment to determine the scope and complexity of the migration. Identify any dependencies or integrations that may need to be considered during the migration. Choose the appropriate AWS services: Determine the proper AWS services that will be used to support the FileNet environment. AWS services such as Amazon Relational Database Service (RDS), Amazon Simple Storage Service (S3), and Amazon Elastic Compute Cloud (EC2) can be used to host FileNet components such as Application Servers, Content Engine, and databases. Plan for data migration: Develop a plan for migrating data to the AWS environment. Data migration can be achieved through methods such as AWS DataSync or AWS Snowball. Configure the environment: Configure the AWS environment to support FileNet. This may involve creating a virtual private cloud (VPC), subnets, security groups, and configuring the network. Install and configure FileNet: Install and configure FileNet components such as Application Servers, Content Engine, and databases. Ensure that the FileNet environment is integrated with AWS services such as Amazon S3 and Amazon RDS. Test and validate the environment: Test and validate the FileNet environment to ensure that it is functioning correctly. Perform load testing to ensure that the environment can handle expected traffic. Monitor and optimize the environment: Implement monitoring tools and processes to ensure that the environment is performing optimally. Optimize the environment as needed to ensure that it continues to meet the needs of the organization. Security is a critical factor in FileNet, and migrating FileNet security to AWS involves implementing security measures appropriate for the AWS environment. Here are some general steps that can be taken to migrate FileNet security to AWS: View more...How To Manage Vulnerabilities in Modern Cloud Native ApplicationsAggregated on: Fri Apr 28 2023 20:00:23 GMT+0000 (Coordinated Universal Time) Vulnerability management is a proactive approach to identifying, managing, and mitigating network vulnerabilities to improve the security of an enterprise's applications, software, and devices. It includes identifying vulnerabilities in IT assets, assessing risks, and taking appropriate action on systems and networks. Organizations worldwide invest in vulnerability management to protect systems and networks against security breaches and data theft. Often combined with risk management and other security measures, vulnerability management has become an integral part of today's computer and network security practices to prevent the exploitation of IT vulnerabilities, such as code and design flaws, to compromise the security of the entire enterprise network. The Importance of Vulnerability Management Despite the effectiveness of vulnerability management for many cybersecurity risks, organizations often overlook the implementation of robust vulnerability management processes, as evidenced by the sheer number of data breaches, and are, therefore, unknowingly compromised by patches and misconfigurations. View more...How ChatGPT Writes Code for Automation Tool CypressAggregated on: Fri Apr 28 2023 19:30:23 GMT+0000 (Coordinated Universal Time) In its first week of launch, ChatGPT shattered Internet records by becoming extremely popular. As a person who works in QA automation, my initial thinking when I started looking into it was how to use this wonderful platform to make the jobs of testers for Web and UI automation simpler. ChatGPT may be used to write code in a variety of programming languages and technologies. After more investigation, I made the decision to create some scenarios using it. I have created some use cases around UI, API, and Cucumber feature file generation using ChatGPT. View more...Cracking the Code: How To Decode Vague API Errors Like a ProAggregated on: Fri Apr 28 2023 19:30:23 GMT+0000 (Coordinated Universal Time) HTTP status codes are three-digit numbers returned by the server to indicate the status of the request. These status codes provide valuable information to help debug various states of HTTP requests. Responses are grouped into five classes: View more...How To Add Chatbot To React NativeAggregated on: Fri Apr 28 2023 19:30:23 GMT+0000 (Coordinated Universal Time) Building a chatbot on a React Native app may have been a complicated affair in the past, but not so today, thanks to Kommunicate’s Kompose chatbot builder. In this tutorial, we are going to build a chatbot application from scratch using Kompose (Kommunicate Chatbot) and React Native. View more...ChatAWS: Deploy AWS Resources Seamlessly With ChatGPTAggregated on: Fri Apr 28 2023 18:15:23 GMT+0000 (Coordinated Universal Time) This blog post introduces ChatAWS, a ChatGPT plugin that simplifies the deployment of AWS resources through chat interactions. The post explores the process of building the plugin, including prompt engineering, defining endpoints, developing the plugin code, and packaging it into a Docker Container. Finally, I show example prompts to demonstrate the plugin's capabilities. ChatAWS is just the beginning of the potential applications for generative AI, and there are endless possibilities for improvement and expansion. Builders are increasingly adopting ChatGPT for a wide range of tasks, from generating code to crafting emails and providing helpful guidance. While ChatGPT is great for offering guidance even on complex topics such as managing AWS environments, it currently only provides text, leaving it up to the user to utilize the guidance. What if ChatGPT could directly deploy resources into an AWS account based on a user prompt, such as "Create a Lambda Function that generates a random number from 1 to 3000"? That's where the idea for my ChatAWS plugin was born. View more...Smart Contracts Step-By-Step: A Beginner’s Guide To Debugging and Deploying Smart Contracts With Infura and TruffleAggregated on: Fri Apr 28 2023 17:45:23 GMT+0000 (Coordinated Universal Time) Smart contract development, more so than most web2 development, requires thorough testing and careful deployment. Because smart contracts are immutable and often involve large sums of money, it’s very important to do all you can to be sure they are secure, reliable, and as free from bugs as possible. Two important tools for achieving these goals are the same tools most web3 devs use for their day-to-day work—Truffle and Infura. These tools give you what you need to write, test, debug, and deploy your smart contracts. View more...Software Deployment Best Practices in 2023Aggregated on: Fri Apr 28 2023 12:30:23 GMT+0000 (Coordinated Universal Time) Deployment is the day when the software is finally released to the world. Yet, as Stackify CEO Matt Watson said, organizations lack confidence in deployment. One of the greatest strengths of agile is the ability to deploy rapidly. However, moving too fast and without following the right processes, one can witness problems like downtime, errors, and poor user experience. View more...User Data Governance and Processing Using Serverless StreamingAggregated on: Thu Apr 27 2023 21:15:22 GMT+0000 (Coordinated Universal Time) As the digital age progresses, the need for efficient and secure data governance practices becomes more crucial than ever. This article delves into the concept of User Data Governance and its implementation using serverless streaming. We will explore the benefits of using serverless streaming for processing user data and how it can lead to improved data governance and increased privacy protection. Additionally, we will provide code snippets to illustrate the practical implementation of serverless streaming for user data governance. Introduction User Data Governance refers to the management of user data, including its collection, storage, processing, and protection. With the ever-increasing amount of data generated daily, organizations must develop robust and efficient data governance practices to ensure data privacy, security, and compliance with relevant regulations. View more...Transforming Service To Redirect-Based Long-PollingAggregated on: Thu Apr 27 2023 20:30:22 GMT+0000 (Coordinated Universal Time) Motivation In the beginning, given a service that can serve requests fast (for example, as it handles a low amount of data) and serves a relatively small amount of clients. As time passes, it is a common phenomenon that both the number of clients and the response time start to grow. In this case, one of the possible changes to make is not to serve the requests in a synchronous wayanymore but to let the requests trigger asynchronous jobs. With this change, the client does not receive the result data immediately but only an identifier to the job, and the client is free to pool the status of the job anytime. View more...How To Send SQL Server CPU Utilization Alerts Using SQL Server AgentAggregated on: Thu Apr 27 2023 20:30:22 GMT+0000 (Coordinated Universal Time) In Microsoft SQL Server, you can use T-SQL and SQL Server Agent to generate an alert when CPU usage exceeds a threshold, such as 80%. Here's an example of how you can achieve this: Create a SQL Server Agent alert: Open SQL Server Management Studio (SSMS) and connect to your SQL Server instance. Navigate to the SQL Server Agent node in the Object Explorer, right-click on the "Alerts" folder, and select "New Alert." Configure the alert properties: In the "New Alert" dialog, configure the following properties: Name: Provide a name for the alert. Type: Select the type of alert as "SQL Server performance condition alert." Object: Choose the "Resource Pool Stats." Counter: Choose the "CPU Usage target %" counter. Instance: Select "default" to monitor the overall CPU usage of the entire system. Alert if counter: Choose "Rises above" to trigger the alert when CPU usage exceeds the threshold. Value: Enter "0.8" to set the threshold for CPU usage to 80%. Enable this alert: Check this option to enable the alert. Response: Choose the appropriate response action, such as "Notify operators" or "Execute job" to determine what action should be taken when the alert is triggered. Additional actions: As needed, you can configure additional actions, such as sending an email or running a script. Click on "OK" to create the alert. Once the alert is created, SQL Server Agent will automatically monitor the CPU usage based on the specified threshold. When the CPU usage exceeds 80%, the alert will be triggered, and the configured response action will be executed, such as sending notifications or running a script. View more...Implementing RBAC in QuarkusAggregated on: Thu Apr 27 2023 20:30:22 GMT+0000 (Coordinated Universal Time) REST APIs are the heart of any modern software application. Securing access to REST APIs is critical for preventing unauthorized actions and protecting sensitive data. Additionally, companies must comply with regulations and standards to operate successfully. This article describes how we can protect REST APIs using Role-based access control (RBAC) in the Quarkus Java framework. Quarkus is an open-source, full-stack Java framework designed for building cloud-native, containerized applications. The Quarkus Java framework comes with native support for RBAC, which will be the initial focus of this article. Additionally, the article will cover building a custom solution to secure REST endpoints. View more...Java Concurrency: ConditionAggregated on: Thu Apr 27 2023 20:00:22 GMT+0000 (Coordinated Universal Time) Previously we checked on ReentRantLock and its fairness. One of the things we can stumble upon is the creation of a Condition. By using Condition, we can create mechanisms that allow threads to wait for specific conditions to be met before proceeding with their execution. Java public interface Condition { void await() throws InterruptedException; void awaitUninterruptibly(); long awaitNanos(long nanosTimeout) throws InterruptedException; boolean await(long time, TimeUnit unit) throws InterruptedException; boolean awaitUntil(Date deadline) throws InterruptedException; void signal(); void signalAll(); } View more...Design Patterns for Microservices: Ambassador, Anti-Corruption Layer, and Backends for FrontendsAggregated on: Thu Apr 27 2023 20:00:22 GMT+0000 (Coordinated Universal Time) Microservices architecture has become increasingly popular in recent years due to its ability to enable flexibility, scalability, and rapid deployment of applications. However, designing and implementing microservices can be complex, and it requires careful planning and architecture to ensure the success of the system. This is where design patterns for microservices come in. Design patterns provide a proven solution to common problems in software architecture. They help to establish best practices and guidelines for designing and implementing microservices, making it easier to create scalable and maintainable systems. In this article, we will focus on three design patterns for microservices: Ambassador, Anti-Corruption Layer, and Backends for Frontends. We will discuss their definitions, implementation, advantages, and disadvantages, as well as their use cases. View more...WireMock: The Ridiculously Easy Way (For Spring Microservices)Aggregated on: Thu Apr 27 2023 20:00:22 GMT+0000 (Coordinated Universal Time) Using WireMock for integration testing of Spring-based (micro)services can be hugely valuable. However, usually, it requires significant effort to write and maintain the stubs needed for WireMock to take a real service’s place in tests. What if generating WireMock stubs was as easy as adding @GenerateWireMockStub to your controller? Like this: View more...How To Optimize Native Android Positioning for High Precision and Low Power ConsumptionAggregated on: Thu Apr 27 2023 19:30:22 GMT+0000 (Coordinated Universal Time) I recently encountered a problem with GPS positioning in my app. My app needs to call the GPS positioning service and has been assigned all required permissions. What's more, my app uses a Wi-Fi network and 4G network and has no restrictions on power consumption and Internet connectivity. However, the GPS position and speed data obtained by calling standard Android APIs are very inaccurate. View more...Techniques to KYC for Solution DesignAggregated on: Thu Apr 27 2023 19:30:22 GMT+0000 (Coordinated Universal Time) Know Your Customer for Designing a Solution To provide any solution to your customer, it is important to understand the customer very well. This article covers some of the best practices and techniques for understanding your customer better to come up with a solution for the pain points of your customer. 1. Understand Your Customer's Business Try to understand the type of business, strategy, history of the customer, and company’s vision and, going one step ahead, understand their customers as well. It will help you to derive the solution that is better for their ecosystem. View more...Cybersecurity: Why It’s More Important Than EverAggregated on: Thu Apr 27 2023 18:45:22 GMT+0000 (Coordinated Universal Time) In today's world, cyberattacks have become a major threat to individuals and organizations alike. From phishing scams to ransomware attacks, cybercriminals are constantly finding new ways to exploit vulnerabilities in digital systems. This is why cybersecurity has become more important than ever before. Cybersecurity is the practice of protecting digital systems, networks, and sensitive information from unauthorized access, theft, or damage. It involves using various techniques and tools to prevent, detect, and respond to cyber threats. With the rise of digitalization and the increasing dependence on technology, cybersecurity has become critical to protect individuals, organizations, and even governments from cyberattacks. View more...Functional Testing Tutorial: Comprehensive Guide With Best PracticesAggregated on: Thu Apr 27 2023 18:45:22 GMT+0000 (Coordinated Universal Time) Functional testing is a type of testing that validates the functionality of a given application feature in accordance with software requirements. The output of each function is compared with the corresponding requirement to determine whether it meets the end user's expectations. As technology evolves and rapidly transforms, the only constant remains the need for speed. Thus, businesses are accelerating that momentum and offering brand-new and unique features daily or, at most, every week to their customers. View more...How To Use Face Recognition for Authentication in Vue.JS and GolangAggregated on: Thu Apr 27 2023 18:45:22 GMT+0000 (Coordinated Universal Time) Face recognition, as a biometric recognition technology based on artificial intelligence, has been widely applied in many fields in recent years. In web applications, facial recognition-based identity authentication is also becoming increasingly popular. At the same time, the user experience continues to improve. This article will introduce how to integrate FaceIO in Vue.js and Golang to achieve identity authentication for facial recognition. In web applications, the security and convenience factors brought by facial recognition-based identity authentication can enhance the user experience. View more...Leverage the Richness of HTTP Status CodesAggregated on: Thu Apr 27 2023 17:15:22 GMT+0000 (Coordinated Universal Time) If you're not a REST expert, you probably use the same HTTP codes over and over in your responses, mostly 200, 404, and 500. If using authentication, you might perhaps add 401 and 403; if using redirects 301 and 302, that might be all. But the range of possible status codes is much broader than that and can improve semantics a lot. While many discussions about REST focus on entities and methods, using the correct response status codes can make your API stand out. 201: Created Many applications allow creating entities: accounts, orders, what have you. In general, one uses HTTP status code 200 is used, and that's good enough. However, the 201 code is more specific and fits better: View more...Creating a Portfolio Website Using Bit Components: Step-by-Step GuideAggregated on: Thu Apr 27 2023 16:45:22 GMT+0000 (Coordinated Universal Time) As a developer, you build software that addresses real-world challenges and positively impacts people's lives. Moreover, your work could attract significant interest from your peers and colleagues. And having a portfolio to showcase your skills and expertise would be exciting. Knowing this, I built a simple portfolio website allowing visitors to get to know me and my work! And you can also use it to create a portfolio for yourself. View more...A Complete Guide to Cypress Visual Regression TestingAggregated on: Thu Apr 27 2023 16:30:22 GMT+0000 (Coordinated Universal Time) Sometimes referred to as automated UI testing or visual regression testing, VRT checks software from a purely visual standpoint (taking a screenshot and comparing it against another approved screenshot). Cypress is an emerging test automation framework that enables teams to ship high-quality products faster. Cypress utilizes a modern architectural approach and is fully equipped with built-in screenshot functionality and also video recording capabilities, making it one of the best test automation frameworks for Cypress visual regression testing. View more...Adapting Team Roles to AI-Driven Software DeliveryAggregated on: Thu Apr 27 2023 15:00:22 GMT+0000 (Coordinated Universal Time) AI software delivery is upon us. The training of new AI-related information is unrelenting. SaaS companies, in particular, are at the forefront of this revolution. Therefore, our senior techies and product folks must be prepared to embrace this change. View more...How to Build Progressive Web Apps (PWAs) With AngularJS 15Aggregated on: Thu Apr 27 2023 14:30:22 GMT+0000 (Coordinated Universal Time) Platform-specific apps have been in the ecosystem for a long time. But, in recent times, building PWA with AngularJS web apps is grabbing momentum. It is due to the principle of "anyone, anywhere, on any device" with a single code base. Although you can pick from multiple technologies to build PWA, Angular stands apart from the other ones. View more...A Complete Test Plan Tutorial: A Comprehensive Guide With ExamplesAggregated on: Thu Apr 27 2023 04:45:22 GMT+0000 (Coordinated Universal Time) A test plan is a precious written document that describes the testing strategy for a software or hardware project. It is a document that outlines the scope of testing, the resources needed, the test environment, and the test cases that will be executed. Its purpose is to ensure that the testing process is thorough and complete and that all necessary tests are conducted systematically and coordinated. It acts as a detailed document to ensure the proper working of the software. The output from the testing phase is directly related to the quality of planning that went into it. These testing plans are usually developed during the development phase to save time for executing tests and reaching a mutual agreement with all the parties involved. View more... |
|
|