痕迹
没有过去,就没法认定现在的自己
Context Engineering:Prompt 已死,上下文管理才是 Agent 的命脉 原帖:Rahul on X: Context Engineering for AI Agents 前言:我一开始理解偏了 最近读到一篇讲 Context Engineering…
Loop Engineering:你可能并不需要一个 Agent Loop 原帖:Codez on X: Loop engineering: the 14-step roadmap from prompter to loop designer…
Hindsight:LLM 终于能长记性了? 论文:Hindsight is 20/20 代码:https://github.com/vectorize-io/hindsight 金鱼的记忆 现在的 LLM…
How LLMs Actually Work:零基础读懂 Transformer 原文:How LLMs Actually Work by 0xkato 前言:为什么要读这篇文章? 我对 LLM 完全零基础,但一直好奇 ChatGPT、Claude、Gemini…
多线程io Redis 一直是单线程的架构,虽然有些命令可以直接用后台线程或者子线程(比如数据删除,生成快照,AOF 重写),但是,从网络 io 到实际的读写命令处理,都是由单线程执行的。 随着网络硬件的性能提升,redis 的性能瓶颈可能会出现在网络 io…
关于并查集的维基百科文章 今天学习了一下并查集这种数据结构。主要可以用于: 维护无向图的连通性,判断两个节点是否在一个集合内 判断无向图中是否有环,或者增加一条边是否形成环 相关的编程题:684. 冗余连接 并查集一般会有…
https://leetcode-cn.com/problems/degree-of-an-array/ 使用语言:Golang…
This problem was asked by Google. A unival tree (which stands for “universal value”) is a tree where all nodes under it have the same value…
https://leetcode-cn.com/problems/valid-sudoku/ 使用语言 Go 题解: 其实解题思路挺简单,想清楚怎么检查每个元素是否合法即可。对于数独来讲,横竖每个数字只能出现一次,每个 3x3 九宫格只能出现一次。我直接定义了一个 map…
https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array/ 解: 思路: 题目中一看到时间复杂度要求为 O(logn…