FAQ

Search Discussions

416 discussions - 3,038 posts

  • Hi Go fans, I frankly was shocked to learn that a program like: package main; import "fmt"; func main() { fmt.Printf("hello, world!\n"); } ... is currently illegal in go with the error: # ...
    Michael DacontaMichael Daconta
    Sep 21, 2013 at 4:39 am
    May 7, 2014 at 9:32 pm
  • Hello, I recently saw this post on Hacker News: http://fabiensanglard.net/rayTracing_back_of_business_card/index.php I found the implementation fascinating and wanted to code the same up in Go ...
    Karan MisraKaran Misra
    Sep 24, 2013 at 5:34 am
    Oct 14, 2013 at 4:20 pm
  • I brought this up in #go-nuts today and there seemed to be a reasonable amount of interest, so I decided to throw it here to see what you guys think. Since this is a syntax extension, I want to put ...
    Derekchiang93Derekchiang93
    Sep 24, 2013 at 3:13 am
    Sep 30, 2013 at 4:10 am
  • Hi Go nuts, We have just released go1.2rc1, a release candidate for Go 1.2. It is cut from the default branch at revision f4d1cb8d9a91. This release candidate is NOT stable and should not be used in ...
    Andrew GerrandAndrew Gerrand
    Sep 20, 2013 at 4:07 am
    Sep 24, 2013 at 6:45 pm
  • Some notations are annoying. See this playground,<http://play.golang.org/p/d1G5z_D6Kl or just read it here: (Yes, I know I can use strings) package main import "fmt" func main() { msg := ...
    RickySRickyS
    Sep 11, 2013 at 11:16 am
    Sep 16, 2013 at 6:41 am
  • binary sizes have crept up again and i'm wondering if there's remediation planned. the runtime cost now sits on 550k. this is for an empty binary with no imports and func main(){} at tip: 552256 17 ...
    Andrey mirtchovskiAndrey mirtchovski
    Sep 17, 2013 at 4:47 pm
    Oct 25, 2014 at 7:26 am
  • I recall one of the original goals in Go (and discussed by Rob Pike in an early video) is to avoid the stutter present in other languages. I've noticed a lot of code of the following form lately ...
    Matt JoinerMatt Joiner
    Sep 26, 2013 at 8:22 am
    Sep 27, 2013 at 7:11 pm
  • After interacting with several types in the standard library, I get the strange feeling that _stopping_ is not something that Go is designed to do. I'm wondering if this is intentional, an oversight, ...
    David ZarlengoDavid Zarlengo
    Sep 17, 2013 at 1:59 am
    Sep 25, 2013 at 11:06 pm
  • Hello: According to http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=all&lang=go&lang2=java&data=u64q,golang performs so bad.I konw some guys will say benchmarking won't cover ...
    Alex LuyaAlex Luya
    Sep 22, 2013 at 4:31 am
    Sep 24, 2013 at 6:45 am
  • Hi all, I created this little new dynamic language to make something like the Lua-C relationship in Go. Blog introduction ...
    Martin AngersMartin Angers
    Sep 17, 2013 at 11:14 am
    Sep 19, 2013 at 12:40 pm
  • It is often necessary to enforce an "either-or" relationship between derived interfaces. Achieving this using Implements<Type () is ugly and doesn't convey the true distinction. Perhaps a better ...
    Vincent CallananVincent Callanan
    Sep 18, 2013 at 9:27 am
    Sep 19, 2013 at 6:54 pm
  • After getting pretty confused by "new", I came across this 2010 thread containing a proposal by Rob which made a lot of sense to me ...
    Fumin WangFumin Wang
    Sep 11, 2013 at 3:30 pm
    Sep 13, 2013 at 2:22 am
  • At the GoSF meetup this evening, Mike asked about doing graceful shutdown with package net/http. I think http already provides enough hooks that this can be done with a wrapper and not much code, but ...
    Keith RarickKeith Rarick
    Sep 6, 2013 at 6:12 am
    Sep 15, 2013 at 11:04 pm
  • Hi all, I've got a very weird issue, and am only able to reproduce it on top of Google's cloud, in a 15K liner. I was hoping that maybe there's something I haven't thought about that you could ...
    Péter SzilágyiPéter Szilágyi
    Sep 10, 2013 at 4:30 pm
    Sep 13, 2013 at 1:45 pm
  • Are there any plans on the road map to do something about the performance of the big number package? Since a public key cryptography is very important these days, I would like to appeal to the devs ...
    Piotr NarewskiPiotr Narewski
    Sep 12, 2013 at 1:01 pm
    Sep 13, 2013 at 9:03 pm
  • Currently time.Weekday is declared as follows: // A Weekday specifies a day of the week (Sunday = 0, ...). Sunday is declared as first day of week which is not accoding to the ISO 8601 standard that ...
    Michael Henke 42Michael Henke 42
    Sep 5, 2013 at 3:33 pm
    Sep 6, 2013 at 4:31 am
  • Hello Gophers. I am seeing this error when running a database program in Linux 3.2 64-bit, Go 1.2RC1: unexpected fault address 0x7ff189577ef9 unexpected fault address fatal error: fault [signal 0xb ...
    Howard GuoHoward Guo
    Sep 28, 2013 at 10:49 am
    Sep 29, 2013 at 12:24 pm
  • This problem comes from some GSoC code, and in the process of finding one bug in their code I uncovered a strange difference between looping over a list with the release version of Go and tip. The ...
    Eric GavaletzEric Gavaletz
    Sep 9, 2013 at 4:56 pm
    Sep 9, 2013 at 9:17 pm
  • I have a package that reads and writes an extended gzip format that allows coarse grained random access within the file (seek to gzip member start and then seek within the inflated data after reading ...
    Dan KortschakDan Kortschak
    Sep 4, 2013 at 4:13 am
    Sep 9, 2013 at 1:39 am
  • Hello, I think many of you use VIM as a primary text editor for Go. You've been optimising VIM for a long period to make it comfortable for Go. So, lets share your vim configs here and describe what ...
    Sergey GavrukSergey Gavruk
    Sep 29, 2013 at 5:01 pm
    Oct 20, 2013 at 1:04 pm
  • I've tried some of the options: 1. Deploying using git. (git repo on the server with git init --bare and placing a hook to build and copy files) 2. Deploying using "Capistrano" - Seems more like a ...
    Boopathi RajaaBoopathi Rajaa
    Sep 25, 2013 at 7:43 pm
    Oct 1, 2013 at 6:42 pm
  • So, trying to learn the nuances of Go concurrency by attacking the Dining Philosophers problem. Gist: https://gist.github.com/kid0m4n/6647055 But to get a measure of speed, better to locally run it ...
    Karan MisraKaran Misra
    Sep 21, 2013 at 4:39 am
    Sep 24, 2013 at 11:36 am
  • Hi all, Given the ongoing discussions about Go's performance in the benchmark game, I thought I'd take a look to see if there was any low hanging fruit to pick. Based on ...
    Jakob BorgJakob Borg
    Sep 24, 2013 at 6:53 am
    Sep 26, 2013 at 2:10 am
  • "PayPal Debuts Its Newest Hardware, Beacon, A Bluetooth LE Enabled Device For Hands-Free Check Ins And Payments" ...
    Brad FitzpatrickBrad Fitzpatrick
    Sep 9, 2013 at 9:57 pm
    Jul 23, 2014 at 6:24 pm
  • While doing some dirty basic tests to evaluate the limit of inter-process communication through TCP, there seems to be sensible performance regressions since Go 1.0.3. Here are the results ; I know ...
    DevDev
    Sep 29, 2013 at 3:50 pm
    Oct 1, 2013 at 11:49 am
  • Hi Is it possible to check if a struct S implements method M? My situation is as follows: Struct S1 implements method M. Struct S2 contains struct S1 and may or may not implement and shadow method ...
    Magnús Örn GylfasonMagnús Örn Gylfason
    Sep 28, 2013 at 12:40 pm
    Sep 29, 2013 at 11:14 pm
  • Hi, here a propsosal that will not break, but extend the current syntax: Allow brackets before the parentheses in type assertions to express slice assertions. What is a slice assertion (may be you ...
    Meta keuleMeta keule
    Sep 27, 2013 at 8:34 am
    Sep 27, 2013 at 11:04 pm
  • Rationale --------- The Go language presently lacks multidimensional slices. It has multidimensional arrays, but those have the downside that their dimensions are fixed: a function that takes a ...
    Norman YarvinNorman Yarvin
    Sep 5, 2013 at 3:56 am
    Sep 5, 2013 at 7:49 pm
  • Many people have claimed that Go is being used in production and that it is production ready. According to a some comments in a few unresolved issues, the crypto/tls package is not production ready ...
    Luke ScottLuke Scott
    Sep 24, 2013 at 5:55 pm
    Sep 25, 2013 at 10:37 pm
  • I've just run a set of benchmarks that I don't understand. I have been writing a concurrent file writer to handle a common bioinformatic file format[1] and just added some internal buffering, ...
    Dan KortschakDan Kortschak
    Sep 17, 2013 at 2:06 am
    Sep 17, 2013 at 6:46 am
  • +1 在 2013年9月13日 下午9:52,"u" <<span class="m_body_email_addr" title="b115458dce208a999f292511864d6b1e" fresh.grass.yum@gmail.com</span 写道: -- You received this message because you are subscribed to the ...
    Liigo ZhuangLiigo Zhuang
    Sep 15, 2013 at 11:53 pm
    Sep 17, 2013 at 1:12 am
  • When will programming become easier? In Star Trek episodes people string together subroutines and it builds itself into a program. I use to use programs that wrote most of the code for me and all I ...
    StarwulfStarwulf
    Sep 13, 2013 at 2:44 am
    Sep 14, 2013 at 8:06 pm
  • Will I be frowned upon if I call the receiver "this"? as in: func (this *Foobar) foo() { this.bar() } -- You received this message because you are subscribed to the Google Groups "golang-nuts" ...
    Pablo KrausePablo Krause
    Sep 3, 2013 at 2:09 am
    Sep 5, 2013 at 12:38 am
  • Hi, I've got a situation where I want to update a value and give some other goroutines a guaranteed chance to read it before it changes again. What I'd like to do is create a sync.RWMutex, Lock it, ...
    Josh Bleecher SnyderJosh Bleecher Snyder
    Sep 30, 2013 at 9:36 pm
    Oct 1, 2013 at 12:07 pm
  • I keep finding myself writing methods like func (s *Supervisor) addChild(cmd *types.Message) (*clients.Client, error) { var child *clients.Client parentRef, err := s.findClientRef(cmd.WidgetId) if ...
    GeraldGerald
    Sep 25, 2013 at 3:56 am
    Sep 26, 2013 at 12:34 am
  • Hi folks, New to the group, and I've been learning go mainly through the pkg files in source (super well documented) with some other awesome resources on the web as well. I've gotten to a point with ...
    Keith RosenbergKeith Rosenberg
    Sep 20, 2013 at 3:09 am
    Sep 22, 2013 at 1:29 am
  • We wanted to support OAuth2 in Go and it was tricky to do in a TDD way, so we built Gomniauth. Today it supports Google and Github, but it's VERY easy to add providers. It's also general enough to ...
    MatryerMatryer
    Sep 3, 2013 at 10:33 pm
    Sep 4, 2013 at 2:04 pm
  • Hi all, I've been playing with container/heap in the new Go1.2rc1 and I think it is slower than in Go1.1.2. I've tried it in linux amd64 version, both versions og Go compiled by myself. Here is the ...
    Ignacio GrandeIgnacio Grande
    Sep 21, 2013 at 4:21 pm
    Sep 22, 2013 at 9:50 am
  • A small "Hello world" program compiles just fine and executes correctly on a (rooted) Android device. Now I'm trying to use the native C interface. I'm aware that I'm trying something not supported, ...
    Jan MerclJan Mercl
    Sep 12, 2013 at 2:11 pm
    May 14, 2015 at 9:32 pm
  • There seem to be a lot of UUID packages (http://godoc.org/?q=uuid). Can someone recommend a UUID package thats stable and fast? -- You received this message because you are subscribed to the Google ...
    Kevin PKevin P
    Sep 1, 2013 at 6:24 pm
    Jan 6, 2015 at 9:38 am
  • Hi All, On OS X 10.8.2 using go 1.1.2, when I try go get I get this message "x509: failed to load system roots and no roots provided" from previous post it seems I need to CGO_ENABLED=0 but same ...
    Felix ZillaFelix Zilla
    Sep 17, 2013 at 2:38 am
    Nov 8, 2013 at 2:23 am
  • When working on json in Go like with "application/json", make sure your json is in strict coding {username: "user", password: "pass"} is not strict in Go and decoding will fail instead do {"username" ...
    Felix ZillaFelix Zilla
    Sep 24, 2013 at 3:27 pm
    Sep 26, 2013 at 11:27 am
  • Hi all, very strange behavior in float64, http://play.golang.org/p/TYaE16-5Nw can someone explain ? thanks in advance Djadala -- You received this message because you are subscribed to the Google ...
    DjadalaDjadala
    Sep 4, 2013 at 2:12 pm
    Sep 9, 2013 at 7:42 pm
  • Hi, I have 2 question about regexp: first, I have read source code of re2, it has thousands line, and go's regexp code just 1,000 line, has go's regexp implement all re2's function? second, regexp's ...
    Guotie 9Guotie 9
    Sep 18, 2013 at 9:50 am
    Oct 7, 2013 at 10:01 am
  • Hi, I'm using GO SQL to query a table of unknown structure. - Is it possible to know the returned results' structure, at least the column names? - Sine I don't know how wide the table is and its' ...
    Tong SunTong Sun
    Sep 25, 2013 at 9:04 pm
    Oct 2, 2013 at 1:46 pm
  • I've never been terribly thrilled with the callback interface presented by filepath.Walk. And I really like the iteration pattern in sql.Rows and bufio.Scanner. So here's a reworking of ...
    Keith RarickKeith Rarick
    Sep 19, 2013 at 1:55 am
    Sep 23, 2013 at 10:13 pm
  • https://docs.google.com/document/d/1cM07QaOcSuY6VMDmPY5xHGLwrgNdmmnjZkIaF5IsokQ/edit?usp=sharing Took a shot at "generics." Aside from syntax, it seems to have withstood initial review in IRC. -- You ...
    ZephyrtroniumZephyrtronium
    Sep 9, 2013 at 1:40 am
    Sep 20, 2013 at 6:44 am
  • What the error means, exactly? Or what it means when it happens in a Syscall? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from ...
    Lubos PintesLubos Pintes
    Sep 18, 2013 at 8:28 am
    Sep 19, 2013 at 2:31 am
  • That's about where I am at right now, "mv go trash/". Why? Well, I'll quote: "Go code *must* be kept inside a workspace." from http://golang.org/doc/code.html. As much as I like Go I find this ...
    TR NSTR NS
    Sep 8, 2013 at 1:47 pm
    Sep 12, 2013 at 1:13 am
  • Hello all, I was wondering if someone could tell me why this code won't compile. package main import( "database/sql" "github.com/lib/pq" ) type MyDb struct{ sql.DB } func main() { db, := ...
    Ace RajanAce Rajan
    Sep 23, 2013 at 3:41 pm
    Sep 25, 2013 at 5:16 pm
Group Navigation
period‹ prev | Sep 2013 | next ›
Group Overview
groupgolang-nuts @
categoriesgo
discussions416
posts3,038
users541
websitegolang.org

541 users for September 2013

Dave Cheney: 131 posts Kyle Lemons: 107 posts Dan Kortschak: 92 posts Jan Mercl: 91 posts Ian Lance Taylor: 59 posts Kevin Gillette: 55 posts Rémy Oudompheng: 48 posts Michael Daconta: 45 posts Andrey mirtchovski: 43 posts Steven Blenkinsop: 41 posts Minux: 40 posts Nicolas Riesco: 40 posts Karan Misra: 36 posts Michael Jones: 32 posts Andrew Gerrand: 31 posts Carlos Castillo: 30 posts Jesse McNelis: 29 posts John Nagle: 28 posts Kamil Kisiel: 27 posts Nigel Tao: 27 posts
show more