[go-nuts] max connections limit lib/pq

2017-06-21 Thread Tieson Molly
I am running into an issue I have seen mentioned on here years ago. I am seeking the current best solution. I have a web server connecting to a postgresql database using the standard database/sql and the lib/pq driver. I keep running out of connections over time as it seems the pool grows up

[go-nuts] Re: Golang, SQL and ORM avoidance techniques

2017-06-07 Thread Tieson Molly
I had the same line of thinking regarding avoiding an ORM. I settled on using sqlx for my project. On Friday, June 2, 2017 at 8:55:12 AM UTC-4, brylant wrote: > > > I've been trying hard (well.. as much as I can considering my lack of > in-depth go knowledge or - to be perfectly honest - lack

[go-nuts] Embedding SWI Prolog in Go

2017-05-27 Thread Tieson Molly
I am curious if there are any projects out there that have embedded a SWI Prolog engine in Go via cgo? Best regards, Ty -- 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 e

[go-nuts] Re: nested template question

2017-05-17 Thread Tieson Molly
thanks Billie, I will check it out On Wednesday, May 17, 2017 at 1:56:46 PM UTC-4, Billie H Cleek wrote: > > Ty, > > The block template can satisfy your need: > https://godoc.org/text/template#example-Template--Block > > On Wednesday, May 17, 2017 at 4:55:28 AM UTC-

[go-nuts] nested template question

2017-05-17 Thread Tieson Molly
Is there a way to defined a template name as a fallback if one does not exist? Say you have a nested template in your code {{template "javascript" .}} if the template name "javascript" is not defined because you did not include that file during the parsing, is there a way to generate that n

[go-nuts] Re: How to do OS Authentication in Oracle with Go?

2017-04-28 Thread Tieson Molly
Tamás, this is great news. Thank you -Ty On Wednesday, April 26, 2017 at 4:22:01 PM UTC-4, Tamás Gulácsi wrote: > > > > 2017. április 25., kedd 21:46:27 UTC+2 időpontban Tieson Molly a > következőt írta: >> >> Tamás, I was looking for a way to have the OS handle

[go-nuts] Re: How to do OS Authentication in Oracle with Go?

2017-04-25 Thread Tieson Molly
Tamás, I was looking for a way to have the OS handle the authentication for the Oracle connection. That is one of the options where you pass an empty username and password. Didier provided a detailed link from Oracle. On Friday, April 21, 2017 at 5:35:04 PM UTC-4, Tamás Gulácsi wrote: > > W

[go-nuts] Re: How to do OS Authentication in Oracle with Go?

2017-04-25 Thread Tieson Molly
Yes, this is exactly what I mean. On Saturday, April 22, 2017 at 3:21:30 AM UTC-4, Didier Spezia wrote: > > > The OP probably means connecting to Oracle from an "externally identified" > user. > Oracle can delegate the authentication to the OS providing the connection > is done from > a given OS

[go-nuts] How to do OS Authentication in Oracle with Go?

2017-04-21 Thread Tieson Molly
I am curious if anyone is connecting to an Oracle database using OS authentication on a linux platform? I have been trying to find code or an example, but I have come up empty handed. Best regards, Ty -- You received this message because you are subscribed to the Google Groups "golang-nuts

[go-nuts] Re: scriptable rules?

2017-03-10 Thread Tieson Molly
I think I answered my own question https://github.com/AdamJonR/dialects On Friday, March 10, 2017 at 10:41:04 AM UTC-5, Tieson Molly wrote: > > > > Thanks Ben, is it this one? > > https://github.com/robertkrimen/otto > > Are there any projects for creating DSLs in Go?

[go-nuts] Re: scriptable rules?

2017-03-10 Thread Tieson Molly
16:28:42 UTC, Tieson Molly wrote: >> >> Are there any good libraries or packages to >> handle complex rule sets dynamically? >> >> I was thinking either some sort of embedded Prolog in Go >> or maybe Lua, but maybe someone knows of something simpler? >> >>

[go-nuts] scriptable rules?

2017-03-09 Thread Tieson Molly
Are there any good libraries or packages to handle complex rule sets dynamically? I was thinking either some sort of embedded Prolog in Go or maybe Lua, but maybe someone knows of something simpler? Best regards, Ty -- You received this message because you are subscribed to the Google Group

[go-nuts] Re: question on golang.org/x/crypto/acme/autocert

2017-02-14 Thread Tieson Molly
hich downloads the certs to a path you specify > > there is a complete Go app to show how it all works together > > Thanks > > Die > > > On Tuesday, February 14, 2017 at 8:11:51 AM UTC-5, Tieson Molly wrote: >> >> I am looking for some examples for golang.org/

[go-nuts] question on golang.org/x/crypto/acme/autocert

2017-02-14 Thread Tieson Molly
I am looking for some examples for golang.org/x/crypto/acme/autocert I recently updated my server, and there are some openssl version issues with the letsencrypt certbot that I cannot resolve. I was hoping to find a Go based solution so I could skip these python dependency issues. The ideal s

[go-nuts] How has your company adopted Go ?

2016-12-19 Thread Tieson Molly
What arguments or factors have contributed to your company adopting Go? Many businesses see switching to a new language or even using a new language side by side with their existing language choice as a business risk. Best regards, Ty -- You received this message because you are subscr

[go-nuts] Deleting the /r/golang subreddit

2016-11-25 Thread Tieson Molly
I personally like the /r/golang subreddit for finding new projects or blog posts related to Go. I prefer Google groups for more discussion. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emai

[go-nuts] question on profiling and instruction count display

2016-11-10 Thread Tieson Molly
Is there a way to use the native pprof tool to display the instruction count based on the sample instead of the duration for a cpu profile? I saw this post on SO, but I was hoping to be able to use pprof and not a 3rd party tool http://stackoverflow.com/questions/28924550/golang-profile-with-pp

[go-nuts] Re: go generate "pipelines"

2016-11-10 Thread Tieson Molly
Not exactly, but I was looking at goa, and the goagen generates some code that you can then run go generate against. On Thursday, November 10, 2016 at 5:37:39 AM UTC-5, Paul Jolly wrote: > > Hi - wondering whether anyone knows of any tooling that helps with > "pipelines" (probably not a great ch

Re: [go-nuts] filtering and forwarding email?

2016-09-16 Thread Tieson Molly
could you recommend a good POP3 library? Best regards, Ty On Friday, September 16, 2016 at 10:16:39 AM UTC-4, Shawn Milochik wrote: > > Sure, all you need is the ability to send and receive e-mail. Then you > write your filtering logic. > > https://github.com/go-gomail/gomail > > This will take

[go-nuts] filtering and forwarding email?

2016-09-16 Thread Tieson Molly
Are there any email projects in Go that can act as a email filter where the client would pull email down from the an account and based upon some rules forward the email. Best regards, Ty -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsu

[go-nuts] Re: job queue with the ability to kill worker processes

2016-09-06 Thread Tieson Molly
Thanks Jason, I was looking for something to handle external processes. On Monday, September 5, 2016 at 11:13:59 AM UTC-4, Jason E. Aten wrote: > > On Thursday, September 1, 2016 at 4:40:50 AM UTC-7, Tieson Molly wrote: >> >> Are there any go projects that implement a q

[go-nuts] Re: Go performance in regexdna

2016-09-02 Thread Tieson Molly
I looked at the C version, and it looks like it actually uses the TCL regex library that has some slightly different characteristics than the PCRE library. On Thursday, September 1, 2016 at 4:34:41 PM UTC-4, DrGo wrote: > > What is the reason for Go particularly poor performance in regexdna as

[go-nuts] job queue with the ability to kill worker processes

2016-09-01 Thread Tieson Molly
Are there any go projects that implement a queue where workers that consume the queue could be tracked and potentially killed if the end user decides to cancel the job? Best regards, Ty -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsub

[go-nuts] Re: database proxy ?

2016-06-27 Thread Tieson Molly
Is there anything for Oracle ? On Monday, June 27, 2016 at 12:40:12 PM UTC-4, Caleb Doxsey wrote: > > For postgres use pgbouncer. For mysql there's youtube's vitess. > > On Monday, June 27, 2016 at 12:24:32 PM UTC-4, Tieson Molly wrote: >> >> >> Are there

[go-nuts] database proxy ?

2016-06-27 Thread Tieson Molly
Are there any existing packages or libraries that implement a generic database/sql proxy? My goal was to create a small service that connected to the database and implemented a connection pool. Then other services would proxy their database/sql calls to this service rather than make their own