[go-nuts] Benchmarks in https://github.com/golang/go

2020-12-17 Thread Nikolay Dubina
Hello, I am trying to find a dashboard with current benchmarks of go core routines (e.g. math, sort, reflect, etc.). For example, among others, I would like to see these benchmarks: https://github.com/golang/go/blob/master/src/math/all_test.go#L3196 I tried to run it with `go test -bench=. ./.

[go-nuts] [ANN] Feature processing in Go

2020-12-22 Thread Nikolay Dubina
*What is it?* A module with feature transformers plus go:generate script to generate feature processor for your data model in Go with emphasis on convenience and single sample latency. github.com/nikolaydubina/go-featureprocessing *Features* - feature parity to scikitlearn - convenient

Re: [go-nuts] Go and AI Recommendations

2020-12-27 Thread Nikolay Dubina
Go does not have much traction in ML and for good reasons: * not a single one organization or company is backing Go ML projects * with exception couple papers, no research in neither computer vision, NLP, or RL is done in Go, no papers are implemented in Go. It is mostly Pytorch these days. * Go

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

2021-01-11 Thread Nikolay Dubina
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.

[go-nuts] Re: Advice, please

2021-01-13 Thread Nikolay Dubina
Any primitive in `sync` package will do. I would go for two `RWMutex` each for each goroutine, or two unbuffered channels for each gorouitne. However, AFAIK, in Go you can't force start execution of a goroutine. Go will try to wake up any unblocked goroutine as soon as possible though. On Thursd

[go-nuts] [ANN] go-featureprocessing v1.0.0

2021-01-15 Thread Nikolay Dubina
*What is this?* Fast feature preprocessing in Go with feature parity to sklearn https://github.com/nikolaydubina/go-featureprocessing *What is new?* - Added batch processing - Added inplace processing - Added parallel processing - Made all inference code to have zero memory allocat

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

2021-01-26 Thread Nikolay Dubina
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: Go 1.16 Release Candidate 1 is released

2021-01-28 Thread Nikolay Dubina
This is great! Thank you! On Thursday, January 28, 2021 at 11:27:49 PM UTC+8 Alex Rakoczy wrote: > Hello gophers, > > We have just released go1.16rc1, a release candidate version of Go 1.16. > It is cut from release-branch.go1.16 at the revision tagged go1.16rc1. > > Please try your production lo

[go-nuts] [ANN] Benchmarking Machine Learning Inference

2021-02-18 Thread Nikolay Dubina
https://github.com/nikolaydubina/go-ml-benchmarks *What is it?* Benchmarks of latency on how different ways to get tabular machine learning models (XGBoost) work with typical Go scenario. *Who is audience?* This might be useful to folks who are calling machine learning services in their Go co

[go-nuts] Re: embedding files in tests

2021-06-01 Thread Nikolay Dubina
I think the question is about `go:embed` directive in `_test.go` files will be included in builds of non-test packages, right? Don't know for sure, but I think: - a) if you have `mypkg_test.go` and in it `package mypkg_test` then `go:embed` will not get to your non test build as the package is d

[go-nuts] Go and GPUs

2021-06-25 Thread Nikolay Dubina
I tried to write down my own CUDA / NVIDIA GPU driver in native Go last weekend. To my great surprise, CUDA and pretty much all high performance software/hardware from NVIDIA is proprietary close-source C/C++ code. Meaning, you can't write native Go driver even if you wanted to. Forget Go, peop

[go-nuts] [ANN] Convert coverprofile to SVG heatmap

2021-12-07 Thread Nikolay Dubina
*What?* https://github.com/nikolaydubina/go-cover-treemap CLI to convert coverprofiles to nice looking SVG heatmaps *Why?* Useful for large projects with lots of files and sub packages. Useful if you can not (say due to legal or security) to use tools like Codacy or codecov.io. Thank you! 🎄

[go-nuts] [ANN] Make treemap visualization of Go executalbe binary

2022-01-25 Thread Nikolay Dubina
*What?* https://github.com/nikolaydubina/go-binsize-treemap CLI tool to make treemaps of size of Go executable. This was inspired by prior work of Cockroach labs. Now that we have some tooling in Go that can do treemap visualization, I decided to improve that tool from Cockroach team (Python/J

[go-nuts] Strange symbol size in symtab

2022-03-10 Thread Nikolay Dubina
Hello, I am getting strange byte sizes for Undefined symbols in symtabs. How to reproduce: 1. build and go binary (e.g. https://github.com/gohugoio/hugo) 2. make symbtab file (go tool nm -size ) In file you will see entries like this ``` 4294971392 U _symlink 4294971392 U _sysc

[go-nuts] [ANN] https://go-cover-treemap.io

2022-04-30 Thread Nikolay Dubina
*What?* Online tool to generate treemaps for coverprofiles. https://go-cover-treemap.io *Why?* It is much more convenient to drag and drop cover profile and adjust interactively window size and slider rather than CLI. Hope, this will make more Go engineers more often visualize their cover pr

[go-nuts] [ANN] Tool for automatic instrumentation of OpenTelemetry

2022-11-10 Thread Nikolay Dubina
*What?* Tool for automatic instrumentation of OpenTelemetry Traces of all functions and methods. https://github.com/nikolaydubina/go-instrument *Why?* It is laborious to add tracing code to every function manually. The code repeats 99% of time. Other languages can either modify code or have w

Re: [go-nuts] [ANN] Tool for automatic instrumentation of OpenTelemetry

2022-11-10 Thread Nikolay Dubina
; > On Thu, Nov 10, 2022 at 4:07 PM Nikolay Dubina > wrote: > >> *What?* >> >> Tool for automatic instrumentation of OpenTelemetry Traces of all >> functions and methods. >> >> https://github.com/nikolaydubina/go-instrument >> >> *

[go-nuts] [ANN] new linter for "mixed pointer and value receivers"

2022-12-01 Thread Nikolay Dubina
*what?* New go vet compatible linter that detects mixing pointer and value method receivers for the same type. https://github.com/nikolaydubina/smrcptr *why?* It is recommended in Go wiki and in Google Go style guide. It is very common principle to keep code clean in practice and code reviews

[go-nuts] [ANN] annual update to go-recipes collection of Go ecosystem tools for 2023

2023-06-09 Thread Nikolay Dubina
Hi, I released another big annual update to collection of Go tools: https://github.com/nikolaydubina/go-recipes Hope you find lots of useful and/or entertaining entries ! Cheers, -- Nikolay -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] [ANN] 2023 update to go-recipes collection

2023-12-11 Thread Nikolay Dubina
https://github.com/nikolaydubina/go-recipes Final 2023 update to this collection of tools for Go ecosystem. Now it contains 179 entries, 16 new since last release. New entries are marked with 🎊. Hope you find useful! Cheers! Happy holidays everyone! -- Nikolay -- You received this message be

[go-nuts] [ANN] extending json tags to variables and enum encoding generator

2024-03-26 Thread Nikolay Dubina
*What?* https://github.com/nikolaydubina/go-enum-encoding ```go type Color struct{ c uint8 } //go:generate go-enum-encoding -type=Color var ( UndefinedColor = Color{}// json:"-" Red = Color{1} // json:"red" Green = Color{2} // json:"gre

[go-nuts] [ANN] Hackers Delight in Go

2024-06-14 Thread Nikolay Dubina
*What?* https://github.com/nikolaydubina/go-hackers-delight This is showcase of all code in famous "Hackers Delight" book in Go. Code is tested, fuzzed, and benchmarked. Best read through: https://pkg.go.dev/github.com/nikolaydubina/go-hackers-delight that shows interactive examples *Who may

Re: [go-nuts] Re: [ANN] tk9.0: The CGo-free, cross platform GUI toolkit for Go

2024-10-14 Thread Nikolay Dubina
wow, impressive. but how does this work without C? don't you have to link to some standard OS rendering frameworks which are most likely in C? or do you communicate through syscalls? On Wednesday, October 2, 2024 at 9:25:24 PM UTC+8 Mandolyte wrote: > Worked! Thanks > > On Wednesday, October 2

Re: [go-nuts] Re: Code coverage but only for new lines

2024-10-14 Thread Nikolay Dubina
xgo is very interesting tool. thanks for sharing On Wednesday, September 18, 2024 at 10:41:54 AM UTC+8 肖华冬 wrote: > Hi can you file an issue on the github issue thread list? We can follow up > there > > Arkadiusz Drabczyk 于2024年9月16日周一 21:10写道: > >> On Fri, Sep 13, 2024 at 03:16:28AM -0700, Ful

[go-nuts] ANN: Grafana OpenTelemetry Go Runtime Dashboard

2024-10-14 Thread Nikolay Dubina
I could not find any OpenTelemetry Go Runtime dashboards, so I made one. https://github.com/nikolaydubina/grafana-otel-go-runtime https://grafana.com/grafana/dashboards/22035-go-runtime Note, it includes only non-deprecated metrics. Hope it is helpful, Cheers, -- Nikolay -- You received this

Re: [go-nuts] Re: encoding/json treats []byte as b64 encoded. Could it not?

2024-11-07 Thread Nikolay Dubina
I also stumbled upon this bug. I have base64 of some data in []bytes field in my struct. I do json.Marshal, then json.Unmarshal to the same struct type. And now, surprise! data automatically base64 decoded. what... any encoder in any system should have following guarantee (enforced with fuzz te