Search Discussions

403 discussions - 2,929 posts

  • All right, do I think I know what I'm doing starting a thread with such a title? Well, I know I do it for a reason, and the reason is not about starting language discussions that most often remain ...
    Jun 7, 2013 at 9:16 am
    Sep 19, 2013 at 3:12 pm
  • Hi folks, As a Delphi ol'timer I miss in Go the simple and pure Delphi propertys. I mean, if I declare a struct with the fields *type *Person *struct *{ firstName string lastName string } and then I ...
    Rolf LampaRolf Lampa
    Jun 22, 2013 at 2:33 pm
    Jun 25, 2013 at 12:32 am
  • Hi all, I have some legacy code with the typical Delphi class hierarchies, that is, more or less abstract subclasses being referenced all over. What would be the: #1. *easiest* way, and what would be ...
    Rolf LampaRolf Lampa
    Jun 29, 2013 at 6:02 pm
    Jul 4, 2013 at 2:12 am
  • in contrast to manual memory management or other automatic memory management approaches? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
    Jun 17, 2013 at 1:38 pm
    Jun 20, 2013 at 8:24 pm
  • I have a problem with http.Get(): it becomes slow :( My program: - do an http request on a local image file (40ko, from apache) - store the result (body) in memory (slice of byte) - do a system call ...
    Pierre DurandPierre Durand
    Jun 14, 2013 at 1:08 pm
    Jun 20, 2013 at 1:22 pm
  • Hi there, I'm late to the game (one year late), as I'm only just starting to play with Go and see if and how it'd fit my needs. One thing about totally getting rid of GOPATH is that you'll possibly ...
    T BroyerT Broyer
    Jun 19, 2013 at 5:37 pm
    Oct 11, 2013 at 3:38 pm
  • Please take into account that packages importing github.com/0xe2-0x9a-0x9b/Go-SDL will now fail to install because the repository has been deleted. This notification was sent because the repository ...
    Jun 7, 2013 at 5:14 pm
    Oct 28, 2013 at 7:02 pm
  • Hi, If I use http.Error(...) it always emits text/plain content type. I don't remember the details of the spec here but I don't think it enforces plain/text. Is this a bug or am I just using it ...
    Henrik JohanssonHenrik Johansson
    Jun 27, 2013 at 5:19 am
    Aug 6, 2013 at 12:01 am
  • Is anyone interested in collaborating on an open-source clone of the Bittorrent Sync[1] application, or perhaps know of any existing efforts to do this? Go seems like an excellent language choice for ...
    Mark TheunissenMark Theunissen
    Jun 12, 2013 at 7:55 pm
    Feb 6, 2015 at 4:22 pm
  • I've calculated an interval as a time.Duration. I want to print out a Duration that is 100 (for example) times as long? The obvious expression gets a syntax error: * invalid operation: maxOutstanding ...
    Jun 19, 2013 at 1:22 pm
    Jun 19, 2013 at 11:32 pm
  • To make sort work, 3 functions needs to be defined. Len(), Swap(), Less(). Here is the example code in the doc. type Organs []*Organ func (s Organs) Len() int { return len(s) } func (s Organs) ...
    Jun 25, 2013 at 5:52 pm
    Jul 1, 2013 at 2:44 pm
  • godoc is simple and easy to use, but if it supported @arg, the generated document would be more clear. -- You received this message because you are subscribed to the Google Groups "golang-nuts" ...
    Alex JinAlex Jin
    Jun 18, 2013 at 7:56 am
    Jun 21, 2013 at 9:41 pm
  • I made a thing on a plane: https://github.com/bradfitz/goimports It's gofmt + it fixes your includes, adding missing ones and removing unreferenced ones. You can make it your editor's on-save hook, ...
    Brad FitzpatrickBrad Fitzpatrick
    Jun 1, 2013 at 7:12 pm
    Aug 19, 2014 at 5:43 am
  • I've posted this in the Go G+ group as well. To quote what I said there: "I've been working on a proposal for a GUI toolkit for Go. I'm curious to know what others think. What's good and what's not? ...
    Rob ThorntonRob Thornton
    Jun 1, 2013 at 5:07 pm
    Jun 24, 2013 at 4:55 pm
  • After upgrading to go1.1, I keep getting a segfault during one of my go tests that uses c-code. More specifically, this segfault takes place during the error handling code of libxml2. Unfortunately, ...
    Manoj DayaramManoj Dayaram
    Jun 18, 2013 at 2:45 am
    Jun 20, 2013 at 1:53 am
  • Hi all, I'm quite proud of a project I've been working on for the past few months, and given the tireless help from this list, I've decided to release a small hands-on teaser of the project :) ...
    Péter SzilágyiPéter Szilágyi
    Jun 17, 2013 at 6:55 am
    Jun 20, 2013 at 7:31 pm
  • I'm getting the following error when I run a "go get" from a program I created using "go run". How do I clear it out? The filesimulator.go doesn't exist anymore. # cd .; hg clone -U ...
    Jun 12, 2013 at 2:26 pm
    Jun 16, 2013 at 1:09 pm
  • I'm a newbie of Go, from C language. When I wrote these code, the gc compiler tells me: "*syntax error: unexpected semicolon or newline before {*" But in my code, there is no semicolon and no {. So I ...
    Liigo ZhuangLiigo Zhuang
    Jun 12, 2013 at 7:33 am
    Jun 15, 2013 at 6:57 pm
  • Hi, Continuing where my shared library proposal<https://groups.google.com/d/msg/golang-nuts/zmjXkGrEx6Q/L4R8qyw7WW4J left, I managed to add support to the go tools and runtime for creating go shared ...
    Elias NaurElias Naur
    Jun 29, 2013 at 3:48 pm
    Dec 13, 2013 at 8:19 pm
  • Hi all, I have just pushed a small package to github: bufrr - a buffered rune reader. Background: I've recently been implementing various grammars for parsing / lexing / tokenising runes, and needed ...
    Jim SmartJim Smart
    Jun 23, 2013 at 6:02 pm
    Jun 27, 2013 at 12:37 pm
  • Hi guys, i'm trying to use the sqlite3 package (http://godoc.org/code.google.com/p/go-sqlite/go1/sqlite3). I'm using a MacBook Air (Mid '12) with Mac OSX 10.8.4. My go-Compiler Version is: go version ...
    Jun 14, 2013 at 9:33 am
    Sep 20, 2013 at 3:09 am
  • Hello, I assumed that []byte(nil) and []byte("") produced different values on purpose, as in the following example: http://play.golang.org/p/0MiFb8SFTz However, the spec says the following ...
    Maxim KhitrovMaxim Khitrov
    Jun 14, 2013 at 2:54 pm
    Jun 15, 2013 at 11:21 am
  • I know, "goroutine-local globals" are bad. I'm not asking for them. But this particular issue comes up time and again (like generics, I know ;) and I've scanned many threads on it with all kinds of ...
    Philipp SchumannPhilipp Schumann
    Jun 11, 2013 at 7:37 pm
    Jun 12, 2013 at 2:01 pm
  • It is supposed that all function is package os are platform-independentand and work in every system. But os.Symlink is not supported in Windows: * * * package main import ( "io/ioutil" "log" "os" ) ...
    Jun 21, 2013 at 10:09 am
    Jun 23, 2013 at 4:23 pm
  • I have a work-in-progress errors package which tries to improve the error handling situation in Go. Too often have I seen error messages which bear no relationship to the function I've called, with ...
    Roger peppeRoger peppe
    Jun 20, 2013 at 5:48 pm
    Jun 25, 2013 at 11:48 pm
  • When you need to remove something from a slice, the only thing you can do now is: slice = append(slice[:i], slice[i+1:]...) This is stupid because it's far beyond human logic: Why I need to make a ...
    Jun 6, 2013 at 12:55 pm
    Jun 7, 2013 at 3:33 am
  • Hi Gophers, I know that version locking, tag referencing, etc. has been an issue brought up on the mailing list _many_ times before. For the purpose of this post, I'll re-explain the problem in the ...
    Mitchell HashimotoMitchell Hashimoto
    Jun 26, 2013 at 4:20 pm
    Jun 27, 2013 at 9:59 am
  • I noticed that the jpeg and png packages implement writers but the image/gif package only has a reader. After searching the issues (nothing came up) I was curious to know if a proposal to add a ...
    Andrew BonventreAndrew Bonventre
    Jun 20, 2013 at 11:23 pm
    Jun 27, 2013 at 5:48 am
  • Rather bleak result for go, it seems. A little comparison of some programming lanugages (from Lambda the Ultimate blog). -- You received this message because you are subscribed to the Google Groups ...
    Sriram srinivasanSriram srinivasan
    Jun 11, 2013 at 2:23 am
    Jun 16, 2013 at 8:02 pm
  • A proposal: Simplification of `map[string]interface{}` with Assumptive Maps We write a lot of Go code, and most of it seems to be `map[string]interface{}`. Therefore we propose a new language feature ...
    Jun 5, 2013 at 6:30 am
    Jun 9, 2013 at 7:57 am
  • Go doesn't seem to have an operating system project to prove out its worthiness as a systems language. At the same time, I would rather write Go than Limbo. And since I use Inferno everyday I would ...
    Jason CatenaJason Catena
    Jun 27, 2013 at 12:31 am
    Jun 19, 2015 at 12:00 am
  • Hi, I want to announce the initial release of _implements_[1], a tool that will tell you what interfaces your types implement, or by which types your interfaces are implemented. For obvious reasons, ...
    Dominik HonnefDominik Honnef
    Jun 25, 2013 at 10:33 pm
    Jul 30, 2013 at 11:16 am
  • package main import( "fmt" "os/exec" ) func main() { for i := 0; i < 100; i++ { go func() { for { cmd := exec.Command("sleep", "5") = cmd.Run() } }() } <- make(chan bool) } This program creates 100 ...
    Pierre DurandPierre Durand
    Jun 10, 2013 at 1:13 am
    Jun 10, 2013 at 1:25 pm
  • Hello, I lately sat down to find a way to have thread multiplexing + channels in Java. The intention was not to demonstrate how to steal ideas and bring them to other languages... I like the idea of ...
    Jun 20, 2013 at 12:17 pm
    Jun 22, 2013 at 10:25 pm
  • Are they are tutorials on deploying a go application to ubuntu, and is it common to use upstart to start the process? -- You received this message because you are subscribed to the Google Groups ...
    S AhmedS Ahmed
    Jun 13, 2013 at 1:50 pm
    Jun 14, 2013 at 2:49 pm
  • Go gives us the built-in copy function to make a copy of a slice's contents, but it doesn't (to my knowledge) offer anything similar for strings. This means that in order to copy a substring (and ...
    Jun 4, 2013 at 1:11 pm
    Jun 6, 2013 at 3:52 am
  • I have done a fairly thorough search of the internet to see if I could find one of the onlines IDE's like cloud 9 to see if any of them supported Go but without any luck and I was wondering if any ...
    Ollie CastleOllie Castle
    Jun 15, 2013 at 9:17 am
    Jul 17, 2015 at 3:07 am
  • The Brewer Palettes are a set of colours that work well in cartographic and statistical plot rendering to display clear distinction/association between/within data set sub groups. I have just ...
    Dan KortschakDan Kortschak
    Jun 29, 2013 at 3:51 am
    Jul 9, 2013 at 1:34 am
  • I'm writing a simple recursive function which operates on a list, splitting it in two and recursing on each half in turn, then combining the results. The function returns a large object (~500MB) ...
    Jack ValmadreJack Valmadre
    Jun 24, 2013 at 12:20 pm
    Jun 25, 2013 at 10:34 am
  • What I'm trying to do is fetch characters from stdin in a separate goroutine and feed them back to the main goroutine through a channel to use whenever one may be available. I'm trying to do this ...
    Robert BieberRobert Bieber
    Jun 10, 2013 at 4:32 am
    Jun 10, 2013 at 7:46 pm
  • Are there a way to custom format a number in Golang? Like this in C#: value = 1234567890; Console.WriteLine(value.ToString("(###) ###-####")); // Displays (123) 456-7890 -- You received this message ...
    Jun 4, 2013 at 9:30 pm
    Jun 6, 2013 at 3:54 pm
  • Having in mind the next warning related to security: Passwords and other sensitive data, such as intermediate values, may continue to be stored in memory, core dumps, swap areas, etc, for a long time ...
    Jun 29, 2013 at 7:59 pm
    Jul 5, 2013 at 9:00 am
  • Hi All, A very interesting new project has been released called MegaPipe<http://highscalability.com/blog/2013/6/19/paper-megapipe-a-new-programming-interface-for-scalable-netw.html , it is a new API ...
    John-Alan SimmonsJohn-Alan Simmons
    Jun 20, 2013 at 5:44 pm
    Jun 22, 2013 at 1:08 am
  • The normal command 'go get' never seems to work for me. The rest of the go commands work fine. A typical example: *% go get -u github.com/nsf/gocode* # cd .; git clone https://github.com/nsf/gocode ...
    Jun 27, 2013 at 4:07 pm
    Dec 3, 2013 at 10:23 pm
  • Didn’t see anyone else confirming it yet, so just wanted to point out that apps compiled in 10.8 work in 10.9, and my Go 1.1 install works fine after an upgrade to 10.9. Will report any strangeness ...
    Brian KetelsenBrian Ketelsen
    Jun 11, 2013 at 1:41 am
    Oct 28, 2013 at 3:52 pm
  • Hi, Handling of third-party packages has been a pretty long-running discussion. David Hinkes started a thread on Google+ with an associated Google Doc which a few of us have been hacking on ...
    Nathan YoungmanNathan Youngman
    Jun 27, 2013 at 3:08 am
    Jul 1, 2013 at 6:05 pm
  • Since composite literal is addressible why this is not allowed (try this http://play.golang.org/p/UJC10_AZJ_) : A{I: 1}.Print() prog.go:23: cannot call pointer method on A literal prog.go:23: cannot ...
    David DENGDavid DENG
    Jun 25, 2013 at 4:12 am
    Jun 25, 2013 at 5:12 am
  • I was trying to use '$' as a type name when the compiler nicely informed me that it didn't expect it ("syntax error: unexpected $"). I took a quick look at the spec and found that the only mention of ...
    Kevin MalachowskiKevin Malachowski
    Jun 8, 2013 at 4:14 am
    Jun 10, 2013 at 5:42 pm
  • Hi all, There seem to be broad consensus that something needs to be done about imports in go, and a lot of discussion about how this should be solved. I would like to propose to add .zip, .tar and ...
    Morten SiebuhrMorten Siebuhr
    Jun 6, 2013 at 12:55 pm
    Jun 9, 2013 at 9:47 pm
  • I recently discovered angular (well discovered some time ago but only had the time and use case lately to try it) and I am asking for a golang project which uses it. Anybody? http://angularjs.org/ I ...
    Johann HöchtlJohann Höchtl
    Jun 4, 2013 at 7:43 am
    Dec 26, 2013 at 8:40 pm
Group Navigation
period‹ prev | Jun 2013 | next ›
Group Overview
groupgolang-nuts @

546 users for June 2013

Dave Cheney: 137 posts Ian Lance Taylor: 71 posts Rolf Lampa: 66 posts Dvyukov: 64 posts Jan Mercl: 56 posts Minux: 50 posts Jesse McNelis: 46 posts Dan Kortschak: 45 posts Péter Szilágyi: 44 posts Rob Pike: 44 posts Rémy Oudompheng: 42 posts Kyle Lemons: 40 posts Gustavo Niemeyer: 35 posts Carlos Castillo: 33 posts Phil.metaleap.net: 32 posts Brad Fitzpatrick: 31 posts David DENG: 30 posts John Nagle: 30 posts David Symonds: 28 posts Jim Ellis: 24 posts
show more