FAQ

Search Discussions

517 discussions - 3,816 posts

  • Hi all. I'm trying to implement a Linq-alike for Go, mainly for practice but also because I find Enumerables really easy to work with. Unfortunately, I have hit several walls, all due to missing ...
    Sod AlmightySod Almighty
    May 17, 2013 at 8:25 pm
    May 23, 2013 at 6:32 pm
  • Hi, When I see the Memory stats of a program in Windows 7 64 Bit and compare the runtime Alloc memory, the memory usage reported by the system is way more. Here is my code : var m *runtime.MemStats = ...
    RaheelgupRaheelgup
    May 25, 2013 at 5:34 am
    Jun 8, 2013 at 1:49 am
  • Hi. For writing software for simple problems, what are the advantages of using Go over Haskell? Let's take the following problem: calculate the product of the first 10 natural numbers, of the first ...
    NoonnopeNoonnope
    May 27, 2013 at 10:56 am
    Jun 4, 2013 at 6:10 am
  • Hello, gophers! This is a reanimation of an older thread<https://groups.google.com/forum/?fromgroups=#!searchin/golang-nuts/relative$20imports/golang-nuts/n9d8RzVnadk/fBAM78MOa_4J about banning usage ...
    Andrew LytvynovAndrew Lytvynov
    May 15, 2013 at 7:38 am
    Oct 25, 2014 at 3:41 am
  • Hello, my question may seem odd at first sight. But I think it is a valid one, because VMs meanwhile offer very good performance and portability anyway. Is generating machine code in Go a deliberate ...
    BienleinBienlein
    May 21, 2013 at 3:34 pm
    May 25, 2013 at 1:48 pm
  • I have been out of programming for the past decade. I recently stumbled across Go and this is the first language I have seen in this past decade that has caught my interest as I think it shows the ...
    Jim EllisJim Ellis
    May 30, 2013 at 8:05 pm
    Jun 18, 2013 at 3:16 am
  • I've rewritten several services in use by my employer in Go as HTTP servers. A common theme with these services are errors of the forms "too many open files", "no such host" and the like. I'm not ...
    Matt JoinerMatt Joiner
    May 23, 2013 at 11:04 am
    May 24, 2013 at 6:59 pm
  • Hi Go nuts, Go 1.1 is out! You can read the announcement blog post here: http://blog.golang.org/2013/05/go-11-is-released.html You can download binary and source distributions from the usual place ...
    Andrew GerrandAndrew Gerrand
    May 13, 2013 at 9:46 pm
    May 15, 2013 at 7:19 am
  • Hello, I found this statement in http://go-lang.cat-v.org/quotes: “*I have reimplemented a networking project from Scala to Go. Scala code is This sounds really exciting and puzzles me. I would like ...
    BienleinBienlein
    May 22, 2013 at 9:01 am
    May 23, 2013 at 7:54 pm
  • Hi gophers, here is the open source project for managing packages version specifically. For now, it provides following commands: - build: compile and install packages, a shortcut of `go install` + ...
    Jiahua ChenJiahua Chen
    May 24, 2013 at 4:45 pm
    May 29, 2013 at 2:42 pm
  • hi i write a test case for socket-write/read, it's only use client.go send 2bytes in 10 million times , and the server.go received them but its too slow , a bout 10 times slow than c. i write wrong? ...
    PeterPeter
    May 29, 2013 at 3:45 am
    Jun 8, 2013 at 7:07 am
  • Hello! When unused packages or variables are present in Go code, the compiler gives error. Suggestion: make it possible to delete unused variables with the compiler or maybe the gofmt tool. -- You ...
    StarfishStarfish
    May 3, 2013 at 12:42 pm
    May 4, 2013 at 9:29 pm
  • In a previous post ( https://groups.google.com/d/msg/golang-nuts/qt3ABSpKjzM/c9uLkKLZ05QJ ), Rog pointed out that he hadn't seen any convincing argument that would guarantee that the following ...
    NicoNico
    May 24, 2013 at 7:21 pm
    May 28, 2013 at 11:34 am
  • Hi, can somebody enlighten me why ioutil/TempFile takes a prefix for a filename instead of a suffix? Everytime I need it, I also need to make sure to keep the file extension. That would be easily ...
    Meta keuleMeta keule
    May 27, 2013 at 7:23 am
    May 27, 2013 at 11:56 am
  • Hi Evan, Thanks for taking the time to write this. Do you have any update on the book, I was wondering when the book is going to be published? Eagerly waiting for new chapters to come out :) -- You ...
    DiptanucDiptanuc
    May 3, 2013 at 8:28 pm
    Mar 25, 2014 at 5:55 pm
  • Hi, I know Go is not true OOP language, but is there any way for "base class" to call method of "derivated class" polyformically, just like C++ virtual methods? Thank you -- You received this message ...
    Drago IvanovDrago Ivanov
    May 6, 2013 at 9:42 pm
    May 8, 2013 at 8:48 am
  • If anyone is interested, I made a list of colors as image/color.RGBA. It currently only has "web safe" colors, though I may add more as I want them. https://github.com/btracey/colorlist -- You ...
    Brendan TraceyBrendan Tracey
    May 3, 2013 at 3:03 pm
    May 16, 2013 at 5:47 pm
  • I'm trying to port a large Ruby Sinatra based web app to Go. Love the language so far (albeit, the lack of macros, generics, overloading, real classes, ternary conditions, string interpolation to ...
    Ace RajanAce Rajan
    May 23, 2013 at 8:56 pm
    May 29, 2013 at 9:24 pm
  • I can shebang my Go code, but only if I always run with dot slash notation. When I try to "go run hello.go", Go complains: hello.go:1:1: illegal character U+0023 '#' Could we please add shebang ...
    Andrew PennebakerAndrew Pennebaker
    May 4, 2013 at 5:28 am
    May 6, 2013 at 9:42 pm
  • Hello, everybody! I'm new here, and getting started with Go. What is the preferred way to deal with configuration ("properties files") in Go? Thanks, glauber -- You received this message because you ...
    Glauber RibeiroGlauber Ribeiro
    May 9, 2013 at 5:54 pm
    Aug 15, 2014 at 9:39 am
  • I looked around everywhere I could find, and I see two different interpretations of how the $GOPATH should work. 1.) The most common: The $GOPATH provides us with a place to store common, shared ...
    FaqinghereFaqinghere
    May 5, 2013 at 3:52 am
    May 8, 2013 at 3:36 am
  • Hi all! We will be posting the results of Round 4 of our framework benchmarks project tomorrow (May 2). Go is the comeback king in Round 4, demonstrating tremendous database performance on EC2 (just ...
    Brian HauerBrian Hauer
    May 2, 2013 at 1:57 am
    May 4, 2013 at 9:42 pm
  • Hi Go nuts, We have just released go1.1rc2, a release candidate for Go 1.1. This release candidate should be stable and production-ready, but please exercise caution when deploying it to critical ...
    Andrew GerrandAndrew Gerrand
    May 7, 2013 at 3:21 am
    May 8, 2013 at 10:47 am
  • I'm trying to determine whether two slices overlap. This is what I have come up with using "unsafe": package main import ( "fmt" "unsafe" ) func doesOverlap(a, b []float64) bool { aStart := ...
    NicoNico
    May 21, 2013 at 11:36 am
    May 12, 2014 at 8:10 pm
  • I've written an implementation of an integer-valued semaphore and would appreciate any comments. The package is github.com/robryk/semaphore. Thanks, Robert -- You received this message because you ...
    RobertRobert
    May 30, 2013 at 1:16 am
    May 30, 2013 at 8:32 pm
  • i few months back i played about producing some parallel (channel'ed) LINQ type codes, needed much of it, but then thought i'd try and make a general library, for experience, but couldn't quite make ...
    Simon placeSimon place
    May 20, 2013 at 9:58 pm
    May 24, 2013 at 5:48 am
  • If any of you haven't seen, the fireside chat is up https://www.youtube.com/watch?v=p9VUCp98ay4 . Here are some thoughts I had while watching it It was commented that profiling tools are very good, ...
    Brendan TraceyBrendan Tracey
    May 19, 2013 at 4:57 pm
    May 21, 2013 at 4:10 pm
  • Hi everyone, For licensing purposes, according to me, the best and secure way is to generate a unique key for the client's machine and provide a corresponding license key for that key. For this ...
    Aboozar GhafariAboozar Ghafari
    May 13, 2013 at 12:35 am
    May 14, 2013 at 4:54 pm
  • Hi all, I'm writing to ask about what appears to be a relatively large (as opposed to absolutely large...) performance regression in the current builds of Go 1.1. The benchmark can be seen here, as a ...
    Nick StenningNick Stenning
    May 5, 2013 at 9:26 pm
    May 11, 2013 at 12:20 pm
  • Hi, A few months ago, I got some CLs reviewed and submied that added some low level work towards support for creating shared libraries written in Go. The more intrusive runtime changes were never ...
    Elias NaurElias Naur
    May 29, 2013 at 8:16 pm
    Aug 17, 2014 at 3:30 pm
  • Hi All In R1, it list out OS and its' version requirements to compile Go compiler itself. As a system admin who need to support all kind of OS with various OS versions, My question is about the Go ...
    T.J. YangT.J. Yang
    May 22, 2013 at 12:58 pm
    Feb 5, 2014 at 11:44 pm
  • Hi, I'm hitting a roadblock with package unsafe, maybe someone here can help. I'd like to get a copy of a slice of structs from another struct passed as an interface. None of the structs are exported ...
    Arne HormannArne Hormann
    May 31, 2013 at 12:48 pm
    Jun 1, 2013 at 10:56 pm
  • I'm using the system call `ReadConsoleInputW` to get characters in Unicode from console, after of set the code page to UTF-8. But the data returned for the Unicode character is not UTF-8 --checked ...
    ArchosArchos
    May 11, 2013 at 6:16 pm
    May 13, 2013 at 9:45 pm
  • Hi Go nuts, We have just released go1.1rc1, a release candidate for Go 1.1. It is cut from the default branch at revision bea6199b09ea. This release candidate should be stable and production-ready, ...
    Andrew GerrandAndrew Gerrand
    May 1, 2013 at 2:59 pm
    May 2, 2013 at 8:18 pm
  • A zillion processors. Maybe something to implement channels with hw assistance? Global memory could be slow, if there would be enough of per core cache? Any other wild ideas? Or would some existing ...
    Anssi PorttikiviAnssi Porttikivi
    May 28, 2013 at 3:23 pm
    May 31, 2013 at 11:40 am
  • I've forked launchpad.net/goamz to launchpad.net/~anacrolix/goamz/goamz to apply a fix. However all the unchanged code in the fork (or branch depending on lingo) still references the original import ...
    Matt JoinerMatt Joiner
    May 20, 2013 at 5:49 am
    May 20, 2013 at 2:16 pm
  • Hi, I have made a simple web server with Go, nothing fancy, it mainly serves static files and handles ajax requests running some external scripts and returning their output back to the browser. The ...
    Miguel PignatelliMiguel Pignatelli
    May 17, 2013 at 9:20 am
    May 18, 2013 at 5:49 pm
  • My go app has a dependency on the foo library (hosted on github), but the latest commit of foo is broken, so I need to declare that I want to depend on an earlier commit. In general, I want to be ...
    Traun LeydenTraun Leyden
    May 10, 2013 at 5:30 am
    May 15, 2013 at 5:36 am
  • The problem there is the T (how does Where() know to accept a T?), blah (how does From() accept a blah?) and so on. You'd have to write a hell of a lot of boilerplate every time you used it. Suppose ...
    Sod AlmightySod Almighty
    May 18, 2013 at 1:04 am
    May 18, 2013 at 8:27 pm
  • I need to get get IPv4 addresses packed in an integer out and do not like the way I end up doing it. Seems to be that too much heavy machinery used for a simple thing. What do I miss? func ...
    Vlad DidenkoVlad Didenko
    May 10, 2013 at 4:39 am
    Mar 12, 2014 at 1:48 pm
  • I'm currently evaluating Go to build a few tools and utilities for internal use in my company. So far, it is aces in my book with the exception of printing. Despite having searched for the past week ...
    KulKul
    May 8, 2013 at 1:14 pm
    May 24, 2013 at 8:05 pm
  • I'm trying to implement a counting semaphore and in the "runtime" package there are semacquire and semrelease that could be used to implement it. I'm trying to figure why aren't they visible -- my ...
    EgonEgon
    May 12, 2013 at 1:52 pm
    May 13, 2013 at 7:13 pm
  • Hi golang nuts, Is there have any open source golang interpreter for Linux currently? The reason of why I looking for golang interpreter is that I want to use interpreter to perform some amazing job, ...
    zhangwei(Jovi)zhangwei(Jovi)
    May 16, 2013 at 1:54 pm
    May 31, 2013 at 4:32 am
  • Does anyone think this small inconsistency is somewhat unfortunate? package main import "fmt" func main() { *// Ok: Functions that return 0, 1, 2, ... values* f0 := func() {} f1 := func() (string) { ...
    Dmitri ShuralyovDmitri Shuralyov
    May 29, 2013 at 10:56 pm
    May 30, 2013 at 5:56 pm
  • I'm very new to go. ~ 2 weeks. I'm learning go by writing a small middleware system. End points can be consumers or producers I've just started to model this with interfaces type Endpter interface { ...
    Eric PalmerEric Palmer
    May 22, 2013 at 12:39 pm
    May 22, 2013 at 7:49 pm
  • Among the Go sessions at I/O this year is a Fireside Chat with the Go Team<https://developers.google.com/events/io/sessions/332838749 , where we will be talking about Go, and taking questions from ...
    Andrew GerrandAndrew Gerrand
    May 15, 2013 at 7:48 pm
    May 21, 2013 at 6:35 am
  • I just installed the official darwin binary for go 1.1 on a MacBook Pro Retina and was very surprised to see that I wasn't getting the performance I was getting with recent development versions. In ...
    Isaac AriasIsaac Arias
    May 15, 2013 at 1:46 am
    May 15, 2013 at 4:02 pm
  • Hi, I responded to Dave Cheney's request for people to run his autobench tool to compare Go 1.0.3 with tip. Dave noted that my results contained a huge regression in the http benchmark. This was on a ...
    James O'GormanJames O'Gorman
    May 6, 2013 at 6:00 pm
    May 30, 2013 at 11:49 pm
  • Recently I implemented UDP NAT Hole Punching in go just for the sake of it (seemed like something interesting to do) and now this weekend I will give a go at implementing TCP NAT Hole Punching. To do ...
    Bruno AlbuquerqueBruno Albuquerque
    May 7, 2013 at 4:15 pm
    May 17, 2013 at 10:54 am
  • As you know, google reader will close soon. Do you know someone who are writing a feed reader in written in golang? -- You received this message because you are subscribed to the Google Groups ...
    MattnMattn
    May 2, 2013 at 2:02 pm
    May 11, 2013 at 12:58 am
Group Navigation
period‹ prev | May 2013 | next ›
Group Overview
groupgolang-nuts @
categoriesgo
discussions517
posts3,816
users623
websitegolang.org

623 users for May 2013

Dave Cheney: 137 posts Minux: 118 posts Jan Mercl: 88 posts Ian Lance Taylor: 83 posts Sod Almighty: 74 posts Dan Kortschak: 72 posts Dlin: 72 posts Dmitry Vyukov: 70 posts Archos: 64 posts Jesse McNelis: 47 posts Tad Glines: 47 posts Brendan Tracey: 46 posts Péter Szilágyi: 46 posts Gustavo Niemeyer: 42 posts Michael Jones: 42 posts Andrew Gerrand: 41 posts Aaron France: 39 posts Andrey mirtchovski: 39 posts John Nagle: 39 posts N. Riesco - GMail: 39 posts
show more