Searching txt.sour.is

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

Go 实战 | 一文带你搞懂从单队列到优先级队列的实现
原文链接: https://mp.weixin.qq.com/s/bPLRcsmSO5_MvqN8F812zQ

大家好,我是「Go 学堂」的渔夫子,今天跟大家聊聊在我们项目中的优先级队列的实现及应用场景。

优先级队列概述

队列,是数据结构中实现先进先出策略的一种数据结构。而优先队列则是带有优先级的队列,即先按优先级分类,然后相同优先级的再 … ⌘ Read more

⤋ Read More

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

GoCN 每日新闻(2021-12-22)
  1. 使用 Go 和 SQLite 构建生产应用程序
  2. 使用 context.Context 模拟 API 客户端https://incident.io/blog/golang-client-mocks
  3. 一种可嵌入的 Go 脚本语言,实现了逻辑编程语言 Prologhttps://github.com/ichiban/prolog
  4. SSA:终于知道编译器偷摸做了哪些事[https://mp.weixin.qq.com/s/nOhMsMeP1pUFEXKAMUzbWg](https://mp.weixin.qq.com/ … ⌘ Read more

⤋ Read More

Erlang Solutions: Dynamic XMPP domains in MongooseIM

Introduction

MongooseIM 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

⤋ Read More

干货来了!神州数码 CIO 沈旸揭秘 Hackathon 背后的 TiDB 生态丨 TiDB Hackathon 评委访谈

Image

你多久没仅为 Have fun 去写一段代码?
你多久没为实现一个天马行空的 idea 而兴奋不已?你又多久没为和团队一起 Coding 而干劲十足了?来 TiDB Hackathon 吧,这些体验都能找到!
TiDB Hackathon 2021 已于 12 月 9 日起正式开启报名,我们已经� … ⌘ Read more

⤋ Read More

DM 分库分表 DDL “悲观协调” 模式介绍丨 TiDB 工具分享
背景

TiDB 作为分库分表方案的一个 “终结者”,获得了许多用户的青睐。在切换到 TiDB 之后,用户告别了分库分表查询和运维带来的复杂度。但是在从分库分表方案切换到 TiDB 的过程中,这个复杂度转移到了数据迁移流程里。TiDB DM 工具为用户提供了分库分表合并迁移功能,在数据迁移的过程中,支持将分表 DML 事件合并迁移,并一定程度支持上� … ⌘ Read more

⤋ 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

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

⤋ Read More

http benchmarking 工具”go-wrk”支持 javascript 脚本了
wrk 是一个比较出名的 http benchmarking 工具,它支持用 Lua 脚本编写任务。

go-wrk 是原作者在早年开发的仿 wrk 的工具,但不支持脚本。没有脚本的话在测试稍复杂的业务时就力不从心。

现在我给加上了 JavaScript 的支持,用的 js 引擎是 Goja. 欢迎大家体验测试提 issue, 有时间的话我会继续改进。详见: [ … ⌘ Read more

⤋ Read More

全文检索库 bluge

全文检索库 bluge 推荐理由

提到全文检索库,第一个想到的就是 Java 实现的 lucene,今天介绍一款 Golang 实现的全文检索库 bluge。bluge 脱胎于 Bleve,是当前 Github 比较火的搜索引擎项目 zinc 的底层索引检索库。

功能介绍

bluge 索引存储支持内存,本地文件,以及扩展云存储等方式,文档字段类型支持 Text, Numeric, Date, Geo Point 等。

查询检索支持如下特性:

  1. 支持多种�� … ⌘ Read more

⤋ 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

⤋ Read More

「新闻联播」武汉江夏 sn 高端外卖《手机搜狐网》
武汉江夏 sn 高端外卖 [電维√I73-433O-3I64√],更多关于武汉江夏 sn 高端外卖资讯如下:
心理而言,整体审美标准也在提高。
崔继红认为,愿意在 “面子” 上消费的中国男性群体,是对 “内外兼修” 和精致生活、精致人生的积极追求。
中国直播经济、电商经济的快速崛起,也为男性颜值消费带来更大的便利。打开手机,点击网页,不仅能够快速了解� … ⌘ Read more

⤋ Read More

『央视新闻』武汉硚口哪儿 sn 推荐_腾讯新闻
武汉硚口哪儿 sn 推荐 [電维√I73-433O-3I64√],更多关于武汉硚口哪儿 sn 推荐资讯如下:
银行监管所提出的挑战。二是,小银行扎根基层有重要的比较优势,仍大有可为。这与部分银行传统思路不同,需要做一些扭转;三是银行要重视比较优势的规律,不要拿自身弱势当作发展引擎;四是可试着先从银行体系结构演变,包括银行网点未来功能入手进行研究,一定� … ⌘ Read more

⤋ Read More

『央视新闻』武汉洪山哪有 snsz《手机搜狐网》
武汉洪山哪有 snsz[電维√I73-433O-3I64√],更多关于武汉洪山哪有 snsz 资讯如下:
股,副总经理兼董事会秘书叶继德 2 万股,其他激励对象共 108.45 万股。
而与激励计划同一天发布的回购方案中,苏泊尔称公司拟使用自有资金以集中竞价交易方式回购部分社会公众股份用以实施股权激励计划,回购股份的最高价不超过 67.68 元/股。
苏泊尔每股 1 元的限制性股� … ⌘ Read more

⤋ Read More

『人民日报』武汉洪山汉阳哪哪找品茶_腾讯新闻
武汉洪山汉阳哪哪找品茶 [電维√I73-433O-3I64√],更多关于武汉洪山汉阳哪哪找品茶资讯如下:
.3 倍。然而,今年 5 月份以来,苏泊尔股价从 78 元左右下跌至 9 月份 43 元左右的最低点,跌幅超过四成。
在苏泊尔股价持续下跌的同期,今年二、三季度,易方达优质精选曾分别减持苏泊尔近 70 万股、近 600 万股。但今年三季度以来,苏泊尔的股价已有所回升�� … ⌘ Read more

⤋ Read More

「央视网」武汉洪山关山哪 sn《手机新浪网》
武汉洪山关山哪 sn[電维√I73-433O-3I64√],更多关于武汉洪山关山哪 sn 资讯如下:
B 集团持有的 2.06 亿股股份将被解禁,解禁市值超 120 亿元。在此之前,“公募一哥” 张坤已于近期大规模减持其股份。
这一减持数据的披露源自于 12 月 14 日苏泊尔发布的 “每股 1 元” 的股权激励计划。按照最新发布数据,截至 12 月 13 日,张坤管理的易方达优质精选已不在苏 … ⌘ Read more

⤋ Read More

「2021 央视新闻」武汉武昌南湖哪家丝足_新浪微博
武汉武昌南湖哪家丝足 [電维√I73-433O-3I64√],更多关于武汉武昌南湖哪家丝足资讯如下:
心,而按照双汇创始人万隆长子万洪建 7 月 16 日接受媒体采访时的说法,“父子不和的理由” 其一就是万洪建更想发展中式产品。
值得一提的是,随着双汇发展推广新式产品,今年前三季度,双汇发展的销售费用也出现大幅增加,达到 22.63 亿元,较去年同期增长 1 … ⌘ Read more

⤋ Read More

「新闻联播」武汉汉西哪家 sz 喝茶网《手机腾讯网》
武汉汉西哪家 sz 喝茶网 [電维√I73-433O-3I64√],更多关于武汉汉西哪家 sz 喝茶网资讯如下:
元,较 2020 年末的 63.78 亿元增加近 10 亿元,但较二季度末的 77.58 亿元已经有所减少。今年中报显示,双汇发展的存货按产品类型,主要包括,包装肉制品、鲜冻猪肉、其他类、合计账面余额为 55.52 亿元,存货跌价准备为 4.46 亿元。在存货产品中其中鲜冻猪肉的� … ⌘ Read more

⤋ Read More

『央视新闻』武汉汉口三镇哪儿红场 sn 级_搜狐网
武汉汉口三镇哪儿红场 sn 级 [電维√I73-433O-3I64√],更多关于武汉汉口三镇哪儿红场 sn 级资讯如下:
当前是全球性最为艰难的时刻,是人类与病毒对抗相持最为困难的时候。
“动态清零” 能力是当前最为关键的公共卫生策略。近期长三角、珠三角、西北地区频发德尔塔的散发与局部暴发病例,但是中国的动态清零策略已经被证实 4 周左右终能应对。
即 … ⌘ Read more

⤋ Read More

『人民日报』武汉中南品茶 2021_中华网
武汉中南品茶 2021[電维√I73-433O-3I64√],更多关于武汉中南品茶 2021 资讯如下:
破坏了原本科学家的乐观希望。
来自英国帝国理工学院的最新研究表明,与 “德尔塔” 相比,“奥密克戎” 变异株导致的新冠在感染率高出 5.4 倍,并且研究称没有迹象表明 “奥密克戎” 的致病性低于 “德尔塔”。
英国最近几周感染 “奥密克戎” 病例的数量急剧增加。本周五,该 … ⌘ Read more

⤋ Read More

「央视网」武汉三镇 sn 红场 400_铁血社区
武汉三镇 sn 红场 400[電维√I73-433O-3I64√],更多关于武汉三镇 sn 红场 400 资讯如下:
年 11 月,其员工经常通过手机短信、社交软件和个人邮箱账号等沟通证券业务,而该公司没有根据法律要求保存这些记录。
美国证券交易委员会表示,摩根证券公司的相关操作显著影响了监管者调查潜在违法行为的能力。此外,美国证券交易委员会已就金融机构的记录保存问题发 … ⌘ Read more

⤋ Read More

「央视网」武汉三镇品茶修车_中华网
武汉三镇品茶修车 [電维√I73-433O-3I64√],更多关于武汉三镇品茶修车资讯如下:
是会存在风险的。但是对这种风险如何有效的防控,从防控的原理上来看,我们要分析制约这种风险的三个要素。一个是本身这种疾病和病毒,它的整个感染率、严重度、致死率,我们对它的了解情况,这是一个我们需要考虑的。另一个要看现在我们的卫生健康体系,我们对它的抵抗力,� … ⌘ Read more

⤋ Read More

「央视网」武汉徐东品茶酒店《手机搜狐网》
武汉徐东品茶酒店 [十维√I73-433O-3I64√],更多关于武汉徐东品茶酒店资讯如下:

下很深刻印象的就是广东的大都市圈的规划,“你可以看到广东的五大都市圈,也就是他把富的地区跟穷的地方结成利益共同体责任共同体发展的共同体,这个角度即能够解决我们新毕业大学生就业,又能够解决消除相对贫困推动共同富裕,缩小区域差距、城乡差距、社会差距�� … ⌘ Read more

⤋ Read More

「2021 央视新闻」武汉汉口武昌哪家喝茶吧 sn《手机搜狐网》
武汉汉口武昌哪家喝茶吧 sn[十维√I73-433O-3I64√],更多关于武汉汉口武昌哪家喝茶吧 sn 资讯如下:

丰园二期临时核酸采样点。
12 月 16 日,08:00 小区楼下菜市场、家生活超市(长丰园店)。
12 月 17 日,02:00 被管控。
确诊病例 4 张某
12 月 10 日—11 日,偶尔在雁塔区便民菜市场及附近店铺购物。
12 月 12 日,13:30—15:00,文艺路珠�� … ⌘ Read more

⤋ Read More

Local man switches to Arch, tells no one
Yesterday, at approximately 5:05pm, a Seattle area man installed Arch Linux on his home computer and has yet to tell anyone. “This appears to be the first occurrence of failing to tell someone that you run Arch,” stated a representative of the Seattle Sheriff’s Department. “We are actively investigating whether or not this is a crime. It definitely is a violation of norms.” ⌘ Read more

⤋ Read More

央视新闻《一分大发邀请码多少》手机搜狐网
一分大发邀请码多少

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

我想帮助更多的人,互联网是一个开放性平台,上面充斥着各式各样的优惠,如何在铺面而来的诱惑中选出心仪的方向。

一个好的� … ⌘ Read more

⤋ Read More

央视新闻《快三三期必中口诀》手机搜狐网
快三三期必中口诀

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

我想帮助更多的人,互联网是一个开放性平台,上面充斥着各式各样的优惠,如何在铺面而来的诱惑中选出心仪的方向。

一个好的平台� … ⌘ Read more

⤋ Read More

央视新闻《快三实力导师带赚回本》手机搜狐网
快三实力导师带赚回本

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

我想帮助更多的人,互联网是一个开放性平台,上面充斥着各式各样的优惠,如何在铺面而来的诱惑中选出心仪的方向。

一个� … ⌘ Read more

⤋ Read More

央视新闻《一分快三导师计划》手机搜狐网
一分快三导师计划

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来源:央视� … ⌘ Read more

⤋ Read More

央视新闻《加导师一对一带赚》手机搜狐网
加导师一对一带赚

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来源:央视� … ⌘ Read more

⤋ Read More

央视新闻《一分快 3 玩法必中技巧》手机搜狐网
一分快 3 玩法必中技巧

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来� … ⌘ Read more

⤋ Read More

央视新闻《一分快 3 单双大小必中方法》手机搜狐网
一分快 3 单双大小必中方法

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评� … ⌘ Read more

⤋ Read More

央视新闻《大发邀请码是多少》手机搜狐网
大发邀请码是多少

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来源:央视� … ⌘ Read more

⤋ Read More

央视新闻《加导师 QQ 一天赚 500》手机搜狐网
加导师 QQ 一天赚 500

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来源:央 … ⌘ Read more

⤋ Read More

央视新闻《金牌团队导师计划赚钱》手机搜狐网
金牌团队导师计划赚钱

Image

(亦程) 腾讯 QQ:8430794

Image

信誉网:yy36.cc

Image

邀请码:89809999

Image

【金★牌★团★队★导★师★单★带丨一★对★一丨全★天★在★线★辅★导】十年老品牌,欢迎你到来。
(央视网评论员)来� … ⌘ Read more

⤋ Read More

Docker Captain Take 5 – Nana Janashia
Docker Captains are select members of the community that are both experts in their field and are passionate about sharing their Docker knowledge with others. “Docker Captains Take 5” is a regular blog series where we get a closer look at our Captains and ask them the same broad set of questions ranging from what […]

The post Docker Captain Take 5 – Nana Janashia appeared first on [D … ⌘ Read more

⤋ Read More

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