exiledkingcc's recent timeline updates
exiledkingcc

exiledkingcc

V2EX member #360444, joined on 2018-11-02 15:13:45 +08:00
exiledkingcc's recent replies
Jun 21, 2025
Replied to a topic by tt83 程序员 我完不成的大概率 AI 也做不出来
AI 写代码就是两点好。
一是它知道该用哪些 api ,要怎么用。这是它相当于把自己搜索“完成 xxx 功能使用什么 api”,然后查文档,然后写 demo 验证的这些过程智能化、自动化了。这点很好用。
二是它很会写模板代码,只要你的程序结构比较好,命名规范清晰,它能帮你补全很多简单的逻辑。这点比较省时间。
至于要让它写一个完整的有工程质量的代码,除非网上有人已经写过了,它直接抄过来,否则是不大可能的。
Apr 30, 2025
Replied to a topic by jackOff Python Python 项目代码升级咋搞?
程序使用 systemd service 来运行。
在 ExecStartPre 里面处理更新逻辑。
更新时将需要更新的文件,放在一个特定的位置,然后退出。
记得配置 Restart 与退出的 exit code ,保证更新时的退出码后能重启(区别于正常服务停止)。
ExecStartPre 里面的脚本只需要检测更新是否存在,并替换。
Mar 6, 2025
Replied to a topic by DearM Android 技术问题,咨询各位大佬。
用系统的推送服务,不要自己瞎搞这种吃力不讨好,又恶心用户的功能。
Mar 6, 2025
Replied to a topic by sngxx git 请教一个开发流程中 GIT 解决冲突的问题
1. 先在 master 分支上 pull remote
2. 然后在 feature 分支上 rebase master ,解决冲突
3. 把 feature 分支 merge 到 master
4. 在 master 分支上 push remote

如果是多人合作,那么最好有一个 maintainer 来干这个事。然后:
developer:
1. 更新 master
2. 然后在 feature 分支上 rebase master ,解决冲突
3. feature 分支推送到 remote

maintainer:
1. 更新 master
2. 拉取 remote 的 feature 分支到本地
3. 合并 feature 到 master
4. 推送 master 分支到 remote
建议用上工具,包括但不限于 ruff black mypy 。
这些工具都可以帮助你写出更好的代码。
@wsseo 这种心态能搞得好?现在新的编程语言哪个不是社区建设?像这种藏着掖着的,何必在它上面浪费时间?另外,想一想几年前的吹得牛逼轰轰方舟编译器,现在在哪里?
编译器要注册才能下载的编程语言,不会有什么前途的。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2744 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 05:24 · PVG 13:24 · LAX 22:24 · JFK 01:24
♥ Do have faith in what you're doing.