知鸦日报2021-09-15

2021-09-14 16:30:00 ~ 2021-09-15 16:30:00

商业

懂了德国为什么没被广场协议搞死,就明白了为啥我国要搞共同富裕

摘要

我们都知道,广场协议之后,日本经济很快出了问题,然后在此后的很多年里一蹶不振。

但是这里就有一个问题,德国和日本一样,都被美国摁着签了广场协议,都在随后经济遭到重创,为啥德国好像后来又缓过来了,日本的影响却那么大,问题出在哪了?

我最近两天看德国经济史的时候,突然把这个问题想清楚了,而且懂了这件事,大家也就明白了为啥我国这么执着要搞共同富裕。

技术

网易技术:如何生成稳定的动态 treemap(矩形树图)关键技术揭晓

摘要

前段时间,网易云音乐上线了一个基于熟人社交投票玩法的 h5 活动,本文主要介绍了该活动是如何基于矩形树图算法来实现一个无缝挤压动效以及在这其中遇到一些问题。

阿里巴巴技术:Flutter手势探索——原理与实现的背后

摘要

在日常开发中,手势和事件无处不在,比如在 Flutter 应用中点击一个点赞按钮,长按弹出 BottomSheet 和商品列表的滑动等等都存在事件传递和手势识别,Flutter 内部是如何确定哪个控件响应了事件,事件是如何在控件之间传递的,包括像 Tap 和 DoubleTap 等手势是如何区分的。为了回答以上的问题,我们接下来深入探索 Flutter 手势的原理。

字节跳动技术:关于 Swift Package Manager 的一些经验分享

摘要

Swift Package Manager 是 Apple 为了弥补当前 iOS 开发中缺少官方组件库管理工具的产物。相较于其他组件管理控件,他的定义文件更加轻松易懂,使用起来也很 Magic,只需将源码放入对应的文件夹内,Xcode 就会自动生成工程文件,并生成编译目标产物所需要的相关配置。同时,SPM 与 Cocoapods 相互兼容,可以在特性上提供互补。

pinterest技术:Pinterest Home Feed Unified Lightweight Scoring: A Two-tower Approach

摘要

Pinterest is a place where users (Pinners) can save and discover content from both web and mobile platforms, and where increasingly Creators can publish native content right to Pinterest. We hold billions of content (Pins) in our corpus and serve personalized recommendations that inspire Pinners to create a life they love. One of the key and most complicated surfaces for Pinterest is the home feed, where Pinners will see personalized feeds based on their engagement and interests. In this blog, we will discuss how we unify our light-weight scoring layer across the various candidate generators that power home feed recommendations.

阿里巴巴技术:一次入口流量承接的探索

摘要

这是一次权益和玩法碰撞的探索之旅。

uber技术:Jellyfish: Cost-Effective Data Tiering for Uber’s Largest Storage System

摘要

Uber deploys a few storage technologies to store business data based on their application model. One such technology is called Schemaless, which enables the modeling of related entries in one single row of multiple columns, as well as versioning per column.

Schemaless has been around for a couple of years, amassing Uber’s data. While Uber is consolidating all the use cases on Docstore, Schemaless is still the source of truth for different pre-existing customer pipelines. As such, Schemaless uses fast (but expensive) underlying storage technology to enable millisecond-order latency at high QPS. Furthermore, Schemaless deploys a number of replicas per region to ensure data durability and availability in the face of different failure models.

Accumulating more data while using expensive storage, Schemaless has increasingly become a key concern for cost and thus required attention. To this end, we carried out measurements for understanding data access patterns. We found that data is frequently accessed for a period of time, after which it is accessed less frequently. The exact period varies from one use case to another, however, old data must still be readily available upon request.

meta技术:Superpack: Pushing the limits of compression

摘要

Managing app size at Facebook is a unique challenge: Every day, developers check in large volumes of code, and each line of code translates into additional bits in the apps that people ultimately download onto their phones. Left unchecked, this added code would make the app bigger and bigger until eventually the time it takes to download would become unacceptable. Compression is one of the methods we use to keep app size minimal. These compressed files take up less space, which means smaller apps that download faster and use less bandwidth for billions of users around the world. Such savings are especially important in regions where mobile bandwidth is limited, making it costly to download large apps. But compression alone isn’t enough to keep pace with all the updates we make and features we add to our apps. So we developed a technique called Superpack, which combines compiler analysis with data compression to uncover size optimizations beyond the capability of traditional compression tools. Superpack pushes the limits of compression to achieve significantly better compression ratios than existing compression tools.

netflix技术:Securing Netflix Studios At Scale Netflix TechBlog

摘要

A Journey About Productizing Security.

airbnb技术:Automating Data Protection at Scale, Part 1

摘要

Since no one tool was meeting our needs, we decided to build a data protection platform to enable and empower Airbnb to protect data in compliance with global regulations and security requirements. However, in order to protect the data, we first needed to understand it and its associated security and privacy risks.

58同城技术:使用hooks替代redux实践

摘要

具体能否完全代替redux,还有待考证,本文仅提供思路。

阿里巴巴技术:云原生大数据架构中实时计算维表和结果表的选型实践

摘要

本篇文章将基于云原生大数据架构的场景,详细讨论实时计算中的维表和结果表的架构选型。

网易产品:React Hooks:原理和实践

摘要

「Hooks are functions that let you “hook into” React state and lifecycle features from function components」官方文档是这么介绍的,翻译过来就是:Hook是一些可以让你在函数组件里“钩入” React state及生命周期等特性的函数。

The cloud landscape described, categorized, and compared

摘要

“I work for a PaaS company” I answered him. “Ah, okay, great”, and he moved to another subject. It was a cold winter day on a hipster cloud conference. He wasn’t the only one that directly knew what my company did. Most people there knew the difference between Infrastructure-as-a-Service (IaaS), Platform-as-a-Service (PaaS), and Software-as-a-Service (SaaS) and therefore knew exactly what a PaaS company did, right?

阿里巴巴技术:Monaco Editor 扫盲

摘要

Monaco Editor 是一个浏览器端的代码编辑器库,同时它也是 VS Code 所使用的编辑器。Monaco Editor 可以看作是一个编辑器控件,只提供了基础的编辑器与语言相关的接口,可以被用于任何基于 Web 技术构建的项目中,而 VS Code 包含了文件管理、版本控制、插件等功能,是一款桌面软件。Monaco Editor 的 GitHub 仓库中不包含任何实际功能代码,因为其源代码与 VS Code 在同一个仓库,只是在版本发布时会构建出独立的编辑器代码。

字节跳动技术:如何用 canvas 画出分形图

摘要

分形图从整体上看,是处处不规律的。但从局部观察,图形的规则性又是相同的,即具有自相似的性质。 通常意义下,分形被定义为将一个确定的几何形状(元图像)在其边上迭代地生成为)与元图像近似地的形状。这次想用 canvas 画出典型的几个分形图。

探索测试:MySQL 遇到 Too many open files 时,哪项配置在生效?

摘要

MySQL 配置文件和 mysqld.service 中都声明了可打开的最大文件数时,哪个在生效?

阿里巴巴技术:MYSQL中锁的各种模式与类型

摘要

在日常开发工作中,我们几乎需要天天与数据库打交道,作为一名只会CRUD的SQL BOY,除了每天用mybatis-generator自动生成DAO层代码之外,我们几乎不用去care数据库中如何处理并发请求,但是突然某一天MYSQL数据库告警了,出现了死锁,我们的内心慌的一匹,不禁想问:这不就是个普通查询吗,咋还锁起来了?

为了避免慌乱的表情被主管捕捉到,我们需要提前了解一下数据库中到底有哪些锁。

在MySQL中,其实将锁分成了两类:锁类型(lock_type)和锁模式(lock_mode)。

锁类型描述的锁的粒度,也就是把锁具体加在什么地方;而锁模式描述的是到底加的是什么锁,是读锁还是写锁。锁模式通常和锁类型结合使用。

方法

帮你快速诊断团队问题的工具,标题就是这么朴实无华

摘要

问题混沌一片?我不信。


‹ 2021-09-14 日报 2021-09-16 日报 ›

qrcode

关注公众号
接收推送