Hi I am trying to make an game of Connect Five using Golang, I have
already made an player versus player mode so I am making the player versus
computer mode. At first I attempted to use if functions that detect when
they need to block the player but it can't win without placing blocks
Howdy folks, made this project to see if you can really use the stdlib to
write a web app server without using a framework and also give me a base
for future web apps that I feel like building with a set of generic docs.
It almost to the state where I can take it and actually start using it
You are right, using the -i option did the deed.
Thanks
John
On Tue, Aug 7, 2018 at 1:26 AM, Ian Lance Taylor wrote:
> On Mon, Aug 6, 2018 at 7:09 PM, John More wrote:
> > following the tutorial at https://golang.org/doc/code.html the go
> install I
> > am confused by the f
under the pkg directory.
Am I missing some compiler flags or an environment variable?
Appreciate the help
John
--
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
ng things up.
>
> On Sunday, 27 May 2018 11:37:48 UTC+8, John wrote:
>>
>> Well I guess I would just use the Go playground so it is easier.
>>
>>
>> On Saturday, May 26, 2018 at 8:27:59 PM UTC-7, John wrote:
>>>
>>> I tried to find the termin
Well I guess I would just use the Go playground so it is easier.
On Saturday, May 26, 2018 at 8:27:59 PM UTC-7, John wrote:
>
> I tried to find the terminal button but did not find it. And also I don't
> know but does the welcome screen say welcome using or something. Because I
>
t. You can,
> too. Persistence! There are lots of free, .pdf books online that teach
> you Go programming.
>
> (notice my liberal use of the word 'Go')
>
>
> On Wednesday, May 23, 2018 at 11:04:38 PM UTC-6, John wrote:
>>
>> Yes I did, what do you mean by top pa
So I'm going thru some of the Github issues, I'm wondering what will become
of these packages that are frozen in the stdlib:
- log/syslog (Implements logging facilities for *nix operating systems)
- net/smtp (Implements RFC 5321)
- net/rpc (Implements remote procedure calls for Go-Only
ot;go
> build yourfilename.go".
>
> Did you get Go installed?
>
> On Tuesday, May 22, 2018 at 10:41:07 PM UTC-6, John wrote:
>>
>> Is the visual code studio an compiler or a what, I tried it myself but I
>> isn't able to program.
>>
>>
>>
--
You
Is the visual code studio an compiler or a what, I tried it myself but I
isn't able to program.
--
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
Hello I am just a random person in this small planet of the creation that
happens to think that artificial intelligence will take over the world of
jobs in the future. With that point of I started to learn Java Script on
Khan Academy but didn't quite make that much progress. So I think that
at 11:06:46 AM UTC-4, John Fox wrote:
>
> Drilling down farther for the heck of it
>
> os/exec/exec.go
> func (c *Cmd) Output() ([]byte, error) { if c.Stdout != nil {
>
> return nil, errors.New("exec: Stdout already set")
>
> }
>
> var stdout b
After talking with a coworker it seems that "grep" returns a \n after its
output. That was the bugger keeping my initial efforts from working.
On Friday, May 18, 2018 at 11:06:46 AM UTC-4, John Fox wrote:
>
> Drilling down farther for the heck of it
>
> os/exec/exec.go
Drilling down farther for the heck of it
os/exec/exec.go
func (c *Cmd) Output() ([]byte, error) { if c.Stdout != nil {
return nil, errors.New("exec: Stdout already set")
}
var stdout bytes.Buffer
c.Stdout =
captureErr := c.Stderr == nil
if captureErr {
c.Stderr = {N: 32 << 10}
}
Thank you both for the quick responses. I looked in to
https://github.com/lovoo/ipmi_exporter yesterday and saw the TrimSpace used
as well, but I am still not sure what is adding the '\n' to the commands's
Output().
Tamas, I will have to look into thebuff IO, even if I am not using this for
Hello all. I am creating a custom exporter for
FreeNAS https://github.com/Maelos/freenas_exporter and am stuck on the
conversion of the string of bytes provided by the commands output to a
float. Here is my code, what I have tried, and my results:
What I have tried and results (commented so
would like to go crosstime to the U.S.
equivalent in "Probability Broach" by L. Neil Smith.
>
> MSB
>
> --
> No man is more pitiful than the one who looks to the shadows for warmth.
>
>
--
We all have skeletons in our closet.
Mine are so old, they have ost
On Wednesday, May 2, 2018 at 3:12:58 PM UTC-5, Manlio Perillo wrote:
> Yes, but many developers may need a "debug" mode or more options available
> to where to store the assets.
> Why should a "standard" tool or API be restricted to where to store assets?
>
I can kinda see where your going
thing like...
*go build -ldflags="-X main.Asset1=./SomeFileA main.Asset2=./SomeFileB"*Think
this would take a little more effort to integrate in but it's a interesting
concept thou.
On Monday, April 30, 2018 at 2:57:12 PM UTC-5, Ian Lance Taylor wrote:
>
> On Mon, Apr 30, 201
UTC-5, Ian Lance Taylor wrote:
>
> On Mon, Apr 30, 2018 at 7:03 AM, John Unland <unlan...@gmail.com
> > wrote:
> >
> > Hey everyone I've been mulling over this for a couple of days, thought I
> > would get some feed back on the possibility of shooting a proposal
Hey everyone I've been mulling over this for a couple of days, thought I
would get some feed back on the possibility of shooting a proposal to have
embedding static assets into the stdlib. From the looks of it this wouldn't
break Go 1 compatibility thou I'm wondering if it would be better to
Is any of the following set `HTTPS_PROXY', `HTTP_PROXY' ? The
DefaultTransport pays attention to those env vars to decide whether to
use a proxy or not. If that's not the case, what is the error that
you're getting ?
cheers,
-js
yyq2...@gmail.com writes:
> http.Get doesn't work with default
;root" || testuser == "someuser" {
fmt.Println("You are currently logged in as:" + testuser
+":")
}else {
fmt.Println("You need to be root or someuser to run this program")
os.Exit(1)
}
On Monday, Mar
Here is the the program
package main
import (
"fmt"
"log"
"os/user"
)
func main() {
username, err := user.Current()
if err != nil {
log.Fatal(err)
}
if username != "root" || username != "someuser" {
fmt.Println("You are
On Sunday, February 18, 2018 at 12:47:09 AM UTC-7, Krzysztof Kowalczyk
wrote:
>
> Even simpler:
>
> r, err := try os.Open("blah.text")
>
> Similar to Swift and what Rust used to have.
>
> "try foo()" means: if "foo()" returns an error, return the error to the
> caller.
> If function returns
>
> On Saturday, January 27, 2018 at 3:12:23 PM UTC+1, John Teasdale wrote:
>>
>> I'm having a problem building an ios framework that depends on a OpenGL
>> library.
>>
>> if this is the file:
>>
>> package gfx
>>
>>
>> import (
&g
hanging forever waiting to receive data
that will never arrive?
John
--
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
Hi guys!
I just thought about dropping this
here: https://github.com/1backend/1backend
It is a microservices/faas/serverless platform that (hopes to) enable you
to write applications in multiple languages as easy as doing it in one
language/monolithic application.
Take care
--
You received
uage to be compiled. Like using the English language to
explain the English language.
I don't want to discourage you, but it seems to me that you need to get
some basic compiler concepts down. For me, it was (and still is) a struggle.
--
I have a theory that it's impossible to prove anyt
ding in any jurisdiction.
If you want, you might do a search on "legal disclaimer" to get more ideas.
>
> Best,
>
> Norbert
>
>
--
I have a theory that it's impossible to prove anything, but I can't prove
it.
Maranatha! <><
John McKown
--
You r
Hi David.
https://en.wikipedia.org/wiki/Real-time_computing#Firm
Unfortunately I haven't seen much interest either.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of David Beberman
Sent: 2017 November 22
firm real-time would be a good
first step?
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of David Beberman
Sent: 2017 November 09, Thu 05:59
To: golang-nuts
Subject: [go-nuts] question about GO and realtime GC
You could also just the integers themselves as keys.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Chun Zhang
Sent: 2017 November 05, Sun 15:09
To: golang-nuts
Subject: [go-nuts] Converting uint to string
If you were to do that, yes. I guess it come to: How do you define “done” in
your program? Waitgroup defines it as when all the goroutines which it counted
are closed.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com
its his situation? The
current method and a new method with a slightly different name, ex: AddEOM?
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Alex Dvoretskiy
Sent: 2017 October 31, Tue 16:20
To: golang-n
Uniform fairness was my goal, not ordering the selection. A hard real-time
program would require the deterministic latency this would provide.
I agree that any program requiring an ordered selection probably is broken.
Perhaps another method could be used to detect such code.
John
ive as
long as the goroutine does, so it has to be at the very top.
Dynamic sounds like the better way. How do you think the run-time overhead
would compare to the current random method?
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-n
-robined? An individual select statement across all goroutines? A
select statement and goroutine pair? A select statement + function instance
pair?
An individual select in a goroutine.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts
)?
John
John Souvestre - New Orleans LA
--
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.
For more opti
Hi Dave.
Oops! I read it as "pad". My bad.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Dave Cheney
Sent: 2017 October 22, Sun 22:27
To: golang-nuts
Subject: Re: [go-nuts] will the foll
words, Go's atomics are full memory barriers/fences which guarantee sequential
consistency for any number of goroutines.
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Dave Cheney
Sent: 2017 O
you can see that I'm doing wrong? I'm running the
app using the 'go run main.go' command too.
My config is as follows:
{
"EMAIL_IDENTITY": "*",
"EMAIL_USERNAME": "*",
"EMAIL_PASSWORD": "*",
"EMAIL_HOST": "**
just a heads up regarding Ubuntu Bash Shell on Windows10: if you open the
Ubuntu Bash Shell and type the command: "*lsb_release -a" *you might
discover it is running Ubuntu 14.04 you might want to run an upgrade to
Ubuntu 16.04 which is now available. See the following for installation
No! no! please no! -- runs screaming from the room
On Wednesday, December 23, 2009 at 5:09:24 PM UTC, abiosoft wrote:
>
> I think there is need for ternary operator for neater codes.
>
> if a > b {
>c = a
> else {
> c = b
> }
>
> can easily be written as
>
> c = a > b ? a : b
>
> I think
"I'm sure it'll reveal an error in my thinking"
To avoid importing math I had changed my upper limit early on but I 'd
misread it.
The critical line in error should be changed to:
for j := 0; j < int(math.Pow(2.0, float64(len(set)))/2.0); j++ {
--
You received this message because you are
Thanks Michael,
I appreciate the information. Because I'm trying to learn Go, I'm more
interested in what should cause it to stop running part way through the
process without generating an error. It just seems bizarre to me but I'm
sure it'll reveal an error in my thinking.
--
You
Thanks Ian,
You are correct (although the post I submitted yesterday had the clobbering
lines incorrect - that was one of my experiments to see if rebuilding the
3D slice differently would overcome the problem). The code below is my
original.
Yes, the function works by building fresh
The top 3 lines of the function I posted yesterday were not correct but I
couldn't edit them. Unfortunately, in my experiments with the slice I had
changed them and didn't realize before posting. The correct version is:
package main
import (
"fmt"
"time")
func get_partitions(set
I've been implementing some Python code in Go to learn the language. In
Python this will generate a Set Partition. The Go equivalent follows.
The Go runs fine for list element sizes 2 and 3 (which means the recursion
is running properly). Also 4 but at 5 and above it generates the intial
You could mention to your colleagues that if they scroll down on the Tiobe page
they will find Go listed in their Hall of Fame as the "Programming Language of
the Year" for 2009 and 2016.
I second Ian's recommendation of Redmonk and IEEE - if you must reference any
such lists.
John
On Monday, October 9, 2017 at 12:13:43 PM UTC-6, snmed wrote:
>
> Hi Ian
>
> Thank you for your elaboration. I won't choose a language because of such
> index, but I'm trying to convince my colleagues of the benefits of go and
> therefore no matter how funny such indexes are, it isn't useful
Any easy way to make their defers run?
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Dave Cheney
Sent: 2017 October 05, Thu 23:36
To: golang-nuts
Subject: [go-nuts] Are all running
Thanks for the info.
I believe that Windows generally requires that user opt-in (set in the exe) for
DEP and ASLR. However, it seems that Go exe's for Windows don't have the DEP
opt-in set.
Worth opening some issues?
John
John Souvestre - New Orleans LA
-Original Message-
From
Does Go provide Data Execution Prevention (DEP) and Address space layout
randomization (ASLR)?
If not, any reasons why or any plans to implement?
Thanks,
John
John Souvestre - New Orleans LA
--
You received this message because you are subscribed to the Google Groups
If you want an anonymous defer function to have the same effect as a
separate function, ensure that they accept the same parameters. To continue
your example, this third version produces the same result as your first
version, but uses an anonymous defer function.
One of my reasons for moving to Go was to escape from frameworks which in
my opinion are a fashion statement not a technology. Slightly mangling the
saying about Regular expressions "I have a problem learning Go", "OK use a
framework", "Now i have two problems", "You can also use and ORM", "Ah
There are lots of variables, but even with a directly connected SSD drive (SATA
bus, in my case) I can pretty well top out the file i/o, just doing sequential
file reads, with about 3 – 4 CPUs. So increasing GOMAXPROCS (in this case)
doesn’t help.
John
John Souvestre - New Orleans LA
then it can be a
problem. An easy solution is to insert a call to runtime.Gosched() every so
often.
I believe that there is an ongoing discussion about a way for Go to plan ahead
and be able to handle even these cases, but it’s something for the future.
John
John Souvestre - New Orleans LA
as "passing
on a channel the address of a data structure or an object ...".
So I don't think that I'm alone in thinking that the focus of the proverb is to
use channels to share memory, rather than any other way. And I find this
somewhat wrong and certainly confusing. Am I really alo
P.S.
And if you want to reduce it to a one-liner, how about this?
Communicating is better than sharing sometimes, and vice versa.
John
John Souvestre - New Orleans LA
From: John Souvestre [mailto:j...@souvestre.com]
Sent: 2017 August 18, Fri 14:03
To: 'golang-nuts
irst might be a better approach.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Michael Jones
Sent: 2017 August 18, Fri 11:50
To: golang-nuts
Subject: [go-nuts] multiply and divide
Here is a minor musing from
You might want to consider using a sync.WaitGroup. It’s for such situations.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of bill.war...@talentinc.com
Sent: 2017 August 18, Fri 13:01
To: golang-nuts
Subject
us
hit)
--
If you look around the poker table & don't see an obvious sucker, it's you.
Maranatha! <><
John McKown
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails fro
I’m not sure exactly what you are trying to accomplish, but I suspect that this
article would help you.
https://blog.golang.org/go-concurrency-patterns-timing-out-and
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com
es in existence.
>
> Ian
>
>
--
Veni, Vidi, VISA: I came, I saw, I did a little shopping.
Maranatha! <><
John McKown
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this gr
Cognitive dissonance J
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Michael Jones
Sent: 2017 July 27, Thu 15:38
To: Rob Pike
Cc: Ecstatic Coder; golang-nuts
Subject: Re: [go-nuts] Re: No Allman-Style
.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of ecstatic.co...@gmail.com
Sent: 2017 July 27, Thu 03:33
To: golang-nuts
Cc: yout...@z505.com
Subject: Re: [go-nuts] Re: No Allman-Style, No go!
I don't know
Hi Jan.
Hmmm… Here’s what I see.
0001 0001
0010 0010
0011 0001
0100 0100
0101 0001
…
1100 0100
1101 0001
1110 0010
0001
That looks like the least significant set bit to me.
John
I believe that the result is the least significant bit, not byte.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Pablo Rozas Larraondo
Sent: 2017 July 23, Sun 07:51
To: golang-nuts
Subject: [go-nuts
Ian confirm this in
https://groups.google.com/forum/#!msg/golang-nuts/7EnEhM3U7B8/nKCZ17yAtZwJ
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Marvin Renich
Sent: 2017 July 10, Mon 12:09
To: golang-nuts
S
a newbie in programming, please help to
check my website http://www.scrappermin.com and give your feedback.
Thank you
Regards
John Kenedy
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving e
es because it was never refer in
any part of the code
3. the method.IsValid() returns true, it seem to be able to know it is a
correct method, but I am not sure the mechanism
Thank you for your help
On Wednesday, June 21, 2017 at 8:44:55 PM UTC+8, John Kenedy wrote:
>
> I read somewhere tha
Hi all,
Some background, we (CloudFoundry) noticed some weird behavior after
upgrading from go1.7.4 to go1.8.1. An http client that was polling 260
servers started showing more timeouts after the upgrade. After
investigating the issue we realized that the following pattern combined
with tls
Ian, thank you for the thoughtful reply. I realized that my last post might
have sounded like I was criticizing your post and that definitely wasn't
the intention. My apologies.
On Monday, April 24, 2017 at 10:48:25 AM UTC-4, Ian Davis wrote:
>
> With respect, you are tilting at windmills. You
I won't. I'm done with this thread.
On Mon, Apr 24, 2017 at 10:52 AM David Peacock
wrote:
> Please don't feed this troll.
>
> On Mon, Apr 24, 2017 at 10:42 AM, wrote:
>
>> One of the things that I learned early in life is to recognize B.S.
One of the things that I learned early in life is to recognize B.S. when I
see it. My B.S. flag went up first when I read where someone claimed that
"artifacts" are bad and detract from the readability of code. A compact and
well-defined artifact, like the semicolon, makes code *more* readable
y original language was FORTRAN
which was punched onto 80 column card stock. The above did waste cards, but
made program changes very easy. In today's world of "full screen" editors
which can reformat and even refactor code upon demand, it is a relic of a
bygone era.
--
"Irrigatio
If I can't format my programs the way I want, and I much prefer putting
operators at the beginning of continuation lines for reasons mentioned on
this page, and "Perl Best Practices", I simply won't use the language - at
least not without implementing a pre-processor. Automatic semicolon
implemented this with channels first. If you
need more throughput then I’d think mutexes next, and atomics as a last resort.
Perhaps using an array as a circular buffer with read and write accesses
synchronized by mutexes would be a good next step.
John
John Souvestre - New Orleans
m/#!topic/golang-nuts/8Tz76XQ02qs
I'm not a Windows person.
--
"Irrigation of the land with seawater desalinated by fusion power is
ancient. It's called 'rain'." -- Michael McClary, in alt.fusion
Maranatha! <><
John McKown
--
You received this message because you are subsc
blob/
> 4107202e2b8f814f4c63a61b043cfb36a3798de3/gcc/testsuite/gcc.
> c-torture/execute/pr58943.c
> [1]: https://play.golang.org/p/fGibPFuejQ
>
> --
>
> -j
>
>
--
"Irrigation of the land with seawater desalinated by fusion power is
ancient. It's called 'rain'." --
on documentation seems to be silent about $ go
> {get,build,install}, but it does mention installing some binaries. I
> consider it unsafe to use binary programs of non trusted origin.
>
> --
>
> -j
>
>
--
"Irrigation of the land with seawater desalinated by fusi
use epoll, but not sharing the memory. It sounds like it might be a
nice option for the future, however.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Nick Rio
Sent: 2017 March 06, Mon 02:26
To: golang-nuts
AFAIK, there is (still?) no out-of-the-box support for gzip.
See, for example, https://github.com/NYTimes/gziphandler
- johnk
> On Mar 4, 2017, at 5:11 PM, Kevin Conway wrote:
>
> I'm running a go 1.7 HTTP server. One of my clients is applying gzip to the
> POST
Changing just the mod operation to int32 made the whole program run about 2.5
times faster for me. Wow! I had no idea that there would be that much
difference.
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts
Or… Call runtime.Gosched(). I seem to recall benchmarking it a while back and
found that it was very efficient.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Jesper Louis Andersen
Sent: 2017 February 23
) int
Power(base, exponent int) int
Yes, I think that using named parameters (both calling and return) is good in
general. Yes, there are cases (such as Add) where it doesn’t help, but it also
doesn’t hurt.
John
John Souvestre - New Orleans LA
From: Thomas Bushnell, BSG
variables are new.
I’ve taken to never using := in any multiple variable situation to avoid the
problem. This is something that a ver or lint utility can check for now, too.
J
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts
Ø Again, named return values are fine and cause no problems, but naked returns
should never have been part of the language (at first they seem useful and
cool, but in the end, they cause more problems than they solve).
I agree. Perhaps in Go 2? J
John
John Souvestre - New Orleans
to use the
function, right?
So how can the disparity be justified? Oh, and the longer the function is the
more benefit there is to using them.
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf
padding or I'm doing something else
wrong. Either way, any clues would be appreciated.
Kind regards,
~ John
--
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
Agreed on the panic, and yours handles that better. (Although I hope it's
obvious that this was just a toy example and not the real thing!)
best,~ jf--John Feminella@jxxfhttp://jxf.me
On Sun, Feb 12, 2017 3:23 PM, Paul Borman bor...@google.com wrote:
Your code can panic. Take a look
Thanks. I wound up doing this with a recursive traversal:
https://play.golang.org/p/k9iy3sHOZ9
best,~ jf--John Feminella@jxxfhttp://jxf.me
On Sun, Feb 12, 2017 3:05 PM, Paul Borman bor...@google.com wrote:
Take a look at the reflect package, or if you know that the only internal maps
I don’t see any problem when I scan it with BitDefender. I’m running the
Internet Security 2016 version, build 20.0.29.1550. How about you?
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of xiiop...@gmail.com
Interesting! Thanks.
John
John Souvestre - New Orleans LA
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Jonas August
Sent: 2017 January 30, Mon 04:25
To: golang-nuts
Subject: Re: [go-nuts] Is Go too strict for nesting function callings
see described in all three of
these:
https://golang.org/cmd/go/
https://golang.org/doc/install/source
https://github.com/golang/go/wiki/InstallTroubleshooting
Is this a bug or am I missing something?
John
John Souvestre - New Orleans LA
--
You received this message becaus
olang-dev/DMiUkpS1uyQ
John
John Souvestre - New Orleans LA
--
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.co
> If finalizers were indeed totally useless, it would obviously be totally
useless to implement support for them.
If someone described a few cases where finalizers were useful perhaps it would
help understand them.
John
John Souvestre - New Orleans LA
--
You received this mess
amp; go build
The () prevents adding a space to the end of the environment variable.
John
John Souvestre - New Orleans LA
-Original Message-
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On
Behalf Of Jakob Borg
Sent: 2017 January 26, Thu 13:13
To: golang-nuts
Sub
Thanks Pierre, that looks like a simple and quite clean implementation.
Although it's easier to use an iota for the numbering, does that open up
any issues with keeping the documentation up to date? I know it's easier
to program and extend, but it's also less obvious when codes change.
Is there
101 - 200 of 270 matches
Mail list logo