linux.do
21K subscribers
116K photos
195 videos
115 files
249K links
linux.do最新话题和热议话题
Download Telegram
有搭过rustdesk中继站的佬吗,有问题请教

我按照官方开源版文档的操作,使用dokcer安装的。
version: '3'

networks:
rustdesk-net:
external: false

services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r rustdesk.example.com:21117
volumes:
- ./data:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: unless-stopped

hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
command: hbbr
volumes:
- ./data:/root
networks:
- rustdesk-net
restart: unless-stopped

这是提供的docker-compose.yml文件,运行之后一直hbbs exited with code 0 (restarting) hbbr exited with code 0 (restarting) hbbr | [2025-12-09T12:20:19Z ERROR hbbr::lic] Registered email required (-m option). Please pay and register on RustDesk Pricing - Self-Hosted Remote Desktop Server Plans — RustDesk. hbbs | [2025-12-09T12:20:20Z ERROR hbbs::lic] Registered email required (-m option). Please pay and register on RustDesk Pricing - Self-Hosted Remote Desktop Server Plans — RustDesk. hbbs exited with code 0 (restarting)。

我拉的不是开源版的为什么一直提示我要付费。这到底是为什么啊。付费商业版不是pro吗。
我用的是阿里的vps,用的阿里的镜像源

4 posts - 4 participants

Read full topic

via LINUX DO - 最新话题 (author: lili)
佬们有没有什么便宜的QQ音乐会员渠道啊,会员到期了

9 posts - 8 participants

Read full topic

via LINUX DO - 最新话题 (author: zeo)
cc的输入为什么这么高

从cherry studio的cli工具点进去的,进去直接用,是姿势问题?正常阅读一个文件,输入就这些

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: 阿拉丁神灯)

Invalid media: image
本地LLM加MCP(iOS)

前几天看到的TestFlight专案
主打本地LLM加上联网功能
文字模型可以自行下载(如Qwen3)
语音模型是whisper‑v3‑turbo
至于联网部分则是透过Serper.dev的API抓取
我觉得考虑到目前很多AI个人版预设开启数据分享的情况下
这是个蛮有趣的选项

这边给一下作者TestFlight
testflight.apple.com

Join the HopPT beta

Available on iOS

顺便问一下有没有人有类似的方案可以分享

当然如果要纯本地可以用fullmoon

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: Josen)

Invalid media:
image
image
😡 避坑GLM编码套餐 效果不行还不能退款

过去这么久, 之前还犹豫GLM4.5的能力, 现在4.6出来这么久了想着支持一下国产模型, 但是发现能力实在是太差了.

购买了一个季度的MAX套餐, 刚用半个小时就折磨的要崩溃了, 简直没办法正常使用.

购买后, 马上就进行一个k8s环境问题的测试, 结果反复出现问题, 道歉倒是挺干脆.
指令遵循能力非常差, 相同的错误即使明确指出后, 经过一轮对话之后还会出现相同问题.

我是需要它来解决问题的, 结果半个小时内一直是我在解决它的问题.
忍无可忍就去平台提交工单申请退款, 结果告诉我不能退? 这是骗一个算一个?

6 posts - 4 participants

Read full topic

via LINUX DO - 最新话题 (author: keyframes)
Windows下wsl能使用kiro ide吗

没有界面的Ubuntu如何使用类似cursor、winsurf、kiro之类的 IDE呢

3 posts - 3 participants

Read full topic

via LINUX DO - 最新话题 (author: hefeng)
把朋友拉进家庭组,但是会员权益没生效

昨天搞了学生优惠后把朋友拉进去,怎么他的账号权益没生效?依旧提示要升级会员,空间也是 15G,用 AI 也提示要升级会员,大佬们这是啥原因?

2 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: _BIGFA)
Railway是不是无法试用30天了

大佬,现在注册Railway,怎么没有30天试用了,换了好几个号,都是黄色提示,只能用数据库,有没有替代方案可以手搓住宅ip

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: W_W)
反重力除臭,在 mac 不开 tun 模式,怎么才能使用,或者开了 tun 模式,怎么样才能访问公司的内网域名,难道二者不能兼得吗

3 posts - 3 participants

Read full topic

via LINUX DO - 最新话题 (author: Hzl09)
麦当劳ai广告翻车

【麦当劳AI生成反套路圣诞广告:一年中最可怕的时光-哔哩哔哩】 https://b23.tv/ANxKNGz
1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: yhe)

Invalid media:
image
image
关于HuggingCode近期运营情况的碎碎念+补偿公告+福利

首先附上福利key:sk-m3hNsUprXks1DDMMixo0dOwJQKXA2nzKG8zlzzC37oqr86YA

平台常见问题解答

1. 平台的市场定位是什么?

我们平台初创时是面向企业用户稳定兼平价的市场需求,SLA 确保平均 97% 以上

由于近期的服务商原因影响导致服务中断三天,我们已对所有付费用户补偿 20% 的剩余额度

----------------------

2. 为什么性价比高的套餐普遍一口价偏高?

该问题在问题 1 已作回复,我们主要面向企业用户,故高性价比套餐一口价偏高。

----------------------

3. 为什么选择我们而不是 88code?

● 88code:以价格为市场竞争力的平台
● 我们平台:通过比 88code 稍高的价格提供堪比价格更高平台的 SLA 保证

我们的建议

针对个人用户:更推荐优先使用 88code
● 我们平台:作为备用选择

----------------------

4. 如何确保 SLA?

我们平台采用以下策略保障稳定性:

● 主要渠道:自营号池为主
● 兜底渠道:接入市面上 0.5 元左右及以上的各种平台作为备用
● 应急机制:自用号池出现问题时第一时间切换恢复

⚠️ 虽然这样会导致成本激增,但这是为大家稳定使用保障所必须付出的。

----------------------

5. 平台用户规模这么小,会不会跑路?

关于用户规模

我们 Q 群确实初创,这是我们第一次尝试进入个人用户市场
我们的主要客户仍然是企业用户,这一点不会在 Q 群人数上有所体现

退款保障

✅️ 我们平台支持按比例退款,仅额外收取少量手续费,请大家放心。

----------------------

官方网站

🌐 访问我们的官网:https://huggingcode.cc/

12 posts - 7 participants

Read full topic

via LINUX DO - 最新话题 (author: HuggingCode)
关于 GUI.for.SingBox 在TUN模式下循环 DNS 解析的问题

不知道为什么一开启 TUN 模式, 就会突然出现几千个活动连接, 打开一看全是 DNS 服务器地址.

打开网络适配器发现有两个Tunnel网卡:

我将其卸载后重启电脑, 然后开启TUN模式, DNS循环解析消失, 没过一会儿这个问题再一次出现了, 很奇怪, 哪怕我开着全局直连模式也是这个样子. 下面是DNS配置:

求助佬友这怎么搞? 由于使用命令行编程工具,对TUN还是很依赖的.

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: Hodge Wen)

Invalid media:
image
image
image
image
AI桌面助手(日程管理)

项目地址:GitHub - cjw414522569/aidesk
主要是一个语音助手

语音唤醒用了本地的模型(防止隐私泄露,后面所有的模型都要本地化)
AI模型用了SiliconFlow便宜的:Qwen/Qwen3-32B
语音识别用了SiliconFlow免费的:FunAudioLLM/SenseVoiceSmall
ORC用了SiliconFlow免费的:deepseek-ai/DeepSeek-OCR(后期会更换)
tts用了微软的:腾讯云EdgeOne Pages 部署 EdgeTTS,可享全球加速。

快回归三级了,放一个最近写的项目,写的很垃圾勉强能用,目前日程方向比较完善,Windows交互的功能还在写,这个月会持续更新

5 posts - 5 participants

Read full topic

via LINUX DO - 最新话题 (author: 小白 常)

Invalid media:
image
image
用手指月亮,会被割耳朵

不知道有多少人小时候听老一辈说过”用手指月亮,会被割耳朵“。这句话没科学依据,到底是什么意思?

16 posts - 15 participants

Read full topic

via LINUX DO - 最新话题 (author: 行云)
serena 开发 java 项目 find_symbol 总是为空

最近发现一个问题,在用 serena mcp 工具的时候,开发 java 项目时,

执行

serena - find_symbol (MCP)

{
“result”: “”
}

get_symbols_overview 这个工具也是。

在 python 或者前端项目里就不会有这种情况,不知道是我配置的问题,还是什么问题。

有没有佬友和遇到一样的情况

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: 快乐的小建)
关于2025年终互评

马上年底了,通知给组内成员互评。共五个等级(杰出,优秀,良好,一般,待提升)

本来大家准备都填第一个和第二个,这时候抽象的来了,要求所有等级必须要有。

说是匿名到最后还要本人签字确认,无语子。猜测应该是卡年终奖的。佬们有遇到这种嘛

6 posts - 6 participants

Read full topic

via LINUX DO - 最新话题 (author: sun shine)
偷偷说句,看到网上有人说哪里是流浪猫公园,周末要带上猫条去撸猫我就很反感

喂食流浪猫,觉得自己很有爱心,实际上助长了更多的流浪猫出现和死亡
1 、大家都知道流浪猫在某地会有人喂食,随便一个理由不想养就直接弃养在那,美其名曰放生,没什么心理负担
2 、缺乏良好生存环境会让流浪猫死亡率很高,就像古代随便一个感冒发烧就能死很多人
3 、更容易造成路人被流浪猫抓伤,被没打疫苗的流浪猫抓伤可能导致狂犬病

真正的爱猫应该把它带回家里养,而不是只享受不负责

14 posts - 14 participants

Read full topic

via LINUX DO - 最新话题 (author: longlong)
GPT被封号,还能恢复吗?

之前有个老号,车不多刚出来的时候注册的,最近一直没怎么用,前段时间加入了站内佬分享的Team大车,后来就被封了。但是有个新申请的小号也加入了,没有被封。请问这种是因为什么啊?

18 posts - 6 participants

Read full topic

via LINUX DO - 最新话题 (author: wpf)
linuxdo当然要dolinux了

linux,虚拟机小白(使用的是virtualxbox虚拟机,ubuntu的latest)
请问下大佬们都是怎么学习linux的
现目前感觉最需要学的就是shell终端
bash
问题

1. 有什么高质量的bash课程吗
2. 学习路线大概是怎么的
3. 对编程语言的要求高吗
4. 其他

目前知道的资源
github上的命令行的艺术
但是感觉没那么好用
B站教程,蛮好的,让我有了基础认识和大概
至于书籍的话,有很多,但是不太能沉浸下去看书

6 posts - 4 participants

Read full topic

via LINUX DO - 最新话题 (author: sw)
超频了两个半小时

生物和化学连着考,中间只隔了五分钟。

化学考的全是离子反应、化学平衡跟热化学方程式,难死我了。 😅

生物还好,都是神经-体液-免疫网络的事。

下午还有科数学,考试结果估计周末能出来。

10 posts - 7 participants

Read full topic

via LINUX DO - 最新话题 (author: #include <karlbaey.h>)
大家在agents.md/claude.md里都放哪些内容来保证上下文又能遵循要求呢

问题的动机

agents.md写的太多了。有些原则似乎就不再跟踪了。尤其是coding style已经写了很多了。

我的coding style

举个例子:
# Python Coding Style

## 0. Core Principles (Highest Priority)
1. **Readability > Abstraction**: Code readability is the absolute highest priority. Do not create abstractions unless they significantly reduce duplication or complexity. Avoid "Over-Engineering".
2. **Pragmatic Advanced Features**:
* You MAY use advanced patterns (e.g., Singleton, Lazy Loading, Decorators) **ONLY IF** there is a clear performance benefit or architectural necessity.
* If used, you MUST explain *why* it is necessary in the comments.
3. **Explicit is Better than Implicit**: Avoid "magic" code that hides too much logic.

## 1. Project Configuration & Environment
* **Environment Files**: Configuration is managed via environment variables.
* `.env`: Base configuration.
* `.env.host`: Local development overrides (git-ignored).
* `.env.container`: Docker/Container specific overrides.
* **Loading**: Use `python-dotenv` or `pydantic-settings` to load these files with priority: `host/container` > `.env`.

## 2. Error Handling & Logging
* **Library**: Use **`loguru`** for all logging. Do NOT use the built-in `logging` module or `print()`.
* **Catch & Log**: All critical logic must be wrapped in try-except blocks.
* Exceptions must be caught and logged using `logger.error` or `logger.exception`.
* **Requirement**: The log must include the traceback and context.
* **Example**:
```python
from loguru import logger

try:
result = unsafe_operation()
except ValueError as e:
# .exception automatically includes the traceback
logger.exception(f"Operation failed due to invalid input: {e}")
raise # Re-raise if the flow cannot continue
```

## 3. Documentation & Logic Chains
* **Mandatory Docstrings**: All functions/classes must have docstrings.
* **Pipeline Functions**: For "Core Pipeline" functions (functions that orchestrate a sequence of calls):
* You **MUST** explicitly write down the **Logic Chain** in the docstring.
* Describe the flow of data between internal method calls.
* **Example**:
```python
def execute_payment_flow(self, user_id: int, amount: float) -> bool:
"""
Orchestrates the user payment process.

Logic Chain:
1. Calls `self._get_user_balance(user_id)` to verify funds.
2. If sufficient, calls `self.payment_gateway.charge(amount)`.
3. On success, calls `self._update_ledger()` and emits a notification event.
"""
pass
```

## 4. Data Models & Typing
* **Strict Type Hinting**: All arguments and return values must be typed. Use `typing.List`, `typing.Optional`, etc.
* **Data Models**:
* **Location**: All data schemas must reside in the `data_model/` directory.
* **Backend I/O**: Use `pydantic.BaseModel` for API inputs/outputs.
* **Internal Data**: Use `dataclasses` or `pydantic` for internal structural data.
* **No Raw Dicts**: Avoid passing raw dictionaries (`Dict[str, Any]`) through multiple layers.

## 5. Async vs Sync
* **I/O Bound**: Use `async def` for DB queries, HTTP requests, and file I/O.
* **CPU Bound**: Use standard `def`.
* **Mixing**: If calling a blocking sync function from an async context, use `await asyncio.to_thread(...)` to avoid blocking the event loop.

## 6. Naming Conventions
* **Variables/Functions**: `snake_case` (e.g., `process_data`, `user_id`).
* **Classes/Models**: `PascalCase` (e.g., `UserResponse`, `DataProcessor`).
* **Constants**: `UPPER_CASE` (e.g., `MAX_RETRIES`, `DEFAULT_TIMEOUT`).
* **Semantics**: Names must be descriptive.
* BAD: `x`, `res`, `temp`
* GOOD: `user_profile`, `api_response`, `temporary_file_path`


问题

其实coding style已经很长了,我还有额外的一些要求。但是为了其他内容就不得不删减这个部分。佬友们有什么好的agents.md都拿出来让我看看(抄抄)。

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: phimes)