BytePower 技术周刊 - 034

2024/4/24

# 📘 封面


CNCF 给出的云原生全景图,图中只展示局部,可以到Cloud Native Landscape (opens new window)查看全部

# 📖 文章

# 超全整理!Linux 性能分析工具汇总合集 (opens new window)

# The Clean Architecture (opens new window)(英文)

The Dependency Rule

The concentric circles represent different areas of software. In general, the further in you go, the higher level the software becomes. The outer circles are mechanisms. The inner circles are policies.

The overriding rule that makes this architecture work is The Dependency Rule. This rule says that source code dependencies can only point inwards. Nothing in an inner circle can know anything at all about something in an outer circle. In particular, the name of something declared in an outer circle must not be mentioned by the code in the an inner circle. That includes, functions, classes. variables, or any other named software entity.

By the same token, data formats used in an outer circle should not be used by an inner circle, especially if those formats are generate by a framework in an outer circle. We don’t want anything in an outer circle to impact the inner circles.

# rust-by-example (opens new window)(英文)

Learn Rust with examples (Live code editor included)

另一个类似的项目rust-by-practice (opens new window)

# Hello 算法 (opens new window)

本项目旨在创建一本开源、免费、对新手友好的数据结构与算法入门教程。

全书采用动画图解,结构化地讲解数据结构与算法知识,内容清晰易懂,学习曲线平滑。 算法源代码皆可一键运行,支持 Python、C++、Java、C#、Go、Swift、JavaScript、TypeScript、Dart、Rust、C 和 Zig 等语言。

文中介绍了几种大模型的基本信息和特点,可以根据需求选用。当然 AI 的信息很快就过时了,文中还在介绍 LLaMA 2, 但是 LLaMA 3 已经发布了。

# 📡 技术

# htmlx (opens new window)

HTMX 在 2023 年 JavaScript Rising Stars “前端框架 “类别中排名第二(仅次于 React),还入选了 GitHub Accelerator,并在 GitHub 上获得了超过 2 万颗星。

HTMX 是一种轻量级的现代交互解决方案,与 React 相似,但集成简单,没有 jQuery 的开销。它使用自定义属性扩展 HTML,无需 JavaScript 代码即可实现 AJAX 请求。HTMX 背后的理念是保持简单,让开发人员可以在不放弃熟悉的 HTML 的情况下徜徉于神奇的网络世界。

在复杂的前端框架占据主导地位的今天,HTMX 是一种精简、灵活的替代方案。

# 🧰 工具

# Tig: text-mode interface for Git (opens new window)

在命令行查看 git 分支、提交信息很方便。

tig

# ZenUML (opens new window)

ZenUML is a multi-platform diagram-as-code solution for sequence diagrams, flow chart* and more

# alist (opens new window)

🗂️ 一个支持多存储的文件列表/WebDAV 程序,使用 Gin 和 Solidjs。

# DesignSystemHunt (opens new window)

网站提供了一些设计素材,有的还共享到了 Figma。

# Equals (opens new window)

一个数据分析工具,集成了很多功能。

# semaphore (opens new window)

Modern UI for Ansible.

# 🐠 有趣的东西

# Notion Headers (opens new window)

提供了一些图片,专门用作 Notion Header 背景,让你的 Notion 文档更加美观。

# CookLikeHOC (opens new window)

🥢 像老乡鸡 🐔 那样做饭。文字来自《老乡鸡菜品溯源报告》,并做归纳、编辑与整理。CookLikeHOC.

上次更新: 2024/4/24 17:30:46