Searching txt.sour.is

Twts matching #reading:
Sort by: Newest, Oldest, Most Relevant

PingCAP 入选 CB Insights 中国「数据链路安全领航者」榜单,保障全球用户存储安全
全球知名市场研究分析机构 CB Insights 中国于近期发布了「数据链路安全领航者」榜单,PingCAP 以 “全链路透明加密,满足多国合规标准” 的关键词成功上榜存储安全这一环节,在数据安全领域更进一步。

随着科技的进步与数据量的暴增,数据滥用、泄露和权属不清,以及异常条件下数据丢失、业务中断等风险逐渐暴露。数� … ⌘ Read more

⤋ 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

⤋ 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

⤋ 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

⤋ 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

⤋ 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”`

⤋ Read More

备份的 “算子下推”:BR 简介丨 TiDB 工具分享
BR 选择了在 Transaction KV 层面进行扫描来实现备份。这样,备份的核心便是分布在多个 TiKV 节点上的 MVCC Scan:简单,粗暴,但是有效,它生来就继承了 TiKV 的诸多优势:分布式、利于横向拓展、灵活(可以备份任意范围、未 GC 的任意版本的数据)等等优点。

相较于从前只能使用 mydumper 进行 SQL 层的备份,BR 能够更加高效地备份和恢复:它取消了 SQL 层的开销 … ⌘ Read more

⤋ 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

⤋ Read More

漏桶限流库 — uber-go/ratelimit
编辑推荐:Bazinga

上次有同学分享了 单机限流器 time/rate 库,讲了 Golang 标准库中基于令牌桶实现限流组件的 time/rate 使用,同时也讲了一些限流算法原理。

这里分享一个 uber 开源的一套基于漏桶实现的用于服务限流的 golang 库 ratelimit

漏洞算法的理解起来,相较于令牌桶,没有那么直观。因为令牌桶是限�� … ⌘ Read more

⤋ Read More

TiDB 故障诊断与性能排查:发生即看见,一切可回溯,Continuous Profiling 应用实践
在企业遭遇的 IT 故障中,约有 30% 与数据库相关。当这些故障涉及到应用系统、网络环境、硬件设备时,恢复时间可能达到数小时,对业务连续性造成破坏,影响用户体验甚至营收。在复杂分布式系统场景下,如何提高数据库的可观测性,帮助运维人员快速诊断问题,优化故障处理流程一直是困扰着企业的一大难题。

一次� … ⌘ Read more

⤋ 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

⤋ Read More

蚂蚁 - 可信原生技术部 - 专用编程语言设计研发 (杭州 P7-8)

工作内容
  1. 从事云原生配置策略语言的设计研发工作,服务云原生基础设施管理场景
  2. 从事区块链智能合约专用编程语言的设计及研发工作,服务区块链链智能合约场景
  3. 深度参与开源社区项目
招聘要求
  1. 熟练掌握 rust、golang、c/c++、java、python 中的一种或多种
  2. 熟悉现代编程语言设计理念、技术及研发体系,熟悉编译技术�� … ⌘ Read more

⤋ Read More

用 Go + Redis 实现分布式锁

为什么需要分布式锁
  1. 用户下单

锁住 uid,防止重复下单。

  1. 库存扣减

锁住库存,防止超卖。

  1. 余额扣减

锁住账户,防止并发操作。
分布式系统中共享同一个资源时往往需要分布式锁来保证变更资源一致性。

分布式锁需要具备特性
  1. 排他性

锁的基本特性,并且只能被第一个持有者持有。

  1. 防死锁

高并发场景下临界 … ⌘ Read more

⤋ 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

⤋ Read More

Erlang Solutions: Aleksander Lisiecki’s prize-winning eArangoDB at SpawnFest 2021

Image

What is SpawnFest?

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

⤋ Read More

GoCN 每日新闻(2021-12-13)
GoCN 每日新闻(2021-12-13)

  1. 尝鲜 Go 1.18 范型版本的 map 和 slice!https://juejin.cn/post/7040800455349239822
  2. Go 实现可序列化的 Roaring Bitmapshttps://dgraph.io/blog/post/serialized-roaring-bitmaps-golang/
  3. 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

⤋ 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

⤋ Read More

BigCache 针对 Go 垃圾回收的设计优化

为什么有这篇文章

某一天在群里摸鱼的时候,看到群里有人问 go map 的空间回收问题,把截图贴上吧:

Image

其实一位群友发出的问题引起了我注意,他的问题是: gomap 的值调用了 delete 函数是不是不会立即删除?当然这个问题如果研究过或者深入 go 的内存分� … ⌘ Read more

⤋ 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

⤋ 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

⤋ Read More
⤋ 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

⤋ 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

⤋ Read More

快速搭建私有云服务 go-btfs

快速搭建私有云服务 go-btfs 1. go-btfs 是什么?

go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more

⤋ Read More

【上海】【米哈游】Golang 研发工程师
职位描述:

1、负责米哈游游戏的官网、活动的开发;

2、负责线上活动和游戏工具的维护和迭代;

3、归纳和封装活动的通用组件和基础服务;

岗位要求:

1、计算机相关专业本科及以上学历,有两年以上后台开发经验;

2、熟悉 Go 语言,有实际使用 Go 语言项目开发经验;

3、对微服务架构有一定程度的研究并有开发经验,在服务治理,服务监 … ⌘ Read more

⤋ 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

⤋ Read More

招聘 [上海] SAP SuccessFactors 招聘后端工程师. — 金科路 (2 号线)
部门简介

SAP SuccessFactors 是面向不同规模组织的基于云的 HXM SaaS 解决方案的领先提供商,在全球 168 个国家拥有使用 34 种语言的 6500 多家客户,我们的解决方案侧重于业务协调(员工从事正确的工作)和员工绩效(充分发挥潜力)。能帮助公司更快、更智能地落地 HR 相关业务。2011 年底,SuccessFactors 成为 SAP 的一部分,是 SAP 在全球推动云业 … ⌘ Read more

⤋ Read More

GoCN 每日新闻 (2021-12-10)
GoCN 每日新闻 (2021-12-10)

  1. bob 一个从天上掉下来的构建工具https://github.com/benchkram/bob
  2. hackgo 编译器让 go 添加一个新的关键字https://avi.im/blag/2021/rc-day-24/
  3. 一个” 自由 “解析 xml 而不是预定义 struct 的工具https://github.com/xrfang/fxml
  4. 一个真开源的 mongodb 的替代者[https://github.com/FerretDB/FerretDB](https://gi … ⌘ Read more

⤋ Read More

Explore the Sky 丨来 TiDB Hackathon 2021 探索无限可能
—— 从 Ti 星球出发,Explore the Sky,这个世界还有多少种可能?

Image

一年一度 TiDB Hackathon 又来啦!

本届 Hackathon 主题为「Explore the Sky」,将在 2022.1.8 - 9 两个比赛日进行开发,线上线下联动。 从 Ti 星球到宇宙苍穹,我们用 Hacking 连接更广泛的生态,给予参赛者尽情�� … ⌘ Read more

⤋ 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.

Image

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

⤋ 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.

Image

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

⤋ 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.

Image

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

⤋ Read More