Search Discussions

403 discussions - 2,221 posts

  • I fall in love with the most concept of golang (especially interface and method definition) but I hate its syntax. I want to make it be more like C style So I want to ask, is the go compiler ...
    Jul 6, 2015 at 7:57 am
    Jul 11, 2015 at 5:56 pm
  • I have to work on a project for an university exam and the professor highly recommends doing it in C++ with (his) FastFlow library. Now, because of Go, I can't stand looking at object oriented code ...
    Roberto ZanottoRoberto Zanotto
    Jul 23, 2015 at 10:19 pm
    Aug 7, 2015 at 3:39 pm
  • Hello, I'm reading the book "Algorithms 4th Edition" and translating the code to go, this way I can learn go at the same time. In the book there is a test "DoublingTest" that continuesly doubles the ...
    Julio C. VillasanteJulio C. Villasante
    Jul 10, 2015 at 1:27 pm
    Jul 13, 2015 at 1:47 am
  • Hi! I have worked on optimizing the standard library deflate function, and I am happy to announce revised gzip/zip packages, that on x64 is about *30-50% faster with slightly improved compression* ...
    Klaus PostKlaus Post
    Jul 28, 2015 at 11:06 am
    Aug 6, 2015 at 11:21 am
  • Resuming from misplaced github.com thread <https://github.com/golang/go/issues/11586 . I'm interested in exploring (and maybe coding/contributing) an addition that would allow individual source files ...
    Robert HaileyRobert Hailey
    Jul 6, 2015 at 7:56 am
    Jul 12, 2015 at 8:51 am
  • I would like to use Go internally at my company, but we have a process where things need to be vetted and a case needs to be made for new software and languages. I know why I would want to use it, ...
    Tieson MollyTieson Molly
    Jul 14, 2015 at 3:10 pm
    Jul 15, 2015 at 11:39 pm
  • FYI http://redmonk.com/sogrady/2015/07/01/language-rankings-6-15/ highlight: A year ago, we predicted that Go would become a Top 20 language within a six to twelve month timeframe. Six months ago, it ...
    Jul 6, 2015 at 8:00 am
    Jul 10, 2015 at 2:07 pm
  • Hi Go nuts, We have just released go1.5beta1, a beta version of Go 1.5. It is cut from the master branch at the revision tagged go1.5beta1. Please help us by testing your Go programs with the ...
    Andrew GerrandAndrew Gerrand
    Jul 8, 2015 at 3:17 pm
    Jul 17, 2015 at 3:18 am
  • By now hopefully everybody has heard about Dmitry Vyukov's go-fuzz: https://github.com/dvyukov/go-fuzz This randomized testing tool has found a huge number of bugs in the standard library. But it has ...
    Damian GryskiDamian Gryski
    Jul 27, 2015 at 1:58 pm
    Aug 21, 2015 at 9:52 pm
  • According to the Algorithms 4th Edition book (I'm just on the second chapter), everything is slower in Go than in Java... The code for Go is on Github <https://github.com/jvillasante/algs4 , The code ...
    Jul 12, 2015 at 4:16 pm
    Jul 13, 2015 at 11:48 am
  • In order to make sure that no leftover/garbage Time value linger inside Timer.C channel after calling Timer.Reset or Timer.Stop, possibly causing unexpected notification, is any of the following ...
    Jul 1, 2015 at 1:53 pm
    Jul 9, 2015 at 1:18 am
  • Hi. I have to write a parallel algorithm to calculate the prefix sum of an array of integers. I would like to write it in Go, but we have to test its scalability on a Xeon Phi. What is the procedure ...
    Roberto ZanottoRoberto Zanotto
    Jul 7, 2015 at 12:55 pm
    Jul 9, 2015 at 9:37 am
  • Hello, I am dealing with go and I try to parallelize each instance of a for loop. My final goal is to do a ping test for 255 IP addresses. So basically my for loop is something like i := 0 for i < ...
    Stéphane phenetasStéphane phenetas
    Jul 29, 2015 at 7:21 pm
    Aug 4, 2015 at 7:05 am
  • Hi gophers, Can I export C variables from Go shared libraries? I would like to write an Apache or nginx modules in Go. I would like to export module variables like * example_module in ...
    Hiroaki NakamuraHiroaki Nakamura
    Jul 16, 2015 at 1:47 pm
    Jul 18, 2015 at 10:48 pm
  • Hi, I am at loss how I can compute crc32c hash value with given seed. Some C libraries including Linux kernel's libcrc32c has API that takes three arguments: seed(uint32), data(void *) and the ...
    Akira HayakawaAkira Hayakawa
    Jul 11, 2015 at 4:15 pm
    Jul 12, 2015 at 8:43 am
  • Should this code generate data race or not? https://play.golang.org/p/97ChSe3UeM -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from ...
    Kane KimKane Kim
    Jul 11, 2015 at 6:36 am
    Jul 12, 2015 at 3:37 am
  • Hi, In http://golang.org/pkg/sync/atomic/#pkg-note-BUG, I quoted: "...The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned..." If I have an ...
    Jul 25, 2015 at 2:44 pm
    Jul 30, 2015 at 6:23 am
  • Hi Gophers, Here is a query with the pq postgres library that has odd behaviour ... My querry, select A.ID, A.name, A.surname, B.phone, B.fax from employee A LEFT JOIN addresses B ON A.ID = B.ID when ...
    Jul 9, 2015 at 6:48 pm
    Jul 10, 2015 at 12:35 am
  • Hi Is there a bright future for GO?. because there are very less job openings for golang in India. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
    Rahul jainRahul jain
    Jul 2, 2015 at 5:57 pm
    Aug 5, 2015 at 4:37 am
  • Hi Go nuts, We have just released go1.5beta2, a beta version of Go 1.5. It is cut from the master branch at the revision tagged go1.5beta2. Please help us by testing your Go programs with the ...
    Andrew GerrandAndrew Gerrand
    Jul 17, 2015 at 4:43 am
    Jul 27, 2015 at 1:19 am
  • Hah, I am happy to report that the just released Go 1.5 beta seems to fix the problem. Thanks to the Go team! -- You received this message because you are subscribed to the Google Groups ...
    Alexander NeumannAlexander Neumann
    Jul 8, 2015 at 3:50 pm
    Jul 15, 2015 at 6:42 pm
  • So I am implementing the fibonacci sequence iteratively with math/big.Int. Here is the code: func fib(n int) *big.Int { x := big.NewInt(0) y := big.NewInt(1) z := big.NewInt(1) for i := 0; i < n; i++ ...
    Jul 30, 2015 at 11:31 am
    Aug 5, 2015 at 11:59 pm
  • Hey gophers, I am testing cross-compilation with go1.5 beta 2 from FreeBSD 10.1-RELEASE amd64 to FreeBSD 10.1-RELEASE armv5 (for Raspberry Pi B+, custom kernel) The command produces an ARM binary ...
    Brandon ThomsonBrandon Thomson
    Jul 25, 2015 at 9:22 am
    Jul 27, 2015 at 1:03 am
  • I'm experimenting with a dataflow-inspired syntax for stitching "generator processes" together. What I mean with "generator process" is, the "generator pattern" demonstrated by Rob Pike in [1] using ...
    Samuel LampaSamuel Lampa
    Jul 18, 2015 at 3:06 am
    Jul 21, 2015 at 12:41 pm
  • Thanks rob for ivy https://play.google.com/store/apps/details?id=org.golang.ivy -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from ...
    Jul 12, 2015 at 7:08 am
    Jul 20, 2015 at 2:00 pm
  • Hello everyone, Is there any way of loading/dumping very large data consisting of key-value pair (in GBs) to a file in such a way that the keys in the file are unique and deletion of older keys is ...
    Jul 17, 2015 at 2:56 pm
    Jul 20, 2015 at 6:46 am
  • Hi, I think that found a bug but I'm not sure at all... http://play.golang.org/p/UOQFQjVhEH I expect the follow output: English Spanish French but I get: French French French -- You received this ...
    Jul 8, 2015 at 11:39 pm
    Jul 10, 2015 at 6:50 am
  • Hi, The current implementation of defer lets the deferred function runs when the owning function exits. While this is okay, I think it would be more useful if defer runs when it is out of scope ...
    Henry Adi SumartoHenry Adi Sumarto
    Jul 5, 2015 at 12:58 pm
    Jul 6, 2015 at 3:23 am
  • Hi, Any elegant way or ready made package to convert from string "my_test_var" into string MyTestVar? Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" ...
    Tong SunTong Sun
    Jul 2, 2015 at 4:25 am
    Jul 5, 2015 at 10:59 pm
  • In my particular case, I want to find quoted strings, where the field-name before the quoted string is *not* "$comment". So for example, say I have the string: command foo.$cmd command: { mapreduce ...
    Victor HooiVictor Hooi
    Jul 21, 2015 at 6:24 am
    Jul 23, 2015 at 1:20 pm
  • Hello i want implement voice chat between 2 person with Go how can i do ? i want sample code or article who can help me? -- You received this message because you are subscribed to the Google Groups ...
    Jul 18, 2015 at 4:45 pm
    Jul 19, 2015 at 1:22 pm
  • Hi all, Problem: A third-party API that we consume at a high volume uses a DNS-based load-balancing strategy. Their devs have reported that our app tends to favor certain IPs, creating a load ...
    Nathan SmithNathan Smith
    Jul 11, 2015 at 11:20 pm
    Jul 16, 2015 at 1:20 am
  • Is it possible to read HTTP response body chunk by chunk like in node in Go? In node, the could would be: request.on('response', function (response) { response.on('data', function (chunk) { ...
    Sacheendra TSacheendra T
    Jul 13, 2015 at 1:59 pm
    Jul 14, 2015 at 2:15 am
  • I have a program (actually it's Cloud Foundry doppler, and compiled with go 1.4.2) running on Ubuntu 12.04, and it's eating memory very fast: after running for 13 hours, it has occupied ~12G memory, ...
    Libnux MeLibnux Me
    Jul 29, 2015 at 2:14 pm
    Jul 31, 2015 at 2:05 pm
  • I know Tom M on youtube https://www.youtube.com/channel/UChafVXazuEmBXiPlUmosAYg took a video of the conference on a mobile device, but it was poor quality. Was anyone at the conference who saw if ...
    Paul GruenbacherPaul Gruenbacher
    Jul 12, 2015 at 4:06 am
    Jul 28, 2015 at 10:10 pm
  • Hi everyone, I pretty much know the answer to this (no) since I couldn't find any, but in the off-chance that somebody has something "in the works" I thought I'd pose the question. Are there any pure ...
    Jul 20, 2015 at 5:50 pm
    Jul 22, 2015 at 8:10 pm
  • Hello golang-nuts! I'm unable to subscribe to golang-dev mailing list. What i get back when I try is: "The group you attempted to subscribe to is invite only. You must be invited by the group owner." ...
    Zlatko CalusicZlatko Calusic
    Jul 18, 2015 at 5:46 pm
    Jul 19, 2015 at 10:00 pm
  • The blog post is at here: http://daviddengcn.blogspot.com/2015/07/a-light-and-fast-type-for-serializing.html Benchmark from the post. About 4 times faster than bytes.Buffer in serializing 10 bytes ...
    David DENGDavid DENG
    Jul 14, 2015 at 5:49 am
    Jul 17, 2015 at 1:18 am
  • I've wrote this little snippet and wonder if anyone is up to the challenge of writing it cleaner, more compact or better in some other metric. While not breaking the standard style guide. In the ...
    Sondre NaustdalSondre Naustdal
    Jul 1, 2015 at 1:55 pm
    Jul 2, 2015 at 7:11 pm
  • I implemented a program that will draw the mandelbrot set into an image of a specified size. I want to generate extremely huge images with it ( 40000xn), but the memory usage is much too high. I was ...
    Jul 31, 2015 at 8:32 am
    Aug 1, 2015 at 7:51 am
  • The gorename tool accepts a byte offset of an identifier to rename. What are your thoughts on adding support for a character offset too? The invocation could look something like this: gorename ...
    Zac BergquistZac Bergquist
    Jul 27, 2015 at 5:43 am
    Jul 28, 2015 at 9:00 pm
  • I am just starting out on programming OpenGL on Linux. I wrote a simple program that works: https://github.com/pebbe/gl/tree/master/gl2.1 But this uses code that is not allowed in newer versions of ...
    Peter KleiwegPeter Kleiweg
    Jul 25, 2015 at 4:22 pm
    Jul 26, 2015 at 10:01 am
  • Some of you might be aware of the golang-announce mailing list <https://groups.google.com/forum/#!forum/golang-announce . Historically I have posted announcements about the stable releases there, but ...
    Andrew GerrandAndrew Gerrand
    Jul 31, 2015 at 12:27 am
    Aug 1, 2015 at 8:17 am
  • Hello, This great talk (*Kevin Cantwell - What Could Go Wrong?* - https://www.youtube.com/watch?v=VC3QXZ-x5yI) taught me to be more careful when I am updating map within range. Here's an example to ...
    Gyu-Ho LeeGyu-Ho Lee
    Jul 30, 2015 at 10:11 pm
    Jul 30, 2015 at 11:28 pm
  • I have an API service build with http lib. I have a recover inside http handler: 132 func execApiMethod(w http.ResponseWriter, r *http.Request) { But my app is crashing time after time with trace ...
    Udalov SergeiUdalov Sergei
    Jul 30, 2015 at 5:12 pm
    Jul 30, 2015 at 8:56 pm
  • Inspired by the pipelines and cancellation blog post: http://blog.golang.org/pipelines I want to create a similar model to read sequentially blocks (buffer) from files and do some processing on ...
    Pablo Rozas-LarraondoPablo Rozas-Larraondo
    Jul 28, 2015 at 2:07 pm
    Jul 30, 2015 at 5:17 am
  • Need some guidance for a small project that I am trying to do for hybrid storage. I want to process a flat file by a) Sorting the flat file based on a certain field/column b) Split the file into ...
    Jul 26, 2015 at 8:39 pm
    Jul 28, 2015 at 3:03 am
  • Hello, I would like to execute a terminal command line through a Go program. func pingLocalNetwork(){ tempS, := getLocalIPAddress() secondTempS := string(tempS[:]) currentIPAddress := ...
    Stéphane phenetasStéphane phenetas
    Jul 22, 2015 at 9:00 pm
    Jul 24, 2015 at 8:50 pm
  • I'm trying to convert a sha1 hash into an integer, so that it can use it to index an array of words (i.e. to pick a word from the list). s below is a string: var myint int buf := ...
    Victor HooiVictor Hooi
    Jul 22, 2015 at 9:37 pm
    Jul 23, 2015 at 8:40 am
  • Hi friends, I've made a 3D visualization of go packages dependencies, and wanted to share it with you ...
    Andrei KashchaAndrei Kashcha
    Jul 16, 2015 at 5:16 pm
    Jul 17, 2015 at 10:30 pm
Group Navigation
period‹ prev | Jul 2015 | next ›
Group Overview
groupgolang-nuts @

559 users for July 2015

Matt Harden: 95 posts Ian Lance Taylor: 92 posts Roberto Zanotto: 51 posts Egon Elbre: 50 posts Kiki Sugiaman: 34 posts Tamás Gulácsi: 34 posts Tong Sun: 33 posts Andrew Chambers: 25 posts Adam willis: 23 posts Brad Fitzpatrick: 22 posts Rob Pike: 22 posts James Bardin: 21 posts Jvillasante: 21 posts Nigel Tao: 21 posts Tim K: 20 posts Dave Cheney: 19 posts Henry Adi Sumarto: 19 posts Konstantin Khomoutov: 19 posts Michael Jones: 19 posts Titarooss: 18 posts
show more