你看,我就说吧。
MIT 6.5840 Lab 2: Key/Value Server (2025)
前言
Lab 的页面 6.5840 Lab 2: Key/Value Server
2025 版的 Lab2 相比 2024 版做了一些修改,取消了Append操作,增加了一个version字段。每年的 Lab 都可能会做一些修改,所有的历史页面都在这里,上面的 Lab 页面是最新年份的,阅读题目时请确认是不是 2025 年的页面。
注意,题目的要求是先实现稳定连接版本的,后面再实现 RPC 数据可能丢失的,这边直接实现最终版本。
…MIT 6.5840 Lab 1: MapReduce (2025)
前言
Lab 的页面 6.5840 Lab 1: MapReduce
补充一个小知识,论文中的 master 在这个 Lab 中改名为 coordinator,主要是因为“Black Lives Matter”活动,具体可以看一下这篇文章:为什么 Git 分支开始从“master”变为“main”了?
Lab 页面中有这样一段话:
For this lab and all the others, we might issue updates to the code we provide you. To ensure that you can fetch those updates and easily merge them using
…git pull, it’s best to leave the code we provide in the original files. You can add to the code we provide as directed in the lab write-ups; just don’t move it. It’s OK to put your own new functions in new files.
Go 语言开发个人博客网站
前言
一直想开发自己的个人博客网站。之前学过一些 Golang 在 web 开发方面的知识,为了锻炼自己的开发能力,决定基于 Golang,不使用任何框架(包括 web 框架以及 blog 框架)进行开发。
想法是好的,但我对怎么开始、需要实现哪些功能、过程中需要用到哪些库还没有一个清晰的认识。我把问题扔给了 deepseek,看看它是怎么思考的:
我: 怎么用 golang 开发像 https://www.alexedwards.net 这样的个人博客网站,并且不依赖第三方框架
deepseek 思考过程: 嗯,用户想用 Golang 开发一个像 Alex Edwards 的个人博客网站,而且不依赖第三方框架。首先,我需要回想一下 Golang 的标准库,特别是 net/http 包,因为用户要求不依赖第三方框架。我记得有几个网页提到了使用原生库的方法,比如网页7、网页9和网页10,这些可能有用。
…