I 3D Printed parts that burn like NASA’s Rocket Fuel ⌘ Read more
About Telegram’s new translation feature
Telegram is developing updates and new features like crazy, they just released the 12th major update this year. One of the new features is the translation of chat messages from a foreign language to your own. ⌘ Read more
** Star Wars, and a year in review **
I tried to write a“ year in review” kinda post, but it got wicked melodramatic pretty fast. This year has been a slog…it really fucking sucked.
Rather than reflect on it further, I thought I’d write about something vapid that I’ve been thinking a bit about lately instead: Star Wars.
Despite my best efforts, I’ve always loved Star Wars. As a child I spent hundreds of hours pouring over novels, and comics, and books of sch … ⌘ Read more
🙌 Liked: Stampadia, print and play roguelike ⌘ Read more
Formatting Meeting
⌘ Read more
Things You Thought You Knew - Bada Bing! with Neil deGrasse Tyson ⌘ Read more
[47°09′25″S, 126°43′12″W] Reading: 1.22000 PPM
Git Overview - Computerphile ⌘ 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
“Consider SQLite”
I am convinced of SQLite. For many use cases where other databases like MySQL, MariaDB or PostgreSQL are often used, SQLite would suffice, given the right design and architecture. ⌘ Read more
平凯星辰获评《金融电子化》2021 金融业新技术应用创新突出贡献奖
近日,《金融电子化》杂志社发布了 “2021 第十二届金融科技应用创新奖” 评选结果,平凯星辰(北京)科技有限公司(以下简称 “平凯星辰”)榜上有名,这是对平凯星辰在金融科技领域的创新成果与能力的充分肯定。

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
[深圳] 百度 BFE 项目招聘 Go 研发工程师
团队简介百度智能负载均衡团队负责维护 BFE 开源项目,并研发负载均衡商业产品。
BFE 是基于 Go 语言的七层负载均衡系统,已经在百度内经过多年的研发,每天转发万亿级的请求。BFE 于 2019 年 7 月开源,2020 年 6 月成为 CNCF 官方项目。
除百度以外,BFE 已经被 360、用友网络、招商银行、央视网等公司或机构使用。
BFE 开源项目地址:
Go 中这么多创建 error 的方式,你真的了解它们各自的应用场景吗
大家好,我是渔夫子。今天从应用场景的角度来聊聊我对 error 的理解。
原文链接: https://mp.weixin.qq.com/s/ncEemMJ0kQayVPJrnF9aew
01 什么是 Error在 Go 中,error 是一种内建的数据类型。在 Go 中被定义为一个接口,定义如下:
<span class="c">// The error built-in interface type is the conventional interface for< ... ⌘ [Read more](https://gocn.vip/topics/20911)
🙌 Liked: Hempuli’s blog >> Snake nest ⌘ Read more
Moonfall
⌘ Read more
Peter Saint-Andre: 2021 Readings
As best I can reconstruct it, here are the books I read in 2021. Not included are scholarly papers, essays, and other short works. I’ve provided links to books that are available online at my monadnock.net website for works in the public domain…. ⌘ Read more
[47°09′47″S, 126°43′48″W] Reading: 1.52000 PPM
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
Neil deGrasse Tyson Explains Wind ⌘ Read more
GitHub’s top 10 blog posts of 2021
As the year winds down, we’re highlighting some of the incredible work from GitHub’s engineers, product teams, and security researchers. ⌘ Read more
web0?
With all the hype (or bullshit) about “web3”, it’s good to see a counter movement as well. Whether this site is really “web0” or just pre-“Web 2++” (my term for websites overloaded with frameworks, JavaScript and CSS) remains to be debated… ⌘ Read more
Trying to get down to Reading List Zero before I need to go back to work next year. The latest to be removed from the list because I read the thing: https://ngnghm.github.io/
[47°09′04″S, 126°43′21″W] Reading: 0.40 Sv
PingCAP x 亚马逊云科技,为 TiDB 云端体验 “加冕”
2021 年 9 月,TiDB 登陆亚马逊云科技 Marketplace(中国区),为数据库用户和 PingCAP 自身带来了多方面的成效。
为了帮助更多的数据库用户从云原生的架构中获益,PingCAP 决定与亚马逊云科技合作,并由亚马逊云科技核心咨询合作伙伴南京伊克罗德信息科技有限公司(以下简称 “伊克罗德”)提供相关技术支持服务,一同在云上在线事务与在线分析处理方面 … ⌘ Read more
Not enough tests
GoBlog’s test coverage is increasing (currently about 41%), but I keep being reminded there is nothing like enough or even too many tests. I still find some stupid bugs that aren’t covered by automatic tests. ⌘ 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
梦想总是要有的 - 工作 20 年程序员的 2021 年度总结
跌宕起伏的 2021 年快要过去了,今年对我来说经历的实在太多,提笔做个简单的总结吧。
去年的年终总结,我给自己立了两个 flag。
第一个虽然不可量化,不是一个好的目标,但我认为完成的还是不错的,go-zero 的工程效率已经得到了社区的广泛认可,感谢所有使用和� … ⌘ Read more
Confounding Variables
⌘ 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
可自搭建网盘并支持多家云存储的公有云文件系统 cloudreve
可自搭建网盘并支持多家云存储的公有云文件系统 cloudreve 什么是 cloudreve?Cloudreve 可以让您快速搭建起公私兼备的网盘系统。Cloudreve 在底层支持不同的云存储平台,用户在实际使用时无须关心物理存储方式。你可以使用 Cloudreve 搭建个人用网盘、文件分享系统,亦或是针对大小团体的公有云系统。
cloudreve 特性- ☁️ 支持本机、 … ⌘ Read more
Peter Saint-Andre: Meditations on Bach #9: Musical Monadology
In meditation #7 of this series, I took note of some similarities between the aesthetics of Aristotle and the music of Bach. Another intriguing influence might be the monadology of Gottfried Wilhelm Leibniz (1646-1716), who directly influenced philosophers and musical theorists in the Bach’s orbit: for instance, Bach’s student Lorenz Mizler (1711-1778) was a follower of the Leibniz scholar Christian Wolff (1679-1754). In chapter 5 of his book Music in the Culture of th … ⌘ Read more
[47°09′51″S, 126°43′47″W] Reading: 0.79 Sv
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
Toi aussi, gère la page Facebook d’un parti belge - Médor ⌘ Read more
Merry Christmas! 🎄🎅 ⌘ Read more
[47°09′58″S, 126°43′56″W] Reading: 0.77000 PPM
DM 分库分表 DDL “乐观协调” 模式介绍丨 TiDB 工具分享
前言DM 支持在线执行分库分表的 DDL 语句(通称 Sharding DDL),先前的文章中,我们介绍了悲观模式,即当上游一个分表执行某一 DDL 后,这个分表的迁移会暂停,等待其他所有分表都执行了同样的 DDL 才在下游执行该 DDL 并继续数据迁移。
悲观协调模式的优点是可以保证迁移到下游的数据不会出错,并且能兼容大部分的 DDL 语句,缺点是会暂停� … ⌘ 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
December 25th Launch
⌘ Read more
Cosmic Queries – Living in a Simulation with Neil deGrasse Tyson and Nick Bostrom ⌘ Read more
🙌 Liked: Lisp in Life - Conway’s Game of Life ⌘ Read more
Docker’s Top 10 Most Popular Blogs in 2021
As 2021 comes to an end, it’s time to look back on our top 10 most-read blogs of the year. They cover a range of topics, from updates to our subscription pricing to product announcements to security threats. Here’s a quick summary, starting with the most popular, then ordered by topic. Updates and extensions to […]
The post Docker’s Top 10 Most Popular Blogs in 2021 … ⌘ Read more
Secure Docker Compose stacks with CrowdSec - The open-source & collaborative IPS
Testing this at the moment, quite happy with the results for one of my VPS running Funkwhale that came from a mix of Wordpress / Ampache, wordpress was being heavily probed for vulnerabilities, login attemps etc .. ⌘ 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
直播预告丨和我们一起过圣诞吧!Hackathon 创意攻略等你查收
叮叮当~ 叮叮当~ 圣诞节马上到啦~TiDB Hackathon 2021 的战队集结也接近尾声,已经报名的小伙伴是不是已经等不及啦?2022年1月8日- 9 日,各位小伙伴就要同台竞技啦!( 点击 链接 **,立即� … ⌘ Read more
Go 实战 | 一文带你搞懂从单队列到优先级队列的实现
原文链接: https://mp.weixin.qq.com/s/bPLRcsmSO5_MvqN8F812zQ
大家好,我是「Go 学堂」的渔夫子,今天跟大家聊聊在我们项目中的优先级队列的实现及应用场景。
优先级队列概述队列,是数据结构中实现先进先出策略的一种数据结构。而优先队列则是带有优先级的队列,即先按优先级分类,然后相同优先级的再 … ⌘ Read more
Log4J & JNDI Exploit: Why So Bad? - Computerphile ⌘ Read more
Why you always feel so mentally drained. ⌘ 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
Erlang Solutions: Dynamic XMPP domains in MongooseIM
IntroductionMongooseIM is a robust instant messaging server focused on scalability and performance. It makes use of XMPP (Extensible Messaging and Presence Protocol), an open technology used mainly to develop instant messaging solutions. The protocol is highly extensible and has a very active community supporting it, which results in a variety of possible use cases, be it one-to-one text messaging, mobile group chat or collecti … ⌘ Read more
Bookmarked : A Declaration of the
Interdependence of Cyberspace ⌘ Read more
👅 ⌘ Read more
干货来了!神州数码 CIO 沈旸揭秘 Hackathon 背后的 TiDB 生态丨 TiDB Hackathon 评委访谈
你多久没仅为 Have fun 去写一段代码?
你多久没为实现一个天马行空的 idea 而兴奋不已?你又多久没为和团队一起 Coding 而干劲十足了?来 TiDB Hackathon 吧,这些体验都能找到!
TiDB Hackathon 2021 已于 12 月 9 日起正式开启报名,我们已经� … ⌘ Read more
Rapid Test Results
⌘ Read more
Neil deGrasse Tyson Explains the James Webb Space Telescope ⌘ Read more
How GitHub contributed to the Santa Clara Principles update
GitHub was honored to contribute to the Santa Clara Principles on Transparency and Accountability in Content Moderation 2.0. ⌘ 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
👅 ⌘ Read more
[47°09′45″S, 126°43′06″W] Reading: 1.64000 PPM
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
We need to talk about the 2022 Election | with Simon Holmes à Court ⌘ Read more
DM 分库分表 DDL “悲观协调” 模式介绍丨 TiDB 工具分享
背景
TiDB 作为分库分表方案的一个 “终结者”,获得了许多用户的青睐。在切换到 TiDB 之后,用户告别了分库分表查询和运维带来的复杂度。但是在从分库分表方案切换到 TiDB 的过程中,这个复杂度转移到了数据迁移流程里。TiDB DM 工具为用户提供了分库分表合并迁移功能,在数据迁移的过程中,支持将分表 DML 事件合并迁移,并一定程度支持上� … ⌘ Read more
Prosodical Thoughts: Prosody 0.11.11 released
We are pleased to announce a new minor release from our stable branch.
This release contains some fixes to PEP to control memory usage, along
with a small batch of fixes for issues discovered since the last
release.
This will likely be the last release of the 0.11 branch.
A summary of changes in this release:
Fixes and improvements- net.server_epoll: Prioritize network events over timers to improve performance under heavy load
- mod_p … ⌘ Read more
** Olophont.js **
In Lord of the Rings there are creatures that look like giant elephants. JRR Tolkien named these creatures“olophonts…” simply replacing every vowel in the word elephant with an o. Here is a javascript function to do the same thing.
javascript
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">olophont</span>(<span class="hljs-params">string</span>) </span>{
<span class="hljs-keyword">let</span> replaceVowels = <span class="hljs-string">""</span> ... ⌘ [Read more](https://eli.li/2021/12/20/olophont-js)
How to leverage security frameworks and libraries for secure code
In this post, I’ll discuss how to apply OWASP Proactive Control C2: Leverage security frameworks and libraries. ⌘ Read more
The QOI File Format Specification
Last month I announced a
toy project called QOI — the Quite OK Image Format. It losslessly compresses
RGB and RGBA images to a similar size of PNG, while offering a 20x-50x
speedup in compression and 3x-4x speedup in decompression.
With the help of countless passionate people on Github, we have refined some of
the rough edges and specified exactly what … ⌘ Read more
http benchmarking 工具”go-wrk”支持 javascript 脚本了
wrk 是一个比较出名的 http benchmarking 工具,它支持用 Lua 脚本编写任务。
go-wrk 是原作者在早年开发的仿 wrk 的工具,但不支持脚本。没有脚本的话在测试稍复杂的业务时就力不从心。
现在我给加上了 JavaScript 的支持,用的 js 引擎是 Goja. 欢迎大家体验测试提 issue, 有时间的话我会继续改进。详见: [ … ⌘ Read more
全文检索库 bluge
全文检索库 bluge 推荐理由提到全文检索库,第一个想到的就是 Java 实现的 lucene,今天介绍一款 Golang 实现的全文检索库 bluge。bluge 脱胎于 Bleve,是当前 Github 比较火的搜索引擎项目 zinc 的底层索引检索库。
功能介绍bluge 索引存储支持内存,本地文件,以及扩展云存储等方式,文档字段类型支持 Text, Numeric, Date, Geo Point 等。
查询检索支持如下特性:
- 支持多种�� … ⌘ Read more
** Introducing Guava **
I’ve been fascinated by Forth and concatenative programming for a while now. I can’t remember how I initially stumbled in to it, but once I got going I’ve been unable to stop. I’m a wee bit in love with it.
Wanting to play a bit with implementing my own spin on things and having opinions about tooling, I picked up a little scripting language called [Ripen](https://felix.plesoia … ⌘ Read more
Goravel,一个功能完备、具有良好扩展能力的 Golang Web 应用程序框架,致敬 Laravel
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。 作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
项目地址: https://github.com/goravel/goravel
�� … ⌘ Read more
Immunity
⌘ Read more
Bring Assange Home. ⌘ 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
教程:如何开始使用泛型
教程:如何开始使用泛型- 原文地址: https://go.dev/doc/tutorial/generics
- 原文作者:go.dev
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w49_Tutorial_Getting_started_with_generics.md
- 译者: zxmfke
- 校对: cvley
目�� … ⌘ Read more