Object Detection Inference in Python with YOLOv5 and PyTorch

Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision “in the wild”. On one end, it can be used to build autonomous systems that navigate agents through environments – be it robots performing tasks or self-driving cars, but this requires intersection with other fields. … Read more

Prototype Pattern in JavaScript – DZone Web Dev

As a sound JavaScript developer, you must write clean, easy-to-understand, and maintain code. You solve exciting and unique problems that might not require unique solutions. You may have written code that resembles the solution to a complex problem you encountered before. Although you may not acknowledge it, you were using Design patterns. Design patterns refer … Read more

Serverless is the New Timeshare

We have shared amnesia. When I speak to younger developers about past technologies, I often get blank stars. To be fair, some of that is because I’m a bit “intense” or “weird” but some of that is because. Huh? Really? Did we have that? Case in point XA transactions and 2PC (Two Phase Commit). We … Read more

RetinaNet Object Detection with PyTorch and torchvision

Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision “in the wild”. On one end, it can be used to build autonomous systems that navigate agents through environments – be it robots performing tasks or self-driving cars, but this requires intersection with other fields. … Read more

Object Detection and Instance Segmentation in Python with Detectron2

Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision “in the wild”. On one end, it can be used to build autonomous systems that navigate agents through environments – be it robots performing tasks or self-driving cars, but this requires intersection with other fields. … Read more

Migrate Serialized Java Objects with XStream and XMT

Java serialization is convenient to store the state of Java objects. However, there are some drawbacks of serialized data: It is not human-readable. It is Java-specific and is not exchangeable with other programming languages. It is not migratable if fields of the associated Java class have been changed. These drawbacks make Java serialization not a … Read more

Java Class Loading: Performance Impact

java.lang.ClassLoader#loadClass() API is used by 3rd party libraries, JDBC Drivers, frameworks, and application servers to load a java class into the memory. Application developers don’t use this API frequently. However when they use the APIs such as ‘java.lang.Class.forName()‘ or ‘org.springframework.util.ClassUtils.forName()‘, they internally call this ‘java.lang.ClassLoader#loadClass()‘ API. Frequent usage of this API amongst different threads at … Read more

Combining gRPC With Guice – DZone Java

gRPC gRPC is a high-performance protocol for Remote Procedure Calls over HTTP/2. It is mainly used for communication between micro-services, but it can also be used for requests from end-users using browsers or mobile devices just like REST or GraphQL. gRPC was designed by Google, and open-source implementation libraries are available for several platforms and … Read more

Querydsl vs. JPA Criteria – Introduction

I’ve used JPA Criteria for many years. The main advantage is its type-safe approach (compared to JPQL), but the code is quite complicated and not always straightforward. Recently, I came across a Querydsl framework and I saw its benefits immediately. The main benefits for me are: Type-safe approach. Fluent API with SQL style – the … Read more