Articles

cover of post: How to Convert a String to JSON in JavaScript, Python, and Java

How to Convert a String to JSON in JavaScript, Python, and Java

May 14, 2025

Convert strings to JSON safely using built-in or trusted libraries.

JaJames Reed#Engineering
cover of post: How to Compare JSON: A Practical Guide

How to Compare JSON: A Practical Guide

May 14, 2025

Efficiently compare JSON using tools, normalization, and automation.

GrGrace Collins#Engineering
cover of post: How to Read JSON in Python

How to Read JSON in Python

May 14, 2025

Read and handle JSON data in Python using the `json` module.

GrGrace Collins#Engineering
cover of post: Aspect-Oriented Programming (AOP) in Go

Aspect-Oriented Programming (AOP) in Go

May 14, 2025

Exploring AOP principles and how to implement them in Go using Gin middleware and function wrappers.

JaJames Reed#Engineering
cover of post: Sequelize vs TypeORM: Which JavaScript ORM Should You Choose?

Sequelize vs TypeORM: Which JavaScript ORM Should You Choose?

May 14, 2025

In summary, **Sequelize** is suitable for projects that pursue rapid development, flexible APIs, and extensive community support; **TypeORM** is more suitable for TypeScript projects and large applications that require strong type safety guarantees.

JaJames Reed#javascript
cover of post: Peewee: The Most Graceful ORM in Python History

Peewee: The Most Graceful ORM in Python History

May 12, 2025

Peewee is a powerful and lightweight Python ORM, which is very suitable for use on cloud service platforms like Leapcell. Through the introduction in this article, we have learned about the basic query operations and advanced query techniques of Peewee, and demonstrated it in combination with the actual scenarios of the Leapcell platform. Compared with SQLAlchemy, Peewee has obvious advantages in lightweight design, performance, flexibility, and API conciseness. Whether developing small applications or large-scale systems, Peewee can help developers perform database operations efficiently and is an ideal choice for Python developers.

DaDaniel Hayes#python
cover of post: Tortoise ORM: The Next-Gen Python ORM Everyone’s Talking About

Tortoise ORM: The Next-Gen Python ORM Everyone’s Talking About

May 11, 2025

Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) for Python, inspired by Django ORM. It borrows the design concept of Django ORM. It not only supports the processing of traditional tabular data but also can efficiently manage relational data. In terms of performance, it is not inferior to other Python ORMs.

DaDaniel Hayes#python
cover of post: Understanding `json.dumps()` in Python

Understanding `json.dumps()` in Python

May 11, 2025

Convert and customize JSON strings using Python's `json.dumps()` function.

JaJames Reed#Engineering
cover of post: Understanding JSON File Viewers: Tools for Efficient Data Visualization

Understanding JSON File Viewers: Tools for Efficient Data Visualization

May 11, 2025

JSON viewers help visualize, edit, and manage structured JSON data easily.

GrGrace Collins#Engineering
cover of post: Introduction to nlohmann/json: JSON for Modern C++

Introduction to nlohmann/json: JSON for Modern C++

May 11, 2025

Modern C++ library for simple and powerful JSON manipulation.

JaJames Reed#Engineering
cover of post: Higher-Order Functions in Go

Higher-Order Functions in Go

May 11, 2025

An introduction to higher-order functions with practical examples in Go.

DaDaniel Hayes#Engineering
cover of post: How to Convert JSON to TypeScript Interfaces

How to Convert JSON to TypeScript Interfaces

May 10, 2025

Convert JSON to TypeScript for type safety and validation.

DaDaniel Hayes#Engineering
cover of post: Understanding JSON: A Guide with Sample Examples

Understanding JSON: A Guide with Sample Examples

May 10, 2025

A practical introduction to JSON format with clear examples.

JaJames Reed#Engineering
cover of post: How to Escape Strings in JSON

How to Escape Strings in JSON

May 10, 2025

How to safely escape special characters in JSON strings.

DaDaniel Hayes#Engineering
cover of post: The Trap of nil in Go Interface

The Trap of nil in Go Interface

May 10, 2025

Explains why Go interface values with nil content may not equal nil.

GrGrace Collins#Engineering
cover of post: Next.js Guide: Server Actions and Stateless Session Management

Next.js Guide: Server Actions and Stateless Session Management

May 10, 2025

With the release of the widely popular App Router, Next.js has introduced an important new feature: Server Actions. Server Actions are designed to assist with server-side data operations. By reducing the dependence on client-side JavaScript, they gradually enhance form functionality. With this feature, developers can create powerful web applications using JavaScript and React without relying on traditional REST APIs.

DaDaniel Hayes#javascript
cover of post: Understanding JSON and JSON Schema

Understanding JSON and JSON Schema

May 09, 2025

JSON structures data; JSON Schema enforces and documents it.

JaJames Reed#Engineering
cover of post: How to Convert XML to JSON: A Practical Guide

How to Convert XML to JSON: A Practical Guide

May 09, 2025

Quick and flexible methods to convert XML into JSON.

DaDaniel Hayes#Engineering
cover of post: How to Convert YAML to JSON: A Practical Guide

How to Convert YAML to JSON: A Practical Guide

May 09, 2025

Convert YAML to JSON easily using code, tools, or web apps.

DaDaniel Hayes#Engineering
cover of post: Go 1.24's omitzero Tag Explained

Go 1.24's omitzero Tag Explained

May 09, 2025

Explains Go 1.24's omitzero tag and IsZero() method for refined Go JSON serialization.

JaJames Reed#Engineering
cover of post: Using PostgreSQL as a Search Engine? Yes, You Might Not Need Elasticsearch

Using PostgreSQL as a Search Engine? Yes, You Might Not Need Elasticsearch

May 09, 2025

The inverted index originates from search engine technology and can be regarded as the cornerstone of search engines. Thanks to the inverted index technology, search engines can efficiently perform operations such as database searching and deletion. Before elaborating on the inverted index, we will first introduce the relevant forward index and compare the two.

JaJames Reed#database
cover of post: How to Unescape JSON Strings in Python, JavaScript, and Java

How to Unescape JSON Strings in Python, JavaScript, and Java

May 08, 2025

Convert escaped JSON sequences to readable text using code or tools.

DaDaniel Hayes#Engineering
cover of post: How to Convert JSON to YAML: A Practical Guide

How to Convert JSON to YAML: A Practical Guide

May 08, 2025

Practical methods to convert JSON to YAML efficiently.

GrGrace Collins#Engineering
cover of post: How to Convert JSON to XML: A Comprehensive Guide

How to Convert JSON to XML: A Comprehensive Guide

May 08, 2025

Convert JSON to XML using tools or code, with proper structure handling.

DaDaniel Hayes#Engineering
cover of post: Why Use Underscore Fields in Go Structs

Why Use Underscore Fields in Go Structs

May 08, 2025

The purpose of underscore fields in Go struct design.

DaDaniel Hayes#Engineering
cover of post: Understanding Comments in JSON

Understanding Comments in JSON

May 08, 2025

JSON lacks native comment support; use workarounds or alternative formats.

GrGrace Collins#Engineering
cover of post: How to Convert a Python Dictionary to JSON

How to Convert a Python Dictionary to JSON

May 08, 2025

Convert Python dicts to JSON with `json` module functions.

JaJames Reed#Engineering
cover of post: How to Minify JSON: A Developer’s Guide

How to Minify JSON: A Developer’s Guide

May 08, 2025

Minify JSON to boost speed and efficiency in applications.

GrGrace Collins#Engineering
cover of post: How to Convert HTML Form Data to JSON Using JavaScript

How to Convert HTML Form Data to JSON Using JavaScript

May 08, 2025

Convert HTML form inputs to JSON using JavaScript easily and reliably.

JaJames Reed#Engineering
cover of post: How to Make a JSON File

How to Make a JSON File

May 08, 2025

A beginner-friendly guide to creating and saving JSON files.

GrGrace Collins#Engineering
cover of post: Understanding JSON Path Finder: A Developer's Guide

Understanding JSON Path Finder: A Developer's Guide

May 08, 2025

Tools to visually extract and evaluate JSON data paths.

DaDaniel Hayes#Engineering
cover of post: A Complete Guide to PostgreSQL’s 9 Index Types

A Complete Guide to PostgreSQL’s 9 Index Types

May 08, 2025

PostgreSQL provides a rich variety of index types. Each index type is based on specific data structures and principles, and is suitable for different application scenarios. The following will provide a detailed introduction to these nine main index types.

GrGrace Collins#database
cover of post: Why Use a VARCHAR Field Instead of TEXT in MySQL

Why Use a VARCHAR Field Instead of TEXT in MySQL

May 07, 2025

An in-depth look at how TEXT fields work and when to avoid them.

JaJames Reed#Engineering
cover of post: Best Practices for Python Code Style and Linting

Best Practices for Python Code Style and Linting

May 07, 2025

The Python code style guide is not set in stone. It evolves continuously with the development of the language. Some old conventions are gradually phased out, and new ones keep emerging. At the same time, many projects have their own coding style guides. When there are conflicts, the project-specific guides should be followed first. However, there is an important principle to keep in mind: "The stupid persistence in consistency is the monster of ignorance", which is a profound insight from Guido. Since code is often read more frequently than it is written, the core goal of the style guide is to improve code readability and keep all kinds of Python code consistent. As PEP20 says, "Readability counts".

JaJames Reed#python
cover of post: How Many Goroutines Can Go Run? A Deep Dive into Resource Limits

How Many Goroutines Can Go Run? A Deep Dive into Resource Limits

May 06, 2025

A guide to understanding and managing Goroutine resource consumption and safe concurrency in Go.

GrGrace Collins#Engineering
cover of post: Understanding JSON Arrays of Arrays

Understanding JSON Arrays of Arrays

May 05, 2025

A guide to using and handling JSON nested arrays effectively.

GrGrace Collins#Engineering
cover of post: How to Write JSON to a File in Python

How to Write JSON to a File in Python

May 05, 2025

Writing JSON to files in Python using `json.dump()`.

GrGrace Collins#Engineering
cover of post: How to Convert JSON to CSV: A Practical Guide

How to Convert JSON to CSV: A Practical Guide

May 05, 2025

Convert structured JSON to flat, tabular CSV for analysis.

GrGrace Collins#Engineering
cover of post: Why Python, Go and Rust Don’t Use the Ternary Operator

Why Python, Go and Rust Don’t Use the Ternary Operator

May 05, 2025

Exploring the design choices behind conditional expressions in modern languages.

DaDaniel Hayes#Engineering
cover of post: Why MVC, MVP, and MVVM Remain the Best Architectural Patterns

Why MVC, MVP, and MVVM Remain the Best Architectural Patterns

May 05, 2025

MVC stands for Model View Controller, which is an abbreviation for model-view-controller. It is a widely applied software design paradigm. Its core idea is to organize the code by separating the business logic, data, and interface display, and centralize the business logic in one component. In this way, when improving and customizing the interface and user interaction, there is no need to rewrite the business logic. MVC has uniquely developed to map the traditional input, processing, and output functions into a logical graphical user interface structure.

DaDaniel Hayes#programming
cover of post: How to Store JSON Data in Session Storage in Angular

How to Store JSON Data in Session Storage in Angular

May 04, 2025

Storing JSON in Angular session storage using services for better structure.

GrGrace Collins#Engineering
cover of post: How to Convert JSON to Excel Using Microsoft Excel's Power Query

How to Convert JSON to Excel Using Microsoft Excel's Power Query

May 04, 2025

Convert JSON files into Excel tables using Power Query tools.

JaJames Reed#Engineering
cover of post: Understanding JSON Arrays: A Practical Guide

Understanding JSON Arrays: A Practical Guide

May 04, 2025

JSON arrays store ordered, mixed-type data for structured information exchange.

GrGrace Collins#Engineering
cover of post: Why Modern Languages (Go, Rust) Prefer Composition Over Inheritance

Why Modern Languages (Go, Rust) Prefer Composition Over Inheritance

May 04, 2025

A deep dive into inheritance pitfalls and how composition solves them in languages like Go, Rust, and even Java.

JaJames Reed#Engineering
cover of post: Advanced Python Concurrency: Multithreading and AsyncIO

Advanced Python Concurrency: Multithreading and AsyncIO

May 04, 2025

This article has deeply explored multithreading programming and asynchronous programming in Python, covering the basic knowledge of the multithreading module (`threading`), code practice, as well as the basic concepts and usage of the asynchronous programming module (`asyncio`). We started from the basics of multithreading, such as the `Thread` class, lock mechanism, thread safety, etc., and gradually demonstrated the application scenarios and precautions of multithreading in practical applications. Through an example, the process of multithreaded image downloading was shown, emphasizing the importance of thread safety and exception handling.

GrGrace Collins#python
cover of post: Go's nil Is More Complicated Than You Think

Go's nil Is More Complicated Than You Think

May 03, 2025

In the practice of Go language programming, the use of `nil` is extremely common. For example, the default type is assigned as `nil`, the `error` return value often uses `return nil`, and multiple types use `if != nil` for judgment, etc. However, regarding the knowledge point of `nil`, developers need to have an in-depth understanding of its essence and related characteristics.

JaJames Reed#golang
cover of post: Python Advanced: A Journey with Abstract Base Classes

Python Advanced: A Journey with Abstract Base Classes

May 02, 2025

Today, we are going to explore Abstract Base Classes (ABCs) in Python. Although this concept has been around in Python for a long time, in daily development, especially in development scenarios related to LeapCell, many people may not use it frequently, or they may not use it in the most sophisticated way.

DaDaniel Hayes#python
cover of post: Boosting Python Performance with Rust: A Practical Guide

Boosting Python Performance with Rust: A Practical Guide

May 01, 2025

By using Rust to optimize Python code, computational performance can be significantly improved. Although Rust has a steeper learning curve, for projects that need to handle a large number of computational tasks, rewriting the key parts of the code in Rust can save a lot of time costs. You can gradually try to use Rust to optimize existing Python projects, starting with a simple functional function and gradually mastering its usage.

JaJames Reed#python