okhowang

Results 25 comments of okhowang

in current example, new group observable isn't be consumed ASAP. so it block when one group observable buffer full. we should modify the example ```golang func main() { count :=...

可以参考标准库的`sql`包中,提供`XXXContext`版本的新接口保证兼容性

subquery with bindvar has same error run with `_example/main.go` ```golang db, err := sql.Open("mysql", "root@tcp(localhost:3306)/mydb") if err != nil { panic(err) } var name string err = db.QueryRow("select exists(select name...

my solution is make load function return a `[]byte` and wrap loadable with marshaler ```golang bc, err := bigcache.NewBigCache(bigcache.DefaultConfig(time.Minute)) if err != nil { panic(err) } return marshaler.New(cache.NewLoadable(func(key interface{}) (interface{},...

copy is simple and useful. but developer may or may not keep update for the script. docker image is useful in CI. which is called more simplely. `clang-format` is not...

I found use `xf86SetApi` can set global dpi for X system. but It didn't work if I call it in `rdpRRSetRdpOutputs`. can we load client_info earlier for compute dpi in...

but when I use Thinkpad X1 to connect xrdp ```shell $ xdpyinfo | grep resolution resolution: 96x96 dots per inchs ``` It seem like incorrect dpi was reported by virtual...

@metalefty I have a branch dpi for support monitor info in [xrdp](https://github.com/okhowang/xrdp/tree/dpi) and [xorgxrdp](https://github.com/okhowang/xorgxrdp/tree/dpi). but there is some trouble when processing scaling for xorg server. do you have any idea...