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
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
封装 zap 日志注入 trace 信息 Trace Id(内含 gin 例子)
hlog (源码地址)- 实现自动切割文件 (基于 lumberjack 实现)
- 实现可传递 trace 信息(基于 Context 实现)
- Development bool // 是否开发模式
- LogFileDir string // 日志路径
- AppName string // APP 名字
- MaxSize int //文件多大开始切分
- MaxBackups int //保留文件个数
- MaxAge int //文件保留最大实际
- … ⌘ 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
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
高性能中文分词库 gojieba
gojieba 是什么?gojieba 是 Python 知名分词库结巴 jieba 的 Go 语言实现版本,底层分词算法由 C++ 实现,具备很高的性能; gojieba 解决了在做文本分析,文本搜索相关业务功能时的分词需求。
gojieba 支持多种分词方式:
- 全模式:把文本中所有可能的� … ⌘ Read more
fake english word generation for Go and CLI: [[https://github.com/nwtgck/go-fakelish]] #links
a zero dependency shell script that makes it really simple to manage your text notes [[https://github.com/nickjj/notes]] #links
squinewave: a sine-square-saw-pulse oscillator with hardsync: [[https://github.com/required-field/squinewave]] #links
imagor - image processing server written in Go
Fast, Docker-ready image processing server written in Go and libvips, with Thumbor URL syntax 1 points posted by gopher ⌘ Read more
快速搭建私有云服务 go-btfs
快速搭建私有云服务 go-btfs 1. go-btfs 是什么?go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more
Code: New version of oppinionated Ansible role to install Golang
Install go up to version 1.17.4 1 points posted by Sascha Andres ⌘ 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
GitHub is the hub of the entire Open Source world?
… ⌘ 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
fxml - FreeStyle XML Parser
1 points posted by xrfang ⌘ 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
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
使用 KubeSphere 快速部署 Chaos Mesh
Chaos Mesh 简介Chaos Mesh 是一个开源的云原生混沌工程平台,提供丰富的故障模拟类型,具有强大的故障场景编排能力,方便用户在开发测试中以及生产环境中模拟现实世界中可能出现的各类异常,帮助用户发现系统潜在的问题。
KubeS … ⌘ Read moreGitHub 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
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
Write more secure code with the OWASP Top 10 Proactive Controls
This lesser-known OWASP project aims to help developers prevent vulnerabilities from being introduced in the first place. ⌘ Read more
Safeguard your containers with new container signing capability in GitHub Actions
GitHub has partnered with the OpenSSF and Project Sigstore to add container image signing to our default “Publish Docker Container” workflow. ⌘ 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
Release Radar · November 2021 Edition
The end of the year is getting closer, and our communities are busy working away on their projects. While you’ve all been busy maintaining open source projects and shipping releases, we’ve created a new open ⌘ Read more
v2.5.0 ⌘ Read more
GitHub Availability Report: November 2021
In November, we experienced one incident resulting in significant impact and degraded state of availability for multiple services. ⌘ Read more
Using ChatOps to help Actions on-call engineers
You can multiply the impact of your domain experts by building their common workflows into ChatOps. ⌘ Read more
GitHub Externships: enabling India’s next generation of developers
Are you a student in India? Applications are open for the GitHub Externships Winter Cohort! ⌘ Read more
NixOS 21.11 released
Hey everyone, we’re Timothy DeHerrera and Tom Bereknyei,
the release managers for 21.11. As promised, the latest stable
release is here: NixOS 21.11 “Porcupine”.
- Release manual - [Highlights](/manual/nixos/stabl … ⌘ Read more
5 DevOps tips to speed up your developer workflow
From learning YAML to scripting with Bash, here are a few simple tips for developers who want to speed up their workflows. ⌘ Read more
v2.6.0 ⌘ Read more
GitHub Actions: reusable workflows is generally available
DRY your Actions configuration with reusable workflows (and more!) ⌘ Read more
https://github.com/bfmartin/fvwm-config-on-openbsd Worth a try ?
Lossless Image Compression in O(n) Time
Introducing 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. All single-threaded, no
SIMD. It’s also stupidly simple.
tl;dr: 300 lines of C, single header,
source on github,
benchmark results here.
![QOI compression](/content/a … ⌘ Read more
Secure deployments with OpenID Connect & GitHub Actions now generally available
GitHub Actions now supports OpenID Connect for secure deployment to different cloud providers via short-lived, auto-rotated tokens. ⌘ Read more
How to squash bugs by enrolling in OSS-Fuzz
OSS-Fuzz is Google’s awesome fuzzing service for open source projects. GitHub Security Lab’s @kevinbackhouse describes enrolling a project. ⌘ Read more
The Copyright Office expands your security research rights
Recently, the Copyright Office responded to the calls to clarify the scope of protected security research. ⌘ Read more
Accelerate security adoption in your organization
The GitHub Services Engineers have released the Advanced Security Enforcer GitHub Action to enable organizations to utilize code scanning in a consistent and automated way. ⌘ Read more
In case you missed it, GitHub Education at Universe 2021!
A recap of all the GitHub Education news from Universe 2021, including the new Intro to Web Dev Experience. ⌘ Read more
What’s new from GitHub Changelog? October 2021 recap
A public beta of the new GitHub Issues, a “security manager” role for organizations, a command palette beta, and lots more. ⌘ Read more
7 advanced workflow automation features with GitHub Actions
Check out some advanced automation and CI/CD capabilities you can use today with GitHub Actions on any GitHub account. ⌘ Read more
No on gitlab. If its self hosted gitea is best in class.
I can see hosting a mirror on github if only for the redundancy/visibility. Some projects will host but then direct contributions on their self host. Like Go does.
I would suggest using a vanity domain that can redirect tools like go get to hosting of choice. And not require rewriting all the packages any time it gets moved.
GitHub’s developer-first approach to content moderation
GitHub puts the needs of developers at the core of our content moderation policies. Learn more about our approach and how you can contribute. ⌘ Read more