知鸦日报2022-06-27

2022-06-26 16:30:00 ~ 2022-06-27 16:30:00

产品

Reinventing Adobe Spectrum’s colors

摘要

Our science-backed approach to updating a color system that supports over 100 products.

登录后可查看文章图片

概念梳理——“设计体系”与“设计规范”

摘要

“设计体系”是在“设计规范”的基础上,让规范更便于理解、应用、实现、可规模化复用;

“设计规范”是在“设计体系”的框架内,更深入业务,内容更加精细专业。

技术

字节跳动技术:字节跳动埋点数据流建设与治理实践(上)

摘要

本文将介绍字节跳动在埋点数据流业务场景遇到的需求和挑战以及具体实践,分为上下篇呈现。上篇主要包含埋点数据流简介与埋点数据流建设实践;下篇主要包含埋点数据流治理实践以及未来规划。

登录后可查看文章图片

why GNU grep is fast

摘要

Here's a quick summary of where GNU grep gets its speed. Hopefully you can carry these ideas over to BSD grep.

#1 trick: GNU grep is fast because it AVOIDS LOOKING AT EVERY INPUT BYTE.

#2 trick: GNU grep is fast because it EXECUTES VERY FEW INSTRUCTIONS FOR EACH BYTE that it *does* look at.

GNU grep uses the well-known Boyer-Moore algorithm, which looks first for the final letter of the target string, and uses a lookup table to tell it how far ahead it can skip in the input whenever it finds a non-matching character.

GNU grep also unrolls the inner loop of Boyer-Moore, and sets up the Boyer-Moore delta table entries in such a way that it doesn't need to do the loop exit test at every unrolled step. The result of this is that, in the limit, GNU grep averages fewer than 3 x86 instructions executed for each input byte it actually looks at (and it skips many bytes entirely).

Elasticsearch 获取两个索引数据不同之处的四种方案

摘要

假定有两个索引 index1、index2,这两个索引中有大量相同数据。类似:linux 下的 diff 命令的操作,找出一个索引中存在而在另外一个索引不存在的数据。

登录后可查看文章图片

漫谈 CSS 方法论

摘要

CSS 方法论是一种面向 CSS、由个人和组织设计、已被诸多项目检验且公认有效的最佳实践。这些方法论都会涉及结构化的命名约定,并且在组织 CSS 时可提供相应的指南,从而提升代码的性能、可读性以及可维护性。

根据 State of CSS 2020 的调查结果显示,目前使用最多的五种分别为:BEM、ACSS、OOCSS、SMACSS、ITCSS。

登录后可查看文章图片

方法

How to Write Better with The Why, What, How Framework

摘要

Three documents I write (one-pager, design doc, after-action review) and how I structure them.


‹ 2022-06-26 日报 2022-06-28 日报 ›

qrcode

关注公众号
接收推送