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
[47°09′01″S, 126°43′21″W] Reading: 1.41000 PPM
お知らせ:JPCERT/CC Eyes「Apache Log4j2のRCE脆弱性(CVE-2021-44228)を狙う攻撃観測」 ⌘ Read more
My thoughts on log4j summed up in one picture…
(One very snarky picture.) ⌘ Read more
PingCAP 入选 CB Insights 中国「数据链路安全领航者」榜单,保障全球用户存储安全
全球知名市场研究分析机构 CB Insights 中国于近期发布了「数据链路安全领航者」榜单,PingCAP 以 “全链路透明加密,满足多国合规标准” 的关键词成功上榜存储安全这一环节,在数据安全领域更进一步。
随着科技的进步与数据量的暴增,数据滥用、泄露和权属不清,以及异常条件下数据丢失、业务中断等风险逐渐暴露。数� … ⌘ Read more
Turing Complete
⌘ Read more
Australia’s Strangest Law feat. Spanian ⌘ Read more
Cosmic Queries — James Webb Space Telescope with Neil deGrasse Tyson and Natalie Batalha ⌘ Read more
Tour our minimalist apartment ⌘ Read more
Instead of banging my head on Advent of Code, I coded something useful today: Text-to-Speech for GoBlog using the official Google Text-to-Speech API. When posting, an audio file is generated automatically from the post content. And, I have to praise myself for this, I documented the feature as well! 😄 ⌘ Read more
Technical interviews via Codespaces
Codespaces is a great tool for technical hiring exercises and helps level the playing field for candidates. ⌘ Read more
Ignite Realtime Blog: Openfire 4.6.6 and 4.5.5 releases (Log4j-only changes)
As we’re monitoring developments around the recent Log4j vulnerabilities, we’ve decided to provide another update for Openfire to pull in the latests available updates from Log4j.
Since the previous release, the Log4j team released a new version (2.16.0) of their library, that provides better protection against the original vulnera … ⌘ Read more
5 automations every developer should be running
Looking to avoid security vulnerabilities, buttons that don’t work, slow site speeds, or manually writing release notes? This one’s for you. ⌘ Read more
Docker Community All Hands: Event Recap, December 2021
One year ago, we kicked off the Community All Hands (CAH) event. The goal was to bring together Docker staff and community members for the latest product updates. This time, we’ve evolved the CAH to include multiple community tracks that give our amazing community members the opportunity to share their knowledge and expertise. The event […]
The post [Docker Community All Hands: Event Recap, December 2021](https://www. … ⌘ Read more
Day 16 of Advent of Code is so confusing that I will not finish today’s puzzle. I wonder if yesterday was my last day with Advent of Code, or will the puzzles become more understandable and easier again in the next few days? Maybe I’m just more the practical type. I like programming, but such complex algorithms are not really my thing. And in the end, Advent of Code is supposed to be fun… ⌘ 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
go 1.18 泛型初体验
go 1.18 泛型初体验go.1.18beta 版发布,众所周知这个 go.1.18 版本会默认启用 go 泛型。这个版本也号称 go 最大的版本改动。
初识 golang 的泛型我们写一个 demo 来看看 go 的泛型是长啥样
”`
package main
import (
<span class="s">"fmt"</span>
)
type OrderTypesRead more”`
备份的 “算子下推”:BR 简介丨 TiDB 工具分享
BR 选择了在 Transaction KV 层面进行扫描来实现备份。这样,备份的核心便是分布在多个 TiKV 节点上的 MVCC Scan:简单,粗暴,但是有效,它生来就继承了 TiKV 的诸多优势:分布式、利于横向拓展、灵活(可以备份任意范围、未 GC 的任意版本的数据)等等优点。
相较于从前只能使用 mydumper 进行 SQL 层的备份,BR 能够更加高效地备份和恢复:它取消了 SQL 层的开销 … ⌘ Read more
50% off Lunduke Journal subscriptions until the 26th
Because it’s December. And why not. ⌘ Read more
FreeDOS 1.3, the first major release in 5 years, edges closer to a full release
The last major FreeDOS version (1.2) was released in December of 2016… five years ago. ⌘ Read more
The effect of large-scale anti-contagion policies on the COVID-19 pandemic | Nature ⌘ Read more
A brief history of code search at GitHub
This blog post tells the story of why we built a new search engine optimized for code. ⌘ Read more
Man. Life on the Oregon Trail was rough!
So many ways to die. ⌘ Read more
WSL 2 GPU Support for Docker Desktop on NVIDIA GPUs
It’s been a year since Ben wrote about Nvidia support on Docker Desktop. At that time, it was necessary to take part in the Windows Insider program, use Beta CUDA drivers, and use a Docker Desktop tech preview build. Today, everything has changed: On the OS side, Windows 11 users can now enable their GPU […]
The post [WSL 2 GPU Support for Docker Desktop on NVIDIA GPUs](https://www.docker.com/blog/wsl-2-gpu-support-for-dock … ⌘ Read more
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
お知らせ:CyberNewsFlash「複数のアドビ製品のアップデートについて」 ⌘ 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
お知らせ:「オープンリゾルバ確認サイト」Webメンテナンス終了のお知らせ(2021/12/6,14) ⌘ 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
お知らせ:CyberNewsFlash「Apple製品のアップデートについて(2021年12月)」 ⌘ 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
PEP 677: Callable Type Syntax
This PEP introduces a concise and friendly syntax for callable types,
supporting the same functionality as typing.Callable but with an
arrow syntax inspired by the syntax for typed function
signatures. This allows types like Callable[[int, str], bool] to
be written (int, str) -> bool. ⌘ 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