Re: [go-nuts] Regarding time.NewTicker() and monotonic time

2020-06-10 Thread Curtis Paul
It sure does...thanks again :) On Wednesday, June 10, 2020 at 5:34:23 PM UTC-6, andrey mirtchovski wrote: > > > Cool, makes sense. Assuming NewTicker does return monotonic time. > > > > I wonder if there is a way to verify. > > just fmt.Println the value you receive on the ticker chan, you'll

Re: [go-nuts] Regarding time.NewTicker() and monotonic time

2020-06-10 Thread Curtis Paul
Cool, makes sense. Assuming NewTicker does return monotonic time. I wonder if there is a way to verify. On Wednesday, June 10, 2020 at 5:04:24 PM UTC-6, Ian Lance Taylor wrote: > > On Wed, Jun 10, 2020 at 3:48 PM Curtis Paul > wrote: > > > > It sounds like NewTicker wi

Re: [go-nuts] Regarding time.NewTicker() and monotonic time

2020-06-10 Thread Curtis Paul
time data that NewTicker returns (i.e. via it's > channel, etc...) includes monotonic time? > > it's right at the top: https://golang.org/pkg/time/ > > On Wed, Jun 10, 2020 at 4:48 PM Curtis Paul > wrote: > > > > It sounds like NewTicker will dynamical

[go-nuts] Regarding time.NewTicker() and monotonic time

2020-06-10 Thread Curtis Paul
It sounds like NewTicker will dynamically adjust to keep tick time "accurate". Does anyone know if the time data that NewTicker returns (i.e. via it's channel, etc...) includes monotonic time? And if so is the definition of NewTicker referring to adjusting real time clock or monotonic clock? I

[go-nuts] Re: Enumerate query result fields using "github.com/go-ole/go-ole/oleutil"

2019-02-12 Thread Curtis Paul
This does what I need... oleutil.ForEach() On Sunday, February 10, 2019 at 2:09:39 PM UTC-7, Curtis Paul wrote: > > Any ideas on how I can get a list of fields (not values) after executing > something like this? > > resultRaw, _ := oleutil.CallMethod(service, "ExecQu

Re: [go-nuts] Enumerate query result fields using "github.com/go-ole/go-ole/oleutil"

2019-02-12 Thread Curtis Paul
Using this "github.com/go-ole/go-ole" "github.com/go-ole/go-ole/oleutil" how does the sql package fit in? On Monday, February 11, 2019 at 1:00:29 AM UTC-7, Lutz Horn wrote: > > > Any ideas on how I can get a list of fields (not values) after executing > > something like this? > > Try these: >

[go-nuts] Enumerate query result fields using "github.com/go-ole/go-ole/oleutil"

2019-02-10 Thread Curtis Paul
Any ideas on how I can get a list of fields (not values) after executing something like this? resultRaw, _ := oleutil.CallMethod(service, "ExecQuery", "SELECT * FROM Win32_ComputerSystem") result := resultRaw.ToIDispatch() defer result.Release() Basically I just want a list of the field names f

[go-nuts] Re: Gobot Beaglebone Black GPIO question...

2018-02-11 Thread Curtis Paul
I'm at a loss... https://godoc.org/gobot.io/x/gobot#Eventer I think the first thing is that I'm not sure I understand how to diagnose this codehow to validate it's doing what I think it may or may not be doing. -- You received this message because you are subscribed to the Google Groups

[go-nuts] Re: Gobot Beaglebone Black GPIO question...

2018-02-11 Thread Curtis Paul
I put a fmt.Println() at the beginning and end of that work function and they both print, so it appears they are only running once...then it's no longer waiting for input. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this

[go-nuts] Re: Gobot Beaglebone Black GPIO question...

2018-02-11 Thread Curtis Paul
> > Not sure > It's fairly common demo code that more then a few people have used. Maybe it's wrong... > https://godoc.org/gobot.io/x/gobot/drivers/gpio#ButtonDriver > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fro

[go-nuts] Re: Cross-compiling error for runtime package in go1.9.4 (works in go1.9.2)

2018-02-11 Thread Curtis Paul
Did you try with CGO_ENABLED=1 Also, maybe CC= needs a valuelike gcc. -- 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

[go-nuts] Re: Cross-compiling error for runtime package in go1.9.4 (works in go1.9.2)

2018-02-11 Thread Curtis Paul
Did you try with CGO_ENABLED=1 Also, maybe CC= needs a valuelike gcc. On Sunday, February 11, 2018 at 9:45:31 PM UTC-7, Matt R. wrote: > > I'm building a package that depends on Go's runtime package. Using the > following compilation flags: > > CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 > > I g

[go-nuts] Gobot Beaglebone Black GPIO question...

2018-02-11 Thread Curtis Paul
Anybody out there have any experience with BeagleBone Black and gobot? I need some advice on how I could go about troubleshooting this...or if you know what the issue is, etc... I have a very simple Gobot/GPIO Button circuit. It should show output when button is pushed and then again when relea

[go-nuts] gRPC SSL certs...need help generating some...

2018-02-10 Thread Curtis Paul
I have working gRPC code where a client is sending data to a server. Works fine when not using TLS. I used this example to generate keys using openssl. My golang code for client and server TLS communication is essentially the same as in this example. I used the example's openssl method to gener

[go-nuts] Regarding os.Stdout

2017-02-26 Thread Curtis Paul
I have the following code. How might I parse the os.Stdout data into a map? Basically I want to read audio interfaces and put them in some sort of data structure. package main import ( "github.com/gordonklaus/portaudio" "os" "text/template" ) var tmpl = template.Must(template.New("").Parse( `