当前位置: 首页 > news >正文

给PDF添加书签的通解-姜萍同款《偏微分方程》改造手记

背景

网上找了一本姜萍同款的《偏微分方程》,埃文斯,英文版,可惜没有书签,洋洋七百多页,没有书签,怎么读?用福昕编辑器自然能手工一个个加上,可是劳神费力,非程序员所为。

实现

采用pdfbox即可完成,关键是要准备好目录文件。目录文件每行最后一个数字为页码。

package com.icool.command;import java.io.*;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;import org.apache.commons.lang3.StringUtils;
import org.apache.pdfbox.Loader;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PageMode;
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination;
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageFitWidthDestination;
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDDocumentOutline;
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem;import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import com.google.auto.service.AutoService;
import com.icool.core.Command;
import lombok.extern.slf4j.Slf4j;import static com.icool.command.CLI.MODIFY_CMD;/*** @Author: 西山口小老头* @Date: 2023/8/4 21:17*/class Bookmark {int pageNo;String title;public Bookmark(int pageNo, String title){this.pageNo = pageNo;this.title = title;}
}@AutoService(Command.class)
@Parameters(commandNames = {MODIFY_CMD},commandDescription = "fetch some articles from website."
)
@Slf4j
public class ModifyCommand implements Command{@Parameter(names = { "--pdfFile", "-i" })public String pdfFile;@Parameter(names = { "--output", "-o" })public String outputFile;@Parameter(names = { "--toc", "-t" })public String toc;public List<Bookmark> bookmarks;public ModifyCommand() {bookmarks = new ArrayList<>();}public void loadTOC() {try {BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(toc)));String line = null;int offset = 0;int pageNo = 0;String title = null;while ((line = br.readLine()) != null) {line = line.trim();log.debug(line);if (line.length() == 0) continue;String pattern = "";String[] fields = line.split(" ");String lastField = fields[fields.length - 1];if (line.startsWith("OFFSET")) {offset = Integer.parseInt(line.split(" ")[1]);} else {// 有的页码号在第一位,有的在最后一位if (StringUtils.isNumeric(lastField)) {pageNo = offset + Integer.parseInt(lastField);//title = line.substring(0, line.lastIndexOf(" ")).trim() + "............" + lastField;title = line.substring(0, line.lastIndexOf(" ")).trim();} else {pageNo = offset + Integer.parseInt(fields[0]);title = line.substring(line.indexOf(" ") + 1).trim();}bookmarks.add(new Bookmark(pageNo, title));}}} catch (Exception ex) {ex.printStackTrace();}}@Overridepublic void execute() throws CommandException {loadTOC();try(PDDocument document = Loader.loadPDF(new File(pdfFile))) {PDDocumentOutline documentOutline = document.getDocumentCatalog().getDocumentOutline();if (documentOutline == null) {documentOutline = new PDDocumentOutline();document.getDocumentCatalog().setDocumentOutline(documentOutline);}for (Bookmark bookmark: bookmarks) {PDPageDestination pageDestination = new PDPageFitWidthDestination();pageDestination.setPage(document.getPage(bookmark.pageNo));PDOutlineItem bm = new PDOutlineItem();bm.setDestination(pageDestination);bm.setTitle(bookmark.title);documentOutline.addLast(bm);}documentOutline.openNode();document.getDocumentCatalog().setPageMode(PageMode.USE_OUTLINES);document.save(new File(outputFile));}catch (IOException ex) {ex.printStackTrace();}}
}

配套的目录文件如下:

OFFSET 12
Preface to second edition 1
Preface to first edition 3
OFFSET 17
1. Introduction 1
1.1. Partial differential equations 1
1.2. Examples 3
1.2.1. Single partial differential equations 3
1.2.2. Systems of partial differential equations 6 
1.3. Strategies for studying PDE 6
1.3.1. Well-posed problems, classical solutions 7
1.3.2. Weak solutions and regularity 7
1.3.3. Typical difficulties 9 
1.4. Overview 9 
1.5. Problems 12 
1.6. References 13PART I: REPRESENTATION FORMULAS FOR SOLUTIONS 14
OFFSET 15
2. Four Important Linear PDE 17
2.1. Transport equation 18
2.1.1. Initial-value problem 18
2.1.2. Nonhomogeneous problem 19 
2.2. Laplace's equation 20
2.2.1. Fundamental solution 21 
2.2.2. Mean-value formulas 25
2.2.3. Properties of harmonic functions 26 
2.2.4. Green's function 33
2.2.5. Energy methods 41 
2.3. Heat equation 44
2.3.1. Fundamental solution 45 
2.3.2. Mean-value formula 51 
2.3.3. Properties of solutions 55 
2.3.4. Energy methods 62
2.4. Wave equation 65 
2.4.1. Solution by spherical means 67 
2.4.2. Nonhomogeneous problem 80 
2.4.3. Energy methods 82
2.5. Problems 84
2.6. References 90 
3. Nonlinear First-Order PDE 91
3.1. Complete integrals, envelopes 92 
3.1.1. Complete integrals 92 
3.1.2. New solutions from envelopes 94
3.2. Characteristics 96
3.2.1. Derivation of characteristic ODE 96
3.2.2. Examples 99
3.2.3. Boundary conditions 102 
3.2.4. Local solution 105
3.2.5. Applications 109 
3.3. Introduction to Hamilton-Jacobi equations 114 
3.3.1. Calculus of variations, Hamilton's ODE 115 
3.3.2. Legendre transform, Hopf-Lax formula 120
3.3.3. Weak solutions, uniqueness 128 
3.4. Introduction to conservation laws 135
3.4.1. Shocks, entropy condition 136 
3.4.2. Lax-Oleinik formula 143
3.4.3. Weak solutions, uniqueness 148
3.4.4. Riemann's problem 153
3.4.5. Long time behavior 156 
3.5. Problems 161
3.6. References 165
4. Other Ways to Represent Solutions 167 
4.1. Separation of variables 167
4.1.1. Examples 168
4.1.2. Application: Turing instability 172 
4.2. Similarity solutions 176
4.2.1. Plane and traveling waves, solitons 176
4.2.2. Similarity under scaling 185 
4.3. Transform methods 187
4.3.1. Fourier transform 187 
4.3.2. Radon transform 196 
4.3.3. Laplace transform 203
4.4. Converting nonlinear into linear PDE 206 
4.4.1. Cole-Hopf transformation 206 
4.4.2. Potential functions 208
4.4.3. Hodograph and Legendre transforms 209 
4.5. Asymptotics 211
4.5.1. Singular perturbations 211 
4.5.2. Laplace's method 216 
4.5.3. Geometric optics, stationary phase 218
4.5.4. Homogenization 229 
4.6. Power series 232
4.6.1. Noncharacteristic surfaces 232
4.6.2. Real analytic functions 237
4.6.3. Cauchy-Kovalevskaya Theorem 239 
4.7. Problems 244
4.8. References 249
OFFSET 13
PART II: THEORY FOR LINEAR PARTIAL DIFFERENTIAL EQUATIONS 253
OFFSET 14
5. Sobolev Spaces 253 
5.1. Holder spaces 254
5.2. Sobolev spaces 255 
5.2.1. Weak derivatives 255
5.2.2. Definition of Sobolev spaces 258
5.2.3. Elementary properties 261 
5.3. Approximation 264
5.3.1. Interior approximation by smooth functions . . . 264
5.3.2. Approximation by smooth functions 265
5.3.3. Global approximation by smooth functions .... 266 
5.4. Extensions 268 
5.5. Traces 271 
5.6. Sobolev inequalities 275
5.6.1. Gagliardo-Nirenberg-Sobolev inequality 276 
5.6.2. Morrey's inequality 280 
5.6.3. General Sobolev inequalities 284
5.7. Compactness 286 
5.8. Additional topics 289
5.8.1. Poincare's inequalities 289
5.8.2. Difference quotients 291
5.8.3. Differentiability a.e 295
5.8.4. Hardy's inequality 296 
5.8.5. Fourier transform methods 297
5.9. Other spaces of functions 299
5.9.1. The space Я"1 299
5.9.2. Spaces involving time 301 
5.10. Problems 305
5.11. References 309
OFFSET 13
6. Second-Order Elliptic Equations 311 
6.1. Definitions 311
6.1.1. Elliptic equations 311
6.1.2. Weak solutions 313 
6.2. Existence of weak solutions 315 
6.2.1. Lax-Milgram Theorem 315
6.2.2. Energy estimates 317 
6.2.3. Fredholm alternative 320
6.3. Regularity 326 
6.3.1. Interior regularity 327 
6.3.2. Boundary regularity 334
6.4. Maximum principles 344 
6.4.1. Weak maximum principle 344 
6.4.2. Strong maximum principle 347 
6.4.3. Harnack's inequality 351
6.5. Eigenvalues and eigenfunctions 354 
6.5.1. Eigenvalues of symmetric elliptic operators  354 
6.5.2. Eigenvalues of nonsymmetric elliptic operators  360
6.6. Problems 365
6.7. References 370 
7. Linear Evolution Equations 371 
7.1. Second-order parabolic equations 371
7.1.1. Definitions 372
7.1.2. Existence of weak solutions 375
7.1.3. Regularity 380
7.1.4. Maximum principles 389
7.2. Second-order hyperbolic equations 398 
7.2.1. Definitions 398
7.2.2. Existence of weak solutions 401 
7.2.3. Regularity 408 
7.2.4. Propagation of disturbances 414 
7.2.5. Equations in two variables 418
7.3. Hyperbolic systems of first-order equations 421 
7.3.1. Definitions 421
7.3.2. Symmetric hyperbolic systems 423
7.3.3. Systems with constant coefficients 429 
7.4. Semigroup theory 433
7.4.1. Definitions, elementary properties 434 
7.4.2. Generating contraction semigroups 439 
7.4.3. Applications 441
7.5. Problems 446 
7.6. References 449OFFSET 10PART III: THEORY FOR NONLINEAR PARTIAL DIFFERENTIAL EQUATIONS 453OFFSET 11
8. The Calculus of Variations 453 
8.1. Introduction 453 
8.1.1. Basic ideas 453
8.1.2. First variation, Euler-Lagrange equation 454 
8.1.3. Second variation 458
8.1.4. Systems 459 
8.2. Existence of minimizers 465
8.2.1. Coercivity, lower semicontinuity 465 
8.2.2. Convexity 467 
8.2.3. Weak solutions of Euler-Lagrange equation . . . 472 
8.2.4. Systems 475 
8.2.5. Local minimizers 480
8.3. Regularity 482 
8.3.1. Second derivative estimates 483
8.3.2. Remarks on higher regularity 486 
8.4. Constraints 488
8.4.1. Nonlinear eigenvalue problems 488 
8.4.2. Unilateral constraints, variational inequalities . 492 
8.4.3. Harmonic maps 495 
8.4.4. Incompressibility 497
8.5. Critical points 501 
8.5.1. Mountain Pass Theorem 501
8.5.2. Application to semilinear elliptic PDE 507
8.6. Invariance, Noether's Theorem 511
8.6.1. Invariant variational problems 512 
8.6.2. Noether's Theorem 513
8.7. Problems 520
8.8. References 525 9. Nonvariational Techniques 527 
9.1. Monotonicity methods 527
9.2. Fixed point methods 533 
9.2.1. Banach's Fixed Point Theorem 534
9.2.2. Schauder's, Schaefer's Fixed Point Theorems . . 538 
9.3. Method of subsolutions and supersolutions 543 
9.4. Nonexistence of solutions 547
9.4.1. Blow-up 547
9.4.2. Derrick-Pohozaev identity 551 
9.5. Geometric properties of solutions 554 
9.5.1. Star-shaped level sets 554
9.5.2. Radial symmetry 555 
9.6. Gradient flows 560
9.6.1. Convex functions on Hilbert spaces 560 
9.6.2. Subdifferentials and nonlinear semigroups .... 565 
9.6.3. Applications 571
9.7. Problems 573
9.8. References 577OFFSET 10
10. Hamilton—Jacobi Equations 579
10.1. Introduction, viscosity solutions 579 
10.1.1. Definitions 581
10.1.2. Consistency 583 
10.2. Uniqueness 586 
10.3. Control theory, dynamic programming 590
10.3.1. Introduction to optimal control theory 591 
10.3.2. Dynamic programming 592 
10.3.3. Hamilton-Jacobi-Bellman equation 594 
10.3.4. Hopf-Lax formula revisited 600
10.4. Problems 603
10.5. References 606OFFSET 9
11. Systems of Conservation Laws 609 
11.1. Introduction 609
11.1.1. Integral solutions 612
11.1.2. Traveling waves, hyperbolic systems 615 
11.2. Riemann's problem 621 
11.2.1. Simple waves 621 
11.2.2. Rarefaction waves 624
11.2.3. Shock waves, contact discontinuities 625
11.2.4. Local solution of Riemann's problem 632
11.3. Systems of two conservation laws 635 
11.3.1. Riemann invariants 635 
11.3.2. Nonexistence of smooth solutions 639
11.4. Entropy criteria 641 
11.4.1. Vanishing viscosity, traveling waves 642 
11.4.2. Entropy/entropy-flux pairs 646
11.4.3. Uniqueness for scalar conservation laws 649 
11.5. Problems 654 
11.6. References 657OFFSET 8
12. Nonlinear Wave Equations 659 
12.1. Introduction 659
12.1.1. Conservation of energy 660
12.1.2. Finite propagation speed 660 
12.2. Existence of solutions 663
12.2.1. Lipschitz nonlinearities 663 
12.2.2. Short time existence 666
12.3. Semilinear wave equations 670 
12.3.1. Sign conditions 670 
12.3.2. Three space dimensions 674 
12.3.3. Subcritical power nonlinearities 676
12.4. Critical power nonlinearity 679 
12.5. Nonexistence of solutions 686
12.5.1. Nonexistence for negative energy 687 
12.5.2. Nonexistence for small initial data 689
12.6. Problems 691 
12.7. References 696OFFSET 8
APPENDICES 697
Appendix A: Notation 697 
A.l. Notation for matrices 697
A.2. Geometric notation 698 
A.3. Notation for functions 699 
A.4. Vector-valued functions 703 
A.5. Notation for estimates 703
A.6. Some comments about notation 704Appendix B: Inequalities 705 
B.l. Convex functions 705
B.2. Useful inequalities 706Appendix C: Calculus 710 
C.l. Boundaries 710
C.2. Gauss-Green Theorem 711 
C.3. Polar coordinates, coarea formula 712 
C.4. Moving regions 713 
C.5. Convolution and smoothing 713 
C.6. Inverse Function Theorem 716 
C.7. Implicit Function Theorem 717 
C.8. Uniform convergence 718Appendix D: Functional Analysis 719 
D.l. Banach spaces 719 
D.2. Hilbert spaces 720 
D.3. Bounded linear operators 721 
D.4. Weak convergence 723 
D.5. Compact operators, Fredholm theory 724 
D.6. Symmetric operators 728Appendix E: Measure Theory 729 
E.l. Lebesgue measure 729 
E.2. Measurable functions and integration 730 
E.3. Convergence theorems for integrals 731 
E.4. Differentiation 732
E.5. Banach space-valued functions 733

此TOC文件可以从网上获得,也可以直接从PDF文件拷出来,当然不能是扫描版。主要工作是不断校对OFFSET值。

相关文章:

给PDF添加书签的通解-姜萍同款《偏微分方程》改造手记

背景 网上找了一本姜萍同款的《偏微分方程》&#xff0c;埃文斯&#xff0c;英文版&#xff0c;可惜没有书签&#xff0c;洋洋七百多页&#xff0c;没有书签&#xff0c;怎么读&#xff1f;用福昕编辑器自然能手工一个个加上&#xff0c;可是劳神费力&#xff0c;非程序员所为…...

在寻找电子名片在线制作免费生成?5个软件帮助你快速制作电子名片

在寻找电子名片在线制作免费生成&#xff1f;5个软件帮助你快速制作电子名片 当你需要快速制作电子名片时&#xff0c;有几款免费在线工具可以帮助你实现这个目标。这些工具提供了丰富的设计模板和元素&#xff0c;让你可以轻松地创建个性化、专业水平的电子名片。 1.一键logo…...

Github 2024-06-16 php开源项目日报 Top10

根据Github Trendings的统计,今日(2024-06-16统计)共有10个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量PHP项目10Livewire: Laravel中构建动态UI组件的全栈框架 创建周期:1818 天开发语言:PHP协议类型:MIT LicenseStar数量:21388 个Fork数量:1…...

docker将容器打包提交为镜像,再打包成tar包

将容器打包成镜像可以通过以下步骤来实现。这里以 Docker 为例&#xff0c;假设你已经安装了 Docker 并且有一个正在运行的容器。 1. 找到正在运行的容器 首先&#xff0c;你需要找到你想要打包成镜像的容器的 ID 或者名字。可以使用以下命令查看所有正在运行的容器&#xff…...

洛阳水利乙级资质企业在水利科技创新中的作用

洛阳水利乙级资质企业在水利科技创新中扮演着重要的角色&#xff0c;其贡献主要体现在以下几个方面&#xff1a; 一、技术引进与研发 引进先进技术&#xff1a;洛阳水利乙级资质企业积极引进国内外先进的水利工程技术和管理经验&#xff0c;结合本地实际情况&#xff0c;形成独…...

Redis-事务-基本操作-在执行阶段出错不会回滚

文章目录 1、Redis事务控制命令2、Redis事务错误处理3、Redis事务错误处理&#xff0c;在执行阶段出错不会回滚 1、Redis事务控制命令 127.0.0.1:6379> keys * (empty array) 127.0.0.1:6379> multi OK 127.0.0.1:6379(TX)> set a1 v1 QUEUED 127.0.0.1:6379(TX)>…...

aws的alb,多个域名绑定多个网站实践

例如首次创建的alb负载均衡只有www.xxx.com 需要添加 负载 test2.xxx.com aws的Route 53产品解析到负载均衡 www.xxx.com 添加CNAME&#xff0c;到负载均衡的dns字段axx test2.xxx.com 添加CNAME&#xff0c;到负载均衡的dns字段axx 主要介绍目标组和规则 创建alb就不介…...

WPF/C#:数据绑定到方法

在WPF Samples中有一个关于数据绑定到方法的Demo&#xff0c;该Demo结构如下&#xff1a; 运行效果如下所示&#xff1a; 来看看是如何实现的。 先来看下MainWindow.xaml中的内容&#xff1a; <Window.Resources><ObjectDataProvider ObjectType"{x:Type local…...

GBDT算法详解

GBDT算法详解 梯度提升决策树&#xff08;Gradient Boosting Decision Trees&#xff0c;GBDT&#xff09;是机器学习中一种强大的集成算法。它通过构建一系列的决策树&#xff0c;并逐步优化模型的预测能力&#xff0c;在各种回归和分类任务中取得了显著的效果。本文将详细介…...

51单片机宏定义的例子

代码 demo.c #include "hardware.h"void delay() {volatile unsigned int n;for(n 0; n < 50000; n); }int main(void) {IO_init();while(1){PINSET(LED);delay();PINCLR(LED);delay();}return 0; }cfg.h #ifndef _CFG_H_ #define _CFG_H_// #define F_CPU …...

香港云服务器怎么处理高并发和突发流量?

处理香港云服务器的高并发和突发流量需要综合考虑多种因素&#xff0c;包括服务器配置优化、负载均衡、缓存策略、CDN加速以及监控和自动化调整等措施。以下是处理高并发和突发流量的一些关键步骤和建议&#xff1a; 1. 优化服务器配置 选择高性能实例&#xff1a;根据预期的并…...

c,c++,qt从入门到地狱

前言 1 你所能用的正与你手写的效率相同2 你不需要为你没有用到的特性付出 (无脑的调用函数or公式的空壳人类请出门右转)c 001 scanf and strcpy "_s"bug? 微软官方说明1 Visual Studio 库中的许多函数、成员函数、函数模板和全局变量已弃用,改用微软新增的强化函数…...

iptables(6)扩展匹配条件--tcp-flags、icmp

简介 前面我们已经介绍了不少的扩展模块,例如multiport、iprange、string、time、connlimit模块,但是在tcp扩展模块中只介绍了tcp扩展模块中的”--sport”与--dport”选项,并没有介绍”--tcp-flags”选项,那么这篇文章,我们就来认识一下tcp扩展模块中的”--tcp-flags”和i…...

C#-Json文件的读写

文章速览 命名空间读取Json核心代码示例 写入Json核心代码示例 坚持记录实属不易&#xff0c;希望友善多金的码友能够随手点一个赞。 共同创建氛围更加良好的开发者社区&#xff01; 谢谢~ 命名空间 using Newtonsoft.Json;读取Json 核心代码 //核心代码using (StreamReader…...

【2023级研究生《人工智能》课程考试说明】

一&#xff0e;试题范围 考试题共包括4道大题&#xff1a; 第一大题&#xff1a;分类和回归----&#xff08;8选1&#xff09; 第二大题&#xff1a;降维和聚类----&#xff08;7选1&#xff09; 第三大题&#xff1a;API调用&#xff08;课程中学习过的所有云平台&#xff09…...

C语言队列操作及其安全问题

在C语言中&#xff0c;队列是一种常用的数据结构&#xff0c;特别适用于嵌入式开发中的任务调度、缓冲区管理等场景。下面是一个简单的循环队列的模板代码&#xff0c;它使用数组来实现队列&#xff0c;并提供了基本的入队&#xff08;enqueue&#xff09;和出队&#xff08;de…...

next.js v14 升级全步骤|迁移 pages Router 到 App Router

【概括】本文升级整体按照官网文档指引进行&#xff0c;在迁移 pages Router 前先看了官网的实操视频。 【注意】文章内对 .babel.ts、next.config.js 进行了多次更改&#xff0c;最终配置可见 报错3: Server Error ReferenceError: React is not defined 一、升级 Next.js 版…...

如何在Ubuntu上安装WordPress

如何在Ubuntu上安装WordPress 执行系统更新 apt update && apt upgrade第一步 安装 Apache apt install apache2确认 Apache 安装是否成功. systemctl status apache2安装成功后 打开浏览器输入 http://server-ip-address 第二步 安装 MySQL apt install mariad…...

处理导入Excel文件过大导致Zip bomb detected的问题

处理导入Excel文件过大导致Zip bomb detected的问题 处理导入Excel文件过大导致Zip bomb detected的问题解决方案完整示例代码处理内存溢出问题优化处理大文件的策略 处理导入Excel文件过大导致Zip bomb detected的问题 在Java应用中导入Excel文件时&#xff0c;可能会遇到文件…...

【FFmpeg】AVIOContext结构体

【FFmpeg】AVIOContext结构体 1.AVIOContext结构体的定义 参考&#xff1a; FFMPEG结构体分析&#xff1a;AVIOContext 示例工程&#xff1a; 【FFmpeg】调用ffmpeg库实现264软编 【FFmpeg】调用ffmpeg库实现264软解 【FFmpeg】调用ffmpeg库进行RTMP推流和拉流 【FFmpeg】调用…...

Python控制结构

文章目录 控制结构1. 条件语句1.1 if语句1.2 elif语句1.3 else 语句 2. 循环语句2.1 for循环2.2 while循环 控制循环的语句3.1 break语句3.2 continue语句3.3 else语句与循环配合 控制结构 Python中的控制结构是指管理代码执行流程的语句和机制&#xff0c;包括条件语句、循环…...

OpenCV--图形轮廓

图形轮廓 图像轮廓查找轮廓绘制轮廓计算轮廓的面积和周长多边形逼近与凸包外接矩形 图像轮廓 import cv2 import numpy as np""" 图形轮廓--具有相同颜色或灰度的连续点的曲线 用于图形分析和物体的识别和检测 注意&#xff1a;为了检测的准确性&#xff0c;必…...

MYSQL通过EXPLAIN关键字来分析SQL查询的执行计划,判断是否命中了索引

在MySQL中&#xff0c;你可以通过EXPLAIN关键字来分析SQL查询的执行计划&#xff0c;从而判断是否命中了索引。 准备查询语句&#xff1a; 首先&#xff0c;你需要一个带有WHERE子句的SELECT查询&#xff0c;因为WHERE子句中的条件通常与索引相关联。例如&#xff1a; SELECT …...

clean code-代码整洁之道 阅读笔记(第十二章)

第十二章 系统 12.1 通过选进设计达到整洁目的 Kent Beck关于简单设计的四条规则&#xff0c;对于创建具有良好设计的软件有着莫大的帮助。 据Kent所述&#xff0c;只要遵循以下规则&#xff0c;设计就能变得"简单"&#xff1a;运行所有测试&#xff1b;不可重复&…...

FFmpeg YUV编码为H264

使用FFmpeg库把YUV420P文件编码为H264文件&#xff0c;FFmpeg版本为4.4.2-0。 需要yuv测试文件的&#xff0c;可以从我上传的MP4文件中用ffmpeg提取&#xff0c;命令如下&#xff1a; ffmpeg -i <input.mp4> -pix_fmt yuv420p <output.yuv> 代码如下&#xff1a;…...

【C语言】顺序表(上卷)

什么是数据结构&#xff1f; 数据结构是由“数据”和“结构”两词组合而来的。 数据需要管理。数据结构就是计算机存储、组织数据的方式。比如一个班级就是一个结构&#xff0c;管理的就是班级里的学生。如果我们要找三年2班的同学李华&#xff0c;就可以直接去三年2班找而不…...

Luma AI如何注册:文生视频领域的新星

文章目录 Luma AI如何注册&#xff1a;文生视频领域的新星一、Luma 注册方式二、Luma 的效果三、Luma 的优势四、Luma 的功能总结 Luma AI如何注册&#xff1a;文生视频领域的新星 近年来&#xff0c;Luma AI 凭借其在文生视频领域的创新技术&#xff0c;逐渐成为行业的新星。…...

一站式实时数仓Hologres整体能力介绍

讲师&#xff1a;阿里云Hologres PD丁烨 一、产品定位 随着技术的进步&#xff0c;大数据正从规模化转向实时化处理。用户对传统的T1分析已不满足&#xff0c;期望获得更高时效性的计算和分析能力。例如实时大屏&#xff0c;城市大脑的交通监控、风控和实时的个性化推荐&…...

如何在 Windows 上安装 Docker Desktop

如何在 Windows 上安装 Docker Desktop Docker 是一个开放平台&#xff0c;用于开发、部署和运行应用程序。Docker Desktop 是 Docker 在 Windows 和 macOS 上的官方客户端&#xff0c;它使得开发者能够轻松地在本地环境中构建、运行和共享容器化应用程序。本文将详细介绍如何…...

WPF由文本框输入的内容动态渲染下拉框

在做项目过程中&#xff0c;需要扫码枪扫描快递单号或者手动输入快递单号时&#xff0c;自动检索该单号是哪个快递公司的&#xff0c;下拉框中自动带出该单号的快递公司。当输入的快递单号不存在时&#xff0c;将数据库中所有快递公司都带出 效果&#xff1a; 通过输入的快递单…...

国内大宗商品交易平台/页面seo是什么意思

2019独角兽企业重金招聘Python工程师标准>>> 配置Nginx服务器端认证配置Nginx客户端认证配置wordpress后台使用证书免密码登录配置Nginx服务器端认证 首先申请一个证书&#xff08;不要玩自签的证书了&#xff0c;不解释&#xff09;&#xff0c;startcom或者wosign…...

网站百度权重没有数据/网络营销章节测试答案

64位系统是能安装32位的应用软件和程序的&#xff0c;出现问题&#xff0c;最大可能是没有安装 32位的依赖库&#xff0c;或者是安装的32位依赖库不对。 linux一般都是在/etc/dpkg/dpkg.cfg.d/路径下有相关的文件 该目录下multiarch文件就记录foreign-architecture 注意&…...

易进网站建设推广/重庆seo海洋qq

隨着Windows Mobile的没落&#xff0c;WINCE市场也很快萎缩&#xff0c;使得我这样的老牌WINCE程序员也日暮西山&#xff0c;几近无处解决一日三餐。好在天无绝人之路&#xff0c;终于有机会做Win8 Metro界面的开发。现将开过过程中遇到的问题、体会心得一并记录&#xff0c;以…...

北海做网站网站建设/品牌推广的意义

文章内容&#xff1a; 以前调试经常是用alert语句输出这个变量的值。 有了谷歌游览器&#xff0c;就可以这样做&#xff1a; 利用终端打印变量。 consloe 也可以在代码中加入&#xff1a;consloe.log(var) 在代码上添加 debugger来设置断点。 其他有助于js开发的用法&#xff1…...

广州网站建设优化公司哪家好/网络营销的公司有哪些

package test1; /*** 该例子演示生产者和消费者的问题&#xff08;设只有一个缓存空间、一个消费者和一个生产者&#xff09;* MySystem类定义了缓冲区个数以及信号量* author HYY*/ public class MySystem {// 缓存区的个数private int count 0;// s1 s2为信号量private MyIn…...

网站建设公司有哪些/seo比较好的公司

1. 引言 之前介绍的MCMC算法都具有一般性和通用性&#xff08;这里指Metropolis-Hasting 算法&#xff09;&#xff0c;但也存在一些特殊的依赖于仿真分布特征的MCMC方法。在介绍这一类算法&#xff08;指Gibbs sampling&#xff09;之前&#xff0c;本节将介绍一种特殊的MCMC算…...