Evan Shaw

Auckland, New Zealand

iron.io

Age: 27

I'm the author of Go in Action.

I have a history in embedded software with C and C++, but now work on web services at Iron.io using Go on the server side and every language possible on the client side.

I love programming languages and can find something to like just about anywhere. I wish I had more time to spend learning about compilers.

Mar
10
awarded Autobiographer
Dec
17
comment Making Go compiler use int64 by default
Why not just use int64 instead of int?
Dec
5
comment Strip out C-style comments from a []byte
I don't believe there's any 100% correct way to do it with only a regular expression. But if I'm wrong, I'm interested in the solution.
Nov
11
awarded Nice Answer
Oct
28
comment Upgrade a connection to TLS in Go
I agree with Stephen: the client sounds suspect. What does the client look like?
Oct
24
answered Why does OpenGL's glDrawArrays() fail with GL_INVALID_OPERATION under Core Profile 3.2, but not 3.3 or 4.2?
Oct
14
answered Passing a Go map that is in a structure
Oct
11
answered type noRows struct{} var _ Result = noRows{}
Oct
11
revised Sharing variables between two source files in the same package
added 2 characters in body
Oct
11
answered Sharing variables between two source files in the same package
Oct
10
comment What is the fastest way to generate a long random string in Go?
True, the question didn't specify whether the strings have to be cryptographically random. If they don't, your solution's probably better.
Oct
9
answered go language license
Oct
7
revised What is the fastest way to generate a long random string in Go?
Admit bias
Oct
7
answered What is the fastest way to generate a long random string in Go?
Oct
2
comment Strip out C-style comments from a []byte
@jnml You're right (although I might grumble about the lack of a newline at the end of the string). I'll leave that as an exercise to the asker if he/she's interested.
Oct
2
answered Strip out C-style comments from a []byte
Sep
29
comment Put the last 8 bits of a big.Int into a uint8
Although this will work in practice, the the result of Int64() is documented to be undefined when the value won't fit in an int64. A more correct (though more inefficient) way of doing it would be to use the Bytes() method.
Sep
27
awarded Autobiographer
Sep
27
awarded Autobiographer
Sep
10
awarded Nice Answer
1 2 3 4 5