Dzone
COM Design Pattern for Automation With Selenium and Cucumber
The Component Object Model (COM) is a design pattern that allows you to structure tests in test automation projects. Inspired by the popular Page Object Model (POM), COM goes beyond handling entire pages and focuses on specific UI components, such as buttons, text fields, dropdown menus, or other re ...
Build Your Own GitHub-Like Tool With React in One Hour
GitHub is a widely used platform for version control and collaboration, enabling developers to store, manage, and share code repositories. It supports Git, a distributed version control system that allows multiple contributors to work on projects simultaneously. With features like pull requests, iss ...
5 Key Steps for a Successful Cloud Migration Strategy
If you have not remodeled your business to the cloud, you have stayed behind your competitors. The first step towards optimizing business strategy is cloud migration. 80% of companies, from small to large, have shifted their services to the cloud.
Cloud migration can enhance data security ...
Development of a Truck Tracker and Delivery Services Software
As the logistics industry evolves, it requires advanced solutions to streamline operations and enhance efficiency. This case study explores the development of a truck tracker cum delivery services software built using React Native, RESTful APIs, and SQLite. The software caters to both drivers and ma ...
Choose a Database With Hybrid Vector Search for AI Apps
More and more, we see data pipelines being built to move and prepare data for AI use cases. To avoid being too buzzwordy, we'll define "AI use-cases" for this article as "RAG (Retrieval Augmented Generation) applications" to provide documents for a 'chat’-like application. The goal is to "augment" t ...
Azure Web Apps: Seamless Deployments With Deployment Slots
Suppose you work for a healthcare company that provides its services via a web platform. The user interface for this platform is set up as a PHP web app hosted in Azure App Services. Frequent updates to the app's source code are rolled out to production to enhance features or address bugs. Howe ...
Creating Scrolling Text With HTML, CSS, and JavaScript
When you’ve been building web applications for over 25 years, as I have done, using HTML, CSS, and JavaScript has become second nature.
In this article, I’ll show you some simple ways to create scrolling text using these tools, including five different methods for coding scrolling text with ...
How to Design Event Streams, Part 3
See previous Part 1 and Part 2.
The relationship between your event definitions and the event streams themselves is a major design. One of the most common questions I get is, “Is it okay to put multiple event types in one stream? Or should we publish each event type to its own stream?”
Structured Logging in Spring Boot 3.4 for Improved Logs
Structured logging has become essential in modern applications to simplify the analysis of logs and improve observability. Spring Boot 3.4 extends the logging capabilities of Spring Framework 6.2. This can be easily configured log formats using application.yml or application.properties.
Before jumpi ...
Multi-Cluster Kubernetes Sealed Secrets Management in Jenkins
The Jenkins pipeline below automates the secure management of Kubernetes sealed secrets across multiple environments and clusters, including AKS (Non-Production), GKE (Production Cluster 1), and EKS (Production Cluster 2). It dynamically adapts based on the selected environment, processes secrets in ...
OPC-UA and MQTT: A Guide to Protocols, Python Implementations
The Internet of Things (IoT) is transforming industries by enabling seamless communication between a wide array of devices, from simple sensors to complex industrial machines. Two of the most prominent protocols driving IoT systems are OPC-UA (Open Platform Communications - Unified Architecture ...
AWS CloudTrail Insights for AWS Glue
AWS CloudTrail Insights is a part of AWS CloudTrail that always checks API activity in your AWS account to spot unusual patterns and behaviors. CloudTrail Insights helps you find potential security risks, operational oddities, or resource setup problems by looking at CloudTrail logs and pointing out ...
Seamless Transition from Elasticsearch to OpenSearch
Elasticsearch and OpenSearch are powerful tools for handling search and analytics workloads, offering scalability, real-time capabilities, and a rich ecosystem of plugins and integrations. Elasticsearch is widely used for full-text search, log monitoring, and data visualization across industries due ...
Real-Time Data Streaming With AI
Over the years, data has become more and more meaningful and powerful. Both the world and artificial intelligence move at a very quick pace. In this case, AI is very useful for implementations of real-time data use cases.
Furthermore, streaming data with AI offers a competitive edge for businesses a ...
Create a Custom Logger to Log Response Details With Playwright Java
While working on the series of tutorial blogs for GET, POST, PUT, PATCH, and DELETE requests for API Automation using Playwright Java. I noticed that there is no logging method provided by the Playwright Java framework to log the requests and responses.
In the REST-assured framework, we have th ...
How to Edit a PowerPoint PPTX Document in Java
Building applications for programmatically editing Open Office XML (OOXML) documents like PowerPoint, Excel, and Word has never been easier to accomplish. Depending on the scope of their projects, Java developers can leverage open-source libraries in their code — or plugin-simplified API services — ...
Evolution of Recommendation Systems: From Legacy Rules Engines to Machine Learning
In the world of technology, personalization is the key to keeping users engaged and satisfied. One of the most visible implementations of personalization is through recommendation systems, which provide users with tailored content, products, or experiences based on their interactions and preferences ...
A Guide to Deploying AI for Real-Time Content Moderation
Content moderation is crucial for any digital platform to ensure the trust and safety of the users. While human moderation can handle some tasks, AI-driven real-time moderation becomes essential as platforms scale. Machine learning (ML) powered systems can moderate content efficiently at scale with ...
Building a Reactive Event-Driven App With Dead Letter Queue
Event-driven architecture facilitates systems to reply to real-life events, such as when the user's profile is updated. This post illustrates building reactive event-driven applications that handle data loss by combining Spring WebFlux, Apache Kafka, and Dead Letter Queue. When used together, these ...
Optimizing Prometheus Queries With PromQL
Prometheus is a powerful monitoring tool that provides extensive metrics and insights into your infrastructure and applications, especially in k8s and OCP (enterprise k8s). While crafting PromQL (Prometheus Query Language) expressions, ensuring accuracy and compatibility is essential, especially whe ...
Troubleshooting Connection Issues When Connecting to MySQL Server
Encountering connection problems while accessing a MySQL server is a common challenge for database users. These issues often arise due to incorrect configuration, user permissions, or compatibility problems. Below are the most common errors and their solutions to help you resolve connection issues ...
Chain-of-Thought Prompting: A Comprehensive Analysis of Reasoning Techniques in Large Language Models
Chain-of-thought (CoT) prompting has emerged as a transformative technique in artificial intelligence, enabling large language models (LLMs) to break down complex problems into logical, sequential steps. First introduced by Wei et al. in 2022, this approach mirrors human cognitive processes and has ...
Creating Artificial Doubt Significantly Improves AI Math Accuracy
What makes an AI system good at math? Not raw computational power, but something that seems almost contradictory: being neurotically careful about being right.
When AI researchers talk about mathematical reasoning, they typically focus on scaling up — bigger models, more parameters, and larger dat ...
Dark Data: Recovering the Lost Opportunities
Dark data may contain secret information that is valuable for corporate operations. Companies can lead the competition by gaining insights from dark data using the relevant tools and practices.
Let's check what dark data is all about and how to use it to make smarter decisions.
Business Logic Database Agent
In a recent interview, Satya Nadella prophesied the "end of SaaS" with Business Logic Database Agents. The vision was exciting and broad but indefinite. And, it sparked concerns — serious ones.
In this article, we describe a definite (in fact, running) visi ...
Talk to Your Project: An LLM Experiment You Can Join and Build On
Today, I want to share the story of a small open-source project I created just for fun and experimentation — ConsoleGpt. The process, results, and overall experience turned out to be fascinating, so I hope you find this story interesting and, perhaps, even inspiring. After all, I taught my project h ...
Schema Changes Are a Blind Spot
Schema changes and migrations can quickly spiral into chaos, leading to significant challenges. Overcoming these obstacles requires effective strategies for streamlining schema migrations and adaptations, enabling seamless database changes with minimal downtime and performance impact.
Without ...
ArangoDB: Achieving Success With a Multivalue Database
Handling diverse database structures often introduces significant complexity to system architecture, especially when multiple database instances are required. This fragmentation can complicate operations, increase costs, and reduce efficiency. Multimodel databases like ArangoDB provide a unified sol ...
Build Your First Chrome Extension With Rust and WebAssembly
Chrome extensions have traditionally been built using JavaScript, HTML, and CSS. However, with the rise of WebAssembly (Wasm), we can now leverage Rust's performance, safety, and modern development features in browser extensions.
In this tutorial, we will create a simple Chrome extension that ...
Understanding Leaderless Replication for Distributed Data
Leaderless replication is another fundamental replication approach for distributed systems. It alleviates problems of multi-leader replication while, at the same time, it introduces its own problems.
Write conflicts in multi-leader replication are tackled in leaderless replication with quorum- ...