惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
The Last Watchdog
The Last Watchdog
TaoSecurity Blog
TaoSecurity Blog
Schneier on Security
Schneier on Security
SecWiki News
SecWiki News
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
O
OpenAI News
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
H
Hacker News: Front Page
Cisco Talos Blog
Cisco Talos Blog
Spread Privacy
Spread Privacy
Help Net Security
Help Net Security
P
Privacy & Cybersecurity Law Blog
K
Kaspersky official blog
S
Security @ Cisco Blogs
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Scott Helme
Scott Helme
博客园 - 司徒正美
B
Blog RSS Feed
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker
Google Online Security Blog
Google Online Security Blog
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Last Week in AI
Last Week in AI
月光博客
月光博客
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
小众软件
小众软件

Benson's blog

Enjoy life Internship AI on academic research How AI Will Change the Mobile Ecosystem Look ahead Goodbye 2025 Hacker News to Kindle Another project How to imporve english Introduction of Fraud detection PopTranslate Last day in netease Better idea between Copilot-typed and CLI-typed assistant Gemini-cli LLM Post-Training experience Papers I readed recently about LLM application Difference between LLMs and traditional computer technology GRPO Weekly-#26 AI Application Weekly-#25 AI infra and application Weekly-#24 First week as LLM inference engineer Weekly-#23 seeking job Weekly-#22 2025 New Year AutoSwitch Translate Goodbye 2024 Weekly-#20 Breaking of glass Cross Entropy Loss of Triton Weekly-#18 Cross Entropy Loss of Triton Weekly-#17 Triton Puzzles Weekly-#16 AutoBuilder Weekly-#15 Starting of tanble tennis Weekly-#14 Accident in life Weekly-#13 Trying of xiaohongshu Weekly-#12 summary of LLM acceleration Outline of LLM acceleration Weekly-#11 Copilot-type products Weekly-#10 Preparation for next journey Weekly-#9 Startup of YouTube Notes of flash-attention How to learn knowledge in new fields? Weekly-#8 Start Reading Notes of LoRA Acceleration of LLM - Matrix Multiplication Weekly-#8 Summary for two month Weekly-#7 Staying home Weekly-#6 Cost of PopTranslate Weekly-#5 Updating of PopTranslate Validated example of LLM acceleration Weekly-#4 First insight of LLM accelerate Weekly-#3 PopTranslate Weekly-#2 The fail of first product Weekly-#1 First week of indie develop slack迁移discord 雅思备考 2024Q3 中文博客合集 English Diary in May 五一游记 开始休假 离职前的状态 2024-01-01 duckdb 看懂的第一个PR learning english in October learning english in September learning english in August 大模型调研 自动驾驶的小玩具 旅游 扬州+苏州 small talk of learning english 新年新气象-碎碎念 刷剧 感染新冠 强化学习简介 神经网络解释性 全局的模型无关解释方法合集 社区发现算法概览 图神经网络入门(GNN) 我的第一款 iOS APP AtCoder Beginner Contest 268 人的信息输入方式对比 重叠社区检测 人穷极一生到底在追求什么 重拾生活规划 社区发现算法 - Louvain 《幸福的方法》 读《人类简史》有感 妙峰山骑行 黑客帝国 特征交互 特征工程 累计局部效应图 模型解释性-PDP 模型解释性 Web3 入门科普 总结 2022.4 孪生网络做 query 相似度任务 学习 2022.4 Imagen DeBERTa 读论文 用CNN做query相似度任务
top hack news 收集
Benson · 2023-08-06 · via Benson's blog

背景

Hack News 的新闻质量一直是毋庸置疑的,但榜单更新太快,主页也过于简单,为此很多人做了相关的扩展。

比如 Hack News 根据 score 进行 rss 订阅、hackNews 客户端分类型的top榜单。

结合从个人开发者论坛学到的”个人项目要从维护成本考虑,比如能不用server就不用server”,想到利用 github pages 刚好可以做一个定时爬取,静态展示的页面。

实现

1. 读取

利用 github action 功能,例行调用 hacknews 的API,定时获取最新的top1新闻,

具体用 shell 实现,hack news 的 API 是真的简洁。但简单的 API 已经足够用了。

编码实现:https://github.com/wa008/wa008.github.io/blob/main/topHackNews/runHackNews.sh

2. 存储

读取后存储到github 仓库中。

github action 确实做的丝滑,action中每次push代码默认不需要输入token,直接push就行,体验很棒。

代码实现:https://github.com/wa008/wa008.github.io/blob/main/.github/workflows/getHackNews.yml

3. 展示

利用 github pages 进行内容展示,就生成了历史所有的 hacknews 最热的内容榜单。

这其中主要是要跟原来的博客分开,需要做一个分类功能,其实就是把根目录的 _posts 文件夹转移到特定的分类下,比如 topHackNews 中。

整完了发现rss订阅也会订阅 hacknews的内容,这肯定不行,rss订阅的频率也太高了。原来rss订阅用的kekyll-feed 插件,但它的分类功能一直无法生效,直接无解。。

最终重新自定义了 rss 订阅文件,解决了这个问题,hacknews更新的订阅,以后需要了再搞吧

工具总结

Hack News: 提供内容来源,能提供简洁的API

github action: 定时运行任务,不需要自己提供server

github pages: 展示内容

API archive: 还发现了一个非常帮的免费API库,以后有需求了都可以找找

结论

成果:https://informal.top/topHackNews

第一次做项目还挺有意思的,现在的各种工具都太齐全了,甚至不需要自己搭server,都能部署自动更新的网站。

现在缺少的只是好的创意。

不需要部署server,这项目应该能存活挺长时间的吧