Mystic

Results 71 comments of Mystic

## NOT WORKS ```go dsn := "file:./ex.db?_pragma=busy_timeout(5000)&_pragma=journal_mode(WAL)" db, _ := gorm.Open(sqlite.Open(dsn), &gorm.Config{}) ``` ## WORKS ```go dsn := "file:./ex.db" db, _ := gorm.Open(sqlite.Open(dsn), &gorm.Config{}) sqlDB, _ := db.DB() sqlDB.SetMaxOpenConns(1) ```...

hi, @bluss The project has no `pyproject.toml` or `requirement.txt`. I found the root cause: `a empty setup.py`. After delete it, the `rye init` can work fine. `setup.py`: UTF-8, LF

hi, @bluss Maybe We should print some other error message when a `empty setup.py` exists instead of `EOF while parsing a value at line 1 column 0`

进入网站主页面, 随便左边点击菜单按钮, hugo next 的处理逻辑, 是整个页面全部重新加载了, hexo next 是进行了局部加载

1. 哪个版本引入的, 我不是很清楚哦 2. 应该就是前端做了异步加载 3. 不确定是否是通过这些partial实现的异步加载: https://github.com/search?q=repo%3Anext-theme%2Fhexo-theme-next%20partial&type=code

> 谢谢,后续有时间再研究一下,对前端也不是很熟悉,如果你有兴趣的话,欢迎给大家做个移植,很是期待呢😁 纯后端 >

> > 这里的.Lastmod是文件中手动设置的吧?如果可以自动取文件属性的修改时间就太棒了。 > > 这里还是直接读取文件属性会更好一些,扫描文件的属性,后期文章量上来会增加生成网站的时长,影响到性能。 读取文件属性, 好像是有问题的 - 第一次通过git log获取的时间, 进行更新是ok的 - 从第二次开始, 每次更新都会被更新为上一次git的时间, 而且接下来的每一次这些文件的最后更新时间都会被更新

这个好像已经可以了 ## initialization ``` hugo mod init hugo mod get -u https://github.com/hugo-next/hugo-theme-next ``` ## config ```yaml # Configure theme by hugo module module: imports: - path: github.com/hugo-next/hugo-theme-next ```

> `cublas` is required by my project If I use the following configuration: ```yml - uses: Jimver/[email protected] id: cuda-toolkit with: log-file-suffix: ${{ matrix.os }}.txt cuda: '12.6.2' method: 'network' sub-packages: '["nvcc",...