FAQ

Search Discussions

375 discussions - 2,235 posts

  • https://groups.google.com/d/topic/golang-nuts/-gR0e9tc-CM/discussion They have a small talk about that already! Vào 12:19:29 UTC+7 Thứ hai, ngày 29 tháng bảy năm 2013, Liigo Zhuang đã viết: -- You ...
    Nguyên Nguyễn Văn CaoNguyên Nguyễn Văn Cao
    Jul 29, 2013 at 6:51 am
    Aug 8, 2013 at 5:24 am
  • Hi there, coming from the very flexible and expressive Scala language I miss the concise higher order functions of collections (e.g. List(1, 2, 3).each { println } ). But I've grown to love Go's ...
    StephanosStephanos
    Jul 13, 2013 at 5:25 pm
    Jul 28, 2013 at 11:35 pm
  • A few fundamentals to building a great packaging story. http://nathany.com/go-packages/ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
    Nathan YoungmanNathan Youngman
    Jul 26, 2013 at 1:42 pm
    Aug 23, 2013 at 1:00 pm
  • New package for Gophers who log. go get github.com/golang/glog After the jump is a copy of the README. -rob glog ==== Leveled execution logs for Go. This is an efficient pure Go implementation of ...
    Rob PikeRob Pike
    Jul 16, 2013 at 5:44 am
    Jul 23, 2013 at 10:14 pm
  • The grammar looks like this: data []int sort.Sort(sort.Interface { Len: func() int { return len(data) }, Less: func(i, j int) bool { return data[i] < data[j] }, Swap: func(i, j int) { data[i], ...
    David DENGDavid DENG
    Jul 8, 2013 at 3:11 am
    Jul 11, 2013 at 11:08 pm
  • It seems that the development focus currently only lies on the runtime and compilers while the standard library gets left behind - although there are a ton of pending issues that need attention ...
    Erik AignerErik Aigner
    Jul 19, 2013 at 9:38 pm
    Jul 22, 2013 at 12:00 am
  • I upgraded to Go 1.1.1 (late, i know...) and found out that some of my packages no longer compile without errors. An example of this new type of error: ../OrbitCamera.go:10:2: case-insensitive file ...
    ErwinErwin
    Jul 4, 2013 at 12:16 am
    Nov 14, 2013 at 9:23 am
  • Hi all, I have been evaluating golang for building a distributed machine learning backend (the other contender is C++) and although I must say I've been easily won over by many of golang's language ...
    Marius CobzarencoMarius Cobzarenco
    Jul 18, 2013 at 1:44 pm
    Sep 26, 2013 at 8:57 pm
  • I believe I've found a good approach. I'd appreciate feedback. I'm thinking about these four benefits in regard to traditional OOP. 1. Polymorphism 2. Providing base implementation for 'sub-classes' ...
    AaronAaron
    Jul 9, 2013 at 3:45 am
    Jul 12, 2013 at 9:42 pm
  • In case you're not in the Google+ community, we've just published a small leg of an experiment that is part of a larger project at Canonical ...
    Gustavo NiemeyerGustavo Niemeyer
    Jul 17, 2013 at 2:45 am
    Jul 22, 2013 at 3:56 am
  • I agree. Coming from C++ and learning Go now, I am missing templates the most (though generics as in Java would suffice given the cool interface duck typing lark), followed soon after by things like ...
    JammywJammyw
    Jul 7, 2013 at 3:13 am
    Aug 27, 2013 at 4:00 pm
  • Hello, Since I am messing with Go, I am wondering how I can implement resource tracking. I will give little example(it is not tested/compiled, just for illustration): type A struct { db ...
    Drago IvanovDrago Ivanov
    Jul 12, 2013 at 2:55 pm
    Jul 22, 2013 at 5:13 am
  • I have a server where the heap often blows up on during heavy use. The server make many http/https calls, and processed the results for the user. Looking at the heap profile, almost everything there ...
    James BardinJames Bardin
    Jul 23, 2013 at 3:38 pm
    Sep 12, 2013 at 2:27 am
  • This has come up before: Should send/receive operations on channels be protected by a lock? I couldn't find an answer to this question in the doc. From the semantics of send, it is clear that sends ...
    Petar MaymounkovPetar Maymounkov
    Jul 16, 2013 at 8:10 pm
    Jul 18, 2013 at 10:45 pm
  • Things like https://codereview.appspot.com/11410043/ make me wish there were a way to make a channel as part of a larger structure in a single allocation. This isn't the first time I've wished this ...
    Keith RarickKeith Rarick
    Jul 17, 2013 at 6:47 pm
    Jul 18, 2013 at 3:38 pm
  • Hello! Every Google service I use and like seems to get pulled. Recently Google announced the retirement of Reader, iGoogle, Talk and Latitude. What guaranties can you give about Go? Will Rob, Andrew ...
    StarfishStarfish
    Jul 28, 2013 at 5:25 pm
    Aug 5, 2013 at 2:57 pm
  • I'm a fans for TDD. To do TDD, I need a mocking framework tool to clarify the package dependencies; I also need a test coverage tool to report the test coverage for my test. Ideally I will use the ...
    SammiSammi
    Jul 14, 2013 at 11:04 am
    Sep 22, 2013 at 6:53 pm
  • I am running 64bit Linux Mint, and the standard compiler (go version go1.1.1 linux/amd64) compiles the following program to run in 11.557s, whereas the same program runs in 4.843s when compiled by ...
    Jonathan T BarnardJonathan T Barnard
    Jul 9, 2013 at 3:46 am
    Jul 10, 2013 at 3:02 am
  • Dear All, For my own use I wrote a simple tracing framework for Go. Code using this framework can emit diagnostic messages using the trace.T() function. In normal operation, calls to trace.T() have ...
    Jochen VossJochen Voss
    Jul 2, 2013 at 9:10 pm
    Jul 5, 2013 at 4:01 pm
  • When import "github.com/go-sql-driver/mysql", I got compile error: "imported and not used: github.com/go-sql-driver/mysql" And after removing this import, I got runtime error: "sql: unknown driver ...
    Liigo ZhuangLiigo Zhuang
    Jul 13, 2013 at 2:26 am
    Mar 28, 2014 at 12:29 pm
  • I'm sending a large number of files over a tcp connection by calling io.Copy() to a bufio.Writer. Although the first few hundred files are transferred correctly, at some point io.Copy() decides to ...
    Ives van der FlaasIves van der Flaas
    Jul 21, 2013 at 8:12 pm
    Jul 25, 2013 at 3:30 am
  • Hi all, I just had an interesting conversation with a friend. I think the problem we are talking about is quite open ended. So I would like to share it and see what others say about it. Let's first ...
    MonnandMonnand
    Jul 22, 2013 at 4:28 am
    Jul 23, 2013 at 8:19 am
  • I must be missing something: this function apparently does not work: http://play.golang.org/p/XhELhyJCrF see GAR(w) in the paper attached. Thanks, Peter. -- You received this message because you are ...
    Peter A. CejchanPeter A. Cejchan
    Jul 17, 2013 at 8:33 am
    Jul 19, 2013 at 6:31 am
  • I recently tested comodo ssl analyzer and beast against my apache setup, It seems that I have taken the necessary steps to prevent it for apache. Now I would like to achieve the same thing with a ...
    Uticdmarceau2007Uticdmarceau2007
    Jul 30, 2013 at 7:49 pm
    Jan 13, 2014 at 12:11 am
  • Given the example http://play.golang.org/p/gy5QTUSYIm I was wondering there was tag syntax or other controls I could use to set the namespace prefixes to be used by the marshal operation? Jim -- You ...
    Jim RobinsonJim Robinson
    Jul 10, 2013 at 8:50 pm
    Dec 11, 2013 at 2:41 am
  • Hi all, Just wanted to share that we've posted Round 6 of our ongoing project benchmarking web application frameworks. http://www.techempower.com/benchmarks/#section=data-r6&hw=i7&test=json Go ...
    Brian HauerBrian Hauer
    Jul 3, 2013 at 3:02 pm
    Jul 22, 2013 at 8:38 pm
  • I saw Herb Sutter's lecture "C++ Concurrency, 2012 State of the Art (and Standard)" at C++ and Beyond [1] - after having seen Rob Pike's lecture "Go concurrency patterns" [2] last year. I was ...
    Øyvind TeigØyvind Teig
    Jul 31, 2013 at 10:24 am
    Aug 3, 2013 at 4:11 am
  • Hi all, I've noticed a weird bug in my code and tracked in down to the following issue. I've no idea whether to consider this a bug or a feature, so please do share your opinion. My issue is that if ...
    Péter SzilágyiPéter Szilágyi
    Jul 31, 2013 at 5:00 pm
    Aug 1, 2013 at 11:14 am
  • Hi, I have this code [https://github.com/quatrilio/find-duplicated-files/blob/master/walk.go] that simply calculates the hash (sha256sum) of each file of an specific directory and outputs a JSON file ...
    XanXan
    Jul 16, 2013 at 3:40 pm
    Jul 20, 2013 at 8:52 pm
  • I' trying to debug a test file using gdb, but it reports an error. My actual working directory is:~/go/src/github.com/kless/shutil/shconf go test -c -gcflags "-N -l" LANG=C gdb shconf.test It shows ...
    ArchosArchos
    Jul 15, 2013 at 8:44 am
    Jul 15, 2013 at 2:55 pm
  • Hi, I have this code: http://play.golang.org/p/J2GSPJrGu7 When I compile I receive the strange error: $ go build walk.go # command-line-arguments ./walk.go:11: imported and not used: "time" ...
    XanXan
    Jul 8, 2013 at 11:53 am
    Jul 10, 2013 at 3:44 pm
  • I've been trying to write some ARM assembler to be linked with Go. I've managed to mostly puzzle out the unusual syntax (unusual to someone used to ARM's official notation anyway!) with the help of ...
    Nick Craig-WoodNick Craig-Wood
    Jul 12, 2013 at 7:02 pm
    Jul 21, 2013 at 7:39 am
  • Hello, I am about to start a project that will heavily use messages ( interface{} type, with dynamic type casts) to communicate between program modules. There will be probably several hundreds ...
    Drago IvanovDrago Ivanov
    Jul 6, 2013 at 12:41 pm
    Jul 10, 2013 at 4:08 pm
  • Hello everyone, I've recently been working on a native Go library for D-Bus, and I think that it's finally ready to be announced. It can be found at https://github.com/guelfey/go.dbus. It's ...
    Georg ReinkeGeorg Reinke
    Jul 22, 2013 at 11:32 am
    Oct 10, 2013 at 8:44 pm
  • Hi everyone, Can anyone help me know if I'm doing something wrong programming? http://play.golang.org/p/AsOPljECm7 In Struct, if the fields are in uppercase, the above code works, but if the fields ...
    Felipe MamudFelipe Mamud
    Jul 28, 2013 at 8:16 am
    Jul 29, 2013 at 12:59 pm
  • The race detector blog post says "It will not issue false positives, so take its warnings seriously". Is it also true that the race detector doesn't issue false negatives? I'm told that in the ...
    Brendan TraceyBrendan Tracey
    Jul 14, 2013 at 11:12 pm
    Jul 15, 2013 at 4:48 pm
  • I ask for maps because for slices this seems potentially problematic: what does "same reference" entail for a slice? Overlapping underlying arrays? Same starting pointer regardless of whether their ...
    JsorJsor
    Jul 13, 2013 at 11:36 am
    Jul 15, 2013 at 12:57 am
  • I was refactoring some code recently and was surprised to discover that this doesn't compile. ------------------------------------------------------------ package main import "fmt" func f() { ...
    Nick Craig-WoodNick Craig-Wood
    Jul 11, 2013 at 3:12 pm
    Jul 11, 2013 at 11:47 pm
  • Description: the go for statement looks like this: go for k, v := range keyValues { process k and v } It is equivalent to the following lines: for k, v := range keyValues { go func(k ktype, v vtype) ...
    David DENGDavid DENG
    Jul 4, 2013 at 4:29 am
    Jul 4, 2013 at 9:50 pm
  • Is there any unique identifier for each goroutine that can be reached from code and used to map a name? In a case with several goroutines that works on same code such as worker1,worker2... produce ...
    Anders EdmanAnders Edman
    Jul 17, 2013 at 10:45 am
    Apr 30, 2014 at 9:44 pm
  • At decoding elements, how to escape elements with entities starting with "&#" ? http://play.golang.org/p/RWJ5n3vxnj I want to get the string like `Test.&#13;&#10; Folding.&#13;&#10; Whitespace` Got ...
    ArchosArchos
    Jul 31, 2013 at 9:53 am
    Aug 1, 2013 at 5:03 pm
  • Can anyone give me a hint on how to make qemu-arm work with Go? All I'm getting is this $ qemu-arm test fatal error: rt_sigaction failure goroutine 1 [runnable]: Same thing with qemu 1.4.0 and the ...
    Nick Craig-WoodNick Craig-Wood
    Jul 18, 2013 at 4:35 pm
    Jul 20, 2013 at 7:15 am
  • I've noticed that re-writing functions in assembler seems to disable Go's escape analysis. In the particular example I'm working on that causes go to allocate objects on the heap rather than the ...
    Nick Craig-WoodNick Craig-Wood
    Jul 17, 2013 at 9:45 pm
    Jul 18, 2013 at 11:09 pm
  • Hello golangers, I just wanted to take a moment to introducing Ghaml, a compiler for a Haml-like Html markup language. It is meant to bring the beauty of HAML to the go language while focusing on ...
    Travis SimonTravis Simon
    Jul 16, 2013 at 4:13 pm
    Jul 18, 2013 at 10:21 am
  • Hello all, I wrote a very small library which contains three functions I needed in my program relating to IP addresses: https://github.com/llimllib/ipaddress Two of the functions are for converting ...
    Bill MillBill Mill
    Jul 1, 2013 at 6:11 am
    Jul 17, 2013 at 3:19 am
  • I have this code: http://play.golang.org/p/O87jkcXZwM I think the "switch" don't need "break" for its "case" so I hope my "break" (at line 8) should be break the for loop not the switch but its not ...
    Nguyên Nguyễn Văn CaoNguyên Nguyễn Văn Cao
    Jul 12, 2013 at 7:05 am
    Jul 13, 2013 at 2:59 pm
  • Hi, Please teach me how to draw a line between the two points on a image. I searched on internet, but I couldn't find it. Regard, Kawamoto -- You received this message because you are subscribed to ...
    KawamotoKawamoto
    Jul 10, 2013 at 4:49 am
    Jul 12, 2013 at 6:41 pm
  • Hi, I'm trying to load a bunch of Debate structs from the GAE datastore using the GetMulti function. Datastore can perform the simple Get for the individual entities with the same keys. For the ...
    Tomi HiltunenTomi Hiltunen
    Jul 10, 2013 at 7:16 am
    Jul 10, 2013 at 10:18 am
  • All, I'm trying to wrap my brain around what the reflect package (or introspection) is used for. Please forgive the silly questions -- just trying to get a really good grip on what reflect is for ...
    James ZeeJames Zee
    Jul 9, 2013 at 3:45 am
    Jul 9, 2013 at 5:48 pm
  • Hi there, I sometimes find myself wondering if a method parameter is a struct or an interface. It appears to me people writing Go don't like the concept of adding the letter 'I' as a prefix to an ...
    StephanosStephanos
    Jul 9, 2013 at 7:28 am
    Jul 9, 2013 at 3:04 pm
Group Navigation
period‹ prev | Jul 2013 | next ›
Group Overview
groupgolang-nuts @
categoriesgo
discussions375
posts2,235
users491
websitegolang.org

491 users for July 2013

Dave Cheney: 87 posts GMail: 70 posts Kyle Lemons: 48 posts Jan Mercl: 43 posts Dan Kortschak: 42 posts Archos: 39 posts Dmitry Vyukov: 36 posts Minux: 35 posts Brad Fitzpatrick: 31 posts Jesse McNelis: 30 posts David Symonds: 29 posts Nigel Tao: 29 posts Rob Pike: 29 posts Rémy Oudompheng: 27 posts Henrik Johansson: 25 posts Andrey mirtchovski: 24 posts Nick Craig-Wood: 22 posts Jim Robinson: 21 posts Brendan Tracey: 20 posts Mateusz Czapliński: 20 posts
show more