Update docs and sort content

This commit is contained in:
github-actions[bot]
2025-02-19 17:59:49 +00:00
parent 1c36e3f5ec
commit 4fe221acf1
325 changed files with 546 additions and 6415 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,56 +0,0 @@
---
title: 141.环形链表
date: 2023-09-12T00:00:00.000Z
author: KazooTTT
tags:
- 算法
- 链表
- leetcode
platform: leetcode
number: 141
leetcode-url: 'https://leetcode.cn/problems/linked-list-cycle/'
toAstro: true
slug: 141-ring-chained-tables
description: >-
该内容描述了一个用于检测链表中是否存在环的算法。算法通过使用两个指针一个慢指针和一个快指针在链表中移动。如果链表中存在环快指针最终会追上慢指针否则快指针会先到达链表的末尾。算法首先检查链表的头节点是否为空或其下一个节点是否为空如果是则返回false表示没有环。然后算法进入一个循环每次循环中慢指针前进一步快指针前进两步。如果快指针变为null或其下一个节点为null则返回false表示没有环。如果循环中快指针与慢指针相遇则返回true表示链表中存在环。
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:14.000Z
---
# 141.环形链表
```ts
/*
* @lc app=leetcode.cn id=141 lang=typescript
*
* [141] 环形链表
*/
// @lc code=start
/**
* Definition for singly-linked list.
* class ListNode {
* val: number
* next: ListNode | null
* constructor(val?: number, next?: ListNode | null) {
* this.val = (val===undefined ? 0 : val)
* this.next = (next===undefined ? null : next)
* }
* }
*/
function hasCycle(head: ListNode | null): boolean {
if (head === null || head.next === null) return false
let slow = head
let fast = head.next
while (slow !== fast) {
if (fast === null || fast.next === null) return false
slow = slow.next
fast = fast.next.next
}
return true
}
// @lc code=end
```
![Pasted image 20230913211049](<https://pictures.kazoottt.top/2024/10/20241017-4f53a7eae19ab17b762648f666cfabb6.png>)

View File

@ -1,16 +0,0 @@
---
title: 142.环形链表-ii
date: 2023-09-13T00:00:00.000Z
author: KazooTTT
tags:
- 算法
platform: leetcode
leetcode-url: 'https://leetcode.cn/problems/linked-list-cycle-ii/description/'
toAstro: true
slug: 142-ring-linked-tables-ii
description: 题目“142.环形链表-ii”指的是一个关于数据结构中环形链表的问题特别是针对环形链表中特定节点的查找或操作问题。
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:14.000Z
---
# 142.环形链表 -ii

View File

@ -5,13 +5,15 @@ date: 2023-02-11T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
2023年2月11日星期六菜单包括外婆菜炒蛋搭配土豆箜饭饮料为冰糖加柠檬片。当天的计划包括使用tailwind编写样式学习Photoshop或Figma操作以制作视频封面模板以及进行AI 2023年2月11日星期六菜单包括外婆菜炒蛋搭配土豆箜饭饮料为冰糖加柠檬片。当天的计划包括使用tailwind编写样式学习Photoshop或Figma操作以制作视频封面模板以及进行AI
Hanser的相关工作。 Hanser的相关工作。
rinId: 22
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-02-11 星期六 # 2023-02-11 星期六

View File

@ -1,23 +0,0 @@
---
title: '2023-02-21'
slug: diary-2023-02-21
date: 2023-02-21T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
在2023年2月21日的内容中讨论了数组元素索引为何从0开始编号的问题。根据地址计算公式索引实际上代表了内存地址的偏移量首个元素的地址偏移量为0因此索引从0开始是合理的。文章中还提供了一张图示进一步解释了这一概念。
toAstro: true
category: 日记
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z
---
# 2023-02-21 星期二
## 数组
[4.1. 数组Array - Hello 算法 (hello-algo.com)](<https://www.hello-algo.com/chapter_array_and_linkedlist/array/#411>)
**为什么数组元素索引从 0 开始编号?**  根据地址计算公式,**索引本质上表示的是内存地址偏移量**,首个元素的地址偏移量是  0 那么索引是  0  也就很自然了。
![Pasted image 20230221221853](<https://pictures.kazoottt.top/2024/04/20240407-170214c87b99ed229900334e27d6db5d.png>)

View File

@ -7,11 +7,13 @@ tags:
- 日记 - 日记
- 歌词 - 歌词
- hanser - hanser
published: true
description: 2023年9月8日星期五的记录中提到了一段关于直播的内容强调不需要背负任何负担只需带着空行囊和彼此即可。 description: 2023年9月8日星期五的记录中提到了一段关于直播的内容强调不需要背负任何负担只需带着空行囊和彼此即可。
rinId: 24
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-08 星期五 # 2023-09-08 星期五

View File

@ -5,11 +5,13 @@ date: 2023-09-09T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 2023年9月9日星期六的日程安排包括已完成的项目升级和游泳以及待完成的nextjs+node运行时脚本测试。 description: 2023年9月9日星期六的日程安排包括已完成的项目升级和游泳以及待完成的nextjs+node运行时脚本测试。
rinId: 25
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-09 星期六 # 2023-09-09 星期六

View File

@ -5,12 +5,14 @@ date: 2023-09-10T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
2023年9月10日某博客讨论了其支持的模板语法指出虽然功能丰富但使用起来感觉不够灵活且学习成本较高。文章中提出疑问低代码是否是一种高效但可能过于简化的编程方式。 2023年9月10日某博客讨论了其支持的模板语法指出虽然功能丰富但使用起来感觉不够灵活且学习成本较高。文章中提出疑问低代码是否是一种高效但可能过于简化的编程方式。
rinId: 26
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-10 星期日 # 2023-09-10 星期日

View File

@ -6,12 +6,14 @@ author: KazooTTT
tags: tags:
- 日记 - 日记
- 健身 - 健身
published: true
description: >- description: >-
今天的任务包括完成多项链表相关的编程题目其中已完成的有“86.分隔链表”和“141.环形链表”未完成的有“142.环形链表-ii”和“160.相交链表”。此外已完成的任务还包括在Obsidian中链接外部代码文件。健身方面进行了跑步、椭圆机和器械锻炼并计划下次带拖鞋以便洗完澡后直接穿回家。 今天的任务包括完成多项链表相关的编程题目其中已完成的有“86.分隔链表”和“141.环形链表”未完成的有“142.环形链表-ii”和“160.相交链表”。此外已完成的任务还包括在Obsidian中链接外部代码文件。健身方面进行了跑步、椭圆机和器械锻炼并计划下次带拖鞋以便洗完澡后直接穿回家。
rinId: 27
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-12 星期二 # 2023-09-12 星期二
@ -22,9 +24,9 @@ date_modified: 2025-02-19T17:22:55.000Z
## 今天要做的事情 ## 今天要做的事情
- [ ] 刷题回顾 - [ ] 刷题回顾
- [x] [86.分隔链表](/notes/86-separated-chained-tables) - [x] [86.分隔链表](https://notes.kazoottt.top/03-领域/编程/算法/记录/86.分隔链表)
- [x] [141.环形链表](/notes/141-ring-chained-tables) - [x] [141.环形链表](https://notes.kazoottt.top/03-领域/编程/算法/记录/141.环形链表)
- [ ] [142.环形链表-ii](/notes/142-ring-linked-tables-ii) - [ ] [142.环形链表-ii](https://notes.kazoottt.top/03-领域/编程/算法/记录/142.环形链表-ii)
- [ ] [[160.相交链表]] - [ ] [[160.相交链表]]
- [x] [[obsidian链接外部代码文件]] - [x] [[obsidian链接外部代码文件]]

View File

@ -6,6 +6,7 @@ author: KazooTTT
tags: tags:
- 日记 - 日记
- todo - todo
published: true
description: >- description: >-
On September 13, 2023, the individual focused on several tasks including On September 13, 2023, the individual focused on several tasks including
reviewing coding problems, specifically completing the "141.环形链表" and planning reviewing coding problems, specifically completing the "141.环形链表" and planning
@ -23,7 +24,7 @@ description: >-
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-13 星期三 # 2023-09-13 星期三
@ -34,8 +35,8 @@ date_modified: 2025-02-19T17:22:55.000Z
## 今天要做的事情 ## 今天要做的事情
- [ ] 刷题回顾 - [ ] 刷题回顾
- [x] [141.环形链表](/notes/141-ring-chained-tables) - [x] [141.环形链表](https://notes.kazoottt.top/03-领域/编程/算法/记录/141.环形链表)
- [ ] [142.环形链表-ii](/notes/142-ring-linked-tables-ii) - [ ] [142.环形链表-ii](https://notes.kazoottt.top/03-领域/编程/算法/记录/142.环形链表-ii)
- [ ] [[160.相交链表]] - [ ] [[160.相交链表]]
## 打卡 ## 打卡

View File

@ -5,13 +5,14 @@ date: 2023-09-14T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
今天是2023年9月14日星期四。今天的计划包括打卡和健身。健身内容包括跑步20分钟和使用器械30分钟虽然9点去健身房时间有点紧张。此外已经下单了一款新手表预计下周五到货。感觉自己的背部似乎直了一些。还提到了一种快速获取telegram 今天是2023年9月14日星期四。今天的计划包括打卡和健身。健身内容包括跑步20分钟和使用器械30分钟虽然9点去健身房时间有点紧张。此外已经下单了一款新手表预计下周五到货。感觉自己的背部似乎直了一些。还提到了一种快速获取telegram
chatId并实现消息通知的方法。 chatId并实现消息通知的方法。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-14 星期四 # 2023-09-14 星期四

View File

@ -5,11 +5,12 @@ date: 2023-09-15T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 2023年9月15日星期五的日程包括修复notion-blog中vercel og的问题并进行打卡记录。 description: 2023年9月15日星期五的日程包括修复notion-blog中vercel og的问题并进行打卡记录。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-15 星期五 # 2023-09-15 星期五
@ -21,4 +22,4 @@ date_modified: 2025-02-19T17:22:55.000Z
## 打卡 ## 打卡
[修复了notion-blog中vercel og的问题](/notes/fixed-issue-with-vercel-og-in-notion-blog) [修复了notion-blog中vercel og的问题](https://notes.kazoottt.top/05-临时/01-草稿箱/修复了notion-blog中vercel og的问题)

View File

@ -6,12 +6,13 @@ author: KazooTTT
tags: tags:
- 日记 - 日记
- 健身 - 健身
published: true
description: >- description: >-
2023年9月17日个人日记记录了当天的活动和任务。白天主要在休息晚上进行了健身活动包括30分钟的椭圆机训练和30分钟的器械训练。健身后回家泡脚并在此期间编写了一个油猴脚本用于直播间管理增强已完成弹窗样式修改和response拦截及第一页数据填充后续计划实现滚动加载后的数据填充。此外还记录了两个待处理的事项屏蔽推特黄推和使用shot.so进行图片美化。 2023年9月17日个人日记记录了当天的活动和任务。白天主要在休息晚上进行了健身活动包括30分钟的椭圆机训练和30分钟的器械训练。健身后回家泡脚并在此期间编写了一个油猴脚本用于直播间管理增强已完成弹窗样式修改和response拦截及第一页数据填充后续计划实现滚动加载后的数据填充。此外还记录了两个待处理的事项屏蔽推特黄推和使用shot.so进行图片美化。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-17 星期日 # 2023-09-17 星期日
@ -31,7 +32,7 @@ date_modified: 2025-02-19T17:22:55.000Z
一边泡脚一边写了一个油猴脚本,具体如下。 一边泡脚一边写了一个油猴脚本,具体如下。
[直播间管理增强脚本](/notes/live-streaming-room-management-enhancement-script) [直播间管理增强脚本](https://notes.kazoottt.top/05-临时/01-草稿箱/直播间管理增强脚本)
今日完成: 今日完成:
弹窗样式修改 弹窗样式修改

View File

@ -6,6 +6,7 @@ author: KazooTTT
tags: tags:
- 日记 - 日记
- 翻译 - 翻译
published: true
description: >- description: >-
今天的任务包括翻译YouTube视频《Monorepos - How the Pros Scale Huge Software Projects // 今天的任务包括翻译YouTube视频《Monorepos - How the Pros Scale Huge Software Projects //
Turborepo vs Turborepo vs
@ -13,7 +14,7 @@ description: >-
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-09-24 星期日 # 2023-09-24 星期日

View File

@ -5,12 +5,13 @@ date: 2023-10-06T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
今天的任务包括给手表充电和录制关于如何使用MessAuto和iMessage实现iPhone和mac信息同步及自动复制验证码的视频并计划将视频发布到B站和小红书上。 今天的任务包括给手表充电和录制关于如何使用MessAuto和iMessage实现iPhone和mac信息同步及自动复制验证码的视频并计划将视频发布到B站和小红书上。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-10-06 星期五 # 2023-10-06 星期五

View File

@ -1,26 +0,0 @@
---
title: '2023-10-07'
slug: diary-2023-10-07
date: 2023-10-07T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年10月7日星期六的计划包括国庆期间的厦门和杭州旅行以及当天的打卡和待办事项。
toAstro: true
category: 日记
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z
---
# 2023-10-07 星期六
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
[2023 国庆厦门和杭州之行](/posts/national-day-trip-to-xiamen-and-hangzhoupicture-bed-version)
## 打卡
## Inbox

View File

@ -5,11 +5,12 @@ date: 2023-10-10T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 今天的计划包括阅读vite文档并进行打卡和处理inbox事项。 description: 今天的计划包括阅读vite文档并进行打卡和处理inbox事项。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-10-10 星期二 # 2023-10-10 星期二
@ -19,7 +20,7 @@ date_modified: 2025-02-19T17:22:55.000Z
## 今天要做的事情 ## 今天要做的事情
[从零开始阅读vite文档](/notes/reading-vite-documentation-from-scratch) [从零开始阅读vite文档](https://notes.kazoottt.top/05-临时/01-草稿箱/从零开始阅读vite文档)
## 打卡 ## 打卡

View File

@ -5,11 +5,12 @@ date: 2023-10-18T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 今天的日程包括图片上传测试和打卡活动同时有一个待处理的inbox事项。 description: 今天的日程包括图片上传测试和打卡活动同时有一个待处理的inbox事项。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-10-18 星期三 # 2023-10-18 星期三

View File

@ -1,26 +0,0 @@
---
title: '2023-10-19'
slug: diary-2023-10-19
date: 2023-10-19T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: 2023年10月19日星期四的日程包括发布xlsx util工具包该工具能够根据输入的列索引返回如A、B等实际列名。此外还包括打卡和处理inbox事项。
toAstro: true
category: 日记
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z
---
# 2023-10-19 星期四
<!-- start of weread -->
<!-- end of weread -->
## 今天要做的事情
xlsx util 发包,实现输入列的索引,输出 A B 这样真实的列名
## 打卡
## Inbox

View File

@ -5,11 +5,12 @@ date: 2023-10-21T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 2023年10月21日星期六的日程安排包括打卡和处理inbox事务。具体打卡内容通过一张图片展示而inbox的具体内容未详细说明。 description: 2023年10月21日星期六的日程安排包括打卡和处理inbox事务。具体打卡内容通过一张图片展示而inbox的具体内容未详细说明。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-10-21 星期六 # 2023-10-21 星期六

View File

@ -5,11 +5,12 @@ date: 2023-10-22T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 今天的计划包括防抖技术的学习和打卡任务,同时还有待处理的邮件。 description: 今天的计划包括防抖技术的学习和打卡任务,同时还有待处理的邮件。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-10-22 星期日 # 2023-10-22 星期日
@ -19,7 +20,7 @@ date_modified: 2025-02-19T17:22:55.000Z
## 今天要做的事情 ## 今天要做的事情
[防抖](/notes/anti-shake) [防抖](https://notes.kazoottt.top/05-临时/01-草稿箱/防抖)
## 打卡 ## 打卡

View File

@ -1,28 +0,0 @@
---
title: '2023-10-28'
slug: diary-2023-10-28
date: 2023-10-28T00:00:00.000Z
author: KazooTTT
tags:
- 日记
description: >-
Today's schedule includes learning from the dom-to-image topic, with a note on
weread content in the inbox.
toAstro: true
category: 日记
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z
---
# 2023-10-28 星期六
## 今天要做的事情
[What I learn from dom-to-image](/notes/what-i-learn-from-dom-to-image)
## 打卡
## Inbox
<!-- start of weread -->
<!-- end of weread -->

View File

@ -5,11 +5,12 @@ date: 2023-11-06T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: 2023年11月6日星期一记录了当天的打卡情况显示Wakatime的使用时间较长给人留下了深刻印象。此外还提到了inbox但未详细说明内容。 description: 2023年11月6日星期一记录了当天的打卡情况显示Wakatime的使用时间较长给人留下了深刻印象。此外还提到了inbox但未详细说明内容。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-11-06 星期一 # 2023-11-06 星期一

View File

@ -5,13 +5,14 @@ date: 2023-11-16T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
今天是2023年11月16日星期四。今天的主要任务是开始学习web3特别是参加了一个名为solidity_bootcamp的在线课程该课程由open 今天是2023年11月16日星期四。今天的主要任务是开始学习web3特别是参加了一个名为solidity_bootcamp的在线课程该课程由open
build提供。此外还记录了学习笔记但具体内容未在提供的材料中详细说明。 build提供。此外还记录了学习笔记但具体内容未在提供的材料中详细说明。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-11-16 星期四 # 2023-11-16 星期四
@ -22,7 +23,7 @@ date_modified: 2025-02-19T17:22:55.000Z
开始学习 web3上周报名的 open build 的 solidity_bootcamp 开营了。 开始学习 web3上周报名的 open build 的 solidity_bootcamp 开营了。
[solidity_bootcamp学习笔记](/notes/soliditybootcamp-study-notes) [solidity_bootcamp学习笔记](https://notes.kazoottt.top/03-领域/编程/web3/solidity_bootcamp学习笔记)
## Inbox ## Inbox

View File

@ -5,12 +5,13 @@ date: 2023-11-17T00:00:00.000Z
author: KazooTTT author: KazooTTT
tags: tags:
- 日记 - 日记
published: true
description: >- description: >-
今天的任务清单中已完成的是下午去办理港澳通行证而未完成的是准备公司评级的材料和学习web3基础知识。此外今天的日程中还包括打卡和查看inbox但没有具体的事项列出。 今天的任务清单中已完成的是下午去办理港澳通行证而未完成的是准备公司评级的材料和学习web3基础知识。此外今天的日程中还包括打卡和查看inbox但没有具体的事项列出。
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 2023-11-17 星期五 # 2023-11-17 星期五

View File

@ -1,32 +0,0 @@
---
description: >-
内容中提到了两个编程问题及其相关注意事项。首先对于“两数之和”问题指出了在JavaScript代码中如果`numberToIndexMap[targetNumber]`的值为0时使用`!==
undefined`进行判断可能会导致错误的结果,建议使用`in`操作符来检查对象属性是否存在。其次,提到了“删除有序数组中的重复项”问题,强调了需要原地删除重复元素,即不使用额外的空间。
slug: 2024-03-05-brush-questions
toAstro: true
date: 2024-07-11T02:17:53.454Z
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:14.000Z
title: 2024-03-05 刷题
---
# 2024-03-05 刷题
需要注意的是
[1. 两数之和](<https://leetcode.cn/problems/two-sum/>)
```js
if (numberToIndexMap[targetNumber] !== undefined) {
const targetNumberIndex = numberToIndexMap[targetNumber]
return [targetNumberIndex, i]
}
```
这里的写法,如果 `numberToIndexMap[targetNumber] = 0` 的话, if 也会判断为 false所以不能这么写。
要么写成 `numberToIndexMap[targetNumber] !== undefined` 要么写成 `if (targetNumber in numberToIndexMap)`
[26. 删除有序数组中的重复项](<https://leetcode.cn/problems/remove-duplicates-from-sorted-array/>)
请你 **[原地](<http://baike.baidu.com/item/%E5%8E%9F%E5%9C%B0%E7%AE%97%E6%B3%95>)** 删除重复出现的元素

View File

@ -8,21 +8,22 @@ tags:
description: >- description: >-
今天的主要任务包括完成Python学习至day15和刷题已完成的任务有Python学习和刷题。未完成的任务包括整理周一和周二的资讯、进行多线程批量测试、解决Python的AttributeError问题以及JetBrains 今天的主要任务包括完成Python学习至day15和刷题已完成的任务有Python学习和刷题。未完成的任务包括整理周一和周二的资讯、进行多线程批量测试、解决Python的AttributeError问题以及JetBrains
IDE的terminal无法打开问题。此外还帮助前部门面试了一位前端候选人。明天计划继续处理未完成的任务并记录了2024年3月5日的文件路径信息。 IDE的terminal无法打开问题。此外还帮助前部门面试了一位前端候选人。明天计划继续处理未完成的任务并记录了2024年3月5日的文件路径信息。
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 今天要做的事情 # 今天要做的事情
- [x] python 看到 day15 [python100 1-15](/notes/learn-python) - [x] python 看到 day15 [python100 1-15](https://notes.kazoottt.top/03-领域/编程/后端/python/python100 1-15)
- [x] 刷题 - [x] 刷题
- [ ] 整理周一和周二的资讯 - [ ] 整理周一和周二的资讯
- [ ] 多线程批量跑测试 - [ ] 多线程批量跑测试
- [ ] [[AttributeError module 'select' has no attribute 'epoll']] - [ ] [[AttributeError module 'select' has no attribute 'epoll']]
- [ ] [[jerbrains的ide打不开terminal]] - [ ] [[jerbrains的ide打不开terminal]]
- [ ] [2024-03-05 刷题](/notes/2024-03-05-brush-questions) - [ ] [2024-03-05 刷题](https://notes.kazoottt.top/03-领域/编程/算法/记录/2024-03-05 刷题)
# 打卡 # 打卡

View File

@ -9,10 +9,11 @@ description: >-
今天的工作主要集中在解决错误和提交代码上成功地向autogen和notionnext提交了pull 今天的工作主要集中在解决错误和提交代码上成功地向autogen和notionnext提交了pull
request其中autogen的请求已被合并。同时开通了notion request其中autogen的请求已被合并。同时开通了notion
ai并迁移了部分本地内容到博客上。此外收到了购买的时尚小物品感到非常满意。遗憾的是今天没有进行学习和刷题。计划早点休息为明天做准备。 ai并迁移了部分本地内容到博客上。此外收到了购买的时尚小物品感到非常满意。遗憾的是今天没有进行学习和刷题。计划早点休息为明天做准备。
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
# 今天要做的事情 # 今天要做的事情

View File

@ -7,10 +7,11 @@ tags:
- 碎片 - 碎片
description: 使用飞书作为记账工具,能够有效地记录和管理财务信息。 description: 使用飞书作为记账工具,能够有效地记录和管理财务信息。
date_created: 2025-02-11T15:38:40.000Z date_created: 2025-02-11T15:38:40.000Z
date_modified: 2025-02-19T13:08:36.000Z date_modified: 2025-02-19T17:54:51.000Z
title: 2024-10-21 11分17秒 使用飞书来记账 title: 2024-10-21 11分17秒 使用飞书来记账
date: 2025-02-19T00:00:00.000Z date: 2025-02-19T00:00:00.000Z
author: KazooTTT author: KazooTTT
published: true
toAstro: true toAstro: true
astroType: null astroType: null
category: 碎片 category: 碎片

View File

@ -7,10 +7,11 @@ description: >-
Vintage Camera Lab Vintage Camera Lab
是专注于复古相机的网站,提供多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家了解相机的背景与特点。此外,该网站还提供复古相机风格的周边商品。 是专注于复古相机的网站,提供多种型号的详细信息与历史,按品牌、格式和类型分类,便于摄影师、收藏家了解相机的背景与特点。此外,该网站还提供复古相机风格的周边商品。
date_created: 2025-02-11T15:38:40.000Z date_created: 2025-02-11T15:38:40.000Z
date_modified: 2025-02-19T13:09:10.000Z date_modified: 2025-02-19T17:54:51.000Z
title: 2024-10-25 13分02秒 Vintage Camera Lab title: 2024-10-25 13分02秒 Vintage Camera Lab
date: 2025-02-16T00:00:00.000Z date: 2025-02-16T00:00:00.000Z
author: KazooTTT author: KazooTTT
published: true
toAstro: true toAstro: true
astroType: null astroType: null
category: 碎片 category: 碎片

View File

@ -9,10 +9,11 @@ description: >-
Tapedeck.org Tapedeck.org
为磁带设计提供了丰富的信息和历史记录,包括功能型设计、色彩丰富和形状变化等。网站还支持用户分享自己的磁带收藏,并为此提供了详细的提交指南。此外,网站还提供了在线商店销售与磁带相关的周边产品。 为磁带设计提供了丰富的信息和历史记录,包括功能型设计、色彩丰富和形状变化等。网站还支持用户分享自己的磁带收藏,并为此提供了详细的提交指南。此外,网站还提供了在线商店销售与磁带相关的周边产品。
date_created: 2025-02-11T15:38:40.000Z date_created: 2025-02-11T15:38:40.000Z
date_modified: 2025-02-19T13:08:11.000Z date_modified: 2025-02-19T17:54:51.000Z
title: 2024-10-25 13分11秒 Tapedeck title: 2024-10-25 13分11秒 Tapedeck
date: 2024-10-25T00:00:00.000Z date: 2024-10-25T00:00:00.000Z
author: KazooTTT author: KazooTTT
published: true
toAstro: true toAstro: true
astroType: null astroType: null
category: 碎片 category: 碎片

View File

@ -5,10 +5,11 @@ tags:
- 碎片 - 碎片
description: Craft 第三方链接解析兼容性更好美观程度也更好。然而Craft提供的免费服务有限仅为试用版本后期需要付费使用。 description: Craft 第三方链接解析兼容性更好美观程度也更好。然而Craft提供的免费服务有限仅为试用版本后期需要付费使用。
date_created: 2025-02-11T15:38:40.000Z date_created: 2025-02-11T15:38:40.000Z
date_modified: 2025-02-19T13:11:13.000Z date_modified: 2025-02-19T17:54:51.000Z
title: 2024-10-28 18分05秒 craft收费 title: 2024-10-28 18分05秒 craft收费
date: 2025-02-19T00:00:00.000Z date: 2025-02-19T00:00:00.000Z
author: KazooTTT author: KazooTTT
published: true
toAstro: true toAstro: true
astroType: null astroType: null
category: 碎片 category: 碎片

View File

@ -11,10 +11,11 @@ tags:
description: >- description: >-
今天是milklove宣布二搭、三搭的日子。根据截图牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs 今天是milklove宣布二搭、三搭的日子。根据截图牛奶爱情已经发展到了很幸福的阶段。有许多视频和 GIFs
表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图展示了milklove的幸福感和关怀。 表示了他们之间的亲密度和甜蜜。虽然没有具体详细信息但可以看出这对人是非常恩爱的。在这里汇总了一些关键的视频和截图展示了milklove的幸福感和关怀。
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
很幸福的一天,今天是 milklove 宣布二搭、三搭的日子。 很幸福的一天,今天是 milklove 宣布二搭、三搭的日子。

View File

@ -10,10 +10,11 @@ description: >-
windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而volview 中的 store windsurf 赠送了试用的天数,个人发现 windsurf 的 cursor 自动补全速度比其他软件快且更智能。然而volview 中的 store
信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows 信息难以理解,而 Crop2D.vue 的文件内容未能解释明了。此外,安装 canvas 时遇到错误,需要参考 node-canvas 的 Windows
安装指导解决问题。 安装指导解决问题。
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
windsurf 赠送了试用的天数 windsurf 赠送了试用的天数

View File

@ -11,10 +11,11 @@ description: >-
Configure Runtime Configure Runtime
Arguments"然后添加“disable-hardware-acceleration”true实验发现它确实有助于提高工作效率。但是如果你的 Arguments"然后添加“disable-hardware-acceleration”true实验发现它确实有助于提高工作效率。但是如果你的
SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。 SonarLint 占用内存过高,就会导致卡顿问题。此外,你还遇到了 vite-plugin-checker 的错误,解决方法是安装或重新安装 uv。
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
[x.com](<https://x.com/vikingmute/status/1858781019492790315>) [x.com](<https://x.com/vikingmute/status/1858781019492790315>)

View File

@ -13,10 +13,11 @@ description: >-
在使用ECharts时Canvas和SVG两个渲染器的选择主要取决于软硬件环境、数据量和功能需求。在需要优化性能的问题场景下尝试结合实验来确定使用哪种渲-render器更合适。 在使用ECharts时Canvas和SVG两个渲染器的选择主要取决于软硬件环境、数据量和功能需求。在需要优化性能的问题场景下尝试结合实验来确定使用哪种渲-render器更合适。
只有在你熟悉用canvas手搓图表时你才能在网页上创建这种图。 最近的工作包括编辑器图片上传重构、移动端应用程序的开发以及学习VTK和图形学。 只有在你熟悉用canvas手搓图表时你才能在网页上创建这种图。 最近的工作包括编辑器图片上传重构、移动端应用程序的开发以及学习VTK和图形学。
slug: diary-2024-11-29 slug: diary-2024-11-29
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
qube 如何集成到 github: qube 如何集成到 github:

View File

@ -11,10 +11,11 @@ description: >-
如果存在占用特定端口的程序请使用命令“lsof -i :<PORT>”识别端口对应的进程IDPID再使用命令“kill -9 如果存在占用特定端口的程序请使用命令“lsof -i :<PORT>”识别端口对应的进程IDPID再使用命令“kill -9
<PID>”终止该进程。也可以使用更方便的方式“kill -9 $(lsof -t -i :<PORT>)”,即直接杀死占用端口的进程。 <PID>”终止该进程。也可以使用更方便的方式“kill -9 $(lsof -t -i :<PORT>)”,即直接杀死占用端口的进程。
slug: diary-2024-11-30 slug: diary-2024-11-30
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
vscode extention 启动时间 vscode extention 启动时间

View File

@ -11,10 +11,11 @@ description: >-
的变化感到困惑。虽然我耐下了心理压力,能清晰地理解项目里的复杂数据流转,但是写文档还是头昏眼花,一时起走神来。除了上周加班外,我也试用了 的变化感到困惑。虽然我耐下了心理压力,能清晰地理解项目里的复杂数据流转,但是写文档还是头昏眼花,一时起走神来。除了上周加班外,我也试用了
react-scan 和安卓视频下载软件,好看的个人主页让我感动。 react-scan 和安卓视频下载软件,好看的个人主页让我感动。
slug: diary-2024-12-11 slug: diary-2024-12-11
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
终于没有那么忙了,上周忙成狗了,加班加的 wakatime 时长直接进入全球前 100 了 终于没有那么忙了,上周忙成狗了,加班加的 wakatime 时长直接进入全球前 100 了

View File

@ -12,10 +12,11 @@ description: >-
这一天的碎片化记录包含了对深Seek 这一天的碎片化记录包含了对深Seek
API和其新版聊天功能的感想以及工作、生活中的各种感受和体验。作者在这段时间内进行了一些个人思考和记录包括购买了智能工具Diagen感受到了一种计算收益的模式并且在思考自己的精神层面希望能够创作出更能让自己满意的作品。 API和其新版聊天功能的感想以及工作、生活中的各种感受和体验。作者在这段时间内进行了一些个人思考和记录包括购买了智能工具Diagen感受到了一种计算收益的模式并且在思考自己的精神层面希望能够创作出更能让自己满意的作品。
slug: diary-2024-12-12 slug: diary-2024-12-12
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
之前只用过 deepseek 的 api这几天的 deepseek 的 chat 用的比较多,发现两者都挺好用的 之前只用过 deepseek 的 api这几天的 deepseek 的 chat 用的比较多,发现两者都挺好用的

View File

@ -7,10 +7,11 @@ tags:
- 日记 - 日记
description: null description: null
slug: diary-2024-12-19 slug: diary-2024-12-19
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
## 值得记录的事情 ## 值得记录的事情

View File

@ -7,10 +7,11 @@ tags:
- 日记 - 日记
description: null description: null
slug: diary-2024-12-23 slug: diary-2024-12-23
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-04T03:34:08.000Z date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
学习 unity day01 学习 unity day01

View File

@ -9,10 +9,11 @@ tags:
- 压力 - 压力
description: null description: null
slug: diary-2025-01-06 slug: diary-2025-01-06
published: true
toAstro: true toAstro: true
category: 日记 category: 日记
date_created: 2025-01-06T12:11:06.000Z date_created: 2025-01-06T12:11:06.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
最近一直都很忙,忙到有时候怀疑自己从上海回成都是否是好的决定。 最近一直都很忙,忙到有时候怀疑自己从上海回成都是否是好的决定。

View File

@ -8,10 +8,11 @@ description: >-
为了防止环境变量泄漏Vite 提供了一个机制,即只有以 VITE_为前缀的变量才会被暴露给经过 Vite 为了防止环境变量泄漏Vite 提供了一个机制,即只有以 VITE_为前缀的变量才会被暴露给经过 Vite
处理的代码。这样可以有效地控制变量的泄露,避免意外的安全问题。 处理的代码。这样可以有效地控制变量的泄露,避免意外的安全问题。
date_created: 2025-02-11T15:38:40.000Z date_created: 2025-02-11T15:38:40.000Z
date_modified: 2025-02-19T13:11:26.000Z date_modified: 2025-02-19T17:54:51.000Z
title: 241029 1144 vite环境变量 title: 241029 1144 vite环境变量
date: 2025-02-19T00:00:00.000Z date: 2025-02-19T00:00:00.000Z
author: KazooTTT author: KazooTTT
published: true
toAstro: true toAstro: true
astroType: null astroType: null
category: 碎片 category: 碎片

View File

@ -1,67 +0,0 @@
---
title: 86.分隔链表
date: 2023-09-13T00:00:00.000Z
author: KazooTTT
tags:
- 算法
- 链表
- leetcode
- 待优化
- todo
platform: leetcode
number: 86
leetcode-url: 'https://leetcode.cn/problems/partition-list/description/'
toAstro: true
slug: 86-separated-chained-tables
description: >-
该内容描述了一个TypeScript函数`partition`用于将一个单链表分割成两部分一部分包含所有小于给定值x的节点另一部分包含所有大于或等于x的节点。函数首先创建两个新的链表头节点`small``large`分别用于存储小于x和大于等于x的节点。通过遍历原链表将节点值小于x的节点添加到`small`链表将节点值大于等于x的节点添加到`large`链表。最后,将`large`链表连接到`small`链表的尾部,并返回`small`链表的头节点。此方法在内存使用上还有优化空间。
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:14.000Z
---
# 86.分隔链表
```typescript
/**
* Definition for singly-linked list.
* class ListNode {
* val: number
* next: ListNode | null
* constructor(val?: number, next?: ListNode | null) {
* this.val = (val===undefined ? 0 : val)
* this.next = (next===undefined ? null : next)
* }
* }
*/
function partition(head: ListNode | null, x: number): ListNode | null {
let small = new ListNode(-1),
smallP = small,
large = new ListNode(-1),
largeP = large
while (head) {
if (head.val < x) {
smallP.next = {
val: head.val,
next: null,
}
smallP = smallP.next
} else {
largeP.next = {
val: head.val,
next: null,
}
largeP = largeP.next
}
head = head.next
}
largeP.next = null
smallP.next = large.next
return small.next
}
```
![Pasted image 20230913211808](<https://pictures.kazoottt.top/2024/10/20241017-31a8a6fcff29819c944e3716bb8f1979.png>)
可以看出内存还有很大的优化空间

View File

@ -1,30 +0,0 @@
---
slug: present-conditions
toAstro: true
description: >-
基础大模型在实际应用中面临两大挑战:终端客户对高昂算力成本的接受度以及大模型在垂直行业任务中的表现不足。为解决这些问题,大模型通常会通过领域特定数据或知识库进行训练和优化,以形成适用于垂直领域的行业大模型或业务大模型。此外,一些企业还有深度定制和私有化部署的需求,需要在行业大模型的基础上,进一步加入企业专有数据进行训练或微调,以构建企业级大模型。
category: AI
title: AI大局
date: 2023-09-04T00:00:00.000Z
author: KazooTTT
tags:
- 基础大模型
- 产业应用
- 机器学习
finished: false
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:16.000Z
---
# 大局
![IMG-20240904002708358](<https://pictures.kazoottt.top/2024/10/20241017-f444952a6f250a1577ef0bb6e0b2841e.png>)
![IMG-20240904002708406](<https://pictures.kazoottt.top/2024/10/20241017-19840b5bdf81b7f542746ffcc779b8c0.png>)
基础大模型落地面临两大难题,一是终端客户对算力成本的接受能力,二是大模型虽擅长通用领域问题,但往往在垂直行业任务中表现欠佳。因此,基础大模型会通过领域数据或专属知识库进行训练和调优,形成垂直领域的行业大模型或业务大模型;此外,部分企业还具有深度定制、私有化部署的需求,需要在行业大模型基础上,进一步加入企业专有数据进行训练或微调,形成企业级大模型。
[2023 年中国 AIGC 产业全景报告 |   艾瑞咨询 - 实时互动网](<https://www.nxrte.com/zixun/31964.html>)
中间层
应用层

View File

@ -1,28 +0,0 @@
---
title: AI相关名词
date: 2024-02-28T00:00:00.000Z
author: KazooTTT
tags:
- ai
- 深度学习
finished: false
toAstro: true
slug: ai-related-words
description: >-
SOTAState of the
Art代表在特定任务中表现最佳的方法或模型尤其在计算机视觉领域常指最先进的深度学习技术。扩散模型作为深度生成模型的新SOTA在性能上超越了传统的基准和基线。研究论文通常以超越现有基线/基准为目标,通过实验数据评估其性能提升。基线强调一套方法,而基准则侧重于如精确度、召回率等可量化的最高指标。
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:11.000Z
---
# AI 相关名词
#ai #深度学习
SOTA 是 state of the art 的缩写,指在特定任务中目前表现最好的方法或模型。它代表着最前沿、
最先进、目前最高水平的意思。在计算机视觉等领域SOTA 通常指代最先进的深度学习模型或方法,在各种基准测试中取得最好的性能表现
Benchmark 和 baseline 则是指最基础的比较对象。研究论文通常以超越现有的 baseline/benchmark 为动机实验数据需要以它们为基准来评估是否有提高。Baseline 强调一套方法,而 benchmark 更偏向于当前最高的指标,如 precision、recall 等可量化的指标
> 扩散模型diffusion models是深度生成模型中新的 SOTA [扩散模型爆火这是首篇综述与Github论文分类汇总 | 机器之心](<https://www.jiqizhixin.com/articles/2022-09-13-5>)

View File

@ -1,6 +1,6 @@
--- ---
date_created: 2025-01-31T13:07:18.000Z date_created: 2025-01-31T13:07:18.000Z
date_modified: 2025-02-19T17:22:51.000Z date_modified: 2025-02-19T17:54:54.000Z
slug: blender-macos-steam-version-limitations slug: blender-macos-steam-version-limitations
tags: tags:
- Blender - Blender
@ -14,7 +14,8 @@ description: >-
title: Blender on macOS - Steam Version Limitations for Apple Silicon Devices title: Blender on macOS - Steam Version Limitations for Apple Silicon Devices
date: 2025-01-31T00:00:00.000Z date: 2025-01-31T00:00:00.000Z
author: KazooTTT author: KazooTTT
type: Technical Note finished: true
published: true
category: 3D Modeling category: 3D Modeling
toAstro: true toAstro: true
--- ---

View File

@ -1,65 +0,0 @@
---
slug: bloomberg-welcomes-intra-firm-chatbots-to-ib
title: 'Bloomberg Welcomes Intra-Firm Chatbots to IB '
tags:
- 翻译
category: 阅读笔记-阅读和翻译
description: >-
彭博社宣布推出新的Instant Bloomberg (IB)附加服务——IB
Connect其中包括公司内部聊天机器人服务。这项服务允许彭博终端用户将专有聊天机器人集成到IB聊天室中促进内部信息的共享和商业智能的发现。客户可以使用提供的软件开发工具包定制聊天机器人以适应其独特的技术堆栈和工作流程。此外IB
Connect支持两种类型的聊天机器人问答式和通知型分别用于提供可操作的情报和关键事件的及时通知。这一创新旨在帮助客户推进数字化转型战略提高协作工作流程的效率。
date: 2023-11-09T10:26:54.033Z
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
date_modified: 2025-02-19T03:44:11.000Z
---
# 彭博社欢迎公司内部聊天机器人加入国际商业银行
[原文Bloomberg Welcomes Intra-Firm Chatbots to IB](<https://www.bloomberg.com/company/press/bloomberg-welcomes-intra-firm-chatbots-to-ib/>)
2023 年 11 月 09 日
**_ 客户可使用公司内部聊天机器人推动数字化转型和协作工作流程 _**
彭博社今天宣布推出一项新的 Instant Bloomberg (IB) 附加服务以支持客户的数字化转型计划。IB ConnectIB Connect公司内部聊天机器人服务使彭博终端用户能够将专有聊天机器人添加到所有用户都是同一公司成员的 IB 聊天室中。
客户可以调用公司内部聊天机器人,自动将其内部系统中的重要信息显示在 IB 中,与同事共享,并促进内部商业智能的可发现性。
**IB Connect** 是一套服务,使彭博终端用户能够将 IB 与公司内部工作流程工具无缝集成,帮助简化与同事的协作。
**IB Connect公司内部聊天机器人**是一项新的 IB Connect 服务,在客户适用的 IB 聊天室与其内部系统之间提供双向集成。它使用自然语言处理为客户的非结构化 IB 数据提供结构和上下文,并将丰富的信息提供给客户的公司内部聊天机器人。
每个客户都可以使用提供的软件开发工具包来构建和定制自己的 IB Connect行内聊天机器人以满足其公司独特的技术堆栈和内部用户工作流程并与彭博社的 API 协议保持一致。
**ING 金融市场战略工程主管 Pieter van Gaa**l 说:"ING 的金融市场前台战略工程团队一直致力于改善客户体验。人们已经开始期待即时访问,我们认为他们对金融市场的体验也应如此。
我们使用聊天机器人已经有一段时间了,我们发现 Instant Bloomberg 中新增的公司内部聊天机器人非常适合我们的需求 "。
**Bardin Hill Investment Partners 的执行信贷主管兼投资组合经理 Philip Raciti** 说:" 在彭博社推出公司内部聊天机器人之前,我们一直在寻找一种方法,以一种可用于深度分析的结构从不同来源获取数据,并能随着时间的推移扩展功能。
我们认为 Intra-Firm Chatbots 是弥合数据鸿沟的重要一步因为它提供了一个简单、高附加值的工具促进了彭博社与我们内部系统之间的实时数据连接。Bardin Hill 实施的公司内部聊天机器人帮助我们直接访问最大的信息孤岛,同时提高流程效率。
**罗杰 - 伯奇Roger Birch产品主管彭博国际银行通信与协作系统产品主管 Roger Birch** 说:" 我们将继续投资于创新,使我们的客户能够进一步推进其数字化转型战略,并从使用 IB 中获取更多价值。
IB Connect 服务集(包括公司内部聊天机器人)将帮助我们的客户创建信息超回路,并从根本上提高协作工作流程的效率。"
彭博社目前通过 IB Connect 支持两种类型的客户聊天机器人功能:**公司内问答聊天机器人**和**公司内通知聊天机器人**。
**问答式公司内部聊天机器人**通过 IB Connect 与客户系统之间的双向通信获取可操作的情报,以回答指向公司内部聊天机器人的聊天询问。
用户可以查询其专有系统中的各种数据,然后这些聊天机器人可以直接在聊天室中生成内容(链接、表格、可视化丰富数据)。
这些与问答 Intrafirm 聊天机器人的简单互动可帮助用户及其队友高效地传递信息,并为他们的交流增加更多价值。
当发生关键事件或满足特定市场条件时,**通知型 Intrafirm 聊天机器人**会及时、主动地发出警报,并提供有意义的商业情报,而不会转移对正在进行的团队交流的注意力。
这样,用户就能在已经开展协作的 IB 环境中接收关键更新。例如,可以为交易前、执行中和交易后的工作流程发送分析、库存或订单状态更新通知。
**关于 Instant BloombergIB**
IB 帮助彭博终端用户与金融市场和彼此之间实时连接,在安全的环境中交流想法、分享可操作的信息并优化通信工作流程。
彭博还提供其他服务,使客户能够将 IB 与公司内部应用程序无缝集成,帮助简化与同事的协作。
**关于彭博终端:**
四十多年来,彭博终端通过为资本市场带来透明度和创新,彻底改变了金融服务行业。
彭博终端受到全球最具影响力的决策者的信赖,提供实时的新闻、数据、见解和交易工具,帮助我们的客户将知识转化为行动。
**关于彭博社**
彭博社是商业和金融信息领域的全球领导者,提供可信赖的数据、新闻和见解,为市场带来透明度、效率和公平性。
公司通过可靠的技术解决方案帮助连接全球金融生态系统中具有影响力的社区,使我们的客户能够做出更明智的决策并促进更好的合作。欲了解更多信息,请访问 Bloomberg.com/company 或申请演示。
**媒体联系方式**
Robert Madden, <rmadden29@bloomberg.net>, +1 (646) 807-2213

View File

@ -1,43 +0,0 @@
---
title: CSS随用随记
date: 2022-11-15T00:00:00.000Z
author: KazooTTT
tags:
- css
- 前端
- 刷题
slug: css-on-the-go
toAstro: true
description: >-
本文介绍了CSS中的一些关键技巧包括使用伪类选择器来设置HTML模块中特定li标签的背景颜色以及如何为div元素添加后伪元素并设置其样式。此外还讨论了浮动和清除浮动的概念并提供了一个实际的编程练习链接帮助读者更好地理解和应用这些CSS技术。
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:10.000Z
---
# CSS 随用随记
## 1. 请将 Html 模块中 Ul 列表的第 2 个 Li 标签和第 4 个 Li 标签的背景颜色设置成 "rgb(255, 0, 0)"
关键词:伪类选择器
```css
ul li:nth-child(2n) {
background: rgb(255, 0, 0);
}
```
![image-20221115233947891](<https://pictures.kazoottt.top/2024/04/20240407-5e745e9abfb757513c8b6853b98262b7.png>)
## 2. 请给 Html 模块的 Div 元素加一个后伪元素,且后伪元素的宽度和高度都是 20px背景颜色为 "rgb(255, 0, 0)"
![image-20221115234139207](<https://pictures.kazoottt.top/2024/04/20240407-1b6d680284da37bc6bcb8014e8ffe0e0.png>)
## 3. [浮动和清除浮动*牛客题霸*牛客网 (nowcoder.com)](<https://www.nowcoder.com/practice/88bcbaee954349f5a8810bfa94ee61a8?tpId=260&tqId=2200196&ru=%2Fexam%2Foj&qru=%2Fta%2Ffront-quick-study%2Fquestion-ranking&sourceUrl=%2Fexam%2Foj%3Fpage%3D1%26tab%3DHTML%2FCSS%26topicId%3D260>)
请将类为 "left" 的 div 元素和类为 "right" 的 div 元素在同一行上向左浮动,且清除类为 "wrap" 的父级 div 元素内部的浮动。
关键词:清除浮动
TODO:
<a href='/2022/11/15/清除浮动/'>CSS | 清除浮动</a>

View File

@ -1,24 +0,0 @@
---
slug: can-brain-science-help-us-break-bad-habits
tags:
- 摘抄
description: >-
研究表明,通过调整环境来隐藏诱惑,可以有效提高自控力。一项实验发现,当孩子们看不到面前的棉花糖时,他们能坚持的时间比看到棉花糖时更长。这表明自控力并非仅是个人内在品质,而是受环境影响的。因此,通过微调环境,我们或许能模仿那些看起来更有自制力的人。
category: 阅读笔记-阅读和翻译
date: 2024-01-07T00:00:00.000Z
title: Can Brain Science Help Us Break Bad Habits
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
date_modified: 2025-02-19T03:44:11.000Z
---
# Can Brain Science Help Us Break Bad Habits?
原文:
[Can Brain Science Help Us Break Bad Habits? | The New Yorker](<https://www.newyorker.com/magazine/2019/10/28/can-brain-science-help-us-break-bad-habits>)
翻译:
[研究表明,依靠意志力改掉坏习惯是徒劳无功的 \[译\] | 宝玉的分享](<https://baoyu.io/translations/life/can-brain-science-help-us-break-bad-habits>)
> 研究者比较了两种情况:一种是孩子们能看到面前的棉花糖;另一种则是知道棉花糖在那儿,但看不到它。结果显示,面对可见诱惑时,孩子们平均只能坚持六分钟,但如果把诱惑藏起来,他们能坚持十分钟。对 Wood 而言,这说明自控力“并非内在品质,而是我们所处环境的反映。”通过微调环境,我们也许能够模仿那些看起来更有自制力的人。
> 成功的自控,实际上来自于有效隐藏诱惑

View File

@ -6,6 +6,8 @@ tags:
- llm - llm
- chainforge - chainforge
- 工具 - 工具
finished: true
published: true
category: AI category: AI
slug: chainforge-intro slug: chainforge-intro
description: >- description: >-
@ -22,9 +24,10 @@ description: >-
environments. environments.
NotionID-notionnext: 40ec4f8d-2030-4ce1-b8c7-c1c9f56ef55b NotionID-notionnext: 40ec4f8d-2030-4ce1-b8c7-c1c9f56ef55b
link-notionnext: 'https://kazoottt.notion.site/ChainForge-40ec4f8d20304ce1b8c7c1c9f56ef55b' link-notionnext: 'https://kazoottt.notion.site/ChainForge-40ec4f8d20304ce1b8c7c1c9f56ef55b'
rinId: 8
toAstro: true toAstro: true
date_created: 2025-01-04T03:44:53.000Z date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:16.000Z date_modified: 2025-02-19T17:54:55.000Z
--- ---
# ChainForge 简单介绍 # ChainForge 简单介绍

View File

@ -1,107 +0,0 @@
---
title: CommonJS简介
date: 2023-10-17T00:00:00.000Z
author: KazooTTT
tags:
- commonjs
- JavaScript
- node
toAstro: true
slug: introduction-to-commonjs
description: >-
CommonJS是一种模块规范主要用于Node.js服务器端JavaScript应用程序。它通过`require`函数导入模块,通过`module.exports``exports`导出模块内容。在`package.json`文件中,通过设置`"type"`字段为`"commonjs"`来指定模块格式。CommonJS不支持浏览器环境是Node.js中模块管理的基础。
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-01-22T05:39:22.000Z
---
# CommonJS 简介
## 什么是 Commonjs
commonjs 是 module 的一种类型(规范)
## 使用场景
> CommonJS is mainly used in server-side JS apps with Node, as browsers don't support the use of CommonJS.
CommonJS 主要用于带有 Node 的服务器端 JS 应用程序,因为浏览器不支持使用 CommonJS。
## 如何使用
### package.json
> The "type" field defines the module format that Node.js uses for all .js files that have that package.json file as their nearest parent.
`"type"`  字段定义 Node.js 用于所有将该  `package.json`  文件作为其最近父级的  `.js`  文件的模块格式。
在 package 中不需要显示定义 type(type 的可选项是 commonjs 和 module),一般是需要用到 ESM 的时候才去定义 module。
package 的影响范围是当前文件夹以及子文件夹的所有 js 文件。ts 会被 ts 编译器转化为 js 代码)
### 语法
导入require 导出module.exports
举个例子:
```jsx
// 导出两个函数
exports.add = function (a, b) {
return a + b
}
exports.multiply = function (a, b) {
return a * b
}
```
```jsx
// 引入 math 模块
var math = require("./math")
// 使用 math 模块中的函数
var sum = math.add(5, 3)
var product = math.multiply(4, 6)
console.log("Sum:", sum)
console.log("Product:", product)
```
---
批量导入导出:
```jsx
// 定义多个实用函数
function add(a, b) {
return a + b
}
function subtract(a, b) {
return a - b
}
// 将这些函数添加到一个对象中并导出该对象
module.exports = {
add,
subtract,
}
```
```jsx
// main.js
// 引入 utils 模块
var utils = require("./utils")
// 使用 utils 模块中的函数
var sum = utils.add(5, 3)
var difference = utils.subtract(8, 2)
console.log("Sum:", sum)
console.log("Difference:", difference)
```
---
参考:

View File

@ -1,39 +0,0 @@
---
link: 'https://kazoottt.notion.site/Cta-Button-71da9f4b9152422fa99acfef23f0eaca'
notionID: 71da9f4b-9152-422f-a99a-cfef23f0eaca
slug: whats-cta-button
toAstro: true
description: >-
CTA按钮即Call to
Action按钮是网页、广告或应用程序中的重要设计元素用于鼓励用户执行特定动作如注册、购买或下载等。这些按钮通常设计醒目包含清晰的文本和明确的指示以吸引用户注意力并促使他们采取期望的行动。CTA按钮广泛应用于网站、广告、社交媒体和移动应用中是数字营销和用户互动的关键组成部分。
tags:
- CTA
- 按钮设计
- Button
- User
- Interaction
- 数字营销
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:35:26.000Z
title: Cta Button是什么
date: 2025-01-04T00:00:00.000Z
---
# Cta Button 是什么
[React Navbar - Flowbite](<https://www.flowbite-react.com/docs/components/navbar#navbar-with-cta-button>)
CTACall to Action按钮是网页、广告或应用程序中的一个设计元素旨在鼓励用户执行特定的动作或行为。这个按钮通常包含明确的文本或图标目的是引导用户完成某项任务如注册、订阅、购买、下载、分享内容等。CTA 按钮的设计和文本通常是精心制定的,以吸引用户的注意力,并激发他们的兴趣,促使他们采取所期望的行动。
CTA 按钮通常具有醒目的颜色、清晰的文本和明确的指示,以便用户能够轻松地理解要采取的行动。它们在网站、广告、社交媒体帖子、电子邮件营销和移动应用中都广泛使用,是数字营销和用户互动的关键元素之一。
一些常见的 CTA 按钮示例包括:
1. " 注册 " 按钮,用于引导用户创建账户。
2. " 购买 " 按钮,用于鼓励用户购买产品或服务。
3. " 了解更多 " 按钮,引导用户深入了解某一主题或产品。
4. " 下载 " 按钮,用于鼓励用户下载应用程序、电子书或其他资源。
5. " 分享 " 按钮,用于鼓励用户分享内容到社交媒体平台。
6. " 订阅 " 按钮,引导用户订阅新闻简报、博客或电子邮件通讯。
CTA 按钮的设计和位置在用户体验和转化率方面非常重要,因此它们通常是设计和营销策略的核心组成部分。

View File

@ -1,25 +0,0 @@
---
slug: llm
toAstro: true
description: >-
本文介绍了大型语言模型LLM中的`temperature`参数如何影响模型的输出结果。当`temperature`值较低时模型输出更确定的结果而当该值较高时模型可能产生更多样化或更具创造性的输出。此外文章还提供了学习与AI沟通的资源链接包括Learn
Prompting和Prompt Engineering Guide。
tags:
- LLM
- temperature
- randomprompt engineering生成型语言模型
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:10.000Z
title: LLM
---
# LLM
TODO
`temperature`  的参数值越小,模型就会返回越确定的一个结果。如果调高该参数值,大语言模型可能会返回更随机的结果,也就是说这可能会带来更多样化或更具创造性的产出。
[欢迎 | Learn Prompting: Your Guide to Communicating with AI](<https://learnprompting.org/zh-Hans/docs/intro>)
[提示工程指南 | Prompt Engineering Guide<!-- -->](<https://www.promptingguide.ai/zh>)
arxiv.org/abs/2201.11903

View File

@ -8,27 +8,29 @@ tags:
- 同人 - 同人
- milkpansa - milkpansa
- loverrukk - loverrukk
finished: true
published: true
category: 项目 category: 项目
slug: milklovemuv slug: milklovemuv
description: null description: null
toAstro: true toAstro: true
date_created: 2025-01-06T02:02:35.000Z date_created: 2025-01-06T02:02:35.000Z
date_modified: 2025-02-19T17:22:55.000Z date_modified: 2025-02-19T17:54:57.000Z
--- ---
[MUV家元旦24H限定食堂 - 汇总](<https://milklovemuv.com/>) [MUV家元旦24H限定食堂 - 汇总](<https://milklovemuv.com/>)
## 介绍 ## 介绍
方便后续回顾,写了一个 [#muv家元旦24h限定食堂#](<https://s.weibo.com/weibo?q=%23muv%E5%AE%B6%E5%85%83%E6%97%A624h%E9%99%90%E5%AE%9A%E9%A3%9F%E5%A0%82%23>) 的汇总网站。 方便后续回顾,写了一个 [#muv家元旦24h限定食堂#](<https://s.weibo.com/weibo?q=%23muv%E5%AE%B6%E5%85%83%E6%97%A624h%E9%99%90%E5%AE%9A%E9%A3%9F%E5%A0%82%23>) 的汇总网站。
点击卡片内的微博图标可以跳转到对应的微博,点击蓝色的外链图标可以直接跳转至查看文章或者视频的平台。 点击卡片内的微博图标可以跳转到对应的微博,点击蓝色的外链图标可以直接跳转至查看文章或者视频的平台。
非常感谢各位老师的产出 非常感谢各位老师的产出
![IMG-20250106115740490](<https://pictures.kazoottt.top/2025/01/20250106-b1e56dd97c719d35d9e7db0486caf588.png>) ![IMG-20250106115740490](<https://pictures.kazoottt.top/2025/01/20250106-b1e56dd97c719d35d9e7db0486caf588.png>)
--- ---
## 开发 ## 开发

View File

@ -1,63 +0,0 @@
---
title: Page Visibility API
date: 2024-05-22T00:00:00.000Z
author: KazooTTT
tags:
- document
- mdn
- html
- pagevisibility
toAstro: true
slug: page-visibility-api
description: >-
The Page Visibility API is a web API related to the Document object, designed
to determine whether the current document is visible to users. It is
particularly useful for pausing and resuming animations and videos when the
user switches to a different tab, thereby conserving system resources and
battery life. Additionally, it can enhance user interaction by dynamically
changing the page title based on visibility status, such as changing the title
to "你快回来" when the tab is not in focus. The API is supported by various
resources and discussions, including those on GitHub and articles by experts
like Ruan Yifeng, ensuring its compatibility and practical application in web
development.
NotionID-notionnext: 3bd51bf2-356f-4059-9d12-e8321d422a49
link-notionnext: >-
https://kazoottt.notion.site/Page-Visibility-API-3bd51bf2356f40599d12e8321d422a49
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T17:22:50.000Z
---
# Page Visibility API
[Page Visibility API - Web APIs | MDN](<https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API>)
这是一个与 Domcument 有关的 API主要用来判断当前的 document 是否可见。
具体的用途:
- **暂停/恢复动画和视频**:当用户切换到其他标签页时,暂停正在播放的视频或动画,节省系统资源和电量。当用户返回该页面时,再恢复播放。
- 为用户交互提供一些多样性,例如我们切换到其他的 tab 页的时候,博客对应的 tab 的标题变成了“你快回来”。
```js
document.addEventListener("visibilitychange", function () {
if (document.visibilityState === "hidden") {
document.title = "你快回来"
} else {
document.title = "原始标题"
}
})
```
## 协议以及相关的讨论
[GitHub - w3c/page-visibility: Page Visibility](<https://github.com/w3c/page-visibility>)
[Editorial: remove note about hidden being 'historical' by marcoscaceres · Pull Request #64 · w3c/page-visibility · GitHub](<https://github.com/w3c/page-visibility/pull/64>)
## 其他的资料
[Page Lifecycle API 教程 - 阮一峰的网络日志](<https://www.ruanyifeng.com/blog/2018/11/page_lifecycle_api.html>)
[Page Visibility API 教程 - 阮一峰的网络日志](<https://www.ruanyifeng.com/blog/2018/10/page_visibility_api.html>)
[使用 Page Visibility API  |  Articles  |  web.dev](<https://web.dev/articles/pagevisibility-intro>) 这篇文章很好地实现了兼容性

View File

@ -8,6 +8,8 @@ tags:
- Perplexity - Perplexity
- Playground - Playground
- 播客 - 播客
finished: true
published: true
category: 软件 category: 软件
slug: perplexity-productions-intro slug: perplexity-productions-intro
description: 概述Perplexity系列产品包括搜索引擎、Playground和播客重点介绍其功能和区别。 description: 概述Perplexity系列产品包括搜索引擎、Playground和播客重点介绍其功能和区别。
@ -15,7 +17,7 @@ NotionID-notionnext: ae2fba46-af30-4bd5-b6d0-fe751c162800
link-notionnext: 'https://kazoottt.notion.site/01-Perplexity-ae2fba46af304bd5b6d0fe751c162800' link-notionnext: 'https://kazoottt.notion.site/01-Perplexity-ae2fba46af304bd5b6d0fe751c162800'
toAstro: true toAstro: true
date_created: 2025-01-04T03:44:53.000Z date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:16.000Z date_modified: 2025-02-19T17:54:55.000Z
--- ---
# Perplexity 系列产品 # Perplexity 系列产品

View File

@ -9,6 +9,8 @@ tags:
- obs - obs
- VirtualSoundCard - VirtualSoundCard
- BlackHole2ch - BlackHole2ch
finished: true
published: true
slug: >- slug: >-
possible-causes-and-solutions-for-focusee-switching-system-audio-to-speaker-playback-forcibly-en possible-causes-and-solutions-for-focusee-switching-system-audio-to-speaker-playback-forcibly-en
description: >- description: >-
@ -20,10 +22,11 @@ description: >-
NotionID-notionnext: 80f19b4c-d207-45a0-bbbb-39641a9dc330 NotionID-notionnext: 80f19b4c-d207-45a0-bbbb-39641a9dc330
link-notionnext: >- link-notionnext: >-
https://kazoottt.notion.site/Possible-Causes-and-Solutions-for-Focusee-Switching-System-Audio-to-Speaker-Playback-forcibly-80f19b4cd20745a0bbbb39641a9dc330 https://kazoottt.notion.site/Possible-Causes-and-Solutions-for-Focusee-Switching-System-Audio-to-Speaker-Playback-forcibly-80f19b4cd20745a0bbbb39641a9dc330
rinId: 39
category: 软件 category: 软件
toAstro: true toAstro: true
date_created: 2024-12-02T03:03:21.000Z date_created: 2024-12-02T03:03:21.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:57.000Z
--- ---
# Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback Forcibly # Possible Causes and Solutions for Focusee Switching System Audio to Speaker Playback Forcibly

View File

@ -1,18 +0,0 @@
---
slug: react-design-principles-reading
toAstro: true
description: >-
React设计原理的核心概念是将用户界面UI定义为状态state的函数f即UI =
f(state)。这一公式简洁地表达了React如何通过状态的变化来更新界面的工作原理。
tags:
- React设计原理
- UI设计原理
- 状态管理
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:10.000Z
title: React设计原理阅读
---
# React 设计原理阅读
UI = f(state)

View File

@ -10,6 +10,8 @@ tags:
- Software - Software
- Review - Review
- Refund - Refund
finished: true
published: true
category: 软件 category: 软件
slug: focusee-macos-review-en slug: focusee-macos-review-en
description: >- description: >-
@ -19,9 +21,10 @@ description: >-
NotionID-notionnext: c692f30c-bcbc-48fd-9739-19e23a3e1e40 NotionID-notionnext: c692f30c-bcbc-48fd-9739-19e23a3e1e40
link-notionnext: >- link-notionnext: >-
https://kazoottt.notion.site/Reasons-Not-to-Recommend-Purchasing-Focusee-for-macOS-Users-c692f30cbcbc48fd973919e23a3e1e40 https://kazoottt.notion.site/Reasons-Not-to-Recommend-Purchasing-Focusee-for-macOS-Users-c692f30cbcbc48fd973919e23a3e1e40
rinId: 40
toAstro: true toAstro: true
date_created: 2024-12-02T03:03:21.000Z date_created: 2024-12-02T03:03:21.000Z
date_modified: 2025-02-19T17:22:54.000Z date_modified: 2025-02-19T17:54:57.000Z
--- ---
# Reasons Not to Recommend Purchasing Focusee for macOS Users # Reasons Not to Recommend Purchasing Focusee for macOS Users

View File

@ -1,31 +0,0 @@
---
title: Telegram bot推荐 VidDlPBot
date: 2024-06-26T00:00:00.000Z
author: KazooTTT
tags:
- Telegram
- 视频下载
- VidDlPBot
- Twitter
- TikTok
- YouTube
- Instagram
slug: telegram-bot-recommendation-viddlpbot
description: 推荐一款Telegram bot——VidDlPBot可以轻松下载Twitter、TikTok、YouTube、Instagram的视频操作简便。
category: 软件
toAstro: true
date_created: 2024-12-17T05:34:45.000Z
date_modified: 2025-02-19T03:44:14.000Z
---
# Telegram Bot 推荐 VidDlPBot
![CleanShot 2024-06-23 at 13.26.57@2x](<https://pictures.kazoottt.top/2024/06/20240626-ab6dac2fda86c4569f09c9067e0616d6.png>)
目前已支持 Twitter、TikTok、YouTube、Instagram
添加 bot 之后,直接输入要下载的链接给 bot它就会返回下载好的视频给你了。超级方便。gemoo
教学视频:
[如何快速下载视频(手机端同理)\[telegram bot推荐#1\]\_哔哩哔哩\_bilibili](<https://www.bilibili.com/video/BV1dGgkecEr7/>)

View File

@ -1,67 +0,0 @@
---
slug: what-i-learn-from-dom-to-image
toAstro: true
description: >-
This article explores the dom-to-image library, detailing the author's
experience with it, particularly in handling CORS issues when generating
images from DOM nodes. The author shares their journey of diving into the
source code to understand the library's functionality and to find alternative
solutions to CORS problems. They also discuss the structure of the project's
directory and highlight the importance of the README file and the main source
file, `src/dom-to-image.js`.
tags:
- dom-to-image
- CORS解决方案
- DOM转化
- Image生成
- 前端开发
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:10.000Z
title: What I learn from dom-to-image
---
# What I Learn from Dom-to-image
the github repo url is below:
[GitHub - tsayen/dom-to-image: Generates an image from a DOM node using HTML5 canvas](<https://github.com/tsayen/dom-to-image>)
## Why I want to Read the Source Code of This Project?
I use this lib to generate the image of mgclub post content. And When I use it, I found that it will throw out error because of [CORS](<https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS>).
Finally, I convert the images to base64 in the server side to solve the problem.
But I wonder how the lib realize the function and how can I solve the CORS in other way.
So I start reading the source code of the project.
## RoadMap
## README
the `README.md` is a good choice to start.
it tells me
1. what dom-to-image it is and what can it do
2. install
3. the way to use it (pass in Dom node and render options)
4. how it works (svg foreignObject)
## Directory Structure
```plain text
├── Gruntfile.js // dev and build config
├── LICENSE // open source litcence
├── README.md
├── bower.json // bower config
├── bower_components // for bower enable
├── dist // output
├── karma.conf.js // test
├── node_modules
├── package.json
├── spec // test
├── src // *the main file
└── test-lib
```
So we should read the `src/dom-to-image.js` mainly.
[dom-to-image源代码解析](/notes/source-code-analysis-of-dom-to-image)

View File

@ -7,11 +7,14 @@ tags:
- 前端 - 前端
- esm - esm
- module - module
finished: true
published: true
category: 前端 category: 前端
slug: dirname-is-not-defined-in-es-module-scope slug: dirname-is-not-defined-in-es-module-scope
NotionID-notionnext: 543bfc66-a416-4704-92be-9a93fed191a8 NotionID-notionnext: 543bfc66-a416-4704-92be-9a93fed191a8
link-notionnext: >- link-notionnext: >-
https://kazoottt.notion.site/__dirname-is-not-defined-in-ES-module-scope-543bfc66a416470492be9a93fed191a8 https://kazoottt.notion.site/__dirname-is-not-defined-in-ES-module-scope-543bfc66a416470492be9a93fed191a8
rinId: 14
description: >- description: >-
# ES Module 问题__dirname 不定义 在使用 # ES Module 问题__dirname 不定义 在使用
TypeScript创建的ESM文件中遇到__dirname不定义的问题通常是因为使用了module的语法应该改为ESM的写法。两种解决方法分别是改为module的写法和改为ESM的写法。 TypeScript创建的ESM文件中遇到__dirname不定义的问题通常是因为使用了module的语法应该改为ESM的写法。两种解决方法分别是改为module的写法和改为ESM的写法。
@ -23,7 +26,7 @@ description: >-
= path.dirname(__filename) ``` 这种方法推荐使用,避免了相对路径的问题。 = path.dirname(__filename) ``` 这种方法推荐使用,避免了相对路径的问题。
toAstro: true toAstro: true
date_created: 2025-01-04T03:44:53.000Z date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:15.000Z date_modified: 2025-02-19T17:54:55.000Z
--- ---
# __dirname Is not Defined in ES Module Scope # __dirname Is not Defined in ES Module Scope

View File

@ -1,187 +0,0 @@
---
title: agent-protocol代码阅读
date: 2023-12-23T00:00:00.000Z
author: KazooTTT
tags:
- JavaScript
- TypeScript
- Agent Protocol
- agent
toAstro: true
slug: agent-protocol-code-study
description: >-
本文详细介绍了一个名为Agent Protocol的JavaScript & TypeScript
SDK该库旨在统一agent的规范使不同agent之间的通信更为便捷。文章首先提供了库的文档和源代码地址并解释了其主要功能和结构。接着详细描述了库的入口点、目录结构以及如何使用tsup进行打包。此外还深入探讨了库中包含的各种方法如创建任务、列出任务ID、获取任务详情等并解释了这些方法的内部逻辑和使用方式。最后文章通过一个示例展示了如何使用Agent
Protocol启动服务并详细解释了启动过程中的每一步。
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:11.000Z
---
# Agent-protocol
下面我们先来看一下这个库的代码
文档地址:
[JavaScript & TypeScript Agent Protocol SDK - Agent Protocol](<https://agentprotocol.ai/sdks/js>)
源代码地址:
[js](<https://github.com/AI-Engineer-Foundation/agent-protocol/tree/main/packages/sdk/js>)
这个库的作用是什么?
统一 agent 的规范,让不同的 agent 之间通信更加容易。
## 入口和目录结构
这个库使用的是 tsup 来打包。
```js
import { defineConfig } from "tsup"
export default defineConfig({
entry: ["src/index.ts"],
target: "node16",
platform: "node",
format: "cjs",
minify: true,
sourcemap: true,
dts: true,
loader: {
".yml": "text",
},
})
```
在自定义 Loader 的时候有这样一行代码:
```javascript
loader: {
'.yml': 'text',
}
```
表示了 Tsup 的加载器配置。这个配置指定了当 Tsup 打包你的应用时,如何处理特定文件类型(在这种情况下是.yml 文件)。
具体来说,这个配置告诉 Tsup 在处理.yml 文件时使用 text loader。也就是说遇到 yml 文件的时候,直接把它作为纯文本文件加载到你的应用中,不进行特殊的编译或转换。
然后整个项目的结构如下:
![Pasted image 20231222231920](<https://pictures.kazoottt.top/2023/12/20231223-cf324c088da5c1c9296b9167ee0a4780.webp>)
其中 model 和 yml.d.ts 是用来定义类型的。
然后这个库的入口为 index.ts从 tsup 的配置中也能看出来), 因此只导入了 agent 和 model 模块,因此可以看出 api 是只在 agent 里面用的。
所以层级是:
index.ts --> agent.ts --> api.ts
最后导出的内容为:
```typescript
export {
type TaskInput,
type Artifact,
type StepInput,
type StepOutput,
type Step,
type StepRequestBody,
type Task,
type TaskRequestBody,
type StepHandler,
type TaskHandler,
StepResultWithDefaults as StepResult,
createAgentTask,
listAgentTaskIDs,
getAgentTask,
listAgentTaskSteps,
executeAgentTaskStep,
getAgentTaskStep,
}
export { v4 } from "uuid"
export default Agent
```
## 具体的方法
对于 Type 我们可以先不看,直接看后面的方法
### 对于 StepResultWithDefaults
这里是对于 StepResul 的一个初始化
### 对于 createAgentTask
这个方法的作用是Creates a task for the agent. 为代理创建任务。
输入是任务的信息 输出是全局的任务列表
内部的逻辑是:
跑一遍 taskHandler从 Agent 外部传进来的)
然后获取到 stepHandler
最后把任务的信息和 stepHandler 添加到全局的任务列表的最后
### 对于 listAgentTaskIDs
Lists all tasks that have been created for the agent.
列出为代理创建的所有任务。
这里的逻辑很简单,就是去遍历全局的 tasks 把它的用 uuid 创建的 task_id 给取出来放到一个数组里
### 对于 getAgentTask
Get details about a specified agent task.
获取指定代理任务的详细信息。
传入 task_id获取 task item 的信息(也就是 task 和 stephandler 的信息)
### 对于 listAgentTaskSteps
Lists all steps for the specified task.
列出指定任务的所有步骤。
根据 task_id 来查询这个 task 的所有的步骤 id
### 对于 executeAgentTaskStep
Execute a step in the specified agent task.
执行指定代理任务中的一个步骤。
传入 taskId
获取到对应的所有的任务
执行 stephandler获取到结果
然后创建一个 step把任务的 id ,step 执行结果给存进去
最后把这个 step 给添加到一个全局的 step_list 的最后
### 对于 getAgentTaskStep
Get details about a specified task step.
输入 task 和 step 的 id,查询这个 step 具体的信息
### 然后是最后的 Agent
它有一个静态的方法 taskHandler
和对外提供服务的接口化的方法 start()
它把上述所有的方法都用 express 给构建成了服务
## 如何使用?
[minimal.ts](<https://github.com/AI-Engineer-Foundation/agent-protocol/blob/main/packages/sdk/js/examples/minimal.ts>)
`Agent.handleTask(taskHandler).start()`
使用 Agent.handleTask(taskHandler).start() 来启动服务,过程中发生了什么
`Agent.handleTask(taskHandler).start()` 这一行代码的目的是通过调用 `Agent` 类的静态方法 `handleTask` 来创建一个 `Agent` 实例,然后立即调用该实例的 `start` 方法来启动服务。让我解释这个过程中发生的事情:
1. `Agent.handleTask(taskHandler)`:首先,`Agent.handleTask` 是一个静态方法,它接受两个参数,第一个参数是 `taskHandler`(任务处理程序),第二个参数是一个部分代理配置。这个方法的目的是创建一个新的 `Agent` 实例,并将 `taskHandler` 和代理配置传递给该实例的构造函数。实际上,这一步返回了一个 `Agent` 实例。
2. `.start()`: 一旦 `Agent.handleTask(taskHandler)` 返回一个 `Agent` 实例,紧接着调用了 `start()` 方法。这个方法用于启动代理服务。
- 在内部调用 `createApi(config)`,是用于创建代理的 API。
总结起来,`Agent.handleTask(taskHandler).start()` 这一行代码的作用是:
1. 创建一个代理实例,该实例具有指定的任务处理程序和配置信息。
2. 启动代理服务,并根据提供的或默认的端口号监听客户端请求。

View File

@ -1,21 +0,0 @@
---
slug: agent-collection
toAstro: true
description: >2-
探索ICLR 2024年基于大型语言模型LLM的智能代理论文合集该合集收录了最新的研究成果为研究者和开发者提供了丰富的资源和灵感。
slug: iclr-2024-llm-based-agent-论文合集 tags: ICLR 2024, LLM-based Agent, 论文合集,
人工智能研究 description: 本合集汇集了ICLR
2024年关于基于大型语言模型的智能代理的最新研究论文为人工智能领域的研究者和开发者提供了一个宝贵的资源库。
tags:
- Agent
- ICLR 2024
- LLM
- 机器人
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:11.000Z
title: agent合集
---
# Agent 合集
[ICLR 2024 LLM-based Agent论文合集](<https://www.aminer.cn/topic/65409b681512231370cbf681>)

View File

@ -1,70 +0,0 @@
---
title: ant design pro i18n-remove报错
date: 2024-02-13T00:00:00.000Z
author: KazooTTT
tags:
- antd
- eslint
- bugFix
toAstro: true
slug: ant-design-pro-i18n-remove
link: >-
https://kazoottt.notion.site/ant-design-pro-i18n-remove-6e2a745902ca4600ae306437f0cd1a9f
notionID: 6e2a7459-02ca-4600-ae30-6437f0cd1a9f
description: >-
在执行ant design
pro的i18n-remove任务时遇到了一个报错错误信息显示环境键“es2022”未知。解决方法是注释掉.eslintrc.js文件中的extends部分。此问题在GitHub的ant-design/ant-design-pro仓库的Issue#10620中有详细讨论
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-19T03:44:15.000Z
category: 前端
---
# Ant Design pro i18n-remove 报错
报错日志:
```
* 正在执行任务: pnpm run i18n-remove
> ant-design-pro@6.0.0 i18n-remove /Users/kazoottt/GitHub/KazooTTT/toolkit
> pro i18n-remove --locale=zh-CN --write
✔ 📦 load all locale file and build ts
✔ ✂️ format routes
⠋ ✂️ remove locale for src/components/Footer/index.tsx./Users/kazoottt/GitHub/KazooTTT/toolkit/node_modules/.pnpm/@eslint+eslintrc@0.4.3/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:175
throw new Error(message);
^
Error: .eslintrc.js » /Users/kazoottt/GitHub/KazooTTT/toolkit/node_modules/.pnpm/@umijs+lint@4.0.52_eslint@8.34.0_jest@29.4.3_styled-components@6.1.8_stylelint@14.8.2_typescript@4.9.5/node_modules/@umijs/lint/dist/config/eslint/index.js:
Environment key "es2022" is unknown
```
也就是
> Environment key "es2022" is unknown
这里报错了
解决方法:注释掉 extends 这里
```js
module.exports = {
// extends: [require.resolve('@umijs/lint/dist/config/eslint')],
globals: {
page: true,
REACT_APP_ENV: true,
},
}
```
## 参考
[yarn run i18n-remove报错🐛 \[BUG\] · Issue #10620 · ant-design/ant-design-pro · GitHub](<https://github.com/ant-design/ant-design-pro/issues/10620>)

View File

@ -1,25 +0,0 @@
---
title: antd switch组件错误使用案例
date: 2024-10-12T00:00:00.000Z
author: KazooTTT
tags:
- bug
description: >-
antd的switch组件错误使用案例当使用到antd的[switch](<https://ant-design.antgroup.com/components/switch-cn>)组件时需要注意其api的使用。典型情况是将checked状态与mode关联起来并在mode变化时触发回调然而这种写法会导致切换switch时不会触发回调而是等待-checked状态改变时才触发。正确的方法是使用onClick事件而不是onChange这样可以让切换switch时触发回调。
slug: antd-switch-component-misuse-example
toAstro: true
date_created: 2025-01-04T03:44:53.000Z
date_modified: 2025-02-19T03:44:15.000Z
---
# antd switch 组件错误使用案例
在使用 antd 的 [switch](<https://ant-design.antgroup.com/components/switch-cn>) 的时候,我错误地使用了 api
``` tsx
<Switch checked={mode === 1} onChange={handleModeChange} />
```
这里的 onChange 是 cheked 变化的时候触发的回调,如果想要切换 Switch 的时候触发回调,应该使用 onClick而不是 onChange。
![](<https://pictures.kazoottt.top/2024/10/20241012-3c8ddd04bc2a657d8a1a265e48b533fb.png>)

View File

@ -1,22 +0,0 @@
---
title: arm64和x64与苹果芯片的关系备忘
date: 2023-10-16T00:00:00.000Z
author: KazooTTT
tags:
- 备忘
link: 'https://kazoottt.notion.site/arm64-x64-b527f80503f241d3a0f20503eb8a9c0c'
notionID: b527f805-03f2-41d3-a0f2-0503eb8a9c0c
slug: memo-on-arm64-and-x64-in-relation-to-apple-chips
description: >-
本文旨在帮助读者理解并记忆arm64aarch64与x86_64架构的区别及其与苹果芯片和Intel芯片的关系。通过简明的记录指导读者在选择硬件时如何根据芯片类型做出正确的决策。
toAstro: true
date_created: 2024-12-02T03:03:24.000Z
date_modified: 2025-02-07T03:17:02.000Z
---
# Arm64 和 X64 与苹果芯片的关系备忘
一直记不住应该如何选择,在这里记录备忘一下
aarch64 or arm64 - 苹果芯片
x86_64 - Intel 芯片

View File

@ -5,12 +5,14 @@ author: KazooTTT
tags: tags:
- askfm - askfm
- 爬虫 - 爬虫
finished: false
published: false
category: 软件 category: 软件
slug: askfm-shutdown slug: askfm-shutdown
description: null description: null
toAstro: true toAstro: true
date_created: 2025-02-04T16:48:47.000Z date_created: 2025-02-04T16:48:47.000Z
date_modified: 2025-02-19T17:22:51.000Z date_modified: 2025-02-19T17:54:54.000Z
--- ---
今天翻了一下 todo list, 发现其中有一个是:写 askfm 爬虫 今天翻了一下 todo list, 发现其中有一个是:写 askfm 爬虫

View File

@ -1,45 +0,0 @@
---
title: astro启动报错address not available
date: 2024-03-03T00:00:00.000Z
author: KazooTTT
tags:
- astro
- ipv6
- node
toAstro: true
slug: astroaddress-not-available
description: >-
To resolve the issue with the Astro configuration, modify the
`astro.config.mjs` file by setting the `server.host` to `0.0.0.0`. This change
allows the server to accept connections from any IP address, enhancing
accessibility and functionality of the application. The updated configuration
includes integrations for MDX, sitemap, and Tailwind, ensuring a robust and
optimized web development setup.
date_created: 2025-01-04T03:34:08.000Z
date_modified: 2025-02-07T03:25:34.000Z
category: 前端
---
# Astro 启动报错 address not Available
![IMG-E0E27B1E55C89D98FD34F1BF53CD0C65](/mdImages/IMG-E0E27B1E55C89D98FD34F1BF53CD0C65.png)
解决方法:
`astro.config.mjs` 修改 server.host 为 `0.0.0.0`
```js
import { defineConfig } from "astro/config"
import mdx from "@astrojs/mdx"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
// https://astro.build/config
export default defineConfig({
site: "https://astrofy-template.netlify.app",
integrations: [mdx(), sitemap(), tailwind()],
server: {
host: "0.0.0.0",
},
})
```

Some files were not shown because too many files have changed in this diff Show More