Author: drweb

I had a fella email me a line of text almost just like this: 𝐂𝐚𝐥𝐥𝐞 𝐁𝐥𝐚𝐧𝐜𝐨𝐬, 𝐂𝐨𝐬𝐭𝐚 𝐑𝐢𝐜𝐚 He said he could not remove that formatting no matter what he did. It looks kinda bold, doesn’t it? And set into a serif font. You’d think you could select it in the text editor you’re in and remove that formatting. He said he tried copy/pasting it into places where no text formatting is even allowed, like in VS Code or the URL bar of a browser. Voodoo, he said. Here’s the thing: that text isn’t formatted. That first “C” you see…

Read More
PHP

Early Access Program We’re opening the Early Access Program (EAP) for the PhpStorm 2024.3 that will have native support of PHP 8.4. Join the program and try out some of the newest additions and improvements today! New classes without parentheses PHP 8.4 introduces a new syntax improvement allowing instantiation of classes without parentheses. PhpStorm now fully supports this feature, making it easier for developers to adopt this cleaner, more concise syntax. Before: $request = (new Request())->withMethod(‘GET’)->withUri(‘/hello-world’); After: $request = new Request()->withMethod(‘GET’)->withUri(‘/hello-world’); This automatic conversion makes it faster to upgrade existing code to PHP 8.4’s new syntax style. New array functions…

Read More

I’ve heard this question several times over the past few weeks, so I’m writing a blog post about it. At first, I saw this question as similar to asking someone, “What is your favorite color?” because I believe that every single person/dev team has their own opinions and preferences.That said, I realized people ask that question because of possible misconceptions about how Angular works, making this topic much more interesting. Also, we’re lucky enough to have an official Angular style guide to help us make informed decisions about it.Here is my take on that topic in a Q&A format:To the…

Read More
SQL

When running queries in SQL Server, small changes in query design can lead to big differences in performance. Today, we’re looking at the hidden costs of using TOP versus TOP PERCENT clauses. Even if the results appear the same, the underlying performance can vary significantly.What Causes TOP PERCENT to Cost More?The higher cost of TOP PERCENT queries can be explained by:Sorting Requirements: SQL Server often needs to sort the entire dataset to calculate percentages.Worktable Creation: Sorting operations may use temporary worktables, adding overhead.Full Dataset Evaluation: Unlike TOP n, which can stop early, TOP PERCENT processes the entire dataset to ensure…

Read More

💡 Sample Article: This article was written by the best AI writer in the industry to showcase its features such as automatic interlinking, automatic video embedding, image generation, and topic selection.Want to build your own AI website? You can get a -15% discount by using our partner code “FINXTER” when checking it out.Language Origins and Evolution Python and Golang have different roots but share a focus on simplicity and readability. Both languages emerged to solve specific programming challenges of their time.Python: Creation and GrowthPython was born in 1991, thanks to Guido van Rossum. He wanted to create a language that…

Read More

Black Friday and Cyber Monday are nearly here, so it’s time to do a Python sale! All my books and courses are 35% off until December 4th if you use this code: BF24 at checkout. You can learn about any of the following topics in my books and courses: Basic Python (Python 101) PDF Processing (ReportLab book) Excel and Python Image processing (Pillow book) Python Logging (NEW this year!) Jupyter Notebook JupyterLab 101 (NEW this month!) and more Check out my books and courses today! Other Python Sales

Read More

Have you ever wanted to create a travel assistant that makes your trips smooth and stress-free? Imagine landing in Bangkok and having your Python-based assistant guide you to the best temples, street food spots, and hidden gems—all while staying seamlessly connected. In the age of global travel, staying online is no longer optional, especially in busy cities like Bangkok. That’s where tools like a Bangkok eSIM come into play, ensuring instant, reliable connectivity without the hassle of local SIM cards. By combining technology and connectivity, you can build a travel assistant that makes exploring new destinations effortlessly.This guide will help…

Read More

JupyterLab, the latest iteration of the Jupyter Notebook, is a versatile tool that empowers you to share your code in an easily understandable format. Front View Two Hard Cover Book Psd Mockup Hundreds of thousands of people around the world use Jupyter Notebooks or variations of the Notebook architecture for any or all of the following: teaching presentations learning a computer language numerical simulations statistical modeling data visualization machine learning and much more! Jupyter Notebooks can be emailed, put on GitHub, or run online. You may also add HTML, images, Markdown, videos, LaTeX, and custom MIME types to your Notebooks.…

Read More

Programming helps us solve problems, but it also lets us have fun by trying out new ideas. Making games helps us both learn to code and have fun at the same time. This article guides you through building a basic card game called Blackjack using Python. When you build this project, you’ll learn essential programming skills and see how they work in everyday situations.What Do You Need to Create a Blackjack Game in Python?To build a simple blackjack game in Python, you need specific tools and understanding. Before starting, you need to have Python installed on your computer. The newest Python…

Read More

Why this? I remember when I first stumbled upon the Python wiki years ago, searching for a straightforward way to learn Python. Most of what I found felt either too complicated or just impractical — especially with a busy life, work, family, and other things to learn. You’re in the right place. This is the resource I wish I had back then.⭐ My Goal: I created these simple cheat sheets to help you reduced time and effort to go from zero Python skills to creating your first cool app.More than 200,000 absolute Python beginners have already downloaded our free cheat…

Read More