Tagged articles
99 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Nov 9, 2025 · Backend Development

Master Reading CSV Files into PHP Arrays: 6 Proven Methods

This guide explains six practical techniques for loading CSV data into PHP arrays, covering the classic fgetcsv() approach, associative mapping with headers, using file() and str_getcsv(), handling custom delimiters, skipping empty lines, streaming large files, and a reusable csvToArray function.

ArrayBackend DevelopmentCSV
0 likes · 8 min read
Master Reading CSV Files into PHP Arrays: 6 Proven Methods
Architect's Tech Stack
Architect's Tech Stack
Sep 29, 2025 · Backend Development

Unlock Java Productivity: How Hutool Simplifies Common Tasks

This article introduces the open‑source Java utility library Hutool, showcasing how its concise APIs for date handling, file I/O, HTTP requests, encryption, and general utilities can dramatically reduce boiler‑plate code and boost developer efficiency.

HTTPJavaUtility Library
0 likes · 8 min read
Unlock Java Productivity: How Hutool Simplifies Common Tasks
IT Services Circle
IT Services Circle
Aug 28, 2025 · Fundamentals

How mmap Lets You Treat Disk Files Like Memory – Benefits and Pitfalls

mmap maps a file directly into a process’s address space, allowing programmers to read and write disk data as if it were memory, eliminating extra system calls and copies, while introducing complexities like page faults, address‑space limits, and performance trade‑offs that must be evaluated per workload.

Virtual Memoryfile I/Omemory mapping
0 likes · 11 min read
How mmap Lets You Treat Disk Files Like Memory – Benefits and Pitfalls
php Courses
php Courses
Aug 19, 2025 · Backend Development

Mastering PHP’s fseek(): How to Move File Pointers Efficiently

This article explains PHP’s fseek() function, detailing its syntax, parameters, and usage examples for positioning file pointers, reading, writing, and appending data, and demonstrates practical code snippets that illustrate flexible file manipulation techniques.

Backend DevelopmentPHPfile I/O
0 likes · 4 min read
Mastering PHP’s fseek(): How to Move File Pointers Efficiently
Lin is Dream
Lin is Dream
Jul 30, 2025 · Backend Development

Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps

This article explains the fundamentals of Java NIO, showing how to use Channels and ByteBuffer to efficiently read, write, and manipulate large files, including memory‑mapped files and RandomAccessFile alternatives, with clear code examples and step‑by‑step guidance.

ByteBufferFileChannelJava
0 likes · 18 min read
Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps
Deepin Linux
Deepin Linux
Jul 7, 2025 · Fundamentals

What Happens to mmap-Mapped Files When a Program Crashes? A Deep Dive into Linux Memory Mapping

This article explains the fundamentals of the mmap system call, its internal working mechanism, zero‑copy I/O model, advantages, typical use cases, and detailed usage guidelines—including function prototypes, parameter meanings, mapping steps, and sample code—while also exploring how mmap‑mapped files behave during program crashes.

LinuxSystem Programmingfile I/O
0 likes · 29 min read
What Happens to mmap-Mapped Files When a Program Crashes? A Deep Dive into Linux Memory Mapping
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Read Excel Files in Java with Free Spire.XLS – Step-by-Step Guide

This tutorial explains how to automate Excel data extraction in Java using the free Free Spire.XLS library, covering installation, core classes and methods, and detailed code examples for reading a single cell, a cell range, and an entire worksheet, enabling efficient batch processing and integration with other systems.

ExcelJavaSpire.XLS
0 likes · 7 min read
How to Read Excel Files in Java with Free Spire.XLS – Step-by-Step Guide
Raymond Ops
Raymond Ops
Apr 27, 2025 · Fundamentals

9 Powerful Python Techniques to Copy Files Efficiently

Learn nine distinct Python approaches for copying files—including shutil functions, os commands, threading, and subprocess methods—while understanding their performance implications, error handling, platform compatibility, and when to choose each technique for optimal I/O efficiency.

copyfilefile I/Oshutil
0 likes · 12 min read
9 Powerful Python Techniques to Copy Files Efficiently
Python Programming Learning Circle
Python Programming Learning Circle
Apr 23, 2025 · Fundamentals

10 Classic Python Operations: Variables, Type Conversion, Strings, Lists, Loops, Conditionals, Functions, Exceptions, File I/O, and Modules

This article introduces ten essential Python techniques—including variable assignment and swapping, data type conversion, string manipulation, list handling, loop constructs, conditional statements, function definition, exception handling, file operations, and module imports—providing clear explanations and code examples to help beginners strengthen their programming foundation.

Control FlowData Typesfile I/O
0 likes · 10 min read
10 Classic Python Operations: Variables, Type Conversion, Strings, Lists, Loops, Conditionals, Functions, Exceptions, File I/O, and Modules
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 23, 2025 · Backend Development

Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques

This article explains how to handle massive HDFS‑derived text and CSV files in Node.js by analyzing memory and CPU bottlenecks, comparing client‑side upload strategies, and presenting synchronous, callback, promise, streaming, and multithreaded worker‑thread solutions with complete code examples.

Node.jsStreamsfile I/O
0 likes · 13 min read
Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques
Liangxu Linux
Liangxu Linux
Apr 21, 2025 · Fundamentals

Why Files Open Instantly After First Load: Inside Linux PageCache

PageCache, a kernel-managed memory cache, bridges the speed gap between slow storage and fast RAM, enabling rapid subsequent file accesses, accelerating copy‑paste operations, and optimizing read/write performance; this article explains its principles, mechanisms, and demonstrates its impact with Linux experiments.

PageCachefile I/O
0 likes · 8 min read
Why Files Open Instantly After First Load: Inside Linux PageCache
php Courses
php Courses
Apr 9, 2025 · Fundamentals

Comprehensive Guide to File Operations in Python

This article provides a thorough introduction to Python file operations, covering opening modes, reading and writing techniques, context managers, advanced handling like binary files and CSV processing, best practices, and practical exercises to master file I/O.

Pythonfile I/Oprogramming
0 likes · 8 min read
Comprehensive Guide to File Operations in Python
Java Tech Enthusiast
Java Tech Enthusiast
Mar 26, 2025 · Fundamentals

Understanding PageCache: The Secret Behind Faster File Access

PageCache is an operating‑system mechanism that uses physical memory to cache disk blocks, dynamically resizing with available RAM and employing LRU replacement and read‑ahead, turning slow storage accesses into fast memory reads, yielding up to twenty‑fold speed gains for tasks such as compilation, video editing, and database operations.

LinuxMemory ManagementPageCache
0 likes · 6 min read
Understanding PageCache: The Secret Behind Faster File Access
Lobster Programming
Lobster Programming
Mar 24, 2025 · Backend Development

Boost Java File Copy Performance: 5 Proven Methods Compared

Learn five Java file copy techniques—from basic streams to NIO Files.copy, FileChannel, and RandomAccessFile—detailing their implementations, performance differences, and ideal use cases for small, large, and massive files, helping you choose the most efficient method for your project.

BufferedStreamFileChannelJava
0 likes · 6 min read
Boost Java File Copy Performance: 5 Proven Methods Compared
Test Development Learning Exchange
Test Development Learning Exchange
Mar 5, 2025 · Fundamentals

Comprehensive Guide to File Operations in Python

This article provides a thorough introduction to Python file operations, covering basic concepts, opening and closing files, reading and writing techniques, advanced methods like binary handling and file pointer control, and includes practical code examples and best‑practice recommendations.

Code ExamplesPythonTutorial
0 likes · 8 min read
Comprehensive Guide to File Operations in Python
php Courses
php Courses
Mar 4, 2025 · Backend Development

Advanced PHP File and Directory Operations

This article provides a comprehensive guide to advanced PHP file and directory handling, covering reading and writing files, retrieving file metadata, manipulating file pointers, traversing and managing directories, handling uploads, error handling, and best practices with clear code examples.

BackendPHPfile I/O
0 likes · 6 min read
Advanced PHP File and Directory Operations
Python Programming Learning Circle
Python Programming Learning Circle
Feb 28, 2025 · Fundamentals

Techniques for Efficient Large File Processing in Python

Processing large files efficiently in Python requires techniques such as line-by-line iteration, chunked reads, generators, buffered I/O, and streaming, which help avoid memory errors, improve speed, and optimize resources for tasks like log analysis, data scraping, and real-time API handling.

Streamingfile I/Olarge files
0 likes · 5 min read
Techniques for Efficient Large File Processing in Python
Open Source Linux
Open Source Linux
Jan 2, 2025 · Backend Development

Unlock Fast C Utilities: Struct Sizes, CPU Temp, File Size, IP & More

This article presents a collection of handy C code snippets that demonstrate how to quickly obtain struct member sizes and offsets, read CPU temperature, determine file sizes, fetch system timestamps, retrieve MAC and IP addresses, perform file I/O, display progress bars, format log output, and enable core dump generation, each accompanied by sample usage and expected results.

CCPU temperatureSystem Programming
0 likes · 15 min read
Unlock Fast C Utilities: Struct Sizes, CPU Temp, File Size, IP & More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 31, 2024 · Backend Development

Master CSV Processing in Spring Boot 3 with Super CSV – Full Code Guide

This article provides a comprehensive tutorial on using the Super CSV library in Spring Boot 3, covering Maven dependencies, core APIs for reading and writing CSV files, cell processors, handling irregular data, and a complete Spring MVC controller example for CSV download, all illustrated with code snippets and screenshots.

CSVSpring BootSpring MVC
0 likes · 14 min read
Master CSV Processing in Spring Boot 3 with Super CSV – Full Code Guide
Test Development Learning Exchange
Test Development Learning Exchange
Nov 29, 2024 · Fundamentals

Python File Handling: Common Text Processing Scripts

This article presents a comprehensive collection of Python file handling examples, covering basic reading and writing, appending, line extraction, file copying, moving, deletion, directory management, and advanced text processing techniques such as searching, replacing, and statistical analysis, all illustrated with clear code snippets.

File OperationsPythonfile I/O
0 likes · 17 min read
Python File Handling: Common Text Processing Scripts
Top Architect
Top Architect
Nov 5, 2024 · Backend Development

Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils

This article introduces a comprehensive set of Spring Boot utility classes—including assertion helpers, object and string utilities, collection operations, file and resource handling, reflection tools, and AOP utilities—providing code examples and usage guidelines for Java backend development.

Backend DevelopmentJavaReflection
0 likes · 16 min read
Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils
Test Development Learning Exchange
Test Development Learning Exchange
Nov 4, 2024 · Fundamentals

Python Practical Guide: File I/O, CSV, JSON, HTTP Requests, SQLite, Scheduling, Logging, Argument Parsing, Compression, Subprocess, DateTime, Email, Image Processing, NumPy, Pandas, Regex, System Info, Socket Programming, and AsyncIO

This comprehensive Python tutorial demonstrates essential techniques such as file reading and writing, CSV and JSON handling, HTTP requests, SQLite operations, task scheduling, logging, command‑line parsing, compression, subprocess management, date‑time handling, email sending, image manipulation, numerical computing, data analysis, regular expressions, system information retrieval, socket networking, and asynchronous programming.

NetworkingPythonTutorial
0 likes · 9 min read
Python Practical Guide: File I/O, CSV, JSON, HTTP Requests, SQLite, Scheduling, Logging, Argument Parsing, Compression, Subprocess, DateTime, Email, Image Processing, NumPy, Pandas, Regex, System Info, Socket Programming, and AsyncIO
Deepin Linux
Deepin Linux
Nov 1, 2024 · Fundamentals

Will Data Be Lost When a Process Crashes During File Write?

This article examines the conditions under which data may be lost when a Linux process crashes while writing a file, explaining page cache behavior, the roles of stdio versus system calls, dirty page handling, write‑back mechanisms, and strategies such as fflush, fsync, and direct I/O to ensure data integrity.

Linuxdata integrityfile I/O
0 likes · 22 min read
Will Data Be Lost When a Process Crashes During File Write?
Java Architect Essentials
Java Architect Essentials
Oct 31, 2024 · Backend Development

How to Read Excel, Word, PDF, and Text Files in Java

This article explains how to use Java libraries such as Apache POI, PDFBox, and EasyExcel to read Excel, DOC/DOCX, PDF, and plain text files, providing complete code examples, required Maven dependencies, and step‑by‑step usage instructions for each file type.

Apache POIJavaPDF
0 likes · 13 min read
How to Read Excel, Word, PDF, and Text Files in Java
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Master Python Basics: Error Handling, Files, OOP, and More

This guide walks through essential Python concepts—including try/except error handling, file reading and writing, class definitions with inheritance, variable scopes, common built‑in functions, docstrings, comments, and command‑line argument processing—providing clear code examples for each topic.

DocstringsError HandlingOOP
0 likes · 8 min read
Master Python Basics: Error Handling, Files, OOP, and More
Test Development Learning Exchange
Test Development Learning Exchange
Aug 9, 2024 · Fundamentals

Python JSON Handling: Encoding, Decoding, File I/O, Pretty‑Printing, Sorting, Custom Types and Non‑ASCII Support

This tutorial demonstrates how to encode Python objects to JSON strings, decode JSON back to Python, read and write JSON files, pretty‑print and sort JSON output, handle special types with custom encoders, preserve key order, manage non‑ASCII characters, and process binary JSON data using the built‑in json module.

JSONPretty PrintPython
0 likes · 6 min read
Python JSON Handling: Encoding, Decoding, File I/O, Pretty‑Printing, Sorting, Custom Types and Non‑ASCII Support
Python Programming Learning Circle
Python Programming Learning Circle
Aug 1, 2024 · Fundamentals

Comprehensive Guide to Python File Operations, CSV, JSON, and Pickle

This article provides a thorough overview of Python file handling, covering opening and closing files, absolute and relative paths, various file modes, reading and writing techniques, pointer manipulation, file copying, CSV I/O, in‑memory streams with StringIO/BytesIO, and serialization/deserialization using JSON and pickle modules.

PythonStringIOfile I/O
0 likes · 17 min read
Comprehensive Guide to Python File Operations, CSV, JSON, and Pickle
Ops Development & AI Practice
Ops Development & AI Practice
Jun 22, 2024 · Fundamentals

Master Linux I/O: From Basic File Ops to Advanced Networking

This article explores essential Linux I/O techniques, covering basic file operations with system calls like open, read, write, and close, advanced methods such as memory‑mapped files and asynchronous I/O, network programming with sockets and multiplexing, plus performance‑tuning strategies for efficient resource utilization.

I/OLinuxNetwork I/O
0 likes · 8 min read
Master Linux I/O: From Basic File Ops to Advanced Networking
php Courses
php Courses
Mar 22, 2024 · Backend Development

Using PHP fputs() to Write Data to Files

This article explains the PHP fputs() function, its syntax, parameters, return values, and provides a complete example showing how to open a file with fopen(), write a string, check the result, and close the handle with fclose() to ensure proper file I/O handling.

Backend DevelopmentPHPfclose
0 likes · 3 min read
Using PHP fputs() to Write Data to Files
php Courses
php Courses
Oct 8, 2023 · Backend Development

PHP file_put_contents() Function: Syntax, Parameters, and Usage Examples

This article explains the PHP file_put_contents() function, detailing its syntax, parameters (filename, data, mode, context), and provides multiple code examples demonstrating writing strings, appending data, handling arrays as JSON, and setting file permissions, along with usage tips.

Code ExamplesPHPfile I/O
0 likes · 5 min read
PHP file_put_contents() Function: Syntax, Parameters, and Usage Examples
Top Architect
Top Architect
Sep 22, 2023 · Backend Development

Understanding Java I/O: BIO, NIO, AIO, and Netty – A Comprehensive Guide

This article provides a comprehensive overview of Java I/O models—including blocking (BIO), non‑blocking (NIO), asynchronous (AIO)—explains their differences, demonstrates file and network programming with code examples, and introduces Netty as a high‑performance framework for building scalable server applications.

Java I/ONettyNetwork programming
0 likes · 32 min read
Understanding Java I/O: BIO, NIO, AIO, and Netty – A Comprehensive Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2023 · Fundamentals

Python Basic Types and Common Operations

This article provides a comprehensive overview of Python's fundamental data types—including int, float, str, list, dict, set, and tuple—and details common operations, methods, built‑in functions, and file handling techniques essential for mastering basic Python programming.

PythonString Methodsbasics
0 likes · 19 min read
Python Basic Types and Common Operations
JD Cloud Developers
JD Cloud Developers
Aug 10, 2023 · Backend Development

How to Prevent File Write Chaos in Rust with Tokio Mutex

This article demonstrates the problem of unordered file content when multiple Tokio tasks write concurrently in Rust, shows a sample program that exhibits the issue, and provides a solution using Tokio’s asynchronous Mutex to synchronize file access, ensuring ordered and complete writes.

RustTokiofile I/O
0 likes · 5 min read
How to Prevent File Write Chaos in Rust with Tokio Mutex
Test Development Learning Exchange
Test Development Learning Exchange
Jul 12, 2023 · Fundamentals

Python Code Snippets for Data Conversion, Date/Time Handling, File I/O, QR/Barcode Generation, List & JSON Comparison, and File Management

This article provides a collection of Python examples that demonstrate how to convert lists and strings to JSON, format dates and timestamps, read files, generate QR codes and barcodes, compare lists and JSON data, retrieve class methods via reflection, and automatically delete large files based on size and time.

Data ConversionPythonQR code
0 likes · 14 min read
Python Code Snippets for Data Conversion, Date/Time Handling, File I/O, QR/Barcode Generation, List & JSON Comparison, and File Management
Programmer DD
Programmer DD
May 17, 2023 · Backend Development

9 Proven Ways to Read Files from the Resources Folder in Spring Boot

Learn nine practical methods to access files in a Java project's resources directory—including getResource, getPath, getFile, getResourceAsStream, ClassPathResource, and absolute path techniques—complete with code examples and tips for handling Chinese characters and Spring Boot jar packaging.

ClassPathResourceJavaResources
0 likes · 9 min read
9 Proven Ways to Read Files from the Resources Folder in Spring Boot
Test Development Learning Exchange
Test Development Learning Exchange
May 13, 2023 · Fundamentals

Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management

This article presents a collection of Python code examples covering JSON serialization, date‑time formatting, file reading, QR‑code and barcode creation, list and JSON comparison, class method reflection, and automatic file‑size‑based cleanup, providing practical guidance for everyday scripting tasks.

Data ConversionPythonQR code
0 likes · 14 min read
Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management
Refining Core Development Skills
Refining Core Development Skills
Nov 13, 2022 · Fundamentals

Understanding JDK NIO File I/O and Linux Kernel Mechanisms: Buffered vs Direct IO, Page Cache, and Dirty Page Management

This article provides a comprehensive analysis of how JDK NIO performs file read and write operations by examining the underlying Linux kernel mechanisms, including the differences between Buffered and Direct IO, the structure and management of the page cache, file readahead algorithms, and the kernel parameters governing dirty page writeback.

Buffered IODirty Page WritebackJDK NIO
0 likes · 78 min read
Understanding JDK NIO File I/O and Linux Kernel Mechanisms: Buffered vs Direct IO, Page Cache, and Dirty Page Management
Programmer DD
Programmer DD
Aug 2, 2022 · Backend Development

9 Proven Ways to Read Files from the resources Folder in Spring Boot

This guide details nine practical techniques for accessing files in a Java project's resources folder, covering classloader paths, URL decoding, getFile vs getPath, InputStream retrieval, ClassPathResource usage, absolute paths, and environment variable methods, with complete code examples for each approach.

Backend DevelopmentJavaResources
0 likes · 10 min read
9 Proven Ways to Read Files from the resources Folder in Spring Boot
Liangxu Linux
Liangxu Linux
Jun 26, 2022 · Fundamentals

Master Linux Basic I/O: Files, Descriptors, System Calls and Libraries

This guide explains Linux file I/O fundamentals, covering file concepts, standard streams, system calls like open and dup2, file descriptor allocation, redirection, the FILE structure, inode layout, hard and soft links, and the creation and usage of static and dynamic libraries, all illustrated with code snippets and diagrams.

Dynamic LibraryLinuxfile I/O
0 likes · 22 min read
Master Linux Basic I/O: Files, Descriptors, System Calls and Libraries
Senior Brother's Insights
Senior Brother's Insights
May 29, 2022 · Backend Development

Three Java Ways to Dynamically Monitor File Changes: Polling, WatchService, and Commons‑IO

To handle dynamic file changes such as rule updates, configuration reloads, or log monitoring, this article compares three Java approaches—simple polling with File#lastModified, the OS‑integrated WatchService API, and the Apache Commons‑IO monitor—detailing their implementations, advantages, drawbacks, and practical usage tips.

BackendCommons-IOFile Monitoring
0 likes · 12 min read
Three Java Ways to Dynamically Monitor File Changes: Polling, WatchService, and Commons‑IO
Liangxu Linux
Liangxu Linux
Apr 7, 2022 · Fundamentals

Master Linux File I/O: Open, Read, Write, and Advanced Flags Explained

This tutorial walks through Linux file programming fundamentals, covering how to open, create, read, write, and manipulate file descriptors and cursor positions with system calls like open, creat, read, write, lseek, and close, and demonstrates practical examples such as implementing a cp command, editing configuration files, and using both low‑level and standard C library I/O functions.

C programmingPOSIXfile I/O
0 likes · 28 min read
Master Linux File I/O: Open, Read, Write, and Advanced Flags Explained
Sanyou's Java Diary
Sanyou's Java Diary
Apr 5, 2022 · Fundamentals

Master Java I/O: From Byte Streams to Object Serialization

This article provides a comprehensive guide to Java I/O, explaining the concepts of input and output streams, distinguishing byte and character streams, detailing node and processing streams, and offering practical code examples for file handling, buffering, conversion, and object serialization.

I/OStreamsfile I/O
0 likes · 22 min read
Master Java I/O: From Byte Streams to Object Serialization
Programmer DD
Programmer DD
Nov 9, 2021 · Backend Development

Explore Java 12: String Indent, Transform, File Mismatch, Teeing Collector

Java 12 introduces several practical enhancements—including String.indent for adjustable indentation, String.transform for functional string manipulation, Files.mismatch for byte-level file comparison, the new Collectors.teeing collector for combined stream reductions, and CompactNumberFormat for locale-aware compact number formatting—each illustrated with code examples.

JavaJava12Number Formatting
0 likes · 5 min read
Explore Java 12: String Indent, Transform, File Mismatch, Teeing Collector
Programmer DD
Programmer DD
Oct 18, 2021 · Backend Development

Master Excel Processing in Java with Alibaba EasyExcel: Setup, Read, and Export

This guide walks through integrating Alibaba's EasyExcel library into a Java project, covering Maven dependencies, environment setup, reading Excel files with less or more than 1000 rows (including custom sheet and row offsets), and exporting data using simple lists, model mapping, and multiple sheets, all illustrated with complete code examples.

Data ExportExcelJava
0 likes · 17 min read
Master Excel Processing in Java with Alibaba EasyExcel: Setup, Read, and Export
Programmer DD
Programmer DD
Oct 7, 2021 · Fundamentals

Unlock Java 11: Powerful New String APIs, Collections, and More

This article walks through Java 11’s most useful enhancements—including new String methods, simplified collection‑to‑array conversion, predicate negation, var in lambda parameters, streamlined file I/O, nested class access rules, and HTTP/2 support—providing concise code examples for each feature.

CollectionsHttpClientJava 11
0 likes · 8 min read
Unlock Java 11: Powerful New String APIs, Collections, and More
Top Architect
Top Architect
Sep 23, 2021 · Backend Development

Using Alibaba EasyExcel for Reading and Writing Excel Files in Java

This article provides a comprehensive guide on integrating Alibaba's EasyExcel library in Java projects, covering environment setup, reading Excel files with less or more than 1000 rows, exporting data with and without model mapping, handling multiple sheets, and includes full code examples for each operation.

ExcelJavaSpring Boot
0 likes · 14 min read
Using Alibaba EasyExcel for Reading and Writing Excel Files in Java
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 20, 2021 · Fundamentals

Master Python’s Pickle: Serialize Objects Easily with Real Code Examples

This article introduces Python’s pickle module, explains its purpose for object persistence, details key functions like dump, dumps, load, and loads with code snippets and example outputs, and demonstrates practical usage scenarios and common pitfalls, helping readers efficiently serialize and deserialize data in Python.

Data PersistencePicklefile I/O
0 likes · 6 min read
Master Python’s Pickle: Serialize Objects Easily with Real Code Examples
php Courses
php Courses
May 26, 2021 · Backend Development

PHP Interview Questions: Array Merging, Integer Validation, Unicode Case Conversion, File Writability, Permission Handling, Upload Validation, and URL Encoding Differences

This article presents a series of PHP interview questions covering array merging methods, integer validation, Unicode‑compatible case conversion, reliable file‑writability checks, permission‑setting functions, secure image upload verification, and differences between PHP and JavaScript URL encoding, each accompanied by code examples.

ArraySecurityfile I/O
0 likes · 8 min read
PHP Interview Questions: Array Merging, Integer Validation, Unicode Case Conversion, File Writability, Permission Handling, Upload Validation, and URL Encoding Differences
php Courses
php Courses
Jan 26, 2021 · Backend Development

Reading and Writing CSV Files in PHP

This article provides PHP code examples for reading data from a CSV file and writing data to a new CSV file, including handling of locale settings, skipping headers, constructing headers, and appending rows using built‑in functions such as fgetcsv, fopen, and fwrite.

BackendCSVPHP
0 likes · 2 min read
Reading and Writing CSV Files in PHP
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 27, 2020 · Fundamentals

Six Ways to Write Files in Java: Streams, Buffers, and Performance Comparison

This article introduces six Java file-writing techniques—including FileWriter, BufferedWriter, PrintWriter, FileOutputStream, BufferedOutputStream, and Files—explains their underlying stream concepts, provides code examples, and benchmarks their performance to guide developers in choosing the most efficient method for text or binary data.

BufferedWriterFileWriterJava
0 likes · 16 min read
Six Ways to Write Files in Java: Streams, Buffers, and Performance Comparison
Python Programming Learning Circle
Python Programming Learning Circle
Nov 14, 2020 · Fundamentals

Python Basics: Hello World, Data Types, Control Flow, and File I/O

This tutorial introduces Python fundamentals by demonstrating a Hello World program, explaining comments, covering numeric, string, tuple, list, set, and dictionary data types, and illustrating control flow constructs, loops, functions, command‑line arguments, and basic file read/write operations with clear code examples.

Control FlowPythonfile I/O
0 likes · 11 min read
Python Basics: Hello World, Data Types, Control Flow, and File I/O
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2020 · Fundamentals

Master Python File I/O: From Basics to Advanced Serialization

This guide walks through Python file operations—including opening, closing, reading, writing, path handling, file copying, CSV handling, in‑memory streams, sys.stdin/stdout/stderr redirection, and JSON vs. pickle serialization—providing code examples and practical tips for each topic.

BytesIOCSVPython
0 likes · 19 min read
Master Python File I/O: From Basics to Advanced Serialization
Laravel Tech Community
Laravel Tech Community
Sep 1, 2020 · Backend Development

Using PHP fputcsv() to Write CSV Files

This article explains how the PHP fputcsv() function formats an array as a CSV line and writes it to a file, detailing its parameters, return value, and providing a complete example with code and the resulting CSV output.

CSVPHPfile I/O
0 likes · 2 min read
Using PHP fputcsv() to Write CSV Files
Programmer DD
Programmer DD
Mar 8, 2020 · Backend Development

Mastering Java NIO File Locks: Exclusive & Shared Lock Techniques

This tutorial explains how to use Java NIO's FileChannel to acquire exclusive and shared file locks, covering lock types, required channel modes, code examples for FileOutputStream, RandomAccessFile, and FileInputStream, and discusses platform-specific considerations and common exceptions.

Backend DevelopmentFile LockJava
0 likes · 10 min read
Mastering Java NIO File Locks: Exclusive & Shared Lock Techniques
Programmer DD
Programmer DD
Feb 26, 2020 · Backend Development

Mastering Java File Paths: Relative, Absolute & Canonical Methods

This article explains Java file path concepts—including relative, absolute, and shortcut notations—and demonstrates how to read files using java.io.File with getPath, getAbsolutePath, and getCanonicalPath methods, complete with code examples.

Absolute PathCanonical PathFile Path
0 likes · 6 min read
Mastering Java File Paths: Relative, Absolute & Canonical Methods
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 16, 2020 · Fundamentals

Master Python File & Excel Automation: Walk Directories, Merge Sheets, and Manage Data

This guide walks through using Python's os and pathlib modules to traverse directories, demonstrates how to combine file paths, shows practical examples of merging multiple Excel workbooks and sheets with pandas, xlrd, and xlsxwriter, and explains splitting a workbook by column values, providing complete code snippets and results.

ExcelPythonfile I/O
0 likes · 14 min read
Master Python File & Excel Automation: Walk Directories, Merge Sheets, and Manage Data
FunTester
FunTester
Aug 4, 2019 · Backend Development

Java Method to Read Excel Files and Convert Data to List of Maps

This article presents a Java utility that reads Excel files (both .xls and .xlsx) using Apache POI, extracts headers and numeric data into a nested List‑of‑Map structure, and includes error handling and type conversion details.

Apache POIExcelJava
0 likes · 6 min read
Java Method to Read Excel Files and Convert Data to List of Maps
FunTester
FunTester
Aug 4, 2019 · Fundamentals

Java Method for Writing Data to XLSX Files Using Apache POI

This article presents a Java method that uses Apache POI to write data into XLSX files, detailing the implementation steps, code example, and practical considerations for generating test reports with Excel in automated testing environments.

Apache POIExcelJava
0 likes · 3 min read
Java Method for Writing Data to XLSX Files Using Apache POI
Java Captain
Java Captain
Jul 6, 2019 · Fundamentals

Understanding Java IO: BIO, NIO, and AIO with Code Examples

This article explains Java's Input/Output mechanisms, detailing the differences between Blocking IO (BIO), Non‑blocking IO (NIO), and Asynchronous IO (AIO), their synchronization models, suitable scenarios, and provides practical code samples for reading and writing files using each approach.

AIOAsynchronousBIO
0 likes · 10 min read
Understanding Java IO: BIO, NIO, and AIO with Code Examples
Liangxu Linux
Liangxu Linux
Jun 5, 2018 · Backend Development

How to Implement File-Based String Replacement in C: A Step‑by‑Step Guide

This article walks through the design and implementation of a C program that reads a text file, replaces all occurrences of a target substring with a new string using low‑level pointer operations, and writes the modified content back to the file, complete with memory‑allocation calculations and code examples.

Cfile I/Opointer
0 likes · 6 min read
How to Implement File-Based String Replacement in C: A Step‑by‑Step Guide
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2017 · Fundamentals

12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O

This article presents a concise collection of twelve fundamental Python techniques—including regex substitution, directory walking, list sorting and deduplication, dictionary sorting, conversions between dict/list/string, time manipulation, getopt argument parsing, formatted printing, numeral base conversion, executing system commands, handling Ctrl+C/Ctrl+D signals, and file reading/writing—each illustrated with ready‑to‑run code snippets.

Argument ParsingData StructuresPython
0 likes · 14 min read
12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O
Java Captain
Java Captain
Nov 27, 2017 · Backend Development

Efficiently Reading Large Files in Java without Exhausting Memory

This tutorial demonstrates how to efficiently read large files in Java by avoiding loading all lines into memory, comparing in‑memory approaches with streaming techniques using Scanner and Apache Commons IO, and showing memory usage metrics for each method.

Apache Commons IOMemory Managementfile I/O
0 likes · 5 min read
Efficiently Reading Large Files in Java without Exhausting Memory
ITPUB
ITPUB
Sep 29, 2016 · Fundamentals

Mastering Linux File I/O: Layers, Calls, and Performance Tweaks

This article breaks down Linux file I/O from high‑level architecture to low‑level system calls, explains how data moves through application buffers, C library buffers, page cache and disk, and offers practical tips for improving throughput, consistency, and safety.

O_DIRECTfile I/Ofsync
0 likes · 12 min read
Mastering Linux File I/O: Layers, Calls, and Performance Tweaks
Qunar Tech Salon
Qunar Tech Salon
May 2, 2016 · Backend Development

Using JDK7 Standard Library for Flexible and Secure File Handling in Java

This article demonstrates how to leverage JDK7's standard library—Path, Paths, Files, and FileSystem—to perform flexible file operations, safe path concatenation, size‑checked reading, automatic resource management, directory traversal with FileVisitor, and security measures for preventing unsafe file access.

BackendJDK7Security
0 likes · 7 min read
Using JDK7 Standard Library for Flexible and Secure File Handling in Java