Tagged articles
Programming Tutorial
28 articles · Page 1 of 1
This tutorial walks through two Java examples—a simple user login verification program and a basic sensitive‑word filtering utility—explaining the problem setup, code logic, and sample outputs to illustrate input validation and string processing techniques.
JavaProgramming TutorialSensitive Word Filtering
0 likes · 8 min read

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 TutorialType Conversion
0 likes · 4 min read

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

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.
CalculatorProgramming TutorialRust
0 likes · 13 min read

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.
ArithmeticJavaProgramming Tutorial
0 likes · 7 min read

This article introduces Python lists, explains their core operations such as adding, removing, searching, sorting, and iterating, and provides ten detailed code examples that illustrate common use cases and scenarios for effective list manipulation.
Data StructuresListProgramming Tutorial
0 likes · 7 min read

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

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

This guide explains what a Rust REPL is, how to install the evcxr_repl tool using Rustup and Cargo, and demonstrates running the REPL, experimenting with variable declarations, external crates, data types, and error handling, while noting its limitations for larger projects.
Code ExperimentationProgramming TutorialREPL
0 likes · 5 min read

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

This article provides a comprehensive guide on building a network port scanner using Python, covering implementation principles, code examples, and practical usage instructions.
Port ScannerProgramming TutorialPython
0 likes · 8 min read

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

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 TutorialText-to-SpeechWindows Registry
0 likes · 5 min read

This article walks through using Python's re module to remove specific patterns—including multiline sections—from a text file, explains the role of the re.S flag, and provides a complete, ready‑to‑run code example for batch text cleaning.
Programming TutorialPythonfile handling
0 likes · 4 min read

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.
PDF generationProgramming TutorialReportLab
0 likes · 8 min read

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.
Java 17Multiline StringsProgramming Tutorial
0 likes · 4 min read

Learn how to implement the classic Tower of Hanoi puzzle in Go by exploring its origins, rules, recursive logic, and detailed code example, complete with step-by-step explanations and visual illustrations that guide you through solving the problem efficiently.
AlgorithmGoProgramming Tutorial
0 likes · 10 min read

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.
JavaJava 8Programming Tutorial
0 likes · 21 min read

This tutorial introduces the strman-java library, a powerful Java 8 string utility with 23 methods—such as append, at, base64Encode, and safeTruncate—providing clear code examples, explanations of underlying Java features, and best‑practice tips for writing cleaner, more efficient code.
Code ExamplesJavaProgramming Tutorial
0 likes · 20 min read

This tutorial demonstrates three ways to calculate the average of an integer array—using a classic Java for‑loop, a Java Stream Lambda expression, and Groovy’s built‑in collection methods—complete with code samples and console output.
Array averageGroovyJava
0 likes · 5 min read

This tutorial walks you through creating a simple Hello World program in Go on Windows, running it in Goland, and using the go build command to compile the source into an executable file with custom naming options.
GoProgramming Tutorialgo build
0 likes · 4 min read

This tutorial shows how to craft playful romantic messages and visual heart art using Python and JavaScript code snippets, including ASCII‑based text, a one‑line heart generator, QR code creation, and a canvas‑drawn rose, all illustrated with example outputs.
ASCII artCanvas graphicsHeart Shape
0 likes · 5 min read

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.
Backend DevelopmentJavaProgramming Tutorial
0 likes · 4 min read

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 outputJavaLoops
0 likes · 3 min read

This tutorial demonstrates how to perform file writing, read user input from the console, and read file contents in Scala by leveraging Java I/O classes, scala.io.StdIn, and scala.io.Source, complete with compile‑run commands and expected output.
Console InputJava IOProgramming Tutorial
0 likes · 3 min read

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.
Backend DevelopmentLuaOpenResty
0 likes · 10 min read


21CTOAug 9, 2017 · Operations
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.
OBSProgramming TutorialYouTube streaming
0 likes · 14 min read

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.
C++MicrophoneProgramming Tutorial
0 likes · 7 min read
