Re: [go-nuts] Re: 1.22.0 ServeMux HandleFunc infinite loop

2024-02-12 Thread Péter Szarvas
Wonderful news, thanks for the quick issue opening. I will follow this on github Sean Liao a következőt írta (2024. február 8., csütörtök, 23:43:11 UTC+1): > I've filed it as https://go.dev/issue/65624 > > - sean > > On Thu, Feb 8, 2024 at 6:58 PM Kyle Shannon wrote: > > > > On 2/8/24 11:30, Ja

Re: [go-nuts] Is there a way to cast interface to embedded type?

2024-02-12 Thread Christopher C
Thanks to both of you. I'll try out your suggestions. On Friday, February 9, 2024 at 4:35:31 PM UTC-5 Mike Schinkel wrote: > On Feb 9, 2024, at 3:37 PM, Christopher C wrote: > > I have a base struct that implements an interface. There are multiple > other structs that embed this base struct. I

Re: [go-nuts] heap ballast

2024-02-12 Thread 'Sean Liao' via golang-nuts
The modern way to handle this is with GOMEMLIMIT https://tip.golang.org/doc/gc-guide - sean On Mon, Feb 12, 2024 at 8:33 PM Mike Mitchell wrote: > > Purely for the sake of experiment (this is not a production environment > thing), I have tried to test out the Heap Ballast technique of reducing

Re: [go-nuts] Re: need a package to read/write shell history flat file database

2024-02-12 Thread Marcello H
This package (FZF) is also using the history file, perhaps there's something usable inside. https://github.com/junegunn/fzf Op zondag 11 februari 2024 om 06:41:11 UTC+1 schreef Kurtis Rader: > Thanks, but that requires me to implement the code I would rather not have > to reinvent given that sh