Search Discussions

443 discussions - 2,963 posts

  • We have moved our database/sql driver for postgres (pq) to the lib organization on Github. github.com/bmizerany/pq - github.com/lib/pq. Please update your imports. -- You received this message ...
    Mar 6, 2013 at 8:15 pm
    Mar 14, 2013 at 11:39 am
  • I'm sure this horse has been beat to death and served up as hamburgers already, but I am going to throw out this realist's argument. "if it's worth complaining about, it's worth fixing in the code" - ...
    Michael TeterMichael Teter
    Mar 8, 2013 at 3:43 pm
    Mar 21, 2013 at 8:09 pm
  • I can roll my own... but does anyone else think a limited workgroup would be useful. i.e. block on Add if the workgroup has reached a size limit? This can be useful when for instance each thread in a ...
    Mar 6, 2013 at 3:50 pm
    Jun 30, 2013 at 11:36 am
  • Is there currently a mature or in-development general AI library for Go? If not, I would like to start one -- and invite interested parties to help. As an initial goal, I think there should be ...
    Mar 4, 2013 at 1:10 am
    Nov 2, 2013 at 11:44 am
  • The semicolon line terminator in Go seems like a training wheel kept around for people who insist on typing a semicolon at the end of the line by instinct, but by 2.0, the training wheel should go, ...
    Damir AzdajicDamir Azdajic
    Mar 18, 2013 at 2:25 pm
    Mar 24, 2013 at 12:43 pm
  • We're researching using Go to build RESTful services. One requirement we've been given is that any HTTP server we write must be able to provide what it's known as "zero downtime", that is, code ...
    Manuel AmadorManuel Amador
    Mar 22, 2013 at 1:32 am
    Jun 19, 2013 at 11:13 pm
  • I've been looking around for some information on weak references and, while I've found a few open threads, I haven't seen much of a closure on this, nor an issue opened on the project. I'd like to ...
    Dustin SallingsDustin Sallings
    Mar 4, 2013 at 11:49 pm
    Mar 6, 2013 at 9:15 pm
  • time.Time is not working in drivers where I've tested: "github.com/Go-SQL-Driver/MySQL" "github.com/bmizerany/pq" "github.com/mattn/go-sqlite3" You can see in line 81 and 85 that I'm using 2 ...
    Mar 2, 2013 at 1:16 pm
    Jan 30, 2014 at 2:26 pm
  • Making the assumption that the reflect.MakeSlice function implemented this behavior, I implemented my solution to be disappointed by: panic("reflect.MakeSlice of non-slice type") The signature is ...
    Mar 16, 2013 at 8:36 pm
    Mar 30, 2013 at 7:20 pm
  • Hi I was wondering if there is a good link about that has the whole process from start to finish for installing go, goclipse & gocode on windows that works I have been trying for 2 days but I seam to ...
    1985 James Richardson1985 James Richardson
    Mar 8, 2013 at 9:20 pm
    Mar 10, 2013 at 8:20 pm
  • Hi, I was wondering whether there's any mechanism to iterate over a map that is capable of suspending the iteration and resuming it later. E.g. something along the lines: for k, v in range myMap { // ...
    Péter SzilágyiPéter Szilágyi
    Mar 30, 2013 at 11:43 pm
    Apr 3, 2013 at 9:46 am
  • Hi, I am trying to write a small tool to do "smart downloads" from a "kind-of" rest web interface. (The project is in github, https://github.com/josvazg/slicesync but it might not have the lastest ...
    Mar 14, 2013 at 1:05 pm
    Mar 20, 2013 at 8:37 am
  • I have been thinking about how to make godoc DWIM a little more, but it's not quite structured right. That's a job for another day. So instead I wrote doc: go get code.google.com/p/rspace.cmd/doc ...
    Rob PikeRob Pike
    Mar 14, 2013 at 12:05 am
    Mar 18, 2014 at 4:15 am
  • Hi, I'm new to Go and I've had some frustration trying to get started with go tool and make sense of its conventions. The documentation for it is pretty good and comprehensive, but it's mostly ...
    Mar 30, 2013 at 4:12 pm
    Apr 3, 2013 at 12:41 am
  • Hi, What the Go's way for the SET data structure? Like the list in Perl that offers FIFO/Stack operation and delete from random places, or maybe part of them. The only thing I care about for the ...
    Tong SunTong Sun
    Mar 3, 2013 at 9:14 pm
    Mar 4, 2013 at 11:49 pm
  • I'm working on a post about how Go's simplicity helps prevent bugs by disallowing error prone code constructions. I thought it might help to have some specific examples of common bugs that wouldn't ...
    Nate FinchNate Finch
    Mar 3, 2013 at 9:54 pm
    Mar 6, 2013 at 8:56 am
  • Hi gophers,stupid question: How to sort []float64 to get both sorted data and the permutation of indices that would generate them? (Permuted indices alone would be sufficient). (Yes, there is an ...
    Peter A. CejchanPeter A. Cejchan
    Mar 11, 2013 at 7:12 am
    Mar 12, 2013 at 3:26 pm
  • here is the code http://play.golang.org/p/Ol5smHpBLS prog.go:50: method t.Year is not an expression, must be called -- You received this message because you are subscribed to the Google Groups ...
    Davy zhangDavy zhang
    Mar 5, 2013 at 7:48 am
    Mar 5, 2013 at 6:41 pm
  • Some of our dev server having 1G memory, and when compiling the whole application, It's causing signal 9, Which is using too much memory. Is there a way to control it not using that much memory when ...
    Felix SunFelix Sun
    Mar 14, 2013 at 11:19 am
    Mar 20, 2013 at 8:53 pm
  • Newbie question, but probably common (can't find any definite answers with code samples though). I am trying to build a REST app (using go-restful) that talks to a Cassandra backend (using gossie) ...
    Mar 29, 2013 at 8:18 pm
    Apr 4, 2013 at 8:41 am
  • In Go you can use the syntax a op= b as a shorthand for a = a op b with a being evaluated only once. With this in mind I tried to write a program that contained a code fragment similar to this one ...
    Robert ClauseckerRobert Clausecker
    Mar 1, 2013 at 7:02 pm
    Mar 3, 2013 at 2:38 am
  • Friend of mine sent me this: http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=go Disclosure: no intention to start any wars $) -- You received this message because you are ...
    Andrew ZAndrew Z
    Mar 4, 2013 at 4:29 pm
    Mar 25, 2013 at 8:32 pm
  • Ok I am going to risk all by asking a noob question to this group. I am looking at a project where I need speed and the ability to query a database and do some text processing and file writing, and ...
    John DrummondJohn Drummond
    Mar 20, 2013 at 7:21 pm
    Mar 25, 2013 at 6:33 pm
  • Interesting framework benchmark where Go outperforms to the famous Django and Rails, although Java is the king here: http://www.techempower.com/blog/2013/03/28/framework-benchmarks/ -- You received ...
    Mar 28, 2013 at 7:17 pm
    Apr 6, 2013 at 2:30 pm
  • Hi, Sometime I need to give a bit of explanation to a not-so-straightforward algorithm, and when I do, I want to explain in bullet points. Several short lines that are right to the point. However, ...
    Tong SunTong Sun
    Mar 5, 2013 at 2:15 am
    Oct 24, 2014 at 9:04 pm
  • I was sad to notice that database/sql's DB was a struct and not an interface, which makes testing code that uses the database a little more difficult. Does anyone have some tips on how to set up code ...
    Nate FinchNate Finch
    Mar 25, 2013 at 12:23 pm
    Sep 30, 2014 at 8:17 pm
  • I've been looking at some of the Go REST micro-frameworks like Gorilla, Pat, web.go, goweb, etc. They all seem to be decent looking at the docs and examples. Has anyone used any of them in production ...
    Mar 14, 2013 at 5:13 pm
    Jul 11, 2014 at 4:05 pm
  • Howdy I am reading the articles on Google's build that iant referred to in another post with interest. Looking at this one ...
    Albert StrasheimAlbert Strasheim
    Mar 31, 2013 at 8:14 am
    Apr 4, 2013 at 12:11 am
  • Setting up the various GOPATH mediated directory hierarchies so the go front end works correctly with both local and public repositories can be challenging for newcomers. I started with Go when it ...
    Lawrence BakstLawrence Bakst
    Mar 31, 2013 at 9:54 am
    Mar 31, 2013 at 9:09 pm
  • I guess this is a very broad question, but since I'm a beginner, I can't really specify this much more. I've looked at some code and libraries, for example redigo, and what I'm mostly seeing is that ...
    Jakub ArnoldJakub Arnold
    Mar 19, 2013 at 4:27 pm
    Mar 20, 2013 at 3:11 am
  • I asked a couple of questions on IRC that I think deserve a slightly wider audience. I'll post the second question as a separate post. I've been writing go bindings for C library GNU Readline. One of ...
    Rocky BernsteinRocky Bernstein
    Mar 16, 2013 at 2:00 am
    Mar 19, 2013 at 12:28 pm
  • To make exported identifier naming schemes cleaner in languages which do not have cased characters (such as Mandarin), I propose that in Go 2, if it ever occurs, the first rule defining exported ...
    Kevin GilletteKevin Gillette
    Mar 11, 2013 at 2:03 am
    Aug 6, 2014 at 9:48 am
  • Recently came across the Swagger specification<https://github.com/wordnik/swagger-core/wiki for describing RESTful APIs. Looks like a pretty good idea, and includes some cool tools for visualizing an ...
    Jason McVettaJason McVetta
    Mar 26, 2013 at 1:36 am
    Mar 21, 2014 at 5:01 am
  • I’ve programmed using Qt Designer/Creator for about four years and for the most part really like it. The ability to have a WYSIWYG widget editor really helps me create better looking GUIs much faster ...
    Rick SmithRick Smith
    Mar 26, 2013 at 4:39 pm
    Jun 24, 2013 at 9:48 am
  • Is there any recent news on this? As a new go user, it was very surprising to me to discover that I have to convert my integer to and from a float64 in order to do a simple absolute value. In the ...
    Mar 29, 2013 at 5:21 pm
    Mar 31, 2013 at 6:40 pm
  • Rango uses a generate-compile-run loop. Successively, for each new command line entry, a new program is generated in Go, compiled in Go and run on your machine. Any compiler error of the generated ...
    Ernest MickleiErnest Micklei
    Mar 16, 2013 at 2:24 pm
    Apr 13, 2013 at 8:58 pm
  • Hi, I've looked through this mailing list, as well other resources, about this, but the discussions seem to always end with the point that dynamic linking isn't possible, therefore dynamic loading ...
    E S HarneyE S Harney
    Mar 27, 2013 at 1:09 pm
    Apr 5, 2013 at 6:20 am
  • Hi everyone, With go 1.0.x I'd use "go run *.go" to run my program without building it first ("go build; ./someprogram"). With tip I get $ go run *.go go run: cannot run *_test.go files (dns_test.go) ...
    Mar 25, 2013 at 11:51 pm
    Apr 4, 2013 at 1:11 am
  • It's always hard for me to talk to people who aren't gophers about exported vs. unexported fields. The concept is easy, but the naming is hard. Most other languages have public and private... so I ...
    Nate FinchNate Finch
    Mar 22, 2013 at 7:14 pm
    Mar 23, 2013 at 4:28 am
  • I know, what can possibly go wrong by depending on a "always clean" master trunk in VCS? For the rest of us, what do you think of integrating Semantic Versioning like http://semver.org/ in go get? In ...
    Erik UngerErik Unger
    Mar 11, 2013 at 3:47 pm
    Mar 13, 2013 at 8:06 am
  • Hi, What's the best way to get a random key out of a map? range is effectively randomized in Go 1 so I can range and break after the first result. But that's not in the specification and I don't know ...
    Julian OrthJulian Orth
    Mar 7, 2013 at 4:21 pm
    Mar 11, 2013 at 11:16 pm
  • I'm writing a package behaves just like a slice of bits, but is more memory efficient than an actual slice of booleans (since they each actually take up a byte in memory). This is useful when you ...
    Nate FinchNate Finch
    Mar 8, 2013 at 1:44 am
    Mar 10, 2013 at 10:25 pm
  • I have put together a list "The Case for Go": https://gist.github.com/ungerik/3731476 Any more success stories I have missed? -Erik -- You received this message because you are subscribed to the ...
    Erik UngerErik Unger
    Mar 1, 2013 at 10:06 am
    Mar 8, 2013 at 10:59 am
  • Some questions about unsafe.Pointer: 1. If an object is reference only be a unsafe.Pointer, will this object be collected? 2. If the fields of the object contain some pointers as well, how about ...
    David DENGDavid DENG
    Mar 1, 2013 at 10:18 pm
    Mar 4, 2013 at 1:53 am
  • Hi, If I want to make a Go slideshow for a presentation, similar to talks Andrew and Rob have given, is there any documentation on that, or should I just read source and try to understand it? Boris ...
    Boris SolovyovBoris Solovyov
    Mar 20, 2013 at 1:45 pm
    Sep 21, 2014 at 10:58 pm
  • In the below code, "hello" is called twice when I accessed to http://localhost:8080. why? package main import ( "fmt" "net/http" ) func main() { http.HandleFunc("/", handler) ...
    Mar 22, 2013 at 11:14 am
    Mar 26, 2013 at 3:44 pm
  • Hi, Is there a way to increase the default 1 second benchmark run-time without hacking into the go testing package? I'm trying to get a reliable number for a crypto protocol handshake, but the ...
    Péter SzilágyiPéter Szilágyi
    Mar 22, 2013 at 12:15 pm
    Mar 22, 2013 at 7:56 pm
  • https://github.com/serbaut/go-mysql I needed to write a load simulator for mysql and Go seemed like an excellent choice. However I ran into issues with the current drivers (with SSL support, null ...
    Mar 14, 2013 at 10:50 pm
    Aug 14, 2013 at 1:17 am
  • So I tried to figure out which is the best way to implement FIFO/LIFO queue - main criteria was performance. So here https://github.com/egonelbre/goqueuestest are 16 different ways of implementing ...
    Mar 31, 2013 at 9:01 pm
    Apr 4, 2013 at 2:37 pm
  • I think the current text/template lose the benefit of a compiled language, for example not existed method call in template don't show error until in runtime, I wonder is it feasible to create a ...
    Felix SunFelix Sun
    Mar 8, 2013 at 11:41 pm
    Mar 31, 2013 at 10:44 pm
Group Navigation
period‹ prev | Mar 2013 | next ›
Group Overview
groupgolang-nuts @

529 users for March 2013

Dave Cheney: 91 posts Jan Mercl: 90 posts Nate Finch: 88 posts Minux: 78 posts Kyle Lemons: 76 posts Dan Kortschak: 71 posts Kevin Gillette: 63 posts Rob Pike: 54 posts Péter Szilágyi: 53 posts Dmitry Vyukov: 46 posts Michael Jones: 44 posts Archos: 41 posts Rémy Oudompheng: 41 posts Ian Lance Taylor: 40 posts Andrew Gerrand: 35 posts David DENG: 35 posts Carlos Castillo: 33 posts Tong Sun: 33 posts John Nagle: 32 posts Russ Cox: 30 posts
show more