欢迎访问yhm138的博客园博客, 你可以通过 [RSS] 的方式持续关注博客更新

MyAvatar

yhm138

HelloWorld!

摘要: 目录推荐些参考资料和工具Linux下安装MySQL常用命令一些高级特性视图事务主键外键存储过程宽表的优缺点有哪些数据库表设计的三范式游标索引B树索引哈希索引空间数据索引 R-Tree全文索引其他索引存储引擎InnoDBMyISAMMySQL内建的其他存储引擎第三方存储引擎MVCC 多版本并发控制My 阅读全文
posted @ 2021-10-16 06:15 yhm138 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 这里更关注方法论而不是具体怎么做 --> 2021-03-15 以后有时间会写一篇我理解中的信息素养教程 2021-03-16 update item 0~9 2023-05-17 update item 10~16 2023-05-21 update item 17 2024-02-14 upda 阅读全文
posted @ 2021-03-15 22:11 yhm138 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 长期更新 https://group.cnblogs.com/help/ 2021-02-21 讲个不容易发现的事情。博客园的“最新随笔”会包括发布在我的博客园首页的一些文章,把它们也统计进去了。另一方面,“随笔档案”里是不包括发布在我的博客园首页的一些文章的。阅读排行榜好像统计范围限定于“随笔”, 阅读全文
posted @ 2021-03-09 23:16 yhm138 阅读(124) 评论(1) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-03-09 22:18 yhm138 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 不定期更新 来自知乎,b站等 目录编辑器快捷键windows下的快捷键windows下浏览器内的快捷键微软输入法命令行选项-小技巧pycharm中visual studio中MALTAB中mac下的快捷键Tampermonkey编辑器网易云游戏窗口贴边mac下的浏览器中快捷键Mathematica常 阅读全文
posted @ 2020-12-18 15:24 yhm138 阅读(926) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-12-07 23:24 yhm138 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 目录ConstructionsCycleMultiset constructionPowerset constructionAdmissible unlabelled constructions OGFSymbolic method ,unlabelled case OGFOGF的Dictionar 阅读全文
posted @ 2020-09-17 10:08 yhm138 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址12345Mathematica求解优化问题CONOPT求解优化问题附录 绘制m个随机单位模复数的和(随机游走) 题目地址 https://app.gaokaozhitongche.com/news/h/E2Jbr6R2 1 从\(\{ 1,2,\cdots ,9 \}\)中选取三个不同 阅读全文
posted @ 2024-04-14 10:41 yhm138 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 部分代码非本人编写。 以下部分Zig代码可以在AttemptThisOnline运行。 目录推荐些阅读材料Zig语言简介在线执行Zig的平台debug-print函数返回类型allocator有哪些std.heap.page_allocatorstd.heap.FixedBufferAllocato 阅读全文
posted @ 2024-02-05 14:28 yhm138 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 素材主要来自我在RosettaCode上贡献的PARI/GP代码 目录推荐一些语法手册default(realprecision, 110)控制实数计算的有效位数default(parisize, "32M");增加PARI/GP申请的栈内存大小顺序结构、选择结构、循环结构for-loop中设置步长 阅读全文
posted @ 2024-01-20 20:07 yhm138 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/consecutive-transactions-with-increasing-amounts/ MySQL代码 # Write your MySQL query statement 阅读全文
posted @ 2024-01-13 16:55 yhm138 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/customers-with-strictly-increasing-purchases/description/ MySQL代码 # Write your MySQL query s 阅读全文
posted @ 2024-01-13 15:57 yhm138 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/merge-overlapping-events-in-the-same-hall/ MySQL代码 # Write your MySQL query statement below 阅读全文
posted @ 2024-01-13 15:16 yhm138 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/leetflex-banned-accounts/description/ MySQL代码 with t1 as( select account_id,ip_address, logi 阅读全文
posted @ 2024-01-13 13:00 yhm138 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址思路代码MySQL代码逐行翻译为Pandas代码等效Cypher查询(未验证) 题目地址 https://leetcode.cn/problems/strong-friendship/ 思路 就是在无向图中寻找这个pattern: (* Mathematica *) GraphData[ 阅读全文
posted @ 2024-01-13 10:11 yhm138 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址思路代码题目1MySQL代码等效pandas代码题目2MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/the-number-of-passengers-in-each-bus-i/description/ https://leetc 阅读全文
posted @ 2024-01-12 21:42 yhm138 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/hopper-company-queries-iii/description/ MySQL代码 -- CTE生成2020年每月的最后一天 WITH RECURSIVE months A 阅读全文
posted @ 2024-01-12 16:11 yhm138 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码 题目地址 https://leetcode.cn/problems/hopper-company-queries-i/description/ MySQL代码 -- CTE生成2020年每月的最后一天 WITH RECURSIVE months AS 阅读全文
posted @ 2024-01-12 11:31 yhm138 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址MySQL代码等效pandas代码如果要求【今日和过去2日】这三日不一定连续 题目地址 https://leetcode.cn/problems/rolling-average-steps/description/ MySQL代码 下面的代码是: 【过去n_days天,以及今天】的滑动窗 阅读全文
posted @ 2024-01-12 09:26 yhm138 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 题目地址 https://leetcode.cn/problems/class-performance/description/ 题目大意 编写一个查询,计算学生获得的 最高分 和 最低分 之间的 总分差(3 次作业的总和)。 assignment1, assignment2, assignment 阅读全文
posted @ 2024-01-12 08:17 yhm138 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址说明代码MySQLT-SQLOracle 题目地址 https://leetcode.cn/problems/friday-purchases-ii/description/ 说明 以下代码涉及的要点: 不同DB dialect,使用WEEKOFMONTH功能 不同DB dialect, 阅读全文
posted @ 2024-01-11 21:21 yhm138 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址说明代码MySQLT-SQLOracle 题目地址 https://leetcode.cn/problems/friday-purchases-i/description/ 说明 对于计算一个日期是该月的第几周,通常有两种常见的范式: ISO-8601 Week Numbering: 在 阅读全文
posted @ 2024-01-11 20:51 yhm138 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 目录代码使用方法话题来源题外话——Windows操作系统下到底有多少种脚本语言? 代码 ' VBScript to list UDP*.tmp files and ask user for deletion Option Explicit ' Declare variables Dim WSHShe 阅读全文
posted @ 2024-01-04 17:02 yhm138 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 请注意,这个脚本仅处理了最简单的情况,真正的Matlab代码可能包含更复杂的结构,如多行字符串、嵌套的字符串、转义字符等,处理这些情况可能需要更复杂的逻辑。 clear all; close all; clc; % Specify the input .m file name inputFileNa 阅读全文
posted @ 2023-12-19 10:49 yhm138 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 目录简介试题地址Day 1Part 1Part 2Day2Part 1Part 2Day 3Part 1Part 2Day 4Part 1Part 2Day 5Part 1 and Part 2Day 6Part 1 and Part 2Day 7Part 1 and Part 2Day 8Part 阅读全文
posted @ 2023-12-01 14:38 yhm138 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 目录WQL介绍一些WQL查询示例怎么执行WQL查询?WMIC在PowerShell里输入命令在C#代码中执行(如果你在VisualStudio中,记得导入引用)查询BIOS获取CPU温度 WQL介绍 WQL (WMI Query Language) 是一种 SQL 的变体,用于查询和设置 Windo 阅读全文
posted @ 2023-11-14 21:34 yhm138 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 目录爬取数据数据展示制作词云彩蛋 爬取数据 import requests from bs4 import BeautifulSoup from multiprocessing import Pool import sqlite3 import time from tqdm import tqdm 阅读全文
posted @ 2023-10-19 21:09 yhm138 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 在 Windows 的 CMD shell 中,tree 命令并不直接支持指定层数。 你可以编写CMD脚本达到相同目标。 不打印出文件,只打印出目录 @echo off setlocal set "root=%~1" set "maxdepth=%~2" set "curdepth=0" set " 阅读全文
posted @ 2023-09-17 11:37 yhm138 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 2022年的一本书,只有376页。证明直接去书里面找。 目录1 介绍1.1 啥是RiordanArray1.2 起源和研究动机1.3 基础的应用章后练习参考 1 介绍 1.1 啥是RiordanArray 1.2 起源和研究动机 1.3 基础的应用 \[\mathfrak{B}_r=\sum_{n 阅读全文
posted @ 2023-09-05 15:58 yhm138 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 个人感觉,写OCaml要比写那些纯粹函数式编程语言(Haskell,Elixir,Erlang)容易一点。 [TOC] # 逻辑控制语句及循环控制语句 [TIO](https://tio.run/##hZHPTsJAEMbv@xQfXPiTQKjGiw28SkNgazcpu6TdCDYcSAwHEo 阅读全文
posted @ 2023-08-29 20:29 yhm138 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址代码MySQLPostgreSQLOracleT-SQLpandas 题目地址 https://leetcode.cn/problems/total-sales-amount-by-year/description/ 代码 MySQL WITH RECURSIVE DateSeries 阅读全文
posted @ 2023-08-19 13:42 yhm138 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址要点代码MySQLPostgreSQLT-SQLOraclepandas 题目地址 https://leetcode.cn/problems/finding-the-topic-of-each-post/description/ 要点 [MySQL group_concat/T-SQL 阅读全文
posted @ 2023-08-19 13:13 yhm138 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址题目描述代码MySQLOracleT-SQLPostgreSQLPandas 题目地址 https://leetcode.cn/problems/build-the-equation/description/ 题目描述 Example 2: 输入: Terms 表: + + + | po 阅读全文
posted @ 2023-08-19 11:52 yhm138 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址题目描述代码MySQLPostgreSQLOracleT-SQLPandas 题目地址 https://leetcode.cn/problems/report-contiguous-dates/description/ 题目描述 A system is running one task 阅读全文
posted @ 2023-08-19 11:24 yhm138 阅读(6) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 题目地址 https://leetcode.cn/problems/longest-winning-streak/description/ # 题目描述 选手的 连胜数 是指连续获胜的次数,且没有被平局或输球中断。 编写解决方案来计算每个参赛选手最多的连胜数。 结果可以以 任何顺序 阅读全文
posted @ 2023-08-19 10:50 yhm138 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址题目描述代码MySQL逐行翻译为Pandas代码 题目地址 https://leetcode.cn/problems/active-users/description/ 题目描述 活跃用户 是指那些至少连续 5 天登录账户的用户。 编写解决方案, 找到 活跃用户 的 id 和 name。 阅读全文
posted @ 2023-08-19 09:51 yhm138 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 感觉没有什么好办法 date(concat(previous_month, '-01')) + interval 1 month = date(concat(month, '-01')) 如果你用period_diff求月份差,你最好把日期格式改成"%Y%m"格式的字符串再作为入参送进period_ 阅读全文
posted @ 2023-08-18 20:28 yhm138 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址代码MySQL/PostgreSQLOracleT-SQLPandas 题目地址 https://leetcode.cn/problems/all-people-report-to-the-given-manager/description/ 代码 MySQL/PostgreSQL WI 阅读全文
posted @ 2023-08-18 08:25 yhm138 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 这里,适用于区间都是左闭右开的。如果不是,需要做对应的修改。 ``` (case when duration>=0*60 and duration" when duration>=5*60 and duration" when duration>=10*60 and duration" else " 阅读全文
posted @ 2023-08-15 21:11 yhm138 阅读(3) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 题目地址 https://leetcode.cn/problems/find-median-given-frequency-of-numbers/description/ # 代码 ``` # 你可以把这个结构理解为do while WITH RECURSIVE RecCTE AS 阅读全文
posted @ 2023-08-15 20:04 yhm138 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址题目描述代码MySQL,使用field函数Oracle/PostgreSQL/T-SQL/MySQL,使用case whenPandas 题目地址 https://leetcode.cn/problems/arrange-table-by-gender/description/ 题目描述 阅读全文
posted @ 2023-08-15 11:17 yhm138 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址代码用该模板代码可以解决的题目 题目地址 https://leetcode.cn/problems/human-traffic-of-stadium/description/ 代码 with t1 as( SELECT * from stadium where people>=100 o 阅读全文
posted @ 2023-08-14 20:40 yhm138 阅读(13) 评论(0) 推荐(0) 编辑
摘要: ``` 我写了一个winform程序, 拷贝到win7系统上,提示需要下载.net 给的链接是 https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win7-x64&apphost_version=5.0.3& 阅读全文
posted @ 2023-07-27 18:07 yhm138 阅读(473) 评论(0) 推荐(0) 编辑
摘要: ### `Cargo.toml` ```rust [package] name = "rust_hello" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-la 阅读全文
posted @ 2023-07-22 18:39 yhm138 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 目录语言简介示例1示例2示例3常用word 语言简介 https://rosettacode.org/wiki/Category:Factor Factor 是一种基于堆栈的、串联的通用编程语言,注重实用性。 Factor 最初由 Slava Pestov 开发,于 2003 年作为一种为游戏编写的 阅读全文
posted @ 2023-07-20 19:59 yhm138 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 第4、9题我还没找到可靠的答案。 [toc] # 试题地址 全网首发!2023年北京大学强基计划笔试数学试题(全!) - ADU的小窝的文章 - 知乎 **转自数理迷津** https://zhuanlan.zhihu.com/p/640415621 # 1 emmm比如说三个点的实部,虚部分别是: 阅读全文
posted @ 2023-06-30 20:19 yhm138 阅读(430) 评论(0) 推荐(0) 编辑
摘要: # 代码 代码来自《Sagemath与物理学》 思路是:先描述电势,对电势求负梯度。最后绘图。 ```python from matplotlib.tri import Triangulation,UniformTriRefiner,CubicTriInterpolator import matpl 阅读全文
posted @ 2023-06-21 23:00 yhm138 阅读(182) 评论(0) 推荐(0) 编辑