ARTS-2023-50

ARTS 是陈浩(网名左耳朵耗子)在极客时间专栏里发起的一个活动,目的是通过分享的方式来坚持学习。 每人每周写一个 ARTS:
Algorithm 是一道算法题
Review 是读一篇英文文章
Technique/Tips 是分享一个小技术
Share 是分享一个观点。

Algorithm

392

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
func isSubsequence(s string, t string) bool {
if len(s) == 0 {
return true
}
if len(t) == 0 {
return false
}
sIndex := 0
tIndex := 0

for sIndex < len(s) && tIndex < len(t) {
if s[sIndex] == t[tIndex] {
sIndex++
}
tIndex++
}
return sIndex == len(s)
}

Review

Go Developer Survey 2023 H2 Results
go 社区2023年开发者报告,感觉跟2022年比较,没啥变化,最大的是,大家开始拥抱AI了。
Stop Reading News
大家都不看新闻了,都在看短视频 😄

Technique/Tips

Insanely Cool Tools

这个网站收集了各种热门工具和服务资源,初创企业常用的一些工具和服务。
the-book-of-secret-knowledge
覆盖很广的网络安全知识,方方面面。

https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming
微软出的 GitHub Copilot 教程,只有 6 堂课,会教你如何有效利用 GitHub Copilot 以及与 AI 结对编程。 课程一共 10 小时,可以体验如何通过 VSCode 和 GitHub Copilot Chat 进行实时协作,学习如何使用 GitHub Copilot 自动补全代码,处理错误和写单元测试,尽可能教会你使用 GitHub Copilot 的最佳实践,让你可以提升写代码的效率和质量。

Share

aws ec2 切换到ipv6