daiaji

Results 210 comments of daiaji

It seems that the problem has never been resolved.

It is interesting that the code for markdown.tsx also seems to have a rendering issue with markdowns. ```ts import ReactMarkdown from "react-markdown"; import "katex/dist/katex.min.css"; import RemarkMath from "remark-math"; import RemarkBreaks...

https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4230 和这边说的一样,兄弟你有什么看法吗? 应该不存在现成的node.js包能够解决现在的LaTeX渲染故障吧? https://github.com/quantizor/markdown-to-jsx/issues/485#issuecomment-1873346921 这边提供的解决方案是定义LaTeX渲染会生效的语法,我觉得这比[我的解决方案](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4152)好点,但好得不多,起码不用瞎鸡巴替换了,而是直接定义LaTeX渲染语法,但似乎整个解决方案就是无法绕过复杂的正则和逻辑嵌套。

> > #4230 和这边说的一样,兄弟你有什么看法吗? 应该不存在现成的node.js包能够解决现在的LaTeX渲染故障吧? [quantizor/markdown-to-jsx#485 (comment)](https://github.com/quantizor/markdown-to-jsx/issues/485#issuecomment-1873346921) 这边提供的解决方案是定义LaTeX渲染会生效的语法,我觉得这比[我的解决方案](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4152)好点,但好得不多,起码不用瞎鸡巴替换了,而是直接定义LaTeX渲染语法,但似乎整个解决方案就是无法绕过复杂的正则和逻辑嵌套。 > > 哈喽 我在提交pr之前看到过[你的pr](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4152) 我们解决的不是同一个问题。目前的逻辑是转义所有的"美元符号+数字"这种模式,你的pr是只在代码块以外的地方转义"美元符号+数字"。 > > 我的pr和"美元符号+数字"这种模式没有关系,我解决的是\(...\)和 \[...\]样式的公式渲染问题。 用美元符号来渲染公式其实问题很大,因为美元符号太常见了,太容易和其他场景冲突了,openai也意识到了这个问题,所以现在的gpt已经都默认用\(...\)和 \[...\]这种样式了。 > > 如果gpt将来都用这种样式来渲染公式,那么问题其实会少很多,因为斜杠+括号这种符号很少见,其他场景几乎都不会出现这个,几乎不会冲突。但是我还没找到有哪个公式渲染器支持这种样式的。openai官方用的也是`rehype-katex`来渲染,但他们应该在什么地方改了代码。所以我只好用这个pr里直接替换的方式。当然最优雅的办法是找到一个原生支持\(...\)和 \[...\]样式的公式渲染器。 > > 我这个pr我自己已经用了一段时间了,还没有发现问题。 [这个issue](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4230) 应该是因为提示里强调了要用latex格式,所以gpt就以美元符号输出了,导致了那个老问题。如果不强调的话是不会有问题的。 > >...

``` venv/bin/pystun3 -H stun.qq.com NAT Type: Full Cone External IP: *.*.*.* External Port: 34561 Press any key to continue ``` Even in Full Cone NAT mode, the STUN of miniupnpd...

Did I do something wrong? I cut the signature and decrypted it with CyberChef, but it seems that I only got the corrupted file. [download.tar.gz](https://github.com/sta-c0000/tpconf_bin_xml/files/10814461/download.tar.gz) [config1.bin.tar.gz](https://github.com/sta-c0000/tpconf_bin_xml/files/10814630/config1.bin.tar.gz) ``` openssl enc -d...

https://gchq.github.io/CyberChef/#recipe=DES_Decrypt(%7B'option':'Hex','string':'478da50bf9e3d2cf'%7D,%7B'option':'Hex','string':''%7D,'ECB','Raw','Raw')To_Hex('None',0)From_Hex('None') You are right, it seems like some extra configuration of CyberChef is required to be able to download decrypted gz compressed files from CyberChef. ___ I would like to...

Yes, I'm trying to migrate the mainline openwrt for it. There are some migration cases for the SOC MT7621DAT of this route, but the trouble is that the UART seems...

![img](https://img.mydigit.cn/forum/202203/26/195830yon5wxxccgwgyhgx.jpg) ![img](https://img.mydigit.cn/forum/202203/26/195901bgg817gjjbg7b7jq.jpg) ![img](https://img.mydigit.cn/forum/202203/26/195905s4iwizna98siw94y.jpg) ![img](https://img.mydigit.cn/forum/202203/26/195912ysbr42grzslcm285.jpg) ![img](https://i.imgur.com/mPRqrE9.jpg) ![img](https://i.imgur.com/Wlybzwp.jpg)