Featured
✒️ ♯ Bitcoin Core Network Event Loops
This is a guide about how bitcoin-core handles network messages in the source code.
The Feynman Technique: How to Learn Anything Quickly “Why teaching is the key to understanding”
- Choose a concept to learn
- Teach it to yourself or someone else
- Return to the source material if you get stuck
- Simplify your explanations and create analogies
Podcast Editing Demo - Ferrite + iPad + Apple Pencil demonstrates how to edit a podcast on iPad using Ferrite Recording Studio.
云风的 BLOG: git shallow clone 的一个问题 网络抖动和无法断点续传是国内使用 Git 的痛点。之前的做法是服务器上 clone 后把 .git 压缩打包下载回来。随便找了个库对比了下,bzip2 12M, git bundle 11M,打包和恢复速度也快得多。
git bundle create bundlefile --all
git bundle unbundle bundlefile
- git 还不知道是 shallow clone 。好在这个文件很简单,就是 HEAD 的 hash 。手工创建一个就好了。
- 选择合适的工具,一定要支持模版或组件库统一配色和风格
- 直接在配图里添加标题方便单独分
- 固定宽度,长度可变
Zero Knowledge Proof
- 从零开始学习 zk-SNARK(三)——从程序到多项式的构造 - 知乎
- 从零开始学习 zk-SNARK(四)——多项式的约束 - 知乎
- 从零开始学习 zk-SNARK(五)——Pinocchio 协议 - 知乎
- What are zk-SNARKs? | Zcash
- Zero-knowledge proofs, a board game, and leaky abstractions: how I learned zk-SNARKs from scratch
Programming
After memory safety, what do you think is the next big step for compiled languages to take?
- usable module system
- error management
- The boundary between synchronous-world and asynchronous world
Write code that is easy to delete, not easy to… — programming is terrible
“Every line of code is written without reason, maintained out of weakness, and deleted by chance” Jean-Paul Sartre’s Programming in ANSI C.
JuliaLang: The Ingredients for a Composable Programming Language
- Multiple Dispatch: Open overloading via pattern match
Blockchain
Bitcoin’s Initial Block Download
- Running the scripts is still the bottleneck of IBD.
- Bitcoin Core 0.12.0 performs well in the above analysis because:
- libsecp256k is enabled.
- it does not validate signatures for transaction inputs where the witness is segregated.
The primary disadvantage is that the IBD node relies on a single sync node for all of its downloading.
All of these problems are addressed in part or in full by the headers-first IBD method used in Bitcoin Core 0.10.0.
Sync headers with single sync peers, but download concurrently from multiple peers.
Kevin Wang: Nervos – Scaling Smart Contact Blokchains With Proof of Work and Generalized UTXO
- 嘉楠耘智筹备进军基于互联网的算力销售,有的人喜欢把这类业务称为"云算力"
Productivity
- SET 法则:过好每一天的时间管理之道
- RICE: Prioritization for product managers | Inside Intercom
RICE is a scoring system for prioritization
- Reach
- Impact
- Confidence
- Effort
- How is a RICE score calculated?
RICE = RIC/E
COVID-19
- 经历了这次疫情的考验,这些健康、生活、效率习惯值得你长期坚守 - 少数派
- 家里有孩子,备好这些家庭常备药! - 丁香医生
- 隔离中的“钻石公主号”邮轮
- “亚洲霍乱”背后的恐惧,不止关于死亡
- 五年远程办公经验告诉你,疫情当前,怎样远程才舒坦? - 少数派
- 【霍尼韦尔1400021-M-44】EasyChem内置式重型防化服 P4 防护
Bookmarks
- 停工停课不停学,向你推荐 7 门有趣实用的线上课程 - 少数派
- 京东云 不限流量4G路由 吉客猫
- 每天 20G 高速流量 + 20G 中速
- 30天 79 90天 199 半年 299 一年 499
- go.dev