Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wenerme committed Jan 25, 2024
1 parent 82c5f3f commit ef1d424
Show file tree
Hide file tree
Showing 51 changed files with 1,137 additions and 115 deletions.
6 changes: 6 additions & 0 deletions notes/ai/ai-awesome.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,12 @@ tags:
- [outlines-dev/outlines](https://github.com/outlines-dev/outlines)
- Apache-2.0

## Client

- Web
- [vercel/ai](https://github.com/vercel/ai)
- https://sdk.vercel.ai/docs

## SelfHost

- [BerriAI/litellm](https://github.com/BerriAI/litellm)
Expand Down
8 changes: 7 additions & 1 deletion notes/db/kv/foundationdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ title: FoundationDB

- [FoundationDB](https://github.com/apple/foundationdb)
- Apache-2.0, C++
- by Apple
- Cassandra -> FDB
- 分布式、事务、KV
- 作为 DynamoDB, Cassandra, HBase 的替代
- 可以作为别的服务的存储底层: 上层实现 SQL、Document
- 参考
- https://apple.github.io/foundationdb/
- https://apple.github.io/foundationdb/architecture.html
- [FoundationDB/awesome-foundationdb](https://github.com/FoundationDB/awesome-foundationdb)
- [FoundationDB/fdb-kubernetes-operator](https://github.com/FoundationDB/fdb-kubernetes-operator)
- [FoundationDB/fdb-document-layer](https://github.com/FoundationDB/fdb-document-layer)
Expand All @@ -18,7 +24,7 @@ title: FoundationDB
- [FoundationDB Record Layer: A Multi-Tenant Structured Datastore](https://www.foundationdb.org/files/record-layer-paper.pdf)
- [QuiCK: A Queuing System in CloudKit](https://www.foundationdb.org/files/QuiCK.pdf)
- [How FoundationDB works and why it works](https://blog.the-pans.com/notes-on-the-foundationdb-paper/)
- https://apple.github.io/foundationdb/architecture.html
- https://news.ycombinator.com/item?id=16877395

:::caution

Expand Down
15 changes: 8 additions & 7 deletions notes/dev/dict.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,14 @@ tags:

### 搜索引擎优化

| 英文 | 含义 | 释义 |
| -------- | ------------ | ---------------------- |
| SEO | 搜索引擎优化 | Search Engin Optimize |
| UTM | 跟踪模块 | Urchin Tracking Module |
| medium | 媒体 |
| campaign | 活动 |
| term | 词组 |
| 英文 | 含义 | 释义 |
| -------------- | ------------ | ---------------------- |
| SEO | 搜索引擎优化 | Search Engin Optimize |
| UTM | 跟踪模块 | Urchin Tracking Module |
| medium | 媒体 |
| campaign | 活动 |
| term | 词组 |
| Event Tracking | 日志埋点 |

## 投融资

Expand Down
5 changes: 3 additions & 2 deletions notes/dev/editor/README.md → notes/dev/ide/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Editor
title: IDE
---

# Editor
# IDE

- IDE - Integrated Development Environment
- [VSC](./vsc.md)/monaco based
- [Microsoft/monaco-editor](https://github.com/Microsoft/monaco-editor)
- [vscodium](./vscodium.md)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions notes/dev/editor/jetbrain.md → notes/dev/ide/jetbrain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,3 @@ sharedIndex:
- https://www.jetbrains.com/help/webstorm/how-to-improve-product-performance.html
- https://blog.jetbrains.com/kotlin/2021/06/simple-steps-for-improving-your-ide-performance/
## Code Vision hints evaluation
- 显示使用情况
- 占用更多 CPU
- https://www.jetbrains.com/help/rider/Code_Vision.html
## Cannot connect to already running IDE instance. Exception: Process 621 is still running
```bash
ls "$HOME/Library/Application Support/JetBrains/IntelliJIdea2023.2"

ls $HOME/Library/Application\ Support/JetBrains/*/.lock
rm $HOME/Library/Application\ Support/JetBrains/*/.lock
```
28 changes: 28 additions & 0 deletions notes/dev/ide/jetbrain/jetbrain-faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
tags:
- FAQ
---

# Jetbrain FAQ

## macOS 获取 datasource 的密码

- 复制 datasource - 实际为 XML
- 粘贴出来,获取到 UUID
- 打开 Keychain Access,在 login 里 搜索 UUID
- 查看密码即可

## Code Vision hints evaluation

- 显示使用情况
- 占用更多 CPU
- https://www.jetbrains.com/help/rider/Code_Vision.html

## Cannot connect to already running IDE instance. Exception: Process 621 is still running

```bash
ls "$HOME/Library/Application Support/JetBrains/IntelliJIdea2023.2"

ls $HOME/Library/Application\ Support/JetBrains/*/.lock
rm $HOME/Library/Application\ Support/JetBrains/*/.lock
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions notes/devops/web/apisix.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ title: Apache APISIX

# Apache APISIX


:::caution

- 默认 3 etcd 会占用非常多资源,非常不划算
- apisix 依赖 etcd 容易出问题

:::

- [apache/apisix](https://github.com/apache/apisix)
- Apache-2.0, Lua+Nginx/openresty+etcd
- 支持 Golang 插件
Expand Down
7 changes: 7 additions & 0 deletions notes/mgmt/marketing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 市场营销
---

# 市场营销

- https://en.wikipedia.org/wiki/Marketing
File renamed without changes.
File renamed without changes.
90 changes: 90 additions & 0 deletions notes/mgmt/marketing/marketing-glossary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
tags:
- Glossary
---


# 市场营销


- AARRR
- 根据所处时间和场景不同排列也不同

| 英文 | 含义 | 释义 |
| ----------------- | ---------------------------- | ----------------------------------------------------- |
| DAU | 日活用户 | Daily Active User |
| WAU | 周活用户 | Monthly Active User |
| MAU | 月活用户 | Monthly Active User |
| YAU | 年活用户 | Yearly Active User |
| active | 活跃 | 一般定义为发生过某个事件 |
| AARRR | 获客、激活、留存、引荐、盈利 | Acquisition、Activation、Retention、Referral、Revenue |
| acquisition | 获客 | 拉入新用户 |
| activation | 激活、活跃 | 初次印象影响 |
| retention | 留存 | 用户持续使用 |
| referral | 引荐 | 推荐给其他人,带来新用户或成交 |
| revenue | 收益 |
| funnel | 漏斗 |
| LTV | 生命周期价值 | Lifetime Value |
| CLV | 客户生命周期价值 | Customer Lifetime Value |
| CAC | 获客成本 | Customer Acquisition Cost |
| segment | 人群、分片 | 以一定的纬度划分用户 |
| magic number | 魔法数字 | 零界点 |
| metric | 指标 |
| KPI | 关键绩效指标 | Key Performance Indicators |
| North star metric | 北极星指标 |
| critical path | 关键路径 |
| behavior | 行为 |
| behavior analysis | 行为分析 |
| behavior event | 行为事件 |
| portrait | 画像 | 尝试理解用户 |
| cluster | 聚类 | 画像方式、使用相似性来定义用户 |
| event | 事件 |
| AB Test | A/B 测试 | 实验验证 |

- Growth hacking - 增长黑客
- 专注于快速增长的营销方法
- 适用于初创公司和快速发展的企业
- 结合传统的营销策略、产品开发和数据分析,以最小的成本实现最快的增长。
- 特点
- 数据驱动
- 迭代试验
- 创新思维
- 用户聚焦
- 跨职能协作
- 步骤
- 设定增长目标
- 分析和理解用户 - 深入了解目标用户群体,包括他们的需求、行为和痛点。
- 构建增长团队 - 跨职能团队,集合不同领域的专业知识。
- 实施增长实验
- 数据分析和优化
- 规模化成功策略

## 客户生命周期

- 意识阶段:消费者开始了解品牌或产品。
- 考虑阶段:消费者考虑是否购买。
- 购买阶段:消费者进行首次购买。
- 保持阶段:保持客户的持续购买和兴趣。
- 忠诚阶段:客户变成品牌的忠实支持者。
- 倡导阶段:客户推荐产品给其他人。

---

- Reach - 触达
- Acquisition - 获客
- Conversion - 转化
- Retention - 留存
- Loyalty - 忠诚

关注于品牌的行为和策略,以及客户在每个阶段的行动。

---

- Awareness - 意识
- Interest - 兴趣
- Desire - 欲望
- Action - 行动
- Loyalty - 忠诚
- Advocacy - 倡导

侧重于理解和影响消费者的心理过程,从了解到购买,再到成为品牌的倡导者。
10 changes: 10 additions & 0 deletions notes/mgmt/mgmt-glossary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
tags:
- Glossary
---

# 管理术语

| abbr. | en | cn |
| ----- | ------------------------- | -------------- |
| PMO | Project Management Office | 项目管理办公室 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 0 additions & 29 deletions notes/network/lb.md

This file was deleted.

33 changes: 33 additions & 0 deletions notes/network/loadbalance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Load Balance
---

# Load Balance

- [DPDK](https://en.wikipedia.org/wiki/Data_Plane_Development_Kit) - Data Plane Development Kit
- 直接在网卡开发应用实现抓发,绕过内核处理,做到性能最大化
- 绕过内核
- [Netfilter](https://en.wikipedia.org/wiki/Netfilter)
- Linux 提供的内核机制,用于网络相关处理
- [OpenOnload](https://www.openonload.org/)
- 网络栈
- [FDio/vpp](https://github.com/FDio/vpp) - [fd.io](https://fd.io/) 的项目 - The Fast Data Project
- open source version of Cisco's Vector Packet Processing (VPP) technology
- 参考
- [Kernal bypass](https://blog.cloudflare.com/kernel-bypass/)
- 如何绕过内核以提高性能
- PACKET_MMAP - Linux 接口,快速网络嗅探
- PF_RING - 加速包捕获,不在 linux 主干
- Snabbswitch - L2,使用 Lua 编写的框架,对网卡编程,绕过内核网络栈
- DPDK
- Netmap
- [10 Open Source Load Balancer for HA and Improved Performance](https://geekflare.com/open-source-load-balancer)
- [iqiyi/dpvs](https://github.com/iqiyi/dpvs) - high performance Layer-4 load balancer based on DPDK
- [Building a Billion User Load Balancer](https://news.ycombinator.com/item?id=13354546)

## NOTE

- LB 需要考虑
- 支持的协议层级
- 支持的应用协议
- 支持的负载权重因子
2 changes: 2 additions & 0 deletions notes/platform/aliyun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ title: 阿里云
- 2C2G 20%
- 24 分/小时
- 最多累计 576
- 年付 7.3 折, 两年付 6.1折, 三年付 4.8折, 四年付 3.9折,五年付 3.3折
- 年付 8.5 折, 两年付 7.0折, 三年付 5.5折, 四年付 4.6折,五年付 3.9折

## ACK

Expand Down
Loading

0 comments on commit ef1d424

Please sign in to comment.