Re: [go-nuts] Calling the .net dlls to the golang

2024-05-21 Thread Kurtis Rader
Since the question is incoherent and the link to the package you claim to be using doesn't resolve to a valid host name I'm going to assume this is spam and you're not really a person asking for help. P.S., Saying it "is not working" is meaningless. If you are a real person asking for help show

Re: [go-nuts] Bitmask is slower than modulo calculation

2024-05-12 Thread Kurtis Rader
To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/b9c4d2e0-4ab4-4d27-9359-abd8c090ae33n%40googlegroups.com > <https://groups

Re: [go-nuts] why math.Pow gives different results depending on exp type

2024-04-20 Thread Kurtis Rader
e.com/d/msgid/golang-nuts/245517a8-37f9-4ad4-bc42-a1204beb723fn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/245517a8-37f9-4ad4-bc42-a1204beb723fn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Ju

Re: [go-nuts] Executing JAR from Go

2024-04-17 Thread Kurtis Rader
pty string. Furthermore, your original code looked like exec.Command().CombinedOutput(); it didn't have an explicit command variable whose Dir structure member could be altered. So it seems like you aren't telling us the whole story. -- Kurtis Rader Caretaker of the exceptional canines Junior and Han

Re: [go-nuts] Executing JAR from Go

2024-04-15 Thread Kurtis Rader
ems with the O.P.'s Go code. But until they tell us what command they successfully ran at an interactive shell we can only guess at what is wrong with their Go source code. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscrib

Re: [go-nuts] Executing JAR from Go

2024-04-15 Thread Kurtis Rader
jdk15on-155.jar:/Users/shivli.srivastava/Downloads/jars/xml-apis-1.4.01.jar:/Users/shivli.srivastava/Downloads/jars/xercesImpl-2.12.2.jar:DigitalSign.jar org/Sign If you copy/paste the above command into your interactive shell what happens? -- Kurtis Rader Caretaker of the exceptional canines

Re: [go-nuts] Failure in file seek

2024-04-08 Thread Kurtis Rader
his discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/cf1f423c-6ba7-4b98-b37c-ac53758dcbc4n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/cf1f423c-6ba7-4b98-b37c-ac53758dcbc4n%40googlegroups.com?utm_medium=email_source=footer> > . &g

Re: [go-nuts] RabbitMq Container connection

2024-03-26 Thread Kurtis Rader
l to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0d8bf2eb-6600-4f0b-bf07-06fef5a185c1n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/0d8bf2eb-6600-4f0b-bf07-06fef5a185c1n%40googl

Re: [go-nuts] Using new variable or updating existing variable in a loop

2024-03-19 Thread Kurtis Rader
is group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3818a025-d46c-4e23-8b2e-6e0a08c0986an%40googlegroups.com > <https://groups.google.com/d/msgid/

Re: [go-nuts] Using new variable or updating existing variable in a loop

2024-03-19 Thread Kurtis Rader
; 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...@googlegroups.com. > To view this discussion on the web visit

Re: [go-nuts] Why Go opt for using * in signature of function that returns a pointer instead of using &?

2024-03-05 Thread Kurtis Rader
ang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/9c60ff1f-6ddb-4136-bfab-642c102a47c7n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/9c60ff1f-6ddb-4136-bfab-642c102a47c7n%40googlegro

Re: [go-nuts] GO111MODULE=off go get deprecated?

2024-03-03 Thread Kurtis Rader
solving deltas: 100% (23/23), done. > ls helloworld LICENSE Makefile debugger.go main.go -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this g

Re: [go-nuts] Plea for help diagnosing strange "signal: killed" issues in previously-working code

2024-03-02 Thread Kurtis Rader
sit >>> https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXR6hBSnGLjehwng%2BXp4QQ8ZznramEAZTmD%3D6tVwFirTg%40mail.gmail.com >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To uns

Re: [go-nuts] How to have panic messages show in a PowerShell console

2024-02-28 Thread Kurtis Rader
ny meaningful assistance with an ancient Go version. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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

Re: [go-nuts] Equality of interface of an empty struct - why?

2024-02-27 Thread Kurtis Rader
inters to zero size variables (e.g., empty structs) are a special-case that the Go designers decided to leave ambiguous for now. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts&

Re: [go-nuts] Unhappy with the official generics tutorial

2024-02-22 Thread Kurtis Rader
rom it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0447f6d6-6fe9-410f-9d5a-08bb20bba67en%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/0447f6d6-6fe9-410f-9

Re: [go-nuts] heap pprof profile showing only 10Gi out of 50Gi of actually used memory

2024-02-20 Thread Kurtis Rader
golang-nuts/8eb463f6-e608-40b0-8df5-c497e2a1414an%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/8eb463f6-e608-40b0-8df5-c497e2a1414an%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You recei

Re: [go-nuts] Re: Range over int

2024-02-16 Thread Kurtis Rader
t; email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAADvV_trGNxeLUma722wk-JOGnz42fJqM8%3DVZ36TKpr5s-%3DmOQ%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CAADvV_trGNxeLUma722wk

Re: [go-nuts] big int panic on text conversion

2024-02-13 Thread Kurtis Rader
on on the web visit > https://groups.google.com/d/msgid/golang-nuts/db0a5e73-0a1d-4dfb-9629-1d54cf492f95n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/db0a5e73-0a1d-4dfb-9629-1d54cf492f95n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Ku

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

2024-02-10 Thread Kurtis Rader
, Feb 10, 2024 at 9:15 PM 'Dan Kortschak' via golang-nuts < golang-nuts@googlegroups.com> wrote: > On Sat, 2024-02-10 at 21:01 -0800, Kurtis Rader wrote: > > The only solution I can find that gets close to my requirements is > > https://github.com/ergochat/readline, but AFAI

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

2024-02-10 Thread Kurtis Rader
The only solution I can find that gets close to my requirements is https://github.com/ergochat/readline, but AFAICT it does not handle updates to the on-disk history file by concurrently executing processes. On Sat, Feb 10, 2024 at 6:55 PM Kurtis Rader wrote: > I'm looking for a pack

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

2024-02-10 Thread Kurtis Rader
structure (e.g., YAML, JSON, something else) isn't important. I'm just looking for an implementation that is known to correctly handle appending new entries from concurrently running processes and rewriting the file when entries are deleted. -- Kurtis Rader Caretaker of the exceptional canines Junior

Re: [go-nuts] Opening network connections blocks system thread

2024-02-09 Thread Kurtis Rader
On Fri, Feb 9, 2024 at 2:10 PM Ian Lance Taylor wrote: > On Fri, Feb 9, 2024 at 11:57 AM Kurtis Rader wrote: > > > > The connect() syscall is normally blocking. It doesn't return until the > connection is established or an error occurs. It can be made non-blocking >

Re: [go-nuts] Opening network connections blocks system thread

2024-02-09 Thread Kurtis Rader
.Second) > > // Start them all at once > close(startSignal) > wg.Wait() > } > > === > > -- > 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

Re: [go-nuts] Printf

2024-02-02 Thread Kurtis Rader
o golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0b8e4c5a-ceef-49e8-8546-bcd51200ff35n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/0b8e4c5a-ceef-49e8-8546-bcd51200ff35n%

Re: [go-nuts] Disable false positive go vet check in tests per line?

2024-01-28 Thread Kurtis Rader
this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAA38peaR%3DhFQPv3cCcDndfsEkqkM-X5s8rC1H%2BeOzAJ3ijhqPQ%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CAA38peaR%3DhFQPv3cCcDndfsEkqkM-X5s8rC1H%2BeOzAJ3ijhqPQ%40mail.gmail.com?utm_medium=

Re: [go-nuts] What is the idiomatic way to create dynamic clients for Firestore in Go

2023-12-27 Thread Kurtis Rader
m. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/ff599a86-4292-4f2f-a910-631e0e7ca7c1n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/ff599a86-4292-4f2f-a910-631e0e7ca7c1n%40googlegroups.com?utm_medium=email_source=foot

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-22 Thread Kurtis Rader
n issue with Apple and convince them to adopt the same improvement. This isn't something that the Go ecosystem can workaround. Too, for many use cases switching from a named fifo to something like a unix domain socket will provide the desired behavior on all the supported platforms. -- Kurtis Rader Care

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-16 Thread Kurtis Rader
ue to the os.OpenFile function and that flag isn't needed to open an existing named pipe. The os.ModeNamedPipe constant is meant to be used when testing the file mode returned by os.Stat. You would normally use the unix.Mkfifo function to create a named pipe. -- Kurtis Rader Caretaker of the excep

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-16 Thread Kurtis Rader
n p", err.Error()) os.Exit(1) } println("fifo opened") WaitTillBreak(f) } On Sat, Dec 16, 2023 at 9:01 PM Kurtis Rader wrote: > On Sat, Dec 16, 2023 at 7:54 AM 'TheDiveO' via golang-nuts < > golang-nuts@googlegroups.com> wrote: > >

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-16 Thread Kurtis Rader
ot;checks a fifo/pipe to see when it breaks." A fifo/pipe doesn't "break". It either has at least one open fd for writing or not; in which case the last writer has closed its end of the fifo/pipe. It's not "broken". It simply has entered an EOF condition for the reader si

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-15 Thread Kurtis Rader
gid/golang-nuts/3f8df371-4fda-44e2-8acb-b0743fb6b27en%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/3f8df371-4fda-44e2-8acb-b0743fb6b27en%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [go-nuts] unix.Select with fd gotten from named pipe on macos behaves differently compared to linux

2023-12-15 Thread Kurtis Rader
discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3f8df371-4fda-44e2-8acb-b0743fb6b27en%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/3f8df371-4fda-44e2-8acb-b0743fb6b27en%40googlegroups.com?utm_medium=email_source=footer> > . >

Re: [go-nuts] Some questions about GC and map[int]int

2023-11-23 Thread Kurtis Rader
Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/b7049

Re: [go-nuts] CGO error : cannot use f ( type func(_Ctype_int, **_Ctype_char) _Ctype_int) as *[0]byte value in argument

2023-11-21 Thread Kurtis Rader
t; <https://groups.google.com/d/msgid/golang-nuts/644e20e4-0734-4fe7-be0e-0b4d101df1fdn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "

Re: [go-nuts] go.mod go directive coverage of stdlib contract?

2023-11-04 Thread Kurtis Rader
tionality. It's > also surprising, because this does mean that dependencies on 3rd partly > modules have enforcement and error reporting which is more crisp and > thorough than dependencies on the stdlib itself. > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -

Re: [go-nuts] Can we not invoke methods on types referring to generics?

2023-10-19 Thread Kurtis Rader
gs than useful behavior. Here I am not talking about generics which does not introduce type coercion. If you believe the current behavior is wrong you should say so and propose why an alternative behavior is better. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You rec

Re: [go-nuts] Can we not invoke methods on types referring to generics?

2023-10-19 Thread Kurtis Rader
who had been programming for several years but didn't find a language I loved until I learned C sometime around 1984. What you are proposing would lead to a huge number of bugs that result from the C/C++ behavior you are advocating for. And that ignores the technical difficulties of doing what yo

Re: [go-nuts] Re: Why causes []any trouble in type equations?

2023-10-11 Thread Kurtis Rader
keyword is a shorthand for `interface{}`. Any concrete type such as `int` is not equivalent to `interface{}`. Which means that a slice of a non `any` type cannot be magically converted to a slice of `interface{}`. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You recei

Re: [go-nuts] Why causes []any trouble in type equations?

2023-10-10 Thread Kurtis Rader
ger > > -- > 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...@googlegroups.com. > To view this discussion

Re: [go-nuts] gomobile support flutter??

2023-10-07 Thread Kurtis Rader
sktop/go-flutter. But I am only guessing because I do not write programs in Go for mobile platforms. Explaining why this enhancement would be beneficial (even if only for whatever you are working on) would help. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You receive

Re: [go-nuts] File size of Google docs when mounted

2023-10-05 Thread Kurtis Rader
leaning.gdoc' > $ > > I'll update the code to remove the deprecated and see if that is any > different. > On Thursday, October 5, 2023 at 6:06:50 PM UTC-4 Kurtis Rader wrote: > >> Note that ioutil.ReadDir() has been deprecated since Go 1.16. Which is a >> very long time

Re: [go-nuts] File size of Google docs when mounted

2023-10-05 Thread Kurtis Rader
e>.Time <https://pkg.go.dev/time#Time> // > modification time IsDir() bool <https://pkg.go.dev/builtin#bool> // > abbreviation for Mode().IsDir() Sys() any <https://pkg.go.dev/builtin#any> // > underlying data source (can return nil) } > > These are collect

Re: [go-nuts] File size of Google docs when mounted

2023-10-05 Thread Kurtis Rader
discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/8faf6106-2fdd-49e3-a193-e8f41605fbffn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/8faf6106-2fdd-49e3-a193-e8f41605fbffn%40googlegroups.com?utm_medium=email_source=footer> > . > --

Re: [go-nuts] Loop label style question

2023-10-02 Thread Kurtis Rader
<https://groups.google.com/d/msgid/golang-nuts/c2bfd4c3-4a0e-4a53-b8a7-d700543c4ef0n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the

Re: [go-nuts] Re: Is it expected that signal.NotifyContext() changes the execution thread?

2023-10-02 Thread Kurtis Rader
that locking the main() function to the initial thread isn't the default? On Mon, Oct 2, 2023 at 5:05 PM Ian Lance Taylor wrote: > On Sat, Sep 30, 2023 at 11:56 PM Kurtis Rader > wrote: > > > > And having said that I just tested using runtime.LockOSThread() and it > does all

Re: [go-nuts] Re: Is it expected that signal.NotifyContext() changes the execution thread?

2023-10-01 Thread Kurtis Rader
this seems like a side-effect that should be documented; along with the recommendation of using runtime.LockOSThread() to avoid that side-effect. On Sat, Sep 30, 2023 at 11:36 PM Kurtis Rader wrote: > On Sat, Sep 30, 2023 at 12:23 AM TheDiveO wrote: > >> Did you explicitly lock the initi

Re: [go-nuts] Re: Is it expected that signal.NotifyContext() changes the execution thread?

2023-10-01 Thread Kurtis Rader
on not being the main thread. It is certainly possible I have simply been lucky but that seems unlikely since it fails every single time I run it when using signal.NotifyContext(). -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you ar

[go-nuts] Is it expected that signal.NotifyContext() changes the execution thread?

2023-09-29 Thread Kurtis Rader
-effect a bug? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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-nut

Re: [go-nuts] What is a ordinary and exceptional error?

2023-09-29 Thread Kurtis Rader
stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/e9fdeb9d-e3b6-49ea-b7e3-5ab7ddafea7bn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/e9

Re: [go-nuts] How to understand assembly code related to defer

2023-09-26 Thread Kurtis Rader
s.com > <https://groups.google.com/d/msgid/golang-nuts/69d8ca43-d4e7-4945-ab94-9951fa51188dn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are s

Re: [go-nuts] x/mobile: avoid to catch sigabort signal

2023-09-11 Thread Kurtis Rader
gram. So what does `CMAC_resume` do? Also, in this type of situation if you can't arrange for a core dump to be generated it is going to be very difficult to do a root cause analysis. Especially if you can't instrument the Cgo code that is causing the problem with debugging logging statements. -- K

Re: [go-nuts] Reason for "goto jumps over declaration" being disallowed

2023-08-26 Thread Kurtis Rader
turn err" (personally I'm not a fan of bare returns that implicitly return the named return parameters). That function can be ten lines (25%) shorter and I would argue would be clearer since the reader doesn't have to look at what follows the "end" label. -- Kurtis Rader Careta

Re: [go-nuts] Replicating C unions with unsafe, arrays, and some constant arithmetic

2023-08-24 Thread Kurtis Rader
mail to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/5d150c6a-3ecb-4cb8-91b3-c048940294aen%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/5d150c6a-3ecb-4cb8-91b3-c048940294aen%40g

Re: [go-nuts] keyword= support for function calls

2023-08-16 Thread Kurtis Rader
g 16, 2023 at 6:14 PM Kurtis Rader wrote: > >> Personally, and I say this as a happy user of Python, I dislike keyword >> parameters. Note that in Python keyword parameters are (or should be) >> seldom used for anything other than optional arguments. And if your API has >&g

Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-08-16 Thread Kurtis Rader
it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/ff804d4c-24ee-480d-8ed1-219f9b8d7cbcn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/ff804d4c-24ee-48

Re: [go-nuts] Go modules question

2023-08-16 Thread Kurtis Rader
datory? I really have > no intention of saving my code to github. If i’m saving my code locally, > can i use an arbitrary module name? > No, github.com as a prefix is not mandatory. Not even if you intend to publish your module. See https://go.dev/doc/modules/managing-dependencies#naming_modu

Re: [go-nuts] keyword= support for function calls

2023-08-16 Thread Kurtis Rader
, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAByJhJnkuai27VNiE6PraU9-5hoO85Hm__0UQJrT75a7KqD8uw%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CAByJhJnkuai27VNiE6PraU9-5

Re: [go-nuts] why the go install package download from official website of go1.21 is less than go1.20?

2023-08-15 Thread Kurtis Rader
the web visit > https://groups.google.com/d/msgid/golang-nuts/67bb5470-0b40-4a33-9d11-fefa7f6fd7a6n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/67bb5470-0b40-4a33-9d11-fefa7f6fd7a6n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader C

Re: [go-nuts] go1.21.0 panics when loading plugin

2023-08-08 Thread Kurtis Rader
@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/d208fed7-dec3-8865-b332-1d693122edda%40hoi-polloi.org > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are sub

Re: [go-nuts] no way to pause `Listen` on net connections

2023-07-23 Thread Kurtis Rader
google.com/d/msgid/golang-nuts/CAN7%3DS7htWfYUQmd3H8GiWoWSaei1qU-FMcpqdyccFkXN1kmsWg%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google

Re: [go-nuts] memory safe languages question

2023-07-23 Thread Kurtis Rader
099a053n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/bba0b21e-5e34-4529-9878-5453e099a053n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you

Re: [go-nuts] net/http: invalid byte in Cookie.Value; dropping invalid bytes

2023-07-21 Thread Kurtis Rader
scribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/13e154d0-d456-4e56-84f3-b28ad734d633n%40googlegroups.com > <https://groups.go

Re: [go-nuts] map type conversion

2023-07-16 Thread Kurtis Rader
cr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3051ef4c-718b-4bbd-bac4-b0bf9a414283n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/3051ef4c-718b-4bbd-bac4-b0bf9a414283n%40googlegroups.com?utm_m

Re: [go-nuts] slog - potentially broken test

2023-07-02 Thread Kurtis Rader
p receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0c19486e-2b30-400e-a0da-f9c51e929a6en%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/

Re: [go-nuts] How to resolve running go run with below error

2023-06-27 Thread Kurtis Rader
://groups.google.com/d/msgid/golang-nuts/c5e36342-746f-4618-afe4-ce77fa79cc35n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "gola

Re: [go-nuts] is running interactive or not

2023-06-08 Thread Kurtis Rader
oups.google.com/d/msgid/golang-nuts/c8ae1be5-5a6b-45af-9249-ccdb02283d97n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/c8ae1be5-5a6b-45af-9249-ccdb02283d97n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines

Re: [go-nuts] Go routines consuming memory

2023-06-06 Thread Kurtis Rader
ion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAGPPfg9%2B9xeHVgfTuWVMaSotUt3tJD-3PVE5%3D4o5ozW3WOWDzA%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CAGPPfg9%2B9xeHVgfTuWVMaSotUt3tJD-3PVE5%3D4o5ozW3WOWDzA%40mail.gmail.com?utm_medium=email_source=foote

Re: [go-nuts] Equivalence of types declared with equals

2023-06-03 Thread Kurtis Rader
the web visit > https://groups.google.com/d/msgid/golang-nuts/396c63a7-4b0c-4f5e-8c0e-a1e45249e247n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/396c63a7-4b0c-4f5e-8c0e-a1e45249e247n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis

Re: [go-nuts] Output format of IRNode.

2023-04-26 Thread Kurtis Rader
view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/92613ee9-3c7d-4a1a-ac1e-626712a3d924n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/92613ee9-3c7d-4a1a-ac1e-626712a3d924n%40googlegroups.com?utm_medium=email_source=footer>

Re: [go-nuts] Need help: Calling panic() is corrupting system stack

2023-04-04 Thread Kurtis Rader
requires a code-signed Go binary. Something I don't have enough interest to verify. Also, presumably the same issue that affects Go core dumps on macOS amd64 also applies to macOS arm64. So even if you go to the trouble of code-signing a Go binary generating a core dump would not be practical on A

Re: [go-nuts] Need help: Calling panic() is corrupting system stack

2023-04-03 Thread Kurtis Rader
A 0x437073 runtime.main >>>>> /home/soomohan/mbalraj/GO/go1.20.2/go/src/runtime/proc.go 260 >>>>> RBP 0x0 RA 0x45f5e1 runtime.goexit >>>>> /home/soomohan/mbalraj/GO/go1.20.2/go/src/runtime/asm_amd64.s 1599 >>>>> >>>>> (dlv)si >

Re: [go-nuts] How to generalize parameters for a function

2023-03-14 Thread Kurtis Rader
ill magically convert map values from a concrete type (e.g., "int") to the "any" type if that is what is needed in a particular context. One reason it doesn't do so is the same reason it doesn't auto-magically convert any other map value type; e.g., "int" to "flo

Re: [go-nuts] How to encode/decode string to binary in golang

2023-03-13 Thread Kurtis Rader
so far: >>>>>> >>>>>> s1 := "1d28ed66824aa2593e1f2a4cf740343f" >>>>>> >>>>>> s2 := "dee2bd5dde763885944bc9d65419" >>>>>> >>>>>> s3 := s1 + s2 >>>>>> >>&

Re: [go-nuts] How to encode/decode string to binary in golang

2023-03-10 Thread Kurtis Rader
n the web visit > https://groups.google.com/d/msgid/golang-nuts/ad3a981b-cf22-47cd-9fe6-8db83a097b42n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/ad3a981b-cf22-47cd-9fe6-8db83a097b42n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rad

Re: [go-nuts] Best way to mark unused parameters/error values reported by linter

2023-03-07 Thread Kurtis Rader
dn%40googlegroups.com?utm_medium=email_source=footer> >>> . >>> >> -- > 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

Re: [go-nuts] Naming conventions in go?

2023-03-04 Thread Kurtis Rader
so the idioms employed by a particular project. Whether a particular name maximizes readability depends on the context -- not the number of characters in the name. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the

Re: [go-nuts] Upgradable RLock

2023-02-04 Thread Kurtis Rader
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVLzkTgiYqw%2BWh6pTFX74X-LYoyPFK5bkX7T8J8j3mb%3Dg%40mail.gmail.com > . > > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and sto

Re: [go-nuts] recommendations please: go source level debugger for linux

2023-02-02 Thread Kurtis Rader
s discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/5f9a909c-ef29-4669-b1bd-b2dd941f03f2n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/5f9a909c-ef29-4669-b1bd-b2dd941f03f2n%40googlegroups.com?utm_medium=email_source=footer> > .

Re: [go-nuts] Creating and Linking to Shared Library Version of Go Runtime?

2023-01-28 Thread Kurtis Rader
o build other Go programs with >> "-linkshared". >> >> Ian >> > -- > 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 >

Re: [go-nuts] worker pool concept program error please resolve my problem

2023-01-28 Thread Kurtis Rader
; x <= 2; x++ { > go comppricevalue(x, job1, result1) > } > for k := 1; k <= 9; k++ { > job1 <- k > } > close(job1) > for a := 1; a <= 9; a++ { > <-result1 > } > } > > -- > You received this mes

Re: [go-nuts] Go 1.19 comparison of variables of generic type

2023-01-18 Thread Kurtis Rader
ts+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAMV2Rqo_nrhZfvJ_9qykTkg%3DTxbgdZMC7zFHx1rNnGcdgQk8cA%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google

Re: [go-nuts] How to disable all go compiler build output compressions?

2022-12-15 Thread Kurtis Rader
ang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/344ddfba-aea4-4631-b283-202a967f4b02n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/344ddfba-aea4-4631-b283-202a967f4b02n%40googlegroups.com?utm_medi

Re: [go-nuts] Help debugging a SIGSEGV - "unexpected signal during runtime execution"

2022-12-08 Thread Kurtis Rader
quot; group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/d9276cb5-aa29-4fb7-8c9a-fde308252bden%40googlegroups.com >

Re: [go-nuts] Problems with array slicing reliability?

2022-11-23 Thread Kurtis Rader
+ "(" > + strconv.Itoa(i) + ") " + AuthKey); os.Exit(1); > case 1: AuthKey = strings.Replace(AuthKey,"", > hashRemap[1], 1) > case 2: AuthKey = strings.Replace(AuthKey,"", > hashRemap[3], 1) > case

Re: [go-nuts] cannot initialize 1 variables with 2 values

2022-11-23 Thread Kurtis Rader
receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/308dd860-a980-449d-a710-201f074e4358n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/30

Re: [go-nuts] where is GOROOT set?

2022-11-23 Thread Kurtis Rader
google.com/d/msgid/golang-nuts/337a21ff-6c06-440d-9aa9-89aa4a1d071an%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/337a21ff-6c06-440d-9aa9-89aa4a1d071an%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional cani

Re: [go-nuts] where is GOROOT set?

2022-11-23 Thread Kurtis Rader
oglegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/e8814b02-d072-4272-a12b-4509d353666cn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/e8814b02-d072-4272-a12b-4509d353666cn%40googlegroups.com?utm_medium

Re: [go-nuts] Shellquote in stdlib

2022-11-23 Thread Kurtis Rader
as set their login shell to a non-POSIX shell (like Fish or Elvish) and your code uses the login shell rather than something like /bin/sh you will be in for a surprise. :-) On Sun, Nov 6, 2022 at 9:11 PM Kurtis Rader wrote: > > > > On Sun, Nov 6, 2022 at 8:48 PM 'Christian Stewart' via golang-nuts <

Re: [go-nuts] where is GOROOT set?

2022-11-23 Thread Kurtis Rader
uts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/4b365c67-6f3d-4edc-97d5-dbe505604818n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/4b365c67-6f3d-4edc-97d5-dbe505604818n%40googlegro

Re: [go-nuts] Should an IPv4 address input to idna.Registration.ToASCII() return an error or not?

2022-11-14 Thread Kurtis Rader
cause 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...@googlegroups.com. >>> To view this discussion on the web visit >&

Re: [go-nuts] Should an IPv4 address input to idna.Registration.ToASCII() return an error or not?

2022-11-12 Thread Kurtis Rader
ups.google.com/d/msgid/golang-nuts/792a7e4a-3335-40c2-8fe9-fca394d2f988n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/792a7e4a-3335-40c2-8fe9-fca394d2f988n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines

Re: [go-nuts] Shellquote in stdlib

2022-11-06 Thread Kurtis Rader
al that either of the projects you linked to correctly manipulates such strings in every case. It would help if you provided a concrete example of the problem you need help with. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you ar

Re: [go-nuts] Refactor Asynchronous JS to Go

2022-11-05 Thread Kurtis Rader
irst-class objects in Go and can be passed to other functions to perform a specialized operation or act as a callback. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

Re: [go-nuts] Once again: Include files in go?

2022-11-01 Thread Kurtis Rader
ttps://groups.google.com/d/msgid/golang-nuts/7c1524a5-6c45-4ca8-862e-84f0b620b18fn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/7c1524a5-6c45-4ca8-862e-84f0b620b18fn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exc

Re: [go-nuts] Re: Replace reference path

2022-10-31 Thread Kurtis Rader
f >>>>> >>>>> k8s.io/apimachinery/pkg/util/diff is his import path, later I want to >>>>> switch to another method. >>>>> >>>>> github.com/google/go-cmp/cmp.Diff >>>>> >>>>> github.com/google/go-cmp/

Re: [go-nuts] Re: Replace reference path

2022-10-30 Thread Kurtis Rader
age 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...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.c

Re: [go-nuts] What's the maximum array length?

2022-10-27 Thread Kurtis Rader
Representability> by a value of >> type int. ", so on a 64-bit environment, I assume that the maximum array >> length should be math.MaxInt64, am I right ? But the following code doesn't >> compile: >> >> package main >> var x = [1<<34]byte{1<<23:

Re: [go-nuts] 1.19.2: gofmt fails on CI but not locally

2022-10-27 Thread Kurtis Rader
> <https://groups.google.com/d/msgid/golang-nuts/8a2e6351-b88a-46ff-917b-af9110aa8aaan%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Gr

Re: [go-nuts] Practical use cases of recover in golang

2022-10-09 Thread Kurtis Rader
om > <https://groups.google.com/d/msgid/golang-nuts/00f1a25f-2f95-4ed7-8acd-6510bae85c30n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Grou

  1   2   3   4   >