Re: [go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
Also, by chance do you know of an alternative that would provide multiple streams for a connection that happens different protocols or for TCP? On Saturday, August 20, 2022 at 7:01:00 PM UTC-4 se...@liao.dev wrote: > yamux uses its own protocol, it doesn't speak telnet > > - sean > > On Sat,

Re: [go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
Can you tell me how I can figure out what it speaks? On Saturday, August 20, 2022 at 7:01:00 PM UTC-4 se...@liao.dev wrote: > yamux uses its own protocol, it doesn't speak telnet > > - sean > > On Sat, Aug 20, 2022, 21:31 ramki...@hotmail.com > wrote: > >> Has anyone ever used a multiplexer

Re: [go-nuts] Go multiplexers

2022-08-20 Thread 'Sean Liao' via golang-nuts
yamux uses its own protocol, it doesn't speak telnet - sean On Sat, Aug 20, 2022, 21:31 ramki...@hotmail.com wrote: > Has anyone ever used a multiplexer ? > When creating a TCP server using multiplexer, I get an error [ERR] yamux: > Invalid protocol version:

[go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
Has anyone ever used a multiplexer ? When creating a TCP server using multiplexer, I get an error [ERR] yamux: Invalid protocol version: 102 when using Telnet to connect to the server. package main import ( "fmt" "net"

[go-nuts] github.com/splunk/pipelines hits v1.0.0

2022-08-20 Thread K. Alex Mills
Hi Gophers! The API has solidified, so I've just released github.com/splunk/pipelines at v1.0.0. This library provides a lightweight way to manage concurrency separately from your business logic by breaking a concurrent task down into stages in a pipeline, connected by nothing more than plain old

[go-nuts] Re: Go 1.19 average goroutine stack

2022-08-20 Thread tapi...@gmail.com
BTW, the outputs of the test program: $ GODEBUG=gctrace=1 ./main gc 1 @0.006s 4%: 0.035+1.5+0.006 ms clock, 0.14+0/1.5/2.0+0.024 ms cpu, 0->0->0 MB, 8 MB goal, 0 MB stacks, 8 MB globals, 4 P (forced) 2022/08/20 22:46:47 2048 1 gc 2 @2.123s 0%: 0.034+2.6+0.008 ms clock, 0.13+0/2.5/7.1+0.035 ms

[go-nuts] Re: Go 1.19 average goroutine stack

2022-08-20 Thread tapi...@gmail.com
On Friday, August 19, 2022 at 12:14:55 AM UTC+8 k...@google.com wrote: > On Wednesday, August 17, 2022 at 8:18:35 PM UTC-7 tapi...@gmail.com wrote: > >> I'm a bit wondering about how the following case will be affected by the >> change: >> 1. Initially, there is one goroutine, which stack size

[go-nuts] Re: Python cool methods in Golang

2022-08-20 Thread TheDiveO
Not showing the code and attaching a (INAL) useless "confidentiality notice" (good luck arguing with Google over that) looks like a big "no-go" to me. What exactly is your intention? On Thursday, August 18, 2022 at 12:52:42 AM UTC+2 andres...@rappi.com wrote: > Hi ! > Currently I am working on