[go-nuts] Re: encoding/csv: getting a line number of current record when using csv.Reader

2021-04-08 Thread nikolay nikolay
If you CSV is simple, as in does not have multi-line values in columns, \n in line ending — then you can create your own wrapper around io.Reader that counts number of \n before returning to caller []bytes. -- Nikolay On Friday, April 9, 2021 at 1:50:10 AM UTC+8 peterGo wrote: > Dan, > > For G

[go-nuts] Re: What's the status/roadmap of geo/s2 library?

2021-01-26 Thread nikolay nikolay
Maybe you would need to tag or cc maintainers of that module. If this not not implemented, looks like you would be a great person to submit fix/improvement since you directly work with this. If it takes too long to accept your PR, might be reasonable as a last resort to make a fork, if you are

[go-nuts] Re: Golang vs Python: Complete Comparison with their Top Frameworks

2021-01-10 Thread nikolay nikolay
I would expected to see at these two things: 1. That most of the serious solutions in "Python" are actually wrappers for highly optimized machinery in C/C++. If you look at just basic ML stack: Pytorch, Tensorflow, OpenCV, numpy, scipy, XGBoost, so on. all is in C/C++ with wrapper in Python. 2.