Author: drweb

SQL

A recent change made to Redgate Monitor to add a new alert for VLF count. This post looks at the change.This is part of a series of posts on Redgate Monitor. Click to see the other postsTracking Virtual Log FilesVirtual Log Files (VLF) are sections inside of your physical log file (.ldf). These have no fixed size or number per file, but there can be many. The architecture of the log is explained in this doc and it varies according to a number of factors.That doc also explains there are issues with too many VLFs inside of a log file.…

Read More

Do you write React Native or JavaScript articles and want to be featured in our blog? Reach out to wyatt@reactnativecoach.com and we’ll review your submiReact Native 0.51React Native was tagged with 0.51 this week. You can catch the full release notes here but here are some highlights:New styling rules for padding, margin, and bordervisible-password for TextInput.keyboardType on AndroidPartial rounded border support 👏🏻Learn how to reproduce the Android lock pattern in React Native and Expo from Audy Tanudjaja. Note: If you’ve already ejected from Expo or used initto create your app you’ll want to look for the react-native-svg project to complete…

Read More

This article will teach you how to use the Eclipse JKube project to build images and generate Kubernetes manifests for the Spring Boot application. Eclipse JKube is a collection of plugins and libraries that we can use to build container images using Docker, Jib, or source-2-image (S2I) build strategies. It also generates and deploys Kubernetes and OpenShift manifests at compile time. We can include it as the Maven or Gradle plugin to use it during our build process. On the other hand, Spring Boot doesn’t provide any built-in tools to simplify deployment to Kubernetes. It only provides the build-image goal…

Read More

This article will teach you how to use SAML2 authentication with Spring Boot and Keycloak. Security Assertion Markup Language (SAML) is a standard for exchanging authentication and authorization identities between an Identity Provider (IdP) and a Service Provider. It is an XML-based protocol that uses security tokens with information about a principal. Currently, it is less popular than OICD (OpenID Connect) but is not outdated yet. In fact, many organizations still use SAML for SSO. In our example, Keycloak will act as an Identity Provider. Keycloak supports SAML 2.0. We can also use Spring Security mechanisms supporting SAML authentication on…

Read More

This article will teach you how to use the Spring AI project to build applications based on different chat models. The Spring AI Chat Model is a simple and portable interface that allows us to interact with these models. Our sample Spring Boot application will switch between three popular chat models provided by OpenAI, Mistral AI, and Ollama. This article is the first in a series explaining AI concepts with Spring Boot. Look for more on my blog in this area soon. If you are interested in Spring Boot, read my article about tips, tricks, and techniques for this framework…

Read More

This article will show you how to use Spring AI support for Java function calling with the OpenAI chat model. The Spring AI function calling feature lets us connect the LLM capabilities with external APIs or systems. OpenAI’s models are trained to know when to call a function. We will work on implementing a Java function that takes the call arguments from the AI model and sends the result back. Our main goal is to connect to the third-party APIs to provide these results. Then the AI model uses the provided results to complete the conversation. This article is the…

Read More

This article will teach you how to create a Spring Boot application that uses RAG (Retrieval Augmented Generation) and vector store with Spring AI. We will continue experiments with stock data, which were initiated in my previous article about Spring AI. This is the third part of my series of articles about Spring Boot and AI. It is worth reading the following posts before proceeding with the current one: https://piotrminkowski.com/2025/01/28/getting-started-with-spring-ai-and-chat-model: The first tutorial introduces the Spring AI project and its support for building applications based on chat models like OpenAI or Mistral AI. https://piotrminkowski.com/2025/01/30/getting-started-with-spring-ai-function-calling: The second tutorial shows Spring AI…

Read More

You may have always dreamed of creating your own video game. Late nights spent sketching characters, scribbling level designs, and imagining epic boss battles have fueled your passion.Now, you’re ready to turn those ideas into reality. Python, with its beginner-friendly syntax and powerful libraries, offers the perfect starting point for your game development journey.Python’s influence reaches beyond traditional video games. Many online gaming platforms use it for backend operations and game logic, this versatility shows Python’s strength in gaming.Let’s explore the top 5 Python libraries that are changing game development.Pygame: The Classic Choice for Python Game DevelopmentPygame remains a favorite…

Read More

Creating Finxter was a life-changing, almost spiritual experience for me. My main goal was always to help improve collective intelligence.Pursuing that goal, we educated more than 16 million people online. And that’s counting only those on the blog itself.Let’s reflect on some key observationsOn average, a Finxter visitor spent 42 seconds (of all numbers) investing their most precious resource: time & attention.That’s millions of human attention minutes.❓ Q: But how much is human attention worth? Well – the baseline calculation would be: 16 million people * 42s engagement time= 11 million minutes= 186k hoursFinxter is an educational/technical site so the…

Read More

I’ve always found Python to be a fun and flexible way to make games. It has the gentle syntax I like, plus a range of libraries that keep me engaged and on the edge.In this short piece, I’m sharing a list of my top Python game libraries and what makes them stand out compared to each other. Let’s begin.First, Why Does Python Feel Right For Game Development?Python often brings a sense of simplicity and friendliness. People new to coding can learn it faster because they don’t have to work with complicated syntax. Also, Python OGs stick to it because of…

Read More