fs-street
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFarnam Street
Farnam Street
Fetches articles from Farnam Street blog, covering topics like mental models, decision-making, leadership, and learning.
从Farnam Street博客获取文章,内容涵盖思维模型、决策制定、领导力和学习等主题。
Quick Start
快速开始
undefinedundefinedBasic queries
基础查询
昨天的文章
今天的FS文章
2024-06-13的文章
昨天的文章
今天的FS文章
2024-06-13的文章
Search
搜索
有哪些可用的日期
undefined有哪些可用的日期
undefinedQuery Types
查询类型
| Type | Examples | Description |
|---|---|---|
| Relative date | | Yesterday, today, day before |
| Absolute date | | YYYY-MM-DD format |
| Date range | | Show available dates |
| Topic search | | Search by keyword |
| 类型 | 示例 | 描述 |
|---|---|---|
| 相对日期 | | 昨天、今天、前天 |
| 绝对日期 | | YYYY-MM-DD格式 |
| 日期范围 | | 显示可用日期 |
| 主题搜索 | | 按关键词搜索 |
Workflow
工作流程
- [ ] Step 1: Parse date from user request
- [ ] Step 2: Fetch RSS data
- [ ] Check content availability
- [ ] Format and display results- [ ] 步骤1:解析用户请求中的日期
- [ ] 步骤2:获取RSS数据
- [ ] 检查内容可用性
- [ ] 格式化并展示结果Step 1: Parse Date
步骤1:解析日期
| User Input | Target Date | Calculation |
|---|---|---|
| Yesterday | today - 1 day |
| Day before | today - 2 days |
| Today | Current date |
| 2024-06-13 | Direct parse |
Format: Always use
YYYY-MM-DD| 用户输入 | 目标日期 | 计算方式 |
|---|---|---|
| 昨天 | 今日减1天 |
| 前天 | 今日减2天 |
| 今天 | 当前日期 |
| 2024-06-13 | 直接解析 |
格式:请始终使用格式
YYYY-MM-DDStep 2: Fetch RSS
步骤2:获取RSS数据
bash
python skills/fs-street/scripts/fetch_blog.py --date YYYY-MM-DDAvailable commands:
bash
undefinedbash
python skills/fs-street/scripts/fetch_blog.py --date YYYY-MM-DD可用命令:
bash
undefinedGet specific date
获取指定日期的文章
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13
Get date range
获取日期范围
python skills/fs-street/scripts/fetch_blog.py --date-range
python skills/fs-street/scripts/fetch_blog.py --date-range
Relative dates
相对日期
python skills/fs-street/scripts/fetch_blog.py --relative yesterday
**Requirements**: `pip install feedparser requests`
---python skills/fs-street/scripts/fetch_blog.py --relative yesterday
**依赖要求**:`pip install feedparser requests`
---Step 3: Check Content
步骤3:检查内容
When NOT Found
未找到内容时
markdown
Sorry, no article available for 2024-06-14
Available date range: 2023-04-19 ~ 2024-06-13
Suggestions:
- View 2024-06-13 article
- View 2024-06-12 articlemarkdown
抱歉,2024-06-14暂无可用文章
可用日期范围:2023-04-19 ~ 2024-06-13
建议:
- 查看2024-06-13的文章
- 查看2024-06-12的文章Members Only Content
仅限会员内容
Some articles are marked - these are premium content and may only show a teaser.
[FS Members]部分文章标记为,这些是付费专属内容,可能仅显示预览内容。
[FS Members]Step 4: Format Results
步骤4:格式化结果
Example Output:
markdown
undefined示例输出:
markdown
undefinedFarnam Street · 2024年6月13日
Farnam Street · 2024年6月13日
Experts vs. Imitators: How to tell the difference between real expertise and imitation
专家vs模仿者:如何区分真正的专家与模仿者
Content
内容
If you want the highest quality information, you have to speak to the best people. The problem is many people claim to be experts, who really aren't.
Key Insights:
- Imitators can't answer questions at a deeper level
- Experts can tell you all the ways they've failed
- Imitators don't know the limits of their expertise
Source: Farnam Street
URL: https://fs.blog/experts-vs-imitators/
---如果你想获取最高质量的信息,就必须与最优秀的人交流。但问题在于,很多人自称专家,实际上并非如此。
核心见解:
- 模仿者无法深入回答问题
- 专家能告诉你他们所有的失败经历
- 模仿者不知道自己能力的边界
来源:Farnam Street
链接:https://fs.blog/experts-vs-imitators/
---Configuration
配置
| Variable | Description | Default |
|---|---|---|
| RSS_URL | RSS feed URL | |
No API keys required.
| 变量 | 描述 | 默认值 |
|---|---|---|
| RSS_URL | RSS源地址 | |
无需API密钥。
Troubleshooting
故障排除
| Issue | Solution |
|---|---|
| RSS fetch fails | Check network connectivity |
| Invalid date | Use YYYY-MM-DD format |
| No content | Check available date range |
| Members only | Some articles are premium content |
| 问题 | 解决方案 |
|---|---|
| RSS获取失败 | 检查网络连接 |
| 日期无效 | 使用YYYY-MM-DD格式 |
| 无内容 | 检查可用日期范围 |
| 仅限会员 | 部分文章为付费专属内容 |
CLI Reference
CLI参考
bash
undefinedbash
undefinedGet specific date
获取指定日期的文章
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13
Get date range
获取日期范围
python skills/fs-street/scripts/fetch_blog.py --date-range
python skills/fs-street/scripts/fetch_blog.py --date-range
Relative dates
相对日期
python skills/fs-street/scripts/fetch_blog.py --relative yesterday
undefinedpython skills/fs-street/scripts/fetch_blog.py --relative yesterday
undefined