Ask HN:我现在到底该怎么用电脑?
1 分•作者: re6tor•8 个月前
我是一名拥有 15 年以上经验的高级顾问(DevOps、安全)。当不为客户工作时,我似乎不知道该如何使用我的电脑了…… 我对工作中接触到的所有威胁/摩擦感到厌烦。你们也有这种情况吗? 我认为我的大部分痛点都与永久连接到互联网有关,但可能还有其他原因。<p>编程不再有趣了
- 需要在虚拟机(Podman 机器)内设置一个开发容器,以免在使用依赖项时出问题
- 几乎没有编程语言或主流项目发布可供离线使用的文档,更不用说 manpage 了
- 需要不断浏览网页查找参考资料或询问我选择的 LLM<p>自托管本身就是一项工作
- 当流量被代理到有状态应用程序时,使用 WAF 中间件(ModSecurity)设置 Traefik
- 及时了解我的服务的变更日志,并定期更新容器镜像标签 + 摘要引用
- 将服务与 Authelia 集成以实现 SSO<p>你不能只是下载软件
- 尽量减少我在实际笔记本电脑上运行的软件数量
- 任何我没有从 Homebrew 安装的软件都需要在 Virustotal 中扫描,包括每次更新
- 如果是一次性的,它将在虚拟机中运行<p>附言:我决定不对 SaaS 产品发表评论,因为那样我会没完没了……
查看原文
I'm a senior consultant (DevOps, security) with 15+ years of experience. When not doing work for a client, I don't seem to know what to do with my computer anymore... I get put off by all the threats/friction I've been exposed to professionally. Does this happen to any one of you too? I think most of my pain points are related to being perma-connected to the Internet but it might be something different.<p>Coding isn't fun anymore
- Need to set up a devcontainer inside a VM (a Podman machine) so as not to get rekt when using dependencies
- Almost no programming language or mainstream project publishes documentation to be consumed offline, let alone manpages
- Need to constantly browse the web to look for references or ask my LLM of choice<p>Self-hosting is its own job
- Set up Traefik with a WAF middleware (ModSecurity) when traffic is proxied to stateful applications
- Keep up-to-date with my services' changelogs and regularly bump container image tags + digest reference
- Integrate services with Authelia for SSO<p>You can't just download software
- Reduce to a minimum the amount of software that I run on my actual laptop
- Anything that I don't install from Homebrew needs to get scanned in Virustotal, including every update
- If it's a one-off, it'll run in a VM<p>PS: I decided not to comment on SaaS offerings because that'd keep me going forever...