qiudx's recent timeline updates
qiudx

qiudx

V2EX member #419790, joined on 2019-06-08 10:31:34 +08:00
Today's activity rank 16386
qiudx's recent replies
看着是黄色 实际是红色吧 闯红灯没毛病
Jun 9, 2025
Replied to a topic by klusfq 程序员 2025 年 6 月的 copilot 和 cursor 差距多大?
@dassh 我试了下,copilot 的回答
def check_box(box, w, h):
"""
检查给定的框是否有效。

参数:
box (tuple): 包含四个浮点数 (x1, y1, x2, y2) 的元组,表示框的左上角和右下角的相对坐标。
w (int): 图像的宽度。
h (int): 图像的高度。

返回:
bool: 如果框的面积大于 0 ,则返回 True ;否则返回 False 。
"""
x1, y1, x2, y2 = box
x1, y1, x2, y2 = int(x1 * w), int(y1 * h), int(x2 * w), int(y2 * h)
return (x2 - x1) * (y2 - y1) > 0
Jul 16, 2024
Replied to a topic by longbuluo OpenAI "通义灵码"和"Github Copilot" 差距大吗?
copilot 比较好用,其他的体验较差
支持一下
支持一下
万一中了呢
我也想换电池
蹲个码
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5892 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 97ms · UTC 03:35 · PVG 11:35 · LAX 20:35 · JFK 23:35
♥ Do have faith in what you're doing.