[go-nuts] Re: Library for NLP: counting word syllables, words, sentences

2016-11-15 Thread Johann Höchtl
Am Mittwoch, 16. November 2016 02:33:04 UTC+1 schrieb Daniel Whitenack: > > Hi Johann, > > Looks like there are a good number of packages listed here: > > https://github.com/gopherds/resources/blob/master/tooling/README.md#nlp > > In particular, it sounds like this one has some of what you need:

[go-nuts] httputil.ReverseProxy adding 100+ ms of latency on localhost - any ideas?

2016-11-15 Thread Tom
Hi guys, I've been working on a HTTP reverse proxy that has an auth/authorization function. It all works well, however I have noticed significant additional latency - and I cannot work out why. From what I can tell, me hitting my service from chrome on localhost should work just fine - I have

[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread therecipe
Yes, you could encode the image.Image to []byte (in png or some other image format) and use the encoded data to create a QByteArray, which then can be used to create a QImage. The QImage can then be used to edit the image or to create a QPixmap, which can be displayed inside a QGraphicScene,

[go-nuts] Re: Library for NLP: counting word syllables, words, sentences

2016-11-15 Thread Daniel Whitenack
Hi Johann, Looks like there are a good number of packages listed here: https://github.com/gopherds/resources/blob/master/tooling/README.md#nlp In particular, it sounds like this one has some of what you need: https://github.com/advancedlogic/go-freeling Daniel On Tuesday, November 15, 2016

[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread howardcshaw
therecipe, is there a means available to render image.Image or draw.Image (go Image) objects to Qt images/buffers/etc? I was not able to locate such a facility in several other libraries. In the end I got fed up and wrote my own for converting a draw.Image to a GdkPixBuf to get gtk2 and gotk3

Re: [go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread therecipe
Converting Go code to ui xml is not supported and currently not planned. But you can load ui files created by the Qt Designer with the help of the uitools pkg, you might want to take a look at the basic example in internal/examples/uitools. I'm planning to port the uic application to convert ui

[go-nuts] Re: htmltest – tests generated HTML for problems, new project

2016-11-15 Thread Will Pimblett
This looks like a tool you'd use for debugging / manual testing. htmltest can be used in that manner but it's best suited to be part of a deployment pipeline. For example I have a site that builds on push and if successful deploys to a static host. Very useful foe keeping editors from breaking

[go-nuts] Re: working with the stacktrace: will this method work smoothly ?

2016-11-15 Thread Dave Cheney
I'm sorry but your problem is go run has lead you into a design corner. I recommend using go build to build your program, and assume that it will be built at a known location, and provide a flag to locate your resources if you want to override the default location. -- You received this

[go-nuts] Re: working with the stacktrace: will this method work smoothly ?

2016-11-15 Thread mhhcbon
Its a very simple problem. When i do `go run...`, i cant use os.Args[0] to find the path of executable, because it will return the path of the build result existing in /tmp. Which turns to be a problem if i want to path reference relative resources. Being able to discover correctly the path

[go-nuts] working with the stacktrace: will this method work smoothly ?

2016-11-15 Thread Dave Cheney
This smells like the XY problem. What is the problem you are trying to solve? Or to put it another way, if you could discover the value of GOROOT associated with a stack trace from a go program, what would you do next? -- You received this message because you are subscribed to the Google

Re: [go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread Justin Israel
On Tue, Nov 15, 2016, 11:47 PM wrote: > Great news! is it possible to load the gui which has been created with qt > creator? > I doubt it. That would require converting your Go code into a Qt .ui file format, which I would be surprised if the library supported. Then for

[go-nuts] Re: [ANN] Go geospatial libraries: geometries, GeoJSON, WKB, KML, PostGIS, GPX, polyline

2016-11-15 Thread Tom Payne
Done. I've also added a link to github.com/golang/geo, a library for geometry on the sphere. On Monday, November 14, 2016 at 11:25:19 PM UTC+1, Daniel Whitenack wrote: > > Thanks Tom! I think it would be great to add a few of these here: > >

[go-nuts] Re: Translate for Russian

2016-11-15 Thread mhhcbon
Not a russian speaker, but I like this very much On Tuesday, November 15, 2016 at 6:08:31 PM UTC+1, vitaly wrote: > > https://go-tour-ru-148512.appspot.com > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and

[go-nuts] Translate for Russian

2016-11-15 Thread vitaly
https://go-tour-ru-148512.appspot.com -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit

Re: [go-nuts] Re: Debugging in Go seems to be a very difficult task to accomplish

2016-11-15 Thread Nyah Check
Hi Rob, I'm currently writing some documentation on how to Debug Docker binaries; given the fact that it's a large project gdb doesn't seem adequate for a newbie looking to contribute to the Docker project. Most Gophers I've talked to have recommended delve as the debugger to go with such cases.

Re: [go-nuts] Re: Debugging in Go seems to be a very difficult task to accomplish

2016-11-15 Thread Rob Pike
Debugging is always hard, debuggers help, and better debuggers help more. I have had good luck with delve, myself. Perhaps if you explained the problem you're having there would be suggestions to make your task easier. -rob On Mon, Nov 14, 2016 at 11:55 PM, Nyah Check

Re: [go-nuts] package collidermain: unrecognized import path "collidermain" (import path does not begin with hostname)

2016-11-15 Thread Ian Lance Taylor
On Mon, Nov 14, 2016 at 10:39 PM, Sinu Mohan wrote: > > i am installing a signaling server on amazon aws linux ami , > > but > > go get collidermain failed > > package collidermain: unrecognized import path "collidermain" (import path > does not begin with hostname) That's

[go-nuts] Parsing JSON into Interfaces

2016-11-15 Thread Sergio Hunter
Hello everyone, Please help me understand how use interfaces. I need that from a JSON rows pulls the three parameters, count and unload data in CSV format with the columns Date, Revenue, Gold. package main import ( "database/sql" "log" _"github.com/go-sql-driver/mysql"

[go-nuts] Need push notification server program

2016-11-15 Thread stackveer
i want the example implementation of push notification server program -- 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 golang-nuts+unsubscr...@googlegroups.com.

[go-nuts] package collidermain: unrecognized import path "collidermain" (import path does not begin with hostname)

2016-11-15 Thread Sinu Mohan
hello i am installing a signaling server on amazon aws linux ami , but go get collidermain failed package collidermain: unrecognized import path "collidermain" (import path does not begin with hostname) Please help -- You received this message because you are subscribed to the Google

[go-nuts] Any documented REST/Golang API for the 'new' Firebase?

2016-11-15 Thread stackveer
Any documented REST/Golang API for the 'new' Firebase? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread gerald . stanje
Great news! is it possible to load the gui which has been created with qt creator? is there anything which you still plan to add/extend? On Monday, November 14, 2016 at 1:30:58 AM UTC+1, Rich wrote: > > This looks very well done. I've not done any real programming in it but > looking over the

Re: [go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-15 Thread sridhar
Thanks for the feedback! Using metalinter seems like a nice idea. I'll add it with all linters disabled at first and let users choose the ones they want. I've create https://github.com/surullabs/lint/issues/2 to track this. On Tuesday, November 15, 2016 at 10:12:28 AM UTC+1, Steven Hartland

[go-nuts] Library for NLP: counting word syllables, words, sentences

2016-11-15 Thread Johann Höchtl
Is there a pure Golang library to detect words / sentences / syllables? https://github.com/advancedlogic/go-freeling might be able to do that but has no API. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and

Re: [go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-15 Thread Steven Hartland
Watch out, as some of those have broken vendor support. Here's notes we've made in the past (might be out of date) * Disable gotype, errcheck, dupl and structcheck as they are awful. * Disable interfacer and gas as they too picky. * Disable gofmt as its redundant and also sometimes gets

[go-nuts] Re: Concurrency and order of execution

2016-11-15 Thread steve tang
There is not any guarentee in your goroutine, But you could try it as:https://play.golang.org/p/JDRAP4mxdc On Friday, November 11, 2016 at 2:08:39 PM UTC+8, mspaul...@gmail.com wrote: > > Hello, > > I've written a small program to demonstrate what I am seeing. If I use a > channel as a