Author: drweb

Joke time: Why did the web designer refuse to play hide and seek with CSS Position? Because every time CSS Position tried to hide, it kept showing up in the exact same spot, shouting, “I’m absolutely positioned, you can’t hide from me!” In the kingdom of Weblandia, there lived a wise and mysterious sorcerer named CSS Position. CSS Position possessed magical powers that allowed web designers and developers to control the positioning of elements on their web pages. His powers were so versatile that they could be likened to the magical spells of Merlin from the tales of King Arthur.…

Read More

We’re excited to announce the General Availability of Docker Bake with Docker Desktop 4.38! This powerful build orchestration tool takes the hassle out of managing complex builds and offers simplicity, flexibility, and performance for teams of all sizes. What is Docker Bake? Docker Bake is an orchestration tool that streamlines Docker builds, similar to how Compose simplifies managing runtime environments. With Bake, you can define build stages and deployment environments in a declarative file, making complex builds easier to manage. It also leverages BuildKit’s parallelization and optimization features to speed up build times. While Dockerfiles are excellent for defining image…

Read More

I just experienced an issue when using Thrive Optimize after trying to create a new A/B split test that attempts to load an URL of the format “exampe.com/path-to-page/?thrive-variations=true”.The loaded page was just blank and I couldn’t create any new split test.The reason for the error was a plugin conflict between Thrive Themes (Thrive Optimize) and W3 Total Cache. Fortunately, the solution is simple:Step 1: Log into WordPress.Step 2: Click on the Performance tab on the left menu bar to open W3 Total Cache.Step 3: On the sidebar under Performance, you’ll find Minify. Click it.Step 4: Check “Disable minify for logged…

Read More

Step right up, ladies and gentlemen, and prepare to embark on a thrilling ride through the fascinating world of CSS Pointer Events! Our amusement park is packed with a variety of options and values that will leave you on the edge of your seat (or mouse) as you explore the wild and wonderful world of web design. The Stylized Div Drop: A Fun Introduction Before we dive into the world of CSS pointer events, let’s create a playful backdrop. W e’ve got a div here, which we’ll call “Divy McDivface,” and we want to style it to perfection. But what’s…

Read More

Periodically new devices and technology coming out and it’s important to keep our Linux system kernel up-to-date if we want to get the most of out it. Moreover, updating the system kernel will allow us to take advantage of new kernel functions, and also it helps us to protect ourselves from vulnerabilities that have been found in earlier versions. Warning: Upgrading the kernel can cause compatibility issues with certain drivers or software, so make sure to back up your important data before proceeding. Ready to update your kernel on Ubuntu and Debian or one of their derivatives such as Linux…

Read More
SQL

I was asked to do some a little thinking and brainstorming recently. Rather than send some emails or get on a call, I decided to ask my local AI a few things. This talks about the responses and reactions from my local DeepSeek AI.. This is part of a series of experiments with AI systems. Requests for FeedbackI’m a part a research group that is trying to learn how to work better with others inside or outside of an organization. As a part of this, I was asked for some questions we might use to survey people on how they…

Read More

CSS font variants are like the master keys in a heist movie, unlocking a vault of typographic treasures. Imagine a team of skilled thieves, each representing a different aspect of the font-variant property. Their mission? To infiltrate the bank of Typography and snatch every bit of style and elegance they can. Let’s dive into this heist and uncover the secrets of CSS font variants. The Crew: Font Variant Options and Values 1. The Leader: font-variant-caps This is the mastermind of the operation. With values like small-caps, all-small-caps, petite-caps, and all-petite-caps, it transforms lowercase letters into smaller capitals, perfect for adding…

Read More

Textual is a great Python package for creating a lightweight, powerful, text-based user interface. That means you can create a GUI in your terminal with Python without learning curses! But what happens when you encounter some problems that require debugging your application? A TUI takes over your terminal, which means you cannot see anything from Python’s print() statement. Wait? What about your IDE? Can that help? Actually no. When you run a TUI, you need a fully functional terminal to interact with it. PyCharm doesn’t work well with Textual. WingIDE doesn’t even have a terminal emulator. Visual Studio Code also…

Read More

This article was originally featured in TechCrunch on January 29, 2024. The unhealthy obsession with measuring developer productivity There’s an unhealthy obsession with companies looking for a way to measure developer productivity. The desire to measure productivity is understandable; senior leaders have been under pressure to deliver results while capitalizing on their investments in teams and technology. There are no sinister intentions behind measuring developer productivity; leaders genuinely want their teams to be as productive as possible. The problem is that developer productivity is incredibly difficult to measure, resulting in organizations allocating disproportionate effort and resources while trying to find…

Read More

In this article, you will learn how to manage Kafka consumer offset with Spring Boot and Spring Kafka. An inspiration for preparing this article was the feedback I received after publishing the post describing concurrency with Kafka and Spring Boot. You were asking me questions related not only to concurrency but also to the consumer offset committing process. In the previous article, I focused mostly on showing that the way how the app handles Kafka messages may impact the overall performance of our system. I didn’t consider things like message duplicates or losing messages on the consumer side. Today, we…

Read More