Tagged articles
27 articles
Page 1 of 1
php Courses
php Courses
Sep 16, 2025 · Backend Development

Master PHP’s floatval: Convert Any Variable to Float Easily

This guide explains how PHP’s built‑in floatval function converts integers, strings, booleans, and arrays to floating‑point numbers, provides syntax details, multiple code examples, and important usage notes for reliable numeric handling.

PHPProgramming tutorialfloat
0 likes · 4 min read
Master PHP’s floatval: Convert Any Variable to Float Easily
php Courses
php Courses
Aug 14, 2025 · Backend Development

Master PHP’s array_search: Find Keys Quickly and Accurately

This tutorial explains how PHP's array_search() function locates the key of a specific value in an array, details its parameters and return values, and provides clear code examples illustrating both successful searches and handling of missing elements.

PHPProgramming tutorialarray manipulation
0 likes · 4 min read
Master PHP’s array_search: Find Keys Quickly and Accurately
Architecture Development Notes
Architecture Development Notes
Jul 15, 2025 · Fundamentals

Build a Full-Featured Rust CLI Calculator from Scratch

This tutorial walks you through creating a command-line calculator in Rust, covering project setup, core features like basic arithmetic, input parsing, robust error handling, modular function design, performance tips, and ideas for extending functionality.

CLICalculatorCode Optimization
0 likes · 13 min read
Build a Full-Featured Rust CLI Calculator from Scratch
Cognitive Technology Team
Cognitive Technology Team
Mar 23, 2025 · Fundamentals

Swapping Two Variables in Java Without a Temporary Variable

This tutorial explains how to exchange the values of two Java variables without using a temporary variable, covering three techniques—arithmetic addition/subtraction, multiplication/division, and bitwise XOR—along with complete code examples, step‑by‑step explanations, output results, and discussion of each method’s advantages, limitations, and appropriate use cases.

ArithmeticProgramming tutorialbitwise operations
0 likes · 7 min read
Swapping Two Variables in Java Without a Temporary Variable
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 8, 2024 · Fundamentals

5 Python Techniques to Compute the Alternating Sum 1‑2+3‑4+…+99

This article presents five distinct Python solutions for calculating the alternating sum 1‑2+3‑4+…+99, illustrating approaches from basic loops with separate counters to concise one‑liners using itertools and generator expressions, and explains why each method satisfies the problem’s requirement of accumulating results in a single variable.

ArithmeticCode ExamplesLoops
0 likes · 5 min read
5 Python Techniques to Compute the Alternating Sum 1‑2+3‑4+…+99
php Courses
php Courses
Jul 9, 2024 · Backend Development

How to Define, Pass, Iterate, and Return Arrays in PHP Functions

This article explains how to define arrays using array(), pass them as function parameters, iterate over them with for and foreach loops, and return modified arrays in PHP functions, providing complete code examples for each step.

Programming tutorial
0 likes · 6 min read
How to Define, Pass, Iterate, and Return Arrays in PHP Functions
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2023 · Fundamentals

Python Movie Ticket Booking System with Seat Selection and Film Selector

This article presents a complete Python console application that demonstrates how to build a movie ticket booking system, including data structures for film information, a seat‑booking class with interactive reservation methods, a film‑selection interface, and a controller that ties everything together, accompanied by full source code listings.

Programming tutorialconsole-applicationmovie-ticket
0 likes · 10 min read
Python Movie Ticket Booking System with Seat Selection and Film Selector
Python Crawling & Data Mining
Python Crawling & Data Mining
May 5, 2023 · Fundamentals

A Simple Pandas Trick to Check Columns and Assign Scores

In this article, the author shares a Pandas column‑checking solution, presents a concise code snippet that determines whether specific columns exist in each row and assigns scores accordingly, discusses encountered issues with the implementation, and offers practical tips for asking data‑analysis questions in Python communities.

Programming tutorialdata analysis
0 likes · 4 min read
A Simple Pandas Trick to Check Columns and Assign Scores
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 18, 2022 · Fundamentals

How to Make Python Speak with a Male Voice Using pyttsx3 and Registry Tweaks

This article walks through troubleshooting the pyttsx3 Python text‑to‑speech library on Windows, explains why only female voices appear by default, shows how to add the missing male “Kangkang” voice via registry edits, and provides complete working code examples for both voice selection and speech synthesis.

Programming tutorialWindows Registrypyttsx3
0 likes · 5 min read
How to Make Python Speak with a Male Voice Using pyttsx3 and Registry Tweaks
MaGe Linux Operations
MaGe Linux Operations
Aug 6, 2022 · Backend Development

How to Build Dynamic PDF Reports with Python’s ReportLab

This tutorial explains how to use Python’s ReportLab library to create PDF reports by installing the package, importing modules, registering fonts, defining a Graphs class with static methods for titles, paragraphs, tables, images, and bar charts, and assembling these elements into a final PDF document.

Programming tutorialReportLabpdf-generation
0 likes · 8 min read
How to Build Dynamic PDF Reports with Python’s ReportLab
Programmer DD
Programmer DD
Apr 29, 2022 · Fundamentals

Simplify Multiline Strings in Java 17 with Text Blocks

This article demonstrates how Java 17's Text Blocks feature lets developers create readable multiline HTML strings without cumbersome concatenation or escape sequences, improving code clarity and reducing errors.

Multiline StringsProgramming tutorialjava-17
0 likes · 4 min read
Simplify Multiline Strings in Java 17 with Text Blocks
Top Architect
Top Architect
Jun 7, 2021 · Backend Development

Comprehensive Guide to Java Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, covering creation, intermediate and terminal operations, filtering, mapping, reducing, collecting, grouping, sorting, and practical code examples for processing collections such as employee data.

CollectionsJava 8Programming tutorial
0 likes · 21 min read
Comprehensive Guide to Java Stream API with Practical Examples
FunTester
FunTester
Jun 4, 2020 · Backend Development

Mastering Custom Exceptions in Java: A Step‑by‑Step Guide

This tutorial explains how to define, implement, and throw custom Java exceptions, providing complete example code, step‑by‑step creation instructions, and a practical demo that integrates the custom exception into a JSON‑processing method.

Exception HandlingProgramming tutorialbackend-development
0 likes · 4 min read
Mastering Custom Exceptions in Java: A Step‑by‑Step Guide
FunTester
FunTester
Aug 14, 2019 · Fundamentals

Print Perfect Triangles in Java with Minimal Loops

While relearning Java, the author created a concise solution that uses a single if‑else check to print both a right‑aligned and an equilateral triangle in the console, reducing the usual multiple‑loop approaches and providing complete code examples with output images.

Console outputLoopsProgramming tutorial
0 likes · 3 min read
Print Perfect Triangles in Java with Minimal Loops
37 Interactive Technology Team
37 Interactive Technology Team
Sep 7, 2018 · Backend Development

Mastering Lua and OpenResty: From Basics to Real-World Deployment

This guide introduces Lua’s concise syntax, tiny footprint, and performance strengths, explores typical use cases such as security, web APIs, and game servers, then walks through core language features, OpenResty integration, deployment steps, and a hands‑on exercise for building a redirect service.

DeploymentLuaOpenResty
0 likes · 10 min read
Mastering Lua and OpenResty: From Basics to Real-World Deployment
21CTO
21CTO
Aug 9, 2017 · Operations

How to Start Live Coding on YouTube: Tips, Tools, and Lessons Learned

This article shares a developer’s year‑long experience of live‑coding on YouTube, covering why to stream, essential software and hardware, OBS setup, room description, chat management, scheduling, and practical advice to help newcomers start their own coding broadcasts.

HardwareOBSProgramming tutorial
0 likes · 14 min read
How to Start Live Coding on YouTube: Tips, Tools, and Lessons Learned
Architecture Digest
Architecture Digest
Sep 18, 2016 · Fundamentals

Smart Audio Recorder Based on Volume Threshold – Implementation and Code

This article describes a C# program that continuously captures microphone audio, uses volume thresholds derived from Fourier analysis to automatically start and stop recording, and provides the full configuration and source code needed to build a smart recorder for capturing dream speech.

Programming tutorialSignal Processingaudio recording
0 likes · 7 min read
Smart Audio Recorder Based on Volume Threshold – Implementation and Code