Joining Point Cloud Scans (ICP) - Computerphile ⌘ Read more
I 3D Printed a Working Transparent Steam Engine ⌘ Read more
漏桶限流库 — uber-go/ratelimit
编辑推荐:Bazinga
上次有同学分享了 单机限流器 time/rate 库,讲了 Golang 标准库中基于令牌桶实现限流组件的 time/rate 使用,同时也讲了一些限流算法原理。
这里分享一个 uber 开源的一套基于漏桶实现的用于服务限流的 golang 库 ratelimit。
漏洞算法的理解起来,相较于令牌桶,没有那么直观。因为令牌桶是限�� … ⌘ Read more
TiDB 故障诊断与性能排查:发生即看见,一切可回溯,Continuous Profiling 应用实践
在企业遭遇的 IT 故障中,约有 30% 与数据库相关。当这些故障涉及到应用系统、网络环境、硬件设备时,恢复时间可能达到数小时,对业务连续性造成破坏,影响用户体验甚至营收。在复杂分布式系统场景下,如何提高数据库的可观测性,帮助运维人员快速诊断问题,优化故障处理流程一直是困扰着企业的一大难题。
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
Notifications
⌘ Read more
Using GitHub’s security features to help identify Log4j exposure in your codebase
Use GitHub’s security features to assess Apache Log4j exposure and, where possible, mitigate this vulnerability within your GitHub repositories. ⌘ Read more
The Grace Period for the Docker Subscription Service Agreement Ends Soon – Here’s What You Need to Know
Remember the updates to our product subscription tiers we announced on August 31? You may recall we also announced a grace period for those that need to transition from a free to a paid subscription to use Docker Desktop. This is a friendly reminder that that grace period is ending on January 31, 2022. Docker […]
The post [T … ⌘ Read more
Linux Foundation spends just 3.4% of its money on Linux
Where does the Linux Foundation spend the rest of its $177 Million in revenue? Let’s take a look. ⌘ Read more
“The Web Is Fucked”
Kev Quirk has written a manifesto showing what bothers him about today’s web: ⌘ Read more
How to define security requirements for your OSS project
Defining your security requirements is the most important proactive control you can implement for your project. Here’s how. ⌘ 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
Australia’s Most Evil Corporation ⌘ Read more
Go 快速指南:go1.18 特性
- 原文地址: https://medium.com/@emreodabas_20110/quick-guide-go-1-18-features-e236d5b351ef
- 原文作者:Emre Odabas
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w48_quick_guide_go1.18_features.md
- 译者: cuua
- 校对: [zxmfke](http://github.com/z … ⌘ Read more
蚂蚁 - 可信原生技术部 - 专用编程语言设计研发 (杭州 P7-8)
工作内容- 从事云原生配置策略语言的设计研发工作,服务云原生基础设施管理场景
- 从事区块链智能合约专用编程语言的设计及研发工作,服务区块链链智能合约场景
- 深度参与开源社区项目
- 熟练掌握 rust、golang、c/c++、java、python 中的一种或多种
- 熟悉现代编程语言设计理念、技术及研发体系,熟悉编译技术�� … ⌘ Read more
用 Go + Redis 实现分布式锁
为什么需要分布式锁- 用户下单
锁住 uid,防止重复下单。
- 库存扣减
锁住库存,防止超卖。
- 余额扣减
锁住账户,防止并发操作。
分布式系统中共享同一个资源时往往需要分布式锁来保证变更资源一致性。
- 排他性
锁的基本特性,并且只能被第一个持有者持有。
- 防死锁
高并发场景下临界 … ⌘ Read more
[47°09′27″S, 126°43′56″W] Reading: 1.36000 PPM
封装 zap 日志注入 trace 信息 Trace Id(内含 gin 例子)
hlog (源码地址)- 实现自动切割文件 (基于 lumberjack 实现)
- 实现可传递 trace 信息(基于 Context 实现)
- Development bool // 是否开发模式
- LogFileDir string // 日志路径
- AppName string // APP 名字
- MaxSize int //文件多大开始切分
- MaxBackups int //保留文件个数
- MaxAge int //文件保留最大实际
- … ⌘ Read more
Go 服务通信工具 Kun
Go 服务通信工具 Kun ⌘ Read more
/g/ embracing android? ⌘ Read more
Neil deGrasse Tyson Explains Meteor Showers ⌘ Read more
GitHub’s response to Log4j vulnerability CVE-2021-44228
On Thursday, December 9, 2021, GitHub was made aware of a vulnerability in the Log4j logging framework, CVE-2021-44228. ⌘ Read more
What’s new from GitHub Changelog? November 2021 recap
We shipped a ton of updates in November, from the push notification for PR review activities on the go, to an easy way to create Markdown links. ⌘ Read more
GitHub at the UN Internet Governance Forum
Last week, GitHub joined the Internet Governance Forum to spread awareness of developers’ initiatives and public policy interests. ⌘ Read more
Sonic the Hedgehog for the C64
Seriously. ⌘ Read more
Erlang Solutions: Aleksander Lisiecki’s prize-winning eArangoDB at SpawnFest 2021
It’s tempting to say that SpawnFest is an event that doesn’t need an introduction, but we’ll give it one anyway. SpawnFest is an annual remote hackathon, where teams have exactly one weekend (48 hours to be exact) to create the best BEAM-related application … ⌘ 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
Isode: Successfully Managing HF Radio Networks
With the potential for new technologies to cause interference to traditional communications networks and even space itself at the risk of becoming weaponised, it is important to make sure that you always have a backup plan for your communications ready and waiting.
Should the worst happen and your primary network, typically SatCom, go down you need to ensure that you can still communicate with your forces wherever they are, and that c … ⌘ Read more
BigCache 针对 Go 垃圾回收的设计优化
为什么有这篇文章某一天在群里摸鱼的时候,看到群里有人问 go map 的空间回收问题,把截图贴上吧:
其实一位群友发出的问题引起了我注意,他的问题是: go 的 map 的值调用了 delete 函数是不是不会立即删除?当然这个问题如果研究过或者深入 go 的内存分� … ⌘ Read more
The Liminal Web: Mapping An Emergent Subculture Of Sensemakers, Meta-Theorists & Systems Poets ⌘ Read more
高性能中文分词库 gojieba
gojieba 是什么?gojieba 是 Python 知名分词库结巴 jieba 的 Go 语言实现版本,底层分词算法由 C++ 实现,具备很高的性能; gojieba 解决了在做文本分析,文本搜索相关业务功能时的分词需求。
gojieba 支持多种分词方式:
- 全模式:把文本中所有可能的� … ⌘ Read more
I have no idea what I’m doing… let’s sell some NFTs!
Time to see what this NFT fuss is all about. ⌘ Read more
Gift Exchange
⌘ Read more
Luxe: Insane Aussie Real-Estate ⌘ Read more
How I checked the battery health of my Android phone 🔋
My smartphone, a Samsung Galaxy S10 Lite, which has been my daily driver for a year and a few months, has a 4500mAh Li-Po battery (“lithium-ion polymer” – like lithium-ion, but with solid or gel-like electrolytes that allow a thinner design). My smartphone can be charged with a maximum of 45 watts. The included charger, which I always use for charging, delivers a maximum of 25 watts. ⌘ 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
Apache Log4j 2 CVE-2021-44228
We know that many of you are working hard on fixing the new and serious Log4j 2 vulnerability CVE-2021-44228, which has a 10.0 CVSS score. We send our #hugops and best wishes to all of you working on this vulnerability, now going by the name Log4Shell. This vulnerability in Log4j 2, a very common Java […]
The post Apache Log4j 2 CVE-2021-44228 appeared first on Docker Blog. ⌘ Read more
Every good blogging system should have an option to schedule posts for later! GoBlog now has such a feature as well. And this is the first scheduled post. 😀 ⌘ Read more
[47°09′20″S, 126°43′43″W] Raw reading: 0x61B4D911, offset +/-4
Some of our most popular technologies are becoming a means of mass coercion that open societies cannot survive. ⌘ 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
Globetrotter’s Guide to the Galaxy with Neil deGrasse Tyson ⌘ Read more
Visi On : The failed 1983 GUI that came before Windows or Macintosh
The legendary company behind VisiCalc produced a graphical desktop for PCs that shipped before Windows or the first Macintosh. ⌘ Read more
Ignite Realtime Blog: Openfire 4.6.5 released
Although we’re preparing for the Openfire 4.7.0 release, the recently discovered vulnerability in the Apache Log4j utility prompted us to push an immediate release of Openfire to address that issue. This release, Openfire 4.6.5, is available now.
We urge you to update as soon as possible. If that’s not feasible, then we advise you to apply the documented workaround (in the form o … ⌘ Read more
快速搭建私有云服务 go-btfs
快速搭建私有云服务 go-btfs 1. go-btfs 是什么?go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more
【上海】【米哈游】Golang 研发工程师
职位描述:
1、负责米哈游游戏的官网、活动的开发;
2、负责线上活动和游戏工具的维护和迭代;
3、归纳和封装活动的通用组件和基础服务;
岗位要求:
1、计算机相关专业本科及以上学历,有两年以上后台开发经验;
2、熟悉 Go 语言,有实际使用 Go 语言项目开发经验;
3、对微服务架构有一定程度的研究并有开发经验,在服务治理,服务监 … ⌘ Read more
Video: C Programming on System 6 - User Authentication and Telnet Negotiation
I review some recent commits covering user authentication and telnet negotiation, then write some ANSI output code and a broken function for returning a number’s ordinal string. ⌘ Read more
招聘 [上海] SAP SuccessFactors 招聘后端工程师. — 金科路 (2 号线)
部门简介
SAP SuccessFactors 是面向不同规模组织的基于云的 HXM SaaS 解决方案的领先提供商,在全球 168 个国家拥有使用 34 种语言的 6500 多家客户,我们的解决方案侧重于业务协调(员工从事正确的工作)和员工绩效(充分发挥潜力)。能帮助公司更快、更智能地落地 HR 相关业务。2011 年底,SuccessFactors 成为 SAP 的一部分,是 SAP 在全球推动云业 … ⌘ 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
基于寄存器调用的软件加速
- 原文地址: https://menno.io/posts/golang-register-calling/
- 原文作者: Menno Finlay-Smits
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w47_faster_software_through_register_based_calling.md
- 译者: cvley
2021年11月23�� … ⌘ Read more
Explore the Sky 丨来 TiDB Hackathon 2021 探索无限可能
—— 从 Ti 星球出发,Explore the Sky,这个世界还有多少种可能?
一年一度 TiDB Hackathon 又来啦!
本届 Hackathon 主题为「Explore the Sky」,将在 2022.1.8 - 9 两个比赛日进行开发,线上线下联动。 从 Ti 星球到宇宙苍穹,我们用 Hacking 连接更广泛的生态,给予参赛者尽情�� … ⌘ Read more
Incident Report
⌘ Read more
The Greatest Threat to Your Freedoms ⌘ Read more
The Omicron Variant with Neil deGrasse Tyson and President of Regeneron, George Yancopoulos ⌘ Read more
“Small Team Closed Source” vs “Large Team Open Source”
Which is better? ⌘ Read more
GitHub is the hub of the entire Open Source world?
… ⌘ Read more
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
Give your programming career a boost by moving to Mexico
You’re welcome. Hey, want to support The Lunduke Journal? There are ways. Oh, yes. There are ways. ⌘ Read more
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
Introducing stack graphs
Precise code navigation is powered by stack graphs, a new open source framework that lets you define the name binding rules for a programming language. ⌘ Read more
Precise code navigation for Python, and code navigation in pull requests
Code navigation is now available in PRs, and code navigation results for Python are now more precise. ⌘ Read more
@lyse@lyse.isobeef.org I thought it was just me. I drives me nuts to try reading on that page. I guess I am no longer capable to look at old CRT monitors without side effects.
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
Docker Secure Images: What Are They and How Do I Use Them?
One of the major challenges in today’s development environments is balancing innovation with security. Focusing on both is never a small effort and might seem tedious or constraining at times, but when security is implemented from the start, it can shorten development time and prevent exposure to vulnerabilities. This is why Docker rolled out Docker […]
The post [Docker Secure Images: What Are They and How Do I Us … ⌘ Read more
[47°09′37″S, 126°43′09″W] Reading: 1.64 Sv
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
Neil deGrasse Tyson Explains Spinning a Basketball On Your Finger with the Harlem Globetrotters ⌘ Read more
“What would a real Web3 look like?”
Matt Baer, found of write.as, compares the web3 with his vision of how a real Web 3.0 could look like. ⌘ Read more
Do the New Terms of Docker Desktop Apply If You Don’t Use the Docker Desktop UI?
Even if you’re not taking advantage of the user interface that Docker provides with Docker Desktop and are simply using the CLI, you may still need a paid subscription to use Docker Desktop. Much of the value of Docker Desktop comes from making it easy to develop with containers locally on Windows and Mac. We […]
The post [Do the New Terms of Docker Desktop Apply If Yo … ⌘ Read more
Improving GitHub code search
Today, we are rolling out a technology preview for GitHub code search, the next iteration for search, discovery, and navigation on GitHub. ⌘ Read more
曹大实战营二期大家收获到吗?
曹大实战营二期,已接近尾声了,各位感觉收获到吗?
我个人初学者听下来,收获不大,可能属于高级工程师课程吧;
有些后悔购买课程,还不便宜呢;不过成年人只能为自己的选择负责了。。。。
Thank you for featuring my blog in your latest “Advent of Bloggers” post and your kind words, James! 🤓 ⌘ Read more
Erlang Solutions: Blockchain Tech Deep Dive 2/4 | Myths vs Realities
This is the second part of our ‘Making Sense of Blockchain’ blog post series – you can read part 1 on ‘6 Blockchain Principles’ here.
Join our FinTech mailing list for more great content and industry and events news, sign up here >> … ⌘ Read more
New Study on NFTs Deflates the “Democratic” Potential for the Medium ⌘ Read more
Defeat Street
Some of the sincerity slimed up on me
Cards wrote themselves and rifled me
Rigging the blast door to explore didn’t pan out this time
Rushed in, gobbled up and left me bottled up, that monstrous cub
To tell you the truth, I snort mousse
Rust seeps into cereals I produce
Rum may run rampantly down the drain, so let me think
I’ll leave a limb in the pipes to entice a drink ⌘ Read more
[47°09′40″S, 126°43′58″W] Reading: 0.47 Sv
使用 KubeSphere 快速部署 Chaos Mesh
Chaos Mesh 简介Chaos Mesh 是一个开源的云原生混沌工程平台,提供丰富的故障模拟类型,具有强大的故障场景编排能力,方便用户在开发测试中以及生产环境中模拟现实世界中可能出现的各类异常,帮助用户发现系统潜在的问题。
KubeS … ⌘ Read moreBest of: Neil deGrasse Tyson Explains the Big Bang ⌘ 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
The Last Molecule
⌘ Read more
Murdoch Goes Green? ⌘ Read more
硅谷科技公司招全职后端工程师
我们是 base 在湾区的一家区块链科技公司,以数千万美元估值完成了本轮初期的融资,目前资金充沛。我们的技术团队已经做出来了基本的 MVP, 深得投资人看好。我们想招一名后端工程师全职加入,加快正式产品的迭代。
重点!!!我们对工作年限没有硬性要求,只要你是牛人,就欢迎加入
关于我们的团队- 我们团队非常年轻,成员毕业于清北、常春藤,都有 … ⌘ Read more
Docker Verified Publisher: Trusted Sources, Trusted Content
Six months since its launch at DockerCon, the Docker Verified Publisher program delivers on its promise to developers and partners alike The Docker Verified Publisher program means trusted content and trusted sources for the millions of Docker users. At the May 2021 DockerCon, Docker announced its Secure Software Supply Chain initiative, highlighting Docker Verified Publisher […]
The post [Docker Verified Publishe … ⌘ Read more
How to support The Lunduke Journal (& where to buy Lunduke’s books)
Multiple ways to support this nerdy publication and become part of the community. ⌘ Read more
Today I learned that there is a new version 2 of Docker Compose. Docker Compose is now no longer a Python app, but a CLI plugin for Docker written in Go. And there is a Compose specification. ⌘ Read more
Turbo Rascal : Pascal Compiler & IDE for tons of classic systems
One language for: C64, VIC-20, NES, Gameboy, ZX Spectrum, Atari 2600, 8086AT, Amiga 500, Atari 800, BBC Micro, SNES, Apple II & Atari ST + MORE ⌘ Read more
Enrolling all npm publishers in enhanced login verification and next steps for two-factor authentication enforcement
Today we’re introducing enhanced login verification to the npm registry, and we will begin a staged rollout to maintainers beginning Dec 7. ⌘ Read more
An imaginary conversation with Peter Schiff
Before I get to the conversation I find it necessary to note that I have been listening to Peter Schiff’s podcast on and off, and find his inside to be agreeable most of the time. He knows his stuff, and is explaining it very well. Me Why invest in Gold rather then diamonds? What makes […] ⌘ 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