xmcp
xmcp
**Describe the bug** On Linux, dependency injection does not work for requests received during the `@app.before_server_start` code is executing, causing an HTTP 500 error. **Screenshots** Not related to swagger. **To...
“前方高能”虽然采用了折线图来显示弹幕密度,但还是先按时间轴的刻度对弹幕进行了划分(例如一个在 `00:09.123s` 的弹幕会与其他9秒左右的弹幕显示在一个坐标上)。 这样会导致图表略微失真,因为一个弹幕高峰可能会被刻度划分到了两个横坐标上,从而使纵坐标被“稀释”到原来的1/2。举例如下: ``` 00:03 啦啦啦 00:04 啦啦啦 00:05 啦啦啦 00:06 啦啦啦 01:01 啦啦啦 01:02 啦啦啦 01:03 啦啦啦 01:04 啦啦啦 ``` 如果横轴的间距是5秒,那么计算出的弹幕密度将类似于这样: | 00:00-00:04 | 00:05-00:09 | ... |...
Some JVM languages (e.g., Kotlin) allow [method names to contain spaces](https://kotlinlang.org/docs/coding-conventions.html#names-for-test-methods). This convention is used in many projects, such as lettuce-core, which is a subject in the APR-Comp. It has...
目前hackergame系统给类别分配颜色的途径是 [随机生成一个颜色](https://github.com/ustclug/hackergame/blob/559d2b856b/frontend/templates/hub.html#L187)。 这样会有两个问题,其一是相邻的类别有几率变成很相似的颜色,难以区分;其二是生成的颜色亮度不均匀,对易读性不友好。 https://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/ 提出可以在 HSV 色彩空间上生成颜色,固定明度和饱和度,每生成一种颜色把相位向前移动 $0.618 * 2\pi$。这样的话,每种颜色之间都有比较大的区分度,亮度也比较均匀。 CSS 没有原生支持 HSV,但我们可以用类似的 HSL。比如,如果令第 i 种类别的颜色是 ```javascript `hsl(${360 * ((.2 + 0.618*i)%1)}deg, 50%, 35%)` ``` 可以得到这样的效果:  这样不仅看起来比较好看,而且省去了现在的 color.js 和...
### What type of issue is this? Incorrect support data (example: BrowserX says "86" but support was added in "40") ### What information was incorrect, unhelpful, or incomplete? It says...
### What type of issue is this? Incorrect support data (example: BrowserX says "86" but support was added in "40") ### What information was incorrect, unhelpful, or incomplete? The Chrome...
可以测试一下:[inject.js.zip](https://github.com/user-attachments/files/16651612/inject.js.zip)
My Home Assistant version: 2024.7.2 Layout-card version (FROM BROWSER CONSOLE): 2.4.5 What I am doing: I have multiple thermostat cards in a horizontal layout-card. I upgraded home assistant from 2024.6.x...
# Bug Report ## Installation Method docker ## Environment - **Open WebUI Version:** v0.5.11 - **Ollama (if applicable):** N/A - **Operating System:** Ubuntu 24.04 - **Browser (if applicable):** N/A **Confirmation:**...
### What happened? Here I make two requests to a bedrock converse endpoint, one with `stream=True`, and another one with `stream=False`:  Then in the logs page of the dashboard,...