V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jukanntenn  ›  全部回复第 1 页 / 共 10 页
回复总数  184
1  2  3  4  5  6  7  8  9  10  
3 天前
回复了 sakurajiayou 创建的主题 推广 [CLAUDE] 送领千万 TOKEN
x4da0x 感谢!
好像 custom 有些 bug ,我接入英伟达的接口,模型 minimax2.1 ,返回的结果:

```
<think>The changes are:
1. In `src/pool.rs`:
- Added `use log::error;` import
- Changed two `self.ticks.update(...)` calls from using the try operator (`?`) to using `match` expressions that log an error and return the error if one occurs.

2. In `src/quoter.rs`:
- Added `use log::error;` import
- Changed the `pool.get_output_amount(...)` call from using the try operator (`?`) to using a `match` expression that logs an error and returns the error if one occurs.

The changes are about error handling and logging. They are making the error handling more explicit by logging errors before returning them.

The most significant change is the addition of error logging in both files. This is a fix in the sense that it improves error reporting, but it doesn't fix a bug per se. It's more of a refactor to add logging.

The conventional commit type for such changes would be either `fix` (if we consider it as fixing the lack of logging) or `refactor` (if we consider it as refactoring the error handling). However, since the primary purpose is to add logging for better error reporting, I think `
```
我添加了 GLM 的 key ,依然提示错误:OpenAI key not set
静态网站?我在输入框输了一个名字,按回车没有任何反应。
懒猫微服,内网穿透真丝滑,远程微信能多开,新年抽奖送好礼!
7 天前
回复了 owlzhang95 创建的主题 生活 打呼噜影响家庭生活状态了
我买了可升降的电动床,头部抬高,睡前注意一下睡姿,改善了非常多。我媳妇儿以前会被呼醒数次,最近监测降低到了 1 次以下。
@metalmax #14 可以分享吗?这个太刚需了!
AI 才喜欢不加空格,搞得我非常难受。
14 天前
回复了 xiaohantx 创建的主题 智能家电 想请教下智能灯光和智能开关这一块
@xiaohantx #20 是智能灯带吗?如果不是的话,只控制快关而已,开关支持米家就行,只要能接入米家就能接入 HA 。如果是智能灯带,买支持米家的控制器,拼多多我看到非常多。
14 天前
回复了 xiaohantx 创建的主题 智能家电 想请教下智能灯光和智能开关这一块
有调节色温的需求就智能开关 + 智能灯;没有就智能开关 + 普通灯,这是最佳组合。智能开关非常便宜。
2025 年 12 月 27 日
回复了 zzzzzl 创建的主题 生活 魔幻的一周
"而且不是乱搞的人"
大家别应激,op 只说米家,也没提小米。
2025 年 12 月 17 日
回复了 milkleeeeee 创建的主题 分享创造 一通宵肝了个全网 AI 中转站比价工具
加了 www 打开了
2025 年 12 月 17 日
回复了 milkleeeeee 创建的主题 分享创造 一通宵肝了个全网 AI 中转站比价工具
没有 https 打不开
2025 年 12 月 14 日
回复了 plane 创建的主题 分享创造 两周做了快十款产品后,过去一周我又做了什么呢
牛的,我之前也是尝试 vibe coding 一个工具 https://github.com/jukanntenn/markpost ,只有 2 个 API + 一个简单的 Web UI ,虽然 AI 半天时间就搞出来上线了,但后来发现代码惨不忍睹,很难维护和迭代,最终还是持续人工 + AI 重构了很长一段时间。

Op 一次能搞出这么多,确实效率高。不知道有没有什么经验可以分享,如何在高质量代码和效率间找平衡。
我现在主力 TREA, GLM 4.6 + Claude Code 写 Rust + 前端感觉挺不错,和 claude ai 币肯定是有差距的,但胜在便宜 + 量大也没什么好说的了,不差钱就上 claude AI 好了。
2025 年 12 月 3 日
回复了 ayangweb 创建的主题 职场话题 开源项目对求职真的没用吗?
具体还是要看技术难度和开源项目技术栈与应聘公司的匹配度,否则大部分开源项目本质上只是一个技术类应用,都是成熟技术的组合,没有什么技术突破性贡献,虽然 stars 数很高,最多证明维护者对这块技术栈非常熟悉,如果和公司需求的技术栈不匹配也没什么用。
1  2  3  4  5  6  7  8  9  10  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   918 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 22:12 · PVG 06:12 · LAX 14:12 · JFK 17:12
♥ Do have faith in what you're doing.