[go-nuts] Re: Homoiconic metaprogramming in Go

2018-12-17 Thread Jason E. Aten
The Go compiler is written in Go, and is open source. You can do almost anything you want with it (it has a BSD style license), as long as you take the job fully yourself. If you want to interpose a Lisp, I've written a lexically scoped Lisp for Go (https://github.com/glycerine/zygomys) and

Re: [go-nuts] symbol lookup error: /root/llvm-install/lib64/libgo.so.8svn: undefined symbol: __get_cpuid_count after "make install"

2018-12-17 Thread Benedikt T
yeah, debug info is still in there... llvm-ar: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c2ad3e2441ef2e4afd449627cc6a22d4b256f450, with debug_info, not stripped Is this supposed

Re: [go-nuts] symbol lookup error: /root/llvm-install/lib64/libgo.so.8svn: undefined symbol: __get_cpuid_count after "make install"

2018-12-17 Thread Benedikt T
Hi! it's kind of odd. Using gcc for compilation leads to this error during compilation: tools/lto/CMakeFiles/LTO.dir/build.make:278: recipe for target 'lib/libLTO.so.8svn' failed make[2]: *** [lib/libLTO.so.8svn] Error 1 make[2]: *** Deleting file 'lib/libLTO.so.8svn'

Re: [go-nuts] Declaration of interfaces

2018-12-17 Thread Victor Giordano
ahh so, there is nothing more to talk about, thanks for pointing that out. Maybe in another time discuss if the concept interface of typescript is kind of barrier-breaker as it includes fields as possible member declarations, but in another time and place :D El lun., 17 dic. 2018 a las 20:12,

Re: [go-nuts] Declaration of interfaces

2018-12-17 Thread Ian Lance Taylor
On Mon, Dec 17, 2018 at 3:08 PM Victor Giordano wrote: > > This is not legal statement right? > > > var a interface{id int} // let's call it "anonymous interface" > > > if we employ 'interface{}' to refer to empty interfaces it may has sense to > think the above declaration as an "anonymous

Re: [go-nuts] Re: bin packing or knapsack

2018-12-17 Thread Vasiliy Tolstov
Thanks, Jason! вс, 16 дек. 2018 г. в 06:00, Jason E. Aten : > > search for branch-and-bound; e.g. > https://www.geeksforgeeks.org/0-1-knapsack-using-branch-and-bound/ > > On Saturday, December 15, 2018 at 5:01:51 PM UTC-6, Vasiliy Tolstov wrote: >> >> Hi! i have task that have some resource

Re: [go-nuts] Is it possible to go test files priority

2018-12-17 Thread Justin Israel
On Tue, Dec 18, 2018, 8:01 AM wrote: > Hi all, Is it possible to set priority to go test files. As per my > observation go tool runs test cases in alphabetical order of file name. Now > I want to run files with custom priority. Is it possible? > I don't have a direct answer but I feel if it

[go-nuts] Is it possible to go test files priority

2018-12-17 Thread durgasomeswararao532
Hi all, Is it possible to set priority to go test files. As per my observation go tool runs test cases in alphabetical order of file name. Now I want to run files with custom priority. Is it possible? -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] Re: Go 1.11.4 and Go 1.10.7 are released

2018-12-17 Thread mark
I think we're just waiting on this PR to get merged: https://github.com/docker-library/official-images/pull/5197 And then the official docker images should start building automatically. On Monday, December 17, 2018 at 1:27:01 PM UTC-5, Elliott Polk wrote: > > Will there be a Docker image update

[go-nuts] Re: Go 1.11.4 and Go 1.10.7 are released

2018-12-17 Thread Elliott Polk
Will there be a Docker image update for go1.11.4? I know that .4 was a quick patch, just wanted to make sure the Docker image is on the deployment path as well. On Friday, December 14, 2018 at 8:49:20 PM UTC-5, Filippo Valsorda wrote: > > Hello gophers, > > We have just released Go versions

[go-nuts] oauth2 for openAPI

2018-12-17 Thread afriyie . abraham
Hi, am new to go language and need help or ideas as how i can write a server oauth2 to have a client authenticated.. If there is an already code or if i have to write my own then please help with the guidlines of how write it The client have to send a POST request and get authenticated and then

Re: [go-nuts] Homoiconic metaprogramming in Go

2018-12-17 Thread howardcshaw
I was not responding to it being or not being metaprogramming, just the implication that go generate commands were provided some sort of special access. They do not have any access to parsed syntax trees - they can themselves parse source files and thus create syntax trees. On re-reading, I

Re: [go-nuts] symbol lookup error: /root/llvm-install/lib64/libgo.so.8svn: undefined symbol: __get_cpuid_count after "make install"

2018-12-17 Thread 'Than McIntosh' via golang-nuts
Thanks for reporting this problem. As Ian said, one of the go library sources includes , and then expects to see an inline definition of that routine. I poked around a little and it looks as though versions of clang prior to 5.0 do provide a definition of , but they don't define

[go-nuts] [ANN] go-vfs: testing of code that uses os and ioutil made easy

2018-12-17 Thread twpayne
Link: github.com/twpayne/go-vfs Package vfs provides an abstraction of the os and ioutil packages that is easy to test. Key features: - File system abstraction layer for commonly-used os and ioutil functions from the standard library. - Powerful testing framework, vfst