Search Discussions
-
Hi, Recently we need compare two lists of phone numbers and show the numbers that have in A that don't have in B. I made some scripts (go and php) and friends others (python and nodejs) to try get ...
Paulo Coutinho
Oct 15, 2015 at 2:28 am
Oct 22, 2015 at 2:05 pm -
Hi, all. It seems that the more CPU cores you have, the more CPU time is spent in the garbage collector. This is with go1.5 and 1.5.1. I have a programme where I have one goroutine pinned to an OS ...
Richard Gooch
Oct 2, 2015 at 5:45 am
Oct 15, 2015 at 8:20 pm -
Any thoughts about this? https://docs.google.com/presentation/d/1LO_WI3N-3p2Wp9PDWyv5B6EGFZ8XTOTNJ7Hd40WOUHo/mobilepresent -- You received this message because you are subscribed to the Google Groups ...
Nicolas Grilly
Oct 16, 2015 at 5:16 pm
Oct 19, 2015 at 8:47 am -
Things next gen should have. Ability to dynamic load modules Ability to compile go from in-memory strings and generate in-memory objects that can be used. (C# system.reflection.emit) A DataSet ...
J Decker
Oct 1, 2015 at 1:12 am
Oct 7, 2015 at 10:14 pm -
I want remove the last character of a string and append it to the front This is my current code, is there a better way? message = string(append([]byte{message[len(message)-1]}, ...
Fnbuchanan
Oct 23, 2015 at 5:51 pm
Oct 24, 2015 at 6:26 pm -
Hi, all Please see: https://gist.github.com/hyper-carrot/85d082e83b35122ca53e . I go run chan_hotrepl_go1.4.go under go1.4, it (one goroutine) can receive the elements from the getChan()'s result ...
Robert Hao
Oct 8, 2015 at 9:24 am
Oct 9, 2015 at 2:36 am -
Hello there, I searched previous topics about error handling but I can't see an exactly similar description in recent discussions. A lot of people complain about go's error handling : it's too ...
Xavier Lucas
Oct 28, 2015 at 2:24 pm
Oct 30, 2015 at 2:18 pm -
Anyone know of a golang implementation of brotli? https://github.com/google/brotli/ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe ...
Marco Peereboom
Oct 9, 2015 at 2:38 pm
Oct 29, 2015 at 4:08 am -
Hello folks, I have a questions about slices of pointer: I have slice of pointer of structs and I want to cut off an element using append. The element(s) I want to cut off are no longer needed and ...
Ahmed-a93
Oct 18, 2015 at 7:03 pm
Oct 19, 2015 at 6:24 pm -
Refer to samples/class folder of swigwin-3.0.7 I emitted following commands in windows (with go 1.4.3) swig.exe -go -intgosize 64 -c++ example.i //outputs the files... go tool 6g example.go go tool ...
Mnwvsx
Oct 13, 2015 at 4:37 pm
Oct 16, 2015 at 4:35 am -
Could anyone tell where the idea of Go's interface design originates form (or where this design was used first)? In particular the idea that any object conforming the interface is assignable to a ...
Michaelcochez
Oct 11, 2015 at 12:38 pm
Oct 13, 2015 at 2:39 pm -
Hi. I was playing with some code designed to embed an external file in a Go assembler source (and compare performance/limitations with go-bindata) and I found a possible missing optimization by the ...
Manlio Perillo
Oct 24, 2015 at 5:53 pm
Oct 28, 2015 at 3:27 pm -
The use of go generate as explained here http://blog.golang.org/generate is is really neat. Are there other examples of using the same approach in "real life" projects? Thanks, -- You received this ...
DrGo
Oct 25, 2015 at 9:17 pm
Oct 27, 2015 at 5:55 pm -
I have a question resp. remarks about some features of defer-panic-go. I am aware of the general behavior of defer-panic-recover as far as the control flow is concerned (stack-based behavior of ...
Martin Steffen
Oct 21, 2015 at 5:19 pm
Oct 24, 2015 at 9:31 pm -
hi there, I was wondering if anyone managed to cross-compile and run a go executable on a small factor PC/104 machine? the one I have my meaty hands on is an emdebian sse2-free 32b machine with an ...
Sebastien Binet
Oct 15, 2015 at 8:15 am
Oct 21, 2015 at 7:58 am -
So, I have the following pattern: type UserVisibleIface interface { ... } type basicUVI struct { ... } type extraFeatureUVI struct { basicUVI ... } wherein basicUVI and extraFeatureUVI both receive ...
Dave Trombley
Oct 1, 2015 at 5:16 pm
Oct 1, 2015 at 10:26 pm -
I don't remember having seen this idea proposed before, yet it feels simple enough that somebody must have thought of it. So, here it goes: Could we allow the _test.go files to override a package ...
Sugu Sougoumarane
Oct 4, 2015 at 12:39 am
Oct 6, 2015 at 2:21 pm -
sample snippet: lines := "animal: tiger(tigername)" how do i extract tigername to a seperate string? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group ...
Laxman Ece
Oct 29, 2015 at 1:49 pm
Oct 30, 2015 at 9:08 am -
I have a service that execs several shirt-lived processes per second. I'm tracking the time it takes to get the process started, and I'm seeing it slowly take longer, as the service lives on ...
Blake Caldwell
Oct 25, 2015 at 1:41 am
Oct 28, 2015 at 1:17 pm -
I was using sync.Pool and running some code in production for 5 months. Just recently I've got a panic (first time ever): panic: runtime error: invalid memory address or nil pointer dereference ...
Kane Kim
Oct 27, 2015 at 3:29 pm
Oct 29, 2015 at 5:52 pm -
Hi. I'm writing a library that uses gob on top of an io.ReadWriter, which will be a TCP-like connection in most cases. Can you suggest me which errors are common and should be treated in a particular ...
Roberto Zanotto
Oct 6, 2015 at 4:39 pm
Oct 7, 2015 at 4:23 pm -
Hello, anyone tried to port/write go on Arduino platform? curious of the speed/flexibility/limitations. thank you -- You received this message because you are subscribed to the Google Groups ...
Andrew Z
Oct 20, 2015 at 1:15 am
Nov 24, 2015 at 6:03 pm -
How these can be achieved using *Go*? How *Fault Tolerance, Distributed Computing, No Downtime Update and Reliability (in an Erlangish manner)* can be implemented and deployed using Go? What tools ...
Dc0d
Oct 21, 2015 at 7:56 am
Oct 24, 2015 at 10:11 pm -
I am trying to create a POST Policy and sign it using amazon access key, but I am not able to create the policy correctly. The steps for creating the signed policy are : Step 1. Create a policy using ...
Ravi240291
Oct 15, 2015 at 1:54 pm
Oct 16, 2015 at 7:56 pm -
visualfc's LiteIDE repository has all the appearances of having been abandoned. Many people really like LiteIDE (including me). I have therefore taken the liberty of creating the LitIDE organization ...
Russel Winder
Oct 3, 2015 at 9:55 am
Oct 15, 2015 at 3:44 pm -
Will a pointer to an object in array be treated as that to individual object? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from ...
Peter RK
Oct 9, 2015 at 2:02 pm
Oct 11, 2015 at 10:57 pm -
I have (may be some buggy) app. I need to use linux epool to check fd changes main code parts in https://github.com/vtolstov/qemu-ga/blob/develop/channel_virtio_epoll.go and ...
Vasiliy Tolstov
Oct 30, 2015 at 9:26 am
Nov 2, 2015 at 6:51 am -
Hello, gophers I have a question about calling function from another package in go assembly. Say, there are too packages at the top level, foo and bar. There is this function hello() defined in foo ...
Hui Z.
Oct 22, 2015 at 9:51 am
Oct 23, 2015 at 9:17 pm -
I've been building a window manager based on bspwm(https://github.com/baskerville/bspwm) & sxhkd(https://github.com/baskerville/sxhkd) urrently named SCPWM There are three parts: - euclid -- the ...
Blueblank
Oct 14, 2015 at 6:08 pm
Oct 16, 2015 at 12:47 pm -
Be warned: this is a fairly long post. My interest in using go is mainly in number-crunching tasks in physics and applied mathematics, so I am writing with this perspective (I am a physicist). Most ...
Alessandromoura35
Oct 9, 2015 at 5:18 pm
Oct 11, 2015 at 2:08 pm -
Hi All, I was going through "Go by Example" and on https://gobyexample.com/command-line-arguments - it talks about os.Args. I've found that i can change os.Args[0] in my program (which makes sense, ...
Simran
Oct 5, 2015 at 3:23 am
Oct 7, 2015 at 8:09 am -
Hi, See a test at https://gist.github.com/mbk/1cad7b0c64444497ac0b The constant META_ID is defined elsewhere in the code, as is CheckForExistence, which checks for the existence of an object in s3 ...
Maarten Koopmans
Oct 30, 2015 at 10:46 am
Nov 2, 2015 at 8:51 am -
Hi, I'm facing a problem that I think can only be solved by the event driven based XML parsing approach, i.e., I found I can't make the existing "encoding/xml" parsing works for me. Of course, this ...
Tong Sun
Oct 28, 2015 at 3:40 pm
Oct 29, 2015 at 1:31 am -
After using go for a while now, after writing C# code for half a lifetime, there is little I miss about GO but one thing: The simple inline function definitions. In C# I can do the following thing ...
Michael Ingold
Oct 16, 2015 at 12:23 pm
Oct 26, 2015 at 6:07 pm -
Hi: As I see that due to latency/predictabilty issues of GC, we can also turn off GC as in if we are writing embeddes/real time application by doing following: runtime.MemStats.EnableGC = false In ...
Ak Coding 2012
Oct 9, 2015 at 5:58 am
Oct 20, 2015 at 3:58 am -
Hi Go nuts, I'm curious about the organization of the runtime package. Is there some significance to the numbers in filenames like print1.go, os3_solaris.go, etc? How about suffixes like print1.go ...
Aaron Jacobs
Oct 15, 2015 at 10:12 pm
Oct 19, 2015 at 1:55 am -
What is a good strategy for building web app that using large dataset to process users request (backend). The dataset is *constantly updated*. The application should be *scalable* and *easy to ...
David Sofo
Oct 5, 2015 at 5:48 pm
Oct 7, 2015 at 3:33 pm -
I have a recurrent problem while using Go. I have ben using the language for some years now, and I like it very much, but I still fall into the same error again and again. Call me stupid if you ...
Ojucie
Oct 3, 2015 at 3:38 pm
Oct 4, 2015 at 2:04 pm -
Hello, licenses uses go list tool over a Go workspace to collect the dependencies of a package or command, detect their license if any and match them against well-known templates. Get it here ...
Patrick Mézard
Oct 28, 2015 at 9:02 am
Oct 30, 2015 at 12:59 pm -
I've been using the experimental Go vendoring support for a while now in a couple of projects and as a previous godep user (with build time *GOPATH* modifications) *GO15VENDOREXPERIMENT=1 *feels more ...
Thomas Frössman
Oct 24, 2015 at 12:00 am
Oct 26, 2015 at 2:12 pm -
I'm interfacing Go code with a large existing C codebase, and here I must do pointer arithmetic using unsafe.Pointer. I see in the following stackoverflow the comment that //go:nosplit should be used ...
Jason E. Aten
Oct 20, 2015 at 11:02 pm
Oct 21, 2015 at 5:58 pm -
i want to know why we have to close response body .and another question what will happen if we read the response body .and the response body is nill -- You received this message because you are ...
WALID BELRHALMIA
Oct 18, 2015 at 2:16 am
Oct 18, 2015 at 6:37 am -
Suppose I have a struct (Type1) that implements an interface (Interface1) (not an empty interface). I have a variable type of Interface 1, then I want it to be type of Type1. But I can't access it's ...
Lusine Karapetian
Oct 10, 2015 at 4:02 pm
Oct 15, 2015 at 7:13 am -
Hi all, I want to send a gob-encoded struct over http. However, I keep getting stack overflow panic at runtime when encoding. Does go allow this kind of operation, maybe in some alternative ...
Kiki Sugiaman
Oct 9, 2015 at 11:04 pm
Oct 14, 2015 at 8:07 am -
Hi guys, I'm writing because I'm looking for some suggestions on how to structure my project. I'm pretty sure there have been many discussion on this topic and often there is no right approach to ...
Raffaele Di Fazio
Oct 12, 2015 at 4:36 pm
Oct 13, 2015 at 12:55 pm -
For those of you who ever need to build terminal oriented UI programs (ala curses) or are using termbox, you might want to give my tcell (for "terminal cell") package a try. github.com/gdamore/tcell ...
Garrett D'Amore
Oct 9, 2015 at 8:02 pm
Oct 9, 2015 at 9:44 pm -
func main() { buf := new(bytes.Buffer) buf.Write([]byte{211, 23}) we := buf.String() fmt.Print(we) } it print nothing were is the problem please somoene help me -- You received this message because ...
WALID BELRHALMIA
Oct 5, 2015 at 9:10 pm
Oct 6, 2015 at 11:18 pm -
Imagine you have a web app that (among other things) has some sort of CRUD-like functionality over user accounts. Since you can in theory use several data stores (persistent, in-memory, etc..) let's ...
Hugof225
Oct 1, 2015 at 8:54 pm
Oct 4, 2015 at 11:50 am -
Hi, Within the xml.Unmarshal result, is it possible to retain sub xml elements for under a certain node? For e.g.: <Company <Name Example Inc.</Name <Addr Example work place</Addr </Company Is there ...
Tong Sun
Oct 27, 2015 at 7:44 pm
Oct 30, 2015 at 2:30 am -
I have a type Light that implements type OnOff. But this won't compile. I get: cannot use l (type *Light) as type *OnOff in field value: *OnOff is pointer to interface, not interface ...
Peter Kleiweg
Oct 28, 2015 at 9:11 am
Oct 28, 2015 at 2:10 pm
Group Overview
group | golang-nuts |
categories | go |
discussions | 297 |
posts | 1,768 |
users | 441 |
website | golang.org |
441 users for October 2015
Archives
- June 2016 (815)
- May 2016 (1,277)
- April 2016 (1,340)
- March 2016 (1,589)
- February 2016 (1,499)
- January 2016 (1,419)
- December 2015 (1,217)
- November 2015 (1,490)
- October 2015 (1,768)
- September 2015 (2,186)
- August 2015 (2,240)
- July 2015 (2,221)
- June 2015 (2,056)
- May 2015 (1,508)
- April 2015 (2,023)
- March 2015 (2,186)
- February 2015 (2,032)
- January 2015 (2,219)
- December 2014 (2,612)
- November 2014 (1,886)
- October 2014 (2,115)
- September 2014 (2,267)
- August 2014 (2,172)
- July 2014 (2,509)
- June 2014 (337)
- May 2014 (1,260)
- April 2014 (2,795)
- March 2014 (2,914)
- February 2014 (2,640)
- January 2014 (2,720)
- December 2013 (2,487)
- November 2013 (2,527)
- October 2013 (2,610)
- September 2013 (3,038)
- August 2013 (3,302)
- July 2013 (2,235)
- June 2013 (2,929)
- May 2013 (3,816)
- April 2013 (3,080)
- March 2013 (2,963)
- February 2013 (3,401)
- January 2013 (3,865)
- December 2012 (2,603)
- November 2012 (2,493)
- October 2012 (3,246)
- September 2012 (3,469)
- August 2012 (62)