greensea

Results 20 issues of greensea

同时在多个 goroutine 中使用 goz 下载文件时,会发生段错误 ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x67d7b9] goroutine 20255 [running]: github.com/idoubi/goz.(*Response).GetBody(0xc012042a60, 0x0, 0x0, 0x0,...

我在调用 Session.Execute() 方法的时候,发现这个方法内会使用 fmt.Sprint() 来格式化当前的查询语句,并保存到 lastSql 变量中。 然而,我的程序需要大量调用 Execute 方法,这时候会频繁调用 fmt.Sprint(),这浪费了一定的性能,根据 profile 的结果,Execute 中的 fmt.Sprint() 大约吃掉了 20% 的 CPU 时间。而实际上,我并不关心 LastSql,也不会去调用 LastSql() 方法,记录 lastSql 对我来说是没用的,但却消耗了客观的 CPU 时间。 我发现 Session.Execute() 中有一段被注释的代码,这段被注释的代码中有一个...

下面的查询 ``` bar := []int{} .Where("foo", "in", bar).Get() ``` 会报错: ``` Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server...

Encoding the attached image cause crash. Encode options ``` err = avif.Encode(&out, img, &avif.Options{Quality: 52, Threads: 0, Speed: 6}) ``` Stack: ``` fatal error: unexpected signal during runtime execution [signal...

The old timeout is 1ms, this cause ardb keep consuming CPU (about 10%), increase timeout to 1000ms solved this problem.

**Description** Using `h264_mediacodec` decoder on android to decode a h264 stream, but the decoder not work, keep printing `Error while decoding stream #0:0: Try again` message. **Expected behavior** It should...

ffmpeg-bug
android
v4.5.1
v5.1

https://ce2.greensea.org/ 一个月球地图,用我国嫦娥二号此前发布的全月影像图制作的,分辨率可以达到 7 米。 我添加了各种环形山、地名以及人造物体位置的数据,可以在地图上搜索然后直接定位。 附个截图: ![](https://blog.greensea.org/a/230215/03_%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD.png)

issue-243

I have a projection definition: ``` const prj66N172W = '+proj=merc +lat_ts=63 +lon_0=0 +x_0=0 +y_0=0 +R=1737400 +units=m +no_defs' ``` I try to convert XY to LngLat with this projection, but the...

* 特点: 1. 聊天支持 Chat 3.5、ChatGPT 4、Claude 3,支持图片消息 2. 绘画支持 Midjourney 各个模型以及扩图等大部分功能 3. 针对手机端做了优化,数据云同步,跨设备使用方便 4. 不需要科学上网即可使用 * 网址(特别为日志准备的链接,注册后即可免费使用): https://chatboy.io/register?s=ryf * 以下为预览图: ![2024-03-19 16-43-43 创建的截图](https://github.com/ruanyf/weekly/assets/619187/c32e9280-4c8e-424c-94c4-b49e743bace4) ![2024-03-19 16-42-40 创建的截图](https://github.com/ruanyf/weekly/assets/619187/98528cfe-5ec3-4dd3-8ec8-32af43319bc2) ![2024-03-19 16-44-46 创建的截图](https://github.com/ruanyf/weekly/assets/619187/ccd87cc6-54c4-4910-bc36-c7fb011aad89)