Re: [go-nuts] Looking for new project that I can start right now

2023-02-10 Thread Martin Schnabel
Hey Kazuva, the readme describes mostly the problem and gives some ideas for the proposed solution. It is meant to hopefully convince artists and publishers (it will need some refinement). The linked recording log and show description was for the discovery project that gave birth to the idea.

[go-nuts] Re: [ANN] sorty

2023-02-10 Thread jfcg...@gmail.com
Hi, sorty v2.1.0 has been released. The changes are: - Use any instead of interface{}. This pushes go version in go.mod to 1.18. - Add matrix strategy and workflow dependencies to github workflows. They now run on ubuntu/windows/macos with go 1.19/1

[go-nuts] Re: CBOR / pq cryptography migration / software architecture golang question

2023-02-10 Thread David Stainton
Upon further reflection I think the simplest solution is to have MixDescriptor represent the maps of mix keys in raw bytes and use a method to unmarshal them when needed. The unmarshal method could use CBOR tags to figure out which type to unmarshal into but it would be easier to implement t

Re: [go-nuts] Looking for new project that I can start right now

2023-02-10 Thread Kazuya Nomura
PS: I couldn't see the https://github.com/mb0/show/REC.md, https://github.com/mb0/show/README.md and didn't make sense in some points. Can we book a meeting for our project so that I can get more correct picture? Thank you && Best Regards Kazuya Nomura On Saturday, February 11, 2023 at 5:08:1

[go-nuts] CBOR / pq cryptography migration / software architecture golang question

2023-02-10 Thread David Stainton
Greetings people of golang, cryptographers, software architects, Hi. I'm a Katzenpost developer, it's a software project, not a legal entity: https://github.com/katzenpost We use the golang CBOR library: github.com/fxamacker/cbor Works great! Jumping right into the nitty gritty here... We have

[go-nuts] Re: tls panic inside /usr/local/go/src/crypto/tls/conn.go

2023-02-10 Thread Andrew Athan
go func() { select { case <-handshakeCtx.Done(): // Close the connection, discarding the error _ = c.conn.Close() interruptRes <- handshakeCtx.Err() case <-done: interruptRes <- nil } }() I believe the problem may be that this should have said: conn := c.conn if conn!= nil { conn.Close() } ??

[go-nuts] Re: tls panic inside /usr/local/go/src/crypto/tls/conn.go

2023-02-10 Thread Andrew Athan
Sorry, I meant to mention this is go 1.19 On Friday, February 10, 2023 at 2:24:39 PM UTC-8 Andrew Athan wrote: > panic: runtime error: invalid memory address or nil pointer dereference > [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5d073c] > goroutine 4133611 [running]: > crypt

[go-nuts] tls panic inside /usr/local/go/src/crypto/tls/conn.go

2023-02-10 Thread Andrew Athan
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5d073c] goroutine 4133611 [running]: crypto/tls.(*Conn).handshakeContext.func2() /usr/local/go/src/crypto/tls/conn.go:1441 +0xbc created by crypto/tls.(*Conn).ha

Re: [go-nuts] Looking for new project that I can start right now

2023-02-10 Thread Kazuya Nomura
Wow cool, thank you Martin If you want me to make this project, I will start to work as part time learning and growing my skills. Please let me know. Thank you && Best Regards. Kazuya Nomura On Saturday, February 11, 2023 at 3:13:15 AM UTC+9 Martin Schnabel wrote: > Hi Kazuva, > > I would actua

Re: [go-nuts] Parsing time with timezones seem to fail

2023-02-10 Thread Ian Lance Taylor
On Fri, Feb 10, 2023 at 9:04 AM Sven Rebhan wrote: > > The issue here is that the timezone information is ignored when computing the > timestamp value. Take the following examples > > layout := "2006-01-02 15:04:05 MST" > mytimeMST, err := time.Parse(layout, "2023-02-09 02:55:00 MST") > mytimeCE

[go-nuts] Re: why strings.ToLower change the "Ⅱ" to "ii" ?

2023-02-10 Thread 'Carla Pfaff' via golang-nuts
It's actually "ⅱ" (one rune), not "ii" (two runes). Because Unicode defines "ⅱ" (U+2171) as the lowercase character for "Ⅱ" (U+2161), see https://www.compart.com/en/unicode/U+2161 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

Re: [go-nuts] Looking for new project that I can start right now

2023-02-10 Thread Martin Schnabel
Hi Kazuva, I would actually have a basic idea and vague plans for a non-profit project for carving out some fair-use rights back for amateur musicians. The project already has a great name qnpdub, but not yet any web presence other than a readme on github: https://github.com/mb0/qnpdub I do

[go-nuts] Re: regexp question

2023-02-10 Thread Jochen Voss
Hi Peter, I don't think this is the solution: https://go.dev/play/p/Ti7UEGd1BVE . I think "All" means that it can deal with several copies of the regexp, rather than returning all matches of the group. All the best, Jochen On Friday, 10 February 2023 at 16:09:04 UTC Peter Galbavy wrote: > Find

[go-nuts] why strings.ToLower change the "Ⅱ" to "ii" ?

2023-02-10 Thread 张free
why strings.ToLower change the "Ⅱ" to "ii" ? -- 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

Re: [go-nuts] Parsing time with timezones seem to fail

2023-02-10 Thread Sven Rebhan
The issue here is that the timezone information is ignored when computing the timestamp *value.* Take the following examples layout := "2006-01-02 15:04:05 MST" mytimeMST, err := time.Parse(layout, "2023-02-09 02:55:00 MST") mytimeCET, err := time.Parse(layout, "2023-02-09 10:55:00 CET") Both

[go-nuts] Looking for new project that I can start right now

2023-02-10 Thread Kazuya Nomura
I just finished the golang course myself and want to start any project to contribute or start as trial. I don' t want to get client's privacy data. Just want to grow my skills. Please let me know if somebody have any project for me. Thank you & Best Regards Kazuya Nomura -- You received this

[go-nuts] Re: regexp question

2023-02-10 Thread Peter Galbavy
FindAllStringSubmatch() ? https://pkg.go.dev/regexp#Regexp.FindAllStringSubmatch On Friday, 10 February 2023 at 12:52:34 UTC Jochen Voss wrote: > Dear all, > > What happens if a group in a regular expression matches repeatedly, via > the * operator? Experimentally I found that FindStringSubmat

[go-nuts] regexp question

2023-02-10 Thread Jochen Voss
Dear all, What happens if a group in a regular expression matches repeatedly, via the * operator? Experimentally I found that FindStringSubmatch then returns the text of the last match. Is this guaranteed somewhere (I didn't find anything about this on https://pkg.go.dev/regexp )? Also, is t

[go-nuts] Re: Go, VSCODE IDE, Delve debugger: am having problem debugging my console app

2023-02-10 Thread Marcello H
You could try to debug it from within VSC. Op donderdag 9 februari 2023 om 15:19:24 UTC+1 schreef Daniel Jankins: > Hi, I can not get the console app to run with the debugger. When I start > the debugger I do not get the console display only > > Starting: C:\Users\djankins\go\bin\dlv.exe dap

Re: [go-nuts] Parsing time with timezones seem to fail

2023-02-10 Thread 'Thomas Casteleyn' via golang-nuts
Being able to parse these timestamps correctly and produce correct Unix time from them; Together with the Gophers slack, we found this ugly, but working hack: https://go.dev/play/p/nG-M0pUrm0Z stamp, _ := time.Parse(layout, v) loc, _ := time.LoadLocation(stamp.Location().String()) stamp, _ = tim