[go-nuts] Why does Golang disallow compare two interface values if their interface types are not in the superset/subset relation?

2016-07-30 Thread T L
Is it essential? -- 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.com. For more options, visit

Re: [go-nuts] Re: ANNOUNCE: gini

2016-07-30 Thread Justin Israel
On Sun, 31 Jul 2016, 1:46 PM Scott Cotton wrote: > Neat, maybe a bit like sat4j does in eclipse dependency management? > Probably similar I am sure. For standard distro package management systems I think they have to be concerned with the idea of installing new or upgrading

[go-nuts] Re: ANNOUNCE: gini

2016-07-30 Thread Scott Cotton
Neat, maybe a bit like sat4j does in eclipse dependency management? For generating the cause of a failure, do you mean "failed assumptions" in picosat speak or unsat core or some other feature (proofs, etc)? Scott 2016-07-30 0:01 GMT+02:00 Justin Israel : > > > On Sat,

Re: [go-nuts] create dmg

2016-07-30 Thread Anmol Sethi
And check this out: http://ramezanpour.net/post/2014/05/12/how-to-create-installation-dmg-files-in-os-x/ > On Jul 30, 2016, at 7:00 PM, Joe Blue wrote: > > recommended way for a gopher to make a dmg, so my users can install my golang > app ? > > i searched for a pure

Re: [go-nuts] create dmg

2016-07-30 Thread Anmol Sethi
I think you mean you want an .app they can drop in their /Applications folder. A dmg is just a disk image. You can very easily create that: https://support.apple.com/kb/PH22247?locale=en_US See https://mathiasbynens.be/notes/shell-script-mac-apps for creating a custom .app. I know it says

Re: [go-nuts] create dmg

2016-07-30 Thread Raffaele Sena
This uses some python modules, that should be ok if you are building your installer on a mac: http://dmgbuild.readthedocs.io/en/latest/ On Sat, Jul 30, 2016 at 4:00 PM, Joe Blue wrote: > recommended way for a gopher to make a dmg, so my users can install my > golang app ?

[go-nuts] create dmg

2016-07-30 Thread Joe Blue
recommended way for a gopher to make a dmg, so my users can install my golang app ? i searched for a pure golang solution, but go nada. thanks joe -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

Re: [go-nuts] Using golang/cmd/pprof/internal in a Go program, and/or UNIX socket support in `go tool pprof`?

2016-07-30 Thread Brad Fitzpatrick
Who is your target audience for this? You seem to know how to do it (socat + go tool pprof), which suggests you want end users to do this or something? On Fri, Jul 29, 2016 at 3:43 PM, nathan.leclaire via golang-nuts < golang-nuts@googlegroups.com> wrote: > Hi all, > > I am interested in doing

[go-nuts] Re: [ANN] [HOWTO] go-github-release: release, package, deploy for windows, rpm, deb with ease!

2016-07-30 Thread mhhcbon
Hi, quick update to announce several updates. * simplified appveyor / travis ci scripts. At the cost of some assumptions. If you are into a specific case you can still roll out your own scripts. * Added support to create RPM repositories hosted on gh-pages So you can provide a command like

[go-nuts] Re: html/template function not defined

2016-07-30 Thread alex . breadman
Since, I have made 2 more float-to-int functions and they work fine. To solve this I'm having to pre-marshal my json before I execute the template. Please if anyone knows why it doesn't like JSON encoding functions in the templates, let me know On Saturday, July 30, 2016 at 4:32:12 AM

Re: [go-nuts] Go test to run over sub packages?

2016-07-30 Thread appleboy . tw
Hi all, I write the coverage script on golang-testing repo ,anybody can try it out. Dave Cheney於 2016年6月23日星期四 UTC+8上午7時28分23秒寫道: > > Permitting symlinks inside GOPATH would introduce all the problems of one > source package having multiple locations

[go-nuts] Re: howto kill pipe process using gopkg.in/pipe.v2

2016-07-30 Thread Nathan Kerr
State.Kill works, but it is not immediately obvious how to use it or how to discover that it can be used. I wrote down my process to discover this, starting from your example and ending with a working prototype on my site: https://pocketgophers.com/expanding-convenience-functions/. Hope this

[go-nuts] Re: Server response time hike.

2016-07-30 Thread Sokolov Yura
Couldn't it be Keep-Alive connections? What if you add "Connection: close" header to every server response? Or call SetKeepAlivesEnabled on server https://golang.org/pkg/net/http/#Server.SetKeepAlivesEnabled пятница, 29 июля 2016 г., 17:22:51 UTC+3 пользователь Manideep Attanti написал: > > The

Re: [go-nuts] Compiling C files conditionally

2016-07-30 Thread andrey mirtchovski
there are a few problems with your project as presented: - your .c file has a (mistyped) directive to not build on linux on line 1: "/ build !linux". this needs to go - your a_non_linux.go file is not idiomatic. it makes much more sense to specialize the linux code in a separate file and leave