Ye Ja

Results 2 issues of Ye Ja

**Describe the bug** go-zero api cannot realize file stream download when downloading large files ? 1、go http server ```go func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/octet-stream")...

{"level":"info","ts":1659334556.2602627,"caller":"ranking/model.go:396","msg":"fit bpr","train_set_size":121468,"test_set_size":1138,"params":{"InitMean":0,"InitStdDev":0.001,"Lr":0.1,"NEpochs":100,"NFactors":32,"Reg":0.05},"config":{"Jobs":1,"Verbose":10,"Candidates":100,"TopK":10,"Task":{"Name":"Fit collaborative filtering model","Status":"Running","Done":0,"Total":100,"StartTime":"2022-08-01T06:15:56.260194922Z","FinishTime":"0001-01-01T00:00:00Z","Error":""}}} panic: floats: slice lengths do not match goroutine 84 [running]: github.com/zhenghaoz/gorse/base/floats.Dot(...) /go/gorse/base/floats/floats.go:167 github.com/zhenghaoz/gorse/base/search.(*DenseVector).Distance(0x40d3d4, {0x1b398b0?, 0xc0292c8380?}) /go/gorse/base/search/index.go:56 +0x2f4 github.com/zhenghaoz/gorse/base/search.(*HNSW).distance(0xc0058640c0, {0x1b398b0, 0xc0292c8380}, {0xc0076272d4, 0x1, 0xed0000c01de35500?}) /go/gorse/base/search/hnsw.go:299 +0xe9...

bug