Sticky Posts

异音相从谓之和,同声相应谓之韵。- 刘勰《文心雕龙》 作者之用心未必然,而读者之用心何必不然。- 谭献《复堂词录序》 凡作诗之体,意是格,声是律,意高则格高,声辨则律清,格律全,然后始有调。- 空海《文镜秘府论・论文意》 词之为体,要眇宜修,能言诗之所不能言,而不能尽言诗之所能言。诗之境阔,词之言长。- 王国维《人间词话》 # 先秦 # 佚名 # 桃夭 12345桃夭桃之夭夭,灼灼其华。之子于归,宜其室家。桃之夭夭,有蕡其实。之子于归,宜其家室。桃之夭夭,其叶蓁蓁。之子于归,宜其家人。 #...

Categories

Post List

from:Introduction to Pydantic - BUGBYTES Pydantic is the most widely used data validation library for Python. main.py123456789101112131415161718192021222324252627282930from pydantic import ValidationErrorimport requestsfrom models import Student# print(# json.dumps(Student.model_json_schema(),...

from: Modern Web Apps in Pure Python - NeuralNine Modern web applications in pure Python. Built on solid web foundations, not the latest fads - with FastHTML you can get started on anything from simple dashboards to scalable web applications in...

# Create WPF Project Execute dotnet new wpf -o WPFTutorials or in WPFTutorials directory execute dotnet new wpf . Open the WPFTutorials using VSCode. There is a problem The name ‘InitializeComponent’ does not exist in the current context in MainWindow.xaml.cs. Becuase the MainWindow is a partial...

repost:Modern Node.js Patterns for 2025 Node.js has undergone a remarkable transformation since its early days. If you’ve been writing Node.js for several years, you’ve likely witnessed this evolution firsthand—from the callback-heavy, CommonJS-dominated landscape to today’s clean, standards-based...

repost: XML Serialization and Deserialization with Jackson # 1. Overview In this tutorial, we’ll learn how to serialize Java objects to XML data using Jackson 2.x, and deserialize them back to a POJO. We’ll focus on the basic operation that doesn’t require a lot of complexity or customization. # 2....

repost: Jackson Annotation Examples # 1. Overview In this tutorial, we’ll do a deep dive into Jackson Annotations. We’ll see how to use the existing annotations, how to create custom ones, and finally, how to disable them. # 2. Jackson Serialization Annotations First, we’ll take a look at the...

repost: Microsoft Word Processing in Java with Apache POI # 1. Overview Apache POI is a Java library for working with the various file formats based on the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). This tutorial focuses on the support of Apache POI for...

repost: Ports that are blocked by browsers - Keenformatics Today I was experimenting with a small project using Docker and Flask. I just created two identical services and exposed them on two different ports: nothing fancy. However, to my surprise, only one of the two seemed to be working. The...

repost: Custom Excel number format by [Svetlana Cheusheva](https://www.ablebits.com/office-addins-blog/author/svetlana-cheusheva/), updated on October 10, 2023 This tutorial explains the basics of the Excel number format and provides the detailed guidance to create custom formatting. You will learn...