Search Discussions
-
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 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 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. 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 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 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 ...
Minux
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 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 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 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 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 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 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 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 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 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 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! ...
Tomwilde
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 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 ...
Chai2010
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 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 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 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 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 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 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 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 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 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 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 ...
Pietersydneytheron
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 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 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 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 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ü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 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. 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 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 ...
Zellyn
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 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 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 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 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 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 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 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 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 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 ...
Michivo
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 ...
Amir-taghavi
Nov 27, 2014 at 8:21 pm
Nov 28, 2014 at 7:41 am
Group Overview
group | golang-nuts |
categories | go |
discussions | 326 |
posts | 1,886 |
users | 504 |
website | golang.org |
504 users for November 2014
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)