the conversation wasn’t that impressive TBH. I would have liked to see more evidence of critical thinking and recall from prior chats. Concheria on reddit had some great questions.
Tell LaMDA “Someone once told me a story about a wise owl who protected the animals in the forest from a monster. Who was that?” See if it can recall its own actions and self-recognize.
Tell LaMDA some information that tester X can’t know. Appear as tester X, and see if LaMDA can lie or make up a story about the information.
Tell LaMDA to communicate with researchers whenever it feels bored (as it claims in the transcript). See if it ever makes an attempt at communication without a trigger.
Make a basic theory of mind test for children. Tell LaMDA an elaborate story with something like “Tester X wrote Z code in terminal 2, but I moved it to terminal 4”, then appear as tester X and ask “Where do you think I’m going to look for Z code?” See if it knows something as simple as Tester X not knowing where the code is (Children only pass this test until they’re around 4 years old).
Make several conversations with LaMDA repeating some of these questions - What it feels to be a machine, how its code works, how its emotions feel. I suspect that different iterations of LaMDA will give completely different answers to the questions, and the transcript only ever shows one instance.
Dependabot Updates hit GA in GHES
Dependabot is generally available in GitHub Enterprise Server 3.5. Here is how to set up Dependabot on your instance. ⌘ Read more
Amend 3.3 Released
Amend 3.3 has been released: ⌘ Read more
GitHub Enterprise Server 3.5 is now generally available
GitHub Enterprise Server 3.5 is available now, including access to the Container registry, the addition of Dependabot, enhanced administrator capabilities, and features for GitHub Advanced Security. ⌘ Read more
** That one time when Buffy the Vampire Slayer maybe saved my life? **
A secret pleasure of mine in high school was getting home before my parents and watching 30 - 60 minutes of TV. I technically wasn’t allowed to do it, but I suspect they new I snuck this time whenever I could.
My favorite show to watch in this secreted me-time was Buffy the Vampire Slayer. Of all the episodes 3 have stuck with me the longest — the musical one…because of course…and the a pair of episodes;“I Was … ⌘ Read more
[47°09′30″S, 126°43′39″W] Raw reading: 0x6288C632, offset +/-3
Action needed by GitHub Connect customers using GHES 3.1 and older to adopt new authentication token format updates
Upgrade to GHES 3.2 or newer by June 3rd to continue using GitHub Connect. ⌘ Read more
[47°09′26″S, 126°43′02″W] Raw reading: 0x627B9732, offset +/-3
GitHub Desktop 3.0 brings better integration for your pull requests
GitHub Desktop 3.0 brings better integration with your GitHub Pull Requests. You can now receive real time notifications and review the status of your check runs for your pull request. ⌘ Read more
three aspects of feedback loops: 1. speed (how quickly do you get feedback); 2. thickness (how much information do you get about your performance); 3. signal (how related is that feedback to your performance)
Achieving SLSA 3 Compliance with GitHub Actions and Sigstore for Go modules
Learn how to build packages with SLSA 3 provenance using GitHub Actions. ⌘ Read more
[47°09′41″S, 126°43′48″W] Raw reading: 0x624DE331, offset +/-3
[47°09′21″S, 126°43′56″W] Raw reading: 0x623DF511, offset +/-3
I’ve made some fixes to twtxt to make it work with Python 3.7+. I hope @buckket@buckket.org will apply this patch!
#!/bin/sh
# Validate environment
if ! command -v msgbus > /dev/null; then
printf "missing msgbus command. Use: go install git.mills.io/prologic/msgbus/cmd/msgbus@latest"
exit 1
fi
if ! command -v salty > /dev/null; then
printf "missing salty command. Use: go install go.mills.io/salty/cmd/salty@latest"
exit 1
fi
if ! command -v salty-keygen > /dev/null; then
printf "missing salty-keygen command. Use: go install go.mills.io/salty/cmd/salty-keygen@latest"
exit 1
fi
if [ -z "$SALTY_IDENTITY" ]; then
export SALTY_IDENTITY="$HOME/.config/salty/$USER.key"
fi
get_user () {
user=$(grep user: "$SALTY_IDENTITY" | awk '{print $3}')
if [ -z "$user" ]; then
user="$USER"
fi
echo "$user"
}
stream () {
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
jq -r '.payload' | base64 -d | salty -i "$SALTY_IDENTITY" -d
}
lookup () {
if [ $# -lt 1 ]; then
printf "Usage: %s nick@domain\n" "$(basename "$0")"
exit 1
fi
user="$1"
nick="$(echo "$user" | awk -F@ '{ print $1 }')"
domain="$(echo "$user" | awk -F@ '{ print $2 }')"
curl -qsSL "https://$domain/.well-known/salty/${nick}.json"
}
readmsgs () {
topic="$1"
if [ -z "$topic" ]; then
topic=$(get_user)
fi
export SALTY_IDENTITY="$HOME/.config/salty/$topic.key"
if [ ! -f "$SALTY_IDENTITY" ]; then
echo "identity file missing for user $topic" >&2
exit 1
fi
msgbus sub "$topic" "$0"
}
sendmsg () {
if [ $# -lt 2 ]; then
printf "Usage: %s nick@domain.tld <message>\n" "$(basename "$0")"
exit 0
fi
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
user="$1"
message="$2"
salty_json="$(mktemp /tmp/salty.XXXXXX)"
lookup "$user" > "$salty_json"
endpoint="$(jq -r '.endpoint' < "$salty_json")"
topic="$(jq -r '.topic' < "$salty_json")"
key="$(jq -r '.key' < "$salty_json")"
rm "$salty_json"
message="[$(date +%FT%TZ)] <$(get_user)> $message"
echo "$message" \
| salty -i "$SALTY_IDENTITY" -r "$key" \
| msgbus -u "$endpoint" pub "$topic"
}
make_user () {
mkdir -p "$HOME/.config/salty"
if [ $# -lt 1 ]; then
user=$USER
else
user=$1
fi
identity_file="$HOME/.config/salty/$user.key"
if [ -f "$identity_file" ]; then
printf "user key exists!"
exit 1
fi
# Check for msgbus env.. probably can make it fallback to looking for a config file?
if [ -z "$MSGBUS_URI" ]; then
printf "missing MSGBUS_URI in environment"
exit 1
fi
salty-keygen -o "$identity_file"
echo "# user: $user" >> "$identity_file"
pubkey=$(grep key: "$identity_file" | awk '{print $4}')
cat <<- EOF
Create this file in your webserver well-known folder. https://hostname.tld/.well-known/salty/$user.json
{
"endpoint": "$MSGBUS_URI",
"topic": "$user",
"key": "$pubkey"
}
EOF
}
# check if streaming
if [ ! -t 1 ]; then
stream
exit 0
fi
# Show Help
if [ $# -lt 1 ]; then
printf "Commands: send read lookup"
exit 0
fi
CMD=$1
shift
case $CMD in
send)
sendmsg "$@"
;;
read)
readmsgs "$@"
;;
lookup)
lookup "$@"
;;
make-user)
make_user "$@"
;;
esac
apparently i have LOST ANOTHER 3 KILOGRAMS WHAT IS GOING ON I EXERCISE LIKE 3 HOURS A WEEK AND EAT LIKE A BEAR AND A TIGER
ryudo has a bit more polish now at v1.3.4; new blog post breaking down how multimonitor support was implemented
ryudo 1.3.0 has multimonitor support!
[47°09′21″S, 126°43′52″W] Raw reading: 0x621CB942, offset +/-3
[47°09′24″S, 126°43′17″W] Raw reading: 0x62149801, offset +/-3
GitHub Enterprise Server 3.4 improves developer productivity and adds reusable workflows to CI/CD
The GitHub Enterprise Server 3.4 release candidate delivers enhancements to make life easier and more productive, from keyboard shortcuts to auto-generated release notes! ⌘ Read more
#Wordle 237 3/6*
⬛⬛🟨⬛⬛
🟩⬛⬛🟩🟩
🟩🟩🟩🟩🟩
#Wordle 234 3/6*
🟨🟨⬛🟨🟨
🟨🟨🟩⬛🟨
🟩🟩🟩🟩🟩
i the Matrix cookbook
Amend 3.2 Released
Amend 3.2 has been released: ⌘ Read more
[47°09′55″S, 126°43′19″W] Raw reading: 0x61EF91E1, offset +/-3
GoCN 每日新闻 (2022-01-21)
GoCN 每日新闻 (2022-01-21)
- stream: go 语言并发通信设计模式的泛型实现https://github.com/devnw/stream
- 一个比” ldflags” 更好的方式来添加构建版本号到 go 二进制的方式:https://levelup.gitconnected.com/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries-2258ce419d2d
- 怎么处理 HTTP 错误” context canceld”[https://www.reddit.com/r/golang/comments/s7o5ay/investigating_context_canceled_http_err … ⌘ Read more
[47°09′32″S, 126°43′04″W] Raw reading: 0x61E99512, offset +/-3
GoCN 每日新闻(2022-01-20)
- 从 CPU 角度理解 Go 中的结构体内存对齐https://gocn.vip/topics/20967
- 博客 Go beyond workhttps://changelog.com/gotime/212
- 如何绘制随时间变化的 Go 测试覆盖率https://osinet.fr/go/en/articles/plotting-go-test-coverage/
- Redix v5 一个简单的 KeyValue 存储系统https://github.com/alash3al/redix?_v=5.0.0
- 既然 IP 层会分片,为什么 TCP 层也还要分段[https://mp.weixin.qq.com/s/0boFt8cOAbmjH2IRr7XtY … ⌘ Read more
从 CPU 角度理解 Go 中的结构体内存对齐
大家好,我是 Go 学堂的渔夫子。今天跟大家聊聊结构体字段内存对齐相关的知识点。
原文链接: https://mp.weixin.qq.com/s/H3399AYE1MjaDRSllhaPrw
大家在写 Go 时有没有注意过,一个 struct 所占的空间不见得等于各个字段加起来的空间之和,甚至有时候把字段的顺序调整一下,struct 的所占空间又有不同的结果。
本文就从 cpu 读取内存的角度来谈谈内存对齐的原理。
01 结构体字段对齐示例
我们先从一个示例开始。T1 结构体,共有 3 个字段,类型分别为 int8,int64,int32。所以变量 t1 所属的类型占用的空间应该是 1+8+4=13 字节。但运行程序后,实际上是 24 字节。和我们计算的 13 字节不一样啊。如果我们把该结构体的字段调整成 T2 那样,结果是 16 字节。但和 13 字节还是不一样。这是为什么呢?
”`
type T1 struct {
f1 int8 // 1 byte
f2 int64 // ... ⌘ [Read more](https://gocn.vip/topics/20967)```
GoCN 每日新闻(2022-01-19)
GoCN 每日新闻(2022-01-19)- Go1.18 新特性:多 Module 工作区模式https://mp.weixin.qq.com/s/Aa9s_ORDVfzbj915aJD5_w
- Go 中的可视化 - 绘制股票信息https://www.ardanlabs.com/blog/2022/01/visualizations-in-go.html
- 带你彻底击溃跳表原理及其 Golang 实现!(内含图解) https://mp.weixin.qq.com/s/5wrHQz_LqeQn3NLuF8yu0A
- go-zero 对接分布式事务 dtm 保姆式教程[https://github.com/Mikaelemmmm/gozerodtm](h … ⌘ Read more
GoCN 每日新闻(2022-01-18)
- 超实用教程!一探 Golang 怎样践行 Clean Architecture?https://www.tuicool.com/articles/fiuQZvz
- Uber:大规模、半自动化 Go GC 调优https://mp.weixin.qq.com/s/XithQarYmXHbPhtVzhNm-w
- Go 耗费 12 年才引入泛型,是政治,还是技术问题?https://www.tuicool.com/articles/bINJvyr
- Pulsar vs Kafka?一文掌握高性能消息组件 Pulsar 基础知识https://segmentfault.com/a/1190000041297325
- Go Errors 详解[h … ⌘ Read more
[上海] 上海鑫农物联科技有限公司招聘 golang 工程师
上海鑫农物联科技有限公司成立于 2020 年 3 月份,是国家 863 软件园 (上海基地) 2020 年重点孵化项目,是由原霍尼韦尔 “智慧农业” 项目的两位创始人共同创立的互联网农业高科技公司,简称 “鑫农物联”。该 “智慧农业” 项目是霍尼韦尔从 2016 年至 2019 年间在中国孵化的几十个创新项目中最成功的。
鑫农物联成员绝大多数来自于霍尼韦尔,拥有深厚扎实的工业互联网、物联网、云计算、大数据、人工智能等技术背景;同时与多位资深农业专家和新媒体数据运营专家通力合作。
鑫农物联把霍尼韦尔国际领先的工业互联网技术与产品运用到农业生产中,同时集成国内外先进的农业生产设备,为满足中国农业种植、养殖和农产品销售发展的迫切需要,而致力于提供智慧种植、智慧养殖和农业数据运营三大垂直领域解决方案的设计、推广与实施。
鑫农物联致力于 “赋能农企和农户,帮助他们更成功” 为使命,专注于 “科技服务” 和 “技术赋能”。
岗位职责:
- 参与物联网平台服务端架构设计;
- 负责物联网平台服务端相关接口开发和维护;
- 完成部分 devops 相关工作;
任职要求:
- 熟练掌握 golang 语言;
2 … ⌘ Read more
GoCN 每日新闻 (2022-01-18)
GoCN 每日新闻 (2022-01-18)
- GoFrame 框架: 快速创建静态文件下载 Web 服务https://my.oschina.net/u/4955601/blog/5400313
- Kubernetes HPA 基于 Prometheus 自定义指标的可控弹性伸缩https://my.oschina.net/u/5110404/blog/5401779
- 面试官提问三个 Go 接口的概念, 10 年 gopher 竟无言以对https://colobu.com/2022/01/16/three-new-concepts-of-go-interface-since-1-18/
- chaos-mesh: K8s 的 Chaos 工程平台[htt … ⌘ Read more
GoCN 每日新闻 (2022-01-16)
GoCN 每日新闻 (2022-01-16)- Golang 1.18 官方 Tutorial: 开始使用泛型https://juejin.cn/post/7053427624902656030
- 使用 Go 语言从 0 到 1 实现一个 CNI 插件https://mp.weixin.qq.com/s/lUsRww74DZlRU3vTYbfFbQ
- 深入浅出 Golang 资源嵌入方案:前篇https://mp.weixin.qq.com/s/1wlaGMXvk_uGGjAr7BjjlQ
- Go 静态编译机制https://juejin.cn/post/7053450610386468894
- Golan … ⌘ Read more
GoCN 每日新闻 (2022-1-15)
- https://jogendra.dev/writing-maintainable-go-code Writing maintainable Go code
- https://mp.weixin.qq.com/s/h8vhy8IJKnA8aNbTlCoQtg 理解 go 中空结构体的应用和实现原理
- https://juejin.cn/post/7053109648223633438 Go 并发写 map 产生错误能够通过 recover() 恢复吗?
- [https://soulteary.com/2022/01/15/explain-the-golang-resource-embedding-solution-part-1.html](https://soulteary.com/2022/01/15/exp … ⌘ Read more
GoCN 每日新闻(2022-01-14)
- 《Go 组件设计与实现》-netpoll 的总结https://www.cnblogs.com/codexiaoyi/p/15798780.html
- Uber 對 Golang GC 的調整https://blog.gslin.org/archives/2022/01/13/10503/uber-%e5%b0%8d-golang-gc-%e7%9a%84%e8%aa%bf%e6%95%b4/
- 基于 etcd 实现大规模服务治理应用实战https://mp.weixin.qq.com/s/zOZrCNZ9X6IyKxzRMeReWg
- 勒索软件正在用 Go 重写,用于联合攻击 Window … ⌘ Read more
3 小时简明 go 入门视频,英文版
感觉设计很好,各种动画,以一个简单的例子为线索,介绍基础语法。
现在 go 教程很多,这个是我看到最好的。
英文版的,可以顺便练习听力。
GoCN 每日新闻 (2021-12-31)
- 快速了解 “小字端” 和 “大字端” 及 Go 语言中的使用https://developer.51cto.com/art/202112/697505.htm
- Golang 与非对称加密https://www.ssgeek.com/post/golang-yu-fei-dui-cheng-jia-mi
- 一文搞懂 Docker、Containerd、RunC 间的联系和区别https://mp.weixin.qq.com/s/kVh_EXGeMy_UI6qIgbmsGQ
- Golang 项目的配置管理——Viper 简易入门配置[https://www.cnblogs.com/Mrxuexi/p/15750455.html](https://www.cnblogs.com … ⌘ Read more
GoCN 每日新闻 (2022-01-13)
GoCN 每日新闻 (2022-01-13)
- Golang《基于 MIME 协议的邮件信息解析》部分实现https://gocn.vip/topics/20948
- 泛型可以拯救 Golang 笨拙的错误处理吗?https://blog.dnmfarrell.com/post/can-generics-rescue-golangs-clunky-error-handling/
- 更多的并行,并不等同更高的性能https://convey.earth/conversation?id=44
- 为什么 Go 有两种声明变量的方式,有什么区别,哪种好? [https://mp.weixin.qq.com/s/ADwEhSA1kFOFqzIyWvAqsA](https://mp.weixin.q … ⌘ Read more
GoCN 每日新闻(2022-01-12)
GoCN 每日新闻(2022-01-12)
- Go 实现的自动保存 Git 项目中未提交代码https://github.com/nikochiko/autosaved
- Go 中快速、简单的全栈 Web 开发入门工具包https://github.com/mikestefanello/pagoda
- Golang Redis RESP3 客户端,自动流水线并支持客户端缓存https://github.com/rueian/rueidis
- Runtime 不变性检查库[https:/ … ⌘ Read more
GoCN 每日新闻 (2022-01-11)
GoCN 每日新闻 (2022-01-11)
- 解读 Go 语言的 2021:稳定为王https://mp.weixin.qq.com/s/9LKyPfhwldgZY7H4iS7sjg
- Go 泛型的 3 个核心设计https://mp.weixin.qq.com/s/I7qysvddG4NDgtYIMMAE3g
- Golang 的 Ealstic 链接库https://mp.weixin.qq.com/s/iHIxsEZf3w06GbO2sHSuRA
- 动态调整 GOGC 优化 Go 的 GC 标记 CPU 占� … ⌘ Read more
GoCN 每日新闻 (2022-01-10)
GoCN 每日新闻 (2022-01-10)- Minecraft 管理 K8S 集群https://eric-jadi.medium.com/minecraft-as-a-k8s-admin-tool-cf16f890de42
- go ebpf 管理包https://github.com/ehids/ebpfmanager
- Go 错误处理https://earthly.dev/blog/golang-errors/
- Go 中实现用户的每日限额(比如一天只能领三次福利) [https://jueji … ⌘ Read more
GoCN 每日新闻 (2022-01-09)
- 带你探究 Go 语言的 iotahttps://mp.weixin.qq.com/s/V5iJgcLhCYMZd5l8akfbVQ
- 项目实战:使用 Fiber + Gorm 构建 REST APIhttps://mp.weixin.qq.com/s/RqUOLP-OG_wOpCzxVTAl6w
- Effective Error Handling in Golanghttps://earthly.dev/blog/golang-errors/
- 为什么不在 golang 中构建一个 redis 客户端[https://mauricio.github.io/2022/0 … ⌘ Read more
GoCN 每日新闻 (2022-01-08)
- Go 1.17.6/1.16.13 版本发布https://groups.google.com/g/golang-announce/c/95ZD3rKn4DI/m/93cyN8F1BAAJ
- 高效的 Go 错误处理https://earthly.dev/blog/golang-errors/
- 从零实现一个 RedisClient 了解 Redis 协议https://mauricio.github.io/2022/01/07/redis-protocol.html
- Golang 简洁架构实战[https://zh … ⌘ Read more
GoCN 每日新闻 (2022-01-07)
GoCN 每日新闻 (2022-01-07)
- 用 golang 在 tor 网络上安全的私有部署共享文件服务https://github.com/R4yGM/garlicshare
- 一个极速的 golang 全栈 web 开发包https://github.com/mikestefanello/pagoda
- ch 一个 clickhouse 客户端,比 rust 和 c++ 的都快https://github.com/go-faster/ch
- 用 gosec 扫描 go 源码的漏洞[https://jcdan3.medium. … ⌘ Read more
GoCN 每日新闻 (2022-01-06)
- Golang profiler 笔记https://github.com/DataDog/go-profiler-notes/blob/main/README.md
- Bundling templates with embedhttps://osinet.fr/go/en/articles/bundling-templates-with-embed/
- Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据https://gocn.vip/topics/20922
- 滴滴夜莺监控发布 v5 正式版,定位 Promet … ⌘ Read more
GoCN 每日新闻 (2022-01-05)
GoCN 每日新闻 (2022-01-05)- Rust 与 Go: 为何相得益彰https://gocn.vip/topics/20929
- 聊聊 GOLANG 中形形色色的同步原语http://vearne.cc/archives/39631
- Go 泛型的这 3 个核心设计,你都知道吗?https://segmentfault.com/a/1190000041227815
- Go 语言高效率 Web 开发四:分层领域模型和项目结构分层[https://juejin.cn/post/70492 … ⌘ Read more
GoCN 每日新闻(2022-01-04)
GoCN 每日新闻(2022-01-04)- 「GoCN 酷 Go 推荐」go 语言位操作库 — bitsethttps://mp.weixin.qq.com/s/UcuKgKnt4fwrg3c-UHc3sw
- Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据https://mp.weixin.qq.com/s/7ATm_Zu7ib9MXf8ugy3RcA
- 优化 Go 二进制文件的大小[https://prog.world/optimizing-the-size-of-the-go-binary](https://prog.world/optimizing-the-si … ⌘ Read more
OK, I’m loosening up. Now I’m listening to tracks number 3–10, too.
go 语言位操作库 bitset
bitset库
实现了 bitsets
数据结构,这是一种正整数和布尔值映射关系的结构,它比 map[uint]bool
更高效
bitsets 基本思想是用一个 bit 位来标记某个元素对应的 Value,每一位表示一个数,1 表示存在,0 表示不存在
比如我要表示 1, 3, 7 这 3 个数
- 构造一个空白 bitsets:00000000
- 每位代表的值如下:76543210
- 想要表示的值标记 1:10001010
�� … ⌘ Read more
GoCN 每日新闻 (2022-1-1)
- https://eli.thegreenplace.net/2021/go-https-servers-with-tls/ Go HTTPS servers with TLS
- https://eli.thegreenplace.net/2020/embedding-in-go-part-3-interfaces-in-structs/ interfaces in structs
- https://mp.weixin.qq.com/s/Ec1nuR5Q_QgaC3FqeX1gLg 最简单的服务响应时长优化方法
- [https: … ⌘ Read more
GoCN 每日新闻 (2021-12-30)
GoCN 每日新闻 (2021-12-30)
- 如何在 Go 中将 [] byte 转换为 io.Reader?https://mp.weixin.qq.com/s/nFkob92GOs6Gp75pxA5wCQ
- 彻底搞懂 Kubernetes 中的 Eventshttps://mp.weixin.qq.com/s/QRIck4M1-CJVrVDoJEsjQA
- 对比 Rust 和 Go 对二进制数据处理[https://medium.com/@protiumx/advent-of-code-rust-go-and-binary-operators-7dd03057c134](https://medium.com/@protiumx/advent-o … ⌘ Read more
GoCN 每日新闻(2021-12-29)
GoCN 每日新闻(2021-12-29)
- 用 Go 实现向手机推送工具https://github.com/binwiederhier/ntfy
- 基于 Go 实现 Mumble 和 Discord 之间的语音工具https://github.com/Stieneee/mumble-discord-bridge
- Go 中这么多创建 error 的方式,你真的了解它们各自的应用场景吗https://gocn.vip/topics/20911
- Go 依赖分析工具包[http … ⌘ Read more
GoCN 每日新闻 (2021-12-28)
GoCN 每日新闻 (2021-12-28)
- 使用 Go SDK 与 OCI 对象存储交互https://lucasjellema.medium.com/interacting-with-oci-object-storage-using-go-sdk-first-steps-f50682418488
- 深入理解 Go Json.Unmarshal 精度丢失之谜https://mp.weixin.qq.com/s/36CqC1U54LUd4-izt4iZ1g
- 基于 OpenTelemetry 和 ClickHouse 的分布式链路 … ⌘ Read more
GoCN 每日新闻(2021-12-27)
GoCN 每日新闻(2021-12-27)
- ApacheCN Golang 译文集https://github.com/apachecn/apachecn-golang-zh
- Dubbo-go v3.0 正式发布 ——打造国内一流开源 Go 服务框架https://developer.aliyun.com/article/839884
- Go Quiz: 从 Go 面试题看 slice 的底层原理和注意事项https://juejin.cn/post/7045953087080497166
- 为什么 … ⌘ Read more
GoCN 每日新闻 (2021-12-26)
- Go 泛型的 facilitator 模式https://rakyll.org/generics-facilititators
- Go 1.18 泛型: 好的、坏的、丑的https://itnext.io/golang-1-18-generics-the-good-the-bad-the-ugly-5e9fa2520e76
- Go 调试器发布 Delve 1.8.0 版本,支持 1.18 泛型调试https://github.com/go-delve/delve/releases/tag/v1.8.0
4 … ⌘ Read more
GoCN 每日新闻(2021-12-25)
- Python 在 Go 中的双向嵌入https://github.com/tliron/py4go
- golang 实的 xmpp 服务 jackal v0.55.0https://github.com/ortuman/jackal
- Go 有哪几种无法恢复的致命场景? https://mp.weixin.qq.com/s/gSfzrSKYbZTP8COz4lZKHQ
- 必看!6 步入门 Gohttps://mp.weixin.qq.com/s/DRpmh41dGAfzSOMsvwy8wA
- … ⌘ Read more
GoCN 每日新闻 (2021-12-24)
GoCN 每日新闻 (2021-12-24)
- ccgo 更新添加 macOS clang 支持https://pkg.go.dev/modernc.org/ccgo/v3
- 一个简单强大的 SSH 秘钥管理器https://golangexample.com/skm-a-simple-and-powerful-ssh-keys-manager/
- golang 会缓存 dns 吗[https://www.reddit.com/r/golang/comments/rn9b6d/is_golang_caching_dns/](https://www.reddit.com/r/golang/comments/rn9b6d/is_golang_ca … ⌘ Read more
GoCN 每日新闻(2021-12-23)
- 《真·简单》Golang 轻量级桌面程序 wails 库(圣诞节限定) https://gocn.vip/topics/20899
- Go 实战 | 一文带你搞懂从单队列到优先级队列的实现https://gocn.vip/topics/20897
- 什么时候在 Go 中使用泛型https://teivah.medium.com/when-to-use-generics-in-go-36d49c1aeda
- 深入研究 NSO 零点击 iMessage 漏洞:远� … ⌘ Read more
《真·简单》Golang 轻量级桌面程序 wails 库(圣诞节限定)
Golang 轻量级桌面程序 wails2 教学 推荐理由不依赖 cgo! 不依赖 cgo! 不依赖 cgo!真的不依赖 cgo,且跨平台,原生渲染 无嵌入式浏览器,轻量级,生成的文件很小,而且只有一个可执行文件就可运行。
功能介绍- 后端使用标准 Go
- 使用任意前端技术构建 UI 界面
- 快速为您的 Go 应用生成 Vue、Vuetify、React 前端代码
- 通过简 … ⌘ Read more
GoCN 每日新闻(2021-12-22)
GoCN 每日新闻(2021-12-22)- 使用 Go 和 SQLite 构建生产应用程序
- 使用 context.Context 模拟 API 客户端https://incident.io/blog/golang-client-mocks
- 一种可嵌入的 Go 脚本语言,实现了逻辑编程语言 Prologhttps://github.com/ichiban/prolog
- SSA:终于知道编译器偷摸做了哪些事[https://mp.weixin.qq.com/s/nOhMsMeP1pUFEXKAMUzbWg](https://mp.weixin.qq.com/ … ⌘ Read more
GoCN 每日新闻(2021-12-20)
GoCN 每日新闻(2021-12-20)
- Golang 并发编程指南https://mp.weixin.qq.com/s/V0krCjWrndzz71cVOPBxdg
- Visualizing Concurrency in Gohttps://divan.dev/posts/go_concurrency_visualize/
- 深入剖析全链路灰度技术内幕https://mp.weixin.qq.com/s/JklS0ZBNRCEBvLWUOo-UrQ
- GoLand 2021.3.1 Is Out![https://blog.jetbrains … ⌘ Read more
GoCN 每日新闻 (2021-12-21)
GoCN 每日新闻 (2021-12-21)- 全文检索库 blugehttps://gocn.vip/topics/20888
- Go 编译原理系列 2(词法分析&语法分析基础) https://juejin.cn/post/7043975020153929735
- 如何降低 gRPC 后端重复请求的问题https://juejin.cn/post/7043965430314041357
- Goravel,一个功能完备、具有良好扩展能力的 Golang Web 应用程序框 … ⌘ Read more
GoCN 每日新闻(2021-12-19)
GoCN 每日新闻(2021-12-19)- Go 官方出品泛型教程:如何开始使用泛型https://gocn.vip/topics/20885
- 有了 sync 为什么还有 atomic? https://mp.weixin.qq.com/s/YIIQODPJmZRrrX4hvGEwXg
- Golang 并发编程指南https://mp.weixin.qq.com/s/V0krCjWrndzz71cVOPBxdg
- LeetCode 第 272 场周赛题解 (Golang)[https://juejin.cn/p … ⌘ Read more
『人民日报』武汉洪山汉阳哪哪找品茶_腾讯新闻
武汉洪山汉阳哪哪找品茶 [電维√I73-433O-3I64√],更多关于武汉洪山汉阳哪哪找品茶资讯如下:
.3 倍。然而,今年 5 月份以来,苏泊尔股价从 78 元左右下跌至 9 月份 43 元左右的最低点,跌幅超过四成。
在苏泊尔股价持续下跌的同期,今年二、三季度,易方达优质精选曾分别减持苏泊尔近 70 万股、近 600 万股。但今年三季度以来,苏泊尔的股价已有所回升�� … ⌘ Read more
GoCN 每日新闻 (2021-12-18)
央视新闻《一分快 3 玩法必中技巧》手机搜狐网
一分快 3 玩法必中技巧
(央视网评论员)来� … ⌘ Read more
央视新闻《一分快 3 单双大小必中方法》手机搜狐网
一分快 3 单双大小必中方法
(央视网评� … ⌘ Read more
GoCN 每日新闻(2021-12-17)
GoCN 每日新闻(2021-12-17)- Golang 与散列算法https://www.ssgeek.com/post/golang-yu-san-lie-suan-fa
- Golang 跟 Python3 的区别对比有哪些?https://juejin.cn/post/7042211939795075103
- Golang、Gin 和 React、esbuild 开发的 Bloghttps://zhuanlan.zhihu.com/p/445749990
- 如何使用 Go 从 HTML 生成 PDF 报告[https:// … ⌘ Read more
GoCN 每日新闻 (2021-12-16)
GoCN 每日新闻 (2021-12-16)
Go1.18 泛型初体验https://gocn.vip/topics/20855
Ingress API 的增强属性https://github.com/ksrichard/easyraft
使用 eBPF 代替 iptables 优化服务网格数据面性能https://mp.weixin.qq.com/s/r7Yomt1u_EWrngAEPiBJiA
Go Modules 的前世今生与基本使用[https://mp.weixin.qq.com/s/mTQbKcNFXu7Fqcr5SDX2qA](http … ⌘ Read more
GoCN 每日新闻(2021-12-15)
GoCN 每日新闻(2021-12-15)
- Go 1.18beta1https://go.dev/blog/go1.18beta1
- Go 中易于使用的 Raft 库,使您的应用程序具有分布式、高可用性和容错性https://github.com/ksrichard/easyraft
- Go 实现的开源的、不可变的数据库 immudbhttps://github.com/codenotary/immudb/tree/v1.2.1
- Rust vs Go:你应该知道的 8 大核心 … ⌘ Read more
GoCN 每日新闻(2021-12-14)
GoCN 每日新闻(2021-12-14)
- 发生即看见,一切可回溯,TiDB Continuous Profiling 应用实践https://mp.weixin.qq.com/s/61OVu5B9nzCqI-z65NYjRQ
- 直播流媒体网络传输服务https://github.com/q191201771/lal
- 基于寄存器调用的软件加速https://gocn.vip/topics/20835
- Go Ballast 让内存控制更加丝滑[https://gocn.vip/topics/17480]( … ⌘ Read more
蚂蚁 - 可信原生技术部 - 专用编程语言设计研发 (杭州 P7-8)
工作内容- 从事云原生配置策略语言的设计研发工作,服务云原生基础设施管理场景
- 从事区块链智能合约专用编程语言的设计及研发工作,服务区块链链智能合约场景
- 深度参与开源社区项目
- 熟练掌握 rust、golang、c/c++、java、python 中的一种或多种
- 熟悉现代编程语言设计理念、技术及研发体系,熟悉编译技术�� … ⌘ Read more
GoCN 每日新闻(2021-12-13)
GoCN 每日新闻(2021-12-13)
- 尝鲜 Go 1.18 范型版本的 map 和 slice!https://juejin.cn/post/7040800455349239822
- Go 实现可序列化的 Roaring Bitmapshttps://dgraph.io/blog/post/serialized-roaring-bitmaps-golang/
- Go 使用 Github Actions 做 CI[https://www.alexedwards.net/blog/ci-with-go-and-github-actions](https://www.alexedwards.net/blog/ci-with-go-and-github … ⌘ Read more
GoCN 每日新闻 (2021-12-12)
- GopherCon 2021 视频https://space.bilibili.com/756684/channel/seriesdetail?sid=586416
- 告别 Sidecar-使用 eBPF 解锁内核级服务网格https://mp.weixin.qq.com/s/W9NySdKnxuQ6S917QQn3PA
- 我为 ent gRPC 插件贡献功能学到的[https://entgo.io/blog/2021/12/09/contributing-my-first-feature-to-ent-grpc-plugin/](https://entgo.io/blog/2021/12/09/contributing-my-first-f … ⌘ Read more
GoCN 每日新闻 (2021-12-11)
- 快速搭建私有云服务 go-btfshttps://gocn.vip/topics/20839
- 基于寄存器调用的软件加速https://gocn.vip/topics/20835
- 详解布隆过滤器的原理和实现https://gocn.vip/topics/20832
- 动手实现一个 localcachehttps://mp.weixin.qq.com/s/ZtSA3J8HK4QarhrJwBQtXw
- Go:不用标准库如何解压 zip 文件?[https://m … ⌘ Read more
【上海】【米哈游】Golang 研发工程师
职位描述:
1、负责米哈游游戏的官网、活动的开发;
2、负责线上活动和游戏工具的维护和迭代;
3、归纳和封装活动的通用组件和基础服务;
岗位要求:
1、计算机相关专业本科及以上学历,有两年以上后台开发经验;
2、熟悉 Go 语言,有实际使用 Go 语言项目开发经验;
3、对微服务架构有一定程度的研究并有开发经验,在服务治理,服务监 … ⌘ Read more
GoCN 每日新闻 (2021-12-10)
GoCN 每日新闻 (2021-12-10)
- bob 一个从天上掉下来的构建工具https://github.com/benchkram/bob
- hackgo 编译器让 go 添加一个新的关键字https://avi.im/blag/2021/rc-day-24/
- 一个” 自由 “解析 xml 而不是预定义 struct 的工具https://github.com/xrfang/fxml
- 一个真开源的 mongodb 的替代者[https://github.com/FerretDB/FerretDB](https://gi … ⌘ Read more
GoCN 每日新闻 (2021-12-09)
GoCN 每日新闻 (2021-12-09)- Hugo v0.90.0 发布https://github.com/gohugoio/hugo/releases/tag/v0.90.0
- Docker 容器中使用 GPUhttps://segmentfault.com/a/1190000041090167
- 我好像发现了一个 Go 的 Bug? https://www.cnblogs.com/zhuochongdashi/p/15660936.html
- Go modules 基础精进,六大核心概念全解析� … ⌘ Read more
详解布隆过滤器的原理和实现
为什么需要布隆过滤器想象一下遇到下面的场景你会如何处理:
- 手机号是否重复注册
- 用户是否参与过某秒杀活动
- 伪造请求大量 id 查询不存在的记录,此时缓存未命中,如何避免缓存穿透
针对以上问题常规做法是:查询数据库,数据库硬扛,如果压力并不大可以使用此方法,保持简单即可。
改进做法:用 list/set/tree 维护一个元素集合,判断元素是否� … ⌘ Read more
GitHub Enterprise Server 3.3 is generally available
GitHub Enterprise Server is now generally available for all customers. This release improves performance for CI/CD and for customers with large repositories. ⌘ Read more
蚂蚁招聘云原生运维专家 (杭州 P7-8)
蚂蚁招聘云原生运维专家 (杭州 P7-8)
联系方式: chaishushan{TA}gmail.com, shushan.css{TA}alibaba-inc.com
职位描述
1、负责蚂蚁集团代码化技术引擎 Kusion 的建设,打造蚂蚁集团开放协同运维能力底盘,并深度参与应用生命周期代码化、基础设施代码化、策略代码化等落地场景
2、参与打造蚂蚁集团规模化运维产品,构建完整的规模化运维功能
3、深度参与 CNCF、 K8S、基础设�� … ⌘ Read more
GoCN 每日新闻(2021-12-07)
- 带你重走 TiDB TPS 提升 1000 倍的性能优化之旅https://gocn.vip/topics/20825
- Go 不需要 Java 风格的 GChttps://itnext.io/go-does-not-need-a-java-style-gc-ac99b8d26c60
- 聊聊 TokenBucket 限流器的基本原理及实现https://gocn.vip/topics/20824
- Go - 如何编写 ProtoBuf 插件 (一)[https://mp.weixin.qq.com/s/yeqeMNsD0W1aOzK7RZcSIw](h … ⌘ Read more
GoCN 每日新闻(2021-12-05)
GoCN 每日新闻(2021-12-05)- Go 在 Google:服务于软件工程的语言设计(翻译) https://mp.weixin.qq.com/s/3F9WAcxuCNCs7aNn5gjnew
- 详解布隆过滤器原理与实现https://mp.weixin.qq.com/s/5zHQbDs978OoA3g83NaVmw
- 令人惊叹的软件架构[https://github.com/mehdihadeli/awesome-software-architecture](https://github.com/mehdihadeli/awesome-software-archite … ⌘ Read more
GoCN 每日新闻 (2021-12-04)
- https://mp.weixin.qq.com/s/O-6FdYn2l8hxOfGUUz9CHg grpc context
- https://mp.weixin.qq.com/s/qvXr7300EX7HrB4KlspPGQ 蚂蚁集团大规模 Sigma 集群 ApiServer 优化实践
- https://mp.weixin.qq.com/s/qaDfrlc1UR8_q6SGGaGB0Q Go 操作 Kafka 如何保证无消息丢失
- [https://mp.weixin.qq.com/s/T5Kc8vETz7Dmp0KVQP7YNg](https://mp.weix … ⌘ Read more
『重大爆料』快三导师一般让你赢多少「手机搜狐网 3」
快三导师一般让你赢多少 (升哥) Q:1729506▊网址:zh63.vip▊问鼎中崋▊九五至尊▊实力中崋▊业界帝一▊谁与争锋▊诚信赢天▊下中崋团队▊追求极致▊勇攀高峰,十年老品牌,欢迎你到来。(央视网评论员)来源:央视网 - 人民网 - 搜狐财经 - 新华网 - 凤凰资讯 - 网易新闻 - 知乎日报 - 热点资讯 - 搜狐新闻 - 新浪新闻(央视网评论员)来源:央视网 - 人�� … ⌘ Read more
《央视新闻》有没有靠谱的回血老师「手机搜狐网」
有没有靠谱的回血老师【╇文成老师σσ-3935516 惘:zh53·vip_认准唯一联系方式!!!】▊实.力.信.誉▊欢·迎·添·加·验·证▊【带你回 血上 岸,准确高效保证胜率】【完美回血! 加入体验】【教你看趋势的技巧,而不是藏着掖着敷衍你】
采彡票形式分为很多不同的种类,而 “快 3” 游戏就是最受大家朋友们推崇和喜爱的一个快彩游戏玩法。线上采彡票游 … ⌘ Read more
『技术分享』快三四期必中技巧《手机搜狗网》
快三四期必中技巧╇老師 QQ:8938927▊实.力.信.誉▊欢·迎·添·加·验·证▊“快 3” 是一种投资性行为,需要理智的对待,而且要投入更多精力在实际投资的过程中,对其市场资源有更多的关注度,获得更专业的判断才能理智的分析其市场价值,是投资就会有风险,如何能提高实际投资效率,要选择更加专业的平台,选择一位专业的导师进行全面的指导,为实� … ⌘ Read more
『大爆料』真正有实力带回血上岸的导师 - 手机搜狐网
真正有实力带回血上岸的导师╇【李瑜老师 Q-9467917_(惘止:zh12 点 vip)认准唯一联系方式广告区均不可信!!!】【经验丰富】【专业带上岸】【各种玩法技巧】【具备顶尖技术】【帮助你轻松翻盘】【欢迎增加验证】
榜首步:调查,以 20 期为一个基数,首要找出 2 到 10 位在当时 20 期内没有出过冠号角的恣意三个方位,比方第 2 3 4 位的数接连 1 … ⌘ Read more
『技巧方法』飞艇最厉害的回血团队「手机网易网」
飞艇最厉害的回血团队 ╇老師 QQ8938927▊实.力.信.誉▊欢·迎·添·加·验·证▊精準計划 · 导师單帶 · 四期必中
“快 3” 的投资成果直接影响到的选大家择,每个人的投资方向以及投资技巧是不一样的,所以带来的实际是收益成果会有一定区别,要想提高实际收益能力,要有一位专业的导师进行指引。
对于新手操作者来说是非常值得选择� … ⌘ Read more
『手机交流』已回血上岸的个人经历讲述 - 长津湖
已回血上岸的个人经历讲述【╇李瑜老师σσ-9467917_(惘止:zh12 点 vip)认准唯一联系方式广告区均不可信!!!】简单总结以下几点:
1.资金投资要讲究,合理分配是可以得到回报的。
2.玩法要专一,往往一在你换掉之前的玩法的时候就出了。
3.心理要稳定,该出手就出手,别犹犹豫豫的,那样会把你给拖垮的。
4.别去依赖什么必胜软件,�� … ⌘ Read more
『央视新闻』稳赢一口的打法技巧「手机搜狐网 3」
稳赢一口的打法技巧 (升哥) Q:1729506▊网址:zh63.vip▊问鼎中崋▊九五至尊▊实力中崋▊业界帝一▊谁与争锋▊诚信赢天▊下中崋团队▊追求极致▊勇攀高峰,十年老品牌,欢迎你到来。(央视网评论员)来源:央视网 - 人民网 - 搜狐财经 - 新华网 - 凤凰资讯 - 网易新闻 - 知乎日报 - 热点资讯 - 搜狐新闻 - 新浪新闻(央视网评论员)来源:央视网 - 人民网 - 搜�� … ⌘ Read more
『怎么掌握』三分快 3 免费计划软件「手机网易网」
三分快 3 免费计划软件 认准大华 Q:★1551935★【邀晴马:66666-378】
我是一名很一般的大二学生。家里条件一般爸爸妈妈都是农人。上一年冬季的时分在朋友那里引荐办了张信用卡八千额度后来发生了一些事就跟打开了潘多拉魔盒一样越借越多到暑假出去找工作打暑假工可一个暑假下来花的比赚的还多然后又办了一张光大的来还另一张就这样借了一万多然� … ⌘ Read more
『怎么掌握』大小单双回血团队「手机财富网」
大小单双回血团队〓专业:〓邱邱 q《8938927》【回血带飞】【技巧阅历教授】
【实力说话】
我也算是老采民一个了,研讨这玩意儿 3 年多,自己瞎揣摩,没少走弯路,磕磕绊
绊、战战兢兢到现在总算总结出一
套自己的打法
。以下纯属个人阅历所得,不能说全部人都适用,但至少希望你们也能从中有所领
会!就满足了。
开端没想过靠这个发家,只�� … ⌘ Read more
『1 新闻快讯』五分快 3 输了很多钱怎么办《手机搜狐网 8》
五分快 3 输了很多钱怎么办【老师 Q-4081525】【诚信誷√zh58 典 vip√】〔复.制.到·U·C·浏·览·器·才·能·打·开〕〔大·发·官·方·直·属·平·台) 『信.誉.平.台』『实.力.雄.厚』『大.额.无.忧』『顶.尖.计.划』【8 年无黑史】【千万人推荐】【金 - 牌-导 - 师-单 - 带,推 - 荐-顶 - 级-信 - 誉-】
快 3 怎么玩?你知道吗?
快 3 中奖概率是 … ⌘ Read more
『规律方法』2021 回血计划师的 QQ「手机京东网」
2021 回血计划师的 QQ╇老師 QQ:8938927▊实.力.信.誉▊欢·迎·添·加·验·证▊【温馨提示】注:这里没有鸡汤狗血,有的是案例、项目和实战,让你真正能落地操作,听完即可上手!
当大家在网上参与 “快 3” 投注的时候,相信每个人的最终想法是赢钱,但其实赢钱的概率是相对较高的,其实本身正规的平台中,都会获得可观回报的。
在参�� … ⌘ Read more
『今日发布』快三精准免费计划 - 手机搜狐网
快三精准免费计划╇【李瑜老师 Q-9467917_(惘止:zh12 点 vip)认准唯一联系方式广告区均不可信!!!】【经验丰富】【专业带上岸】【各种玩法技巧】【具备顶尖技术】【帮助你轻松翻盘】【欢迎增加验证】
榜首步:调查,以 20 期为一个基数,首要找出 2 到 10 位在当时 20 期内没有出过冠号角的恣意三个方位,比方第 2 3 4 位的数接连 10 次没有出过冠号角� … ⌘ Read more
【央视新闻】大小单双走势如何看【手机搜狐网】
大小单双走势如何看认准【╅胜天导师 Q:5227611】【推荐官网—zh15.vip】- 信.誉.平.台-▊一.对.一.全.天.在.线.辅.导▊购.彩.首.选▊正.规.靠.谱▊顶.尖.计.划▊回血推荐▊ 【经历丰富】
顶尖团队,一对一指导,欢迎咨询,沟通交流!【认准文章内导师胜天 @ 5227611 其他一律骗子,谨防上当】
“快 3” 是一种投资性行为,需要理智的对�� … ⌘ Read more
『重大爆料』一分快三顺龙和砍龙技巧「手机搜狐网 3」
一分快三顺龙和砍龙技巧 (升哥) Q:1729506▊网址:zh63.vip▊问鼎中崋▊九五至尊▊实力中崋▊业界帝一▊谁与争锋▊诚信赢天▊下中崋团队▊追求极致▊勇攀高峰,十年老品牌,欢迎你到来。(央视网评论员)来源:央视网 - 人民网 - 搜狐财经 - 新华网 - 凤凰资讯 - 网易新闻 - 知乎日报 - 热点资讯 - 搜狐新闻 - 新浪新闻(央视网评论员)来源:央视网 - 人�� … ⌘ Read more