[go-nuts] Starting a Local Go community in Tunisia

2017-09-23 Thread Rafik Naccache
Hey guys, Rafik here from Tunisia. I generally love emergent technologies and really enjoy writing all of my system-ish cloud-ish software in Go. (for my AI stuff, I still am using Clojure but that's another story). I want to start a local Go community in Tunis. We'll be hosting events,

Re: [go-nuts] Going crazy on golang maps

2017-09-23 Thread Jakob Borg
On 23 Sep 2017, at 15:27, Chris Polderman wrote: > > func (hue *HueBridge) pollSensors(sensors *sensors.Sensors) { >var previousSensorInfo map[int]sensors.Sensor = > make(map[int]sensors.Sensor) In your function declaration, you're declaring a parameter "sensors"

Re: [go-nuts] Going crazy on golang maps

2017-09-23 Thread Jan Mercl
On Sat, Sep 23, 2017 at 4:37 PM Chris Polderman wrote: > The full code reads: The full code is not full code. It lacks eg. the import declarations. Please provide a link to the really full code at a specific commit for others to reproduce. -- -j -- You received

[go-nuts] Going crazy on golang maps

2017-09-23 Thread Chris Polderman
Hello! I am working on a home automation project in Go. One of the components is polling all the sensors in a HUE bridge (this is some LED lighting system with smart lamps and buttons). I am wanting to make a map, keyed on int to "Sensor" objects. These objects are located in a sensors

Re: [go-nuts] Best practices for internal repository management

2017-09-23 Thread Steven Hartland
We had issues with ensuring that cross dependencies worked correctly when working with lots of independent repos, so we currently use a single repo. The main issue we see now is all go dependency managers we’ve tried have problems. We currently use glide which seems to be the best of the bunch.

Re: [go-nuts] Re: What will happen if the go and cgo's malloc return overlapped ?

2017-09-23 Thread Wojciech S. Czarnecki
On Fri, 22 Sep 2017 16:58:53 -0700 (PDT) Remus Clearwater wrote: > So, if the reservation scheme breaks down Then OS will not even boot. https://www.google.com/search?q=OS+memory+management+lecture -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received

Re: [go-nuts] Magefiles - a makefile replacement using go

2017-09-23 Thread Henrik Johansson
I just have a case where I was wondering if a Makefile could be the answer. Ill try mage instead and see what it can do! lör 23 sep. 2017 kl 07:11 skrev snmed : > Hi Nate > > Awesome, i never liked make files and fortunately i could use npm scripts > to build front and