,
| I always liked Rob Pike's concurrent prime seive:
| https://play.golang.org/p/9U22NfrXeq
`
i think what you are looking for is an elegant paper by doug-mcllroy
called "squinting at power series"
which bring the power of channels etc to stream processing...
--
kind regards
anupam
--
Hi!
I'd like to propose adding an /x/exp package with in-place radix sort.
Maybe someday something like it gets into stdlib and backs sort.Ints and
company (great!), maybe not (works for me, just the review's worth it). I'm
posting here rather than opening a GitHub issue because earlier this year
Alternatively, make a connection to your server locally to check it is
listening, the fire off the browser.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Listen and serve is just a wrapper around serve with a provided listener.
Create the listener then pass it to serve, at that point you know the socket is
open and will accept connections into its backlog.
--
You received this message because you are subscribed to the Google Groups
And which bulitin package will call cgo or runtime.LockOSThread. In my
project, I used packages net, io, sync.
在 2016年8月16日星期二 UTC+8上午1:15:29,Ian Lance Taylor写道:
>
> On Mon, Aug 15, 2016 at 1:21 AM,
> wrote:
> >
> > In goroutine stack dump there is a dead lock.
> >
> >
Thanks, it has been added here: https://golang.org/project/
On Mon, Aug 15, 2016 at 5:25 PM, chai2010 wrote:
> and http://127.0.0.1:6060/project/ #release history page have no Go1.7
> release notes.
>
> 2016-08-16 8:20 GMT+08:00 Chris Broadfoot :
>
>>
and http://127.0.0.1:6060/project/ #release history page have no Go1.7
release notes.
2016-08-16 8:20 GMT+08:00 Chris Broadfoot :
> Thanks for flagging it. I'm re-building the zip file and it should be
> available at golang.org/dl soon.
>
> On Mon, Aug 15, 2016 at 5:03 PM,
go1.7.windows-amd64.zip missing.
2016-08-16 7:28 GMT+08:00 Chris Broadfoot :
> Hello gophers,
>
> We just released Go 1.7.
>
> You can read the announcement blog post here:
> https://blog.golang.org/go1.7
>
> You can download binary and source distributions from our download
On Saturday, 13 August 2016 12:52:23 UTC+10, Dorival Pedroso wrote:
>
> Any ideas?
>
Maybe it is issue https://github.com/golang/go/issues/16180 ?
Alex
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop
Hello gophers,
We just released Go 1.7.
You can read the announcement blog post here:
https://blog.golang.org/go1.7
You can download binary and source distributions from our download page:
https://golang.org/dl/
To compile from source using a Git checkout, update to the release with
"git
With that many deps, the linking numbers could be expected, Go 1.7 improves
this significantly.
I cannot explain the compilation time for the package. I recommend waiting
til the end of the day and upgrading to Go 1.7 as it us unlikely that any
fix for this will be backported to Go1.6.x
On
No, it's some hundreds of strings across that whole package, none longer
than 100 characters. No giant static XML strings or the like.
Thinking it might be telling to see dependency information I ran into
(your) articles on golang dependency tools
Sounds a lot like the Newsqueak implementation.
https://swtch.com/~rsc/thread/newsquimpl.pdf
On Tue, Aug 16, 2016 at 6:33 AM, Lars Tørnes Hansen
wrote:
> My thought about a Go interrpreter.
>
> I had thought of making a Go transpiler using either the D programming
> language,
That looks like the case.
Do you include a large amount of static data in the site_www2 package?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On Mon, Aug 15, 2016 at 10:51 AM, Tim Hockin wrote:
> OK, is there ANY heuristic I can rely on find the "real" call frame?
I don't know. Sorry. As I said earlier, I don't have a good answer here.
You should open an issue for this. For some reason it has not been a
Package warnings implements error handling with non-fatal errors (warnings).
import path: "gopkg.in/warnings.v0"
package docs: https://godoc.org/gopkg.in/warnings.v0
issues:https://github.com/go-warnings/warnings/issues
pull requests: https://github.com/go-warnings/warnings/pulls
A
OK, is there ANY heuristic I can rely on find the "real" call frame?
On Mon, Aug 15, 2016 at 10:17 AM, Ian Lance Taylor wrote:
> On Sun, Aug 14, 2016 at 10:07 PM, Tim Hockin wrote:
>> Can I rely on "" not changing?
>
> I'm sorry, that's a hard question to
On Sun, Aug 14, 2016 at 10:07 PM, Tim Hockin wrote:
> Can I rely on "" not changing?
I'm sorry, that's a hard question to answer, because other compilers
do not use that string.
There are no plans to change that string for the gc toolchain.
Ian
> On Sun, Aug 14, 2016 at
On Mon, Aug 15, 2016 at 1:21 AM, wrote:
>
> In goroutine stack dump there is a dead lock.
>
> goroutine 17 [syscall, 214 minutes, locked to thread]:
> runtime.goexit()
> /root/go/src/runtime/asm_amd64.s:1998 +0x1
>
>
> No more information, just this. I don't know how to
Anyone have experience with this wxGo? If so, would you recommend for a
commercial application?
On Sunday, August 14, 2016 at 3:06:38 PM UTC-4, unx...@gmail.com wrote:
> https://github.com/dontpanic92/wxGo
>
>
>
--
You received this message because you are subscribed to the Google Groups
Which I should have read more carefully.
Thank you!
On Monday, August 15, 2016 at 5:57:13 PM UTC+2, Jan Mercl wrote:
>
> On Mon, Aug 15, 2016 at 5:28 PM atd...@gmail.com > wrote:
>
> > Is there an happen/before edge between spawning a goroutine and the map
> operations ?
>
On Mon, Aug 15, 2016 at 5:28 PM atd...@gmail.com wrote:
> Is there an happen/before edge between spawning a goroutine and the map
operations ?
Yes: https://golang.org/ref/mem#tmp_5
--
-j
--
You received this message because you are subscribed to the Google Groups
The go version is 1.6, and the full log is
here, https://github.com/shiyanhui/dht/issues/6#issuecomment-239743849
在 2016年8月15日星期一 UTC+8下午11:01:35,Lime Shi写道:
>
> Hi,
>
> In goroutine stack dump there is a dead lock.
>
> goroutine 17 [syscall, 214 minutes, locked to thread]:
> runtime.goexit()
Let's say I have a map in one goroutine that I populate.
Then I make a copy of this map by ranging over its keys/values and pass the
variable holding the map copy to another goroutine.
Will the values in the copy be necessary visible to the last goroutine?
Is there an happen/before edge
Hi,
In goroutine stack dump there is a dead lock.
goroutine 17 [syscall, 214 minutes, locked to thread]:
runtime.goexit()
/root/go/src/runtime/asm_amd64.s:1998 +0x1
No more information, just this. I don't know how to debug it. Somebody can
help me?
--
You received this message because
My problem is this:
I have a go web app where I want to use the net/pprof package. The
application itself is protected by a Apache server which keeps session, and
sets a authorized header with the permissions the user should have. Then
the go code will read the http header and depending on its
On Monday, 1 August 2016 17:53:59 UTC+1, T L wrote:
>
>
> ex:
>
> package main
>>
>> func main() {
>> // error: illegal constant expression: *int == interface {}
>> _ = (*int)(nil) == interface{}(nil)
>> }
>
>
This is a compiler bug (https://github.com/golang/go/issues/16702). Thanks
On Saturday, 13 August 2016 22:27:42 UTC+1, Paul Jolly wrote:
>
> On Saturday, 13 August 2016 21:58:37 UTC+1, Paul Jolly wrote:
>>
>> Am I missing something obvious here?
>>
>
> Please excuse the reply to self, but I have discovered what I was missing.
>
> For the sake of completeness, here is how
This shows how to make a standalone gui program with Go that uses html5 and
Bootstrap css, but with all the resources compiled into the Go executable.
https://github.com/peterhoward42/godesktopgui
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
29 matches
Mail list logo