[go-nuts] Re: Ignoring UTF-8 BOM when decoding JSON

2016-09-23 Thread Mark Richman
the Json RFC: > https://tools.ietf.org/html/rfc7159#section-8.1 > > On Friday, 23 September 2016 12:37:56 UTC+1, Mark Richman wrote: >> >> I have a JSON file which begins with the UTF-8 byte-order marker (BOM) >> 0xEF 0xBB 0xBF. >> >> This causes Decode() to fail

[go-nuts] Ignoring UTF-8 BOM when decoding JSON

2016-09-23 Thread Mark Richman
I have a JSON file which begins with the UTF-8 byte-order marker (BOM) 0xEF 0xBB 0xBF. This causes Decode() to fail with SyntaxError: SyntaxError invalid character 'ï' looking for beginning of value - Offset: 1 Is there any way to tell Decode() to ignore the BOM, or do I have to peek at the f

Re: [go-nuts] What 5 things does Go need in 2017?

2016-09-11 Thread Mark Richman
ichman.com mark [at] markrichman.com On Sunday, September 11, 2016 at 1:55:52 PM UTC-4, Ian Lance Taylor wrote: > > On Sun, Sep 11, 2016 at 6:43 AM, Mark Richman > wrote: > > > > I'm somewhat new to the community, and seek to understand its challenges > > bet

[go-nuts] What 5 things does Go need in 2017?

2016-09-11 Thread Mark Richman
I'm somewhat new to the community, and seek to understand its challenges better. I'm also looking for opportunities to contribute. To that end, what 5 things does Go need in 2017? For example: language features, tooling, advocacy, community, platform support, etc. -- You received this message

[go-nuts] Re: Performance Counters

2016-08-29 Thread Mark Richman
tegrating it datadog (you can use any > monitoring tool you wish though) > > https://www.datadoghq.com/blog/instrument-go-apps-expvar-datadog/ > > Hope that's what you were looking for. > > Thanks > > Diego > > > On Monday, August 29, 2016 at 12:34:26 AM

[go-nuts] Performance Counters

2016-08-28 Thread Mark Richman
I'm relatively new to Go, coming from a Windows/.NET background primarily. Does the Go runtime itself offer performance counters similar to what Windows makes available via perfmon? Specifically, I'm looking to capture realtime (not via a dump) metrics on heap usage, thread counts, GC collectio