[go-nuts] Re: Go+Windows+Audio

2023-02-04 Thread alberto sansegundo
Hello, im now facing this same problem, did you managed to solve it? El lunes, 7 de noviembre de 2016 a las 18:16:37 UTC+1, d.sh...@gmail.com escribió: > Hi all. > > I've tried to get access to Windows audio from Go program but failed. That > I did below: > 1. Downloaded and built Portaudio

[go-nuts] Re: Who are the Go maintainers?

2022-11-10 Thread Alberto Donizetti
ns "code reviews", github access means "issue tracker gardening". Github access will make your account appear in the github org you linked. Some people may ask for gerrit access but not for github access, or viceversa. Alberto On Thursday, 10 November 2022 at 08:08:18 UTC+1 matt.h..

Re: [go-nuts] Go build speed dependent on time after source modification

2021-11-05 Thread Alberto Donizetti
Could be due to https://github.com/golang/go/issues/48496 Should be fixed on tip, but 1.17 is affected. Alberto On Thursday, 4 November 2021 at 18:44:01 UTC+1 Mark Fletcher wrote: > On Thu, Nov 4, 2021 at 10:25 AM Brian Hatfield wrote: > >> This seems a little like you might have

[go-nuts] Re: Why the limit on regex repeat is 1000?

2021-06-06 Thread Alberto Donizetti
ot too big. Alberto On Sunday, 6 June 2021 at 08:12:41 UTC+2 M Hasbini wrote: > Playground: https://play.golang.org/p/opVpDD5Ts8S > > Here's an example regex that fails to compile: `[a-zA-Z0-9]{1001,}` > > Here's where the 1000 is specified: > https://github.com/golang/go/blob/4

Re: [go-nuts] I want to help with polish version of "A Tour of Go", how to start?

2021-05-07 Thread Alberto Donizetti
The link to the polish translation was added by a person names Michal Stokluska. The repository should be this one: https://github.com/MStokluska/go-tour-pl To contribute to the polish translation, you send Pull Requests there. Alberto On Tuesday, 4 May 2021 at 23:51:10 UTC+2 kziem

[go-nuts] embed.FS and memory limitations

2021-02-16 Thread Carlo Alberto Ferraris
Was going through the implementation of embed.FS and started wondering about the lack of WriteTo - specifically about the implications in case the embedded data is not present in memory e.g. because it got evicted due to memory pressure - or simply due to outright not fitting in memory. Won’t

[go-nuts] Re: Unable to create a specific file in windows

2020-10-17 Thread Carlos Alberto Costa Beppler
The problem is that on Windows API, to keep combability with previous versions, the maximum length for a full file name is 255 (may be a little less). The a directory is being created relative to C:\Users\nil\Downloads\sanitize\temp, so the full file name is

[go-nuts] Re: [ANN] scheduler microservice

2020-08-01 Thread Carlos Alberto Costa Beppler
Congrats, it looks very well structured. On Saturday, August 1, 2020 at 2:43:51 PM UTC-3, Andriy Kornatskyy wrote: > > Hi folks! Here is release of scheduler microservice [1], written in go and > nodejs. > > The scheduler is a fully managed cron job scheduler. It allows you to > schedule

[go-nuts] [ANN] chasquid (SMTP server) v1.2

2019-12-07 Thread Alberto Bertogli
on IRC, channel #chasquid on freenode. Thanks! Alberto -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@google

[go-nuts] [ANN] chasquid v1.1

2019-10-26 Thread Alberto Bertogli
/chasquid/b/master/. If you have any questions, comments or patches please send them to the mailing list, chasq...@googlegroups.com. You can also reach out via IRC, #chasquid on freenode. Thanks, Alberto -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] C# nameof equivalent

2019-03-19 Thread Carlos Alberto Costa Beppler
C# nameof operator is evaluated at compile time. Go does not have this operator, but it would be an nice addition. On Tuesday, March 19, 2019 at 9:53:45 AM UTC-3, Ian Lance Taylor wrote: > > On Tue, Mar 19, 2019 at 5:19 AM saurabh singh > wrote: > > > > Is there an alternative for nameof in

[go-nuts] View http open connections

2019-02-12 Thread jose . alberto . coelho
I was trying to get current HTTP connections in HTTP.Server. Internally transport tracks it under connPerHostCount. However, I don't see a way of getting this value. I tried this: type HTTPRequestMetrics struct { activeConnections int64 next http.Handler } func

[go-nuts] Re: Tweaking sync.Pool for mostly-empty pools

2018-02-16 Thread Carlo Alberto Ferraris
ll. Can you compare the internal workload with an implementation > where all callers just call the `New` function directly? What's the purpose > of using a pooled memory if there's often nothing in the pool? > > On Wednesday, February 14, 2018 at 3:56:34 PM UTC-8, Carlo Alberto > F

[go-nuts] Re: Tweaking sync.Pool for mostly-empty pools

2018-02-16 Thread Carlo Alberto Ferraris
ion directly? What's the purpose > of using a pooled memory if there's often nothing in the pool? > > On Wednesday, February 14, 2018 at 3:56:34 PM UTC-8, Carlo Alberto > Ferraris wrote: >> >> In an attempt to reduce the time pprof says is spent in sync.Pool >>

[go-nuts] Tweaking sync.Pool for mostly-empty pools

2018-02-14 Thread Carlo Alberto Ferraris
In an attempt to reduce the time pprof says is spent in sync.Pool (internal workloads, sorry) I modified Get and getSlow to skip locking the per-P shared pools if the pools are likely to be empty. This yields promising results, but I'm not sure the approach is sound since the check I do is

Re: [go-nuts] Re: [ANN] chasquid: An SMTP (email) server written in Go

2017-08-13 Thread Alberto Bertogli
here are versioned branches just in case. I hope someone finds these useful! Thanks! Alberto -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Re: [go-nuts] "%T" verb sometimes prints the name of the source file when passed an untyped constant

2017-05-04 Thread Alberto Cortes
Thanks Ian and Jan, I see my error now. On Thursday, May 4, 2017 at 2:27:55 PM UTC+2, Ian Lance Taylor wrote: > > On Thu, May 4, 2017 at 5:22 AM, Alberto Cortes <albe...@sourced.tech> > wrote: > > I'm sorry Jan, I still don't understand why the type of `a` is > `ma

Re: [go-nuts] "%T" verb sometimes prints the name of the source file when passed an untyped constant

2017-05-04 Thread Alberto Cortes
I'm sorry Jan, I still don't understand why the type of `a` is `main.go`. Can you elaborate on your answer? On Thursday, May 4, 2017 at 2:03:06 PM UTC+2, Jan Mercl wrote: > > On Thu, May 4, 2017 at 1:54 PM wrote: > > > Can you help me explain this behaviour? > > The

[go-nuts] "%T" verb sometimes prints the name of the source file when passed an untyped constant

2017-05-04 Thread alberto
I would expect the following code to print `int`, but it prints `main.go`, which was quite a surprise for me: ``` package main import ( "fmt" ) type foo int const ( _ foo = iota a ) func main() { fmt.Printf("%T\n", a) } ``` playground link: https://play.golang.org/p/8f8sUATRwm On the other

Re: [go-nuts] Re: [ANN] chasquid: An SMTP (email) server written in Go

2017-03-07 Thread Alberto Bertogli
of the internal packages in particular, please let me know so I can prioritize them accordingly. Thanks, Alberto -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, sen

[go-nuts] [ANN] chasquid: An SMTP (email) server written in Go

2017-03-02 Thread Alberto Bertogli
of features, documentation, etc.). You can "go get blitiri.com.ar/go/chasquid" it, and more detailed installation instructions can be found at https://blitiri.com.ar/git/r/chasquid/b/master/t/f=README.md.html If you have any comments or questions, please let me know! :) Thanks!