You inherit a data model that does not use the best datatypes, like using int instead of bigint for a value that can be larger? Don't wait until the tables grow larger. Here is an example to show how to retype it efficiently. Usually, those operations are done two...
data type
Build an AI Chatroom With ChatGPT and ZK
Filtering Metrics With the observIQ Distro for OpenTelemetry Collector
In this tutorial, we will address the common monitoring use case of filtering metrics within observIQ’s distribution of the OpenTelemetry (OTEL) collector. Whether the metrics are deemed unnecessary, or they are filtered for security concerns, the process is fairly...
How to Develop a Portrait Retouching Function
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...
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...