Portrait Retouching Importance Mobile phone camera technology is evolving—wide-angle lens and optical image stabilization to name but a few. Thanks to this, video recording and mobile image editing apps are emerging one after another, utilizing technology to foster...
data type
How To Develop a QR Code Scanner for Pay Parking
Background Many weeks ago, when I tried to exit a parking lot, I was—once again—battling with technology as I tried to pay the parking fee. I opened an app and used it to scan the QR payment code on the wall, but it just wouldn’t recognize the code because it was too...
YOLOv5 PyTorch Tutorial – DZone
Using YOLOv5 in PyTorch YOLO, an acronym for 'You only look once,' is an open-source software tool utilized for its efficient capability of detecting objects in a given image in real time. The YOLO algorithm uses convolutional neural network (CNN) models to detect...
Using Short-Lived Tokens To Authenticate Python Applications to CockroachDB
Motivation In my previous article, I demonstrated how JWT tokens can replace passwords for a safer and more secure cloud-native future. Check out my previous articles covering SSO for DB Console using Google OAuth, Microsoft Identity Platform, and Okta. High-Level...
Anti-Patterns in Incident Response That You Should Unlearn
It is important to invest time and effort in understanding why a system performs the way it does and how we can improve it. Companies continue with practices that yield successful results but ignoring anti-patterns can be far worse than choosing rigid processes. In...
Mock gRPC Services for Unit Testing
In our day-to-day work, we develop applications that include interactions with software components through I/O. They can be a database, a broker, or some form of blob storage. Take, for example, the cloud components you interact with: Azure Storage Queue, SQS,...
Build a WebAssembly Language: Lexing
WebAssembly (wasm) is a high-performance assembly-like format optimized for the web. Code targeting WebAssembly can run at near-native speeds while still benefiting from the safe environment of a browser VM. Wasm has opened up a whole new world of demanding...
React Hooks – A Short Introduction
In this tutorial, we'll go over how to use and understand React Hooks. This article is an extension of article how-to-manage-state-with-hooks-on-react-components. It has been expanded with other Hooks and logic and Lessons Learned. Here we create a simple product page...
Improve App Serialization With Object Marshaling
Efficient code doesn't just run faster; if it's using less compute-resource, it may also be cheaper to run. In particular, distributed cloud applications can benefit from fast, lightweight serialization. OpenSource Java Serializer Chronicle-Wire is an OpenSource Java...
Bypassing Spring Interceptors via Decoration
Whether they are built using the genuine Spring Framework or Spring Boot, such applications are widely developed and deployed these days. By trying to address simple or complex business challenges, products strongly rely on the used framework features in their attempt...
Bungee-Jumping into Quarkus: Blindfolded but Happy
A year ago, I started with a couple of friends a new project based on Quarkus to create a visual editor for integrations called Kaoto. As responsible of the backend side, I obviously chose Java to do it. Coming from the Java 8 world with shy traces of Java 11, I...
Non-blocking Database Migrations – DZone Database
Database migrations are a common part of any web application. They are used to update the database schema to match the application's code. In a traditional web application, the database migrations are run synchronously, which means that the application is blocked...