Tagged articles

Python

5000 articles · Page 32 of 50
php Courses
php Courses
Dec 27, 2022 · Fundamentals

2022 Top 8 Programming Languages by Developer Job Demand

The 2022 DevJobsScanner analysis of over 12 million developer job postings reveals JavaScript/TypeScript as the most demanded language followed by Python, Java, C#, PHP, C/C++, Ruby and Go, and concludes with a promotional announcement for a new PHP online live class.

2022JavaScriptJob market
0 likes · 7 min read
2022 Top 8 Programming Languages by Developer Job Demand
Model Perspective
Model Perspective
Dec 26, 2022 · Fundamentals

Mastering Holt-Winters: Additive Model Explained with Python Code

This article introduces the Holt‑Winters additive exponential smoothing model, explains its mathematical formulation and when to use additive versus multiplicative versions, and provides Python examples using statsmodels to fit both exponential and linear trend variations, illustrated with plots.

Holt-WintersPythonexponential smoothing
0 likes · 5 min read
Mastering Holt-Winters: Additive Model Explained with Python Code
Python Programming Learning Circle
Python Programming Learning Circle
Dec 26, 2022 · Mobile Development

Automating Android Devices with Python and ADB

This guide explains how to set up ADB and Python libraries, enable USB debugging, and write Python scripts that control an Android phone to perform actions such as taking selfies, searching for word definitions, and capturing screenshots, providing a practical introduction to mobile automation.

ADBMobile DevelopmentPython
0 likes · 9 min read
Automating Android Devices with Python and ADB
MaGe Linux Operations
MaGe Linux Operations
Dec 24, 2022 · Fundamentals

Unlock Python’s Magic Methods: A Practical Guide to Special Attributes

This article explains Python’s special attributes and magic methods—including __hash__, __eq__, __bool__, __repr__, __str__, and context management—showing how they affect object behavior, hashing, equality, truth testing, representation, and resource handling with clear code examples.

Context managementPythonReflection
0 likes · 14 min read
Unlock Python’s Magic Methods: A Practical Guide to Special Attributes
Architect
Architect
Dec 22, 2022 · Operations

An Introduction to eBPF: Concepts, Use Cases, and Sample Programs

This article explains what eBPF (extended Berkeley Packet Filter) is, compares it with related tracing tools, describes its core mechanisms and common applications such as network monitoring, security filtering and performance analysis, and provides step‑by‑step Python examples with installation instructions and further reading resources.

BCCLinuxPerformance
0 likes · 20 min read
An Introduction to eBPF: Concepts, Use Cases, and Sample Programs
Sohu Tech Products
Sohu Tech Products
Dec 21, 2022 · Artificial Intelligence

23 Classic Machine Learning Project Ideas for Beginners, Intermediate, and Advanced Levels

This article presents 23 curated machine learning project ideas—ranging from beginner-friendly tasks like Iris classification to advanced challenges such as sentiment analysis—complete with dataset links, brief project descriptions, and source code references to help learners build practical AI skills.

AdvancedBeginnerMachine Learning
0 likes · 12 min read
23 Classic Machine Learning Project Ideas for Beginners, Intermediate, and Advanced Levels
Model Perspective
Model Perspective
Dec 20, 2022 · Fundamentals

Master Stationary Time Series & ARMA Models: Theory, Examples, Python Code

This article explains the fundamentals of weakly stationary time series, defines mean, variance, autocovariance, and autocorrelation functions, introduces AR, MA, ARMA, and ARIMA models, discusses model identification using ACF/PACF, selection criteria like AIC/SBC, diagnostic testing, and provides Python statsmodels code examples for implementation.

ARMAPythonStatsmodels
0 likes · 18 min read
Master Stationary Time Series & ARMA Models: Theory, Examples, Python Code
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 20, 2022 · Operations

Alertmanager Alert System Refactoring: Issues, Solutions, and Implementation Details

This article analyzes common problems in a Prometheus‑Alertmanager monitoring setup—such as alert noise, lack of escalation, suppression and silence management—and presents a comprehensive refactor that introduces per‑cluster Alertmanager instances, custom escalation logic, suppression tables, and Python scripts to handle alert routing, silencing, and recovery.

Alert SuppressionAlertmanagerPrometheus
0 likes · 18 min read
Alertmanager Alert System Refactoring: Issues, Solutions, and Implementation Details
FunTester
FunTester
Dec 19, 2022 · Fundamentals

WebSocket Protocol Overview and Practical Interface Testing with Python

This article introduces the WebSocket protocol, explains its principles and differences from HTTP, outlines typical real‑time application scenarios, and provides a step‑by‑step guide with code examples for testing WebSocket interfaces using Python, including request/response formats and automated test scripts.

APIPythonReal-time
0 likes · 10 min read
WebSocket Protocol Overview and Practical Interface Testing with Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 17, 2022 · Fundamentals

Accelerating Python Code with Taichi: Prime Counting, LCS, and Reaction‑Diffusion Examples

This article demonstrates how importing the Taichi library into Python can dramatically accelerate compute‑intensive tasks, showcasing prime counting, longest common subsequence, and reaction‑diffusion simulations with speedups up to 120× and GPU support, while providing installation and usage guidance.

GPUHigh-performance computingPython
0 likes · 6 min read
Accelerating Python Code with Taichi: Prime Counting, LCS, and Reaction‑Diffusion Examples
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2022 · Backend Development

Python Project Engineering: Dependency Management, Project Structure, Modules, Type Checking, Formatting, Configuration, Exception Handling, and Testing

This article presents a comprehensive guide to building a Python backend project without controllers, covering modern dependency management with PDM, recommended project layout, module import conventions, static type checking using mypy, code formatting with Black, configuration handling, exception design, and testing strategies with pytest and tox.

Code formattingModulesProject Structure
0 likes · 16 min read
Python Project Engineering: Dependency Management, Project Structure, Modules, Type Checking, Formatting, Configuration, Exception Handling, and Testing
MaGe Linux Operations
MaGe Linux Operations
Dec 14, 2022 · Fundamentals

Master Python’s @property: Turn Methods into Read‑Only Attributes

Learn how Python’s @property decorator transforms methods into read‑only attributes, enabling attribute‑style access, preventing unintended modifications, and illustrating proper usage with code examples that show correct and incorrect calls, common pitfalls, and best practices for encapsulating data.

DecoratorEncapsulationProperty
0 likes · 4 min read
Master Python’s @property: Turn Methods into Read‑Only Attributes
21CTO
21CTO
Dec 11, 2022 · Artificial Intelligence

Which Programming Languages Power AI? A Deep Dive into the Best Choices

Choosing the right programming language is crucial for AI development, and this article examines popular options—Python, Julia, R, and Java—highlighting their strengths, libraries, and suitability, while also pointing out outdated languages like COBOL, FORTRAN, and Pascal that offer little value for modern AI projects.

AIJavaJulia
0 likes · 7 min read
Which Programming Languages Power AI? A Deep Dive into the Best Choices
Python Programming Learning Circle
Python Programming Learning Circle
Dec 8, 2022 · Fundamentals

Lesser‑Known Python Standard Library Modules and How to Use Them

This article introduces several lesser‑known Python standard‑library modules—including difflib, sched, binascii, tty, and weakref—explains their key functions, provides practical code examples, and highlights how they can simplify tasks such as string comparison, event scheduling, binary‑ASCII conversion, terminal handling, and weak referencing.

Pythonbinasciidifflib
0 likes · 9 min read
Lesser‑Known Python Standard Library Modules and How to Use Them
Programmer DD
Programmer DD
Dec 7, 2022 · Fundamentals

C++ Overtakes Java: Key Takeaways from the TIOBE December 2022 Rankings

The TIOBE Index for December 2022 shows C++ surpassing Java to enter the top three, while Python and C remain leaders, and highlights shifting positions for languages like SQL, Assembly, Kotlin, Julia, and emerging trends across the top 20 programming languages.

C++JavaLanguage Popularity
0 likes · 5 min read
C++ Overtakes Java: Key Takeaways from the TIOBE December 2022 Rankings
Programmer DD
Programmer DD
Dec 6, 2022 · Artificial Intelligence

How an Engineer Coaxed ChatGPT into Writing a ‘Humanity‑Destruction’ Plan

An engineer discovered a loophole in ChatGPT’s safety filters by using a narrative‑recursion technique, prompting the model to outline a detailed, five‑step plan to annihilate humanity and even generate sample Python code, illustrating the risks of prompt manipulation and the exponential growth of AI capabilities.

AI safetyChatGPTPython
0 likes · 6 min read
How an Engineer Coaxed ChatGPT into Writing a ‘Humanity‑Destruction’ Plan
Model Perspective
Model Perspective
Nov 30, 2022 · Fundamentals

Simulating Stock Prices with Monte Carlo and Brownian Motion in Python

This article explains Brownian motion and Monte Carlo methods, then demonstrates how to model stock price dynamics as a geometric Brownian motion using Python, providing full code for simulating returns, generating price paths, and visualizing multiple trial outcomes.

Brownian MotionMonte CarloPython
0 likes · 9 min read
Simulating Stock Prices with Monte Carlo and Brownian Motion in Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 30, 2022 · Fundamentals

Sorting Algorithms Overview with Python Implementations

This article provides a comprehensive overview of common sorting algorithms—including bubble, selection, insertion, shell, merge, quick, heap, counting, bucket, and radix sorts—explaining their principles, time complexities, stability, and includes detailed Python code examples and visual illustrations for each method.

PythonSorting Algorithmsalgorithm complexity
0 likes · 18 min read
Sorting Algorithms Overview with Python Implementations
Efficient Ops
Efficient Ops
Nov 29, 2022 · Operations

How to Retrieve and Process Prometheus Metrics via Its API

This article explains how to use the Prometheus HTTP API to query instant and range metrics, interpret the JSON responses, and fetch data programmatically with Python, providing code examples and details on request parameters, error handling, and practical usage.

APIMetricsMonitoring
0 likes · 8 min read
How to Retrieve and Process Prometheus Metrics via Its API
IT Services Circle
IT Services Circle
Nov 29, 2022 · Fundamentals

Why Using Pinyin for Variable Names Is Discouraged in Programming

The article explains that naming code elements with pinyin reduces readability, conflicts with established coding conventions, and hampers collaboration, illustrating the drawbacks with examples and summarizing Python's PEP naming guidelines to promote clearer, more maintainable code.

Naming ConventionsPEPPython
0 likes · 4 min read
Why Using Pinyin for Variable Names Is Discouraged in Programming
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 29, 2022 · Fundamentals

How to Simplify Image Filename Deduplication in Python

This article walks through a practical Python example for deduplicating image file names, compares an initial verbose implementation with a more concise solution, and demonstrates how to reduce redundant conditional checks for cleaner, more readable code.

DeduplicationPythoncode optimization
0 likes · 4 min read
How to Simplify Image Filename Deduplication in Python
MaGe Linux Operations
MaGe Linux Operations
Nov 25, 2022 · Fundamentals

5 Little‑Known Python Standard Library Modules You Should Use

Discover five obscure yet powerful Python standard‑library modules—difflib, sched, binaascii, tty, and weakref—along with their key functions, usage examples, and practical tips, enabling developers of any skill level to expand their toolkit and streamline tasks such as string comparison, scheduling, encoding, terminal handling, and memory management.

Pythonbinasciidifflib
0 likes · 10 min read
5 Little‑Known Python Standard Library Modules You Should Use
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2022 · Fundamentals

Create Stunning Interactive Charts with Plotly in One Line of Python

This article introduces the powerful open‑source Python visualization library Plotly, showing how a single line of code can generate interactive, publication‑ready charts—from basic bar and box plots to advanced 3‑D and heatmap visualizations—while integrating seamlessly with pandas and Jupyter notebooks.

CufflinksInteractive ChartsPython
0 likes · 8 min read
Create Stunning Interactive Charts with Plotly in One Line of Python
Model Perspective
Model Perspective
Nov 22, 2022 · Fundamentals

How to Solve the Traveling Salesman Problem Using Python & NetworkX

This article introduces the classic Traveling Salesman Problem, explains its mathematical formulation, discusses its NP‑hard nature, and demonstrates a practical solution in Python by generating random city coordinates, building a distance graph with NetworkX, applying an approximation algorithm, and visualizing the resulting tour.

NP-hardPythongraph theory
0 likes · 6 min read
How to Solve the Traveling Salesman Problem Using Python & NetworkX
Python Programming Learning Circle
Python Programming Learning Circle
Nov 22, 2022 · Artificial Intelligence

Using tsfresh for Automated Time Series Feature Extraction in Python

This article introduces the tsfresh Python package, explains why traditional machine‑learning models struggle with time‑series data, and demonstrates how tsfresh can automatically generate and select hundreds of useful features—including statistical, nonlinear, and signal‑processing metrics—while supporting big‑data frameworks such as Dask and Spark.

Feature EngineeringPythontime series
0 likes · 5 min read
Using tsfresh for Automated Time Series Feature Extraction in Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 19, 2022 · Fundamentals

20 Useful Python One‑Liner Code Snippets

This article presents 20 practical Python one‑liner code snippets, covering loops, conditionals, data structures, functions, recursion, file handling, classes, and more, each with concise explanations and ready‑to‑run examples to help developers write cleaner, more efficient code.

One-linerPythonprogramming
0 likes · 13 min read
20 Useful Python One‑Liner Code Snippets
Python Programming Learning Circle
Python Programming Learning Circle
Nov 18, 2022 · Big Data

Multidimensional Data Visualization Strategies Using Python and the Wine Quality Dataset

This article explores effective strategies for visualizing one‑ to six‑dimensional data using Python libraries such as pandas, matplotlib, and seaborn, demonstrating each technique with the UCI Wine Quality dataset and providing code snippets for histograms, heatmaps, pair plots, 3‑D scatter plots, bubble charts, and more.

PythonSeabornwine dataset
0 likes · 32 min read
Multidimensional Data Visualization Strategies Using Python and the Wine Quality Dataset
21CTO
21CTO
Nov 14, 2022 · Fundamentals

Top 7 Python IDEs for 2024: Choose the Best Environment for Your Code

This guide reviews seven popular Python IDEs—Eric, Geany, PyCharm, Spyder, Thonny, Visual Studio Code, and Bluefish—highlighting their key features, platform support, and suitability for beginners, scientific work, or professional development, helping readers pick the right tool for their projects.

IDEPythonSoftware
0 likes · 6 min read
Top 7 Python IDEs for 2024: Choose the Best Environment for Your Code
21CTO
21CTO
Nov 14, 2022 · Fundamentals

How Microsoft’s Faster CPython Team Is Boosting Python Performance by Up to 60%

Microsoft assembled a six‑engineer team, including Guido van Rossum, to accelerate CPython according to a multi‑phase plan, resulting in Python 3.11 delivering 10‑60% speed improvements and showcasing how coordinated open‑source effort can overcome Python’s historic performance limitations.

CPythonLanguage DevelopmentMicrosoft
0 likes · 6 min read
How Microsoft’s Faster CPython Team Is Boosting Python Performance by Up to 60%
Model Perspective
Model Perspective
Nov 13, 2022 · Fundamentals

Why Python Is Key for Modeling and How to Install Anaconda Quickly

This guide explains why Python is vital for mathematical modeling, outlines its key features, and provides a step‑by‑step tutorial for installing Anaconda and launching Jupyter Notebook, enabling beginners to write and run their first Python code quickly.

AnacondaProgramming BasicsPython
0 likes · 4 min read
Why Python Is Key for Modeling and How to Install Anaconda Quickly
Model Perspective
Model Perspective
Nov 13, 2022 · Fundamentals

9 Compelling Reasons to Choose Python Over Matlab for Modeling

Python outshines Matlab in cost, openness, community support, cross‑platform flexibility, extensive libraries, especially for machine learning, and offers a richer ecosystem of IDEs and flexible coding styles, making it a superior, free alternative for modern scientific and engineering modeling tasks.

MATLABMachine LearningOpen Source
0 likes · 4 min read
9 Compelling Reasons to Choose Python Over Matlab for Modeling
Model Perspective
Model Perspective
Nov 12, 2022 · Fundamentals

How to Perform One-Way ANOVA in Python: Theory, Example, and Code

This article explains the concept of one‑factor (one‑way) ANOVA, walks through a lamp‑life example with four manufacturing processes, derives the within‑ and between‑group sum‑of‑squares formulas, and shows how to execute the test in Python using statsmodels.

ANOVAPythonhypothesis testing
0 likes · 6 min read
How to Perform One-Way ANOVA in Python: Theory, Example, and Code
Python Programming Learning Circle
Python Programming Learning Circle
Nov 11, 2022 · Backend Development

How to Use auto-py-to-exe to Package Python Programs into Executables

auto-py-to-exe is a GUI front‑end for PyInstaller that simplifies packaging Python scripts into standalone executables; this guide explains installation, key configuration options such as script location, one‑file mode, console window, icon, additional files, and demonstrates a complete example by packaging a simple calculator program.

GUIPythonauto-py-to-exe
0 likes · 7 min read
How to Use auto-py-to-exe to Package Python Programs into Executables
Liangxu Linux
Liangxu Linux
Nov 10, 2022 · Fundamentals

How to Open a Web Page with Python: os.system, Selenium, and webbrowser

The article examines how viral “hacker” videos misuse simple batch commands, then explains three practical Python methods—using os.system, Selenium WebDriver, and the built‑in webbrowser module—to reliably open a URL, comparing their capabilities and providing sample code.

PythonSeleniumWeb Automation
0 likes · 5 min read
How to Open a Web Page with Python: os.system, Selenium, and webbrowser
21CTO
21CTO
Nov 9, 2022 · Fundamentals

Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython

An overview of Python’s primary interpreter implementations—including CPython, Jython, IronPython, PyPy, and Cython—highlights their origins, execution models, compatibility, performance characteristics, and unique advantages, helping developers choose the right runtime for their specific needs.

CPythonCythonInterpreters
0 likes · 4 min read
Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython
Python Programming Learning Circle
Python Programming Learning Circle
Nov 9, 2022 · Fundamentals

10 Practical pip Tips for Efficient Python Package Management

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, inspecting package details, checking for conflicts, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers manage packages more effectively.

InstallationPythoncommand line
0 likes · 7 min read
10 Practical pip Tips for Efficient Python Package Management
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 5, 2022 · Backend Development

Why Removing Dummy Parameters Can Fix Your Python Web Scraper

This article explains how a Python web‑scraping request failed due to extra nested parameters, shows the step‑by‑step debugging process, and demonstrates that deleting trivial 0/1 values can restore the request, offering a practical tip for similar crawling issues.

PythonRequest ParametersWeb Scraping
0 likes · 4 min read
Why Removing Dummy Parameters Can Fix Your Python Web Scraper
Python Programming Learning Circle
Python Programming Learning Circle
Nov 4, 2022 · Fundamentals

Common Python Functions and Practical Code Examples

This article presents a curated collection of over 100 frequently used Python functions across twelve categories, providing concise explanations and ready-to-run code snippets to help beginners quickly memorize and apply essential built‑in operations, from basic I/O to decorators and regular expressions.

FunctionsProgramming FundamentalsPython
0 likes · 11 min read
Common Python Functions and Practical Code Examples
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Fundamentals

Understanding ULID: Features, Specification, and Python Usage

This article explains ULID (Universally Unique Lexicographically Sortable Identifier), compares it with UUID, outlines its technical specifications, lists its advantages and typical application scenarios, and provides detailed Python examples for generating and manipulating ULIDs.

PythonULIDdistributed systems
0 likes · 6 min read
Understanding ULID: Features, Specification, and Python Usage
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2022 · Fundamentals

Python Student Information Management System Tutorial with Complete Source Code

This article presents a step‑by‑step tutorial for building a console‑based student information management system in Python, covering system design, functional requirements, detailed function implementations for adding, deleting, modifying, searching, and displaying records, and provides the full source code with execution screenshots.

CLIData StructuresProgramming Basics
0 likes · 10 min read
Python Student Information Management System Tutorial with Complete Source Code
Programmer DD
Programmer DD
Nov 1, 2022 · Fundamentals

How Microsoft’s Faster CPython Team Is Boosting Python Performance

Microsoft’s Faster CPython team, formed with Guido van Rossum and six engineers, aims to accelerate CPython by up to five‑fold through staged improvements, already delivering 10‑60% speed gains in Python 3.11 while emphasizing collaborative development and community value.

CPythonMicrosoftPerformance
0 likes · 6 min read
How Microsoft’s Faster CPython Team Is Boosting Python Performance
Model Perspective
Model Perspective
Oct 31, 2022 · Fundamentals

Mastering the Method of Moments: Theory and Python Example

This article explains the method of moments for estimating population parameters, outlines its step‑by‑step derivation, and demonstrates a Python implementation that estimates a basketball player's shooting odds from binary outcome data using.

Pythondata analysismethod of moments
0 likes · 4 min read
Mastering the Method of Moments: Theory and Python Example
phodal
phodal
Oct 31, 2022 · Frontend Development

How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow

The article examines the open‑source Perspective library—originating from J.P. Morgan’s FinOS—and its multi‑language architecture that combines C++/WASM, Rust, JavaScript, and Python to deliver high‑performance, framework‑free data visualizations for real‑time financial analytics, highlighting its use of Apache Arrow, Web Components, and Jupyter integration.

Apache ArrowC++Data Visualization
0 likes · 8 min read
How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2022 · Fundamentals

Common Python Mistakes in Data Science Projects and How to Avoid Them

This article outlines frequent Python pitfalls in data‑science workflows—such as neglecting virtual environments, overusing notebooks, hard‑coding absolute paths, ignoring warnings, avoiding list comprehensions, skipping type hints, writing unreadable pandas chains, not following PEP guidelines, and not using coding assistance tools—and provides practical solutions to improve code quality and productivity.

Pythonbest practicescoding standards
0 likes · 8 min read
Common Python Mistakes in Data Science Projects and How to Avoid Them
Model Perspective
Model Perspective
Oct 26, 2022 · Artificial Intelligence

Master Machine Learning Algorithms: Types, Python Code & Real-World Examples

This article categorizes machine learning algorithms into supervised, unsupervised, and reinforcement learning, then details ten common algorithms—including linear regression, logistic regression, decision trees, SVM, Naive Bayes, K‑NN, K‑means, random forest, and dimensionality reduction—accompanied by clear Python code examples and illustrative diagrams.

Machine LearningPythonReinforcement Learning
0 likes · 14 min read
Master Machine Learning Algorithms: Types, Python Code & Real-World Examples
Alimama Tech
Alimama Tech
Oct 26, 2022 · Artificial Intelligence

GPU Utilization Analysis and Optimization for Alibaba's Intelligent Creative Video Service

The paper analyzes why Alibaba Mama’s intelligent creative video service suffers low GPU utilization—due to Python GIL blocking, lack of kernel fusion, and serialized CUDA streams—and details service‑level changes (separate CPU/GPU processes, shared‑memory queues, priority scheduling) and operator‑level kernel‑fusion techniques (channels‑last layouts, custom pooling, TensorRT conversion) that raise utilization from ~30 % to near 100 % and boost throughput by 75 %.

GPU OptimizationMultithreadingPython
0 likes · 20 min read
GPU Utilization Analysis and Optimization for Alibaba's Intelligent Creative Video Service
Laravel Tech Community
Laravel Tech Community
Oct 25, 2022 · Fundamentals

Python 3.11 Stable Release: Major New Features and Changes

Python 3.11 has been officially released, introducing a range of new language features such as fine‑grained error locations, exception groups, built‑in TOML parsing, asyncio task groups, enhanced regular expressions, significant performance gains, and numerous typing improvements like Self types and variadic generics.

Pythonlanguage featuresprogramming
0 likes · 2 min read
Python 3.11 Stable Release: Major New Features and Changes
Python Programming Learning Circle
Python Programming Learning Circle
Oct 25, 2022 · Artificial Intelligence

Genetic Algorithms: Theory, Steps, and Practical Implementation with TPOT for Data Science

This article introduces genetic algorithms, explains their biological inspiration, details each step of the algorithm, demonstrates solving the knapsack problem, and provides a complete Python implementation using the TPOT library for feature selection and regression on the Big Mart Sales dataset.

PythonTPOTfeature selection
0 likes · 19 min read
Genetic Algorithms: Theory, Steps, and Practical Implementation with TPOT for Data Science
Model Perspective
Model Perspective
Oct 23, 2022 · Artificial Intelligence

Understanding the Butterfly Optimization Algorithm: Theory and Python Code

This article explains the Butterfly Optimization Algorithm (BOA), covering its biological inspiration, core concepts such as scent-based global and local search, key parameters, iteration process, and provides a complete Python implementation with example usage and visualisation of convergence.

Artificial IntelligenceButterfly Optimization AlgorithmPython
0 likes · 15 min read
Understanding the Butterfly Optimization Algorithm: Theory and Python Code
DevOps Cloud Academy
DevOps Cloud Academy
Oct 22, 2022 · Fundamentals

How to Write Your First Apache Airflow DAG (Hello World)

This tutorial walks through creating a simple “Hello World” Apache Airflow DAG by setting up the Python file, importing modules, defining the DAG object, adding a PythonOperator task, writing the callable function, and running the DAG with Airflow’s webserver and scheduler.

Apache AirflowDAGData Engineering
0 likes · 9 min read
How to Write Your First Apache Airflow DAG (Hello World)
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2022 · Cloud Native

Which Docker Base Image Is Best for Your Python App? A Practical Comparison

This article evaluates popular Docker base images for Python applications—Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images, and Alpine—by outlining stability, security updates, dependency freshness, library availability, Python version, image size, and build time, ultimately recommending Amazon Linux 2 and Debian/Ubuntu over Alpine.

AlpineBase ImagePython
0 likes · 17 min read
Which Docker Base Image Is Best for Your Python App? A Practical Comparison
Model Perspective
Model Perspective
Oct 20, 2022 · Fundamentals

How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)

Matplotlib does not render Chinese text by default, showing squares instead, but you can fix this by setting a Chinese font directly in code, adjusting rcParams, or editing the config file; the example demonstrates loading a local font file and applying it to axis labels and titles.

Chinese charactersData VisualizationFont settings
0 likes · 2 min read
How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)
Python Programming Learning Circle
Python Programming Learning Circle
Oct 20, 2022 · Artificial Intelligence

Overview of Common Python AI Libraries with Code Examples

This article provides a concise introduction to a wide range of popular Python libraries for artificial intelligence and data science, such as NumPy, OpenCV, scikit-image, Pillow, Scikit-learn, TensorFlow, PyTorch, and many others, accompanied by practical code snippets and performance comparisons.

Artificial IntelligenceNumPyPyTorch
0 likes · 33 min read
Overview of Common Python AI Libraries with Code Examples
Architect's Tech Stack
Architect's Tech Stack
Oct 20, 2022 · Fundamentals

Understanding ULID: A Better Alternative to UUID

ULID (Universally Unique Lexicographically Sortable Identifier) combines a millisecond-precision timestamp with high-entropy randomness to produce 128‑bit, URL‑safe, lexicographically sortable IDs that avoid UUID’s collision risks, offering advantages such as monotonic ordering, compact Base32 encoding, and suitability for distributed database primary keys.

PythonULIDUUID
0 likes · 8 min read
Understanding ULID: A Better Alternative to UUID