Re: [go-nuts] go process memory limits and gurantees

2016-08-08 Thread Aram Hăvărneanu
On Sun, Aug 7, 2016 at 4:37 AM, gaurav wrote: > Please let me know if there is something I have missed to read regarding > this or if there is already a way to achieve this? There is not. -- Aram Hăvărneanu -- You received this message because you are subscribed to

Re: [go-nuts] Re: Server TCP

2016-08-08 Thread Nathan Kitchen
It's probably already clear from Freddy's response, but...try substituting "packet" for "package". Both words can be translated into Spanish as "paquete", so a native Spanish speaker might easily swap them. -- Nathan On Thu, Aug 4, 2016 at 3:18 PM, wrote: > The

Re: [go-nuts] Re: [ANN] Pixiecore, simple all-in-one netbooting

2016-08-08 Thread Jim Dennis
David, Thanks for the fast response. I have, since writing that, confirmed that I can boot at least one of these systems (Lenovo ThinkPad T410) using pixiecore (running on my Mac laptop) when both systems are connected to my home router (which, of course, provides DHCP). So that works.

[go-nuts] Go 1.7 Release Candidate 6 is released

2016-08-08 Thread Chris Broadfoot
Hello gophers, We have just released go1.7rc6, a release candidate for Go 1.7. Some say that it's the best one yet. It is cut from release-branch.go1.7 at the revision tagged go1.7rc6. Please help us by testing your Go programs with the release, and report any problems using the issue tracker:

[go-nuts] Re: How to create reusable HTML components using default html/template package

2016-08-08 Thread Paulo Janeiro
I'm using html/template already. I'm able to parse my templates dynamically but my approach doesn't seems to be the best to handle dozens of different templates that can be used inside N different combinations, especially because I want to cache them and not to have to parse those combination

Re: [go-nuts] Re: [ANN] Pixiecore, simple all-in-one netbooting

2016-08-08 Thread David Anderson
On Sun, Aug 7, 2016 at 5:11 PM, wrote: > > David, > > I'm confused by one part of this ... > > On Monday, September 14, 2015 at 8:18:23 PM UTC-7, David Anderson wrote: > > ... > > Of note is that Pixiecore does *not* require replacing or changing your >> existing DHCP

Re: [go-nuts] Why is reflect.ValueOf(nil map).Interface() != nil?

2016-08-08 Thread Steven Blenkinsop
Perhaps for clarity, the trip through reflect is a red herring. All you need is to put the map in an interface: package main > > import ( > "fmt" > ) > > func main() { > var m map[string]interface{} > if m != nil { > panic("m != nil") > } > var i interface{} = m > if i == nil { > // I expect

Re: [go-nuts] Re: How to create reusable HTML components using default html/template package

2016-08-08 Thread Marvin Renich
* Paulo Janeiro [160808 11:14]: > I understand what your point, but I'm just trying to see if this is > something easy to do by myself or if I should start looking into a framework > Nevertheless, I'm using Phoenixframework (Elixir). > Here we could define a layout

Re: [go-nuts] net/http and static binaries

2016-08-08 Thread Seb Binet
On Mon, Aug 8, 2016 at 5:12 PM, Ian Lance Taylor wrote: > On Sun, Aug 7, 2016 at 7:08 PM, Amit Saha wrote: > > > > From an old thread [1], I learned that CGO_ENABLED=0 will create static > > binaries for programs using the net/http package. I still see

[go-nuts] Re: How to create reusable HTML components using default html/template package

2016-08-08 Thread Paulo Janeiro
I understand what your point, but I'm just trying to see if this is something easy to do by myself or if I should start looking into a framework Nevertheless, I'm using Phoenixframework (Elixir). Here we could define a layout that is made of componentes (pre-built templates). Data is passed when

Re: [go-nuts] net/http and static binaries

2016-08-08 Thread Ian Lance Taylor
On Sun, Aug 7, 2016 at 7:08 PM, Amit Saha wrote: > > From an old thread [1], I learned that CGO_ENABLED=0 will create static > binaries for programs using the net/http package. I still see the same > behavior as of go version go1.6.3 linux/amd64. Does this mean this is the

[go-nuts] Re: IDE for GOLANG

2016-08-08 Thread luke
http://goclipse.github.io/ kritika...@indiamart.com於 2016年8月2日星期二 UTC+8下午8時25分21秒寫道: > > Hi, > is there IDE for creating a web service in GOLANG by using Revel framework > which follows MVC architecture. > > i am using Ubuntu .. > > > > *Watch our latest TV Commercial #IndiaKiKhoj >

[go-nuts] Re: [ANN] Pixiecore, simple all-in-one netbooting

2016-08-08 Thread jimd
David, I'm confused by one part of this ... On Monday, September 14, 2015 at 8:18:23 PM UTC-7, David Anderson wrote: ... Of note is that Pixiecore does *not* require replacing or changing your > existing DHCP server. Instead, Pixiecore uses a feature of the PXE spec > (very poorly named

[go-nuts] net/http and static binaries

2016-08-08 Thread Amit Saha
Hi all, >From an old thread [1], I learned that CGO_ENABLED=0 will create static binaries for programs using the net/http package. I still see the same behavior as of go version go1.6.3 linux/amd64. Does this mean this is the only way to get statically linked binaries for programs using

[go-nuts] Call for Participation - Communicating Process Architectures 2016

2016-08-08 Thread Kevin Chalmers
| | |Communicating Process Architectures (CPA) 2016| | | | The 38th. WoTUG

[go-nuts] Re: Go 1.7 Release Candidate 5 is released

2016-08-08 Thread lobeun
rc5 includes three fixes: two to the `go doc` command, and one fix for time for macOS Sierra Beta 4. week's time 在 2016年8月3日星期三 UTC+8上午8:50:34,Chris Broadfoot写道: > > Hello gophers, > > We have just released go1.7rc5, a release candidate for Go 1.7. > It is cut from release-branch.go1.7 at the

[go-nuts] Shouldn't net/http Client.Do() return EOF when a connection is closed?

2016-08-08 Thread Bruno Albuquerque
I am seeing a weird issue when using Client.Do() to do a request. Here is the scenario: go version go1.7rc5 linux/amd64 The server I am sending the request to, receives it and, for this specific request, closes the connection immediately without sending any replies. To detect this, I wanted to

Re: [go-nuts] Is this an acceptable way to handle errors

2016-08-08 Thread GoNutter
Thanks Lance. On Saturday, August 6, 2016 at 4:43:02 PM UTC+1, Ian Lance Taylor wrote: > > On Sat, Aug 6, 2016 at 5:50 AM, GoNutter > wrote: > > > > I have a number of cases where I have to handle typed errors. I have > been > > doing this previoiusly > > > > err

[go-nuts] Re: How to create reusable HTML components using default html/template package

2016-08-08 Thread Simon Ritchie
> Specifically, is there a recommended pattern on how to use a component inside another component inside another component passing data to each one in a transparent way? That's not awfully specific. I'm guessing that you are thinking of a particular framework that you have used with another