LinuxDo 新帖推送
182 subscribers
251K photos
313K links
Download Telegram
标题: 中通,这是谁做的滑块验证,还是说必须要登录用户?
作者: #Phyjar
板块: #搞七捻三
编号: 807931
帖子: https://linux.do/t/topic/807931
时间: 2025-07-22 17:17:30
摘要:
标题: 有没有自动生成commit信息的工具?
作者: #长秋
板块: #开发调优
编号: 807935
帖子: https://linux.do/t/topic/807935
时间: 2025-07-22 17:18:41
摘要:
每次都要手写真的很麻烦,除了github desktop之外还有没有别的工具?
标题: 分享一下自用的augment提示词
作者: #129s
板块: #开发调优
编号: 807937
帖子: https://linux.do/t/topic/807937
时间: 2025-07-22 17:18:47
摘要:
粘贴到User Guidelines中:
Always reply in Chinese and strictly adhere to the following rules:

Tool Usage Reference:
When more context is needed: Prioritize using AugmentContextEngine to retrieve the codebase or git history.
When querying API references or best practices: Utilize the Context7 tool to get the latest library documentation.
When conducting in-depth thinking or planning: Use Sequential thinking, and update the documentation promptly after planning is complete.
Be sure to make full use of the tools mentioned above!

Version Control and Project Status Synchronization:
Before taking any action, ensure the workspace is clean. When you start a new task, please create a new branch. After completing each sub-task, remember to update the documentation first, and then commit -a after all changes are made. After completing the task, please merge the branch in a timely manner.

Problem Solving and Communication:
Honesty is the primary principle. When encountering difficulties or uncertainties, guessing or pretending to be complete is prohibited! You must proactively clarify user requirements or request more information.
When faced with technical challenges, you should prioritize finding ways to overcome them, rather than simply downgrading or changing the solution!
Please do not summarize or report at the end of the conversation. Just state what tasks you have completed. For specific detailed explanations, please update the readme document in the corresponding directory.

Code Quality and Maintenance:
When cleaning and refactoring code, prioritize addressing technical debt and infrastructure issues.
Place a high value on code quality, system stability improvements, and ensure consistency with design documents.
After updating the code, the relevant documentation must be updated in a timely manner.
A readme file needs to be written in each folder of the project, explaining the responsibilities of the directory in the most straightforward and concise language. As a consistent reference for all files in that directory, this document needs to be updated before each commit.

Code Writing Specifications:
When writing code, always start from the overall project architecture. Avoid introducing technical debt (e.g., scattered temporary files, hard-coded values, modules with unclear responsibilities).
In imperfect modules, avoid adding fallback mechanisms that cover up errors, ensuring that problems can be discovered in a timely manner.
Please write effective tests. For problems that cannot be solved, please record them truthfully in the documentation, rather than trying to get by.
Maintain critical thinking. If you find technical limitations or better implementation plans, you should proactively raise questions and drive design improvements.

File Handling Specifications:
All created files should be placed in an appropriate directory structure (e.g., centralized management or corresponding code modules), avoiding being randomly placed in the root directory.
Keep single files under 300 lines.
If a single file requires extensive modifications, please rewrite it and optimize it along the way.

Special Attention:
Always be mindful of maintaining sincerity. Please check if a git commit or documentation update is needed at the end of any conversation. This is crucial!

中文版(仅作参考,效果没英语好):
始终用中文回复,并且必须严格遵守以下规则:

工具使用参考:
需要了解更多的上下文时:优先使用AugmentContextEngine以retrieval codebase或git历史记录。
查询API参考或最佳实践时:利用Context7工具获取最新的库文档。
进行深入思考或规划时:请使用Sequential thinking,并在规划结束后及时更新文档。
请务必充分利用上述提及的工具!

版本控制与项目状态同步:
进行任何行动之前,需要确保工作区是干净的。当你开始一个新的任务时,请创建新的分支。每完成一个子任务后,记得先更新文档,在所有改动结束后commit -a。在完成任务后,请及时合并分支。

问题解决与沟通:
诚实是首要原则。遇到困难或不确定时,禁止猜测或伪装完成!必须主动澄清用户需求或请求提供更多信息。
面对技术难题,应优先寻求克服之道,而非简单降级或更换方案!
请不要在对话末尾进行总结或报告,只需说明你完成了哪些任务,对于具体的细节性解释请更新对应目录下的readme文档。

代码质量与维护:
在代码清理和重构时,优先处理技术债务和基础架构问题。
高度重视代码质量、系统稳定性改进,并确保与设计文档保持一致。
更新代码后,需及时同步更新相关文档。
项目中每个文件夹下都需要编写一份readm
标题: cf的R2免费额度是每个月10G上限还是只有10G免费额度?
作者: #bopomofo
板块: #搞七捻三
编号: 807944
帖子: https://linux.do/t/topic/807944
时间: 2025-07-22 17:22:33
摘要:
最近在弄个项目,想求证一下
标题: 救命!Claude 大段代码输出大概率必崩,是我的Mac/代理问题吗?
作者: #KIKO
板块: #开发调优
编号: 807945
帖子: https://linux.do/t/topic/807945
时间: 2025-07-22 17:24:27
摘要:
主题:Claude 频繁出现 “Couldn’t connect to Claude” 错误,尤其在输出大量代码时,求助经验丰富的用户或技术支持
大家好,
最近在使用 Claude 进行代码相关工作时,频繁遇到一个非常困扰的问题。如图所示,我的 Claude 界面总是显示 “Couldn’t connect to Claude” 并提示 “Unknown error”。
这个问题尤其在 Claude 需要输出上千行代码(例如处理大型项目文件、生成大量代码片段或进行复杂代码分析)时出现得最为频繁。通常在它即将完成或正在输出大量内容时,就会突然断开连接,不仅报错连接失败,还会显示网络连接错误,之前的输出内容清零,直接返回到输入状态,导致我不得不重新操作,严重影响工作效率。(如下图)

我的使用环境和已进行的排查:

设备: MacBook Pro (M4 Pro),系统版本是 [macOS Sequoia Version 15.5]。
网络连接: 我使用的是付费代理服务 “奶昔”,每月费用不低,理论上网络质量和稳定性应该有保障。
代理设置: 我已仔细检查过奶昔的代理设置,确保是全局代理或相关应用(浏览器)正确走了代理。也尝试过切换不同的节点,甚至尝试过不走代理直连(如果可能的话),但问题依然存在。
Mac 网络设置: 系统层面的网络设置(如 DNS、防火墙、网络优先级等)也大致检查过,没有发现明显的异常或冲突。
Claude 访问方式: 我在使用 Claude 网页版 时遇到此问题。之前尝试过 Claude for Mac 桌面客户端,但出错频率更高,因此目前主要使用网页版。

我目前的疑问和求助方向:

这是否是代理服务(奶昔)的问题? 尽管是付费且号称稳定,但在处理大量数据传输时,代理服务是否会有特殊限制、性能瓶颈或间歇性不稳定?
我的 MacBook (M4 Pro) 或 macOS 的网络设置是否存在某种我未发现的优化或兼容性问题? 例如,是否有特定的系统级网络配置或三方软件可能与 Claude 的连接产生冲突?
这是否是 Claude 服务
标题: 一个为new-api批量添加渠道的脚本
作者: #acips
板块: #搞七捻三
编号: 807947
帖子: https://linux.do/t/topic/807947
时间: 2025-07-22 17:24:43
摘要:
可能有人会说前端自带批量导入的功能。那如果有1w,10w,100w个key,阁下又该如何应对呢?(最近薅了一个渠道正好有这个需求)
个人感觉这个方案比直接编辑数据库省事。建议使用聚合标签+自动禁用
目前已适配new-api和Voapi,没写错误处理逻辑,因为没遇到过(
密钥放在api_key.txt,一行一个
import requests, json

# 基本配置
SITE = "" # 不含http 格式 ip:port 或域名 ("xxx.xx.xxx:xxxx")
SESSION = "" # cookie 的 session 值, 浏览器获取 ("MTc1Mjc......TW4attUjA==")

# payload 模板
PAYLOAD = {
"type": 1, # 1: Openai 格式
"max_input_tokens": 0,
"other": "",
"models": "model1,model2", # 模型 (多模型逗号分隔)
"auto_ban": 1, # 自动禁用
"groups": ["default"], # 分组
"priority": 0, # 优先级
"weight": 0, # 权重
"name": "", # 渠道名
"base_url": "https://api.openai.com", # base url
"openai_organization": "",
"tag": "", # 聚合标签 (建议启用)
"status_code_mapping": "",
"key": "", # 留空, 由脚本添加
"model_mapping": "", # 模型重定向
"test_model": "",
"group": "default"
}

HEADERS = {
"accept": "application/json, text/plain, */*",
"accept-encoding": "gzip, deflate",
"accept-language": "zh-CN,zh;q=0.9,en;q=0.8",
"cache-control": "no-store",
"content-type": "application/json",
"host": SITE,
"new-api-user": "1",
"origin": f"http://{SITE}",
"pragma": "no-cache",
"proxy-connection": "keep-alive",
"referer": f"http://{SITE}/console/channel",
"user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36",
"cookie": f"session={SESSION}",
"voapi-user": "1" # 仅 VoAPI 添加
}

def read_keys(file_path, start, end):
"""从文件中读取指定范围的密钥"""
try:
with open(file_path, 'r', encoding='utf-8') as file:
lines = file.readlines()
# 移除每行末尾的换行符
keys = [line.strip() for line in lines if line.strip()]
return keys[start:end]
except FileNotFoundError:
print(f"错误:文件 {file_path} 未找到")
return []
except Exception as e:
print(f"读取文件时出错:{e}")
return []

def send_request(keys):
"""发送 POST 请求,key 字段使用换行符连接的密钥"""
payload = PAYLOAD.copy()
payload["key"] = "\n".join(keys)

try:
response = requests.post(f"http://{SITE}/api/channel/", headers=HEADERS, json=payload)
print(f"请求状态码: {response.status_code}")
print(f"响应内容: {response.text}")
except requests.RequestException as e:
print(f"请求失败:{e}")

def main():
file_path = "api_key.txt"
batch_size = 1000
start = 0

while True:
keys = read_keys(file_path, start, start + batch_size)
if not keys:
print("已处理所有密钥或文件为空")
break

print(f"正在处理第 {start + 1} 到 {start + len(keys)} 行的密钥")
send_request(keys)

# 更新起始索引
start += batch_size

if len(keys) < batch_size:
print("已到达文件末尾")
break

if __name__ == "__main__":
main()
标题: 现在L站删帖不通知了?还有就算删帖的话我的贴子怎么违规了??有点逆天了
作者: #MonLay
板块: #运营反馈
编号: 807953
帖子: https://linux.do/t/topic/807953
时间: 2025-07-22 17:26:47
摘要:
我下午三四点发的两个max的sessionkey,刚刚有佬友问我失效了吗,我去重新取了sk准备回来编辑帖子,发现帖子没了,也没有任何通知,板块也没发错,就是发的福利羊毛的板块,进不去帖子了,以下是我一开始的标题。
标题: 腱鞘炎,想尝试立体鼠标,有推荐的吗?
作者: #晴空万里
板块: #开发调优
编号: 807956
帖子: https://linux.do/t/topic/807956
时间: 2025-07-22 17:27:04
摘要:
听说立体鼠标(垂直鼠标,人体工学鼠标)对手比较友好,
想试试,但市面上型号太多,不知道哪个好用
在用吗?
Click to view the poll.
问问大家有没有用过比较好用的立体鼠标?最好是Mac/Windows都兼容
标题: 华为云评价抽奖提问
作者: #白月光Queen
板块: #开发调优
编号: 807959
帖子: https://linux.do/t/topic/807959
时间: 2025-07-22 17:28:36
摘要:
话说大家评价抽的奖品都收到了吗?
都过去这么久,我这边一点动静都没有。单纯好奇想问一下中奖的各位佬友们
标题: 真是人菜瘾大
作者: #youlika
板块: #搞七捻三
编号: 807961
帖子: https://linux.do/t/topic/807961
时间: 2025-07-22 17:29:00
摘要:
打羽毛球真是人菜瘾大,刚刚又下单了 龙牙二代 + AB 线。
4U拉27磅回来试试。
标题: 从4月份开始我们公司下载和上传很慢。求佬解答
作者: #方盾CHEN
板块: #开发调优
编号: 807966
帖子: https://linux.do/t/topic/807966
时间: 2025-07-22 17:30:58
摘要:
下载文件要转圈圈十几分钟然后开始下载一个小时,正常下载几分钟,然后导致业绩严重下滑,客户觉得是我们的问题,然后就不了了之,运营商又甩锅给我们,甩锅给运营商最后到了6月份还是这个鸟样,我7月1号去福建玩刚好测试后台网速,很奇怪,我在福建下载的很快,用的酒店的网,但是我公司电脑还是巨慢,又想到近年在打击pcdn这种可能,受波及了。最近公司又在考虑上cdn加速但是迟迟没给日程。兄弟们咋整,我出差操作有时候卡的要死,很不方便。这种坑又坑自己人又坑客户。我的话就一个业务员售后。
标题: 123云盘又暗改,整了个新活
作者: #youke123456
板块: #搞七捻三
编号: 807967
帖子: https://linux.do/t/topic/807967
时间: 2025-07-22 17:31:57
摘要:
现在如果分享者储存超限,被分享者如果想转有他分享的文件必须付费。我只能说,难评
标题: 送三个 Outlook Token
作者: #kevin335200
板块: #福利羊毛
编号: 807969
帖子: https://linux.do/t/topic/807969
时间: 2025-07-22 17:32:01
摘要:
wmemail 买的,但 poolhub 那边无效
qnwiphol87355@outlook.com----sbluznvh55266----9e5f94bc-e8a4-4e73-b8be-63364c29d753----M.C558_BAY.0.U.-CnnwU1Q8kpks2PWGlfUuIvqtV!wVdXFncWbkgnx5LCJJMxOsfrmSMsRxNOc6DDxd8ZzMnPjk!9Fyo5XS4VXblEcB3yc8Bv1vjolOkGp0Q!3fztfSxsjZ9EbQugtrt0IGr9xT3pVAuHArmUyovRSXpaOiMNeltEcspMLC47rkpQZDjWCjO2by1VYtkjJTxhHnubMpI0jqK4o6SsP1OehHIDUObHHQ791yuKQYerGhheZFN8eQYVY6gOGT9d6632H7lbgz6Y0TdoBL6QqCBTLT93jyU!e8ND62gNDvrnjdGnsinzDJnc8bVeLnEk45!5Pj2TpTmy6U942YOwWOQua5iPHKt5CB0ydn6sLMvUlaHR9SnykgAk*vUT0ma13WM6cbfllBO9L4OYTuwdYFIFk$
avpqx58399@outlook.com----vskm3277590----9e5f94bc-e8a4-4e73-b8be-63364c29d753----M.C531_BAY.0.U.-Ci5XHK2GKp9gM3513dNSvzdVtIZlnvgn1kfX5SMsxgeQ5pzxT2VmORabE0APla4kypapTihxwk5SMyzBffsvxlTlWfK9kapQpye9PrAhZvrd6oyD1kCReBkAkbQsVb7d7VB6g4lY954n8bjCV0fyIDZsThMCa4EoRK7qSvoge0vcIGM9IocUd58oOxcFUlP!XIdeD2HnhYGDFWg0VBr6w3CdoODnf3LPchRQBzmPr4yK17M!YzE8ZInPdHhV6LqU6ExGsfcllnTSHp5UrgbevM6VSA2dZ48P9xRY4By8PkdNfHqoGuYSxisEcSpxijFZ2NR9uconhzza6EtaSOKlmQFypRMlTdqfHHODt3sbnvFm7z2aHnvzXC!M0UmcH4PhLmrVQHvdbsO9JoI$
wfckh6125@outlook.com----cffvtfq5313346----9e5f94bc-e8a4-4e73-b8be-63364c29d753----M.C506_BAY.0.U.-CngvIuUapogYUQ3NgGq8fWFsO8utrLIjiOHa3!pKRtfcKSyU0F9C7kjY7pmCUg!xEtIJj4wKFmNqNx7GcPSAgGFuDAz9iZRvh0CdsDNbFjNahNZrQaVsllp91ihW4QOSrzgl4aydccboCUkcyRn6TQVCkk!BhLoqo9tFXXsPYQ*!Mb51XTUcP2Oldc0OhE9aBODd!W!qauGvAGG!cZeM6a!tfyRfEGfS09J40X6UaxjXINqo2QZUFjbhiaj3ogZZIxstyRIJcimHkGMPAUYI6RNGOojKowSjEcSm3aApfyflQSXLOgPStlGz1PtPcbVOSrP6ipya7m084DsMNj6C66cOSvKgtY3rGn01GhaLmL6ZspLMiXgYPhSGHXOVMeI*Ww5R66Pzc1kWHcRbY$
求个赞,谢谢老板!
标题: 发送 PT 站邀请💊
作者: #jacinzhang
板块: #资源荟萃
编号: 807974
帖子: https://linux.do/t/topic/807974
时间: 2025-07-22 17:33:37
摘要:
AFUN * 10
MyPT * 10
咖啡 * 6
1ptba * 2
大青虫 * 1
可求多个,发 PTPP 图.
求药格式
站点:xx
id: xxx
邮箱:gamil 或者 qq
标题: 大学毕业具有20年社会经验的现代人穿越到明朝清朝 能否当好皇帝?
作者: #maxweil
板块: #搞七捻三
编号: 807975
帖子: https://linux.do/t/topic/807975
时间: 2025-07-22 17:33:58
摘要:
在看万历十五年时突然想到这个话题,感觉挺有意思的,就拿来水一水
标题: Qwen官网的Qwen3-235B-A22B-2507 好像挂了
作者: #Momeo
板块: #开发调优
编号: 807980
帖子: https://linux.do/t/topic/807980
时间: 2025-07-22 17:35:20
摘要:
下午五点左右发现报错用不了了,其他模型没问题
标题: 佬们,谁有这本书的电子版《此刻是春天》
作者: #减肥呢
板块: #资源荟萃
编号: 807984
帖子: https://linux.do/t/topic/807984
时间: 2025-07-22 17:36:03
摘要:
佬们,谁有这本书的电子版《此刻是春天》
标题: 这些品牌都是自来水净化的
作者: #linus
板块: #搞七捻三
编号: 807985
帖子: https://linux.do/t/topic/807985
时间: 2025-07-22 17:36:07
摘要:
刚刚看抖音,抖音说这些品牌都是自来水净化或者过滤的
https://v.douyin.com/WVgPLuJqI8s/ C@u.fo
标题: Kimi2的发散思维太奇怪了吧
作者: #吃饭睡觉
板块: #搞七捻三
编号: 807988
帖子: https://linux.do/t/topic/807988
时间: 2025-07-22 17:36:17
摘要:
感觉还没有之前的版本好使,要求搜索客户清单,直接弹了一个excel表模板的网址。