Search Discussions

326 discussions - 1,886 posts

  • Seriously, I don't understand why is it so hard to add generics to go. You might say that you don't need it, but library writers would definitely want generics. A language cannot be successful ...
    Theemathas ChirananhavatTheemathas Chirananhavat
    Nov 29, 2014 at 3:21 am
    Dec 2, 2014 at 2:51 am
  • Hi Go nuts, We have just released go1.4rc1, the first release candidate for Go 1.4. It is cut from release-branch.go1.4 at the revision tagged go1.4rc1. Please help us by testing your Go programs ...
    Andrew GerrandAndrew Gerrand
    Nov 17, 2014 at 5:04 am
    Dec 1, 2014 at 5:02 am
  • I'm considering how to allow performance optimization of memory freeing in Go; my current GC pause times for one application average 750 - 1500 msec, which makes these pauses a bit troublesome. It ...
    Jason E. AtenJason E. Aten
    Nov 24, 2014 at 4:39 pm
    Nov 26, 2014 at 4:35 am
  • *Summary: The sub-repo import paths are changing from "code.google.com/p/go.* <http://code.google.com/p/go.* " to "golang.org/x/* <http://golang.org/x/* ". Please update your code on or before ...
    Andrew GerrandAndrew Gerrand
    Nov 5, 2014 at 9:50 pm
    Nov 11, 2014 at 1:16 am
  • Hi Dave, I tried the 1 exe per dir setup that we closed the previous thread with : https://groups.google.com/forum/#!topic/golang-nuts/57Cwx7i5g7U However, I find it inefficient for me at 3 levels a) ...
    Rneeraj RaiRneeraj Rai
    Nov 5, 2014 at 3:14 am
    Nov 11, 2014 at 6:27 am
  • Hi gophers, I'm happy to announce that the iOS port of Go recently gained full cgo and external linking support. I've also got a simple C based application working on a real iPad. The port lives in ...
    Nov 27, 2014 at 7:05 am
    Nov 30, 2014 at 12:00 am
  • I'm seeing a *huge* discrepancy between RES and MemStats.Sys on Linux. My MemStats.Sys looks perfect - exactly what I'd expect. With 50 concurrent sessions on my SSH service, I'm right around 20MB ...
    Blake CaldwellBlake Caldwell
    Nov 7, 2014 at 10:53 pm
    Nov 11, 2014 at 9:24 pm
  • Hi folks, Looking for an ideal way to represent a set (unordered collection) of slices. From what I can tell this is the standard approach for sets: type Set map[MyType]struct{} But since slices are ...
    Matt JuranMatt Juran
    Nov 28, 2014 at 3:14 am
    Dec 1, 2014 at 7:34 pm
  • While doing some profiling on a piece of time-sensitive code, we discovered unusually long GC pauses occurring. We narrowed down the culprit to a large collection of type map[string]string. This map ...
    Jonathan S Oliver42Jonathan S Oliver42
    Nov 26, 2014 at 7:08 am
    Nov 28, 2014 at 4:24 pm
  • Today Go turns 5. http://blog.golang.org/5years Thanks to everyone in the community for making Go such a great success. Andrew -- You received this message because you are subscribed to the Google ...
    Andrew GerrandAndrew Gerrand
    Nov 10, 2014 at 9:21 pm
    Nov 11, 2014 at 7:36 pm
  • Hi Gophers, I have just released a CQRS/ES library called Event Horizon ( https://github.com/looplab/eventhorizon). Be sure to check it out if you are interested in ORM libraries and other data ...
    Max PerssonMax Persson
    Nov 17, 2014 at 2:51 pm
    Nov 22, 2014 at 2:27 pm
  • I've been using Swift at work for several months now. The language is nice, although the iOS API is no less of a nightmare than before. The language has reminded me of Go in several ways, one being ...
    Matt CudmoreMatt Cudmore
    Nov 9, 2014 at 2:51 am
    Nov 11, 2014 at 5:39 am
  • The eventual goal of this project is to make the container/list and container/ring obsolete. I'd like you to review the version v0.1 of this api and the implementations. - generic - uses slice tricks ...
    Ama mmAma mm
    Nov 23, 2014 at 1:29 pm
    Nov 29, 2014 at 11:31 pm
  • Hi guys, I successfully built my package https://github.com/steeve/libtorrent-go using SWIG with Go 1.4beta1 for Darwin and Linux (386 amd64 and arm). However Windows is another story. In the past, ...
    Steeve MorinSteeve Morin
    Nov 7, 2014 at 3:53 pm
    Nov 13, 2014 at 1:57 am
  • Hi everyone, I've released version 0.2 of Bytengine Content Repository <https://github.com/johnwilson/bytengine and would really appreciate feedback (code and application review). I undertook this ...
    John WilsonJohn Wilson
    Nov 21, 2014 at 3:33 pm
    Dec 2, 2014 at 7:24 am
  • Just a suggestion, it would be nice if godoc would add improved syntax highlighting for their keywords, for example: func Int <https://github.com/garyburd/redigo/blob/master/redis/reply.go#L35 func ...
    Kiswono PrayogoKiswono Prayogo
    Nov 26, 2014 at 4:53 am
    Nov 28, 2014 at 9:49 am
  • http://godoc.org/golang.org/x/net/context The packages documentation says: goroutines; Contexts are safe for simultaneous use by multiple goroutines. Seriously what on earth? Context is an interface! ...
    Nov 21, 2014 at 4:04 pm
    Nov 22, 2014 at 4:01 am
  • Gophers, I've just spent the best part of an unpleasant and frustrating hour trying to build some Go software. I'm still no closer to actually getting started on my prototype and tests despite having ...
    Graham AndersonGraham Anderson
    Nov 17, 2014 at 1:24 pm
    Nov 21, 2014 at 1:39 pm
  • And many protobuf users just need these helper funcs, they must import the `proto` packages. Like this code ( https://github.com/chai2010/protorpc/blob/master/internal/service.pb/echo.go ): package ...
    Nov 12, 2014 at 1:27 am
    Nov 14, 2014 at 6:30 am
  • Hi, I need to parse some JSON data and stick it in a database. The issue is that the records have different field names depending on what the record describes. A Simple example of two records. [0] = ...
    Waitman GobbleWaitman Gobble
    Nov 30, 2014 at 10:56 pm
    Dec 1, 2014 at 3:32 pm
  • this is what I do, it is basically modified from net/sendfile_linux.go Is it the right way to do this? func WriteTo(conn *net.Conn, file *os.File, writePos uint32, size uint32) (written uint32, err ...
    Xiaobin SheXiaobin She
    Nov 14, 2014 at 3:26 am
    Nov 25, 2014 at 5:16 pm
  • Hi all, I hope one the Go mavens here can explain the results of this example program for me. Here it is in the go playground: http://play.golang.org/p/6ELVdFSHV8. However, the playground does not ...
    Steven WileySteven Wiley
    Nov 17, 2014 at 7:43 pm
    Nov 19, 2014 at 2:45 pm
  • Hi . We have a distributed application that's basically a web service (http/s + WebSockets) written in Go , distributes to a large number of sites but each site serves just a small number of clients ...
    Guy BrandwineGuy Brandwine
    Nov 16, 2014 at 7:36 pm
    Nov 18, 2014 at 2:05 pm
  • Regards. Sorry if the question has been already discussed in the past, but a quick search did not produced any results. I'm writing my first Go project, and I would like to not being forced to choose ...
    Manlio PerilloManlio Perillo
    Nov 11, 2014 at 10:58 am
    Nov 12, 2014 at 5:30 pm
  • A while back, I got interested in how a Go application would look like when applying Domain-Driven Design. I decided on making a Go port of the dddsample <http://dddsample.sourceforge.net/ ...
    Marcus OlssonMarcus Olsson
    Nov 6, 2014 at 1:20 pm
    Nov 7, 2014 at 2:10 pm
  • Hi, I just did this code: http://play.golang.org/p/Fk0zv5zJ9x // +build !appengine package main import ( "log" "sync" "time" ) const THREADS = 4 func newPipeline() []int { return []int{ 1, 2, 3, 4, ...
    Piyush VermaPiyush Verma
    Nov 3, 2014 at 6:40 pm
    Nov 4, 2014 at 7:56 am
  • Given a tar archive stream with the following files: foo/1.txt foo/2.txt foo/3.txt foo/4.txt bar/1.txt bar/2.txt I'm trying split the source tar into two destination tars such that a percentage of ...
    Traun LeydenTraun Leyden
    Nov 19, 2014 at 7:54 pm
    Nov 21, 2014 at 5:26 pm
  • After trying out 1.4 beta I see a significant increase in build times on linux (3.13). For the most basic go program (package declaration & empty main function) I see: $ time go1.3.3 build m.go real ...
    Chris BaynesChris Baynes
    Nov 3, 2014 at 6:14 pm
    Nov 3, 2014 at 10:11 pm
  • Hey Gophers! I am trying to get the current position of the cursor in the terminal. I found examples of doing it in bash and perl, but I can't get it to work in Go. Here is a boiled down version ...
    Seth Ammons SGSeth Ammons SG
    Nov 28, 2014 at 4:32 am
    Dec 1, 2014 at 3:25 pm
  • I am having a hard time implementing a checksum in golang. The checksum should sum [n]Bytes, mod the total with 256 and return the result as [2]byte Checksum = ( 0x30 + 0x30 + 0x30 + 0x37 ) mod ...
    Nov 25, 2014 at 5:47 pm
    Nov 25, 2014 at 11:16 pm
  • Regards. For a project I'm working on I need a simple level-triggered poller, since I only need to poll a single file descriptor from a single goroutine. I was planning to use Poll, however it is not ...
    Manlio PerilloManlio Perillo
    Nov 18, 2014 at 4:10 pm
    Nov 21, 2014 at 2:59 pm
  • hi guys! I need to implement a tracker protocol and in one of the field i have to do this: The id is made up of numerical digits and is encoded in this field as packed BCD. The most significant digit ...
    Di3go BernardesDi3go Bernardes
    Nov 27, 2014 at 6:08 pm
    Nov 28, 2014 at 8:29 am
  • Hi. I don't understand how gofmt formatting rules are implemented. Please consider the following source file: http://play.golang.org/p/VKmJnD_rTE When I format it, I get (only the interesting part) ...
    Manlio PerilloManlio Perillo
    Nov 20, 2014 at 2:36 pm
    Nov 21, 2014 at 3:19 pm
  • Hi everyone, I'm totally new to Go, and my question might be stupid, so please bear with me. I'm on Windows, so everything I'm asking and telling is about this OS now. When I made a "Hello world" ...
    Andre PolykanineAndre Polykanine
    Nov 13, 2014 at 6:30 pm
    Nov 14, 2014 at 3:30 pm
  • Hi, I programmed this toy exercise: https://www.hackerrank.com/challenges/the-grid-search. The goal is to find a pattern inside a 2D array of integers . I have put my golang solution on this gist, ...
    Yann SalaünYann Salaün
    Nov 4, 2014 at 3:44 pm
    Nov 7, 2014 at 8:31 pm
  • After more than 2 years of internal development, we're releasing Gondola to the world today. Initial version is 0.90, which means that some breaking changes might happen until 1.0 is reached. Among ...
    Alberto García HierroAlberto García Hierro
    Nov 5, 2014 at 12:30 pm
    Nov 6, 2014 at 7:38 pm
  • Another way to ask: Does a cast from []byte to string involve copying the contents of the []byte? snippet example: s = string([]byte(mmap[:end])) // does this copy the mmap contents or just point to ...
    Jason E. AtenJason E. Aten
    Nov 28, 2014 at 8:43 pm
    Nov 29, 2014 at 3:53 pm
  • I have built a cli tool for retrieving HN stories and while i don't want EOF errors in stdout, they get printed. resp, err := http.Get(url) Might it be that HTTP GET EOF errors do not correspond to ...
    Michalis KargakisMichalis Kargakis
    Nov 25, 2014 at 2:33 pm
    Nov 26, 2014 at 5:13 am
  • Hi folks, I'm (slowly) working my way through the Coursera compilers course, writing a COOL compiler in go. I watched the excellent Lexical Scanning in Go video, then modified ...
    Nov 7, 2014 at 9:02 pm
    Nov 10, 2014 at 7:34 pm
  • Hi, I'm trying to build my package https://github.com/steeve/libtorrent-go using SWIG. I've built SWIG from source from today's master, and it runs okay. However, when I try to build the generated ...
    Steeve MorinSteeve Morin
    Nov 5, 2014 at 1:20 am
    Nov 5, 2014 at 5:11 pm
  • Hello, I need to change size of structure in golang, going through online resources , I noticed the use of make( ) to assign []byte/string for variable of arbitrary data size, but is there any ...
    Aalekh NigamAalekh Nigam
    Nov 23, 2014 at 7:52 am
    Nov 24, 2014 at 11:17 am
  • Hello, Apologies if I'm asking a question that's been answered, or is easy to find... I've not found the right documentation yet. I'm trying to find the best way to preview the comments of my code as ...
    Tim HeckmanTim Heckman
    Nov 20, 2014 at 7:14 am
    Nov 22, 2014 at 3:55 am
  • ==29040==ERROR: ThreadSanitizer failed to allocate 0x2901000 (42995712) bytes of deadlock detector (ph ysical thread) (errno: 12) ==29040==Process memory map follows: yada yada ==29040==End of ...
    Matt JoinerMatt Joiner
    Nov 21, 2014 at 2:01 am
    Nov 21, 2014 at 5:07 pm
  • Are there any good resources on buffered channels? I have some questions to which I have not found answers: - Can you examine the size of the buffer in the channel, e.g. to see if it is empty or ...
    Philip ThomasPhilip Thomas
    Nov 17, 2014 at 9:04 pm
    Nov 18, 2014 at 11:04 pm
  • Hello everyone! I try to write simple service, and i want to start http server in separate goroutine, not in main "thread". I know that every http request processes in separate goroutine, but my ...
    Mikhail VitsenMikhail Vitsen
    Nov 10, 2014 at 12:33 am
    Nov 13, 2014 at 1:39 pm
  • FYI, go included! http://macbeth.cs.ucdavis.edu/lang_study.pdf -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and ...
    Filip ZaludekFilip Zaludek
    Nov 5, 2014 at 6:50 pm
    Nov 7, 2014 at 3:24 pm
  • Hi I am a new golang rookie, experimenting with the language. Thanks for all the discussions here which has helped enrich my perspective. I was trying to understand how the network + channels help ...
    Bala Natarajan PaasBala Natarajan Paas
    Nov 29, 2014 at 10:58 pm
    Dec 1, 2014 at 7:35 pm
  • Hi! http://play.golang.org/p/XkYG3qTVH7 Why that would pass "..." argument to another function need wrap it in such an ugly code: http://play.golang.org/p/J7Ykp-3eZK WBR, Fyodor. -- You received this ...
    Fyodor UstinovFyodor Ustinov
    Nov 29, 2014 at 9:36 am
    Nov 30, 2014 at 4:20 am
  • I just started translating the Tour of Go into german (welcome and basics is done). Unfortunately, the app-id go-tour-de is already taken (but no app is available), so I picked go-tour-de1. So, if ...
    Nov 21, 2014 at 4:45 am
    Nov 28, 2014 at 2:26 pm
  • hi which of 2 following way is better and secure and ...? : define global db variable var db *sql.DB func main(){ db,_=sql.Open("mysql","...") .... } or define function and used it in other ...
    Nov 27, 2014 at 8:21 pm
    Nov 28, 2014 at 7:41 am
Group Navigation
period‹ prev | Nov 2014 | next ›
Group Overview
groupgolang-nuts @

504 users for November 2014

Dave Cheney: 110 posts Ian Taylor: 56 posts Egon: 42 posts James Bardin: 33 posts Andrew Gerrand: 31 posts Jan Mercl: 30 posts Amir-taghavi: 29 posts Matt Harden: 26 posts Tahir: 25 posts Manlio Perillo: 22 posts Shawn Milochik: 20 posts Nick Patavalis: 19 posts Steeve Morin: 19 posts Tamás Gulácsi: 19 posts Theemathas Chirananhavat: 18 posts 小菜: 18 posts Chris dollin: 16 posts Lars Seipel: 15 posts Chris Hines: 14 posts Dmitry Vyukov: 14 posts
show more