摘要: { "description": "When WeChat is active, Control + P to Option + Up Arrow", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ "^com\\.tenc 阅读全文
posted @ 2025-05-17 17:11 Tifa_Best 阅读(3) 评论(0) 推荐(0)
摘要: vscode官方推荐的微软的 cpptools 既实现了 lsp 协议(提供语法高亮等),又实现了 dap 协议(调试),而且也不需要compile_commands.json ,还支持递归查找头文件。很适合 c语言项目 小型c++语言项目 文件经常变动的demo。不必写 cmake 等,更也不需要 阅读全文
posted @ 2025-04-22 22:24 Tifa_Best 阅读(259) 评论(0) 推荐(0)
摘要: #include <condition_variable> #include <deque> #include <functional> #include <iostream> #include <mutex> #include <thread> #include <vector> using na 阅读全文
posted @ 2024-10-27 00:40 Tifa_Best 阅读(8) 评论(0) 推荐(0)
摘要: 背景 MapReduce 原理介绍与开发实战 MapReduce源码解析(二)MapTask MapReduce终篇(5)—— Task的运行详解 模仿MapReduce的接口,是有一定意义的。但是像hadoop那样将中间结果落盘,似乎没必要模仿。或许可以借鉴下Spark hiactor 程序员创建 阅读全文
posted @ 2023-10-10 10:20 Tifa_Best 阅读(39) 评论(0) 推荐(0)
摘要: # windows 使用visual studio开发 [cuda-downloads](https://developer.nvidia.com/cuda-downloads) 安装cuda工具集。其中额外包含: 独立程序有: * nsight system是分析cpu+gpu系统性能的工具。 * 阅读全文
posted @ 2023-06-29 21:27 Tifa_Best 阅读(396) 评论(0) 推荐(0)
摘要: 天下苦“现代待机”久已。睡眠中的电脑莫名其妙的启动。新版的bios基本上不再支持s3传统待机 [什么是Win10的“现代待机”?为什么它未来会越来越重要?](https://zhuanlan.zhihu.com/p/114448236) 其实改造下现代待机,也能模仿成s3待机 1. 关闭Window 阅读全文
posted @ 2023-06-23 12:16 Tifa_Best 阅读(85) 评论(0) 推荐(0)
摘要: ```c #define __DEFER_CONCAT_IMPL__(s1, s2) s1##_##s2 #define __DEFER_CONCAT__(s1, s2) __DEFER_CONCAT_IMPL__(s1, s2) #if defined(__clang__) static inli 阅读全文
posted @ 2023-06-20 02:54 Tifa_Best 阅读(155) 评论(0) 推荐(0)
摘要: 分治法 分解(Divide)步骤将问题分解为一些子问题,子问题的形式与原问题一样,只是规模更小 解决(Conquer)步骤递归地求解出子问题。如果子问题的规模足够小,则停止递归,直接求解 合并(Combine )步骤将子问题的解组合成原问题的解 引用自《算法导论》 通常的遇到的需要分治法解决的问题只 阅读全文
posted @ 2022-03-24 09:59 Tifa_Best 阅读(1107) 评论(0) 推荐(0)
摘要: 区块链学习路线 各种区块链基础知识 区块链_wuzhengfei1112的博客-CSDN博客 关于区块链的新技术,如makerdao等。 阅读全文
posted @ 2021-12-12 17:17 Tifa_Best 阅读(24) 评论(0) 推荐(0)
摘要: ```c++ auto __start = std::chrono::high_resolution_clock::now(); std::cout ((std::chrono::high_resolution_clock::now() - __start)).count() ((std::chro 阅读全文
posted @ 2021-11-03 16:39 Tifa_Best 阅读(49) 评论(0) 推荐(0)