Re: [go-nuts] go test cache: include umask as a test input for caching?

2024-09-17 Thread Kurtis Rader
y the test is independent of the external >>>> environment. >>>> >>>> In general our approach has been that if your test intrinsically >>>> depends on the external environment, then you should run it with >>>> -test.run=1 to disable the test cache. >&g

Re: [go-nuts] cloning source code with pull request

2024-08-06 Thread Kurtis Rader
ts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/a2d3434c-f9d4-4c1a-9ed2-3ec8adfda6cfn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/a2d3434c-f9d4-4c1a-9ed2-3ec8adfda6cfn%40googlegroups.com?utm_medium=em

Re: [go-nuts] this code sometimes hangs

2024-07-19 Thread Kurtis Rader
at, as Ian said, sync.Cond is rarely needed in Go programs and using a Go channel for transferring ownership of data is idiomatic Go. So you should consider whether a channel will work and only fall back on low level primitives like sync.Cond if a channel isn't suitable. -- Kurtis Rade

Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-11 Thread Kurtis Rader
To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/aaa96093-696e-469a-895e-9cb99c82fc58n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/aaa96093-696e-469a-895e-9cb99c82fc58n%40googlegroups.com?utm_medium=email&utm_source=foo

Re: [go-nuts] Re: Go 1.21 / FIPS

2024-07-05 Thread Kurtis Rader
. >> >> Whether or not you need GOFIPS=1 at all depends on the purpose of your >> script/build process. >> >> > using GOFIPS=1 worked just fine on Go 1.20.5, however appears not to be >> the case anymore. >> >> Yes, we only added this failsafe as of

Re: [go-nuts] Testing specific file in a package

2024-06-28 Thread Kurtis Rader
specify a package rather than a single test file. See "go help testflag". -- 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 t

Re: [go-nuts] Symbol of const string are not exported by compiler

2024-05-30 Thread Kurtis Rader
eStrCommand failed: >> could not find symbol value for myValueStr* >> >> Benoit >> > -- > 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 > ema

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 us

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

2024-05-12 Thread Kurtis Rader
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/b9c4d2e0-4ab4-4d27-9359-abd8c090ae33n%40googlegro

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

2024-04-19 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&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional c

Re: [go-nuts] Executing JAR from Go

2024-04-16 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 Juni

Re: [go-nuts] Executing JAR from Go

2024-04-15 Thread Kurtis Rader
problems 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 ar

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
iew this 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&utm_source=footer>

Re: [go-nuts] RabbitMq Container connection

2024-03-25 Thread Kurtis Rader
nd an > email 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-06f

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

2024-03-19 Thread Kurtis Rader
ng-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/3818a025-d46c-4e23-8b2e-6e0a08c0986an%40googleg

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

2024-03-19 Thread Kurtis Rader
compiler. >> >> 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 > email to golang-nuts+unsubscr...@googlegroups.com. > To view

golang-nuts@googlegroups.com

2024-03-05 Thread Kurtis Rader
ails 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/9c60ff1f-6ddb-4136-bfab-642c102a47c7n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/9c60ff1f-6ddb-41

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

2024-03-03 Thread Kurtis Rader
18.66 KiB | 398.00 KiB/s, done. Resolving 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"

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

2024-03-02 Thread Kurtis Rader
.@googlegroups.com. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXR6hBSnGLjehwng%2BXp4QQ8ZznramEAZTmD%3D6tVwFirTg%40mail.gmail.com >>> . >>> >> -- > You received this message because you are subscribed to t

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

2024-02-28 Thread Kurtis Rader
likely to get any 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

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

2024-02-27 Thread Kurtis Rader
or useless. Pointers 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 "g

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

2024-02-22 Thread Kurtis Rader
m 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/0447f6d6-6fe9-410f-9d5a-08bb20bba67en%40googlegroups.com > <https://groups.google.com

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

2024-02-20 Thread Kurtis Rader
.google.com/d/msgid/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&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines

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

2024-02-16 Thread Kurtis Rader
ing 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/CAADvV_trGNxeLUma722wk-JOGnz42fJqM8%3DVZ36TKpr5s-%3DmOQ%40mail.gmail.com > <https://groups.google.com/d/msgid/

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&utm_source=footer> > . > --

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

2024-02-10 Thread Kurtis Rader
n Sat, 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/rea

[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
cific 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

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-blockin

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

2024-02-09 Thread Kurtis Rader
(time.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

Re: [go-nuts] Printf

2024-02-02 Thread Kurtis Rader
ail to 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%40go

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

2024-01-28 Thread Kurtis Rader
view 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&utm_source=

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

2023-12-22 Thread Kurtis Rader
eds to open an 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

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

2023-12-16 Thread Kurtis Rader
ke a named pipe by passing that value 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. --

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
the comment "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 condi

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

2023-12-15 Thread Kurtis Rader
isit > 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&utm_source=footer> > . > -- Kurtis Rader Car

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

2023-12-15 Thread Kurtis Rader
ubscr...@googlegroups.com. > To view this 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_med

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

2023-11-23 Thread Kurtis Rader
ou 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.com/d/msgid/

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
gt; <https://groups.google.com/d/msgid/golang-nuts/644e20e4-0734-4fe7-be0e-0b4d101df1fdn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Grou

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

2023-11-04 Thread Kurtis Rader
d use of stdlib functionality. 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 c

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

2023-10-19 Thread Kurtis Rader
re likely to introduce bugs 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

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

2023-10-19 Thread Kurtis Rader
e 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

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

2023-10-11 Thread Kurtis Rader
The `any` 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

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 on the

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 received th

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

2023-10-05 Thread Kurtis Rader
old > Cleaning.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 >>

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

2023-10-05 Thread Kurtis Rader
go.dev/time>.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 collec

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

2023-10-05 Thread Kurtis Rader
this 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&utm_source=footer>

Re: [go-nuts] Loop label style question

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

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

2023-10-02 Thread Kurtis Rader
eason 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 >

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

2023-09-30 Thread Kurtis Rader
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-09-30 Thread Kurtis Rader
ot 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 are subsc

[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
com/d/msgid/golang-nuts/e9fdeb9d-e3b6-49ea-b7e3-5ab7ddafea7bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" gr

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

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

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

2023-09-10 Thread Kurtis Rader
e program. 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 sta

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

2023-08-26 Thread Kurtis Rader
ot;return 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 R

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

2023-08-24 Thread Kurtis Rader
p 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/5d150c6a-3ecb-4cb8-91b3-c048940294aen%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/5

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

2023-08-16 Thread Kurtis Rader
d, Aug 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 &

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

2023-08-16 Thread Kurtis Rader
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/ff804d4c-24ee-480d-8ed1-219f9b8d7cbcn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/ff804d4c-24ee-4

Re: [go-nuts] Go modules question

2023-08-16 Thread Kurtis Rader
y? 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_module

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

2023-08-16 Thread Kurtis Rader
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/CAByJhJnkuai27VNiE6PraU9-5hoO85Hm__0UQJrT75a7KqD8uw%40mail.gmail.com > <https://groups.google.com/d/msg

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
s discussion on 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&utm_source=footer> > . &g

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

2023-08-08 Thread Kurtis Rader
cr...@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 s

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

2023-07-23 Thread Kurtis Rader
il.com > <https://groups.google.com/d/msgid/golang-nuts/CAN7%3DS7htWfYUQmd3H8GiWoWSaei1qU-FMcpqdyccFkXN1kmsWg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message b

Re: [go-nuts] memory safe languages question

2023-07-23 Thread Kurtis Rader
-nuts/bba0b21e-5e34-4529-9878-5453e099a053n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/bba0b21e-5e34-4529-9878-5453e099a053n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank --

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

2023-07-21 Thread Kurtis Rader
t; "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/13e154d0-d456-4e56-84f3-b28ad734d6

Re: [go-nuts] map type conversion

2023-07-16 Thread Kurtis Rader
ooglegroups.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_medium=email

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

2023-07-02 Thread Kurtis Rader
d 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/0c19486e-2b30-400e-a0da-f9c51e929a6en%40googlegroups.com > <https://groups.google.com/d/msgid

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&utm_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] is running interactive or not

2023-06-08 Thread Kurtis Rader
> https://groups.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&utm_source=footer> > . > -- Kurtis Rader Caretaker

Re: [go-nuts] Go routines consuming memory

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

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&utm_source=footer> > . > -- Kur

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

2023-04-26 Thread Kurtis Rader
t; To 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&utm_source=foot

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

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

2023-04-03 Thread Kurtis Rader
>>>>> /home/soomohan/mbalraj/test/hello.go 33 >>>>> RBP 0xc48fd0 RA 0x437073 runtime.main >>>>> /home/soomohan/mbalraj/GO/go1.20.2/go/src/runtime/proc.go 260 >>>>> RBP 0x0 RA 0x45f5e1 runtime.goexit >>>>> /home/soomohan/m

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

2023-03-14 Thread Kurtis Rader
entation will 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., "in

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

2023-03-13 Thread Kurtis Rader
gt; What i did so far: >>>>>> >>>>>> s1 := "1d28ed66824aa2593e1f2a4cf740343f" >>>>>> >>>>>> s2 := "dee2bd5dde763885944bc9d65419" >>>>>> >>>>>> s3 := s1 + s2 >>>>>&g

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

2023-03-10 Thread Kurtis Rader
ion on 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&utm_source=footer> > . >

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

2023-03-07 Thread Kurtis Rader
4e07-a4ee-98c4fe01ba8dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receivi

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

2023-03-04 Thread Kurtis Rader
also 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
n the web visit > 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 g

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

2023-02-02 Thread Kurtis Rader
om. > To view this 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&utm_sourc

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

2023-01-28 Thread Kurtis Rader
std" and then to 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 email

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

2023-01-28 Thread Kurtis Rader
:= 1; 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 me

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

2023-01-18 Thread Kurtis Rader
rom 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/CAMV2Rqo_nrhZfvJ_9qykTkg%3DTxbgdZMC7zFHx1rNnGcdgQk8cA%40mail.gmail.com > . >

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

2022-12-15 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/344ddfba-aea4-4631-b283-202a967f4b02n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/344ddfba-aea4-4631-b283-202a967f4b02n%4

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

2022-12-08 Thread Kurtis Rader
gle 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/d9276cb5-aa29-4

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

2022-11-23 Thread Kurtis Rader
uot; + "(" > + 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) >

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/3

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

2022-11-23 Thread Kurtis Rader
://groups.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&utm_source=footer> > . > -- Kurtis Rader Caretaker of the ex

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

2022-11-23 Thread Kurtis Rader
+unsubscr...@googlegroups.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

Re: [go-nuts] Shellquote in stdlib

2022-11-23 Thread Kurtis Rader
tems if the user has 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 '

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

2022-11-23 Thread Kurtis Rader
ail to golang-nuts+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%40go

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

2022-11-14 Thread Kurtis Rader
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...@googlegroups.com. >>> To view this discussion o

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

2022-11-12 Thread Kurtis Rader
gt; https://groups.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&utm_source=footer> > . > -- Kurtis Rader Caretaker o

Re: [go-nuts] Shellquote in stdlib

2022-11-06 Thread Kurtis Rader
rd I am skeptical 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 bec

  1   2   3   4   >