Re: [go-nuts] Re: New edition of the Go Programming Language comming soon ?

2022-03-14 Thread Amnon BC
Great post, Rob! CS people generally write books for people like themselves and find it hard to put themselves in the position of someone without a CS degree, learning their first programming language. A lot of people are aware of the lack of good beginner material, but few people have the experien

Re: [go-nuts] Re: New edition of the Go Programming Language comming soon ?

2022-03-14 Thread Rob Muhlestein
The essential issue is that there are a number of resources for people "with prior programming experience" and literally none for people learning Go as a first language. I find this to be very unfortunate because so much of Go promotes solid programming practices that could significantly impact

Re: [go-nuts] what does p stand for in Read(p []byte) (int, error)

2022-03-14 Thread Ian Lance Taylor
‪On Mon, Mar 14, 2022 at 9:07 AM ‫محمد بومنذر‬‎ wrote:‬ > > Hey, I got curious about the meaning of p, so I decided to ask. It seems to date back to when the Reader interface was first written, back when Go looked somewhat different than it does today: https://go.googlesource.com/go/+/7c9e2c2b6c

Re: [go-nuts] Re: New edition of the Go Programming Language comming soon ?

2022-03-14 Thread Steve Mynott
My experience with this book has been different. I thought it was superb -- a masterpiece of clarity. I don't think it's intended for absolute beginners to programming but it's great for people with prior programming experience. It seems to me unlikely there isn't a suitable absolute beginners bo

Re: [go-nuts] go run strips symbols

2022-03-14 Thread 'Sean Liao' via golang-nuts
go run -ldflags="-s=false" . -- 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 h

Re: [go-nuts] Re: New edition of the Go Programming Language comming soon ?

2022-03-14 Thread Tej Singh Rana
Then which book would you recommend? Which is up to date. On Mon, Mar 14, 2022 at 9:41 PM Rob Muhlestein wrote: > As an educator and mentor I've had very negative feedback about that book > from dozens, from 12 to 50 years old. I preordered 25 when it came out and > regret ever having anyone sta

Re: [go-nuts] Re: I just published : Iterator lib for Go: Library providing Map(), Filter(), Reduce() for Go

2022-03-14 Thread Serge Hulne
Cool! On Mon 14 Mar 2022 at 17:10, Rob Muhlestein wrote: > Here's one with 1.18 generics: https://github.com/rwxrob/fn (for fun). > > On Wednesday, August 25, 2021 at 10:17:59 AM UTC-4 Serge Hulne wrote: > >> https://github.com/serge-hulne/go_iter >> >> go get github.com/serge-hulne/go_iter >> >

[go-nuts] Re: New edition of the Go Programming Language comming soon ?

2022-03-14 Thread Rob Muhlestein
As an educator and mentor I've had very negative feedback about that book from dozens, from 12 to 50 years old. I preordered 25 when it came out and regret ever having anyone start Go with it. One brilliant kid (who went on to teach himself Assembly and C) nearly threw it at me. To date, I have

[go-nuts] go run strips symbols

2022-03-14 Thread Flaviu Tamas
I was surprised to see `go run` strip symbols: $ go run te.go ^Z $ file /tmp/go-build1047860170/b001/exe/te /tmp/go-build1047860170/b001/exe/te: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=jtPgFjGBDL3D33mt8Mdt/suXJMRvjR9uvH5P0jbkU/EMobwiLGZ_

[go-nuts] Re: I just published : Iterator lib for Go: Library providing Map(), Filter(), Reduce() for Go

2022-03-14 Thread Rob Muhlestein
Here's one with 1.18 generics: https://github.com/rwxrob/fn (for fun). On Wednesday, August 25, 2021 at 10:17:59 AM UTC-4 Serge Hulne wrote: > https://github.com/serge-hulne/go_iter > > go get github.com/serge-hulne/go_iter > > Currently working on the doc and examples. > -- You received this m

[go-nuts] Spam email

2022-03-14 Thread cick poo
some one can tell me, why sending an email usign Gomail is spam email Thanks -- 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.

[go-nuts] When will the official encoding/json package support parsing json5?

2022-03-14 Thread fliter
I need to add comments to json, but now json version does not support it -- 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.

[go-nuts] analog discovery 2 interface in GO

2022-03-14 Thread Daniel Jankins
Hi, Digilent supplies an sdk with support for c, cs, py, and vb. Does anyone know of a GO driver for Digilent analog discovery 2? Thank you -- DanJ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiv

[go-nuts] what does p stand for in Read(p []byte) (int, error)

2022-03-14 Thread محمد بومنذر
Hey, I got curious about the meaning of p, so I decided to ask. Thanks in advance. -- 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...@google

Re: [go-nuts] Race detector compatible ring buffer Part II

2022-03-14 Thread Gregg Townsend
Or the same demonstration without a very confusing overloaded identifier (sorry!): https://go.dev/play/p/ChOkAyV8imA?v=gotip On Friday, March 11, 2022 at 8:52:04 AM UTC-7 Gregg Townsend wrote: > Well, the suggested code passes the race detector, but shouldn't it also > be *correct*? > Two concu